A GIS application management system and method based on microservice architecture

Through the GIS application management system based on microservice architecture, the problem of large GIS system and poor development is solved, the flexible calling and data sharing of multiple GIS applications is realized, the development of distributed functions is simplified, and the flexibility and integration of the system are improved. degree of ization.

CN117194593BActive Publication Date: 2024-09-24JIANGSU BOZHI SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310885295.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-18
Publication Date
2024-09-24
Estimated Expiration
2043-07-18

AI Technical Summary

Technical Problem

Due to high technical barriers and monopoly development model, the existing GIS system has too large software and technical systems, lacks flexibility and unified standards, and is difficult to realize flexible calling and data sharing of multiple GIS applications. It has poor development and low integration, making it difficult to Meet the needs of modern resource and environmental management.

Method used

Adopt a GIS application management system based on microservice architecture, including request response module, data processing module, resource calling module and system service module, support cluster deployment and monitoring management, provide GIS services through communication protocols, and use SpringBoot architecture and cloud server to implement Distributed functions and data storage, supporting multiple protocols and data formats.

Benefits of technology

It achieves flexible encapsulation and integration of multiple GIS applications, simplifies distributed function development, improves data sharing and monitoring and management capabilities, supports the development and management of ubiquitous GIS systems, and improves the flexibility and integration of the system. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117194593B
    Figure CN117194593B
Patent Text Reader

Abstract

The present application discloses a GIS application management system and method based on a microservice architecture, wherein the system includes at least a request response module, a data processing module, and a resource calling module; the request response module is used to obtain GIS service requests, and the data processing module completes the processing of the request data and forwards it to the resource calling module to obtain the return data of the corresponding encapsulated GIS object, and then the data processing module completes the processing and encapsulation, and finally provides GIS services to the outside through the communication protocol. The present application also monitors and manages the called GIS services by building a microservice architecture, and can use the architecture ecology to simplify application development. The present application supports the encapsulation and integration of various GIS applications (services) in various ways; it can support Java language development, and is safe and portable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a GIS application management system, which belongs to the field of information processing, and in particular to a GIS application management system and method based on a microservice architecture. Background Art

[0002] The vigorous development of information technology has made human society more and more dependent on the information age, and information technology is profoundly changing human life and social outlook. As an important part of the global information wave, the construction and application of geographic information systems (GIS) have been widely used in agriculture, forestry, land resources, ecological environment, environmental resources, disaster warning and other fields, and have attracted more and more attention from the scientific and technological community, the business community and government departments. As a combination of geography and computer science, GIS is constantly drawing nutrition from IT technology to develop itself in today's rapid development of IT technology.

[0003] However, due to the high technical barriers and the lack of full recognition from mainstream IT technology and the market in the early days, GIS has been developing under the monopoly of a few GIS manufacturers. This development model has also caused some prominent problems in the current use of GIS:

[0004] (1) The huge GIS software and technology system that has to be faced. In all industries and application systems that require the application of GIS technology, only a part of the GIS capabilities are often needed, rather than such a huge GIS software and technology system. However, the development is under the monopoly of a few GIS manufacturers, and there is a lack of flexible, detachable and assembled ubiquitous GIS built according to international standards.

[0005] (2) Inconsistent standards and specifications, and low data sharing. Due to the high degree of professionalism of GIS, the monopoly of development mode, and the different data sources, there are great differences in technical standards, data exchange standards, metadata standards, etc. in the process of establishing the corresponding GIS, making it difficult for different GIS to share.

[0006] (3) Poor development and low integration. As each GIS system develops independently and has a monopoly, many resource and environmental management GIS functions are relatively simple and the system structure is poorly developed. That is, they have not been integrated with existing IT systems, and have not developed or reserved interfaces with existing IT technology systems. This makes it difficult to meet the needs of modern resource and environmental management for development in an integrated and comprehensive direction. Summary of the invention

[0007] According to one aspect of the present application, a GIS application management system based on a microservice architecture is provided, which can flexibly call GIS applications packaged and integrated in various ways; at the same time, the called GIS services can be monitored and managed based on the microservice system.

