CN108280203A - A kind of storage method and storage system of water-depth measurement data - Google Patents
A kind of storage method and storage system of water-depth measurement data Download PDFInfo
- Publication number
- CN108280203A CN108280203A CN201810089575.3A CN201810089575A CN108280203A CN 108280203 A CN108280203 A CN 108280203A CN 201810089575 A CN201810089575 A CN 201810089575A CN 108280203 A CN108280203 A CN 108280203A
- Authority
- CN
- China
- Prior art keywords
- coordinate
- directions
- water
- data
- measurement data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/178—Techniques for file synchronisation in file systems
- G06F16/1794—Details of file format conversion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
- G06F16/134—Distributed indices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Abstract
The invention discloses a kind of storage method and storage system of water-depth measurement data, water-depth measurement data include that eastern coordinate x, north coordinate y and depth coordinate z, storage method include:Step 1 receives water-depth measurement data, water-depth measurement data is converted to two-dimensional array, two-dimensional array arranges for N rows 3;First is classified as eastern coordinate x;Second is classified as northern coordinate y;Third is classified as depth coordinate z;Two-dimensional array is named mark by step 2;Step 3, the line number N for determining two-dimensional array;Step 4 is classified as northern coordinate y additions dimension cells for east coordinate x and second;Step 5, the maximum value x for searching the directions xmaxWith the minimum value x in the directions xmin;Step 6, the maximum value y for searching the directions ymaxWith the minimum value y in the directions ymin;Step 7, the maximum value z for searching the directions zmaxWith the minimum value z in the directions zmin;Step 8 arranges two-dimensional array along reference axis.
Description
Technical field
The present invention relates to water-depth measurement technical field, the storage method more particularly to a kind of water-depth measurement data and storage
System.
Background technology
It is well known that bathymetric data is an important parameter of waters research, when waters is bigger either with survey
The amount time is continuously increased, and bathymetric data is continuously increased, currently, the data of water-depth measurement are typically prolonged Measurement results,
Its source includes the measurement data of different times, the measurement data etc. of the measurement data of separate sources and different measurement method,
Therefore its data volume is usually mass data.By traditional technology, storage mode is stored in the way of point cloud data,
Directly mass cloud data would generally be operated when using the point cloud data, such as mass cloud data is compared,
Screening operation can directly use coordinated manner to carry out exhaustive lookup, and processing procedure will be quite time-consuming, even if completing predetermined appoint
Business, it is clear that there are following defects for this traditional technology:One, when data volume is bigger, operating process is than relatively time-consuming, i.e.,
The efficiency of operation is relatively low;Therefore, a kind of water-depth measurement data that can improve water-depth measurement data manipulation efficiency are designed and developed
Storage method and storage system seem it is particularly important.
Invention content
The technical problem to be solved by the present invention is to:A kind of storage method and storage system of water-depth measurement data are provided;It should
A cloud file is converted to grid file and stored by the storage method and storage system of water-depth measurement data, by using index
Mode the position of depth of water point is indicated instead of the coordinate of point cloud data.Grid file is read in into two bit arrays when in use, from
And the numerical value of array is directly recalled using calculated call number to be operated to file, it can be kept away using this storage mode
Exempt from one by one to operate point cloud data, to improve data processing speed, saves taking for system.
The present invention is adopted the technical scheme that solve technical problem present in known technology:
A kind of storage method of water-depth measurement data, the water-depth measurement data include eastern coordinate x, north coordinate y and depth
Coordinate z, the storage method include:
Step 101 receives water-depth measurement data, water-depth measurement data is converted to two-dimensional array, the two-dimensional array is N
Row 3 arranges;Wherein:First is classified as eastern coordinate x;Second is classified as northern coordinate y;Third is classified as depth coordinate z;
Two-dimensional array is named mark by step 102;
Step 103, the line number N for determining two-dimensional array;
Step 104 is classified as northern coordinate y additions dimension cells for east coordinate x and second;
Step 105, the maximum value x for searching the directions xmaxWith the minimum value x in the directions xmin;The directions x are the direction of eastern coordinate x;
Step 106, the maximum value y for searching the directions ymaxWith the minimum value y in the directions ymin;The directions y are the direction of northern coordinate y;
Step 107, the maximum value z for searching the directions zmaxWith the minimum value z in the directions zmin;The directions z are the side of depth coordinate z
To;
Step 108 arranges two-dimensional array along reference axis.
Further:The minimum value xminFor the integer part of the minimum value of eastern coordinate x;The maximum value xmaxFor eastern coordinate
The integer part of the maximum value of x.
Further:The minimum value yminFor the integer part of the minimum value of eastern coordinate y;The maximum value ymaxFor eastern coordinate
The integer part of the maximum value of y.
Further:The coordinate z is downwards for just.
A kind of storage system of the storage method of water-depth measurement data, including:
Data reception module for receiving water-depth measurement data;
Data conversion module for the data in data reception module to be converted to two-dimensional array;
For the index add module to two-dimensional array addition index;
And receive the data memory module of index add module output data;
The data reception module, data conversion module, index add module and data memory module carry out data successively
Interaction.
The invention has the advantages and positive effects that:
By using above-mentioned technical proposal, the storage method and storage system of the water-depth measurement data will put the conversion of cloud file
It is stored for grid file, indicates the position of depth of water point instead of the coordinate of point cloud data by using the mode of index.
Grid file is read in into two bit arrays when use, the numerical value that array is directly recalled thereby using calculated call number comes to file
It is operated, can avoid one by one operating point cloud data using this storage mode, to improve data processing speed,
Saving system takes;Meanwhile
1. comparing point cloud data file, bathymetric data is stored as grid file, can effectively reduce file body by this patent
Product;
2. after a cloud file is stored as grid file, can improve and preserve index file and then improve loading velocity;
3. cloud file is switched to execution speed when grid file storage can effectively improve to file operation.
Specific implementation mode
In order to further understand the content, features and effects of the present invention, the following examples are hereby given, it is described in detail such as
Under:
A kind of storage method of water-depth measurement data, the water-depth measurement data include eastern coordinate x, north coordinate y and depth
Coordinate z, the storage method include:
Step 101 receives water-depth measurement data, water-depth measurement data is converted to two-dimensional array, the two-dimensional array is N
Row 3 arranges;Wherein:First is classified as eastern coordinate x;Second is classified as northern coordinate y;Third is classified as depth coordinate z;
Two-dimensional array is named mark by step 102;
Step 103, the line number N for determining two-dimensional array;
Step 104 is classified as northern coordinate y additions dimension cells for east coordinate x and second;
Step 105, the maximum value x for searching the directions xmaxWith the minimum value x in the directions xmin;The directions x are the direction of eastern coordinate x;
Step 106, the maximum value y for searching the directions ymaxWith the minimum value y in the directions ymin;The directions y are the direction of northern coordinate y;
Step 107, the maximum value z for searching the directions zmaxWith the minimum value z in the directions zmin;The directions z are the side of depth coordinate z
To;
Step 108 arranges two-dimensional array along reference axis.
Further:The minimum value xminFor the integer part of the minimum value of eastern coordinate x;The maximum value xmaxFor eastern coordinate
The integer part of the maximum value of x.
Further:The minimum value yminFor the integer part of the minimum value of eastern coordinate y;The maximum value ymaxFor eastern coordinate
The integer part of the maximum value of y.
Further:The coordinate z is downwards for just.
A kind of storage system of the storage method of water-depth measurement data, including:
Data reception module for receiving water-depth measurement data;
Data conversion module for the data in data reception module to be converted to two-dimensional array;
For the index add module to two-dimensional array addition index;
And receive the data memory module of index add module output data;
The data reception module, data conversion module, index add module and data memory module carry out data successively
Interaction.
Concrete operations case:
There is point cloud data to indicate in the following format:
496338.834 2009791.904,17.2
496339.524 2009792.376,18.5
496340.256 2009793.258,17.9
Switched to grid file according to point cloud data it needs to be determined that once several elements:
(1) mark of grid file is written as ASCGrid;
(2) number of data lines and columns are respectively 3 rows 3 row;
(3) directions x size and the directions y size constancy are respectively 1,1;
(4) directions x minimum value is 496338.834, and maximum value 496340.256, then 496338 and 496340 are respectively
The x coordinate of the lower-left angle point of first cell and the last one cell;
(5) directions y minimum value is 2009791.904, maximum value 2009793.258, then first cell and last
One cell lower left corner y-coordinate is respectively 2009791 and 2009793.It can so determine that the first cell lower left corner is sat
(496338,2009791) are designated as, the last one cell lower-left angular coordinate is (496340,2009793);
(6) minimum value of z is 17.2, maximum value 18.5;
It can be written as following format according to the above results grid file:
ASCGrid
3,3
1,1
496338.834 496340.256
2009791.904 2009793.258
17.2 18.5
, 17.9
, 18.5,
17.2.
The embodiments of the present invention have been described in detail above, but content is only the preferred embodiment of the present invention,
It should not be construed as limiting the practical range of the present invention.Any changes and modifications in accordance with the scope of the present application,
It should all still fall within the scope of the patent of the present invention.
Claims (5)
1. a kind of storage method of water-depth measurement data, the water-depth measurement data include that eastern coordinate x, north coordinate y and depth are sat
Mark z, it is characterised in that:The storage method includes:
Step 101 receives water-depth measurement data, water-depth measurement data is converted to two-dimensional array, the two-dimensional array is N rows 3
Row;Wherein:First is classified as eastern coordinate x;Second is classified as northern coordinate y;Third is classified as depth coordinate z;
Two-dimensional array is named mark by step 102;
Step 103, the line number N for determining two-dimensional array;
Step 104 is classified as northern coordinate y additions dimension cells for east coordinate x and second;
Step 105, the maximum value x for searching the directions xmaxWith the minimum value x in the directions xmin;The directions x are the direction of eastern coordinate x;
Step 106, the maximum value y for searching the directions ymaxWith the minimum value y in the directions ymin;The directions y are the direction of northern coordinate y;
Step 107, the maximum value z for searching the directions zmaxWith the minimum value z in the directions zmin;The directions z are the direction of depth coordinate z;
Step 108 arranges two-dimensional array along reference axis.
2. the storage method of water-depth measurement data according to claim 1, it is characterised in that:The minimum value xminIt is sat for east
Mark the integer part of the minimum value of x;The maximum value xmaxFor the integer part of the maximum value of eastern coordinate x.
3. the storage method of water-depth measurement data according to claim 1, it is characterised in that:The minimum value yminIt is sat for east
Mark the integer part of the minimum value of y;The maximum value ymaxFor the integer part of the maximum value of eastern coordinate y.
4. according to the storage method of any one of the claim 1-3 water-depth measurement data, it is characterised in that:The coordinate z to
Lower is just.
5. a kind of storage system based on the storage method of water-depth measurement data described in claim 4, it is characterised in that:Including:
Data reception module for receiving water-depth measurement data;
Data conversion module for the data in data reception module to be converted to two-dimensional array;
For the index add module to two-dimensional array addition index;
And receive the data memory module of index add module output data;
The data reception module, data conversion module, index add module and data memory module carry out data interaction successively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810089575.3A CN108280203A (en) | 2018-01-30 | 2018-01-30 | A kind of storage method and storage system of water-depth measurement data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810089575.3A CN108280203A (en) | 2018-01-30 | 2018-01-30 | A kind of storage method and storage system of water-depth measurement data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108280203A true CN108280203A (en) | 2018-07-13 |
Family
ID=62805720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810089575.3A Pending CN108280203A (en) | 2018-01-30 | 2018-01-30 | A kind of storage method and storage system of water-depth measurement data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108280203A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101996258A (en) * | 2010-11-30 | 2011-03-30 | 重庆大学 | Electronic map information grid processing and querying method facilitating quick query |
CN102693296A (en) * | 2012-05-16 | 2012-09-26 | 南京信息工程大学 | Method for rapidly matching coordinates of mass two-dimension point data |
CN103544249A (en) * | 2013-10-11 | 2014-01-29 | 北京建筑大学 | Method for indexing scattered point cloud space of historic building |
CN103914618A (en) * | 2014-03-28 | 2014-07-09 | 哈尔滨工程大学 | Electronic chart based seawater depth contour line generating method |
US8797436B1 (en) * | 2010-12-22 | 2014-08-05 | The United States Of America As Represented By The Secretary Of The Air Force | Array set addressing (ASA) for hexagonally arranged data sampling elements |
CN106709993A (en) * | 2017-01-06 | 2017-05-24 | 国家海洋信息中心 | Method and device for implementing gridding of multi-beam water depth data |
CN107506572A (en) * | 2017-07-24 | 2017-12-22 | 中国华能集团清洁能源技术研究院有限公司 | The method and apparatus for obtaining the height of target point |
-
2018
- 2018-01-30 CN CN201810089575.3A patent/CN108280203A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101996258A (en) * | 2010-11-30 | 2011-03-30 | 重庆大学 | Electronic map information grid processing and querying method facilitating quick query |
US8797436B1 (en) * | 2010-12-22 | 2014-08-05 | The United States Of America As Represented By The Secretary Of The Air Force | Array set addressing (ASA) for hexagonally arranged data sampling elements |
CN102693296A (en) * | 2012-05-16 | 2012-09-26 | 南京信息工程大学 | Method for rapidly matching coordinates of mass two-dimension point data |
CN103544249A (en) * | 2013-10-11 | 2014-01-29 | 北京建筑大学 | Method for indexing scattered point cloud space of historic building |
CN103914618A (en) * | 2014-03-28 | 2014-07-09 | 哈尔滨工程大学 | Electronic chart based seawater depth contour line generating method |
CN106709993A (en) * | 2017-01-06 | 2017-05-24 | 国家海洋信息中心 | Method and device for implementing gridding of multi-beam water depth data |
CN107506572A (en) * | 2017-07-24 | 2017-12-22 | 中国华能集团清洁能源技术研究院有限公司 | The method and apparatus for obtaining the height of target point |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109328343B (en) | Non-volatile storage system with compute engine to accelerate big data applications | |
US8521945B2 (en) | Portable data storage using SLC and MLC flash memory | |
CN109491596B (en) | Method for reducing data storage error rate in charge trapping type 3D flash memory | |
US20190147944A1 (en) | Static random-access memory with virtual banking architecture, and system and method including the same | |
CN102087878A (en) | Flash memory device and method of programming same | |
US20170206037A1 (en) | Memory device and method of operating the same | |
CN103366810B (en) | EEPROM memory array | |
CN112767983A (en) | Refresh control circuit and memory | |
CN103353866A (en) | Three-dimensional model file format conversion method supporting XNA technology | |
US20150355706A1 (en) | Electronic device and method for controlling electronic device | |
EP3038109B1 (en) | Pseudo dual port memory using a dual port cell and a single port cell with associated valid data bits and related methods | |
CN112540953A (en) | System on chip realized based on FPGA and MCU | |
CN115906720A (en) | Memory design method and device, electronic equipment and storage medium | |
CN114035587A (en) | Unmanned ship cluster multi-ship cooperative path planning method and device and unmanned ship | |
US20220113944A1 (en) | Arithmetic processing device | |
CN108280203A (en) | A kind of storage method and storage system of water-depth measurement data | |
CN102520902A (en) | Parallel write-in multi-FIFO (first in,first out) implementation method based on single chip block RAM (random access memory) | |
CN102468829A (en) | Signal generator and wavetable recombination method thereof | |
CN105093283A (en) | Three-dimensional observation system surface element attribute multi-thread rapid display method | |
JPS5995660A (en) | Data processor | |
CN104599706A (en) | Random access memory and method of adjusting read timing thereof | |
CN212515897U (en) | Active and passive three-dimensional imaging real-time processing system | |
US20180018128A1 (en) | Memory system | |
CN106649136B (en) | Data storage method and storage device | |
CN113555051B (en) | SAR imaging data transposition processing system based on DDR SDRAM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180713 |
|
RJ01 | Rejection of invention patent application after publication |