CN110099099B - Space information micro-service packaging and service integration method for ground information port - Google Patents

Space information micro-service packaging and service integration method for ground information port Download PDF

Info

Publication number
CN110099099B
CN110099099B CN201910241684.7A CN201910241684A CN110099099B CN 110099099 B CN110099099 B CN 110099099B CN 201910241684 A CN201910241684 A CN 201910241684A CN 110099099 B CN110099099 B CN 110099099B
Authority
CN
China
Prior art keywords
service
information
micro
spatial information
ground
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910241684.7A
Other languages
Chinese (zh)
Other versions
CN110099099A (en
Inventor
郑作亚
仇林遥
贾向阳
潘一凡
柳罡
李黔湘
鲁续坤
薛庆昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Electronic and Information Technology of CETC
Original Assignee
China Academy of Electronic and Information Technology of CETC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Academy of Electronic and Information Technology of CETC filed Critical China Academy of Electronic and Information Technology of CETC
Priority to CN201910241684.7A priority Critical patent/CN110099099B/en
Publication of CN110099099A publication Critical patent/CN110099099A/en
Application granted granted Critical
Publication of CN110099099B publication Critical patent/CN110099099B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Abstract

The invention provides a space information micro-service packaging and service integration method for a ground information port. The space information microservice developed based on the space information microservice packaging framework comprises three parts: the system comprises a spatial information service algorithm module, a service package and release SDK and a service package code, and provides five interfaces of service calling, task management, message notification, service discovery and service monitoring for the outside. The open platform of the ground information harbor space information service supports the service management function, can realize the rapid integration and the efficient and reliable operation of the space information micro-service, and realizes the automatic service discovery, the service monitoring and the reverse proxy, the load balancing, the task management and the event notification supporting the service execution through five interfaces of the space information micro-service. The operation of the spatial information service is more comprehensive and reliable.

Description

Space information micro-service packaging and service integration method for ground information port
Technical Field
The invention relates to the technical field of spatial information service, in particular to a spatial information micro-service packaging and service integration method for a ground information port.
Background
The ground information port relies on a heaven-earth integrated information network, multi-source heterogeneous space-time data are gathered, a distributed cloud public infrastructure environment is built, a unified service open platform is deployed, information fusion of network + remote sensing/geographic information/positioning navigation is realized, industry information application products are distributed, comprehensive service modes such as supermarkets, laboratories and workshops are provided, two-level and three-level market spaces are expanded, and a novel space-time data service hub is created. As a space information distribution center, a ground information port needs to realize real-time access, efficient distribution and data processing on demand of space data, and needs to realize dynamic open integration of multi-source and heterogeneous space applications.
A plurality of space information cloud platforms exist at home and abroad to realize the access, processing and distribution of space data. Such as Google Earth Engine, american eos (Earth observation system), european space agency Earth observation on-demand service grid (G-POD), domestic natural resource satellite image cloud service platform, remote sensing market, etc.
The Google Earth Engine is a cloud platform for online visual computing and analysis processing. The platform has access to data in satellite images and other earth observation data databases and provides sufficient computing power to process such data. Compared with traditional image processing tools such as ENVI (the environmental for visualization images), the Google Earth Engine can process large number of images in batches quickly. Through the Google Earth Engine, Vegetation indexes such as NDVI (normalized Difference Vegetation index) and the like can be rapidly calculated, and crop related yield can be predicted, drought growth change can be monitored, global forest change can be monitored, and the like. The Google Earth Engine provides not only an online JavaScript API, but also an offline Python API. Web services based on Google Earth Engine and Google cloud can be established rapidly through the APIs.
The united states EOS is constantly institutionally integrated with the EOS system, integrating all processing, storage management and distribution services from terrestrial resource satellite (Landsat) data to all subsequent geostationary satellite data into the EOS system. EOS System EOSDIS (earth observation System Data and Information System) is constructed for storing remote sensing Data. The EOSDIS adopts a distributed system architecture, divides remote sensing data into various data centers according to the scientific field for storage, adopts a uniform data storage format (namely an HDF-EOS data format) as a standard format of an EOS data product, and provides a uniform data access interface.
The European Space Research Institute (ESRIN) adds a European data Grid plan, establishes a Grid Processing on Demand (G-POD) Grid for remote sensing data, Processing algorithm and shared distribution of computing resources, reduces the possibility of repeatedly collecting and Processing the remote sensing data and redeveloping the algorithm, and provides a collaborative platform for experts of different disciplines. G-POD guarantees that certain earth observation data processing can be seamlessly embedded into the system, and G-POD provides the flexibility necessary to establish a virtual environment in combination with the high-performance, large-scale computing resources managed by grid technology.
A natural resource satellite image cloud service platform developed by the national native satellite remote sensing application center of the national natural resource department and Beijing national star mapping information technology Limited provides sharing and distribution services of remote sensing image resources of satellites such as a resource No. three (ZY-3), a resource No. one high score (GF-1), a resource No. two high score (GF-2), a resource No. four high score (GF-4) and the like. The platform provides functions of space data query and download, data push, satellite orbit transit prediction, image cloud production and the like.
The Chinese remote sensing and Chinese resource satellite application center develop a remote sensing cloud service platform of the remote sensing market. The cloud service function is provided, and the remote sensing cloud workbench service is provided for data acquisition, processing, storage and online application development. The data acquisition function can download and use remote sensing urban satellite group image data such as GF-1, GF-2, ZY-3, Planet, ZY-02C, MODIS, HJ and the like. The remote sensing market can freely upload software tools and configure a personal cloud workbench on line. Meanwhile, the results can be freely stored and can also be released to remote sensing market trading.
In the spatial information cloud service platform, the Google Earth Engine provides the API for packaging various data processing and displaying functions, and enables users to write applications and process data through online and offline programming methods. G-POD also provides seamless integration capabilities of data processing applications and provides a convenient way for applications to access data, acquire computing resources, and manage computing tasks. However, both Google Earth Engine and G-POD require that applications be written using their specific APIs in their specific cloud environments. Existing applications are transplanted to Google Earth Engine or G-POD with great difficulty and development workload.
The natural resource satellite image cloud service platform and the remote sensing mart also provide open integration capability based on services, for example, the natural resource satellite image cloud service platform can release data algorithms therein, and the remote sensing mart allows uploading of own software tools. However, these two platforms are primarily focused on satellite-specific data access and distribution, and the ability to integrate openly for data analysis and processing functions is relatively inadequate. Spatial information services deployed in the cloud lack the necessary service governance capabilities.
Disclosure of Invention
The invention provides a space information micro-service packaging and service integration method for a ground information port, aiming at the defects of convenience of space information service integration and service management capability in the related technology.
The invention provides a space information micro-service packaging frame aiming at a ground information port, which is used for packaging space information micro-services, wherein any packaged micro-service comprises the following steps:
the service encapsulation and release class library is used for providing the class library required by the operation and treatment of the micro service;
the spatial information algorithm module is used for storing an algorithm program required by the micro-service operation;
the service encapsulation code module is used for providing implementation codes for the micro-service operation;
and the external interface is used for providing an interface for the micro-service operation and management for the ground information port space information service open platform.
According to the space information micro-service encapsulation framework for the ground information port, the class library required by service operation and service management is provided for the service encapsulator through the service encapsulation and release class library, the algorithm program required by the service operation is provided for the service encapsulator through the space information algorithm module, and the service encapsulator only needs to compile simple service operation implementation codes when performing service encapsulation, so that the workload of the service encapsulator is greatly reduced, and the encapsulation efficiency of the space information micro-service is improved. Moreover, the open platform for the spatial information service of the ground information port can interact with the spatial information micro-service package through an external interface so as to realize the functions of calling service operation and service management, thereby improving the convenience of the spatial information service operation.
According to some embodiments of the invention, the service encapsulation and publishing class library comprises:
the service operation module is used for providing a class library to realize at least one of functions of spatial information data access, spatial information data processing, task scheduling and message notification;
and the service administration module is used for providing a class library to realize at least one of service registration and service monitoring functions.
In some embodiments of the invention, the service execution module comprises:
the cloud data access module is used for accessing cloud data to acquire spatial information data;
the spatial information processing library module is used for processing the acquired spatial information data to provide data to be analyzed for the spatial information algorithm module;
the task scheduling module is used for starting a corresponding task when the service runs and receiving the resource allocation scheduling of the ground information harbor space information service open platform when the task is executed;
and the message notification module is used for providing message notification of the task execution state and the execution result.
According to some embodiments of the invention, the service governance module comprises:
the service registration module is used for informing the ground information harbor space information service opening platform when the space information micro service is on line so as to register the service by the ground information harbor space information service opening platform;
and the service monitoring module is used for providing a monitoring data acquisition function of the service and providing a running state of the ground information port space information service open platform monitoring service.
According to some embodiments of the invention, the external interface comprises:
the service calling interface is used for providing a function of calling the micro service for the ground information port space information service open platform;
the system comprises a task management interface, a micro-service management interface and a micro-service management interface, wherein the task management interface is used for enabling a ground information harbor space information service open platform to perform a function of allocating and scheduling resources when a task is executed;
the message notification interface is used for providing a message notification function of the micro service for the open platform of the ground information harbor space information service;
the service discovery interface is used for providing sensing on-line and off-line states of the micro-service and realizing the micro-service registration function for a ground information port spatial information service open platform;
and the service monitoring interface is used for providing a function of monitoring the running state of the micro service for the ground information port space information service open platform.
The invention also provides a platform for opening the spatial information service of the ground information port, which is used for calling the encapsulated spatial information micro-service to realize the operation and the management of the service, and is characterized by comprising the following steps:
the service gateway is used for receiving the service calling request so as to dispatch the corresponding service and realize the calling of the service;
the service registration and discovery module is used for sensing the online and offline states of the spatial information microservice and acquiring metadata of the spatial information microservice so as to realize registration of the spatial information microservice;
the service monitoring module is used for monitoring the running state of the space information microservice and supporting an abnormal early warning function;
the task scheduling and managing module is used for receiving a task scheduling request of the space information microservice so as to distribute and schedule resources during task execution during service operation;
and the message management module is used for receiving the message notification of the task execution state and the execution result of the space information microservice.
According to the ground information harbor space information service open platform, the ground information harbor space information service open platform can interact with space information micro-service, and service calling and service management functions are realized. Moreover, the open platform of the spatial information service of the ground information port can realize the functions of automatic service discovery, service monitoring, reverse proxy supporting service execution, load balancing, task management, event notification and the like through five interfaces of the spatial information microservice, so that the operation of the spatial information service is more comprehensive and reliable.
The invention also provides an integration method of the spatial information service, which comprises the following steps:
providing a spatial information micro-service for realizing the operation and treatment of the spatial information service;
and realizing the functions of calling, running and managing the service through the interaction between the ground information harbor space information service open platform and the space information micro-service.
According to the integration method of the spatial information service, a service packager can rapidly integrate the spatial information service through simple service packaging, and the open platform of the spatial information service of the ground information port can realize the functions of calling the service and managing the service through interaction with the spatial information service packaging, so that the operation of the spatial information service is more comprehensive and reliable.
According to some embodiments of the invention, the ground information harbor spatial information service open platform and the spatial information microservice interact to realize the calling operation of the service and the service management function, and the method comprises the following steps:
when the service is on line, the spatial information micro-service is connected with the ground information port spatial information service opening platform, and the service is registered in the ground information port spatial information service opening platform.
In some embodiments of the present invention, the interacting between the ground information harbor spatial information service open platform and the spatial information microservice to implement the functions of invoking and running services and managing services further includes:
the ground information harbor space information service open platform calls the space information microservice to run, and monitors the running state of the service;
and when the service is in an abnormal state, providing early warning.
Drawings
Fig. 1 is a schematic structural diagram of a spatial information microservice for a ground information portal according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a spatial information microservice for a ground information portal, according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a spatial information microservice for a ground information portal in accordance with an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an interaction relationship between a spatial information service open platform of a ground information port and a spatial information microservice according to an embodiment of the present invention;
fig. 5 is a flowchart of an integration method of a spatial information service according to an embodiment of the present invention.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the intended purpose, the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
As shown in fig. 1, according to the space information service encapsulation framework for the ground information port in the embodiment of the present invention, the space information micro service encapsulation framework is used for encapsulating space information micro services, and any encapsulated micro service includes: the system comprises a service packaging and publishing class library, a spatial information algorithm module, a service packaging code module and an external interface.
It should be noted that the space information service encapsulation framework for the ground information port can be applied to the ground information port. In the ground information port, the ground information port space information service open platform is used for realizing the integration of space information micro-service, and the space information micro-service is deployed in the ground information port space information service open platform.
Specifically, as shown in FIG. 1, the service encapsulation and publishing class libraries are used to provide class libraries needed for the operation and administration of the microservice. For example, the service packaging and publishing class library may be a class library required for service operation and service administration integrated into the service packaging and publishing sdk (software Development kit). Therefore, the corresponding class library can be called from the service package and the release SDK so as to realize the functions of calling service operation and governing. Moreover, the class libraries required by service operation and service management are integrated in the service packaging and releasing SDK, and a service packager does not need to edit the class libraries required by service operation and service management, so that the workload of the service packager can be reduced, and the packaging efficiency of the space information micro-service is greatly improved.
And the spatial information algorithm module is used for storing the algorithm program required by the micro-service operation. The algorithm described herein may be an algorithm written in a different programming language (e.g., Python, C + +, Java, etc.). The program is stored in the space information algorithm module in the form of executable files or class libraries for being called by the service runtime. For example, calculation and analysis of the spatial information data may be performed by calling a corresponding algorithm program in the spatial information algorithm module.
And the service encapsulation code module is used for providing the implementation code of the micro-service operation. For example, implementation code for the service operations described herein may include: the system comprises a task starting code, a task completing code, an error event processing code, a service interface realizing code, a service meta information marking code, a service configuration code and the like so as to realize the operation of the service.
It should be noted that, when the spatial information microservice is called, a class library required by service operation corresponding to the service encapsulation and release class library may be called, and a corresponding program in the spatial information algorithm module may be called to perform calculation and analysis of spatial data, so as to implement microservice based on spatial information.
And the external interface is used for providing an interface for the micro-service operation and management for the ground information port space information service open platform. That is to say, the ground information harbor spatial information service open platform can perform information interaction with the spatial information microservice through an external interface, so as to realize the functions of calling service operation and management of the ground information harbor spatial information service open platform.
According to the micro-service encapsulation framework aiming at the spatial information of the ground information port, the class library required by service operation and service management is provided for the service encapsulator through the service encapsulation and release class library, the algorithm program required by the service operation is provided for the service encapsulator through the spatial information algorithm module, and the service encapsulator only needs to write simple service operation realization codes when performing service encapsulation, so that the workload of the service encapsulator is greatly reduced, and the encapsulation efficiency of the spatial information micro-service is improved. Moreover, the open platform for the spatial information service of the ground information port can interact with the spatial information micro-service package through an external interface so as to realize the functions of calling service operation and service management, thereby improving the convenience of the spatial information service operation.
According to some embodiments of the invention, as shown in FIG. 2, the service encapsulation and publishing class library may comprise: the system comprises a service operation module and a service management module.
The service operation module is used for providing a class library to realize at least one of spatial information data access, spatial information data processing, task scheduling and message notification functions. That is, the service operation module may be configured to provide a class library required for implementing one of the four functions of spatial information data access, spatial information data processing, task scheduling, and message notification; or the service operation module can be used for providing class libraries needed for realizing two of the four functions; or the service operation module can be used for providing class libraries required for realizing three of the four functions; or the service run module may be used to provide all class libraries needed to implement the above four functions. Therefore, the convenience of realizing the spatial information service can be improved, and the comprehensive performance of the spatial information service is improved.
And the service administration module is used for providing a class library to realize at least one of service registration and service monitoring functions. That is, the service administration module may be configured to provide a class library required for implementing one of the service registration and service monitoring functions; the service administration module may also be used to provide all class libraries needed to implement service registration and service monitoring functions. Therefore, the service management function can be realized by calling the service management module.
In some embodiments of the present invention, as shown in fig. 3, the service execution module may include: the system comprises a cloud data access module, a spatial information processing library module, a task scheduling module and a message notification module.
The cloud data access module is used for accessing cloud data to acquire spatial information data. It should be noted that the cloud data may be received and stored satellite images or spatial information data in other earth observation databases. By calling the cloud data access module, spatial information data in the cloud data can be conveniently acquired.
And the spatial information processing library module is used for processing the acquired spatial information data so as to provide the data to be analyzed for the spatial information algorithm module. It should be noted that the spatial information processing library module can perform simple basic processing work on the acquired spatial information data. For example, the satellite image may be selected, intercepted, stretched, etc. After being processed by the spatial information processing library module, the spatial information data can be used as data to be analyzed of the spatial information algorithm module, so that the calculation and analysis work of corresponding services can be carried out through an algorithm program in the spatial information algorithm module.
And the task scheduling module is used for starting the corresponding tasks during service operation and receiving the resources of the ground information harbor space information service open platform during task execution to carry out allocation scheduling. It should be noted that when the service runtime is called, the corresponding task is started. The open platform for the ground information port space information service can distribute and schedule resources when the tasks are executed, so that the tasks can be efficiently and smoothly executed.
And the message notification module is used for providing message notification of the task execution state and the execution result. For example, when a task is started, ended or has an error during the task execution, the ground information harbor spatial information service open platform may receive a message notification of the corresponding task execution state and execution structure.
According to some embodiments of the invention, as shown in fig. 3, the service administration module may comprise: the system comprises a service registration module and a service monitoring module.
The service registration module is used for informing the ground information port space information service opening platform when the space information micro service is on line so as to register the service by the ground information port space information service opening platform. It should be noted that, when the service is online, the spatial information microservice may be automatically connected to the open platform of the spatial information service of the ground information port, so as to discover the service. The open platform of the ground information port space information service can detect the on-line state of the service through a heartbeat interface. After the service is on line, the meta-information of the service (the meta-information of the service can describe information such as an external interface of the service) can be automatically registered in the open platform of the spatial information service of the ground information port, and managers and invokers can inquire and invoke the service in the service registration center.
The service monitoring module is used for providing a monitoring data acquisition function of the service and providing a running state of the ground information harbor space information service open platform monitoring service. It should be noted that the open platform for spatial information service of the ground information harbor can automatically acquire service monitoring information to monitor the operation state of the service and provide a real-time early warning function. The "monitoring information" may include monitoring information such as resources consumed by the service operation, performance of the service, reliability of the service, and the like. The performance of the service can be evaluated by detecting the response time of the service, the maximum running time of the service, and the like, and the reliability of the service can be evaluated by detecting the error rate of the service, and the like. Therefore, the running state of the service can be known in real time.
According to some embodiments of the present invention, as shown in fig. 3, the external interface may include: the system comprises a service calling interface, a task management interface, a message notification interface, a service discovery interface and a service monitoring interface.
The service calling interface is used for providing a function of calling micro-services for the open platform of the ground information port space information service. It should be noted that the service invocation interface may be an interface based on HTTP (Hyper Text Transfer Protocol), and the open platform for ground information port spatial information service may interact with the spatial information microservice through the service invocation interface to invoke the function of the microservice.
The task management interface is used for the ground information harbor space information service open platform to perform a function of allocating and scheduling resources when a task is executed when the ground information harbor space information service open platform calls the micro-service. That is to say, the open platform of the spatial information service of the ground information harbor may interact with the spatial information microservice through the task management interface to perform the task scheduling function.
The message notification interface is used for providing a message notification function of micro-services for the open platform of the ground information harbor spatial information service. It should be noted that the open platform of the spatial information service in the ground information port may interact with the spatial information microservices through the message notification interface to call the function of the information notification module.
The service discovery interface is used for providing the online and offline states of the sensing micro-service for the ground information port space information service open platform and realizing the registration function of the micro-service. It should be noted that the open platform for spatial information service of the ground information port may interact with the spatial information microservice through the service discovery interface, so as to implement automatic discovery and automatic registration of the call service.
The service monitoring interface is used for providing a function of monitoring the running state of the micro service for the ground information port space information service open platform. It should be noted that the ground information harbor spatial information service open platform may interact with the spatial information microservice through the service monitoring interface, so as to implement the function of calling service monitoring.
According to the open platform of the ground information harbor spatial information service of the embodiment of the present invention, the open platform is used for calling the encapsulated spatial information microservice to implement the operation and management of the service, as shown in fig. 4, the platform includes: the system comprises a service gateway, a service registration and discovery module, a service monitoring module, a task scheduling and management module and a message management module.
As shown in fig. 4, the service gateway is configured to receive a service invocation request, to schedule a corresponding service, and to implement invocation of the service. It should be noted that, after the micro-service is on line and registered in the open platform of the spatial information service in the ground information port, the service gateway can provide a reverse proxy function to realize the call of the service. When the service has a plurality of instances, the clustering and load balancing of the service can be automatically realized. When a new service instance is online or offline, the corresponding service instance is automatically added or deleted in the service cluster node list, so that the dynamic expansion and contraction of the service cluster are realized.
And the service registration and discovery module is used for sensing the online and offline states of the spatial information microservice and acquiring metadata of the spatial information microservice so as to realize registration of the spatial information microservice. It should be noted that, after the spatial information microservice is on line, the service can automatically connect and notify the ground information port spatial information service open platform to complete the discovery of the service, and detect the on-line state of the service through the heartbeat interface. After the service is on line, the meta-information of the service can be automatically registered in the open platform of the ground information port space information service so as to be inquired and called by management and calling personnel.
And the service monitoring module is used for monitoring the running state of the space information microservice and supporting the abnormal early warning function. It should be noted that the ground information harbor spatial information service open platform can automatically acquire monitoring information through the service monitoring interface, monitor resources consumed by the service, service performance and service reliability, and provide an early warning function.
And the task scheduling and managing module is used for receiving a task scheduling request of the space information microservice so as to allocate and schedule resources when the space information microservice is executed during service operation. It should be noted that the task scheduling and management module is configured to invoke the task scheduling module, so that when the service runs, the ground information port space information service open platform allocates and schedules resources when the task is executed. It should be noted that when the service is called, a task is started, and the resource of the task execution is allocated and scheduled by the ground information harbor space information service open platform.
And the message management module is used for receiving the message notification of the task execution state and the execution result of the space information microservice. It should be noted that the message management module is configured to invoke the message notification module to provide message notification of the task execution status and the execution result. It should be noted that, during service invocation and operation, corresponding task states and various events during task operation can be managed uniformly by the message management module of the ground information port space information service open platform, so as to realize pushing, recording and querying of messages.
According to the ground information harbor space information service open platform, the ground information harbor space information service open platform can interact with space information micro-service, and service calling and service management functions are realized. Moreover, the open platform of the spatial information service of the ground information port can realize the functions of automatic service discovery, service monitoring, reverse proxy supporting service execution, load balancing, task management, event notification and the like through five interfaces of the spatial information microservice, so that the operation of the spatial information service is more comprehensive and reliable.
As shown in fig. 5, according to an integration method of spatial information service according to an embodiment of the present invention, the method includes:
s201: providing a spatial information micro-service for realizing the operation and treatment of the spatial information service;
s202: and realizing the functions of calling, running and managing the service through the interaction between the ground information harbor space information service open platform and the space information micro-service.
According to the integration method for packaging the spatial information service, a service packager can quickly integrate the spatial information service through simple service packaging, and the open platform of the spatial information service of the ground information port can realize calling service operation and management functions through interaction with the spatial information micro-service, so that the operation of the spatial information service is more comprehensive and reliable.
According to some embodiments of the invention, the interaction between the open platform of the ground information harbor spatial information service and the spatial information microservice to realize the calling operation of the service and the service management function comprises:
when the service is on line, the space information micro-service is connected with the ground information port space information service open platform and registers the service in the ground information port space information service open platform. It should be noted that, when the service is online, the spatial information microservice may be connected to the ground information port spatial information service open platform through the service discovery interface, so that the ground information port spatial information service open platform automatically discovers the service. The open platform of the ground information port space information service can monitor the online state of the service through a heartbeat interface. After the service is on line, the meta-information of the service can be automatically registered in the open platform of the ground information port space information service so as to be inquired and called by management and calling personnel.
In some embodiments of the present invention, the interacting between the ground information harbor spatial information service open platform and the spatial information microservice to implement the calling operation of the service and the service management function further includes:
and the ground information harbor space information service open platform calls the space information micro-service to run, and monitors the running state of the service. It should be noted that the ground information harbor spatial information service open platform can automatically acquire the monitoring information of the service through the service monitoring interface to monitor the operation state of the service.
And when the service is in an abnormal state, providing early warning. The ground information harbor space information service open platform can monitor information such as resources consumed by service operation, service performance, service reliability and the like. The performance of the service can be evaluated by detecting the response time of the service, the maximum running time of the service, and the like, and the reliability of the service can be evaluated by detecting the error rate of the service, and the like. When the service is in an abnormal operation state, such as overlong response time of the service, error operation of the service and the like, early warning can be provided. The warning here may be a text prompt or provide an audible warning.
It should be noted that after the spatial information microservice is started, the space information microservice can be automatically connected to a ground information port spatial information service open platform, so as to implement functions of automatic service discovery, service registration, service monitoring and the like. The ground information harbor space information service open platform can dynamically call services through the service gateway and allocate resources during task scheduling execution through the task scheduling interface.
Therefore, a service packager can realize the time-consuming rapid service integration of the spatial information data processing and analyzing functions through simple service packaging, thereby providing a platform and a method for realizing spatial information service scheduling execution and service management, realizing the functions of automatic discovery, automatic registration, automatic scheduling, automatic monitoring and the like of the spatial information service, and providing more comprehensive and reliable guarantee for the operation of the spatial information service.
While the invention has been described in connection with specific embodiments thereof, it is to be understood that it is intended by the appended drawings and description that the invention may be embodied in other specific forms without departing from the spirit or scope of the invention.

Claims (8)

1. A space information micro-service packaging system for a ground information port is characterized in that the space information micro-service packaging system is used for packaging space information micro-services, and any packaged micro-service comprises:
the service encapsulation and release class library is used for providing the class library required by the operation and treatment of the micro service;
the spatial information algorithm module is used for storing an algorithm program required by the micro-service operation;
the service encapsulation code module is used for providing implementation codes for the micro-service operation;
the external interface is used for providing an interface for the micro-service operation and management for the ground information port space information service open platform;
the service encapsulation and release class library comprises: the service operation module is used for providing a class library to realize at least one of spatial information data access, spatial information data processing, task scheduling and message notification functions; the service operation module comprises:
the cloud data access module is used for accessing cloud data to acquire spatial information data;
the spatial information processing library module is used for processing the acquired spatial information data to provide data to be analyzed for the spatial information algorithm module;
the task scheduling module is used for starting a corresponding task when the service runs and receiving the resource allocation scheduling of the ground information harbor space information service open platform when the task is executed;
and the message notification module is used for providing message notification of the task execution state and the execution result.
2. The system for spatial information microservices for ground ports of information according to claim 1 wherein the service encapsulation and release class repository further comprising:
and the service administration module is used for providing a class library to realize at least one of service registration and service monitoring functions.
3. The spatial information microservice encapsulation system for a ground information port of claim 2, wherein the service administration module comprises:
the service registration module is used for informing the ground information harbor space information service opening platform when the space information micro service is on line so as to register the service by the ground information harbor space information service opening platform;
and the service monitoring module is used for providing a monitoring data acquisition function of the service and providing a running state of the ground information port space information service open platform monitoring service.
4. The spatial information microservice packaging system for ground information ports of claim 1, wherein the external interface comprises:
the service calling interface is used for providing a function of calling the micro service for the ground information port space information service open platform;
the system comprises a task management interface, a micro-service management interface and a micro-service management interface, wherein the task management interface is used for enabling a ground information harbor space information service open platform to perform a function of allocating and scheduling resources when a task is executed;
the message notification interface is used for providing a message notification function of the micro service for the open platform of the ground information harbor space information service;
the service discovery interface is used for providing sensing on-line and off-line states of the micro-service and realizing the micro-service registration function for a ground information port spatial information service open platform;
and the service monitoring interface is used for providing a function of monitoring the running state of the micro service for the ground information port space information service open platform.
5. A platform for opening spatial information service of a ground information port, which is used for calling the spatial information micro-service encapsulated by the spatial information micro-service encapsulation system for the ground information port according to any one of claims 1 to 4 to realize the operation and management of the service, and is characterized by comprising:
the service gateway is used for receiving the service calling request so as to dispatch the corresponding service and realize the calling of the service;
the service registration and discovery module is used for sensing the online and offline states of the spatial information microservice and acquiring metadata of the spatial information microservice so as to realize registration of the spatial information microservice;
the service monitoring module is used for monitoring the running state of the space information microservice and supporting an abnormal early warning function;
the task scheduling and managing module is used for receiving a task scheduling request of the space information microservice so as to distribute and schedule resources during task execution during service operation;
and the message management module is used for receiving the message notification of the task execution state and the execution result of the space information microservice.
6. An integration method of spatial information service, comprising:
packaging and providing a spatial information micro-service for realizing the operation and treatment of the spatial information service by using the spatial information micro-service packaging system for the ground information port according to any one of claims 1 to 4;
and realizing the functions of calling, running and managing the service through the interaction between the ground information harbor space information service open platform and the space information micro-service.
7. The method for integrating the spatial information service according to claim 6, wherein the ground information harbor spatial information service open platform interacting with the spatial information microservice to realize the calling operation and the service management function of the service comprises:
when the service is on line, the spatial information micro-service is connected with the ground information port spatial information service opening platform, and the service is registered in the ground information port spatial information service opening platform.
8. The method for integrating the spatial information service according to claim 6, wherein the land information harbor spatial information service open platform interacts with the spatial information microservice to implement the invoking operation and the service governance function of the service further comprises:
the ground information harbor space information service open platform calls the space information microservice to run, and monitors the running state of the service;
and when the service is in an abnormal state, providing early warning.
CN201910241684.7A 2019-03-28 2019-03-28 Space information micro-service packaging and service integration method for ground information port Active CN110099099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910241684.7A CN110099099B (en) 2019-03-28 2019-03-28 Space information micro-service packaging and service integration method for ground information port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910241684.7A CN110099099B (en) 2019-03-28 2019-03-28 Space information micro-service packaging and service integration method for ground information port

Publications (2)

Publication Number Publication Date
CN110099099A CN110099099A (en) 2019-08-06
CN110099099B true CN110099099B (en) 2021-11-16

Family

ID=67444045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910241684.7A Active CN110099099B (en) 2019-03-28 2019-03-28 Space information micro-service packaging and service integration method for ground information port

Country Status (1)

Country Link
CN (1) CN110099099B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110620815A (en) * 2019-09-12 2019-12-27 北京笔新互联网科技有限公司 Distributed micro-service system based on side car mode
CN111338618B (en) * 2020-02-17 2021-09-24 福州大学 Application scene driven Android application micro-service automatic generation method
CN111414187A (en) * 2020-03-25 2020-07-14 中国电子科技集团公司电子科学研究院 Service integration open platform and spatial information application method
CN111782259B (en) * 2020-06-24 2023-11-10 北京计算机技术及应用研究所 Reverse proxy-based microservice treatment method
CN112256351B (en) * 2020-10-26 2023-11-17 卫宁健康科技集团股份有限公司 Method for realizing Feign component, method and device for calling micro-service
CN112506709B (en) * 2020-12-16 2021-11-23 北京航天智造科技发展有限公司 Micro-service treatment method and device
CN112615666B (en) * 2020-12-19 2022-07-15 河南方达空间信息技术有限公司 Micro-service high-availability deployment method based on RabbitMQ and HAproxy
CN112511218B (en) * 2021-02-03 2021-05-25 航天恒星科技有限公司 Satellite ground station monitoring system based on microservice
CN113193976B (en) * 2021-03-05 2022-12-16 中国电子科技集团公司电子科学研究院 Heaven and earth integrated information network ground information port construction method
CN113268319A (en) * 2021-05-07 2021-08-17 中国电子科技集团公司第五十四研究所 Business process customization and distributed process scheduling method based on micro-service architecture
CN113783929A (en) * 2021-07-27 2021-12-10 武汉光庭信息技术股份有限公司 Method for realizing Web front-end micro-service architecture and architecture thereof
CN115103012B (en) * 2022-08-25 2022-11-01 中国电子科技集团公司第十五研究所 Geospatial information microservice integration system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293704A (en) * 2016-07-26 2017-01-04 北京北森云计算股份有限公司 Dynamic micro services edit methods, device and the server of multilingual cloud compiling
CN107566153A (en) * 2017-07-21 2018-01-09 哈尔滨工程大学 A kind of micro services implementation method of Self management
CN107612955A (en) * 2016-07-12 2018-01-19 深圳市远行科技股份有限公司 Micro services provide method, apparatus and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10516672B2 (en) * 2016-08-05 2019-12-24 Oracle International Corporation Service discovery for a multi-tenant identity and data security management cloud service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107612955A (en) * 2016-07-12 2018-01-19 深圳市远行科技股份有限公司 Micro services provide method, apparatus and system
CN106293704A (en) * 2016-07-26 2017-01-04 北京北森云计算股份有限公司 Dynamic micro services edit methods, device and the server of multilingual cloud compiling
CN107566153A (en) * 2017-07-21 2018-01-09 哈尔滨工程大学 A kind of micro services implementation method of Self management

Also Published As

Publication number Publication date
CN110099099A (en) 2019-08-06

Similar Documents

Publication Publication Date Title
CN110099099B (en) Space information micro-service packaging and service integration method for ground information port
CN110543537B (en) Intelligent planning space-time cloud GIS platform based on Docker container and micro-service architecture
EP2898638B1 (en) High performance data streaming
US8056091B2 (en) Systems and methods for using application services
US8903891B2 (en) User interface communication utilizing service request identification to manage service requests
CN109086301A (en) A kind of data management platform based on cloud computing
CN103810272A (en) Data processing method and system
Shu-Qing et al. The improvement of PaaS platform
US11695832B2 (en) Data search apparatus, and data search method and program thereof, and edge server and program thereof
De Benedetti et al. JarvSis: a distributed scheduler for IoT applications
CN110769018A (en) Message pushing method and device
Kurniawan et al. Service orchestration using enterprise service bus for real-time government executive dashboard system
Agarwal et al. Open service platforms for IoT
Großmann et al. SensIoT: an extensible and general Internet of Things monitoring framework
Wu et al. Geospatial data services within cloud computing environment
CN114500589A (en) Public service supporting platform for industrial internet identification analysis
Plale et al. Data provenance for preservation of digital geoscience data
CN113822557A (en) Data fusion management system, data fusion management device, electronic device, and medium
Grimme et al. Cooperative negotiation and scheduling of scientific workflows in the collaborative climate community data and processing grid
Wang et al. Design of satellite ground management system based on microservices
CN114844957B (en) Link message conversion method, device, equipment, storage medium and program product
CN115408344A (en) Log formatting method and device, electronic equipment and storage medium
Wang A Cloud Computing Based Supporting Technology for the Lightweight Application Service
Wang et al. A raspberry pi and lxc based distributed computing testbed
CN116450345A (en) Intelligent scheduling management system for product customization design resources

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant