A method for isolating and distributing geospatial microservices adapted to ogc standards
By optimizing the kernel-level network namespace mechanism and dynamic distribution links, the isolation and transmission issues of geospatial microservices in multi-tenant scenarios are resolved, achieving efficient and stable geospatial data transmission, which is suitable for multi-tenant shared resource environments such as government private networks.
Patent Information
- Application Number
- CN202611020719.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-09
- Publication Date
- 2026-11-24
AI Technical Summary
In multi-tenant scenarios, existing geospatial microservices lack adaptability in the isolation mechanism at the network transmission layer. This results in insufficient anti-attack capability of the isolation mechanism, weak adaptability of the distribution link to dynamic network environments, and low matching degree between transmission resource allocation and service level. Consequently, problems such as service risks spreading across tenants, service response timeouts during network fluctuations, and excessive retransmission overhead for large-size geospatial data transmission can easily occur.
A kernel-level network namespace mechanism is used to isolate network and memory access between microservice instances. Independent virtual network interfaces and customized access control policies are bound to different tenants. A dynamic distribution link covering source service nodes, edge transmission nodes and access terminals is constructed. The transmission priority of data packets is dynamically adjusted according to request attributes, terminal attributes and link status. An incremental transmission mechanism is used for fragmented transmission, and fragment integrity is verified in real time and non-blocking directed retransmission is performed.
It improves the isolation mechanism's ability to resist bypass in multi-tenant scenarios, reduces the security risks of unauthorized cross-tenant data access, reduces network overhead caused by redundant resource deployment, and improves the stability and efficiency of service transmission. It is suitable for various geographic information service application scenarios.
Smart Images

