WebGIS service system and method for spatial data processing plug-in

By setting up the plug-in development framework and spatial information service release architecture on the GeoServer back-end server, the geoprocessing and spatial analysis plug-ins are developed and released, and the problem of relying on commercial platforms in the existing technology is solved, and the development and release of customized plug-ins is realized, which reduces the cost and complexity and increases the breadth of applications.

CN119938800APending Publication Date: 2025-05-06PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311442032.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-01
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

Existing geoprocessing and spatial analysis programs rely highly on the secondary development capabilities of commercial platforms, resulting in high procurement costs, huge systems, high technical complexity, and limited application areas, making it difficult to use in heterogeneous environments and non-reliance on commercial platforms.

Method used

By setting up the plug-in development framework and spatial information service release architecture on the GeoServer backend server, developing geoprocessing and spatial analysis plug-ins, using OGC open interoperability protocol for mapping, and configuring and publishing WPS services through the WebGIS spatial processing and analysis service release process to realize automatic registration and verification of plug-ins.

Benefits of technology

It realizes the development and release of customized space processing plug-ins without relying on commercial platforms, reducing procurement costs, simplifying system architecture, and improving technical flexibility and application breadth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119938800A_ABST
    Figure CN119938800A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of spatial data processing and analysis, in particular to a WebGIS service system and method for a spatial data processing plug-in, and the system comprises a plug-in development framework part which is provided with a Web semantic model and a development tool, and develops a geographic processing and spatial analysis plug-in through a tool library; and the spatial information service publishing architecture part is used for loading and importing an executive geographic processing and spatial analysis plug-in and executing a WebGIS spatial processing and analysis service publishing process. The method does not depend on a commercial platform, an industry user developer can adopt an open-source spatial data processing toolkit to freely and flexibly cut, combine and replace, after a plug-in is developed, the plug-in is imported into a WebGIS system in a Web mode, metadata information and input and output interface parameters of a plug-in algorithm are configured, a visual WebTools tool form is automatically constructed, and the operation efficiency is improved. And the SOAP protocol of the WPS service is sent out internally, so that the service calling difficulty of the Web client is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of spatial data processing and analysis, and is a WebGIS service system and method for a spatial data processing plug-in. Background Art

[0002] WebGIS (web Geographic Information System) refers to GIS (Geographic Information System) working on the Web. It is an extension and development of traditional GIS on the Internet. It has the characteristics of traditional GIS and can realize basic GIS functions such as spatial data retrieval, query, mapping output, and editing. It is also the basis for publishing, sharing, and communication and collaboration of geographic information on the Internet. Geographic spatial data is published and applied through the Internet to realize the sharing and interoperability of spatial data, such as online query and business processing of GIS information. WebGIS clients use Web browsers, such as IE and FireFox. WebGIS is a new technology that uses Internet technology to expand and improve GIS. Its core is to embed the HTTP standard application system in GIS to realize spatial information management and publishing in the Internet environment.

[0003] The WebGIS system independently built by the enterprise is mainly used for data sharing, visualization of GIS data for display and query; the procedures for geographic processing and spatial analysis mainly include two parts: algorithm processing and algorithm interface parameters. The algorithm interface parameters include input parameters and output parameters. The input parameter type is the spatial data object type and the programming language type and data structure provided by the development language. The output parameters are the spatial data object type after algorithm processing, the spatial data storage format and the storage workspace.

[0004] Geographic processing and spatial analysis are the core functions of GIS, including geographic processing of spatial data, spatial analysis, spatial statistical analysis and spatial modeling. Geographic processing mainly refers to topological analysis, overlay analysis, distance, area, path calculation, spatial association query, data conversion, data extraction and fusion based on spatial relationships based on the geometric characteristics of spatial objects in GIS; spatial data analysis uses exploratory analysis techniques that graph or map data to study potential patterns and anomalies in the data; spatial statistical analysis uses statistical methods to describe and explain the nature of spatial data, and whether the data is typical or expected for the statistical model; spatial modeling mainly refers to the establishment of models based on certain theories and assumptions to describe the distribution pattern of spatial phenomena and predict spatial processes and results.

