CN117271691A - Construction method, system and computer readable medium for tile map service based on domestic platform - Google Patents

Construction method, system and computer readable medium for tile map service based on domestic platform Download PDF

Info

Publication number
CN117271691A
CN117271691A CN202311277719.5A CN202311277719A CN117271691A CN 117271691 A CN117271691 A CN 117271691A CN 202311277719 A CN202311277719 A CN 202311277719A CN 117271691 A CN117271691 A CN 117271691A
Authority
CN
China
Prior art keywords
map
tile
service
data
encryption
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.)
Granted
Application number
CN202311277719.5A
Other languages
Chinese (zh)
Other versions
CN117271691B (en
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.)
Yangzhou Wanfang Technology Co ltd
Original Assignee
Yangzhou Wanfang Technology 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 Yangzhou Wanfang Technology Co ltd filed Critical Yangzhou Wanfang Technology Co ltd
Priority to CN202311277719.5A priority Critical patent/CN117271691B/en
Publication of CN117271691A publication Critical patent/CN117271691A/en
Application granted granted Critical
Publication of CN117271691B publication Critical patent/CN117271691B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/29Geographical information databases
    • 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/242Query formulation
    • 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/24568Data stream processing; Continuous queries
    • 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/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Remote Sensing (AREA)
  • Storage Device Security (AREA)

Abstract

A method, system and computer readable medium for building tile map service based on domestic platform. Relates to a map tile encryption storage method based on a domestic platform. The method is suitable for large-scale geographic information data processing, protects the high-precision electronic map and is convenient for users to use. S1, creating a blocking queue for storing requests by adopting a thread pool, and maintaining a plurality of threads capable of being processed concurrently; s2, capturing a map tile data request from an application program; s3, the task thread extracts Url tile number information to encrypt and convert, and index encrypted data of the map tiles in the map database is obtained; s4, inquiring the map database according to the index encryption data, judging an inquiry result, S5, decrypting the encrypted tile data stream, and returning the decrypted data stream to the application program; and S6, the task thread completes the map tile data request response task. The tile data safety is technically ensured, and the safety threat brought by foreign basic software and hardware products is avoided.

Description

