CN117851433A - Real-time updating system and method for vector tiles of mobile terminal - Google Patents
Real-time updating system and method for vector tiles of mobile terminal Download PDFInfo
- Publication number
- CN117851433A CN117851433A CN202410234428.6A CN202410234428A CN117851433A CN 117851433 A CN117851433 A CN 117851433A CN 202410234428 A CN202410234428 A CN 202410234428A CN 117851433 A CN117851433 A CN 117851433A
- Authority
- CN
- China
- Prior art keywords
- module
- slice
- layer
- slicing
- vector
- 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
- 238000000034 method Methods 0.000 title claims abstract description 19
- 230000008676 import Effects 0.000 claims description 7
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a mobile terminal vector tile real-time updating system and a method, which belong to the technical field of data processing, and comprise a layer directory for reading vector data to be updated, an external data reading module for reading the vector data of a layer, a slicing module for carrying out hierarchical slicing on the vector data, a data processing module, an operation selection module and a slice level judging module; the operation selection module comprises two sub-modules of a newly built layer and an updated layer. The invention has the advantages that: the method can update the data of the target layer of the mobile terminal in real time, can also add a new layer in the mobile terminal, effectively improves the data updating efficiency, and has good application prospect.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a system and a method for updating a mobile terminal vector tile in real time.
Background
Along with the geometric progression increase of the space actual measurement data, the expression mode of the electronic map is more and more diversified, and the number of the map layers can reach twenty and more layers. Currently, mobile terminal equipment software in the geographic information software industry mostly uses an ArcGIS (geographic information System) distribution layer, when data needs to be updated, all map data need to be sliced again, and the updating process can take days or even tens of days. For the scene with high data updating frequency, the user experience is seriously influenced.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a vector tile real-time updating method which can update real-time data aiming at a target layer of a mobile terminal, can also add a new layer in the mobile terminal and effectively improves the data updating efficiency.
In order to solve the technical problems, the technical scheme of the invention is that the mobile terminal vector tile real-time updating system comprises an external data reading module, a slicing module, a data processing module and an operation selection module; the slicing module is connected with the external data reading module and the data processing module; the data processing module is connected with the operation selection module and the database of the mobile terminal;
the external data reading module is used for reading a layer directory of the vector data to be updated, selecting a corresponding layer and reading layer vector data; the slicing module is used for carrying out hierarchical slicing on the vector data; the operation selection module comprises two sub-modules of a newly built layer and an updated layer; when a new layer command in the operation selection module is selected, the data processing module creates a new layer, stores the received vector slice from the slice module into the new layer, and imports the new layer into a database; when the update layer command in the operation selection module is selected, the data processing module overlays the received vector slice from the slicing module to a vector slice in a target layer in the database.
Further, the method also comprises a slice level judging module; the slice level judging module is connected with the slice module; the method for grading slicing by the slicing module comprises the following steps: the slicing module transversely and longitudinally cuts the vector data into 4 equal blocks to obtain a first-stage slice, and sends all slices of the first stage to the database and the slice level judging module; the slice level judging module is used for judging whether each received slice needs to be subjected to the next stage of slicing one by one according to the density degree of the vector data, sending a judging result to the slice module and clearing the slices; and after receiving the slicing instruction from the slicing level judging module, the slicing module continuously transversely and longitudinally cuts the slice into blocks of 4 and the like, and sends the next-stage slice obtained by new cutting to the database and the slicing level judging module.
Further, the device also comprises a slice level statistics module, wherein the slice level statistics module is connected with the slice module; the slice level statistics module is used for counting the highest slice level of all slices according to the position information of the slices.
Further, the data processing module is also connected with a clearing cache module of the mobile terminal, and the clearing cache module is connected with the data cache module of the mobile terminal; when the command for updating the image layer in the operation selection module is selected, the data processing module sends a cache clearing command to the cache clearing module, and the cache clearing module clears the vector slices stored in the corresponding image layer in the data cache module.
The invention also provides a method for updating the vector tiles of the mobile terminal in real time, which comprises the following steps:
s1, reading external data: the external data reading module reads a layer directory of the vector data to be updated, selects a corresponding layer and reads layer vector data;
s2, slicing: the slicing module transversely and longitudinally cuts the vector data into 4 equal blocks to obtain a first-stage slice, and sends all slices of the first stage to the database and the slice level judging module; the slice level judging module is used for judging whether each received slice needs to be subjected to the next stage of slicing one by one according to the density degree of the vector data, sending a judging result to the slice module and clearing the slices; after receiving the slicing instruction from the slicing level judging module, the slicing module continuously transversely and longitudinally cuts the slice into blocks of 4 and the like, and sends the next-stage slice obtained by new cutting to the database and the slicing level judging module;
s3, slice level statistics; the slice level statistics module is used for counting the highest slice level of all slices according to the position information of the slices;
s4, selecting an operation type: the user selects a newly built layer or an updated layer in the operation selection module;
s5, data processing: if the new layer command is selected in the S4, the data processing module creates a new layer, and stores the received vector slice from the slice module into the created layer, and imports the new layer into the database; if the update layer command is selected in S4, the data processing module overlays the received vector slice from the slicing module onto the vector slice in the target layer in the database.
Further, if the update layer command is selected in S4, the data processing module sends a clear buffer command to the clear buffer module, and the clear buffer module clears the vector slice stored in the corresponding layer in the data buffer module.
The invention has the beneficial effects that:
according to the method, the layer directory of the vector data to be updated is read through an external data reading module, a corresponding layer is selected, and the layer vector data is read; grading and slicing the vector data through a slicing module, and selecting a newly built layer or an updated layer in an operation selection module; when a new layer command is selected, the data processing module builds a layer, stores the received vector slice from the slice module into the built layer, and imports the new layer into the database; when the update layer command in the operation selection module is selected, the data processing module overlays the received vector slice from the slicing module onto the vector slice in the target layer in the database. The method and the system can update the real-time data aiming at the target layer of the mobile terminal, can also add a new layer in the mobile terminal, effectively improve the efficiency of data update, and particularly have good application prospect aiming at scenes with higher data update frequency.
Drawings
Fig. 1 is a schematic overall structure of embodiment 1.
Detailed Description
The following describes the embodiments of the present invention further with reference to the drawings. The description of these embodiments is provided to assist understanding of the present invention, but is not intended to limit the present invention. In addition, the technical features of the embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
Examples
A mobile terminal vector tile real-time updating system, as shown in figure 1, comprises an external data reading module, a slicing module, a data processing module and an operation selection module; the slicing module is connected with the external data reading module and the data processing module; the data processing module is connected with the operation selection module and the database of the mobile terminal;
the external data reading module is used for reading the layer directory of the vector data to be updated, selecting a corresponding layer and reading the layer vector data; the slicing module is used for carrying out hierarchical slicing on the vector data; the operation selection module comprises two sub-modules of a newly built layer and an updated layer; when a new layer command in the operation selection module is selected, the data processing module creates a new layer, stores the received vector slice from the slice module into the created layer, and imports the new layer into the database; when the update layer command in the operation selection module is selected, the data processing module overlays the received vector slice from the slicing module onto the vector slice in the target layer in the database.
Specifically, the method also comprises a slice level judging module; the slice level judging module is connected with the slice module; the method for grading slicing by the slicing module comprises the following steps: the slicing module is used for horizontally and longitudinally cutting the vector data into 4 equal blocks to obtain a first-stage slice, and transmitting all slices of the first stage to the database and the slice level judging module; the slice level judging module is used for judging whether each received slice needs to be subjected to the next stage of slicing one by one according to the density degree of the vector data, sending a judging result to the slice module, and clearing the slices; and after receiving the slicing instruction from the slicing level judging module, the slicing module continuously and longitudinally cuts the slice into blocks of 4 and the like, and sends the next-stage slice obtained by new cutting to the database and the slicing level judging module.
The device specifically comprises a slice level statistics module, wherein the slice level statistics module is connected with the slice module; the slice level statistics module is used for counting the highest slice level of all slices according to the position information of the slices.
Specifically, the data processing module is also connected with a clearing cache module of the mobile terminal, and the clearing cache module is connected with the data cache module of the mobile terminal; when the command for updating the image layer in the operation selection module is selected, the data processing module sends a cache clearing command to the cache clearing module, and the cache clearing module clears the vector slices stored in the corresponding image layer in the data cache module.
Examples
The invention also provides a method for updating the vector tiles of the mobile terminal in real time, which comprises the following steps:
s1, reading external data: the external data reading module reads a layer directory of the vector data to be updated, selects a corresponding layer and reads layer vector data;
s2, slicing: the slicing module is used for horizontally and longitudinally cutting the vector data into 4 equal blocks to obtain a first-stage slice, and transmitting all slices of the first stage to the database and the slice level judging module; the slice level judging module is used for judging whether each received slice needs to be subjected to the next stage of slicing one by one according to the density degree of the vector data, sending a judging result to the slice module, and clearing the slices; after receiving the slicing instruction from the slicing level judging module, the slicing module continuously and transversely cuts the slice into blocks of 4 and the like, and sends the next slice obtained by new cutting to the database and the slicing level judging module;
s3, slice level statistics; the slice level statistics module is used for counting the highest slice level of all slices according to the position information of the slices;
s4, selecting an operation type: the user selects a newly built layer or an updated layer in the operation selection module;
s5, data processing: if the new layer command is selected in the S4, the data processing module creates a new layer, and stores the received vector slice from the slice module into the created layer, and imports the new layer into the database; if the command of updating the layer is selected in the step S4, the data processing module covers the received vector slice from the slicing module with the vector slice in the target layer in the database;
and S6, if the command for updating the image layer is selected in the S4, the data processing module sends a cache clearing command to the cache clearing module, and the cache clearing module clears the vector slices stored in the corresponding image layer in the data cache module.
The embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. It will be apparent to those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, and yet fall within the scope of the invention.
Claims (5)
1. The mobile terminal vector tile real-time updating system is characterized in that: the device comprises an external data reading module, a slicing module, a data processing module, an operation selection module and a slicing level judging module; the slicing module is connected with the external data reading module and the data processing module; the data processing module is connected with the operation selection module and the database of the mobile terminal; the slice level judging module is connected with the slice module;
the external data reading module is used for reading a layer directory of the vector data to be updated, selecting a corresponding layer and reading layer vector data; the slicing module is used for carrying out hierarchical slicing on the vector data; the operation selection module comprises two sub-modules of a newly built layer and an updated layer; when a new layer command in the operation selection module is selected, the data processing module creates a new layer, stores the received vector slice from the slice module into the new layer, and imports the new layer into a database; when the command for updating the layer in the operation selection module is selected, the data processing module covers the received vector slice from the slicing module with the vector slice in the target layer in the database;
the method for grading slicing by the slicing module comprises the following steps: the slicing module transversely and longitudinally cuts the vector data into 4 equal blocks to obtain a first-stage slice, and sends all slices of the first stage to the database and the slice level judging module; the slice level judging module is used for judging whether each received slice needs to be subjected to the next stage of slicing one by one according to the density degree of the vector data, sending a judging result to the slice module and clearing the slices; and after receiving the slicing instruction from the slicing level judging module, the slicing module continuously transversely and longitudinally cuts the slice into blocks of 4 and the like, and sends the next-stage slice obtained by new cutting to the database and the slicing level judging module.
2. The mobile terminal vector tile real-time update system of claim 1, wherein: the device also comprises a slice level statistics module, wherein the slice level statistics module is connected with the slice module; the slice level statistics module is used for counting the highest slice level of all slices according to the position information of the slices.
3. The mobile terminal vector tile real-time update system of claim 2, wherein: the data processing module is also connected with a clearing cache module of the mobile terminal, and the clearing cache module is connected with the data cache module of the mobile terminal; when the command for updating the image layer in the operation selection module is selected, the data processing module sends a cache clearing command to the cache clearing module, and the cache clearing module clears the vector slices stored in the corresponding image layer in the data cache module.
4. A mobile terminal vector tile real-time updating method suitable for the mobile terminal vector tile real-time updating system as claimed in any one of claims 1 to 3, characterized in that: the method comprises the following steps:
s1, reading external data: the external data reading module reads a layer directory of the vector data to be updated, selects a corresponding layer and reads layer vector data;
s2, slicing: the slicing module transversely and longitudinally cuts the vector data into 4 equal blocks to obtain a first-stage slice, and sends all slices of the first stage to the database and the slice level judging module; the slice level judging module is used for judging whether each received slice needs to be subjected to the next stage of slicing one by one according to the density degree of the vector data, sending a judging result to the slice module and clearing the slices; after receiving the slicing instruction from the slicing level judging module, the slicing module continuously transversely and longitudinally cuts the slice into blocks of 4 and the like, and sends the next-stage slice obtained by new cutting to the database and the slicing level judging module;
s3, slice level statistics; the slice level statistics module is used for counting the highest slice level of all slices according to the position information of the slices;
s4, selecting an operation type: the user selects a newly built layer or an updated layer in the operation selection module;
s5, data processing: if the new layer command is selected in the S4, the data processing module creates a new layer, and stores the received vector slice from the slice module into the created layer, and imports the new layer into the database; if the update layer command is selected in S4, the data processing module overlays the received vector slice from the slicing module onto the vector slice in the target layer in the database.
5. The method for updating the vector tile of the mobile terminal in real time according to claim 4, wherein: if the layer updating command is selected in the step S4, the data processing module sends a cache clearing command to the cache clearing module, and the cache clearing module clears the vector slices stored in the corresponding layers in the data cache module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410234428.6A CN117851433A (en) | 2024-03-01 | 2024-03-01 | Real-time updating system and method for vector tiles of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410234428.6A CN117851433A (en) | 2024-03-01 | 2024-03-01 | Real-time updating system and method for vector tiles of mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117851433A true CN117851433A (en) | 2024-04-09 |
Family
ID=90540134
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410234428.6A Pending CN117851433A (en) | 2024-03-01 | 2024-03-01 | Real-time updating system and method for vector tiles of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117851433A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101466082A (en) * | 2008-12-30 | 2009-06-24 | 中国人民解放军国防科学技术大学 | Multilevel sliced sheet processing method for vector map data |
CN112231426A (en) * | 2020-10-13 | 2021-01-15 | 重庆紫光华山智安科技有限公司 | Vector tile point data based updating method, system, medium and terminal |
CN115221255A (en) * | 2021-04-19 | 2022-10-21 | 华为技术有限公司 | Map data updating method, device and system |
CN116127115A (en) * | 2022-12-28 | 2023-05-16 | 江苏省测绘研究所 | Time sequence update-oriented oblique photography three-dimensional model tile set visualization method |
CN116150295A (en) * | 2023-02-17 | 2023-05-23 | 杭州数梦工场科技有限公司 | Local updating method, device and equipment of tile data and storage medium |
CN116168096A (en) * | 2023-02-24 | 2023-05-26 | 武汉大学 | Construction method of variable resolution vector tile |
-
2024
- 2024-03-01 CN CN202410234428.6A patent/CN117851433A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101466082A (en) * | 2008-12-30 | 2009-06-24 | 中国人民解放军国防科学技术大学 | Multilevel sliced sheet processing method for vector map data |
CN112231426A (en) * | 2020-10-13 | 2021-01-15 | 重庆紫光华山智安科技有限公司 | Vector tile point data based updating method, system, medium and terminal |
CN115221255A (en) * | 2021-04-19 | 2022-10-21 | 华为技术有限公司 | Map data updating method, device and system |
CN116127115A (en) * | 2022-12-28 | 2023-05-16 | 江苏省测绘研究所 | Time sequence update-oriented oblique photography three-dimensional model tile set visualization method |
CN116150295A (en) * | 2023-02-17 | 2023-05-23 | 杭州数梦工场科技有限公司 | Local updating method, device and equipment of tile data and storage medium |
CN116168096A (en) * | 2023-02-24 | 2023-05-26 | 武汉大学 | Construction method of variable resolution vector tile |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112233240B (en) | Three-dimensional vector data slicing method and device of three-dimensional vector map and electronic equipment | |
CN111090712A (en) | Data processing method, device and equipment and computer storage medium | |
EP2124162B1 (en) | Radio wave propagation characteristic estimation system | |
JP2003309868A (en) | Process and system for deployment of radio coverage of cellular radiotelephony network | |
CN107463585B (en) | Fingerprint data storage processing method and device | |
CN102209385B (en) | Method for calculating position of base station based on spatial outlier data mining algorithm | |
CN110798804B (en) | Indoor positioning method and device | |
CN110688442A (en) | Electronic map point location aggregation method based on multilayer grid blocks | |
CN108446357A (en) | A kind of mass data spatial dimension querying method based on two-dimentional geographical location | |
CN115687675A (en) | Airborne vector map data processing method | |
CN111523777A (en) | Novel smart city system and application method thereof | |
KR20230043896A (en) | Processing method and processing apparatus for saving energy of a base station | |
CN117851433A (en) | Real-time updating system and method for vector tiles of mobile terminal | |
CN113344943B (en) | Mosaic encoding method for tile fragments of remote sensing image | |
CN103582042B (en) | A kind of method and apparatus determining adjacent area | |
CN102495816B (en) | Quick interrupt graded processing device and method | |
CN115865099A (en) | Multi-type data segmentation compression method and system based on Huffman coding | |
CN109769216B (en) | Method and device for grouping users in complex environment based on mobile phone signals | |
CN113051264B (en) | Data storage and query method and device, electronic equipment and storage medium | |
CN111491255B (en) | Backfill longitude and latitude positioning and expanding method, system and storage medium | |
CN113068194A (en) | Method, device, equipment and medium for determining anchor point | |
CN111757251B (en) | Received signal strength estimation method based on generalized continuation approximation model | |
CN115063531B (en) | Smart park space data packet lightweight processing and rendering method | |
CN108304592A (en) | A kind of network service recommendation method based on location of mobile users | |
CN117827915A (en) | Rapid vector slicing system and method |
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 |