Figure CN123164064A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of geospatial microservice network transmission technology, and in particular to a geospatial microservice isolation and distribution method adapted to the OGC standard. Background Technology
[0002] Currently, geospatial services adapted to the OGC standard are widely used in various scenarios such as natural resource management, emergency command and dispatch, and public location services. Service deployment generally adopts a microservice architecture to provide standardized geographic information access capabilities to multiple types of access terminals and multiple tenant entities. As the service coverage expands and the number of access tenants and the scale of concurrent access continue to grow, the multi-tenant isolation and cross-regional distribution and transmission capabilities of geospatial microservices at the network layer are gradually becoming the core support affecting service availability, security and access experience. The industry generally needs a network transmission mechanism that takes into account isolation security, transmission adaptability and standard compatibility to support the stable operation of geospatial services in multi-tenant shared resource scenarios.
[0003] Currently, among the mainstream geospatial microservice deployment and transmission solutions, one type of solution uses physical isolation mode to allocate independent physical service hosts to different tenants. Traffic isolation between tenants is achieved through static access control lists of network switches. Service responses are transmitted directly from the source node to the access terminal via public network links. This type of solution has clear isolation boundaries, but the overall utilization efficiency of physical resources is low. When accessing across regions, the transmission path is long and the resistance to network fluctuations is weak. When data packets are lost during transmission, the complete response needs to be retransmitted, resulting in large bandwidth overhead.
[0004] Existing solutions generally focus on improving the processing efficiency of geospatial data itself. The design of isolation, scheduling, and distribution mechanisms at the network transmission layer lacks adaptation to the characteristics of geospatial microservices. In multi-tenant scenarios, the isolation mechanism has insufficient anti-attack capability, the distribution link has weak adaptability to dynamic network environments, and the allocation of transmission resources is not well matched with service levels. This can easily lead to problems such as the spread of service risks across tenants, service response timeouts during network fluctuations, and excessive retransmission overhead for large-size geospatial data. As a result, it is difficult to fully meet the stable operation requirements of OGC standard geospatial services in cross-network, high-concurrency, and multi-tenant scenarios. Summary of the Invention
[0005] This invention proposes a geospatial microservice isolation and distribution method adapted to the OGC standard to solve the problems mentioned in the prior art.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: a geospatial microservice isolation and distribution method adapted to the OGC standard, comprising the following steps: S1. Receive geospatial service requests that conform to the OGC standard protocol specifications sent by the access terminal through the communication network, perform compliance verification on the request source, eliminate malformed and untrusted requests, mark the legitimate requests with tenant identifiers and timestamp tags, and write them into the request flow queue that supports priority adjustment according to the scheduling rules. S2. Perform microservice isolation matching and scheduling on requests in the flow queue. Based on the service resource mapping table, match the microservice instance that corresponds to the service type of the request and adopts the kernel-level network namespace mechanism to achieve complete isolation of network and memory access between different tenant instances, and route the request to the corresponding instance. S3. Obtain the service response data packet generated by the microservice instance in response to the request, and attach a service origination identifier, integrity check code and initial transmission priority flag to each data packet; S4. Construct a dynamic distribution transmission link covering the source service node, edge transmission node and access terminal. Select the optimal edge distribution node according to the terminal network location and link status parameters, and fragment and package the response data packet according to the transmission priority mark. Use an incremental transmission mechanism adapted to the geospatial data characteristics to push the fragments to the access terminal one by one. During the transmission process, verify the fragment integrity in real time and perform non-blocking directed retransmission for lost fragments. S5. Receive all fragment reception confirmation information returned by the access end, clean up temporary cached data generated during the entire request flow, and update the instance load parameters and transmission quality profile of the service resource mapping table in combination with the processing latency and transmission quality indicators of this request, so as to provide data support for the routing and distribution decisions of subsequent requests.
[0007] Furthermore, during the request routing isolation process in step S2, independent virtual network interfaces are configured for the microservice isolation domains corresponding to different tenants. Each virtual network interface is bound to a unique tenant network identifier and a customized access control policy. The upper limit of the traffic bandwidth of the virtual network interface is dynamically configured according to the tenant's service level. All cross-isolation domain network traffic undergoes five-tuple verification and OGC service operation permission verification through a kernel-level traffic filtering engine. When the request operation type corresponding to the traffic is within the pre-authorized permission boundary of the tenant, traffic forwarding is performed. Traffic that fails the verification generates standardized security alarm logs and is synchronized to the global security management node.
[0008] Furthermore, during the data packet transmission process in step S4, the initial transmission priority flag of each response data packet is dynamically quantized and adjusted according to the requested service level, link state, and terminal trust attributes. The quantization calculation method is as follows: ; in, This represents the adjusted transmission priority quantization value for a single response data packet. This represents the service level agreement (SLP) weighting factor for the requesting tenant corresponding to the data packet. This indicates the geospatial data security protection weight corresponding to the request accessed by the data packet. This indicates the weight of the OGC service operation type corresponding to the request. This represents the trust level value of the access terminal's historical geospatial service access behavior. This indicates the time sensitivity level coefficient of the data packet. This represents the ratio of the average queuing delay of all forwarding nodes along the transmission path to the maximum queuing delay threshold allowed by the corresponding OGC service. This represents the ratio of the number of retransmissions triggered within the current transmission window to the average number of retransmissions for the same type of service. This represents the ratio of the size of a single data packet fragment to the maximum transmission unit (MTU) of the transmission link. This is the penalty adjustment factor for the link bit error rate. This represents the real-time bit error rate of the current transmission link.
[0009] Furthermore, the compliance verification process in step S1 involves verifying each field of the request message to ensure it conforms to the key-value pair encoding and extended markup language encoding formats specified by the OGC standard. Different encoding methods employ corresponding protocol parsing rules. The authentication token information carried in the request is extracted and connected to the global identity authentication service to complete the verification of token signature validity, permission scope, and validity period. Requests with format errors, invalid tokens, or expired tokens return a rejection response conforming to the OGC standard exception code format. Requests that pass the verification are written into the request flow queue in the order of arrival timestamps. The queue supports preemptive scheduling, and when the tenant's service level reaches a preset threshold, the corresponding request is inserted at the front of the queue.
[0010] Furthermore, in step S2, the kernel-level network namespace isolation mechanism is as follows: each microservice instance runs in an independent kernel namespace. Different namespaces isolate the network protocol stack, file system mount point, and process address space. The isolation domain synchronizes service status through a preset controlled message channel. The controlled message channel transmits instance load and running status management information, but does not transmit business request and response data. The controlled message channel uses end-to-end encrypted transmission of management information. Management messages are appended with message authentication codes. The network driver layer sets packet filtering rules. The packet filtering process does not go through the user-space protocol stack. The kernel layer packet filtering rules discard all uncontrolled network data packets.
[0011] Furthermore, the optimal edge distribution node selection process in step S4 involves real-time collection of the operating status and link parameters of all edge nodes covering the network area where the access terminal is located, and quantitative evaluation of the transmission adaptation capability of each candidate node. The quantitative calculation method is as follows: ; in This represents the overall link quality score of the candidate edge distribution nodes. This indicates the compatibility degree between the OGC service instance deployed on the candidate node and the OGC standard version required by the request. This indicates the probability that the corresponding requested service content is stored in the local cache of the candidate node. This indicates the matching value between the security level of the microservice isolation domain where the candidate node is located and the security protection level required by the tenant. This represents the ratio of the real-time available bandwidth of the link from the candidate node to the access terminal to the total bandwidth of the link. This represents the robustness coefficient of a candidate node to sudden traffic surges in geospatial services. This represents the ratio of the average round-trip time of the link from the candidate node to the source microservice instance to the historical minimum round-trip time along the same path. This indicates the proportion of the additional cross-domain routing overhead incurred by scheduling requests to candidate nodes relative to the total transmission overhead. This is a penalty index for latency and routing overhead.
[0012] Furthermore, in step S3, the process of the microservice instance generating the service response data packet is as follows: based on the spatial range parameters carried in the request, the corresponding range of geospatial vector features or raster features are extracted from the distributed spatial database; the feature coordinate projection transformation is completed according to the coordinate reference system specified in the request; and according to the request response format requirements, the transformed features are encapsulated into standard messages corresponding to network map service, network feature service, and network tile map service. The encapsulation process follows the OGC standard's feature attribute field specifications, coordinate system identification specifications, and abnormal response coding specifications.
[0013] Furthermore, in step S2, the access control policy for cross-isolated domain traffic is configured independently for each tenant. A list of accessible OGC service types, a list of operable spatial data layers, and a spatial range whitelist are configured for each tenant. The spatial range whitelist uses the OGC standard geographic coordinate range description format and supports configurations for administrative regions, natural geographic boundaries, and custom irregular ranges. Whitelist matching is completed through a multi-level grid spatial index. The traffic filtering engine sequentially matches the three types of whitelist rules for cross-domain requests. When the requested service type is not in the authorized list, the requested layer has no access authorization, or the requested spatial range exceeds the whitelist boundary, the corresponding traffic is blocked, and the network address of the traffic source, the core parameters of the request, and the reason for the blocking are collected and stored in the global audit log library.
[0014] Furthermore, the fragmentation and incremental transmission process in step S4 involves logically fragmenting the response data packet according to the natural boundaries of geospatial elements and tile block boundaries. Each fragment carries a fragment sequence number, element or tile identifier, and a 32-bit cyclic redundancy check value. An adaptive sliding window mechanism is used to control the fragmentation transmission rate, and the window size is dynamically adjusted based on the real-time link bandwidth and packet loss rate. After receiving the fragment, the receiving end returns an acknowledgment message with the corresponding sequence number. The acknowledgment waiting time is dynamically calculated based on the link round-trip time. Selective retransmission is performed on fragments that exceed the acknowledgment waiting time and have not received an acknowledgment.
[0015] Furthermore, the temporary cache cleanup and transmission quality profile update process in step S5 is as follows: after receiving all fragmented reception confirmation messages sent by the access end, calculate the end-to-end processing latency, one-time transmission success rate, and service instance resource utilization rate indicators; update the indicators to the service resource mapping table and link quality database according to the time sliding window dimension, dynamically adjust the size of the time sliding window, configure independent update weights for the link quality parameters of different network areas, and clean up the temporary data of this request stored in the flow queue, microservice instance memory cache, and edge node content cache node node by node. The cache cleanup adopts a node-by-node asynchronous execution method.
[0016] Compared with existing technologies, the beneficial effects of this invention are: By implementing a kernel-level network namespace mechanism to isolate network and memory access between microservice instances, and binding independent virtual network interfaces and customized access control policies to the isolation domains of different tenants, cross-domain traffic verification and filtering are implemented at the kernel driver layer. In scenarios where multiple tenants share physical service resources, unauthorized network access paths between microservice instances of different tenants can be blocked. This prevents service anomalies and malicious code attacks within a single isolation domain from spreading to service instances of other tenants through the network side. Compared with traditional user-space isolation solutions, this improves the anti-bypass capability of the isolation mechanism, reduces the security risks of unauthorized data access across tenants, and meets isolation security requirements without configuring an independent physical host for each tenant, reducing the additional network overhead caused by redundant resource deployment.
[0017] By constructing a dynamic distribution link covering source service nodes, edge transmission nodes, and access terminals, and selecting the most suitable edge distribution node based on multi-dimensional parameters such as node standard compatibility, cache hit rate, security matching degree, link bandwidth, and anti-burst capability, the transmission priority of data packets is dynamically adjusted according to request attributes, terminal attributes, and link status. Data packets are fragmented according to the natural boundaries of geospatial elements. Combined with adaptive sliding window control of the sending rate and execution of fragment-level non-blocking directed retransmission, the transmission strategy can be adjusted according to the real-time network operation status, so that service responses with different security levels and different time requirements can obtain matching transmission resources. This reduces the overhead of whole packet retransmission in the transmission process of large-size geospatial service responses, reduces the impact of link congestion and network fluctuations on the service access process, and improves the stability of service transmission in cross-network environments.
[0018] Through a full-link transmission quality feedback mechanism, the service resource mapping table and link quality profile are updated after each request is completed, based on indicators such as processing latency and transmission success rate. Temporary cached data on all links is also cleared asynchronously. This allows subsequent request routing and node selection decisions to better reflect the actual network operation status, ensuring the reasonable allocation of network resources in high-concurrency scenarios. At the same time, the entire request processing, isolation, and distribution process fully complies with the OGC standard protocol specifications, and can be adapted without modifying existing OGC-compatible geographic information clients. It can cover the geospatial microservice access needs of different access environments such as fixed broadband and mobile networks, and is suitable for various geographic information service application scenarios. Attached Figure Description
[0019] Figure 1 This is an overall flowchart of a geospatial microservice isolation and distribution method adapted to the OGC standard proposed in this invention; Figure 2 This is a flowchart illustrating the geospatial request compliance verification and multi-tenant microservice network isolation routing process of this invention. Figure 3 This is a flowchart of the optimal edge distribution node quantization evaluation and dynamic adjustment of transmission priority in this invention; Figure 4 This is a flowchart of the adaptive incremental transmission and feedback profile update process for geospatial elements in this invention. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.
[0022] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified. Furthermore, the terms "installed," "connected," and "linked" should be interpreted broadly; for example, they may refer to a fixed connection, a detachable connection, or an integral connection; they may refer to a mechanical connection or an electrical connection; they may refer to a direct connection or an indirect connection through an intermediate medium; and they may refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances. The invention will now be described in further detail with reference to the accompanying drawings.
[0023] Reference Figures 1 to 4 A geospatial microservice isolation and distribution method adapted to the OGC standard includes the following steps: S1. Receive geospatial service requests that conform to the OGC standard protocol specifications sent by the access terminal through the communication network, perform compliance verification on the request source, eliminate malformed and untrusted requests, mark the legitimate requests with tenant identifiers and timestamp tags, and write them into the request flow queue that supports priority adjustment according to the scheduling rules. S2. Perform microservice isolation matching and scheduling on requests in the flow queue. Based on the service resource mapping table, match the microservice instance that corresponds to the service type of the request and adopts the kernel-level network namespace mechanism to achieve complete isolation of network and memory access between different tenant instances, and route the request to the corresponding instance. S3. Obtain the service response data packet generated by the microservice instance in response to the request, and attach a service origination identifier, integrity check code and initial transmission priority flag to each data packet; S4. Construct a dynamic distribution transmission link covering the source service node, edge transmission node and access terminal. Select the optimal edge distribution node according to the terminal network location and link status parameters, and fragment and package the response data packet according to the transmission priority mark. Use an incremental transmission mechanism adapted to the geospatial data characteristics to push the fragments to the access terminal one by one. During the transmission process, verify the fragment integrity in real time and perform non-blocking directed retransmission for lost fragments. S5. Receive all fragment reception confirmation information returned by the access end, clean up temporary cached data generated during the entire request flow, and update the instance load parameters and transmission quality profile of the service resource mapping table in combination with the processing latency and transmission quality indicators of this request, so as to provide data support for the routing and distribution decisions of subsequent requests.
[0024] This invention also includes configuring independent virtual network interfaces for microservice isolation domains corresponding to different tenants during the request routing isolation process in step S2. Each virtual network interface is bound to a unique tenant network identifier and a customized access control policy. The traffic bandwidth limit of the virtual network interface can be dynamically configured according to the service level of the tenant to avoid a sudden large traffic volume of a single tenant occupying all network bandwidth and affecting the normal access of other tenants' services. All network traffic across isolation domains must pass the five-tuple verification and OGC service operation permission verification of the kernel-level traffic filtering engine. Traffic forwarding is only allowed when the request operation type corresponding to the traffic is within the pre-authorized permission boundary of the tenant. Standardized security alarm logs are generated for traffic that fails the verification and synchronized to the global security management node to realize fine-grained network access control between microservice isolation domains.
[0025] In this invention, during the data packet transmission process in step S4, the initial transmission priority flag of each response data packet is dynamically quantized and adjusted according to the requested service level, link state, and terminal trust attributes. The quantization calculation method is as follows: ; in This represents the adjusted transmission priority quantization value for a single response data packet. It is a dimensionless value; a higher value indicates a higher transmission scheduling priority. This represents the service level agreement (SLA) weighting factor for the requesting tenant corresponding to the data packet. It is a dimensionless parameter ranging from 0 to 1, with an initial value configured according to the tenant's SLA and dynamically adjusted subsequently based on the tenant's historical service performance. This represents the geospatial data security protection weight corresponding to the data packet's request. It is a dimensionless parameter ranging from 0 to 1, with higher data sensitivity levels corresponding to larger weight values. This represents the weight of the OGC service operation type corresponding to the request. It is a dimensionless parameter, and gradient weight values are set for transactional operations involving data modification, emergency support query operations, and regular browsing query operations. This represents the trust level value of the access terminal's historical geospatial service access behavior. It is a dimensionless parameter ranging from 0 to 1, calculated by combining the access terminal's historical access permission compliance and anomaly detection behavior records. This represents the time sensitivity level coefficient of the data packet, a dimensionless parameter ranging from 0 to 1. Corresponding level values are set for real-time dynamic data, emergency support data, and static archived data. This represents the ratio of the average queuing delay of all forwarding nodes along the transmission path to the maximum allowed queuing delay threshold for the corresponding OGC service; it is a dimensionless parameter. This represents the ratio of the number of retransmissions triggered within the current transmission window to the average number of retransmissions for the same type of service; it is a dimensionless parameter. This represents the ratio of the size of a single data packet fragment to the maximum transmission unit (MTU) of the transmission link; it is a dimensionless parameter. Here, represents the penalty adjustment coefficient for the link bit error rate, and represents a dimensionless fixed value obtained after system calibration. The real-time bit error rate of the current transmission link is a dimensionless parameter with a value between 0 and 1. Priority adjustment is completed through nonlinear fusion of multi-dimensional attributes. High-priority data packets are allocated link bandwidth resources and forwarding time slots first to avoid transmission timeouts when carrying high-time-sensitive and high-sensitivity geospatial service responses.
[0026] In this invention, the compliance verification process in step S1 specifically involves verifying whether the request message conforms to the key-value pair encoding or extended markup language encoding format requirements defined by the OGC standard, adopting corresponding protocol parsing rules for different encoding methods to avoid legitimate requests being mistakenly intercepted due to encoding format compatibility issues, extracting the authentication token information carried in the request and connecting to the global identity authentication service to complete the verification of token signature validity, permission scope, and validity period, and directly returning a rejection response conforming to the OGC standard exception code format for requests with format errors, invalid tokens, or expired tokens, and writing the verified requests into the request flow queue in the order of arrival timestamps. The queue supports preemptive scheduling of high-priority requests. When a tenant's service level reaches a preset threshold, its sent requests can be inserted into the front of the queue to obtain scheduling resources first, avoiding long queue waiting times for urgent requests from high-level users.
[0027] In this invention, the kernel-level network namespace isolation mechanism used in step S2 is as follows: each microservice instance runs in an independent kernel namespace. The network protocol stack, file system mount point, and process address space between different namespaces are completely logically isolated. Necessary service status synchronization communication between isolated domains is only completed through predefined controlled message channels. The communication content only includes management information such as instance load and running status, and does not carry any business request or response data. The controlled message channels use end-to-end encrypted transmission to carry management information. All management messages are attached with message authentication codes to ensure integrity and prevent attackers from breaking through the isolation boundary by tampering with management messages. Packet filtering rules are implemented at the network driver layer. The filtering process does not need to go through the user-space protocol stack. The forwarding latency is low and cannot be bypassed by malicious programs running in user space. All uncontrolled network packets are directly discarded by the packet filtering rules configured at the kernel layer. This prevents different tenant microservice instances running on the same physical host from illegally stealing data through side-channel network paths. It ensures that service crashes and malicious code attacks occurring in a single isolated domain will not spread to microservice instances in other isolated domains through the network, thus ensuring the independence and security of geospatial microservice operation in multi-tenant shared scenarios.
[0028] In this invention, the optimal edge distribution node selection process in step S4 specifically involves real-time collection of the operating status and link parameters of all edge nodes covering the network area where the access terminal is located, and quantitative evaluation of the transmission adaptation capability of each candidate node. The quantitative calculation method is as follows: ; in This represents the overall link quality score of the candidate edge distribution node. It is a dimensionless value, and the higher the value, the more suitable the node is for the distribution requirements of the current request. This indicates the compatibility match between the OGC service instances deployed on the candidate node and the OGC standard version required by the request. It is a dimensionless parameter ranging from 0 to 1. The match degree is calculated based on the overlap ratio between the OGC service types supported by the node, the coordinate reference series table, the response format range, and the request requirements. This represents the probability that the corresponding requested service content is stored in the local cache of the candidate node. It is a dimensionless parameter ranging from 0 to 1. The probability value is calculated by combining the historical response records of requests within the same spatial range and layer within the node's most recent time window. This represents the matching value between the security level of the microservice isolation domain where the candidate node resides and the security protection level required by the tenant. It is a dimensionless parameter ranging from 0 to 1. A higher matching value indicates that the node isolation mechanism better meets the tenant's data security isolation requirements. This represents the ratio of the real-time available bandwidth of the link from the candidate node to the access terminal to the total bandwidth of the link. It is a dimensionless parameter. This represents the robustness coefficient of a candidate node in response to sudden surges in geospatial service traffic. It is a dimensionless parameter ranging from 0 to 1, and the coefficient value is calculated by combining the node's historical service availability and latency jitter when facing traffic surge scenarios. This represents the ratio of the average round-trip time of the link from the candidate node to the source microservice instance to the historical minimum round-trip time along the same path. It is a dimensionless parameter. This represents the proportion of the additional cross-domain routing overhead incurred by scheduling requests to candidate nodes relative to the total transmission overhead; it is a dimensionless parameter. The penalty index for latency and routing overhead is a dimensionless fixed value obtained after system calibration. Node scoring and ranking are completed through nonlinear quantization of multi-dimensional adaptability. Based on the scoring results, the node with the highest score is selected as the exit node for this response distribution. During the transmission process, the quality score changes of all candidate nodes are continuously monitored. When the score of the currently used node is lower than the preset switching threshold, the transmission link is automatically and smoothly switched to the backup node with a higher score to ensure the continuity and stability of the distribution process.
[0029] In this invention, the process of generating service response data packets by the microservice instance in step S3 specifically involves: following the OGC standard specifications to complete the range clipping, coordinate projection transformation, and format encapsulation of the geospatial data corresponding to the request; extracting the corresponding range of geospatial vectors or raster features from the underlying distributed spatial database according to the spatial range parameters carried in the request; completing the projection transformation and accuracy adaptation of the feature coordinates according to the coordinate reference system specified in the request; and encapsulating the transformed features into standard format messages corresponding to network map services, network feature services, or network tile map services according to the response format requirements of the request. The encapsulation process strictly follows the feature attribute field specifications, coordinate system identification specifications, and abnormal response coding specifications defined by the OGC standard to ensure that the generated response data packets can be normally parsed and displayed by all OGC standard-compatible geographic information clients.
[0030] In this invention, the access control policy for cross-isolated domain traffic in step S2 is configured using the principle of least privilege. For each tenant, a list of accessible OGC service types, a list of operable spatial data layers, and a whitelist of requestable spatial ranges are set. The spatial range whitelist uses a geographic coordinate range description format consistent with the OGC standard, supporting configuration by administrative region, natural geographic boundary, or custom irregular range. The whitelist matching process uses a multi-level grid spatial index to accelerate calculations, avoiding the high latency caused by point-by-point geometric judgment that affects traffic forwarding efficiency. The traffic filtering engine matches each cross-domain request with the three whitelist rules sequentially. Traffic requesting a service type not in the authorized list, requesting a layer without access authorization, or requesting a spatial range exceeding the whitelist boundary is directly blocked. Simultaneously, the source network address, request core parameters, and blocking reason of the traffic are recorded and stored in the global audit log library. The audit log uses a write-protected storage method; once written, the log cannot be tampered with or deleted, meeting the audit requirements of network security level protection. This allows security administrators to perform post-event tracing and compliance auditing of all cross-isolated domain access events.
[0031] In this invention, the fragmentation and incremental transmission process in step S4 specifically involves logically fragmenting the response data packet according to the natural boundaries of geospatial elements and tile boundaries. Each fragment carries an independent fragment sequence number, element or tile identifier, and a 32-bit cyclic redundancy check value. During transmission, an adaptive sliding window mechanism is used to control the fragmentation transmission rate. The window size is dynamically adjusted according to the real-time link bandwidth and packet loss rate, supporting adaptive adaptation of transmission parameters between links of different network types to avoid transmission interruptions caused by link switching. The receiving end returns an acknowledgment message with the corresponding sequence number for each fragment received. The sending end only performs selective retransmission on fragments that have not received acknowledgment after exceeding the dynamically calculated acknowledgment waiting time, without retransmitting the entire response data packet. The acknowledgment waiting time is dynamically calculated based on the round-trip time of the current link, avoiding increased retransmission delay or unnecessary retransmissions caused by unreasonable fixed waiting time settings, and significantly reducing the transmission bandwidth consumption and end-to-end retransmission delay of large-size geospatial service responses.
[0032] In this invention, the temporary cache cleanup and transmission quality profile update process in step S5 specifically involves the following steps: After receiving all fragmented reception confirmation messages returned by the access end, the end-to-end processing latency, one-time transmission success rate, and service instance resource utilization rate of this request from access verification, routing scheduling, service processing to transmission completion are calculated. The calculated indicators are then updated to the service resource mapping table and the link quality database according to the time sliding window dimension. The size of the time sliding window is dynamically adjusted according to network traffic fluctuations. During periods of stable traffic, the window is increased to improve statistical stability, while during periods of large traffic fluctuations, the window is decreased to improve parameter update sensitivity. Independent update weights are set for the link quality parameters of different network regions to reflect the differences in transmission characteristics of different access networks. At the same time, the temporary request and response data stored in the flow queue, microservice instance memory cache, and edge node content cache of this request are cleaned up node by node. The cache cleanup process adopts a node-by-node asynchronous execution method to avoid synchronous cleanup operations occupying too many resources and affecting the processing of normal requests. The occupied network bandwidth, computing, and storage resources are released in a timely manner for subsequent geospatial service requests to use, ensuring the resource utilization efficiency and service response capability of the system in high-concurrency scenarios.
[0033] This method is deployed in a distributed network environment consisting of a general-purpose service host, edge network nodes, and various access terminals. All node operating systems support kernel-level namespace configuration, inter-node communication follows standard network protocols, and the geospatial services provided are fully compatible with the service standards developed by the Open Geospatial Information Consortium (IGCIC). During implementation, all aspects involving user information collection and data access comply with relevant laws and regulations on personal information protection. Only the minimum necessary information for service scheduling and security verification is collected, and explicit authorization from the relevant entity is obtained before collection. All scheduling decisions are based on objective parameters such as service quality, security level, and network status, and there is no discriminatory configuration based on individual identity attributes, thus meeting technical ethics requirements.
[0034] Example 1: This embodiment is applied to a government intranet environment, with access points being the office terminals and business systems of various government departments. The geospatial data carried by the service includes various compliant and authorized geographic information resources such as basic geographic layers, government thematic layers, and emergency support layers. During service operation, the system first receives geospatial service requests compliant with OGC standard protocol specifications sent by access points transmitted through the government intranet and performs compliance verification on the requests. The verification process checks the encoding format of the request message field by field. For GET requests, key-value pair parsing rules are used to verify parameter integrity, and for POST requests, extended markup language parsing rules are used to verify structural legality, avoiding the interception of legitimate requests due to encoding adaptation issues. The system extracts the authentication token information carried in the request, connects to the uniformly deployed identity authentication service within the intranet, and completes the verification of token signature validity, permission coverage, and validity period. For requests with format errors, invalid tokens, or expired tokens, a rejection response conforming to the OGC standard exception code format is directly returned. The tenant identity and terminal network attribute information collected during all verification processes are only used for permission verification and are not used for other unrelated purposes. Requests that pass verification are tagged with the tenant identifier of the corresponding government department and the request arrival timestamp. They are then written into a request flow queue that supports dynamic priority adjustment according to preset scheduling rules. The queue supports preemptive scheduling of high-priority requests. Urgent requests involving emergency command and disaster response can be directly inserted into the front end of the queue to obtain processing resources first.
[0035] While a request awaits scheduling in the queue, the system performs microservice isolation matching and scheduling on the pending requests in the flow queue. The scheduling process relies on a continuously updated service resource mapping table, which records the service type, isolation domain identifier, real-time load value, security protection level, and supported OGC standard version information for all running microservice instances. The system matches the microservice instance pool corresponding to the service type of the current request, and selects the optimal instance to complete the request routing based on the spatial scope granularity of the request, the real-time load of instances in the pool, and the instance isolation security level parameters. All microservice instances are deployed using a kernel-level network namespace mechanism. Each instance runs in an independent kernel namespace, and the network protocol stack, file system mount point, and process address space between different namespaces are completely logically isolated. Isolation domains only transmit instance load and runtime status management information through pre-configured encrypted controlled message channels. These channels do not carry any business request or response data, and all control messages are appended with message authentication codes to prevent content tampering. Cross-isolation domain packet filtering rules are deployed directly at the network driver layer. The filtering process does not need to go through the user-space protocol stack, and all uncontrolled network packets are directly discarded to prevent malicious user-space programs from bypassing the filtering rules. The system configures an independent virtual network interface for each government tenant's corresponding isolation domain. Each interface is bound to a unique tenant network identifier and a customized access control policy. The interface's bandwidth limit is dynamically configured based on the tenant's service level, reserving dedicated bandwidth resources for emergency support tenants to prevent sudden surges in traffic from crowding out other tenants' available bandwidth. All network traffic across isolation domains must undergo kernel-level traffic filtering engine verification using a five-tuple check and OGC service operation permission verification. Forwarding is only permitted when the operation type, access layer, and spatial range corresponding to the traffic are all within the tenant's authorized boundaries. Access control policies are configured according to the principle of least privilege, setting up a whitelist of accessible OGC service types, operable spatial data layers, and requestable spatial ranges for each tenant. The whitelist uses a coordinate format consistent with the OGC standard and supports defining authorized areas by administrative boundaries, natural geographical boundaries, and custom ranges. Whitelist matching uses a multi-level grid spatial index to accelerate calculations and reduce forwarding latency caused by rule matching. Traffic that fails verification will trigger a standardized security alarm. The alarm information will be synchronized to the global security management node. All cross-domain access records will be stored in a write-protected audit log library. Once written, the logs cannot be tampered with or deleted, thus meeting the audit requirements of network security level protection.
[0036] After the request is routed to the target microservice instance, the system obtains the service response data packet generated by the instance in response to the request. When generating the response, the instance strictly adheres to OGC standards. First, it extracts vector or raster features corresponding to the requested spatial range from the distributed spatial database. Then, it performs projection transformation and accuracy adaptation according to the coordinate reference system specified in the request, supporting various common coordinate reference system conversions. The accuracy adaptation process considers the display resolution of the access terminal to determine the data output accuracy, avoiding the transmission of redundant data exceeding display requirements. After the transformation, the instance encapsulates the features into standard messages corresponding to network map services, network feature services, and network tile map services, according to the response format specified in the request. It supports Common Geomarking Language (CGLIL), Keyhole Markup Language (KML), and common image format output, ensuring that the response can be correctly parsed by all clients compatible with OGC standards. After encapsulation, the system adds an immutable service origination identifier, a 32-bit cyclic redundancy checksum, and an initial transmission priority flag to each response data packet.
[0037] After the response is generated, the system constructs a dynamic distribution transmission link covering the source service node, private network edge transmission node, and access terminal. The optimal edge distribution node is selected based on the terminal's network location and real-time link status. During the node selection process, the system collects the operating parameters of all candidate edge nodes covering the network area where the access terminal is located in real time. It comprehensively evaluates the node's adaptability across dimensions such as standard version compatibility, local cache hit probability, isolation domain security matching degree, link available bandwidth ratio, robustness in handling sudden traffic surges, link round-trip latency, and cross-domain routing overhead. The node with the highest adaptability is selected as the response distribution exit. During transmission, the system dynamically adjusts the transmission priority of each data packet based on parameters such as tenant service level, data security protection requirements, service operation type, terminal historical access trust level, data time sensitivity level, node queuing latency, retransmission count, fragment size, and link real-time bit error rate. High-priority data packets are allocated link bandwidth and forwarding slots preferentially. The system logically fragments response data packets according to the natural boundaries of geospatial elements and tile boundaries. Each fragment carries an independent sequence number, element identifier, and checksum. An adaptive sliding window mechanism controls the fragment transmission rate, with the window size dynamically adjusted based on real-time link bandwidth and packet loss rate. The receiving end returns a corresponding acknowledgment message upon receiving each fragment. The system selectively retransmits fragments that have not received acknowledgment after a dynamic waiting time, without retransmitting the complete response packet. The retransmission waiting time is dynamically calculated based on the current link round-trip time. During transmission, the system continuously monitors the adaptability changes of all candidate nodes. When the adaptability of the current egress node falls below the switching threshold, the transmission link is automatically and smoothly switched to a backup node with higher adaptability, ensuring transmission continuity.
[0038] After receiving all fragment reception confirmation information from the access end, the system asynchronously cleans up temporary data retained in the queue cache, instance memory, and edge node storage during the request flow, releasing computing, storage, and bandwidth resources in a timely manner. Simultaneously, it calculates the end-to-end processing latency, first-pass success rate, and instance resource utilization rate for this request. The system updates the service resource mapping table and link quality database according to a time-sliding window. The sliding window size is dynamically adjusted based on private network traffic fluctuations; the window size is increased during periods of stable traffic to improve statistical stability, and decreased during periods of traffic fluctuation to improve parameter sensitivity. Independent update weights are set for link parameters in different network regions to accurately reflect the transmission characteristics of different access links, providing support for subsequent request scheduling.
[0039] This embodiment addresses the application scenario of multi-tenant shared geospatial services on a government private network. Through kernel-level namespace isolation and driver-layer traffic filtering mechanisms, it blocks unauthorized access paths between different tenant instances while multiple departments share physical service resources. This reduces the possibility of single-node security risks spreading across tenants, improving the protection mechanism's bypass resistance compared to traditional user-space isolation schemes. It meets security isolation requirements without requiring the deployment of independent physical service clusters for each department, reducing the additional network forwarding overhead caused by redundant deployments. The dynamic edge node selection and priority transmission mechanism adapts to the real-time status of different links on the private network, matching sufficient transmission resources for emergency support services. Segmented selective retransmission reduces bandwidth overhead for large-size geospatial data transmission, minimizing the impact of network fluctuations on service access. The end-to-end quality feedback mechanism ensures that routing and scheduling decisions are more aligned with the actual network operation. It is fully compatible with OGC standards and can be adapted without modifying existing government geospatial information clients, supporting the stable operation of various geospatial services in government scenarios.
[0040] Example 2: This embodiment is applied to a public internet environment. Access points include mobile and desktop terminals of public users, as well as business systems of various industry application service providers. The data carried by the service includes publicly available basic geographic layers, commercially authorized thematic layers, and public service location layers—geographic information resources that can be distributed over the public internet. During service operation, the system first receives geospatial service requests compliant with OGC standard protocol specifications sent by access points transmitted via the public internet, and performs compliance verification on the requests. In addition to verifying the request encoding format and parameter integrity according to standard rules, the verification process adds abnormal request identification logic. Malicious requests with a large number of repeated requests within a short period or carrying injection attack characteristics are directly rejected to prevent malicious requests from consuming service resources. The system extracts the authentication token carried in the request to complete identity verification. Anonymous access to public layers is granted to public users without a token, while access permissions are verified for industry users according to their authorized scope. All terminal network identifiers and user identity information collected during the verification process are explicitly authorized by the subject in advance and are used only for security verification and service scheduling. No sensitive personal information unrelated to the service is collected. All scheduling rules are based on objective network conditions and service level parameters, and differentiated service strategies are not set based on individual user attributes unrelated to the service, ensuring service fairness. Requests that pass verification are marked with a tenant identifier and arrival timestamp, and written into the request flow queue. Requests involving public disaster warnings and emergency location assistance automatically receive the highest preemption priority and are given priority in obtaining scheduling resources.
[0041] The request scheduling process relies on a real-time updated service resource mapping table. This table uses a distributed architecture to store instance status information, reducing lookup latency in high-concurrency scenarios. The system allocates an independent microservice isolation instance to each public network tenant. These instances are also deployed within the kernel-level network namespace for logical isolation. Each tenant's isolation domain is configured with an independent virtual network interface, with interface bandwidth dynamically configured based on the tenant's service level. Access traffic from public users is allocated bandwidth using a fair sharing mechanism, while access traffic from paid industry users is guaranteed dedicated bandwidth to prevent a single high-traffic user from crowding out other users' normal access resources. In addition to basic five-tuple verification and operation permission verification, cross-isolation domain traffic filtering adds abnormal traffic baseline detection logic, automatically blocking and generating alarms for abnormal traffic sending a large number of probe packets to other isolation domains within a short period. Access control policies are configured according to the principle of least privilege. Anonymous public users can only access publicly accessible geographic layers without sensitive content. Industry users are configured with accessible layers and spatial ranges according to the authorization agreement. Whitelist matching also uses a multi-level grid spatial index to improve forwarding efficiency. All cross-domain access records are encrypted and stored in an audit log database, meeting the security audit requirements of public network services. The system selects the optimal microservice instance based on the request service type, instance real-time load, and isolation security level, and routes the request to the target instance for processing.
[0042] After the request routing is completed, the system obtains the service response data packet generated by the microservice instance. When generating the response, the instance fully considers the diverse types of public network terminals and the significant differences in network environments. It automatically adapts the data precision based on the device type, display resolution, and current network type reported by the access terminal. For terminals accessing via mobile networks, it automatically matches and adapts the data to the low-to-medium precision displayed on the mobile device. For terminals accessing via fixed broadband, it returns the corresponding data according to the requested precision. Projection transformation supports various commonly used coordinate reference systems, and response encapsulation covers all mainstream OGC service types and data formats, ensuring that different types of public network geographic information clients can correctly parse the response content. After encapsulation, the system adds an encrypted service origination identifier, integrity check code, and initial transmission priority marker to each response data packet to prevent the response from being tampered with or forged during public network transmission.
[0043] After the response is generated, the system constructs a full-domain distribution transmission link covering the source service node, operator edge computing nodes, and access terminals, selecting the optimal edge distribution node to undertake the response forwarding task. In addition to basic evaluations of compatibility, cache hit rate, security matching, bandwidth, robustness, latency, and routing overhead parameters, the node selection process also considers the matching degree between the node and the operator network of the access terminal, prioritizing nodes within the same operator network to undertake the distribution task, reducing the additional latency caused by cross-operator network interconnection. During transmission, the transmission priority of each data packet is dynamically adjusted. Disaster warnings and emergency assistance responses are automatically elevated to the highest transmission priority, while ordinary public browsing requests are allocated bandwidth resources according to fair principles. The fragmented transmission process takes into account the large fluctuations of public networks, dynamically adjusting the fragment size according to the current network type. Smaller fragment sizes are used in mobile network environments to reduce the amount of retransmitted data caused by single fragment loss. The adaptive sliding window adjustment sensitivity is higher than in private network scenarios, quickly adapting to the rapid bandwidth changes of mobile networks. The retransmission waiting time is dynamically adjusted based on the real-time round-trip latency of the link, avoiding unnecessary retransmissions or excessively long waiting times caused by fixed duration settings. The transmission process supports smooth handover across networks. When an access terminal switches from a mobile network to a fixed broadband network or a base station handover occurs, the system automatically binds the transmission path to the new network link, completing the transmission of the remaining fragments without requiring the terminal to re-initiate a request. The system continuously monitors the adaptability of candidate nodes during transmission and smoothly switches the exit node when necessary, avoiding transmission interruptions due to single points of failure.
[0044] After receiving confirmation messages from all fragments, the system employs an asynchronous cleanup mechanism to clear temporary cached data retained across the entire link node by node. In high-concurrency scenarios, cached data whose retention time exceeds a threshold is prioritized for cleanup to ensure sufficient memory and storage resources for each node. Simultaneously, the system calculates metrics such as end-to-end processing latency, first-pass success rate, and resource utilization. It updates the service resource mapping table and link quality profile using a time-sliding window adapted to public network traffic characteristics. In public network scenarios, the sliding window adjustment is more sensitive, enabling rapid response to changes in link quality and traffic distribution, providing accurate data support for subsequent request routing and node selection.
[0045] This embodiment addresses application scenarios characterized by high concurrency, complex network environments, and diverse terminal types on the public internet. Its kernel-level isolation mechanism supports large-scale tenant sharing of physical service resources, ensuring isolation security even with a significant increase in the number of tenants and preventing the transmission of security risks across tenants. Dynamic bandwidth configuration of virtual interfaces caters to the service experience of users at different levels, preventing a decline in overall service availability due to sudden traffic surges. Edge node selection, dynamic fragmentation, adaptive transmission, and link switching mechanisms adapted to public network characteristics can handle common public network transmission issues such as mobile network fluctuations, cross-carrier interoperability, and network switching, reducing the probability of transmission interruptions and retransmission overhead, and ensuring a good service access experience under different network environments. The end-to-end quality feedback mechanism can quickly respond to dynamic changes in public network traffic, improving resource utilization efficiency in high-concurrency scenarios. It is fully compatible with OGC standards, supporting the stable operation of various public location services and industry geographic applications, and adapting to the complex and diverse access requirements of the public internet.
[0046] Reference Figure 1 This diagram illustrates the complete closed-loop process of geospatial service requests, from reception and isolation routing to final incremental distribution and profile updates. The system first receives requests from clients conforming to the Open Geospatial Consortium (OGC) standards, performs fine-grained compliance checks, eliminates malicious or malformed packets, and sends legitimate requests to a priority-adjustable flow queue by attaching tenant tags and timestamps. Next, the system invokes the microservice isolation matching and scheduling mechanism, utilizing kernel-level network namespaces to distribute requests from different tenants to fully isolated microservice instances. After completing spatial data processing, the microservice instances generate response data packets with source identification, integrity verification, and initial priority. Subsequently, the system dynamically constructs transmission links covering the source, edge, and terminal ends, selects the optimal edge node, and performs logical fragmentation and incremental push based on an adaptive sliding window, implementing non-blocking selective retransmission of lost fragments. After confirming that all fragments have been received by the terminal, the system asynchronously clears the temporary cache across the entire link and updates the resource mapping table and transmission quality profile based on the processing latency and transmission quality metrics of this interaction, thereby achieving efficient and intelligent decision-making for subsequent service requests.
[0047] Reference Figure 2 This process describes the deep security cleaning and cross-domain secure forwarding mechanism for front-end geospatial service requests. Upon receiving a request, the system performs field-by-field format validation, accurately parsing key-value pair encoding or Extended Markup Language encoding. Simultaneously, it interfaces with the global identity authentication service to rigorously verify the token signature, validity period, and scope of operational permissions carried in the request. Non-compliant requests will directly trigger an abnormal response conforming to the Open Geospatial Consortium (OPCIC) specifications. Legitimate requests that pass validation enter the routing phase. The system configures independent virtual network interfaces for the microservice isolation domains corresponding to different tenants and dynamically limits the upper limit of traffic bandwidth according to the tenant's service level agreement (SLA) to prevent channel congestion caused by sudden traffic surges. Furthermore, all cross-domain network traffic must undergo deep five-tuple validation by the kernel-level traffic filtering engine, combined with a composite comparison based on service type, layer whitelist, and spatial range whitelist accelerated by multi-level grid spatial indexing. Only requests within the pre-authorized boundaries are allowed to be routed to the corresponding namespace instance. Illegal traffic that fails validation will be blocked in real time and recorded in an immutable global audit log library, ensuring the security of spatial data boundaries in multi-tenant shared scenarios.
[0048] Reference Figure 3 This process demonstrates core optimization strategies for improving the efficiency of large-scale geospatial data transmission, encompassing dynamic rating of edge nodes and non-linear real-time adjustment of data packet priorities. The system collects real-time data on the operational status of all candidate edge nodes covering the network area where the access terminal is located. It comprehensively scores candidate nodes from multiple dimensions, including service standard version compatibility, local cache hit probability, isolation domain security level matching value, real-time available bandwidth ratio of links, burst traffic robustness coefficient, and round-trip latency and cross-domain overhead. The node with the highest score is selected as the distribution outlet for the response data, and continuous monitoring is performed during transmission. When the primary node's score falls below a threshold, it automatically and smoothly switches to a backup node. Simultaneously, the system dynamically quantifies the initial transmission priority marking of response data packets based on multi-dimensional attributes. The quantification process comprehensively considers tenant service level agreement weighting coefficients, geospatial data security protection weights, weights of Open Geospatial Alliance service operation types involving modification or browsing, access terminal historical behavior trust levels, data time sensitivity levels, and non-linear indicators such as node queuing latency, historical retransmission ratio, and fragment size. High-priority data packets will receive priority access to link bandwidth and forwarding time slots, effectively preventing timeouts in the distribution of time-sensitive spatial data.
[0049] Reference Figure 4This process refines the efficient encapsulation of response data packets, incremental fragmented distribution, and the feedback loop update of system performance metrics. The microservice instance first follows standard specifications to complete the spatial data range trimming, coordinate projection transformation, and multi-format encapsulation. Subsequently, the system logically fragments the large-volume response message according to the natural boundaries of geospatial elements and tile boundaries, assigning each fragment an independent sequence number and cyclic redundancy check value. During the distribution and transmission phase, the system uses an adaptive sliding window mechanism to control the sending rate; the window size and acknowledgment waiting time are dynamically adjusted based on real-time link bandwidth and packet loss rate. The sending end listens for fragmented acknowledgment messages returned by the receiving end and performs targeted selective retransmission only for lost fragments that have timed out, thus significantly reducing end-to-end retransmission latency and bandwidth consumption. Once the access end completes the reception of all fragments and returns acknowledgment information, the system immediately triggers a closed-loop evaluation, calculating the end-to-end processing latency, first-transmission success rate, and resource utilization rate for this request. The system dynamically adjusts the size of the time sliding window based on network traffic fluctuations, dynamically updates the above-mentioned quantitative indicators to the service resource mapping table and link quality database, and simultaneously uses an asynchronous execution method to clean up temporary data in the flow queue and content cache node by node to ensure efficient recycling of storage and computing resources.
[0050] The above are merely preferred embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A geospatial microservice isolation and distribution method adapted to the OGC standard, characterized in that, Includes the following steps: S1. Receive geospatial service requests that conform to the OGC standard protocol specifications sent by the access terminal through the communication network, perform compliance verification on the request source, eliminate malformed and untrusted requests, mark the legitimate requests with tenant identifiers and timestamp tags, and write them into the request flow queue that supports priority adjustment according to the scheduling rules. S2. Perform microservice isolation matching and scheduling on requests in the flow queue. Based on the service resource mapping table, match the microservice instance that corresponds to the service type of the request and adopts the kernel-level network namespace mechanism to achieve complete isolation of network and memory access between different tenant instances, and route the request to the corresponding instance. S3. Obtain the service response data packet generated by the microservice instance in response to the request, and attach a service origination identifier, integrity check code and initial transmission priority flag to each data packet; S4. Construct a dynamic distribution transmission link covering the source service node, edge transmission node and access terminal. Select the optimal edge distribution node according to the terminal network location and link status parameters, and fragment and package the response data packet according to the transmission priority mark. Use an incremental transmission mechanism adapted to the geospatial data characteristics to push the fragments to the access terminal one by one. During the transmission process, verify the fragment integrity in real time and perform non-blocking directed retransmission for lost fragments. S5. Receive all fragment reception confirmation information returned by the access end, clean up temporary cached data generated during the entire request flow, and update the instance load parameters and transmission quality profile of the service resource mapping table in combination with the processing latency and transmission quality indicators of this request, so as to provide data support for the routing and distribution decisions of subsequent requests.
2. The geospatial microservice isolation and distribution method adapted to the OGC standard according to claim 1, characterized in that, It also includes configuring independent virtual network interfaces for microservice isolation domains corresponding to different tenants during the request routing isolation process in step S2. Each virtual network interface is bound to a unique tenant network identifier and a customized access control policy. The traffic bandwidth limit of the virtual network interface is dynamically configured according to the tenant's service level. All cross-isolation domain network traffic undergoes five-tuple verification and OGC service operation permission verification through a kernel-level traffic filtering engine. Traffic forwarding is performed when the request operation type corresponding to the traffic is within the pre-authorized permission boundary of the tenant. Traffic that fails the verification generates standardized security alarm logs and is synchronized to the global security management node.
3. The geospatial microservice isolation and distribution method adapted to the OGC standard according to claim 1, characterized in that, It also includes dynamically quantifying and adjusting the initial transmission priority flag of each response data packet during the data packet transmission process in step S4, based on the requested service level, link state, and terminal trust attributes. The quantization calculation method is as follows: ; in, This represents the adjusted transmission priority quantization value for a single response data packet. This represents the service level agreement (SLP) weighting factor for the requesting tenant corresponding to the data packet. This indicates the geospatial data security protection weight corresponding to the request accessed by the data packet. This indicates the weight of the OGC service operation type corresponding to the request. This represents the trust level value of the access terminal's historical geospatial service access behavior. This indicates the time sensitivity level coefficient of the data packet. This represents the ratio of the average queuing delay of all forwarding nodes along the transmission path to the maximum queuing delay threshold allowed by the corresponding OGC service. This represents the ratio of the number of retransmissions triggered within the current transmission window to the average number of retransmissions for the same type of service. This represents the ratio of the size of a single data packet fragment to the maximum transmission unit (MTU) of the transmission link. This is the penalty adjustment factor for the link bit error rate. This represents the real-time bit error rate of the current transmission link.
4. The geospatial microservice isolation and distribution method adapted to the OGC standard according to claim 1, characterized in that, The compliance verification process in step S1 involves verifying each field of the request message to ensure it conforms to the key-value pair encoding and extended markup language encoding formats specified by the OGC standard. Different encoding methods employ corresponding protocol parsing rules. The authentication token information carried in the request is extracted and integrated with the global identity authentication service to verify the validity of the token signature, the scope of permissions, and the validity period. Requests with format errors, invalid tokens, or expired tokens return a rejection response conforming to the OGC standard exception code format. Requests that pass the verification are written into the request flow queue in the order of their arrival timestamps. The queue supports preemptive scheduling, and when the tenant's service level reaches a preset threshold, the corresponding request is inserted at the front of the queue.
5. A geospatial microservice isolation and distribution method adapted to the OGC standard according to claim 1, characterized in that, In step S2, the kernel-level network namespace isolation mechanism works as follows: each microservice instance runs in an independent kernel namespace; different namespaces isolate the network protocol stack, file system mount point, and process address space; the isolation domain synchronizes service status through a preset controlled message channel; the controlled message channel transmits instance load and running status management information, but does not transmit business request and response data; the controlled message channel uses end-to-end encrypted transmission of management information; management messages are appended with message authentication codes; the network driver layer sets packet filtering rules; the packet filtering process does not go through the user-space protocol stack; and the kernel layer packet filtering rules discard all uncontrolled network data packets.
6. The geospatial microservice isolation and distribution method adapted to the OGC standard according to claim 1, characterized in that, The optimal edge distribution node selection process in step S4 involves real-time collection of the operating status and link parameters of all edge nodes covering the network area where the access terminal is located, and quantitative evaluation of the transmission adaptation capability of each candidate node. The quantitative calculation method is as follows: ; in This represents the overall link quality score of the candidate edge distribution nodes. This indicates the compatibility degree between the OGC service instance deployed on the candidate node and the OGC standard version required by the request. This indicates the probability that the corresponding requested service content is stored in the local cache of the candidate node. This indicates the matching value between the security level of the microservice isolation domain where the candidate node is located and the security protection level required by the tenant. This represents the ratio of the real-time available bandwidth of the link from the candidate node to the access terminal to the total bandwidth of the link. This represents the robustness coefficient of a candidate node to sudden traffic surges in geospatial services. This represents the ratio of the average round-trip time of the link from the candidate node to the source microservice instance to the historical minimum round-trip time along the same path. This indicates the proportion of the additional cross-domain routing overhead incurred by scheduling requests to candidate nodes relative to the total transmission overhead. This is a penalty index for latency and routing overhead.
7. A geospatial microservice isolation and distribution method adapted to the OGC standard according to claim 1, characterized in that, In step S3, the microservice instance generates a service response data packet by extracting corresponding geographic spatial vector features or raster features from the distributed spatial database based on the spatial range parameters carried in the request. It then performs feature coordinate projection transformation according to the coordinate reference system specified in the request. Based on the request response format requirements, it encapsulates the transformed features into standard messages corresponding to network map services, network feature services, and network tile map services. The encapsulation process follows the OGC standard's feature attribute field specifications, coordinate system identification specifications, and abnormal response coding specifications.
8. A geospatial microservice isolation and distribution method adapted to the OGC standard according to claim 1, characterized in that, In step S2, the access control policy for cross-isolation domain traffic is configured independently for each tenant. A list of accessible OGC service types, a list of operable spatial data layers, and a spatial range whitelist are configured for each tenant. The spatial range whitelist uses the OGC standard geographic coordinate range description format and supports configurations for administrative regions, natural geographic boundaries, and custom irregular ranges. Whitelist matching is completed through a multi-level grid spatial index. The traffic filtering engine sequentially matches the three types of whitelist rules for cross-domain requests. If the requested service type is not in the authorized list, the requested layer has no access authorization, or the requested spatial range exceeds the whitelist boundary, the corresponding traffic is blocked, and the network address of the traffic source, core request parameters, and the reason for blocking are collected and stored in the global audit log library.
9. A geospatial microservice isolation and distribution method adapted to the OGC standard according to claim 1, characterized in that, The fragmentation and incremental transmission process in step S4 involves logically fragmenting the response data packet according to the natural boundaries of geospatial elements and tile block boundaries. Each fragment carries a fragment sequence number, element or tile identifier, and a 32-bit cyclic redundancy check value. An adaptive sliding window mechanism is used to control the fragmentation transmission rate, and the window size is dynamically adjusted based on the real-time link bandwidth and packet loss rate. After receiving a fragment, the receiving end returns an acknowledgment message with the corresponding sequence number. The acknowledgment waiting time is dynamically calculated based on the link round-trip time. Selective retransmission is performed on fragments that exceed the acknowledgment waiting time and have not received an acknowledgment.
10. A geospatial microservice isolation and distribution method adapted to the OGC standard according to claim 1, characterized in that, The temporary cache cleanup and transmission quality profile update process in step S5 is as follows: After receiving all fragmented reception confirmation messages sent by the access end, calculate the end-to-end processing latency, one-time transmission success rate, and service instance resource utilization rate indicators; update the indicators to the service resource mapping table and link quality database according to the time sliding window dimension, dynamically adjust the size of the time sliding window, configure independent update weights for link quality parameters in different network areas, and clean up the temporary data of this request stored in the flow queue, microservice instance memory cache, and edge node content cache node node by node. The cache cleanup adopts a node-by-node asynchronous execution method.