[0005] Traditional geographic processing and spatial analysis programs are highly dependent on the secondary development capabilities of various commercial platforms to write integrated plug-ins and provide WebGIS service capabilities before they can be published as WebGIS services. Using the traditional C / S architecture, spatial processing and analysis algorithms are first designed, and then the algorithms are implemented using the secondary development interface of the commercial platform. Not only is the procurement cost high, the system is huge, and the technical complexity is high, but the users who use geographic processing and spatial analysis capabilities are mostly professional scientific and technological personnel with program development capabilities, which are relatively closed and single, and difficult to be used by production and design personnel in heterogeneous environments and environments that do not rely on commercial platforms. Geographic processing and spatial analysis capabilities are limited by the lack of effective technical means and have a relatively narrow application range. Obviously, how to provide a solution to the above technical problems so that GIS users in various industries can be used by scientific research and production design personnel of related units in heterogeneous environments and environments that do not rely on commercial platforms is a problem that technical personnel in this field currently need to solve. Summary of the invention

[0006] The present invention provides a WebGIS service system and method for spatial data processing plug-ins, which overcome the deficiencies of the above-mentioned prior art and can effectively solve the problem of high procurement costs caused by the reliance on secondary development capabilities of commercial platforms for writing integrated plug-ins and providing WebGIS service capabilities in existing geographic processing and spatial analysis programs.

[0007] One of the technical solutions of the present invention is achieved by the following measures: a WebGIS service system for spatial data processing plug-in, the system is set on the back-end server of GeoServer, and the system includes: The plug-in development framework is equipped with Web semantic models and development tools. It uses the tool library to develop geographic processing and spatial analysis plug-ins and maps them to spatial data object types in the Web semantic model through the Web semantic model, where the Web semantic model includes the OGC open interoperability protocol; The spatial information service publishing architecture department loads and imports the executable geoprocessing and spatial analysis plug-in, and executes the WebGIS spatial processing and analysis service publishing process. The WebGIS spatial processing and analysis service publishing includes: configuring the plug-in's metadata, configuring the geoprocessing and spatial analysis business model, configuring the WPS service settings, publishing the WPS service, and writing the Get or Post request protocol for the WPS service.

[0008] The following are further optimizations and / or improvements to the above technical solutions: The above-mentioned spatial information service publishing architecture includes: The plug-in resource management layer manages the loaded and imported geoprocessing and spatial analysis plug-ins, and monitors the execution status of the geoprocessing and spatial analysis plug-ins of the geoprocessing and spatial analysis service that publishes the WPS service; The plug-in business model layer configures the plug-in meta-information and input and output interface parameter meta-information, and manages the geographic processing and spatial analysis business models; Service publishing layer, configure WPS service, reference GeoServer's gs-wps-core package to configure and publish WPS service.

[0009] The above plug-in resource management layer includes: Plug-in management module, manages the loading and importing of geoprocessing and spatial analysis plug-ins; Template management module, which manages geoprocessing and spatial analysis business model templates; The execution status management module monitors the execution status of the geoprocessing and spatial analysis plug-ins of the geoprocessing and spatial analysis service that publishes the WPS service.

[0010] The above plug-in business model layer includes: Parameter configuration module, configures the meta information of the plug-in and the meta information of the input and output interface parameters, and selects the semantic information of the annotation class to complete the configuration of the geographic processing and spatial analysis business model; Model management module, which manages the geoprocessing and spatial analysis business models configured by the parameter configuration module and persists the geoprocessing and spatial analysis plug-in models; The plug-in execution module organizes the directory of plug-in resource metadata and associates the plug-in with the metadata model.

[0011] The above service publishing layer includes: WPS security configuration module, configure WPS service; WPS service module, which references the gs-wps-core package of GeoServer to publish WPS services; Model service configuration, providing a RESTful background service configuration interface.

[0012] The above also includes WPS clients, including: SOAP request module, which initiates the WPS service of Web Service and is used for internal service request mode conversion; SSE status monitoring module, used for WebTools server push technology SSE and WebSocket, WebTools server push space processing progress and log; The WebTools module is used by the client to interactively fill in the input data source and output data source and specific parameters to trigger the execution command.