Construction method, system and computer readable medium for tile map service based on domestic platform
Technical Field
The invention relates to the technical field of domestic platforms of computers, in particular to a map tile encryption storage method based on a domestic platform.
Technical Field
Today, the world is moving to a new era of informatization and digitalization, the geographic information technology is an important component of the new generation of digital information technology, and the energy is continuously released. The domestic geographic information system plays an increasingly important role as one of important strategic resources for digital transformation in China, but because the geographic information data is single in storage form, especially the high-precision map tile data, the means of copying, processing and tampering are very simple, and illegal copying, spreading and secret leakage are extremely easy to cause.
The application of the map service on domestic equipment is an important measure for ensuring the safety and stability of map information, and is especially used in various fields of electronic map production, military industry and the like. How to support large-scale geographic information data processing by map service without affecting the scheduling use and operation efficiency of an application system, and meanwhile, the map service can protect a high-precision electronic map on domestic equipment and is convenient for users to use is a problem to be solved urgently.
Disclosure of Invention
Aiming at the technical problems, the invention provides a construction method, a system and a computer readable medium of tile map service based on a domestic platform, which can adapt to large-scale geographic information data processing, protect a high-precision electronic map and facilitate users to use.
The invention relates to a construction method of tile map service based on a domestic platform, which comprises a platform layer and a resource layer, wherein interaction between map tile data and application programs is realized by utilizing an Http network transmission protocol,
s1, creating a blocked queue by using a thread pool for storing tile map data requests sent by an application program, and maintaining a plurality of threads capable of concurrently processing user requests;
s2, capturing a map tile data request from an application program, and distributing the map tile data request to a certain thread by a thread pool by utilizing a thread management and task distribution mechanism of the map tile data request;
s3, the thread receiving the task extracts tile number information contained in Url to carry out encryption and conversion processing, and index encryption data of map tiles in a map database is obtained; simultaneously encrypting map tile data of the tile number information to obtain an encrypted tile data stream;
s4, inquiring the map database according to the index encryption data, judging the inquiring result,
if the result is null, returning a null value to the application program;
if the result is not null, the query result is the encrypted tile data stream;
s5, decrypting the encrypted tile data stream, and returning the decrypted data stream to the application program;
and S6, the thread receiving the task completes the response task of the map tile data request and waits for new task allocation.
Further, the tile number information in the step S3 is encrypted and converted,
the encryption processing specifically comprises the following steps: acquiring a layer value Z, a row value Y and a column value X of original map tile data, and setting an encryption operation formula; generating an encrypted layer value Z ', a row value Y ' and a column value X ' which have a one-to-one correspondence with the layer value Z, the row value Y and the column value X,
the conversion process specifically includes: and converting according to the internal relation between the values of Z ', Y ' and X ' and the corresponding spatial range and span values, and generating a unique access index tileKey of the map database to obtain index encrypted data.
Further, in the step S3, map tile data of the tile number information is encrypted;
the method comprises the following steps: and encrypting the byte stream by adopting a preset hexadecimal encryption and decryption array according to a certain encryption rule to obtain a data stream after map tile data encryption, wherein the encryption and decryption key array is not unique and is set according to specific requirements.
Further, the step S3 further includes entering the index encrypted data and the encrypted tile data stream into the map database;
the method comprises the following steps: and establishing a storage table in a map database, and recording the index encryption data and the encrypted tile data stream.
Further, the map database is: databases for performing adaptation and verification on domestic map servers, including MariaDB, sqlLite and/or Postgis open source databases, and Dameng or Dakunjin domestic databases.
Further, a high availability service step is also included in the map service, the high availability service step including: a main service side and a standby service side are set; performing daily maintenance detection on the standby map service, and detecting the online condition of the standby service side through a heartbeat detection mechanism;
if the processing is on line, the processing is not performed;
if the system is offline, restarting the system; after restarting, sending a request to the high-availability service, judging whether the main map service exists currently, if so, setting the main map service as the standby map service, and if not, setting the main map service as the main map service.
The high-availability service also detects the main map service and starts the standby service side to take over when an abnormality is found.
The system for realizing the tile map service construction method based on the domestic platform of claim 1, comprising a computer, wherein the computer adopts a domestic Feiteng processor, is matched with a winning kylin server version operating system, and has a total hard disk capacity of 60TB; basic development environment software package matched with C++, python, JAVA and/or JDK to support cross-platform
A computer readable medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any of claims 1-7.
The map tile data is stored in a database mode, so that unified management, modification and use of the data can be realized, and the requirement of parallel data support in a multi-client and distributed scene is met. An open source database such as MariaDB, sqlLite, postgis and a domestic database such as Dameng and Dada Jin Cang are adapted to a domestic platform so as to adapt to efficient storage of map tile data. The map tile data is stored in a database mode, so that unified management, modification and use of the data can be realized, and the requirement of parallel data support in a multi-client and distributed scene is met.
According to the invention, the map service is deployed on the autonomous and controllable domestic safety equipment, and the tile data is subjected to double encryption processing of the tile index and the data stream and stored in the database, so that the safety of the map tile data can be technically ensured, and the threat of foreign basic software and hardware products to the safety of geographic information can be fundamentally avoided.
Drawings
FIG. 1 is a schematic diagram of an application of the present invention;
FIG. 2 is a diagram of the overall architecture of the system of the present invention;
FIG. 3 is a flow chart of the map tile data encryption process of the present invention;
FIG. 4 is a flow chart of a map service function implementation of the present invention;
fig. 5 is a schematic diagram of the operation of the invention with the high availability service active-standby successor.
Detailed Description
The invention is further described below with reference to fig. 1-5.
As shown in fig. 2, 3 and 4, the method for constructing tile map service based on domestic platform of the invention comprises a platform layer and a resource layer, interaction between map tile data and application program is realized by utilizing Http network transmission protocol,
s1, on a domestic platform, creating a thread pool capable of managing each thread based on the multi-core characteristics of a domestic processor; creating a blocked queue from the thread pool for storing tile map data requests sent by the application program, and maintaining a plurality of threads capable of concurrently processing user requests; for a user request with high burst in a short time, the thread pool can process the request in a high concurrency mode through the mechanism, and search, decrypt and feed back tile data asynchronously and parallelly, so that the response and processing efficiency of the request are improved.
And by using a concurrent processing mechanism among multiple threads and a thread management mechanism of a thread pool, the computing response speed of a domestic platform is improved, and the high efficiency of map tile data service is ensured. When the map service is idle, no task exists in the request queue, and each processing thread is blocked and used for waiting for the request task for distributing tile data; when a request task is received, the thread pool distributes tasks to idle threads according to a task queue and executes the tasks; when a large number of tasks arrive, the tasks may be blocked in the request queue, waiting for an idle thread to acquire.
S2, capturing a map tile data request from an application program, and distributing the map tile data request to a certain thread by a thread pool by utilizing a thread management and task distribution mechanism of the map tile data request;
s3, the thread receiving the task extracts tile number information contained in Url to carry out encryption and conversion processing, and index encryption data of map tiles in a map database is obtained; simultaneously encrypting map tile data of the tile number information to obtain an encrypted tile data stream;
map tile data are organized according to a pyramid structure, each tile can be uniquely marked by a level and a rank number, when the tiles are acquired, the corresponding tile marks are calculated according to pyramid rules, and then the tiles are read and spliced, so that loading and rendering of a map are realized. The purpose of encrypting the tile numbers is to break the regularity of the tiles depending on the marks of the pyramid structure, and to regenerate an unordered title key as an access index for data storage.
For the acquisition of index encrypted data (i.e., tile number secrets), the following is a specific embodiment:
by acquiring the layer value Z, the row value Y and the column value X of the tile, and applying a relatively complex formula to carry out encryption operation, the encrypted layer value Z ', the row value Y ' and the column value X ' are generated, and the encryption operation formula requires that the tile numbers before encryption and after encryption have a one-to-one relation, but are not unique, and can be selected by oneself. Further, conversion processing is performed according to the internal relation between the values of Z ', Y ' and X ' and the corresponding spatial range and span values, so as to generate a unique access index tileKey of the map database. Specifically, in one embodiment, the tile layer value z=5, the row value y=8, and the column value x=6, and Z ' =7, Y ' =24, and X ' =6 after the encryption conversion process; the conversion processing is to calculate the geographical space range of the tile according to the values of Y ' and X ', calculate the span value of the tile on longitude and latitude according to the value of Z ', and generate a unique map database storage index tilekey= 0300223 by combining the span values.
Map tile data is a set of pictures stored in a pyramid structure and having a certain rule (e.g., TMS rule, etc.), essentially JPG, PNG, or other format pictures having a certain resolution size, and in one embodiment of the invention, map tile data is based on standard tile map service TMS slices and storage specifications, each map tile being a JPG picture having a resolution size of 256 x 256.
Encryption of a data stream aims at hiding and transforming tile information, an encryption matrix determines positions of the tile data stream to be changed, and encryption rules are methods for processing the positions, including but not limited to information hiding means such as pixel value hiding, replacement and covering, and transformation processes such as translation and diffusion. Therefore, the tile data stream cannot be interpreted and displayed under the condition that the corresponding decryption rule is not available. Double-layer encryption is a double-insurance measure, so that the security of important data is improved.
For the acquisition of the encrypted tile data stream, the specific implementation manner is as follows:
the tile data stream is a byte stream decoded by map tiles, the byte stream is encrypted according to a preset hexadecimal encryption and decryption key array and a certain encryption rule, so that the encrypted data stream of the map tile data is obtained, and the encryption and decryption key array is not unique and can be set according to specific requirements.
For example, the encryption and decryption key is a hexadecimal integer array with a byte space size of 1024, and is encrypted according to the inverse operation method of the decryption rule embodiment of fig. 4. Because the encryption and decryption key array is a hexadecimal numerical value, certain intuitiveness is lacking, a drawing tool in Windows can be utilized to create any picture with contents such as an image, a text watermark and the like, the picture is named as key.bmp and is stored as a single-color bitmap, and the height and the width of the picture are both 256 in an attribute dialog box under the image; and observing and editing the picture by using a magnifier, wherein normally, black corresponds to binary zero, white corresponds to binary one, storing after editing is finished, and finally, reading a key.bmp grid value by code programming to be used as an array of encryption and decryption keys.
Through the steps, encryption and warehousing storage operation of map tile data are completed. The map tile data is illegally used, the sequence of map tiles in a database is changed due to tile index encryption, the corresponding accurate tile data stream cannot be obtained according to the tile numbers in the application request, and the read non-corresponding tile data stream cannot be decoded into the correct tile picture due to the fact that the corresponding data stream decryption key and rule are not available, so that the safety of the map tile data is ensured.
S4, inquiring the map database according to the index encryption data, judging the inquiring result,
if the result is null, returning a null value to the application program;
if the result is not null, the query result is the encrypted tile data stream;
s5, decrypting the encrypted tile data stream, and returning the decrypted data stream to the application program;
and S6, the thread receiving the task completes the response task of the map tile data request and waits for new task allocation.
Further, the tile number information in the step S3 is encrypted and converted,
the encryption processing specifically comprises the following steps: acquiring a layer value Z, a row value Y and a column value X of original map tile data, and setting an encryption operation formula; generating an encrypted layer value Z ', a row value Y ' and a column value X ' which have a one-to-one correspondence with the layer value Z, the row value Y and the column value X,
the conversion process specifically includes: and converting according to the internal relation between the values of Z ', Y ' and X ' and the corresponding spatial range and span values, and generating a unique access index tileKey of the map database to obtain index encrypted data.
Further, in the step S3, map tile data of the tile number information is encrypted;
the method comprises the following steps: and encrypting the byte stream by adopting a preset hexadecimal encryption and decryption array according to a certain encryption rule to obtain a data stream after map tile data encryption, wherein the encryption and decryption key array is not unique and is set according to specific requirements.
Further, the step S3 further includes entering the index encrypted data and the encrypted tile data stream into the map database;
the method comprises the following steps: and establishing a storage table in a map database, and recording the index encryption data and the encrypted tile data stream.
The time for checking and selecting the tiles while the number of files is reduced is stored in the database, which is beneficial to the transmission and copying of the tile data, thereby improving the access performance of the tile data on domestic equipment.
Further, the map database is: databases for performing adaptation and verification on domestic map servers, including MariaDB, sqlLite and/or Postgis open source databases, and Dameng or Dakunjin domestic databases. (specifically, because of the large differences between the bottom layer driver, the instruction set and the like of the domestic platform and the X86 platform, the method comprises compiling adaptation, installation and verification of an open source database and installation and verification of the domestic database.)
The system for realizing the tile map service construction method based on the domestic platform of claim 1, comprising a computer, wherein the computer adopts a domestic Feiteng processor, is matched with a winning kylin server version operating system, and has a total hard disk capacity of 60TB; the software package is matched with C++, python, JAVA and/or JDK to support the cross-platform basic development environment.
The running platform adopted by the invention adopts a national processor and I/O (input/output) suite extension, integrates a domestic trusted chip and a disk array, and provides high-reliability system support by utilizing the optimized adaptation of a domestic Linux operating system and hardware.
As shown in fig. 5, the dotted line on the right side in fig. 5 is a standby service side, a) is a detection state, b) is a feedback state (normal/abnormal), c) is restarted, d) sends a main polling request after restarting, and the working mode and configuration are modified according to the feedback result;
the solid line on the left side in fig. 5 is the main service side, 1) indicates the detection state, 2) is the feedback state (normal/abnormal), 3) is after the main service side is abnormal, sends the take-over instruction to the standby side, 4) is take over and change the state, 5) is restarted, 6) sends the main inquiry request after restarting, and modifies the working mode and configuration according to the feedback result.
Reliability guarantee of map service: and the server is virtualized by adopting the container cloud service, and the reliability of the map service is ensured by matching with a high-availability service mechanism. The map service adopts a node dual-activity mechanism, and periodically receives heartbeat signals from the main map service and the standby map service by using the high-availability service to detect the online condition of the opposite side, when the map service fails or is in offline and exits, the standby node can be immediately changed to serve as the main node, the map service on the node is arranged to take over all work, and the offline service is restarted to serve as a new standby node.
The working mechanism is as follows: the high availability service performs routine maintenance detection on the standby map service, and the business processes are in the order of letters a), b) and c) (i.e. the dotted line in fig. 5). The high-availability service checks the online condition of the standby map service through a heartbeat detection mechanism, if the standby map service is online, the standby map service is not processed, and if the standby map service is offline, the standby map service is restarted. After restarting, a request is sent to a high-availability service, whether a main map service exists currently or not is judged (the situation that two services are almost offline and the main map service does not exist is prevented), if so, the main map service is set as a standby map service, and if not, the main map service is set as the main map service.
The high availability service detects the main map service and when an anomaly is found, starts the alternate protocol, and the flow is numbered 1), 2), 3) reference (i.e. solid line in fig. 5).
The high availability service uses a heartbeat detection mechanism to verify the online status of the main map service.
(1) When the online state of the main map service is normal, no processing is performed;
(2) When the online state of the main map service is abnormal, the high-availability service sends a main-standby changing and replacing instruction to the standby map service, when the standby map service receives the instruction, the attribute of the standby map service is changed into the main map service, all current works are replaced, the current standby map service is changed into a new main map service, and then the service is developed according to the service flow of the main map service. Meanwhile, the high availability service will restart the offline original main map service.
(3) After restarting, a request is sent to a high-availability service, whether a main map service exists currently or not is judged (the situation that two services are prevented from being offline almost simultaneously and the main map service does not exist) is judged, if yes, the self-service is set as a standby map service, if not, the self-service is set as the main map service, and then different businesses are developed according to the difference of the main and standby attributes of the self-service.
When the invention is implemented, as the bottom layer drive, instruction set and the like of the domestic platform have great difference with the X86 platform, the database on the domestic platform can be adapted and verified according to the following steps:
a. the installation package of the database in the software warehouse provided by the operating system functional network is installed by using an rpm-ivh xxx.rpm command, when the installation package has other dependent packages, the corresponding dependent packages are required to be installed in advance, or the whole installation is performed by using a yum instrument xxx command through configuring a system warehouse source. Typically, the installation packages provided by the operating system have been tested and verified.
b. For an open source database in which an operating system does not provide an installation package, parameters of a compiling configuration item are optimized according to an operating system architecture, a compiler type and a compiler version by utilizing downloaded source codes, relevant dependence is perfected according to the principle of 'what is lacking and what is supplemented', compiling and installation are performed step by step, and operations such as analysis, interface transformation and debugging, compiling parameter adjustment and the like are generally required to be performed on the source codes. After the compiling and installing are completed, the functions of adding, deleting, modifying, checking and the like of the database are required to be tested and verified, and if necessary, the whole compiling and installing process is required to be rolled back and operated again.
And (3) for a domestic database (such as a dream database), after obtaining the authorized installation permission and the installation package of the official authority of the database, gradually configuring and installing the domestic database according to the provided installation package compatible with the domestic platform and the specific installation description. In one embodiment, the domestic dream-reaching database (DM 7) may be deployed as follows:
a. preparing before installation;
b. installing a server side;
c. installation of client software.
The specific working processes of the foregoing a, b and c can be realized by those skilled in the art after reading the content of the present specification, and are not described herein.
A computer readable medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any of claims 1-7.
Aiming at the domestic requirements of the current high-precision tile data storage equipment and the defects of the data protection technology, the invention provides a map tile encryption storage method and service based on a domestic platform, which aim to ensure the safety of the high-precision map tile data by carrying out double encryption processing on the map tile data while facilitating the use of users and utilizing the autonomous and controllable characteristics of domestic hardware equipment and domestic database software and the advantages of openness and real-time compensativity of an open source database. The current situation that the domestic chip Shan Heneng is poor is avoided, and the efficiency of program execution is accelerated by adopting a multithreading processing mode.
The invention is not limited to the above embodiments, and based on the technical solution disclosed in the invention, a person skilled in the art may make some substitutions and modifications to some technical features thereof without creative effort according to the technical content disclosed, and all the substitutions and modifications are within the protection scope of the invention.

