CN110928877A - Hbase-based image tile storage method, device, equipment and medium - Google Patents

Hbase-based image tile storage method, device, equipment and medium Download PDF

Info

Publication number
CN110928877A
CN110928877A CN201911131935.2A CN201911131935A CN110928877A CN 110928877 A CN110928877 A CN 110928877A CN 201911131935 A CN201911131935 A CN 201911131935A CN 110928877 A CN110928877 A CN 110928877A
Authority
CN
China
Prior art keywords
tile
pyramid
hbase
row
rowkey
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
CN201911131935.2A
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.)
Wuhan Optics Valley Information Technologies Co Ltd
Original Assignee
Wuhan Optics Valley Information Technologies 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 Wuhan Optics Valley Information Technologies Co Ltd filed Critical Wuhan Optics Valley Information Technologies Co Ltd
Priority to CN201911131935.2A priority Critical patent/CN110928877A/en
Publication of CN110928877A publication Critical patent/CN110928877A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24553Query execution of query operations
    • G06F16/24554Unary operations; Data partitioning operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides an image tile storage method, device, equipment and medium based on Hbase. The method comprises the following steps: establishing an Hbase table, and obtaining the pyramid tile slice level; establishing a row and column number algorithm, acquiring data to be calculated, calculating the data to be calculated through the row and column number algorithm, and acquiring the row and column number of the pyramid tile from a calculation result; setting a rowkey splicing rule, obtaining a random character string, splicing the pyramid tile slice series, the row and column numbers of the pyramid tiles and the random character string into a rowkey according to the rowkey splicing rule, and writing the pyramid tiles into an Hbase table according to the rowkey. According to the invention, when the Hbase table is established, the table is pre-partitioned, then the pyramid tiles are written into the corresponding partitions through rowkey, and meanwhile, the secondary index is established by utilizing the tile level and the tile row and column number, so that the data can be accessed more quickly and accurately, and meanwhile, the data security is also improved.

Description

