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 PDF

Info

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
Application number
CN201810089575.3A
Other languages
Chinese (zh)
Inventor
王华原
王小龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CCCC Tianjin Port and Shipping Survey and Design Institute Co Ltd
Original Assignee
CCCC Tianjin Port and Shipping Survey and Design Institute Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CCCC Tianjin Port and Shipping Survey and Design Institute Co Ltd filed Critical CCCC Tianjin Port and Shipping Survey and Design Institute Co Ltd
Priority to CN201810089575.3A priority Critical patent/CN108280203A/en
Publication of CN108280203A publication Critical patent/CN108280203A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • G06F16/1794Details of file format conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • G06F16/134Distributed indices

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

A kind of storage method and storage system of water-depth measurement data
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.
CN201810089575.3A 2018-01-30 2018-01-30 A kind of storage method and storage system of water-depth measurement data Pending CN108280203A (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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
US8521945B2 (en) Portable data storage using SLC and MLC flash memory
US10191692B2 (en) Memory device and method of operating the same
US10803929B2 (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
CN108053855B (en) Matrix transposition method based on SDRAM chip
CN102043729B (en) Memory management method and system of dynamic random access memory
CN112767983A (en) Refresh control circuit and memory
EP3038109B1 (en) Pseudo dual port memory using a dual port cell and a single port cell with associated valid data bits and related methods
CN115906720A (en) Memory design method and device, electronic equipment and storage medium
CN101216944A (en) A method and device for morphing shading in the process of typeset
CN108280203A (en) A kind of storage method and storage system of water-depth measurement data
CN101645305A (en) Static random access memory (SRAM) for automatically tracking data
CN103811065A (en) Non-volatile memory system
CN105093283A (en) Three-dimensional observation system surface element attribute multi-thread rapid display method
CN212515897U (en) Active and passive three-dimensional imaging real-time processing system
US20180018128A1 (en) Memory system
CN104599706A (en) Random access memory and method of adjusting read timing thereof
CN106649136B (en) Data storage method and storage device
CN113555051B (en) SAR imaging data transposition processing system based on DDR SDRAM
CN103903287B (en) The generation method and device of building building CAD diagram shape
Sun et al. Efficient and flexible 2-d data controller for sar imaging system
CN105518790B (en) The method and device of data write-in
US20230267976A1 (en) Memory circuit, data transmission circuit, and memory
CN112988939B (en) Area identification quick search method based on course index
US11853240B2 (en) Data transmission circuit, data transmission method, and memory

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