[0008] A GIS application management system based on a microservice architecture, comprising at least a request response module, a data processing module, and a resource calling module;

[0009] The request response module is used to accept the request, verify the request data, and send it to the data processing module after the verification;

[0010] The data processing module is used to process the request data sent by the request response module; encapsulate the return data required by the resource call module, and provide GIS services to the outside through the communication protocol;

[0011] The resource calling module is used to receive the data processed by the data processing module, and perform GIS-related processing on the returned result, i.e., the encapsulated GIS object;

[0012] The request response module, data processing module, and resource calling module all include microservices, support cluster deployment, and are used to monitor and manage the called GIS services.

[0013] Preferably, the request response module includes at least two request response sub-modules, which can meet the needs of users for secondary development according to actual conditions.

[0014] Preferably, each of the request response submodules supports hot-swap functionality.

[0015] Preferably, the request response submodule implements the customized request response through an abstract class.

[0016] Preferably, the system further comprises: a resource management module for managing the encapsulated GIS objects that need to be called.

[0017] Preferably, the management of the resource management module includes at least one of the following: adding, deleting, and health management of the encapsulated GIS objects in the resource calling module, wherein the health management includes error isolation and safety monitoring.

[0018] Preferably, the system also includes a system service module for providing externally distributed functions or support of the microservice cluster and distributed functions or support of encapsulated GIS objects.

[0019] Preferably, the distributed functions or support provided to the external party of the microservice cluster include at least one of the following: service discovery registration, configuration center, message bus, load balancing, circuit breaker, and data monitoring.

[0020] Preferably, the system further comprises a system management module for providing functions and interfaces, and managing the system by managing the system service module.

[0021] Preferably, the functions include: visual operation of the resource management module, such as flexible interface configuration of information such as data request authority management.

[0022] Preferably, the interface includes: an operation entry of the system service module.

[0023] Preferably, the management includes: performing authority management on GIS service requests.

[0024] Preferably, the system also includes a cloud server equipped with a database for data storage, which interacts with the resource calling module and the system management module respectively.

[0025] Preferably, the database may include MySql, which can meet the needs of large data volumes and more comprehensive queries.

[0026] Preferably, the database may also include Redis, which can improve system performance.

[0027] Preferably, the microservice adopts the SpringBoot architecture, whose platform maturity and ecosystem can meet the needs of most daily tasks.

[0028] According to another aspect of the present application, a GIS application management method based on a microservice architecture is provided, including: calling a corresponding encapsulated GIS object according to a GIS service request through a communication protocol to provide GIS services to the outside world; and monitoring and managing the called GIS service based on the microservice architecture.

[0029] Preferably, the calling of the corresponding encapsulated GIS object according to the GIS service request specifically includes:

[0030] Accept GIS service requests, verify and process the request data for GIS services;

[0031] Forward the processed request data to the encapsulated GIS object for GIS-related processing;

[0032] Start the request return port for listening. When the return data of the encapsulated GIS object is received, the data is processed after verification, the processed data is encapsulated, and the GIS operation response data is returned.

[0033] Preferably, the microservice adopts the SpringBoot architecture.

[0034] The beneficial effects of this application include:

[0035] 1) This application supports the encapsulation and integration of multiple GIS applications (services) through multiple methods (multiple different parameters and return results), such as multiple parameters and multiple return results, and then provides GIS services to the outside world through communication protocols (such as TCP, UDP or HTTP protocols, etc.). This application can flexibly call GIS capabilities and provide a ubiquitous GIS system and GIS application management method.

[0036] 2) This application adopts a microservice architecture, which can simplify the development of distributed functions, making it easy to obtain distributed functions or support such as service discovery registration, configuration center, message bus, load balancing, circuit breaker, data monitoring, etc., and then monitor and manage the called GIS services. As a preferred microservice architecture, by adopting the SpringBoot architecture, it can be easily decoupled, and based on the Spring ecosystem, it is convenient to integrate various excellent frameworks, and can easily and conveniently obtain support for various open source functions. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This application is a module composition diagram of a GIS application management system based on a microservice architecture;