[0013] The second technical solution of the present invention is achieved by the following measures: A WebGIS service publishing method for a spatial data processing plug-in, comprising: Select programming languages ​​and development tools in the plug-in development framework, develop geoprocessing and spatial analysis plug-ins, and map the internal structure to the object structure defined by the OGC open interoperability protocol; Import the geoprocessing and spatial analysis plug-in at the plug-in resource management layer, configure the plug-in meta information and input and output interface parameter meta information at the plug-in business model layer, select the semantic information of the annotation class, and configure the geoprocessing and spatial analysis business model; Persistence of geoprocessing and spatial analysis plug-in models at the plug-in resource management layer; In the service publishing layer, select the persisted geoprocessing and spatial analysis plug-in model, configure the security permission parameters for user access, reference the gs-wps-core package of GeoServer, and publish the WPS service; After the service is published, write a Get or Post request protocol use case for the WPS service and use the tool to test the call service.

[0014] The following are further optimizations and / or improvements to the above technical solutions: The above also includes building a WebTools form, including automatically laying out the Web component, and binding the event listener of the Web component. The listener calls the WPS service through the axios request.

[0015] The above-mentioned persistence of geographic processing and spatial analysis plug-in models at the plug-in resource management layer includes: In the plug-in business model layer, the plug-in meta information is persisted as a Json template, and the persisted geoprocessing and spatial analysis plug-in model is built into a Web form; Organize the directory of plugin resource metadata at the plugin business model layer, associate the plugin with the metadata model, and implement the executable association reference; Expand the GeoServer data catalog, organize business model folders, persist the resources, control file locks, and observe file status.

[0016] The present invention supports industry users to develop customized spatial processing plug-ins, and only needs to focus on designing algorithms for spatial processing and analysis. The data interface parameters of the algorithm follow standard spatial data Web interoperability protocols such as WFS and WCS to perform data scheduling based on vectors and rasters, and do not rely on commercial platforms with high procurement costs, large systems, and high technical complexity. Industry user developers can use open source C++ spatial data processing toolkits or java spatial data processing toolkits to freely and flexibly cut, combine and replace. Further, after the plug-in is developed, it is imported into the WebGIS system through the Web, and the metadata information and input and output interface parameters of the plug-in algorithm are configured. The system can automatically register the plug-in, the plug-in interface parameters, and the plug-in verification. According to the geographic processing model json object template, it automatically builds a visual WebTools tool form, and then issues the SOAP protocol of the WPS service internally, reducing the difficulty of the Web client calling the service. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Attached Figure 1 It is a schematic diagram of the system structure of the present invention.

[0018] Attached Figure 2 It is a structural diagram of the spatial information service publishing architecture part in the present invention.

[0019] Attached Figure 3 It is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION

[0020] The present invention is not limited by the following embodiments, and specific implementation methods can be determined based on the technical solution of the present invention and actual conditions.

[0021] The present invention will be further described below in conjunction with embodiments and drawings: Embodiment 1: As attached Figure 1 As shown, the embodiment of the present invention discloses a WebGIS service system for spatial data processing plug-in, the system is set on the back-end server of GeoServer, and the system includes: (I) The plug-in development framework is equipped with a Web semantic model and development tools. It uses the tool library to develop geographic processing and spatial analysis plug-ins and maps them to spatial data object types in the Web semantic model through the Web semantic model, where the Web semantic model includes the OGC open interoperability protocol.

[0022] The embodiment of the present invention utilizes the plug-in development framework to flexibly and conveniently support users in various industries to develop customized space processing plug-ins. The specific plug-in construction process includes: (1) Adopt OGC open interoperability protocols (i.e. standard OGC open interoperability protocols such as WPS, WFS, and WCS) as the Web semantic model of geographic processing and spatial analysis for the input data source, output data source, and algorithm parameter types of external plug-ins. This protocol has open source implementations in multiple programming languages ​​that convert to its internal spatial data object types and development languages, and provides programming language types and spatial data structures and other development tools, such as the GeoTools toolkit; Users can use open source C++ spatial data processing toolkits or Java spatial data processing toolkits, such as the GeoTools toolkit, to develop geographic processing and spatial analysis plug-ins. This toolkit mainly provides spatial data access interfaces that implement the Open GIS specification and is used to operate spatial feature objects, including data type access, access filters, spatial parameter parsing, etc.

[0023] (2) Developers can choose the programming language and development tools they are familiar with to develop plug-ins and map their internal structure to the object structure defined by OGC open interoperability protocols such as WPS, WFS, and WCS.

