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

A distributed data processing method and a server based on multithreading

A technology of distributed data and processing methods, applied in the computer field, can solve the problems of reducing the efficiency of certificate making and disturbing the certificate making operation process, and achieve the effect of maintaining integrity, saving system resources, and avoiding disturbing the certificate making operation process

Active Publication Date: 2019-01-29
PING AN TECH (SHENZHEN) CO LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a multi-thread-based distributed data processing method and server to solve the problem that in the prior art, when an error occurs in business data, the same business data may be processed by multiple worker threads at the same time. The situation of access, which leads to the repeated execution of the same thread, disturbs the certificate production process and reduces the certificate production efficiency.

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
  • A distributed data processing method and a server based on multithreading
  • A distributed data processing method and a server based on multithreading
  • A distributed data processing method and a server based on multithreading

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] 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 and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0028] See figure 1 , figure 1 It is an implementation flowchart of a distributed data processing method based on multithreading provided by an embodiment of the present invention. In this embodiment, the execution subject of the multithread-based distributed data processing method is the server. The distributed data processing method based on multithreading as shown in the figure may include:

[0029] S101: Obtain the incremental data stored in the information base, and determine a worker thread matching the data type of the incremental data.

[0030] The information base stores data of all da...

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 is applicable to the computer technical field, and provides a distributed data processing method and a server based on multi-threading. The method comprises the following steps: acquiring incremental data stored in an information base, and determining a work thread matching with the data type of the incremental data. If the number of matching worker threads is at least two, determining the execution order of the matching worker threads according to a preset thread token table; controlling the target distributed device to start the target worker thread according to the execution order of the matching worker threads, so as to process the incremental data through the target worker thread; receiving confirmation information returned by the target distributed device identifying completion of execution of the target worker thread; the confirmation information is used to redefine the target worker thread and to start the redefined target worker thread. The embodiment of the invention can avoid the working thread to preempt the resources, save the system resources, and also avoid the same thread to repeatedly execute disturbing the certificate preparation operation flow, andcan improve the certificate preparation efficiency.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a multithread-based distributed data processing method and server. Background technique [0002] The traditional certification method is to manually collect business data, and then conduct format review on the business data and add necessary certification information (such as certification date, etc.), and finally the business data that has passed the format review and the added certification information Store them together in the certificate making table to complete the certificate making. In the whole certificate making process, the business data involves the operation process of multiple stages such as data retrieval, accounting and certificate making, and the process of each stage is processed by the corresponding working thread. [0003] However, in the prior art, when there is an error in the business data, the entire processing flow of the worker thread will...

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/52
CPCG06F9/52
Inventor 任练
Owner PING AN TECH (SHENZHEN) 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