GIS platform capable of adapting to multiple operating systems based on BS architecture

By adopting a GIS platform based on BS architecture and using open source software and technology, the problems of difficulty in data migration, high replacement cost and high learning cost in domestic GIS platform replacement are solved, and the adaptability and seamless migration of multiple operating systems are achieved, reducing costs and improving system performance and configuration freedom.

CN119577044APending Publication Date: 2025-03-07HANGZHOU WATER DATA INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411424612.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The replacement of domestic GIS platforms faces the problems of data migration difficulties, high replacement costs and high learning costs. The existing C/S architecture leads to high migration costs and learning costs.

Method used

It adopts a GIS platform based on BS architecture, which includes the data layer, management layer and business layer. It uses open source software and technology to support multiple operating systems, seamlessly migrate to any environment, and reduce migration and learning costs.

Benefits of technology

It realizes the adaptability of multiple operating systems, seamlessly migrates to a domestic environment, reduces migration and learning costs, and improves the system's response speed and freedom of map style configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119577044A_ABST
    Figure CN119577044A_ABST
Patent Text Reader

Abstract

The invention discloses a GIS (Geographic Information System) platform capable of adapting to various operating systems based on a BS (Base Station) architecture. The BS architecture-based GIS platform capable of adapting to the multiple operating systems comprises a data layer, a management layer and a business layer, wherein the data layer is used for storing and analyzing spatial data and storing map slices; the management layer comprises a GIS editor and a GIS middle table, and the GIS editor is used for carrying out map editing operation at a browser end; the GIS middle platform is used for carrying out map service publishing and data analysis at a browser end; the business layer is used for interaction; wherein at least one of the data layer, the management layer and the GIS middle platform adopts at least one piece of open source software.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of GIS platform, and specifically to a GIS platform based on BS architecture that can be adapted to multiple operating systems. Background Art

[0002] Geographic Information System (GIS) is a technical system that, with the support of computer hardware and software systems, collects, stores, manages, calculates, analyzes, displays and describes relevant geographical distribution data in the entire or part of the earth's surface space. It is the cornerstone of informatization construction in the fields of natural resources, smart cities, transportation, agriculture, etc., and is also an important technical engine for economic digital transformation and industrial upgrading.

[0003] Spatial information security is of vital importance. At present, the replacement of domestic GIS platforms faces many challenges. For example, it is difficult to seamlessly migrate data assets and data services to the domestic environment because foreign software is not compatible with the domestic environment; the replacement cost is high; and the learning cost of the new GIS platform is high.

[0004] Specifically, the technical architecture currently used by the industry for domestic GIS platforms is the Client / Server (C / S) architecture. The C / S architecture is a typical client-server architecture. The client needs to implement most of the business logic and interface display. In the C / S architecture, the client part needs to bear a lot of pressure because the display logic and transaction processing are included in it, and the data is persisted through interaction with the database to meet the needs of the actual project. Accordingly, the cost of using the C / S architecture for platform migration, data migration, etc. is relatively high.

[0005] Taking MapGIS, the product with the highest market share in the domestic GIS industry, as an example, the technical architecture it adopts is C / S architecture, specifically: spatial database + MapGIS Desktop + open API. MapGIS Desktop is desktop software that is responsible for editing, modifying and deleting GIS data, configuring styles, publishing map services, etc.

[0006] If the office computers and server hardware are upgraded to domestic systems and domestic brand hardware, the original foreign GIS platform (for example, ArcGIS) is not suitable for the localized environment, so the foreign GIS needs to be changed to the domestic GIS platform, and then the geographic data is completely migrated to the domestic GIS platform, and the original foreign GIS platform (for example, ArcGIS) is completely abolished. The whole system migration plan is very time-consuming and labor-intensive, and it also requires the training and learning costs of the new domestic GIS platform.

[0007] Based on this, this application requires a new GIS platform that meets localization requirements. Summary of the invention