[0024] The above object model mapping conversion relationship is as follows: The object models involved are: Model-Template object model: business processing model for configuring plug-in meta information and input parameter meta information; PPIO object model: process parameter input / output is the input and output parameter object model of the processing, encoding the input parameter to the type of PPIO and encoding PPIO to the output parameter; Process object model: an executable object encapsulated by annotations and Process interface definitions; WPS Model object model: the object model of the OGC WPS service specification; Xsd object model: Schema reference of OGC's WPS service specification; Json object model: Json object model template for business processing model persistence; WebTools Form object model: front-end Vue's web component object model; The conversion relationships involved are: The Model-Template object model is configured by the user to obtain the model's plug-in meta information and configuration input parameter meta information; The Model-Template object model uses Java language reflection technology and code annotation technology to create the Process object model and PPIO object model through annotations; The Process object model and the PPIO object model transmit information through encoding and decoding technology; The WPS Model object model obtains parameter information from the PPIO object model through IO ParameterDefinition; The WPS Model object model obtains the processing execution body information from the Process object model through annotation extraction; The WPS Model object model is bound to the WPS xsd Schema via EMF (Eclipse Model Framework) type encoding and decoding technology; Model-Template object model persistence Json object model template; The WebTools Form object model is automatically constructed into a WebTools form based on the obtained Json object model template.

[0025] (II) Spatial information service publishing architecture part, loads and imports the executable geoprocessing and spatial analysis plug-in, and executes the WebGIS spatial processing and analysis service publishing process, where the WebGIS spatial processing and analysis service publishing includes: configuring the plug-in's metadata, configuring the geoprocessing and spatial analysis business model, configuring the WPS service settings, publishing the WPS service, and writing the Get or Post request protocol for the WPS service.

[0026] In the embodiment of the present invention, as shown in the attached Figure 2 As shown in the figure, the spatial information service publishing architecture includes: (1) Plug-in resource management layer, which manages the loaded and imported geoprocessing and spatial analysis plug-ins and monitors the execution status of the geoprocessing and spatial analysis plug-ins of the geoprocessing and spatial analysis service that publishes the WPS service.

[0027] The above plug-in resource management layer includes: Plug-in management module, manages the loading and importing of geoprocessing and spatial analysis plug-ins; Here, an external executable plug-in is introduced. The executable plug-in can be an exe executable program or a dynamic library, or a java jar package. This system defines the interface of the spatial data processing plug-in, including ProcessFactory interface, Process interface, Progress interface, and defines annotations such as @DescribeProcess @DescribeParameter @DescribeResult.

[0028] Template management module, which manages geoprocessing and spatial analysis business model templates; The execution status management module monitors the execution status of the geoprocessing and spatial analysis plug-ins of the geoprocessing and spatial analysis service that publishes the WPS service.

[0029] (2) Plug-in business model layer: configures plug-in metadata and input and output interface parameter metadata, and manages geographic processing and spatial analysis business models.

[0030] The above plug-in business model layer includes: Parameter configuration module, configures the meta information of the plug-in and the meta information of the input and output interface parameters, and selects the semantic information of the annotation class to complete the configuration of the geographic processing and spatial analysis business model; The meta information of the configured plug-in here includes the name, description, execution entry function, etc. The meta information of the configured input and output interface parameters includes the name, description, type, input times of each input data, the name, description, type and storage workspace of the output data, the name, description, type, etc. of the input parameter.

[0031] The system uses Java language reflection technology and code annotation technology, and Code-Generator code automatic generation technology to generate implementation classes of ProcessFactory interface, Process interface, and Progress interface, and automatically annotates the methods and parameters of the implementation classes.

[0032] Model management module, which manages the geoprocessing and spatial analysis business models configured by the parameter configuration module and persists the geoprocessing and spatial analysis plug-in models; Here, the geoprocessing and spatial analysis plug-in model is persisted, including: a. Persisting the plug-in's metadata as a Json template to further build the model template into a Web form; before publishing the model service, register the plug-in and implement hot loading through Java's dynamic proxy technology; b. Business model resources require the expansion of GeoServer datacatalog, organize business model folders, persist the resources, control file locks, and observe file status.

[0033] The plug-in execution module organizes the directory of plug-in resource metadata and associates the plug-in with the metadata model.

