Data processing method and device

A data processing device and data processing technology, applied in the field of data processing, can solve problems such as poor real-time performance, and achieve the effect of improving real-time performance

Active Publication Date: 2017-10-10
INSPUR FINANCIAL INFORMATION TECH CO LTD
View PDF10 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the existing method of resource data processing using the producer-consumer model has the problem of poor real-time performance

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
  • Data processing method and device
  • Data processing method and device
  • Data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] As mentioned in the background technology, in the existing method of data processing using the producer and consumer model, when the producer thread generates the corresponding resource data, it needs to wait for the consumer thread to query the corresponding resource data through polling , the resource data obtained from the query can be processed, and there is a problem of poor real-time performance.

[0037] In order to solve the above-mentioned problems in the prior art, the technical solution adopted in the embodiment of the present invention is to activate the consumer thread pair when the producer thread generates corresponding resource data and determines the resource data generated by the consumer thread demand The resource data is processed, which can improve the real-time performance of resource data processing compared with polling.

[0038] In order to make the above objects, features and advantages of the present invention more comprehensible, specific emb...

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 provides a data processing method and device. The method comprises the steps that when a producer thread produces source data, whether a consumer thread needs the source data or not is judged; when it is determined that the consumer thread needs the source data, the consumer thread is activated so as to process the source data. By means of the data processing method and device, when the source data is processed by using a producer-consumer model, the real-time performance of the source data processing can be improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a data processing method and device. Background technique [0002] The producer-consumer model is a common data processing model. When the producer-consumer model is used for data processing, the data generated between the producers is stored in the buffer, and the consumer takes out the data from the buffer for processing. [0003] In the prior art, polling is generally used, that is, when a consumer needs corresponding data, it polls the data generated by the producer in the buffer to obtain and process the corresponding data. [0004] However, the existing resource data processing method using the producer-consumer model has the problem of poor real-time performance. Contents of the invention [0005] The technical problem solved by the embodiments of the present invention is how to improve the real-time performance of resource data processing when the producer-con...

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/50G06F9/54
CPCG06F9/5027G06F9/546G06F2209/548
Inventor 王红娟董毅付宪瑞王玉奎
Owner INSPUR FINANCIAL INFORMATION TECH CO LTD
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