Claims (9)

1. The construction method of tile map service based on domestic platform, the domestic platform includes platform layer and resource layer, and is characterized by utilizing Http network transmission protocol to implement interaction between map tile data and application program,
s1, creating a blocked queue by using a thread pool for storing tile map data requests sent by an application program, and maintaining a plurality of threads capable of concurrently processing user requests;
s2, capturing a map tile data request from an application program, and distributing the map tile data request to a certain thread by a thread pool by utilizing a thread management and task distribution mechanism of the map tile data request;
s3, the thread receiving the task extracts tile number information contained in Url to carry out encryption and conversion processing, and index encryption data of map tiles in a map database is obtained; simultaneously encrypting map tile data of the tile number information to obtain an encrypted tile data stream;
s4, inquiring the map database according to the index encryption data, judging the inquiring result,
if the result is null, returning a null value to the application program;
if the result is not null, the query result is the encrypted tile data stream;
s5, decrypting the encrypted tile data stream, and returning the decrypted data stream to the application program;
and S6, the thread receiving the task completes the response task of the map tile data request and waits for new task allocation.
2. The method for constructing a tile map service based on a domestic platform according to claim 1, wherein the tile number information in step S3 is encrypted and converted,
the encryption processing specifically comprises the following steps: acquiring a layer value Z, a row value Y and a column value X of original map tile data, and setting an encryption operation formula; generating an encrypted layer value Z ', a row value Y ' and a column value X ' which have a one-to-one correspondence with the layer value Z, the row value Y and the column value X,
the conversion process specifically includes: and converting according to the internal relation between the values of Z ', Y ' and X ' and the corresponding spatial range and span values, and generating a unique access index tileKey of the map database to obtain index encrypted data.
3. The method for constructing a tile map service based on a domestic platform according to claim 1, wherein the map tile data of the tile number information is encrypted in step S3;
the method comprises the following steps: and encrypting the byte stream by adopting a preset hexadecimal encryption and decryption array according to a certain encryption rule to obtain a data stream after map tile data encryption, wherein the encryption and decryption key array is not unique and is set according to specific requirements.
4. The method for constructing a tile map service based on a domestic platform according to claim 1, wherein the step S3 further comprises entering the index encrypted data and the encrypted tile data stream into the map database;
the method comprises the following steps: and establishing a storage table in a map database, and recording the index encryption data and the encrypted tile data stream.
5. The method for constructing a tile map service based on a domestic platform according to claim 1, wherein the map database is: databases for performing adaptation and verification on domestic map servers, including MariaDB, sqlLite and/or Postgis open source databases, and Dameng or Dakunjin domestic databases.
6. The method for constructing a tile map service based on a domestic platform according to claim 1, further comprising a high availability service step in the map service, wherein the high availability service step comprises: a main service side and a standby service side are set; performing daily maintenance detection on the standby map service, and detecting the online condition of the standby service side through a heartbeat detection mechanism;
if the processing is on line, the processing is not performed;
if the system is offline, restarting the system; after restarting, sending a request to the high-availability service, judging whether the main map service exists currently, if so, setting the main map service as the standby map service, and if not, setting the main map service as the main map service.
7. The method for constructing a tile map service based on a domestic platform according to claim 6, wherein the high availability service further detects a main map service and starts a backup service side take over when an abnormality is found.
8. The system for realizing the tile map service construction method based on the domestic platform as claimed in claim 1, which is characterized by comprising a computer, wherein the computer adopts a domestic Feiteng processor, is matched with a winning kylin server version operating system, and has a total hard disk capacity of 60TB; the software package is matched with C++, python, JAVA and/or JDK to support the cross-platform basic development environment.
9. A computer readable medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any of claims 1-7.
CN202311277719.5A 2023-10-07 2023-10-07 Construction method, system and computer readable medium for tile map service based on domestic platform Active CN117271691B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311277719.5A CN117271691B (en) 2023-10-07 2023-10-07 Construction method, system and computer readable medium for tile map service based on domestic platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311277719.5A CN117271691B (en) 2023-10-07 2023-10-07 Construction method, system and computer readable medium for tile map service based on domestic platform