Hbase-based image tile storage method, device, equipment and medium
Technical Field
The invention relates to the technical field of geographic information, in particular to an image tile storage method, device, equipment and medium based on Hbase.
Background
The pyramid tiles are slicing modes adopted in the field of geographic information for improving the map loading speed, the resolution is lower and lower from the bottom layer to the top layer of the pyramid tiles, but the represented geographic range is unchanged, and the tiles are generally stored step by step in a folder mode according to the tile levels.
However, the problems with existing pyramid tiles are: data are stored in a single machine, and when the machine fails, the data are inevitably lost; compared with a database access mode, a folder access mode has low tile access efficiency, and particularly when the data volume of a pyramid tile is large, the map zooming response speed is low due to low reading efficiency, and the map use is seriously influenced.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
In view of this, the present invention provides an image tile storage method, apparatus, device and medium based on Hbase, and aims to solve the technical problem that the prior art cannot realize safe storage and efficient access of pyramid tiles.
The technical scheme of the invention is realized as follows:
in one aspect, the present invention provides a method for storing image tiles based on Hbase, including the following steps:
s1, establishing an Hbase table, and obtaining the pyramid tile slice level;
s2, establishing a row and column number algorithm to obtain data to be calculated, calculating the data to be calculated through the row and column number algorithm, and obtaining the row and column number of the pyramid tile from the calculation result;
s3, setting a rowkey splicing rule, obtaining a random character string, splicing the pyramid tile slice series, the row and column numbers of the pyramid tiles and the random character string into a rowkey according to the rowkey splicing rule, and writing the pyramid tiles into an Hbase table according to the rowkey.
On the basis of the above technical solution, preferably, in step S1, an Hbase table is established, and pyramid tile slice levels are obtained, and the method further includes the steps of establishing an Hbase table, obtaining pyramid tile slice levels, and pre-partitioning the Hbase table according to the pyramid tile slice levels, where the pyramid tile slice techniques correspond to the numbers of partitions one to one.
On the basis of the above technical solution, preferably, in step S2, a row-column number algorithm is established to obtain data to be calculated, the data to be calculated is calculated by the row-column number algorithm, and the row-column number of the pyramid tile is obtained from the calculation result, further including the following steps: the map resolution corresponding to the specific coordinates of the image is found from the coordinate system data according to the specific coordinates of the image.
On the basis of the above technical solution, preferably, the rank number algorithm is:
Figure BDA0002278559850000021
wherein R represents the row number of the tile, C represents the column number of the tile, KqWidth, G, of the representative image pixelqHigh, K representing image pixelwWidth, G, of the pixels representing the tilewRepresenting the height of the tile pixel.
Based on the above technical solution, preferably, the method for calculating the width and height of the image pixel comprises:
Figure BDA0002278559850000022
wherein, (x, y) represents the specific coordinate of the image, and δ represents the map resolution corresponding to the specific coordinate of the image.
On the basis of the above technical scheme, preferably, in step S3, a rowkey splicing rule is set, a random character string is obtained, the pyramid tile slice series, the row and column number of the pyramid tile and the random character string are spliced into a rowkey by the rowkey splicing rule, the pyramid tile is written into an Hbase table according to the rowkey, and the method further includes the following steps of setting the character string splicing rule as the rowkey splicing rule, obtaining the random character string, splicing the pyramid tile slice series, the row and column number of the pyramid tile and the random character string into a rowkey by the character string splicing rule, and writing the pyramid tile into a partition corresponding to the Hbase table according to the rowkey.
On the basis of the above technical scheme, preferably, after the pyramid tile is written into the partition corresponding to the Hbase table according to rowkey, the method further includes the following steps of obtaining the row and column number of the pyramid tile and the pyramid tile slice number, taking the row and column number of the pyramid tile and the pyramid tile slice number as the index tag of the pyramid tile, and searching the pyramid tile from the Hbase table according to the index tag.
Still further preferably, the Hbase-based image tile storage method apparatus includes:
the table establishing module is used for establishing an Hbase table and acquiring the pyramid tile slice number;
the row and column number calculation module is used for establishing a row and column number algorithm, acquiring data to be calculated, calculating the data to be calculated through the row and column number algorithm, and acquiring the row and column number of the pyramid tile from a calculation result;
and the writing module is used for setting a rowkey splicing rule, acquiring a random character string, splicing the pyramid tile slice series, the row and column numbers of the pyramid tiles and the random character string into a rowkey according to the rowkey splicing rule, and writing the pyramid tiles into the Hbase table according to the rowkey.
In a second aspect, the Hbase-based image tile storage method further comprises an apparatus comprising: a memory, a processor, and a Hbase-based video tiling method program stored on the memory and executable on the processor, the Hbase-based video tiling method program configured to implement the steps of the Hbase-based video tiling method as described above.
In a third aspect, the Hbase-based image tile storing method further comprises a medium, which is a computer medium having a Hbase-based image tile storing method program stored thereon, which when executed by a processor, implements the steps of the Hbase-based image tile storing method as described above.
Compared with the prior art, the image tile storage method based on Hbase has the following beneficial effects:
(1) when the Hbase table is established, the pre-partition is established according to the pyramid tile slice level number, tiles to be displayed in a time-consuming mode are stored in the same partition through the rowkey, and through the mode, the query range can be reduced, and meanwhile query efficiency is improved;
(2) the second-level index of the rowkey is established through the number of the tile series and the row number and the column number of the tile, the rowkey can be accurately obtained through the second-level index in each query, then the tile is accurately searched through the rowkey, and through the mode, the searching efficiency can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an apparatus in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of the Hbase-based image tile storing method according to the present invention;
FIG. 3 is a functional block diagram of a first embodiment of the Hbase-based image tile storing method according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the device, and that in actual implementations the device may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a medium, may include an operating system, a network communication module, a user interface module, and a program of the Hbase-based picture tile storing method.
In the device shown in fig. 1, the network interface 1004 is mainly used for establishing a communication connection between the device and a server storing all data required in the Hbase-based video tile storage method system; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the Hbase-based image tile storing method apparatus of the present invention may be provided in the Hbase-based image tile storing method apparatus, which calls the Hbase-based image tile storing method program stored in the memory 1005 by the processor 1001 and executes the Hbase-based image tile storing method provided by the present invention.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of the Hbase-based image tile storing method according to the present invention.
In this embodiment, the Hbase-based image tile storage method includes the following steps:
s10: and establishing an Hbase table, and obtaining the pyramid tile slice level.
It should be understood that Hbase is a high-reliability, high-performance, scalable distributed database, and it can implement fast query of unstructured data through rowkey, rowkey can be understood as a primary key of a relational database for identifying unique rows, which is a string of non-repetitive character strings specified by a user, and unstructured data is data with irregular or incomplete data structure, without predefined data model, which is inconvenient for representing data with a database two-dimensional logic table, including office documents, texts, pictures, XML, HTML, various types of reports, images, audio information, and so on in all formats.
It should be understood that pre-partitioning is not considered in the initial establishment of the Hbase table, which results in a full table scan at the time of query, and data is randomly stored in the Hbase table, which is slow. Therefore, in this embodiment, after the Hbase table is established, the pyramid tile slice number is obtained, and then the table is pre-partitioned according to the pyramid tile slice number, where the partition number is determined by the pyramid tile slice number, if the slice number has 18 levels, the number of the pre-partitioned areas is 18 partitions, and the pyramid tile slice number corresponds to the number of the partition one by one, the number of the 1 st-level slice corresponds to the 1 st partition, and so on, the number of the 18 th-level slice corresponds to the 18 th partition. By establishing the partition, the tiles to be displayed simultaneously can be in the same area, so that the range needing to be searched is reduced and the searching efficiency is improved when the tiles are searched.
S20: and establishing a row and column number algorithm, acquiring data to be calculated, calculating the data to be calculated through the row and column number algorithm, and acquiring the row and column number of the pyramid tile from a calculation result.
It should be understood that the data to be calculated includes: the method comprises the steps of obtaining a map resolution ratio, coordinate system data, specific coordinates of images, width of tile pixels and height of the tile pixels, wherein the map resolution ratio is set after a table is partitioned, different partitions correspond to different map resolution ratios, the map resolution ratio corresponding to the images can be found from the coordinate system data according to the specific coordinates of the images, the width and the height of pixels corresponding to each image in the level can be calculated according to the map resolution ratio and the specific coordinates of the images, and the column number and the row number of the tile corresponding to the level can be obtained by dividing the calculated width and the calculated height of the image pixels by the width and the calculated height of the tile pixels.
It should be understood that the row column number algorithm is:
Figure BDA0002278559850000061
wherein R represents the row number of the tile, C represents the column number of the tile, KqWidth, G, of the representative image pixelqHigh, K representing image pixelwWidth, G, of the pixels representing the tilewRepresenting the height of the tile pixel.
The method for calculating the width and height of the image pixel comprises the following steps:
Figure BDA0002278559850000062
wherein, (x, y) represents the specific coordinate of the image, and δ represents the map resolution corresponding to the specific coordinate of the image.
S30: setting a rowkey splicing rule, obtaining a random character string, splicing the pyramid tile slice series, the row and column numbers of the pyramid tiles and the random character string into a rowkey according to the rowkey splicing rule, and writing the pyramid tiles into an Hbase table according to the rowkey.
It should be understood that after the row and column number of the pyramid tile is obtained, a rowkey needs to be spliced to store the tile in the corresponding Hbase table partition, and the rowkey splicing rule used in this embodiment is a string splicing rule, such as a map level (generally, three digits, a tile level of 001 if 1, and a tile level of 10, 101) + a row and column number + a string, so as to form a rowkey.
It should be understood that after the rowkey is spliced, the system writes the pyramid tile into the corresponding partition of the Hbase table according to the rowkey, and if the pyramid tile needs to be read, the corresponding tile can be fuzzily retrieved according to the tile row and column number and the tile slice level and read. The fuzzy retrieval means that the search system automatically carries out fuzzy retrieval according to synonyms of keywords input by a user, so that more results are obtained.
It should be understood that, in this case, the system uses the tile row and column number and the tile slice level as the secondary index tag of the rowkey, and when reading the tile, the corresponding rowkey is read through the secondary index tag first, and then the corresponding tile is read through the rowkey. By the mode, the data security is improved, data loss is not worried about, and meanwhile the efficiency of the whole read-write process is improved.
The above description is only for illustrative purposes and does not limit the technical solutions of the present application in any way.
As can be easily found from the above description, in the embodiment, the pyramid tile slice number is obtained by establishing an Hbase table; establishing a row and column number algorithm, acquiring data to be calculated, calculating the data to be calculated through the row and column number algorithm, and acquiring the row and column number of the pyramid tile from a calculation result; setting a rowkey splicing rule, obtaining a random character string, splicing the pyramid tile slice series, the row and column numbers of the pyramid tiles and the random character string into a rowkey according to the rowkey splicing rule, and writing the pyramid tiles into an Hbase table according to the rowkey. In the embodiment, when the Hbase table is established, the table is pre-partitioned, then the pyramid tiles are written into corresponding partitions through rowkey, and meanwhile, the tile levels and the tile row and column numbers are used for establishing the secondary indexes, so that the data can be accessed more quickly and accurately, and the data security is also improved.
In addition, the embodiment of the invention also provides a device for storing the image tiles based on the Hbase. As shown in fig. 3, the apparatus of the Hbase-based image tile storage method includes: the table building module 10, the row and column number calculating module 20 and the writing module 30.
The table establishing module 10 is configured to establish an Hbase table and obtain pyramid tile slice levels;
a row and column number calculation module 20, configured to establish a row and column number algorithm, obtain data to be calculated, calculate the data to be calculated through the row and column number algorithm, and obtain a row and column number of the pyramid tile from a calculation result;
and the writing module 30 is configured to set a rowkey splicing rule, obtain a random character string, splice the pyramid tile slice number, the row and column number of the pyramid tile, and the random character string into a rowkey according to the rowkey splicing rule, and write the pyramid tile into the Hbase table according to the rowkey.
In addition, it should be noted that the above-described embodiments of the apparatus are merely illustrative, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of the modules to implement the purpose of the embodiments according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment can be referred to the Hbase-based image tile storage method provided in any embodiment of the present invention, and are not described herein again.
Furthermore, an embodiment of the present invention further provides a medium, which is a computer medium, and the computer medium stores a program of an Hbase-based image tile storing method, and when executed by a processor, the program of the Hbase-based image tile storing method implements the following operations:
s1, establishing an Hbase table, and obtaining the pyramid tile slice level;
s2, establishing a row and column number algorithm to obtain data to be calculated, calculating the data to be calculated through the row and column number algorithm, and obtaining the row and column number of the pyramid tile from the calculation result;
s3, setting a rowkey splicing rule, obtaining a random character string, splicing the pyramid tile slice series, the row and column numbers of the pyramid tiles and the random character string into a rowkey according to the rowkey splicing rule, and writing the pyramid tiles into an Hbase table according to the rowkey.
Further, when executed by a processor, the Hbase-based image tile storage method further performs the following operations:
establishing an Hbase table, obtaining pyramid tile slice levels, and pre-partitioning the Hbase table according to the pyramid tile slice levels, wherein the pyramid tile slice technology corresponds to the numbers of partitions one by one.
Further, when executed by a processor, the Hbase-based image tile storage method further performs the following operations:
the data to be calculated comprises: the map resolution corresponding to the specific coordinates of the image is found from the coordinate system data according to the specific coordinates of the image.
Further, when executed by a processor, the Hbase-based image tile storage method further performs the following operations:
the row-column number algorithm is as follows:
Figure BDA0002278559850000091
wherein R represents the row number of the tile, C represents the column number of the tile, KqWidth, G, of the representative image pixelqHigh, K representing image pixelwWidth, G, of the pixels representing the tilewRepresenting the height of the tile pixel.
Further, when executed by a processor, the Hbase-based image tile storage method further performs the following operations:
the method for calculating the width and height of the image pixel comprises the following steps:
Figure BDA0002278559850000092
wherein, (x, y) represents the specific coordinate of the image, and δ represents the map resolution corresponding to the specific coordinate of the image.
Further, when executed by a processor, the Hbase-based image tile storage method further performs the following operations:
setting a character string splicing rule as a rowkey splicing rule, obtaining a random character string, splicing the pyramid tile slice level, the row and column number of the pyramid tile and the random character string into a rowkey according to the character string splicing rule, and writing the pyramid tile into a partition corresponding to the Hbase table according to the rowkey.
Further, when executed by a processor, the Hbase-based image tile storage method further performs the following operations:
the method comprises the steps of obtaining the row and column numbers of the pyramid tiles and the pyramid tile slice series, using the row and column numbers of the pyramid tiles and the pyramid tile slice series as index labels of the pyramid tiles, and searching the pyramid tiles from an Hbase table according to the index labels.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. An image tile storage method based on Hbase is characterized in that: comprises the following steps;
s1, establishing an Hbase table, and obtaining the pyramid tile slice level;
s2, establishing a row and column number algorithm to obtain data to be calculated, calculating the data to be calculated through the row and column number algorithm, and obtaining the row and column number of the pyramid tile from the calculation result;
s3, setting a rowkey splicing rule, obtaining a random character string, splicing the pyramid tile slice series, the row and column numbers of the pyramid tiles and the random character string into a rowkey according to the rowkey splicing rule, and writing the pyramid tiles into an Hbase table according to the rowkey.
2. The Hbase-based image tile storage method of claim 1, wherein: and step S1, establishing an Hbase table and obtaining pyramid tile slice levels, and further comprising the following steps of establishing the Hbase table and obtaining pyramid tile slice levels, pre-partitioning the Hbase table according to the pyramid tile slice levels, wherein the pyramid tile slice technology corresponds to the number of partitions one by one.
3. The Hbase-based image tile storage method of claim 1, wherein: in step S2, a row-column number algorithm is established to obtain data to be calculated, the data to be calculated is calculated by the row-column number algorithm, and the row-column number of the pyramid tile is obtained from the calculation result, which further includes the following steps: the map resolution corresponding to the specific coordinates of the image is found from the coordinate system data according to the specific coordinates of the image.
4. The Hbase-based image tile storage method of claim 3, wherein: the method further comprises the following steps of:
Figure FDA0002278559840000011
wherein R represents the row number of the tile, C represents the column number of the tile, KqWidth, G, of the representative image pixelqHigh, K representing image pixelwWidth, G, of the pixels representing the tilewRepresenting the height of the tile pixel.
5. The Hbase-based image tile storage method of claim 4, wherein: the method for calculating the width and height of the image pixel comprises the following steps:
Figure FDA0002278559840000012
wherein, (x, y) represents the specific coordinate of the image, and δ represents the map resolution corresponding to the specific coordinate of the image.
6. The Hbase-based image tile storage method of claim 2, wherein: and step S3, setting a rowkey splicing rule, obtaining a random character string, splicing the pyramid tile slicing level, the pyramid tile row and column number and the random character string into a rowkey according to the rowkey splicing rule, writing the pyramid tile into an Hbase table according to the rowkey, setting the character string splicing rule as the rowkey splicing rule, obtaining the random character string, splicing the pyramid tile slicing level, the pyramid tile row and column number and the random character string into a rowkey according to the character string splicing rule, and writing the pyramid tile into a partition corresponding to the Hbase table according to the rowkey.
7. The Hbase-based image tile storage method of claim 6, wherein: and writing the pyramid tile into a partition corresponding to the Hbase table according to rowkey, and then obtaining the row and column number of the pyramid tile and the pyramid tile slice series, taking the row and column number of the pyramid tile and the pyramid tile slice series as index labels of the pyramid tile, and searching the pyramid tile from the Hbase table according to the index labels.
8. An apparatus of an Hbase-based image tile storage method, the apparatus comprising:
the table establishing module is used for establishing an Hbase table and acquiring the pyramid tile slice number;
the row and column number calculation module is used for establishing a row and column number algorithm, acquiring data to be calculated, calculating the data to be calculated through the row and column number algorithm, and acquiring the row and column number of the pyramid tile from a calculation result;
and the writing module is used for setting a rowkey splicing rule, acquiring a random character string, splicing the pyramid tile slice series, the row and column numbers of the pyramid tiles and the random character string into a rowkey according to the rowkey splicing rule, and writing the pyramid tiles into the Hbase table according to the rowkey.
9. An apparatus, characterized in that the apparatus comprises: a memory, a processor, and a Hbase-based video tiling method program stored on the memory and executable on the processor, the Hbase-based video tiling method program configured to implement the steps of the Hbase-based video tiling method of any of claims 1-7.
10. A medium, characterized in that the medium is a computer medium having stored thereon a program of a Hbase-based video tile storing method, which when executed by a processor implements the steps of the Hbase-based video tile storing method according to any one of claims 1 to 7.
CN201911131935.2A 2019-11-19 2019-11-19 Hbase-based image tile storage method, device, equipment and medium Pending CN110928877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911131935.2A CN110928877A (en) 2019-11-19 2019-11-19 Hbase-based image tile storage method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911131935.2A CN110928877A (en) 2019-11-19 2019-11-19 Hbase-based image tile storage method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN110928877A true CN110928877A (en) 2020-03-27