[0008] One advantage of the present application is that it provides a GIS platform based on the BS architecture that can be adapted to a variety of operating systems, wherein the GIS platform based on the BS architecture that can be adapted to a variety of operating systems meets the localization needs, can be adapted to a variety of operating systems, and can be seamlessly migrated to any environment, thereby reducing migration costs and reducing the cost of learning a new platform.

[0009] Another advantage of the present application is that it provides a GIS platform based on the BS architecture that can be adapted to a variety of operating systems, wherein the GIS platform based on the BS architecture that can be adapted to a variety of operating systems.

[0010] Another advantage of the present application is that it provides a GIS platform based on the BS architecture that can be adapted to a variety of operating systems, wherein the GIS platform based on the BS architecture that can be adapted to a variety of operating systems can read map slices at a high speed.

[0011] Another advantage of the present application is that it provides a GIS platform based on the BS architecture that can be adapted to a variety of operating systems, wherein the map style configuration freedom of the GIS platform based on the BS architecture that can be adapted to a variety of operating systems is relatively high.

[0012] According to one aspect of the present application, a GIS platform based on a BS architecture and adaptable to a variety of operating systems is provided, which includes: a data layer for storing and analyzing spatial data and storing map slices.

[0013] The management layer includes a GIS editor and a GIS middle platform, wherein the GIS editor is used to perform map editing operations on the browser side; the GIS middle platform is used to publish map services and perform data analysis on the browser side.

[0014] Business layer, used for interaction.

[0015] Among them, at least one of the data layer, the management layer and the GIS center uses at least one open source software.

[0016] In one embodiment of the GIS platform based on the BS architecture and adaptable to a variety of operating systems described in the present application, the data layer stores map slices through the open source database SQLite.

[0017] In one implementation of the GIS platform based on the BS architecture and adaptable to multiple operating systems described in the present application, the editor uses the open source plug-in Mapbox GL Draw to perform map editing operations.

[0018] In one embodiment of the GIS platform based on the BS architecture and adaptable to multiple operating systems described in the present application, the GIS editor displays maps through the open source map engine Mapbox GL JS.

[0019] In one embodiment of the GIS platform based on the BS architecture and adaptable to multiple operating systems described in the present application, the GIS middle platform uses SQLView to distinguish layers.

[0020] In one implementation of the GIS platform based on the BS architecture and adaptable to a variety of operating systems described in the present application, an open source map style editor Maputnik is used to configure different styles for each layer.

[0021] In one implementation of the GIS platform based on the BS architecture and adaptable to a variety of operating systems described in the present application, the business layer includes a GIS mobile terminal, and the GIS mobile terminal adopts the open source framework React Native.

[0022] In one embodiment of the GIS platform based on the BS architecture and adaptable to multiple operating systems described in the present application, the GIS mobile terminal uses the open source engine rnmapbox for map rendering.

[0023] Further objectives and advantages of the present application will be fully reflected through understanding of the following description and drawings.

[0024] These and other objects, features and advantages of the present application are fully reflected in the following detailed description, drawings and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0026] Figure 1 The figure shows a block diagram of a GIS platform based on the BS architecture that can be adapted to a variety of operating systems.

[0027] Figure 2 The diagram shows the operating principle of the GIS platform based on the BS architecture that can be adapted to a variety of operating systems. DETAILED DESCRIPTION

[0028] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0029] It is understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element can be one, while in another embodiment, the number of the element can be multiple, and the term "one" cannot be understood as a limitation on the number. "Multiple" means greater than or equal to two.

[0030] Although ordinals such as "first," "second," and the like will be used to describe various components, those components are not limited herein. The term is used only to distinguish one component from another. For example, a first component may be referred to as a second component, and likewise, a second component may be referred to as a first component without departing from the teachings of the present application. The term "and / or" as used herein includes any and all combinations of one or more associated listed items.

[0031] The terms used herein are only used for the purpose of describing various embodiments and are not intended to be limiting. As used herein, the singular form is intended to include the plural form, unless the context clearly indicates an exception. It will also be understood that the terms "including" and / or "having" when used in this specification specify the presence of the described features, numbers, steps, operations, components, elements, or combinations thereof, without excluding the presence or addition of one or more other features, numbers, steps, operations, components, elements, or combinations thereof.

