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

Data processing method and device, data storage method and device and electronic equipment

A technology for data storage and processing methods, which is applied in electrical digital data processing, memory systems, machine execution devices, etc., and can solve problems such as excessive time consumption and reduction of data reading time.

Active Publication Date: 2018-07-31
ALIBABA GRP HLDG LTD
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a data processing and storage method, device, and electronic equipment, which are used to solve the technical problem of excessive time-consuming reading of data with dependencies in the prior art, and reduce the time for data reading

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 storage method and device and electronic equipment
  • Data processing method and device, data storage method and device and electronic equipment
  • Data processing method and device, data storage method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0122] In order to realize a data processing method provided by the embodiment of the present application, the embodiment of the present application provides a data storage method for the data to be processed, please refer to figure 1 , the method includes:

[0123] S101: Obtain a dependency relationship between data, the dependency relationship indicates that the execution of one data depends on the execution result of another data;

[0124] S102: Obtain a dependency chain composed of data connections with the dependency relationship;

[0125] S103: If the number of the dependency chain is greater than or equal to 2, establish and store a dependency stack according to the dependency relationship and the data, wherein the dependency stack includes N layers, N is greater than or equal to 2, and is stored in the second layer of the dependency stack The data execution of the layer depends on the execution result of the data stored in the first layer of the dependency stack, the ...

Embodiment 2

[0149] Based on the data storage methods provided in the above embodiments, the embodiments of this application also provide a corresponding data storage device, please refer to Figure 6 , the device consists of:

[0150] The acquisition module 61 is used to obtain a dependency relationship between data, the dependency relationship indicates that the execution of one data depends on the execution result of another data, and obtain a dependency chain composed of data connections with the dependency relationship;

[0151] The storage module 62 is configured to establish and store a dependency stack according to the dependency relationship and the data when the number of the dependency chain is greater than or equal to 2, wherein the dependency stack includes N layers, and N is greater than or equal to 2, storing When the data in the second layer of the dependency stack is executed, it depends on the execution result of the data stored in the first layer of the dependency stack....

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 data processing method and device, a data storage method and device and electronic equipment. The data processing method comprises the following steps of: storing data in a dependency stack, wherein the dependency stack comprises a plurality of layers, execution of data stored at the second layer of the dependency stack depends on an execution result of data stored at thefirst layer of the dependency stack, and same data is only stored in the dependency stack for one time; reading target data stored at the top layer in parallel from the first layer of the dependencystack, executing a processing operation for the target data according to the execution result of reading data from the dependency stack and storing an execution result; and after the data at the firstlayer is read, deleting the data at the original first layer of the dependency stack, and updating the next layer of the original first layer of the dependency stack as the first layer of the dependency stack. Through above scheme, the technical problem that the reading of data with dependency relationships consumes more time in the prior art is solved, and the data reading time is shortened.

Description

technical field [0001] The present application relates to the technical field of software, in particular to a data processing and storage method, device and electronic equipment. Background technique [0002] With the continuous development of science and technology, the data processing capability of electronic equipment has been developed rapidly, and it can process a large amount of data well in parallel. In order to increase the processing speed of electronic devices, while increasing the computing speed of electronic devices, it is also necessary to increase the speed of reading data from electronic devices. Nowadays, most of the methods of concurrently reading data are used to increase the speed of data reading. [0003] In the data scenario for concurrent acquisition of different data sources, there are often cases where there is a sequential dependency between some data sources (that is, there is a sequence of execution), and there may be repeated dependencies. In re...

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/30G06F9/312
CPCG06F9/3004G06F9/30043
Inventor 付孟飞
Owner ALIBABA GRP HLDG 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