[0038] Figure 2 This application provides a GIS application management system architecture diagram based on microservice architecture;

[0039] Figure 3 This application provides a flow chart of a GIS application management method based on a microservice architecture. DETAILED DESCRIPTION

[0040] The present application is described in detail below with reference to embodiments, but the present application is not limited to these embodiments.

[0041] Figure 1 This application provides a module composition diagram of a GIS application management system based on Spring Boot, including: a request response module, a data processing module, a resource call module, a resource management module, a system service module and a system management module.

[0042] The request response module is the core provided by the system application to the outside world, and is used to process GIS service requests from GIS consumers. This module can hot-swap each sub-module as needed, and it also provides a request response sub-module to facilitate special needs of secondary development. Users can use each of the request response sub-modules to add attribute data that needs to be displayed, or to perform different processing on the same data. For example, different coordinate values ​​are required for users with similar business needs, or more GIS attribute data display or business processing is required for roughly the same business. At this point, during the business development process, each request response sub-module can define shared properties and methods, which can be inherited and shared by its subclasses, thereby avoiding the need to repeatedly write the same code, achieving the purpose of lightweight projects and reducing programming code, making it easier to track problems, and quick and easy.

[0043] The data processing module is located between the request response module and the resource calling module, and is used to process the request data of the request response module and the return data of the resource calling module, ensuring that the request data can be identified by the encapsulated object and the return data can meet the identification of the requesting party.

[0044] The resource call module is used to receive the request data processed by the data processing module, perform GIS-related processing on the returned result, i.e. the encapsulated GIS object, and receive the returned data of the encapsulated object and hand it over to the data processing module. Different GIS require different data result sets, and the data processing module can be customized and encapsulated into a suitable format to meet the data sharing between different GIS.

[0045] The resource management module is used to manage the encapsulated objects that the system needs to call, mainly involving the addition and deletion of calling resources and the health management of encapsulated objects.

[0046] The system service module is used to provide external distributed functions or support such as service discovery registration, configuration center, message bus, load balancing, circuit breaker, data monitoring, etc. At the same time, it will rely on the resource management module to provide external distributed functions or support for encapsulated objects according to its implemented content.

[0047] The system management module provides functions and interfaces for the system management of the present invention, mainly including the visual operation of the resource management module, the operation entry of the system service module, and the authority management of GIS service requests.

[0048] Figure 2 This application is a GIS application management system architecture diagram based on Spring Boot. The system is divided into 6 modules according to the design: request response module, data processing module, resource call module, resource management module, system service module and system management module. The request response module, data processing module, system management module and resource management module all contain a cluster-supported microservice.

[0049] In addition to the resource calling microservices, the resource calling module also includes several GIS applications.

[0050] System service microservices include cluster-supported service discovery and registration microservices, configuration center microservices, message bus microservices, load balancing microservices, circuit breaker microservices, data monitoring microservices, etc.

[0051] All microservices of the system are implemented using Java and SpringBoot. Service startup depends on the configuration center. Data communication is based on service discovery registration. For microservices that have started the cluster, load balancing microservices are used for load balancing. At the same time, the configuration center settings determine whether to enable the message bus, circuit breaker, data monitoring, etc.

[0052] For the calling of GIS applications, the system supports HTTP, TCP, UDP, sockets, JNI and other forms of communication, and also provides JDK for the development of proprietary protocols based on TCP and UDP.

[0053] For microservice-related service discovery registration, configuration center, message bus, load balancing, circuit breaker, data monitoring, etc., Spring Cloud is relied upon.

[0054] In one embodiment, the system further comprises a cloud server, which may include Redis and MySql databases for data storage. The cloud server interacts with the resource calling module and the system management module respectively for data.

[0055] Figure 3 This is a flow chart of a GIS application management method based on Spring Boot. The application first accepts GIS service requests and verifies the service request data to ensure compliance. After the verification is completed, the requested data is processed and forwarded to the encapsulated GIS object, and the listening of the request return port is started. After receiving the return data, the return data also needs to be verified, and the return data is processed after the verification is completed, and then the processed data is encapsulated and returned.

