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

A data processing method and device for raster data

A data processing device and raster data technology, applied in the computer field, can solve problems such as difficult calculation of results, and achieve the effect of improving calculation efficiency

Active Publication Date: 2019-05-31
BEIJING DATUM TECH DEV +1
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the present invention provides a data processing method and device for raster data to solve the problem that the results of large-scale raster calculations are difficult to calculate

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 data processing method and device for raster data
  • A data processing method and device for raster data
  • A data processing method and device for raster data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] figure 1 It is a flowchart of a data processing method for raster data according to an embodiment of this application.

[0040] refer to figure 1 As shown, the data processing method adopted in this embodiment is applied to the calculation of the gis-based water erosion model and wind erosion model, and is used to finally obtain the calculation result through the calculation of multiple factors, that is, the result raster data. The data processing method includes the following steps:

[0041] S1. Divide the factors in the raster data to be calculated into data.

[0042] After dividing each factor in the raster data, a preset number of data blocks are obtained. For example, if the raster data contains N factors, the data is divided according to the first factor N1, and divided into M data blocks, for example, divided into 1024*1024 data blocks. It is worth pointing out that, for each factor, after N1 is divided to determine the number of data blocks, the number of da...

Embodiment 2

[0054] figure 2 It is a flowchart of another data processing method for raster data according to an embodiment of the present application.

[0055] refer to figure 2 As shown, the data processing method adopted in this embodiment is applied to the calculation of the gis-based water erosion model and wind erosion model, and is used to finally obtain the calculation result through the calculation of multiple factors, that is, the result raster data. The data processing method includes the following steps:

[0056] S1. Divide the factors in the raster data to be calculated into data.

[0057] After dividing each factor in the raster data, a preset number of data blocks are obtained. For example, if the raster data contains N factors, the data is divided according to the first factor N1, and divided into M data blocks, for example, divided into 1024*1024 data blocks. It is worth pointing out that, for each factor, after N1 is divided to determine the number of data blocks, t...

Embodiment 3

[0072] image 3 It is a block diagram of a data processing device for raster data according to an embodiment of this application.

[0073] refer to image 3 As shown, the data processing device adopted in this embodiment is applied in the calculation of the gis-based water erosion model and wind erosion model, and is used to finally obtain the calculation result through the calculation of multiple factors, that is, the result raster data. The data processing device includes a factor division module 10 , a file construction module 20 , a data writing module 30 , a task assignment module 40 and a result assembly module 50 .

[0074] The factor division module is used to divide the factors in the raster data to be calculated.

[0075] After dividing each factor in the raster data, a preset number of data blocks are obtained. For example, if the raster data contains N factors, the data is divided according to the first factor N1, and divided into M data blocks, for example, div...

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 embodiment of the invention provides a data processing method and device for raster data, and the method specifically comprises the steps: carrying out the segmentation of each factor in raster data to be calculated, and obtaining a preset number of data blocks; Constructing a plurality of data files of which the number is the same as that of the data blocks, each data file comprising a plurality of intermediate wavebands, and the number of the intermediate wavebands being the same as that of the factors; Writing each data block of each factor into the intermediate wave band at the corresponding position of each data file; Allocating a plurality of intermediate wavebands containing the data blocks to a plurality of computing resources for computing to obtain a plurality of computing results; And assembling all calculation results to obtain final result grid data. The task is segmented by using the wave band, and the segmented task can be allocated to a plurality of computing resources for computing, so that the computing efficiency can be improved, and the problem that the result is difficult to compute during large-range grid computing is solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data processing method and device for raster data. Background technique [0002] In the gis application, in the calculation process of the water erosion model or wind erosion model for soil and water conservation, most of them use multi-factor grid superposition calculations. In the case of ensuring accuracy, large-scale grid calculations are caused by the relationship between space and time. The amount of data is extremely large, making it difficult to calculate the results. Contents of the invention [0003] In view of this, the present invention provides a data processing method and device for raster data to solve the problem that the results of large-scale raster calculations are relatively difficult to calculate. [0004] In order to solve the above problems, the present invention discloses a data processing method for raster data, including: [0005] For the...

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): G06F16/901G06F9/50
Inventor 李婧许永利郭浩彭文华王明润杨蒙王建文周怀春李团宏常丹东
Owner BEIJING DATUM TECH DEV
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