[0034] Specifically, the interface parameter system of the processing plug-in is mapped and converted to the WPS object model through the PPIO (process parameter input / output) technology, and then bound to the WPS xsd template through the EMF (Eclipse Model Framework) type encoding and decoding technology; and the module verifies the plug-in, that is, after the plug-in is bound and mapped through the local WPS object model, the constraints, limitations, parameter types, etc. of the plug-in parameters are verified according to the xsd specifications.

[0035] (3) Service publishing layer: configure WPS service and reference the gs-wps-core package of GeoServer to configure and publish WPS service.

[0036] The above service publishing layer includes: WPS security configuration module, configure WPS service; WPS service module, which references the gs-wps-core package of GeoServer to publish WPS services; Configure WPS service settings here, such as user access security parameters, WPS service metadata, whether to enable, etc. to publish WebGIS geoprocessing and spatial analysis services. This service is a standard WPS service; and you need to write the Get or Post request protocol for the WPS service, and use tools such as browsers, PostMan, or Curl to test calling the service Model service configuration, providing a RESTful background service configuration interface.

[0037] (4) WPS client, including: SOAP request module, which initiates the WPS service of Web Service and is used for internal service request mode conversion; SSE status monitoring module, used for WebTools server push technology SSE and WebSocket, WebTools server push space processing progress and log; The WebTools module is used by the client to interactively fill in the input data source and output data source and specific parameters to trigger the execution command.

[0038] After the above-mentioned WPS client is successfully published, the Web form engine technology is used to automatically build a WebTools form according to the model template. The information in the GUI interface of the form has strong human-computer interactivity and presents an easy-to-understand natural language panel. The information comes from the annotations configured by the user; further, the WebTools client interactively fills in the input data source and output data source and specific parameters, triggers the execution command, and a processing task list will be echoed in the task processing bar, and the processing task progress will be automatically sent using the SSE server push technology.

[0039] The back-end server in the present invention provides service publishing of spatial data, including a request interception processor module that can parse OWS service protocols such as WFS, WCS, and WPS. The development package of its core supporting capabilities is tailored to the GeoServer open source spatial information service publishing framework. According to the requirements, the GeoServer core dependent module packages are: gs-main package module, gs-wps-core package module, among which the gs-main package depends on the GeoTools tool package, gs-platform package, and gs-ows package, and the gs-wps-core package depends on the gs-wfs package and the gs-wcs package.

[0040] It also includes: referencing the data source of the backend server in a spatial data layer organization in a visualization environment, and supporting WMTS, WMS and other OWS service visualization protocols at the same time. The optional dependency packages are: gs-wms package module, gwc-* package module to support WMS, WMTS services. The spatial data includes spatial data sources in storage methods such as PostGIS and Shp, and raster image data sources in formats such as GeoTiff and Img. The development dependency package also includes gt-jdbc-postgis module and gs-gdal module to support the spatial data loading capability described in the present invention.

[0041] The present invention discloses a WebGIS service system for spatial data processing plug-ins, which supports industry users to develop customized spatial processing plug-ins. They only need to focus on designing algorithms for spatial processing and analysis. The data interface parameters of the algorithm follow standard spatial data Web interoperability protocols such as WFS and WCS to perform data scheduling based on vectors and rasters, and do not rely on commercial platforms with high procurement costs, large systems, and high technical complexity. Industry user developers can use open source C++ spatial data processing toolkits or java spatial data processing toolkits to freely and flexibly cut, combine and replace. Further, after the plug-in is developed, it is imported into the WebGIS system through the Web, and the metadata information and input and output interface parameters of the plug-in algorithm are configured. The system can automatically register the plug-in, the plug-in interface parameters, and the plug-in verification. According to the geographic processing model json object template, a visual WebTools tool form is automatically constructed, and the SOAP protocol of the WPS service is internally issued to reduce the difficulty of the Web client calling the service.

