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

Data processing method and device

A data processing device and data processing technology, applied in the computer field, can solve the problem of long time consumption and the like

Inactive Publication Date: 2015-03-18
HUAWEI TECH CO LTD +1
View PDF9 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, a data merging operation process is executed by one thread, and the data merging operation process takes a long time and is prone to stop and so on.

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

[0054] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0055] An embodiment of the present invention provides a data processing method, such as figure 1 shown, including:

[0056] Step 101: Divide the operation process of data merging into at least two stages to obtain the first stage to the mth stage, where m is greater than or equal to 2, and each stage includes one or more sub-processes.

[0057] For example, the operation process of data merging can be divided into seven stages to obtain the first stage to th...

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

Provided are a data processing method and device, which relate to the field of computers, and can decrease the length time of the operation flow of merging data and reduce the probability and time of the occurrence of the stop-and-wait phenomena. The method comprises: dividing an operation flow of merging data into at least two phases to obtain 1st to mth phases, where m is greater than or equal to 2, and each phase comprises one or more sub-flows; respectively establishing a corresponding thread for each phase to obtain m threads; and executing a sub-flow in a phase corresponding to a kth thread on data input to the kth thread and outputting processed data to a k+1th thread, and in the process of the k+1th thread executing the sub-flow of the corresponding phase on the processed data, executing the sub-flow in the phase corresponding to the kth thread again on the data input to the kth thread again and outputting the processed data to the k+1th thread, until the processing of all of the data input to the kth thread is completed. The data processing method and device are applied to data processing.

Description

technical field [0001] The invention relates to the field of computers, in particular to a data processing method and device. Background technique [0002] With the development of the Internet, more and more network service storage systems use write-optimized data structures to reduce write latency. For example, LSM-Tree (Log-Structured Merge Tree) is a write-optimized data structure used to reduce write latency. LSM-Tree reduces write latency by aggregating small granularity, random updates to large granularity, and sequential updates. However, LSM-Tree requires background merge operations to maintain reasonable data structures and operational performance. Since the operation process of each data merger needs to read data from disk devices, decompress the data, verify and merge, compress and verify the merged data, and then write it back to the disk, the whole process takes a long time . While waiting for the completion of the operation process of data merging, the stor...

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): G06F17/30
CPCG06F17/30G06F16/1744
Inventor 张子刚岳银亮熊劲
Owner HUAWEI TECH 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