[0032] Schematic GIS platform based on BS architecture that can adapt to multiple operating systems: Figures 1 to 2 As shown, according to the embodiment of the present application, a GIS platform 1 based on a BS architecture and adaptable to a variety of operating systems is illustrated. The GIS platform 1 based on a BS architecture and adaptable to a variety of operating systems is constructed using a B / S architecture to form a domestic GIS platform, which can not only meet the requirements of localization, but also reduce the need to adapt to a variety of operating systems, seamlessly migrate to any environment, reduce migration costs, and reduce the cost of learning a new platform.

[0033] Specifically, in this application, the meanings of B / S architecture and BS architecture are consistent, and the full name is Browser / Server, both referring to the browser / server architecture. The full name of B / S architecture is Browser / Server, that is, the browser server structure. In the B / S architecture, very little transaction logic is implemented on the front end, and the main transaction logic is implemented on the server side. The system with B / S architecture does not need special installation, as long as there is a global wide area network (Web) browser. In the B / S architecture, the display logic is handed over to the Web browser, which reduces the pressure on the client.

[0034] The GIS platform 1 based on the BS architecture and adaptable to a variety of operating systems includes a data layer 10, a management layer and a business layer 30. The data layer 10 is used to store and analyze spatial data and store map slices 12. The management layer is used to manage data on the browser side. The business layer 30 is used for interaction. This application adopts a large number of open source technologies, which are suitable for both non-domestic environments and domestic environments. When the system requires migration to a domestic environment, the required workload and manpower are very small, and the business end is almost unaware and almost no modification is required. Accordingly, at least one of the data layer 10, the management layer and the GIS middle platform 22 adopts at least one open source software.

[0035] More specifically, the data layer 10 includes a spatial database 11 and a map slice 12. The spatial database 11 can be implemented as any database that supports the storage and analysis of spatial data, such as Renmin University of China Jincang and PostgreSQL. Spatial database is an important pillar of GIS and is used to manage and analyze geographic spatial data. The spatial database 11 not only has the basic characteristics of traditional databases, such as data centralized control, data independence, and low data redundancy, but can also process complex geographic spatial data, including geometric objects such as points, lines, and surfaces, as well as attribute information related thereto. In addition, the spatial database 11 also provides a wealth of spatial functions and spatial operators for analyzing and processing geographic spatial data. In addition to common data types such as numeric values, characters, and dates, the data types in the spatial database 11 also introduce spatial data types such as points, lines, and polygons. These spatial data types can abstract and encapsulate spatial structures such as boundaries and dimensions of geographic spatial objects, providing a basis for the storage and query of geographic spatial data.

[0036] The map slices 12 are stored in the server side in a pre-generated manner, and the corresponding map tiles are sent according to the user's request to improve the system response speed. The principle is to slice the map according to a specific size and format to form a multi-resolution hierarchical model. The server can generate slices in advance and calculate the required slices after the client requests the map range. The GIS platform can download and splice maps through the browser.

[0037] In this application, considering that the number of files of the map slices 12 is large and the ordinary file system has a limit on the number of files, the map slices 12 are stored using the open source database SQLite. The SQLite read and write speed is much higher than that of ordinary file systems and is very suitable for storing map slices 12. In other words, the data layer 10 stores the map slices 12 through the open source database SQLite. The GIS platform 1 based on the BS architecture and adaptable to multiple operating systems can read the map slices 12 at high speed through the open source database SQLite.

[0038] SQLite is a lightweight, embedded database engine with a small size. SQLite does not require a separate server process or daemon. SQLite stores the entire database in a single file. SQLite supports most standard SQL syntax and common RDBMS features such as transactions, triggers, stored procedures, etc. SQLite has fast execution speed and efficient resource utilization, and can handle massive amounts of data.

[0039] The management layer includes a GIS editor 21 and a GIS middle platform 22, wherein the GIS editor 21 is used for performing map editing operations on the browser side; the GIS middle platform 22 is used for publishing map services and performing data analysis on the browser side.