Publications (2)

Publication Number Publication Date
CN117271691A true CN117271691A (en) 2023-12-22
CN117271691B CN117271691B (en) 2024-06-14

Family

ID=89211985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311277719.5A Active CN117271691B (en) 2023-10-07 2023-10-07 Construction method, system and computer readable medium for tile map service based on domestic platform

Country Status (1)

Country Link
CN (1) CN117271691B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657436A (en) * 2015-02-02 2015-05-27 中国人民解放军空军航空大学 Static tile pyramid parallel building method based on MapReduce
US10261784B1 (en) * 2018-06-20 2019-04-16 Terbium Labs, Inc. Detecting copied computer code using cryptographically hashed overlapping shingles
CN110851793A (en) * 2018-08-20 2020-02-28 北京航天长峰科技工业集团有限公司 Tile map encryption and decryption method
CN113010793A (en) * 2021-04-09 2021-06-22 阿波罗智联(北京)科技有限公司 Method, device, equipment, storage medium and program product for map data processing
CN113360281A (en) * 2021-06-02 2021-09-07 成都比格图数据处理有限公司 File organization structure of off-line map and multithreading tile downloading and reading method
CN113568995A (en) * 2021-05-11 2021-10-29 数简科技(苏州)有限公司 Dynamic tile map making method based on retrieval conditions and tile map system
CN114490912A (en) * 2022-02-14 2022-05-13 广东南方数码科技股份有限公司 Tile data downloading method and device
CN115061989A (en) * 2022-06-07 2022-09-16 云南省地矿测绘院有限公司 GIS data sharing method and system
CN115098888A (en) * 2022-08-23 2022-09-23 北京帝测科技股份有限公司 Map data packet full-flow adaptive generation and encryption method, device and equipment
CN116680725A (en) * 2023-07-27 2023-09-01 天津市测绘院有限公司 Encryption and decryption method and system for ArcGIS compact map tiles

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657436A (en) * 2015-02-02 2015-05-27 中国人民解放军空军航空大学 Static tile pyramid parallel building method based on MapReduce
US10261784B1 (en) * 2018-06-20 2019-04-16 Terbium Labs, Inc. Detecting copied computer code using cryptographically hashed overlapping shingles
CN110851793A (en) * 2018-08-20 2020-02-28 北京航天长峰科技工业集团有限公司 Tile map encryption and decryption method
CN113010793A (en) * 2021-04-09 2021-06-22 阿波罗智联(北京)科技有限公司 Method, device, equipment, storage medium and program product for map data processing
CN113568995A (en) * 2021-05-11 2021-10-29 数简科技(苏州)有限公司 Dynamic tile map making method based on retrieval conditions and tile map system
CN113360281A (en) * 2021-06-02 2021-09-07 成都比格图数据处理有限公司 File organization structure of off-line map and multithreading tile downloading and reading method
CN114490912A (en) * 2022-02-14 2022-05-13 广东南方数码科技股份有限公司 Tile data downloading method and device
CN115061989A (en) * 2022-06-07 2022-09-16 云南省地矿测绘院有限公司 GIS data sharing method and system
CN115098888A (en) * 2022-08-23 2022-09-23 北京帝测科技股份有限公司 Map data packet full-flow adaptive generation and encryption method, device and equipment
CN116680725A (en) * 2023-07-27 2023-09-01 天津市测绘院有限公司 Encryption and decryption method and system for ArcGIS compact map tiles

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
方晓乐;吴永静;陈鑫祥;刘雪俊;: "一种适用于移动端瓦片地图的加密方法", 测绘通报, no. 02, 25 February 2017 (2017-02-25) *
李锋等: "移动终端离线电子地图应用框架研究", 测绘科学, vol. 38, no. 6, 30 November 2013 (2013-11-30) *