[0056] The above are only a few embodiments of the present application and do not constitute any form of limitation to the present application. Although the present application is disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technician familiar with the profession, without departing from the scope of the technical solution of the present application, using the technical content disclosed above to make slight changes or modifications are equivalent to equivalent implementation cases and fall within the scope of the technical solution.

Claims

1. A GIS application management system based on microservice architecture, It is characterized in that The system at least includes a request response module, a data processing module, and a resource calling module; The request response module is used to accept GIS service requests, verify the request data, and send it to the data processing module after the verification is completed; The data processing module is used to process the request data sent by the request response module to obtain the encapsulated GIS object required by the resource calling module; process and encapsulate the return data of the resource calling module to ensure that the request data can be identified by the encapsulated object and the return data can satisfy the identification of the requesting party; for different GISs requiring different data result sets, the data result sets are customized and encapsulated into a suitable format to satisfy data sharing between different GISs; Provide GIS services externally through communication protocols; The resource calling module is used to receive the encapsulated GIS object, perform GIS-related processing based on a number of GIS applications, and transmit the processed data to the data processing module; The request response module, data processing module, and resource calling module all include microservices, support cluster deployment, and are used to monitor and manage the called GIS services.

2. According to the GIS application management system based on microservice architecture as described in claim 1, It is characterized in that The request response module includes at least two request response sub-modules, which are used to implement the customized request response through abstract classes.

3. According to the GIS application management system based on microservice architecture as described in claim 1, It is characterized in that The system also includes: The resource management module is used to manage the encapsulated GIS objects that need to be called.

4. According to the GIS application management system based on microservice architecture as claimed in claim 3, It is characterized in that The management of the resource management module includes at least one of the following: adding, deleting, and health management of the encapsulated GIS objects in the resource calling module.

5. According to the GIS application management system based on microservice architecture as described in claim 3, It is characterized in that The system also includes a system service module for providing distributed functions or support for the microservice cluster to the outside world.

6. According to the GIS application management system based on microservice architecture as claimed in claim 5, It is characterized in that The distributed functions or support provided to the external microservice cluster include at least one of the following: service discovery registration, configuration center, message bus, load balancing, circuit breaker, and data monitoring.

7. According to the GIS application management system based on microservice architecture as claimed in claim 5, It is characterized in that The system also includes a system management module for providing functions and interfaces, and managing the system by managing the system service module.

8. According to the GIS application management system based on microservice architecture as claimed in claim 7, It is characterized in that The functions include: visual operation of the resource management module.

9. According to the GIS application management system based on microservice architecture as claimed in claim 7, It is characterized in that The interface includes: an operation entry of the system service module.

10. The GIS application management system based on microservice architecture according to claim 7, It is characterized in that The management includes: performing authority management on GIS service requests.

11. The GIS application management system based on microservice architecture according to claim 7, It is characterized in that The system also includes a cloud server on which a database for data storage is mounted, which interacts with the resource calling module and the system management module for data respectively.

12. The GIS application management system based on microservice architecture according to claim 1, It is characterized in that The microservice adopts the SpringBoot architecture.

13. A GIS application management method based on the GIS application management system according to any one of claims 1 to 12, It is characterized in that The method includes: calling the corresponding sealed GIS object according to the GIS service request through the communication protocol to provide GIS service to the outside; and monitoring and managing the called GIS service based on microservices.

14. The GIS application management method according to claim 13, It is characterized in that The calling of the corresponding encapsulated GIS object according to the GIS service request specifically includes: Accept GIS service requests, verify and process the request data for GIS services; Encapsulate the processed request data into GIS objects and call the GIS application to perform GIS-related processing; Start the request return port for listening. When the return data of the encapsulated GIS object is received, the data is processed after verification, the processed data is encapsulated, and the GIS operation response data is returned.

15. The GIS application management method according to claim 13, It is characterized in that The microservice adopts the SpringBoot architecture.