Distributed storage method and system for massive remote sensing image data suitable for quick browsing
By combining the distributed file system HDFS and the non-relational database MongoDB, the hierarchical block technology is used to process massive remote sensing image data, which solves the bottleneck of traditional storage technology in terms of capacity and scalability, and enables rapid browsing and reading of massive data. , which improves the standardization and efficiency of data management.
Patent Information
- Application Number
- CN202210318469.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-29
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-03-29
AI Technical Summary
Traditional SAN or NAS storage technology has bottlenecks in storage capacity and scalability, making it difficult to meet the storage needs of massive remote sensing image data. In particular, there are limitations in the number of hardware device deployments, resulting in high system upgrade costs and difficulty in achieving fast browsing. and read massive remote sensing image data.
Using a combination of distributed file system HDFS and non-relational database MongoDB, remote sensing image data is processed and stored through hierarchical and block technology, including metadata extraction, hierarchical processing and block processing to ensure data scalability and Fast reading capabilities.
It achieves standardized management and capacity scalability of massive remote sensing image data, breaks through the problems of massive data storage and rapid reading, avoids the time-consuming wait for real-time sampling of large data volumes, and improves data browsing efficiency.
Smart Images

Figure CN114661689B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data management, and in particular to a distributed storage method and system for mass remote sensing image data suitable for quick browsing. Background Art
[0002] Data storage technology is an important component and branch of the data processing field. Data storage technology has gone through three stages from manual management to file management and then to database management. At present, more and more remote sensing image data are generated in various projects. The size of a single file of remote sensing image data is large, easily reaching GB level. This puts higher requirements on storage medium capacity and data retrieval speed. The current hard disk storage method can no longer meet user needs, and is also not suitable for the management of a single relational database.
[0003] However, traditional SAN (Storage Area Network) or NAS (Network Attached Storage) storage technologies have bottlenecks in storage capacity and scalability, and there are also certain limitations on the number of hardware devices that can be deployed, which greatly increases the cost of users upgrading their systems. Summary of the invention
[0004] The primary purpose of the present invention is to provide a distributed storage method for massive remote sensing image data suitable for fast browsing, which adopts a combination of distributed file system and non-relational database and ensures the scalability of data storage capacity and the fast reading and browsing of remote sensing image data through layered and blocked technology.
[0005] To achieve the above object, the present invention adopts the following technical solution: a distributed storage method for massive remote sensing image data suitable for fast browsing, the method comprising the following steps in order:
[0006] (1) Remote sensing image data storage: receiving the original remote sensing image data and parameter files to be stored;
[0007] (2) Metadata extraction: extracting metadata information of original remote sensing image data;
[0008] (3) Metadata extraction result storage: The metadata information extraction results of the original remote sensing image data are stored in the non-relational database MongoDB;
[0009] (4) Data storage of original remote sensing image data: storing original remote sensing image data and parameter files in the Hadoop distributed file system HDFS;
[0010] (5) Data stratification and block division: The original remote sensing image data is processed in layers, and the stratified images are processed in blocks to obtain the stratified and block-divided data;
[0011] (6) Layered and block data storage: The layered and block data is stored in the non-relational database MongoDB.
[0012] In step (1), the original remote sensing image data refers to the orthorectified image with spatial position information; the parameter file refers to the parameter description of the corresponding remote sensing image data.
[0013] In step (2), the metadata information includes data source, data type, resolution, image size, spatial geographic information and imaging time.
[0014] In step (5), the layering process specifically includes the following steps:
[0015] (4a) obtaining original remote sensing image data and original remote sensing image size information;
[0016] (4b) Determine whether the size of the original image is greater than 5M. If the determination result is yes, proceed to the next step. Otherwise, do not process.
[0017] (4c) performing Gaussian kernel convolution on the original image to obtain a Gaussian filtered image;
[0018] (4d) performing resolution reduction processing on the Gaussian filtered image and removing all even-numbered rows and columns;
[0019] (4e) obtaining the layered image;
[0020] (4f) Output the layered image and record the number of layers;
[0021] (4g) Steps (4b) to (4f) are executed in a loop, and the image input is the image after the last stratification.
[0022] In step (5), the block processing specifically includes the following steps:
[0023] (5a) Input the layered image;
[0024] (5b) Determine whether the image size is greater than 5M. If so, process the image in blocks; otherwise, do not process the image.
[0025] (5c) Set the block size to 5M;
[0026] (5d) segmenting the layered image according to the block size;
[0027] (5e) Obtain the data of each layer, and record the current number of layers, the number of horizontal blocks, and the number of vertical blocks.
[0028] Another object of the present invention is to provide a system for a distributed storage method of massive remote sensing image data suitable for fast browsing, comprising:
[0029] The storage module is used to obtain the original remote sensing image data and parameter files;
[0030] Metadata extraction module, used to process parameter files;
[0031] Metadata storage module, used for subsequent data query;
[0032] The raw data storage module is used to standardize the management of massive raw remote sensing image data;
[0033] Layered and block module, used for processing large file remote sensing image data;
[0034] Hierarchical and block data storage module for quick subsequent browsing of data.
[0035] It can be seen from the above technical scheme that the beneficial effects of the present invention are: first, the present invention adopts a management mode that combines a distributed file system and a database management mode, which not only ensures the standardization of data management, but also ensures the scalability of capacity when storing massive data, and solves the hardware limitation; second, the present invention uses layered and blocked technology to ensure fast browsing of multiple image data with different resolutions, avoids time-consuming waiting for real-time sampling of large amounts of data, and breaks through the problem of storing and quickly reading and browsing massive remote sensing image data. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a flow chart of the method of the present invention;
[0037] Figure 2 It is a flow chart of the method for layered processing in the present invention;
[0038] Figure 3 It is a schematic diagram of a layered image in the present invention;
[0039] Figure 4 It is a flow chart of the method for block processing in the present invention;
[0040] Figure 5 It is a schematic diagram of the data storage relationship in the present invention. DETAILED DESCRIPTION
[0041] like Figure 1 , 4 As shown, a distributed storage method for massive remote sensing image data suitable for fast browsing includes the following steps in sequence:
[0042] (1) Remote sensing image data storage: receiving the original remote sensing image data and parameter files to be stored;
[0043] (2) Metadata extraction: extracting metadata information of original remote sensing image data;
[0044] (3) Metadata extraction result storage: The metadata information extraction results of the original remote sensing image data are stored in the non-relational database MongoDB; MongoDB is an open source non-relational database with faster reading and retrieval capabilities compared to other databases.
[0045] (4) Raw remote sensing image data storage: The raw remote sensing image data and parameter files are stored in the Hadoop distributed file system HDFS; HDFS is suitable for storing very large data that is written once and read multiple times.
[0046] (5) Data stratification and blocking: The original remote sensing image data is processed in layers, and the stratified image is processed in blocks to obtain the stratified and blocked data; after the image is filtered and stratified at different levels, the higher the number of layers, the smaller the resolution and the smaller the image. When browsing, the image is called according to the different layers, and the browsing is more real-time; after the layered image is divided into blocks, when querying and browsing in real time, the image called is multiple small layered and blocked images according to the number of layers, the row number and the column number of the block, rather than the entire original resolution image, so as to ensure the effect of fast browsing.
[0047] (6) Layered and block data storage: The layered and block data is stored in the non-relational database MongoDB.
[0048] In step (1), the original remote sensing image data refers to the orthorectified image with spatial position information; the parameter file refers to the parameter description of the corresponding remote sensing image data.
[0049] In step (2), the metadata information includes data source, data type, resolution, image size, spatial geographic information and imaging time. The metadata information needs to be extracted from the received original remote sensing image data and parameter files, and different parsing methods are called for different image data types.
[0050] like Figure 2 , 3 As shown, in step (5), the layered processing specifically includes the following steps:
[0051] (4a) obtaining original remote sensing image data and original remote sensing image size information;
[0052] (4b) Determine whether the size of the original image is greater than 5M. If the determination result is yes, proceed to the next step. Otherwise, do not process.
[0053] (4c) performing Gaussian kernel convolution on the original image to obtain a Gaussian filtered image;
[0054] (4d) performing resolution reduction processing on the Gaussian filtered image and removing all even-numbered rows and columns;
[0055] (4e) obtaining the layered image;
[0056] (4f) Output the layered image and record the number of layers;
[0057] (4g) Steps (4b) to (4f) are executed in a loop, and the image input is the image after the last stratification.
[0058] like Figure 4 As shown, in step (5), the block processing specifically includes the following steps:
[0059] (5a) Input the layered image, i.e., the image outputted in step (4f);
[0060] (5b) Determine whether the image size is greater than 5M. If so, process the image in blocks; otherwise, do not process the image.
[0061] (5c) Set the block size to 5M;
[0062] (5d) segmenting the layered image according to the block size;
[0063] (5e) Obtain the data of each layer, and record the current number of layers, the number of horizontal blocks, and the number of vertical blocks.
[0064] The system includes:
[0065] The storage module is used to obtain the original remote sensing image data and parameter files;
[0066] Metadata extraction module, used to process parameter files;
[0067] Metadata storage module, used for subsequent data query;
[0068] The raw data storage module is used to standardize the management of massive raw remote sensing image data;
[0069] Layered and block module, used for processing large file remote sensing image data;
[0070] Hierarchical and block data storage module for quick subsequent browsing of data.
[0071] In summary, the present invention stores massive image data and solves the problems of irregular data management, messy data, poor storage capacity scalability, slow reading and browsing speeds in existing projects. A distributed storage method for massive remote sensing image data suitable for fast browsing is proposed. The layered and blocked technology used in the method breaks through the difficult problems of massive remote sensing image data storage and fast reading and browsing, and ensures the standardization and scalability of data management.
Claims
1. A distributed storage method for massive remote sensing image data suitable for quick browsing, characterized in that: The method comprises the following steps in order: (1) Remote sensing image data storage: receiving the original remote sensing image data and parameter files to be stored; (2) Metadata extraction: extract metadata information of original remote sensing image data; (3) Metadata extraction result storage: The metadata information extraction results of the original remote sensing image data are stored in the non-relational database MongoDB; (4) Original remote sensing image data storage: The original remote sensing image data and parameter files are stored in the Hadoop distributed file system HDFS; (5) Data stratification and block division: perform stratification processing on the original remote sensing image data, perform block processing on the stratified images, and obtain the stratified and block-divided data; The layering process specifically comprises the following steps: (4a) Obtaining original remote sensing image data and original remote sensing image size information; (4b) Determine whether the size of the original image is greater than 5M. If the determination result is yes, proceed to the next step. Otherwise, do not process. (4c) performing Gaussian kernel convolution on the original image to obtain a Gaussian filtered image; (4d) Downscaling the Gaussian filtered image and removing all even rows and columns; (4e) Obtaining the layered image; (4f) Output the layered image and record the number of layers; (4g) looping through steps (4b) to (4f), with the image input being the image after the last layering; The block processing specifically includes the following steps: (5a) Input layered image; (5b) Determine whether the image size is greater than 5M. If so, process the image in blocks; otherwise, do not process the image. (5c) Set the block size to 5M; (5d) Segmenting the layered image according to the block size; (5e) Obtain the data of each layer, record the current number of layers, the number of horizontal blocks, and the number of vertical blocks; (6) Layered and block data storage: The layered and block data is stored in the non-relational database MongoDB.
2. The method for distributed storage of massive remote sensing image data suitable for quick browsing according to claim 1, characterized in that: In step (1), the original remote sensing image data refers to the orthorectified image with spatial position information; the parameter file refers to the parameter description of the corresponding remote sensing image data.
3. The distributed storage method for mass remote sensing image data suitable for quick browsing according to claim 1, characterized in that: In step (2), the metadata information includes data source, data type, resolution, image size, spatial geographic information and imaging time.
4. A system for implementing the distributed storage method for mass remote sensing image data suitable for fast browsing as claimed in any one of claims 1 to 3, characterized in that: include: The storage module is used to obtain the original remote sensing image data and parameter files; Metadata extraction module, used to process parameter files; Metadata storage module, used for subsequent data query; The raw data storage module is used to standardize the management of massive raw remote sensing image data; Layered and block module, used for processing large file remote sensing image data; Hierarchical and block data storage module for quick subsequent browsing of data.