[0042] Embodiment 2: As attached Figure 3 As shown, the embodiment of the present invention discloses a WebGIS service publishing method for a spatial data processing plug-in, comprising: Step S110, selecting a programming language and development tools in the plug-in development framework, developing a geographic processing and spatial analysis plug-in, and mapping the internal structure to an object structure defined by the OGC open interoperability protocol; Step S120, importing the geographic processing and spatial analysis plug-in in the plug-in resource management layer, configuring the plug-in meta information and input and output interface parameter meta information in the plug-in business model layer, selecting the semantic information of the annotation class, and completing the geographic processing and spatial analysis business model configuration; Step S130, performing persistence of geographic processing and spatial analysis plug-in model in the plug-in resource management layer; Step S140, selecting the persisted geoprocessing and spatial analysis plug-in model in the service publishing layer, configuring the service information of the geoprocessing and spatial analysis plug-in model, referencing the gs-wps-core package of GeoServer, and publishing the WPS service; Step S150, after the service is published, write a Get or Post request protocol use case for the WPS service and use a tool to test the calling service.

[0043] The above step S120 configures the plug-in's meta-information including name, description, entry function to be executed, etc., and configures the input parameter's meta-information including the name, description, type, number of inputs of each input data, the name, description, type and storage workspace of the output data, the name, description, type, etc. of the input parameter.

[0044] The system uses Java language reflection technology and code annotation technology, and Code-Generator code automatic generation technology to generate implementation classes of ProcessFactory interface, Process interface, and Progress interface, and automatically annotates the methods and parameters of the implementation classes.

[0045] The above step S130 performs persistence of the geographic processing and spatial analysis plug-in model at the plug-in resource management layer, including: (1) In the plug-in business model layer, the plug-in metadata is persisted as a Json template, and the persisted geoprocessing and spatial analysis plug-in model is built into a Web form; (2) Organize the directory of plug-in resource metadata at the plug-in business model layer, associate the plug-in with the metadata model, and implement the executable association reference; The plug-in is registered and hot loaded through Java's dynamic proxy technology. Furthermore, the interface parameter system of the processing plug-in is mapped to the WPS object model through PPIO (process parameter input / output) mapping and conversion technology, and then bound to the WPS xsd template through EMF (Eclipse Model Framework) type encoding and decoding technology; after the verification plug-in is bound and mapped through the local WPS object model, the constraints, restrictions, parameter types, etc. of the plug-in parameters are verified according to the xsd specifications; (3) Expand the GeoServer data catalog, organize business model folders, and perform persistence, file lock control, and file status observation on the resources.

[0046] The service information of the geoprocessing and spatial analysis plug-in model configured in the above step S140 includes user access security parameters, metadata of the WPS service, whether to enable the publishing of the WebGIS geoprocessing and spatial analysis service, which is a standard WPS service.

[0047] After the service is published in the above step S150, a Get or Post request protocol use case of the WPS service is written, and a tool is used to test the calling service. The tool here can be a browser, PostMan or Curl, etc.

[0048] After step S150, the above method further includes: (1) Using the Web form engine technology, the WebTools form is automatically constructed according to the model template. The Web form engine technology involves the construction of Web components. The system uses the Vue3 development framework. The Web components use the Element UI component library. The Web components are automatically laid out according to the type and number of parameters, and the event listener of the Web component is bound. The listener calls the WPS service through the axios request. (2) The WebTools client interactively fills in the input data source, output data source and specific parameters to trigger the execution command. A processing task list will be echoed in the task processing bar, and the processing task progress will be automatically sent using the SSE server push technology.

[0049] Embodiment 3: The embodiment of the present invention discloses an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement a WebGIS service publishing method for a spatial data processing plug-in.

[0050] The processor may be a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. It may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The memory may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory, a mobile hard disk, a magnetic disk or an optical disk.

[0051] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The schemes in the embodiments of the present application may be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.

[0052] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0053] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0054] The above technical features constitute the best embodiment of the present invention, which has strong adaptability and best implementation effect. Non-essential technical features can be added or reduced according to actual needs to meet the requirements of different situations.

Claims

1. A WebGIS service system for spatial data processing plug-ins, characterized in that: The system is arranged on the back-end server of GeoServer, and the system comprises: The plug-in development framework is equipped with Web semantic models and development tools. It uses the tool library to develop geographic processing and spatial analysis plug-ins and maps them to spatial data object types in the Web semantic model through the Web semantic model, where the Web semantic model includes the OGC open interoperability protocol; The spatial information service publishing architecture department loads and imports the executable geoprocessing and spatial analysis plug-in, and executes the WebGIS spatial processing and analysis service publishing process. The WebGIS spatial processing and analysis service publishing includes: configuring the plug-in's metadata, configuring the geoprocessing and spatial analysis business model, configuring the WPS service settings, publishing the WPS service, and writing the Get or Post request protocol for the WPS service.