Family

ID=69853452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911131935.2A Pending CN110928877A (en) 2019-11-19 2019-11-19 Hbase-based image tile storage method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN110928877A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552753A (en) * 2020-04-24 2020-08-18 中国科学院空天信息创新研究院 Global massive remote sensing data organization and management method and system
CN111753123A (en) * 2020-07-01 2020-10-09 成都星时代宇航科技有限公司 Tile obtaining method and device, terminal equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509022A (en) * 2011-11-18 2012-06-20 武汉大学 Method for quickly constructing raster database facing to Virtual Earth
US9081855B1 (en) * 2012-05-31 2015-07-14 Integrity Applications Incorporated Systems and methods for video archive and data extraction
CN105303509A (en) * 2014-07-09 2016-02-03 方正国际软件(北京)有限公司 Tile map fusion method and apparatus
CN109977192A (en) * 2019-04-02 2019-07-05 山东大学 The quick loading method of unmanned plane tile map, system, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509022A (en) * 2011-11-18 2012-06-20 武汉大学 Method for quickly constructing raster database facing to Virtual Earth
US9081855B1 (en) * 2012-05-31 2015-07-14 Integrity Applications Incorporated Systems and methods for video archive and data extraction
CN105303509A (en) * 2014-07-09 2016-02-03 方正国际软件(北京)有限公司 Tile map fusion method and apparatus
CN109977192A (en) * 2019-04-02 2019-07-05 山东大学 The quick loading method of unmanned plane tile map, system, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
佚名: "WEBGIS前端地图显示之根据地理范围换算出瓦片行列号的原理(核心)", 《HTTPS://NEWS.68IDC.CN/BUILDLANG/20150627387849.HTML》 *
欧阳峰,杨春成,何列松: "基于Hadoop的瓦片数据存储与管理技术研究", 《测绘科学与工程》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552753A (en) * 2020-04-24 2020-08-18 中国科学院空天信息创新研究院 Global massive remote sensing data organization and management method and system
CN111552753B (en) * 2020-04-24 2020-12-29 中国科学院空天信息创新研究院 Massive remote sensing data organization and management method and system based on distributed hbase storage
CN111753123A (en) * 2020-07-01 2020-10-09 成都星时代宇航科技有限公司 Tile obtaining method and device, terminal equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US8589425B2 (en) Scalable rendering of large spatial databases
US6781599B2 (en) System and method for visualizing massive multi-digraphs
US9009177B2 (en) Recommending points of interests in a region
CN103562917A (en) Map-based methods of visualizing relational databases
US9697751B2 (en) Interactive representation of clusters of geographical entities
JP2009526327A (en) System and method for spatial thumbnails and companion maps for media objects
Dix et al. By chance enhancing interaction with large data sets through statistical sampling
JP2004178604A5 (en)
CN110928877A (en) Hbase-based image tile storage method, device, equipment and medium
US10013474B2 (en) System and method for hierarchical synchronization of a dataset of image tiles
US9164978B2 (en) Identifying objects within a multidimensional array
JP2003006198A (en) Image processor and image processing method, and server apparatus
KR20060095444A (en) Entity lookup system
EP1383064A2 (en) System and method for analytically modeling data organized according to related attributes
US20230298374A1 (en) Method and device for determining picture with texts
Balletti et al. Historical maps for 3D digital city's history
KR100563085B1 (en) Method for compositively displaying digital map and photo image
Peng et al. Viewing streaming spatially-referenced data at interactive rates
US20130212080A1 (en) In-context display of presentation search results
CN112214562A (en) Data processing method and device, electronic equipment and machine-readable storage medium
KR100563086B1 (en) Method for dynamically displaying static maps
US11816320B2 (en) Paginated growing widgets
CN116149561B (en) Tile data transmission method and device, electronic equipment and storage medium
CN114996600B (en) Multi-temporal image management database data writing and reading method and device
US8566312B2 (en) Method, system and apparatus for accessing stored spatial data

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200327