[0040] Specifically, the GIS editor 21 is directly connected to the spatial database 11. The GIS editor 21 is an operating platform for GIS basic data managers, and is a browser-side operating platform built using front-end technologies JavaScript, HTML, and CSS.

[0041] HTML is a basic technology used to define the structure of a web page. HTML is used to identify whether the content of a web page should be parsed into paragraphs, lists, headers, links, images, multimedia players, forms, or one of the many available elements, or a custom new element.

[0042] CSS is used for style and layout, for example, fonts, colors, sizes, spacing, dividing content into multiple columns, or adding animation and other decorative effects.

[0043] JavaScript is a scripting language that can implement complex functions on web pages. What the web pages show you is no longer simple static information, but real-time content updates - interactive maps, 2D / 3D animations, scrolling videos, etc.

[0044] The GIS editor 21 uses the open source map engine Mapbox GL JS for map display. The map editing operation function of the editor uses the open source plug-in Mapbox GL Draw.

[0045] The GIS middle station 22 is directly connected to the spatial database 11, connected to the GIS editor 21 through the application programming interface (API), and connected to the business layer 30 through the API. The GIS middle station 22 is a browser-based platform for map service administrators to publish map services and analyze data based on SpringBoot, JavaScript, HTML, and CSS technologies.

[0046] Spring Boot is a convention-based approach to building applications based on the Spring framework. Spring Boot has its own conventions for applications, and it automatically configures components based on default conventions. Spring Boot has a large ecosystem of projects that support various types of applications.

[0047] In the embodiment of the present application, the GIS middle station 22 uses SQLView to distinguish layers, and uses the open source map style editor maputnik to configure different styles for each layer and publish the map as a Mapbox JSON style file, so that the map style configuration freedom of the GIS platform 1 based on the BS architecture that can adapt to multiple operating systems is higher.

[0048] SQLViews can not only publish simple queries, but also input parameters as conditions for querying views. SQLViews can publish database stored procedures to perform more complex logical operations and queries. SQL Views queries can be parameterized by string replacement, and input values ​​can be validated by set regular expressions to eliminate the risk of SQL injection attacks. SQLViews is a result of database operations and queries.

[0049] Maputnik is intuitive and easy to use, with a user-friendly interface that makes it easy to create and adjust complex map styles. It can simplify the map customization process, and even designers without a programming background can quickly get started. Maputnik can be designed online (data is stored locally) or developed locally through command-line tools, suitable for different workflows. Maputnik can preview in real time, see the editing results immediately, and accelerate design iterations. Maputnik is highly customizable, and its powerful style control allows deep customization of every detail of the map. Built on a modern front-end technology stack, Maputnik uses TypeScript's powerful type system to ensure code quality and maintainability.

[0050] In this application, the business layer 30 includes a GIS mobile terminal 31 and other business systems. In order to adapt to the future domestic operating system - Hongmeng Next, and considering the current mainstream use of Android and IOS on mobile phones, the GIS mobile terminal 31 uses the open source framework React Native for cross-platform mobile applications (Application, APP), and uses the open source engine rnmapbox for map rendering.

[0051] React Native is generally divided into: Native, JavaScript and Bridge. Native is used to manage the update and interaction of the user interface design (UI), JavaScript is used to call Native capabilities to implement business functions, and Bridge is used to pass messages between Native and JavaScript. Bridge is the key to React Native technology. Bridge is asynchronous and does not rely on synchronous communication; Bridge is serializable to ensure that all UI operations can be serialized into JSON and converted back; Bridge is batched, queuing and batch processing of Native calls.

[0052] There are three main threads in React Native: UI Thread, Shadow Thread, and JSThread. UI Thread is the main thread in Android / iOS (or other platform) applications. Shadow Thread is the thread used for layout calculation and UI interface construction. JavaScript codes such as React are all executed in the JS Thread. In terms of timing, the React Native runtime environment (i.e., Bridge) is initialized when the App starts, and runJS starts after Bridge is ready, and finally Native rendering starts.

[0053] The following table 1 is an overview table of the selection of the GIS platform 1 based on the BS architecture and adaptable to multiple operating systems in the embodiment of the present application.