2. The WebGIS service system for spatial data processing plug-in according to claim 1, characterized in that: The spatial information service publishing architecture unit includes: The plug-in resource management layer manages the loaded and imported geoprocessing and spatial analysis plug-ins, and monitors the execution status of the geoprocessing and spatial analysis plug-ins of the geoprocessing and spatial analysis service that publishes the WPS service; The plug-in business model layer configures the plug-in meta-information and input and output interface parameter meta-information, and manages the geographic processing and spatial analysis business models; Service publishing layer, configure WPS service, and reference the gs-wps-core package of GeoServer to publish WPS service.

3. The WebGIS service system for spatial data processing plug-in according to claim 2, characterized in that: The plug-in resource management layer includes: Plug-in management module, manages the loading and importing of geoprocessing and spatial analysis plug-ins; Template management module, which manages geoprocessing and spatial analysis business model templates; The execution status management module monitors the execution status of the geoprocessing and spatial analysis plug-ins of the geoprocessing and spatial analysis service that publishes the WPS service.

4. The WebGIS service system for spatial data processing plug-in according to claim 2 or 3, characterized in that: The plug-in business model layer includes: Parameter configuration module, configures the meta information of the plug-in and the meta information of the input and output interface parameters, and selects the semantic information of the annotation class to complete the configuration of the geographic processing and spatial analysis business model; Model management module, which manages the geoprocessing and spatial analysis business models configured by the parameter configuration module and persists the geoprocessing and spatial analysis plug-in models; The plug-in execution module organizes the directory of plug-in resource metadata and associates the plug-in with the metadata model.

5. The WebGIS service system for spatial data processing plug-in according to any one of claims 2 to 4, characterized in that: The service publishing layer includes: WPS security configuration module, configure WPS service; WPS service module, which references the gs-wps-core package of GeoServer to publish WPS services; Model service configuration, providing a RESTful background service configuration interface.

6. The WebGIS service system for spatial data processing plug-in according to any one of claims 2 to 5, characterized in that: Also includes WPS clients, including: SOAP request module, which initiates the WPS service of Web Service and is used for internal service request mode conversion; SSE status monitoring module, used for WebTools server push technology SSE and WebSocket, WebTools server push space processing progress and log; The WebTools module is used by the client to interactively fill in the input data source and output data source and specific parameters to trigger the execution command.

7. A WebGIS service publishing method for a spatial data processing plug-in of a system as claimed in any one of claims 1 to 6, characterized in that: include: Select programming languages ​​and development tools in the plug-in development framework, develop geographic processing and spatial analysis plug-ins, and map the internal structure to the object structure defined by the OGC open interoperability protocol; Import the geoprocessing and spatial analysis plug-in at the plug-in resource management layer, configure the plug-in meta information and input and output interface parameter meta information at the plug-in business model layer, select the semantic information of the annotation class, and configure the geoprocessing and spatial analysis business model; Persistence of geoprocessing and spatial analysis plug-in models at the plug-in resource management layer; In the service publishing layer, select the persisted geoprocessing and spatial analysis plug-in model, configure the security permission parameters for user access, reference the gs-wps-core package of GeoServer, and publish the WPS service; After the service is published, write a Get or Post request protocol use case for the WPS service and use the tool to test the service call.

8. The WebGIS service publishing method for spatial data processing plug-in according to claim 7, characterized in that: It also includes building a WebTools form, including automatically laying out Web components and binding event listeners of Web components. The listeners call WPS services through axios requests.

9. The WebGIS service publishing method for spatial data processing plug-in according to claim 7 or 8, characterized in that: The geographic processing and spatial analysis plug-in model persistence is performed at the plug-in resource management layer, including: In the plug-in business model layer, the plug-in meta information is persisted as a Json template, and the persisted geoprocessing and spatial analysis plug-in model is built into a Web form; Organize the directory of plugin resource metadata at the plugin business model layer, associate the plugin with the metadata model, and implement the executable association reference; Expand the GeoServer data catalog, organize business model folders, persist the resources, control file locks, and observe file status.

10. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the WebGIS service publishing method for spatial data processing plug-in as described in any one of claims 7 to 9.