Also Published As

Publication number Publication date
CN117271691B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
CN113711536B (en) Extracting data from a blockchain network
US11170316B2 (en) System and method for determining fuzzy cause and effect relationships in an intelligent workload management system
CN110543464B (en) Big data platform applied to intelligent park and operation method
US9852013B2 (en) Distributed data set storage and analysis reproducibility
US8543916B2 (en) System and method for recording collaborative information technology processes in an intelligent workload management system
US9444820B2 (en) Providing context-based visibility of cloud resources in a multi-tenant environment
US20200233877A1 (en) Transformation configuration in instance data replication with bi-directional replication support
US20190266276A1 (en) Instance data replication
CN108804253B (en) Parallel operation backup method for mass data backup
EP3889773B1 (en) Method and system for discovery and registration of new microservices for a platform for unified governance of a plurality of intensive calculation solutions
US9003389B2 (en) Generating an encoded package profile based on executing host processes
CN102473170A (en) Virtual-machine-based application-service provision
US11240209B2 (en) Data transfer in a data protection system
CN114144798A (en) Security incident investigation event capture
US10726146B2 (en) Data custodian model and platform for public clouds
US10318413B1 (en) Scalable enterprise platform for automated functional and integration regression testing
CN104636678A (en) Method and system for controlling terminal device under cloud computing environment
CN114207614A (en) Safety investigation platform
WO2023011140A1 (en) Forest resource one-graph quality inspection logic rule update method, system and cloud platform
US11487865B2 (en) Method and system for SSIS password management integration
WO2023005804A1 (en) Data rotation method and apparatus, device, and system
US10944814B1 (en) Independent resource scheduling for distributed data processing programs
Zarei et al. Past, present and future of Hadoop: A survey
CN117271691B (en) Construction method, system and computer readable medium for tile map service based on domestic platform
US10977218B1 (en) Distributed application development

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
GR01 Patent grant
GR01 Patent grant