[0054]

[0055] Correspondingly, the CPU chip of the GIS platform 1 based on the BS architecture that can be adapted to multiple operating systems adopts Haiguang or Kunpeng. The operating system of the GIS platform 1 based on the BS architecture that can be adapted to multiple operating systems can adopt Kylin or Tongxin UOS. The database of the operating system of the GIS platform 1 based on the BS architecture that can be adapted to multiple operating systems can adopt Renmin University of China Jincang or PostgreSQL. The slice cache of the operating system of the GIS platform 1 based on the BS architecture that can be adapted to multiple operating systems can adopt SQLite. The load balancing of the GIS platform 1 based on the BS architecture that can be adapted to multiple operating systems can adopt NginxCaddy. The map engine of the GIS platform 1 based on the BS architecture that can be adapted to multiple operating systems can adopt Mapbox-GL-JS. The style configuration of the GIS platform 1 based on the BS architecture that can be adapted to multiple operating systems can adopt maputnik. The map editing of the GIS platform 1 based on the BS architecture that can be adapted to multiple operating systems can adopt Mapbox-GL-Draw. The mobile APP framework of the GIS platform 1 based on the BS architecture that can be adapted to multiple operating systems can adopt React-Native. The mobile terminal map engine of the GIS platform 1 based on the BS architecture and adaptable to multiple operating systems can adopt rnmapbox. The front-end and back-end frameworks of the GIS platform 1 based on the BS architecture and adaptable to multiple operating systems can adopt Vue, React, and SpringBoot.

[0056] It should be understood that each classification of the GIS platform 1 based on the BS architecture that can be adapted to a variety of operating systems can adopt other types.

[0057] In summary, the GIS platform 1 based on the BS architecture and adaptable to multiple operating systems based on the embodiment of the present application is explained. The GIS platform 1 based on the BS architecture and adaptable to multiple operating systems adopts the B / S architecture to build a domestic GIS platform, which can not only meet the localization requirements, but also reduce the adaptation of multiple operating systems and seamlessly migrate to any environment.

[0058] The present application and its implementation methods are described above, and such description is not restrictive. The drawings show only one implementation method of the present application, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it and design structural methods and embodiments similar to the technical solution without creative design without departing from the inventive purpose of the present application, they should all fall within the protection scope of the present application.

Claims

1. A GIS platform based on BS architecture and adaptable to multiple operating systems, characterized in that: include: Data layer, used to store and analyze spatial data and store map tiles; The management layer includes a GIS editor and a GIS middle platform, wherein the GIS editor is used for performing map editing operations on the browser side; the GIS middle platform is used for publishing map services and data analysis on the browser side; the business layer is used for interaction; wherein at least one of the data layer, the management layer and the GIS middle platform adopts at least one open source software.

2. The GIS platform based on BS architecture and adaptable to multiple operating systems according to claim 1 is characterized in that: The data layer stores map slices via the open source database SQLite.

3. The GIS platform based on BS architecture and adaptable to multiple operating systems according to claim 1 is characterized in that: The editor uses the open source plug-in Mapbox GL Draw to perform map editing operations.

4. The GIS platform based on BS architecture and adaptable to multiple operating systems according to claim 1 is characterized in that: The GIS editor uses the open source map engine Mapbox GL JS to display maps.

5. The GIS platform based on BS architecture and adaptable to multiple operating systems according to claim 1 is characterized in that: The GIS middle platform uses SQLView to distinguish layers.

6. The GIS platform based on BS architecture and adaptable to multiple operating systems according to claim 5 is characterized in that: Use the open source map style editor Maputnik to configure different styles for each layer.

7. The GIS platform based on BS architecture and adaptable to multiple operating systems according to claim 1 is characterized in that: The business layer includes a GIS mobile terminal, and the GIS mobile terminal adopts the open source framework React Native.

8. The GIS platform based on BS architecture and adaptable to multiple operating systems according to claim 7 is characterized in that: The GIS mobile terminal uses the open source engine rnmapbox for map rendering.