A government affair coordination management method and system based on micro-service architecture

By using a microservice architecture and dynamic data sharing attribute management, the development and maintenance difficulties and data sharing adaptability issues of the government collaborative management platform have been resolved, achieving a unified security and efficiency for cross-departmental data sharing and enabling intelligent governance capabilities.

CN122736558BActive Publication Date: 2026-11-24CLOUD (JIANGXI) BIG DATA DEV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611217193.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-08-12
Publication Date
2026-11-24
Estimated Expiration
2046-08-12

AI Technical Summary

Technical Problem

The existing government collaborative management platform adopts a monolithic application architecture, which makes development and maintenance difficult. The static data sharing attributes cannot adapt to dynamic changes, which raises the risk of sensitive data leakage, and the generalization and spread of permissions is difficult to control.

Method used

By adopting a microservice architecture, dynamic updates to data sharing attributes are achieved through multi-dimensional feature analysis and real-time access behavior detection. Combined with differentiated query responses and permission propagation analysis, adaptive management of cross-departmental data sharing is realized.

Benefits of technology

It has realized the intelligent governance capabilities of the government collaborative management platform, which can evolve on its own to adapt to changes in business needs, ensure data security and efficiency, and reduce the risks of information barriers and the generalization of permissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122736558B_ABST
    Figure CN122736558B_ABST
Patent Text Reader

Abstract

This invention belongs to the field of government collaborative management technology. It provides a government collaborative management method and system based on a microservice architecture, comprising: acquiring the data to be managed and basic attribute tags of each government department; performing multi-dimensional feature analysis on the data to be managed; outputting the initial shared attributes of the data to be managed; collecting access behavior data of each government department in real time; performing change point detection on the time sequence of access behavior; and determining whether there are statistically significant change points in the access behavior. When statistically significant change points are detected, the corresponding data to be managed is acquired as the target data item. This reduces information barriers and the risk of permission generalization caused by static classification. While ensuring the data sovereignty and privacy security of each government department, it achieves agile collaboration with shared attributes dynamically adapting to business needs, providing intelligent governance capabilities that balance security and efficiency for cross-level and cross-departmental government service collaboration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of government collaborative management technology, specifically a government collaborative management method and system based on microservice architecture. Background Technology

[0002] With the deepening of digital government construction and the continuous deepening of reforms such as one-stop online government services and cross-provincial government services, the number of third-party applications connected to the government collaborative management platform continues to grow, and the participating departments and user levels are becoming increasingly complex.

[0003] However, most government collaborative management platforms currently adopt a monolithic application architecture, which centrally deploys all business modules in a single codebase. This results in tight code-level dependencies between functional modules. Such a tightly coupled architecture means that any minor functional change requires recompiling and re-deploying the entire application, making development and maintenance difficult and easily causing global system failures due to local modifications.

[0004] Furthermore, in the actual operation of cross-departmental government collaboration, the data managed by different departments differ in terms of sensitivity and business relevance. Moreover, the query roles of each department change dynamically. Currently, data providers typically pre-label data with static attributes such as unconditional sharing, conditional sharing, or non-sharing, and set fixed access permissions accordingly. However, the frequency of data queries, the scope of departments involved, and related business scenarios change in real time with policy adjustments, special campaigns, and other factors. Static sharing attributes cannot adapt to these dynamic changes, resulting in excessive restrictions on data that should be shared due to lagging attribute updates. Information barriers cannot be broken down, and after data flows through multiple levels along the authorization path, the boundaries of permissions gradually become blurred. Intermediate departments may indirectly obtain data access capabilities beyond their scope, leading to the generalization and spread of permissions, which in turn triggers the security risk of sensitive data leakage.

[0005] Therefore, this invention provides a government collaborative management method and system based on a microservice architecture. Summary of the Invention

[0006] In order to overcome the shortcomings of the prior art, at least one technical problem raised in the background art is solved.

[0007] The technical solution adopted by this invention to solve its technical problem is: a government collaborative management method based on a microservice architecture, comprising:

[0008] Obtain the data to be managed and basic attribute tags of each government department, perform multi-dimensional feature analysis on the data to be managed, and output the initial shared attributes of the data to be managed;

[0009] Real-time collection of access behavior data from each government department; performance of change point detection on the time-series of access behavior; and determination of whether there are statistically significant change points in access behavior.

[0010] When a statistically significant change point is detected, the corresponding data to be managed is obtained as the target data item, and the current query dependency and impact of the target data item in cross-departmental collaborative business are analyzed.

[0011] Based on the degree of dependence and the scope of impact, analyze the update requirement of the shared attributes of the target data item. If the update requirement is high, update the initial shared attributes of the target data item and share the change information.

[0012] Extract shared attribute change information, perform cross-departmental access permission propagation analysis, update the real-time access permission status of each government department for the target data item, respond to cross-departmental query requests, and execute differentiated query responses.

[0013] A government collaborative management system based on a microservice architecture, the system comprising:

[0014] Initial attribute output module: Obtain the data to be managed and basic attribute tags of each government department, perform multi-dimensional feature analysis on the data to be managed, and output the initial shared attributes of the data to be managed;

[0015] Change point analysis module: Collects access behavior data of each government department in real time, performs change point detection on the time series of access behavior, and determines whether there are statistically significant change points in access behavior;

[0016] Query Dependency Impact Analysis Module: When a statistically significant change point is detected, the corresponding data to be managed is obtained as the target data item, and the current query dependency degree and impact range of the target data item in cross-departmental collaborative business are analyzed.

[0017] Update Requirement Module: Based on the degree of dependency and the scope of impact, analyze the update requirement of the shared attributes of the target data item. If the update requirement is high, update the initial shared attributes of the target data item and share the change information.

[0018] Collaborative Permission Analysis Module: Extracts shared attribute change information, performs cross-departmental access permission propagation analysis, updates the real-time access permission status of each government department for target data items, responds to cross-departmental query requests, and executes differentiated query responses.

[0019] The beneficial effects of this invention are as follows:

[0020] By establishing a benchmark through the scientific division of initial shared attributes, realizing real-time perception of abnormal access patterns through continuous change point detection, realizing judgment of the necessity and risk of changes through quantitative evaluation of query dependency and impact scope, realizing dynamic adaptive adjustment through hierarchical update decision-making, and realizing continuous tracking of update effects through differentiated query response and regular statistical feedback, a complete link is formed from the initial setting of data sharing attributes to dynamic evolution and effect verification, enabling the government collaborative management platform to have the intelligent governance capability to evolve itself with changes in business needs.

[0021] A complete privacy protection defense line is built through basic attribute tag security constraints, differentiated field-level filtering, and full-link traceability. At the same time, change point detection is used to perceive fluctuations in business needs in real time, driving the automatic relaxation or tightening of shared attributes. Combined with on-demand authorization and seamless query response mechanisms, the risks of information barriers and permission generalization caused by static classification are reduced. Under the premise of ensuring the data sovereignty and privacy security of various government departments, agile collaboration with shared attributes dynamically adapting to business needs is achieved, providing intelligent governance capabilities that balance security and efficiency for cross-level and cross-departmental government service collaboration. Attached Figure Description

[0022] The invention will now be further described with reference to the accompanying drawings.

[0023] Figure 1 This is a flowchart of the steps in Embodiment 1 of the present invention;

[0024] Figure 2 This is a flowchart of the acquisition steps in Embodiment 2 of the present invention;

[0025] Figure 3 This is a flowchart of the judgment process in step S20 of embodiment 2 of the present invention;

[0026] Figure 4 This is an example graph showing the trend of access frequency in step S20 of Embodiment 2 of the present invention.

[0027] Figure 5 This is a system module diagram in Embodiment 3 of the present invention. Detailed Implementation

[0028] To make the technical means, creative features, objectives and effects of this invention easier to understand, the invention will be further described below in conjunction with specific embodiments.

[0029] Example 1

[0030] Please see Figure 1 As shown in the embodiment of the present invention, a government collaborative management method based on a microservice architecture includes the following steps:

[0031] Step 1: Divide the government collaborative management platform into multiple independently deployed microservices, realize automatic registration and discovery of services through the service registry center, and uniformly configure the access routes and authentication policies of each microservice in the API gateway;

[0032] The government collaborative management platform is divided into multiple independently deployed microservices according to business domains;

[0033] Among them, microservices include at least: organizational structure service, unified user center service, permission management service, application access service, data push service, and API gateway service;

[0034] When each microservice instance starts, it completes the automatic registration and discovery of services through the service registry (preferably Spring Cloud Netflix Eureka or Nacos). Each microservice instance reports its own network address, service name and health status information to the service registry. The service registry maintains a global list of service instances and periodically sends heartbeat checks to each registered instance to confirm the service's liveness, thus enabling transparent calls between services.

[0035] It needs to be explained that registration refers to the process where each microservice instance, upon startup, reports its network address (IP, port), service name, health status, and other information to the service registry (such as Eureka or Nacos). The registry then stores this information in a global list of service instances.

[0036] Discovery refers to the process by which a service caller, when needing to call a service, dynamically obtains a list of currently available instances of that service (such as IP addresses and port numbers) by querying the service registry.

[0037] The core value of service discovery lies in the fact that the address of a microservice instance changes dynamically (services may scale up or down, restart, or fail and go offline). Through the service discovery mechanism, the caller does not need to hardcode the address of the target service, but can obtain the latest list of available instances from the registry in real time, thereby enabling dynamic and transparent calls between services.

[0038] The API gateway serves as the unified entry point for all external traffic to the platform. It uniformly configures the access routing rules and authentication policies for each microservice. The routing rules map external request URLs to the corresponding microservice instances.

[0039] The authentication strategies include: request authentication based on JSON Web Token, role-based access permission verification (role types include at least super administrator, department administrator, and ordinary user), access control based on IP whitelist, and traffic limiting based on token bucket algorithm.

[0040] After receiving an external request, the API gateway executes the authentication policy chain sequentially. Once authentication is successful, the request is forwarded to the target microservice instance according to the routing rules.

[0041] If authentication fails, the corresponding HTTP error status code and error message will be returned directly.

[0042] Step 2: Obtain the subscription request initiated by the target application through the API gateway, determine whether the target application is subscribing for the first time, and if it is, perform a full data push, sending the complete dataset to the target application as the local data baseline for the target application;

[0043] Obtain the subscription request initiated by the target application through the API gateway. When the target application first connects to the platform, it initiates a subscription request for institutional user data through the API gateway.

[0044] A subscription request must include at least the target application's unique identifier, application name, the data scope to be subscribed (including organizational scope and user scope), and callback address;

[0045] After receiving a subscription request, the data push service queries the subscription relationship storage table using the unique identifier of the target application as an index to determine whether the target application already has a valid subscription record. If no valid subscription record exists, it is determined to be the first subscription.

[0046] If it is determined to be the first subscription, the data push service will traverse all organizational data and user data within the scope of the target application's request, organize the data into a structured dataset, and perform a full data push.

[0047] The structured dataset includes: organizational tree structure data, organizational attribute information, organizational leader information, user account information, user's organizational affiliation, user role assignment information, and user status information;

[0048] The complete dataset is sent to the callback address of the target application via the API gateway, serving as the local data baseline for the target application;

[0049] For example, when a district-level government service application connects to the platform for the first time, it applies to subscribe to the district's organizational structure and user data. The data push service encapsulates the organizational structure tree of the district's 12 bureaus and offices and 36 departments, as well as the information of all on-duty personnel, into a JSON format dataset and pushes it to the target application in one go. After receiving it, the target application writes it to its local database.

[0050] Step 3: If this is not the first subscription, continuously monitor user data change events, calculate the incremental data of this change when a change is detected, and execute incremental data push to keep the target application's local data synchronized with the platform side;

[0051] If it is not the first subscription, the system will continuously monitor user data change events, calculate the incremental data of this change when a change event is detected, and push the incremental data to keep the target application's local data synchronized with the platform.

[0052] The data push service monitors event messages generated by the organization service and the user center service;

[0053] Preferably, entity change events are subscribed to via a Kafka message queue;

[0054] Real-time capture of changes to organizational and user data, including: adding organizational structures, editing organizational structures, deleting organizational structures, adding users, editing users, deleting users, and transferring users to other organizations;

[0055] When a change event is detected, the data push service identifies the entity type and operation type of the change operation;

[0056] Calculate the updated dataset (containing complete current information of the changed entities, and for deletion operations, the identifier and deletion flag of the deleted entities) and distribute it to all third-party applications that have subscribed to this data range via the API gateway;

[0057] For example, if the Administrative Approval Section, a subordinate department of a bureau or office, is renamed the Government Affairs Service Section in the platform, an edit change event will occur in the Organizational Structure Service. After capturing the event, the Data Push Service will calculate incremental data (including the new name, old name, and unique identifier of the department) and push it to all applications that have subscribed to the organizational structure data. After receiving the incremental data, each application will update the name information of the corresponding department in its local database.

[0058] Step 4: After performing full data push and incremental data push, send a data reception confirmation request to the target application, identify whether confirmation has been received within the specified time, and perform the corresponding push guarantee action based on the identification result until the target application successfully confirms receipt, and record the push task status after successful confirmation.

[0059] After each data delivery, the data push service sends a data reception confirmation request to the callback address of the target application and starts a timeout timer with a timeout duration of 30 seconds.

[0060] If, during the waiting period, a confirmation message is received from the target application via a callback address, and the confirmation message includes the receiving status code and the received data checksum, then the push is considered successful, the timeout timer is stopped, and the push task is marked as complete.

[0061] If no confirmation is received by the timeout period, the push is considered a failure, triggering the system to automatically re-push the data. The re-push adopts a backoff retry strategy: the first retry waits for 5 seconds, the second retry waits for 15 seconds, the third retry waits for 30 seconds, and subsequent retry intervals are fixed at 60 seconds. The timeout timer is restarted for each retry, and the confirmation request and re-push process are executed in a loop until the target application successfully confirms receipt. If the retry fails more than 10 times, a push failure alarm record is generated and the platform administrator is notified for manual intervention.

[0062] After confirming that the target application has successfully received the data, the data push service updates the records in the push task status table. The push task status table records at least the following fields: push task ID, target application identifier, push data type (full / incremental), push time, push data volume, number of retries, final status (success / failure), and completion timestamp, for the operation data dashboard to display the push success rate and for operation and maintenance personnel to audit and trace the process afterward.

[0063] Example 2

[0064] Please see Figures 2-4 As shown, based on the infrastructure built in Embodiment 1 above, when conducting government collaborative management and sharing data across departments, the data managed by different government departments differ in terms of sensitivity, confidentiality, and business relevance. Furthermore, the query roles of each department in cross-departmental collaboration dynamically change, with scenarios where the department initiates queries as a data requester and is queried as a data provider. Therefore, it is necessary to establish a dynamic management mechanism for shared attributes that can adapt to changes in data access behavior while maintaining controllable permission propagation between departments. This addresses the problem of static classification methods failing to match dynamic business changes and the data security loss of control caused by blurred permission boundaries after data flows through multiple levels along the authorization path. The government collaborative management method based on a microservice architecture described in this embodiment further includes the following steps:

[0065] Step S10: Obtain the data to be managed and basic attribute tags for each government department, perform multi-dimensional feature analysis on the data to be managed, and output the initial shared attributes of the data to be managed;

[0066] The initial sharing attributes include: unconditionally sharing data, conditionally sharing data, or not sharing data.

[0067] Multi-dimensional features include: content sensitivity features, historical query popularity features, business relevance features, and departmental role features;

[0068] Iterate through all the data to be managed registered and managed by various government departments in the government system, and read the basic attribute tags already marked on the data to be managed;

[0069] Among them, the basic attribute tags are the sharing attribute categories pre-marked in accordance with the "Regulations on Sharing Government Data" and the statutory responsibilities of each department, including at least three basic categories: unconditional sharing, conditional sharing, and non-sharing;

[0070] For each piece of data to be managed, multi-dimensional features are extracted to form a corresponding multi-dimensional feature vector. The process is as follows:

[0071] The data fields are identified for sensitive information. If any sensitive information categories are found, the number of sensitive fields is counted.

[0072] The categories of sensitive information include at least: personal information (name, ID number, mobile phone number, address, etc.), trade secrets, and state secrets;

[0073] Calculate the ratio of the number of sensitive fields to the total number of fields, and use this as the sensitivity density.

[0074] Retrieve cross-department access logs within a preset historical time window (preferably 180 days) and count the number of queries.

[0075] Calculate the ratio of the number of queries to the length of the historical time window, and use this as the average query frequency.

[0076] The average query frequency is normalized using Min-Max to obtain the query activity level.

[0077] The number of fields returned in the query results is counted, and the ratio of the number of fields returned in the query results to the total number of fields is calculated as the average completeness.

[0078] The number of different query requests that simultaneously contain other data to be managed is counted among all query requests that contain data to be managed. This number is taken as the co-occurrence count. The ratio of the co-occurrence count to the total number of queries that contain data to be managed is calculated as the association coverage rate.

[0079] Obtain the total number of all predefined cross-departmental collaborative business scenarios in the government affairs collaborative management platform;

[0080] Cross-departmental collaborative business scenarios include at least: joint application for business establishment, real estate registration, transfer and continuation of social security relations, and cross-regional administrative approvals;

[0081] The breadth of business coverage is calculated by dividing the number of different business scenarios in which the data to be managed is involved by at least one query request by the total number of all business scenarios.

[0082] The collaboration requirement score is obtained by taking an equally weighted geometric average of query activity, association coverage, and business coverage breadth.

[0083] The security risk score is obtained by taking an equally weighted geometric average of sensitivity density and average integrity.

[0084] Among them, the higher the collaboration need score, the more urgent the collaboration need is; the lower the security risk score, the lower the security risk is.

[0085] Pareto optimal frontier analysis is performed based on the collaborative demand score and the security risk score. The process is as follows:

[0086] Map the collaboration requirement score and security risk score corresponding to each piece of data to be managed onto a two-dimensional plane, with the horizontal axis representing the collaboration requirement score and the vertical axis representing the negative of the security risk score.

[0087] For any two data A and B to be managed, if the value of A on the horizontal axis is greater than or equal to the value of B on the horizontal axis, and the value of A on the vertical axis is greater than or equal to the value of B on the vertical axis, and is strictly greater than B in at least one dimension, then it is determined that A dominates B, that is, A's overall open priority is higher than B's.

[0088] All data to be managed that is not dominated by any other data to be managed are marked as the first Pareto front layer and given the highest overall open priority;

[0089] After removing the first Pareto front layer, repeat the above dominance relationship determination in the remaining data to be managed to obtain the second Pareto front layer, and assign it the second highest comprehensive open priority.

[0090] This process continues until all data to be managed is layered, resulting in a Pareto layer number for each piece of data to be managed; a smaller layer number indicates a higher priority for comprehensive access.

[0091] Based on the relative position of the Pareto level number in all the data to be managed, each piece of data to be managed is initially mapped to its corresponding Pareto attribute label:

[0092] Data to be managed with a Pareto level number less than or equal to one-third of the level has a Pareto attribute label of unconditional sharing.

[0093] Data to be managed that has a Pareto layer number greater than one-third of the layer and a Pareto layer number less than or equal to two-thirds of the layer has a Pareto attribute tag of conditional sharing.

[0094] Data to be managed that has a Pareto level number greater than two-thirds of the level has a Pareto attribute tag indicating it is not to be shared.

[0095] If the base attribute tag is the same as the Pareto attribute tag, the corresponding tag will be used as the initial shared attribute;

[0096] If the base attribute label differs from the Pareto attribute label, then constraint validation is performed;

[0097] If the basic attribute label is "not shared" and the Pareto attribute label is "unconditionally shared", then the basic attribute label is the priority constraint, and the initial sharing attribute is forcibly modified to conditional sharing (that is, moving one level closer to Pareto but stopping at the middle layer, leaving an application channel for future business while not breaking the regulatory bottom line of not sharing).

[0098] If the basic attribute label is unconditionally shared while the Pareto attribute label is not shared, then the basic attribute label is also a priority constraint, and the initial shared attribute is forcibly modified to conditionally shared (that is, shrinking one level in the Pareto direction but stopping at the intermediate layer, which avoids the leakage of sensitive data due to overly lenient historical classification, while not completely negating the existing open positioning of unconditional sharing).

[0099] If the difference between the base attribute tag and the Pareto attribute tag only involves one of them being conditionally shared (i.e., the base attribute tag is conditionally shared while the Pareto tag is unconditionally shared or not shared, or the base attribute tag is not shared / unconditionally shared while the Pareto tag is conditionally shared), then there is no need to force a correction, and the Pareto attribute tag can be directly adopted as the initial shared attribute.

[0100] Step S20: Collect access behavior data of each government department in real time, identify whether new access behavior data has been added to the access behavior time series, and if so, perform change point detection on the access behavior time series to determine whether there are statistically significant change points in the access behavior.

[0101] Access behavior data is obtained through log points on each microservice instance deployed in the microservice architecture and API gateway access logs;

[0102] Access behavior data should include at least: Access subject identifier: the government department ID that initiated the query request and the user ID that operated;

[0103] Access Object Identifier: The unique identifier of the queried data item and the ID of the government department to which it belongs;

[0104] Access timestamp: The precise time when the query request was initiated;

[0105] Query criteria: The filtering conditions, query parameters, and scope included in this query request;

[0106] Return result field set: A list of data field names actually returned in this query;

[0107] Number of results returned: The number of records returned in this query;

[0108] Access source identifier: Identifies the system or application from which this query request originated;

[0109] Business scenario identifier: Identifies the collaborative business scenario associated with this query;

[0110] Continuously monitor the end of the access behavior time sequence and detect in real time whether new access behavior data has been added;

[0111] If no new access behavior data is detected, continue listening.

[0112] If new access behavior data is detected, change point detection is performed on the access behavior time series;

[0113] Specifically, the entire time-series sequence of access behaviors containing new access behavior data is used as the detection input to perform statistical change point detection;

[0114] Obtain the access timestamps of each data point in the current access behavior time series, aggregate and statistically analyze them using a preset time granularity (preferably days) to generate an access frequency time series;

[0115] Among them, the value corresponding to each time point in the access frequency time series is the total number of cross-department access behaviors within the time granularity;

[0116] The access frequency time series is traversed and calculated to detect whether there are statistically significant change points in the series;

[0117] The process for detecting statistically significant change points is as follows:

[0118] For any point of change (i.e. time point), take the point of change as the dividing point, calculate the average access frequency before the dividing point and the average access frequency after the dividing point, and calculate the total average of the access frequency time series.

[0119] Calculate the constructive F-statistic. If the constructive F-statistic is greater than the significance level, the statistical significance test is passed; if the constructive F-statistic is less than or equal to the significance level, the statistical significance test is not passed.

[0120] The significance level was set to 0.01 (i.e., 99% confidence level), and the critical value of the F-distribution with degrees of freedom (1, T-2) was used.

[0121] The preset verification window length is generally set to 7 days. The verification window lengths before and after the change point are taken respectively, and the average access frequency within the corresponding verification window length is calculated as the baseline average before the change and the verification average after the change.

[0122] Calculate the ratio of the changed verification mean to the original baseline mean, and use it as the mean ratio.

[0123] If the mean ratio is within the fluctuation tolerance range, the persistence test is deemed to have failed.

[0124] If the mean ratio is not within the tolerance range, the persistence test is passed.

[0125] When the mean ratio is not within the tolerance range, it indicates that the daily average frequency of cross-department queries has undergone a substantial jump or sudden drop that exceeds the normal business cycle fluctuations before and after the point of change.

[0126] The tolerance range is set based on the following: taking the point where there is no difference before and after the change (i.e., the mean ratio is 1) as the center, the upper and lower boundaries are determined by a symmetrical form of reciprocals. The 50% threshold is determined by statistical analysis of historical access logs as the boundary between normal fluctuations (≤30%) and abnormal mutations, and a 20% buffer is reserved to filter edge noise. The final tolerance range is [0.67, 1.5].

[0127] If the statistical significance test or the persistence test fails, the corresponding change point is determined to be not a statistically significant change point. If, after traversing all change point positions, there is no time point that simultaneously satisfies both the statistical significance and persistence tests, then it is marked as a point with no significant change.

[0128] If both the statistical significance test and the persistence test are passed, the corresponding change point is determined to be a statistically significant change point and is marked as having a statistically significant change point.

[0129] It should be noted that if multiple statistically significant change points exist at the same time, the change point corresponding to the maximum value of the constructed F statistic is selected as the primary change point output, and the remaining candidate change points are recorded as secondary change points.

[0130] If the total length of the current access frequency time series is less than 30 days, the current round of detection will be skipped due to insufficient sample size; if the change point is less than 7 days from the two ends of the sequence, it will not be included in the judgment because the complete verification window cannot be captured.

[0131] Step S30: When a statistically significant change point is detected, the corresponding data to be managed is obtained as the target data item, and the current query dependency and impact range of the target data item in cross-departmental collaborative business are analyzed based on the time sequence of the current access behavior.

[0132] The data to be managed that shows statistically significant changes will be used as the target data items;

[0133] The analysis interval is defined as the interval after the point of statistical significance change for the target data item.

[0134] Based on the access behavior data within the analysis interval, the current query dependency level and impact range are analyzed, including:

[0135] Within the analysis interval, the total number of government departments that have queried the target data item is counted as the query breadth.

[0136] The total number of times a target data item is queried is used as the query intensity.

[0137] Iterate through all query requests that contain the target data item, extract other data to be managed that are also included in each query request, deduplicate all the extracted other data to be managed, and count the number of different data to be managed as the association breadth;

[0138] After performing Min-Max normalization on query breadth, query lightness, and association breadth respectively, the results are multiplied to obtain query dependency.

[0139] It needs to be explained that query dependency characterizes the overall level of dependence of a target data item in cross-departmental collaborative business. That is, how many departments query it and how frequently it is queried within the current analysis period, and how many other data forms a common query relationship with it. The higher the query dependency, the more core the dependent position in the cross-departmental collaborative network, and the more departments rely on it more frequently in more business scenarios to complete collaborative business. Query dependency reflects the actual value and popularity of the queried object in the current business ecosystem.

[0140] If the query dependency is greater than the dependency limit, the target data item is determined to be significantly dependent within the current analysis interval and is marked as having a high dependency.

[0141] If the query dependency is less than or equal to the dependency limit, it is marked as low dependency.

[0142] The process of setting the dependency limit is as follows: obtain the query dependency history of all evaluated data items in multiple complete evaluation periods before the current evaluation period, take the upper quartile (i.e. the 75th percentile) of all historical values ​​as the dependency limit. If the historical data accumulation is insufficient (less than 3 effective periods), then take 1.5 times the median of the query dependency of all target data items in the current period as the limit.

[0143] The list of all government departments that have queried the target data item within the statistical analysis interval is used as the query set;

[0144] The query set includes a list of other government departments involved in all cross-departmental query requests initiated by the department to which the target data item belongs within the analysis period.

[0145] Take the union of the queried set and the query set, and count the total number as the number of affected departments;

[0146] The total number of duplicate data items to be managed by all other departments involved in all cross-departmental query requests initiated by the government department to which the target data item belongs within the analysis period is used as the number of affected data items.

[0147] After performing Min-Max normalization on the number of affected departments and the number of affected data items respectively, the products are multiplied to obtain the scope of influence.

[0148] It needs to be explained that the scope of influence characterizes the chain reaction effect that may occur on other government departments and other data through the cross-departmental query relationship network after the shared attributes of the target data item change. That is, the scope of the two-way query relationship between the department and other departments includes both the query set and the query initiating set, as well as the dependency chain of other department data items exposed through this two-way relationship. The higher the scope of influence, the more complex the embedded cross-departmental collaborative network. The scope of influence reflects the potential impact radius generated when a node in the collaborative network changes.

[0149] If the scope of impact exceeds the scope limit, it is determined that the change in the shared attributes of the target data item will have a chain reaction effect on departments and data items that are outside the normal scope, and the risk of change is high, so it is marked as a high impact scope.

[0150] If the scope of influence is less than or equal to the scope limit, it is marked as a low-impact scope;

[0151] The process for setting the range limit is as follows: obtain the historical records of the influence range of all evaluated data items in multiple complete evaluation periods before the current running period, and take the upper quartile (i.e. the 75th percentile) of the portion of all historical values ​​that exceeds the median as the range limit.

[0152] Step S40: Based on the degree of dependence and the scope of influence, analyze the update requirement of the shared attributes of the target data item. If the update requirement is high, update the initial shared attributes of the target data item and share the attribute change information.

[0153] Obtain the results of the determination of the degree of dependence and the scope of influence;

[0154] If the judgment result is high impact range and high dependence, or high impact range and low dependence, then the update requirement will be subject to manual review.

[0155] The reason is that when the result has a high impact range and a high degree of dependence, it is widely queried and highly dependent within the current analysis period. After the shared attribute is changed, the impact range and impact area are relatively wide, affecting many other government departments and related data items. Automated updates may lead to secondary risks due to insufficient assessment of the actual business needs of each department. It is necessary to conduct manual review and comprehensively weigh the business demands and security compliance requirements of each department to ensure the scientific and prudent nature of the update decision.

[0156] When the result is high impact range and low dependence, although the current dependence is not high, the change of shared attributes will have a chain reaction effect on many other departments and related data items. The risk of change mainly comes from the wide impact range rather than the high urgency of dependence. Automated updates may cause unexpected access interruptions or permission conflicts due to the failure to fully understand the business dependencies of the affected departments. The timing of the change and the impact mitigation measures need to be confirmed through manual review.

[0157] The manual review process is as follows: The administrator reviews the task and the review result is either "agree to update," "reject update," or "postpone update."

[0158] If you agree to the update, proceed with the update process;

[0159] If the update is rejected, the current sharing attributes will remain unchanged, and the reason for rejection and the review comments will be recorded.

[0160] If the update is postponed, mark the next review time and do not perform the update.

[0161] If the assessment result indicates a low impact range and high dependency, then the need for updating is high, and an immediate update should be performed.

[0162] The reasons are as follows: the current analysis interval is highly dependent, the need for updating shared attributes is urgent, the scope of change is small and the impact is controllable, the risk of automated update is low, information barriers are eliminated and collaboration efficiency is improved;

[0163] The update process is as follows: obtain the mean ratio calculated in step S20 above;

[0164] The update direction is determined based on the mean ratio. If the mean ratio is greater than the upper limit of the tolerance interval, the update direction is to loosen; if the mean ratio is less than the lower limit of the tolerance interval, the update direction is to tighten.

[0165] When the update direction is relaxation:

[0166] If the initial shared attribute is not shared, update it to conditionally shareable.

[0167] If the initial shared attribute is conditionally shared, update it to unconditionally shared.

[0168] If the initial shared attribute is unconditionally shared, it will remain unchanged.

[0169] When the update direction is tightening:

[0170] If the initial shared attribute is unconditional, update it to conditional sharing.

[0171] If the initial shared attribute was conditionally shared, update it to not be shared.

[0172] If the currently initial shared attribute is not shared, it will remain unchanged.

[0173] For a fully updated target data item, generate shared attribute change information;

[0174] Shared attribute change information should include at least: the shared attribute before the change and the shared attribute after the change; the direction of the update (relaxation / tightening); and the change timestamp.

[0175] If the assessment result indicates a low impact range and low dependency, then the need for an update is low, and no update is required for the time being.

[0176] Step S50: Extract the shared attribute change information of the target data item, perform cross-departmental access permission propagation analysis, and update the real-time access permission status of each government department to the target data item based on the judgment results of the access permission change of each government department to the target data item, respond to cross-departmental query requests, and perform differentiated query responses.

[0177] Based on the changes in the direction of the update and the differences in shared attributes before and after the change, the scope of government departments affected by this change and the corresponding authority adjustments for each department are determined:

[0178] Obtain the latest access behavior time sequence of the target data item, and statistically analyze the list of all government departments that have queried the target data item within the interval, as the set of authorized access departments;

[0179] The union of the query set and the query initiating set calculated in step S30 is used as the set of potentially affected departments, that is, all external departments that may be affected by the change in shared attributes.

[0180] For each government department in the potentially affected department set, based on the differences in shared attribute categories before and after the change, and combined with historical query records (query frequency, query field range, and most recent query time), the access permission change action is determined for each department:

[0181] If the update direction is to relax the restrictions, then the newly authorized government departments that have been granted access authorization or have been granted access authorization for a wider range of fields will be identified. The newly authorized departments need to add access permission records for the corresponding data items to be managed in the permission status, and record the authorization effective time and authorization basis.

[0182] If the update direction is tightening, then the government departments whose original access permissions have been revoked or whose field range has been reduced will be identified. The departments whose permissions have been revoked need to remove or downgrade the access permission record of the corresponding data item in the permission status, and record the effective time and basis of the permission change.

[0183] If there are government departments that have never queried the target data item within the analysis period, and the update direction is relaxed, they will not be included in the scope of this automatic authorization (i.e., authorization on demand and the principle of minimum necessity, only granting permissions to departments with actual query needs).

[0184] If there are government departments that have never queried the target data item within the analysis period, and the update direction is tightening, then the departments will not be affected (because they originally did not have access permissions).

[0185] Based on the results of the permission propagation analysis, update the real-time access permission status of each government department for the target data item;

[0186] Real-time access permission status should include at least: unique identifier of data item, government department ID, whether access permission is granted, authorized field range (list of fields allowed to be returned), permission grant time, permission last update time, and permission source (initial shared attribute allocation / dynamic update grant / manual review grant).

[0187] When responding to cross-departmental data query requests initiated by various government departments, the access subject identifier and the identifier of the queried data item contained in the query request are parsed.

[0188] Query the real-time access permission status of the accessing entity for the target data item:

[0189] If the accessing entity has access rights to the target data item, the query request is allowed. The query results are filtered according to the authorized field range recorded in the permission status, and only data within the authorized field range is returned to ensure that the principle of minimum necessity is implemented.

[0190] If the accessing entity does not have access rights to the target data item, the query request is rejected, an insufficient permission prompt is returned, and a permission denial event (including the accessing entity, the queried data item, the time of rejection, and the reason for rejection) is recorded in the log audit module.

[0191] If the access subject's permission status for the target data item is pending manual review or suspended, a permission review prompt will be returned, guiding the user to pay attention to permission change notifications or contact the platform administrator.

[0192] In the case of relaxed permissions, if a new authorization is granted in this change, but the historical query records show that the department's query frequency is extremely low (less than 3 queries within the analysis period), then query frequency monitoring will be enabled for the department during the differentiated query response. If the query frequency exceeds the preset warning threshold in a short period of time, an abnormal alarm will be triggered and the administrator will be notified for review to prevent the abuse of sensitive data due to excessive relaxation of permissions.

[0193] The differential query response results of each target data item are statistically analyzed periodically (preferably every 30 days). The actual query frequency and query field range of each authorized department are statistically analyzed. If the data item remains in a low query dependency state for multiple evaluation cycles and there are no significant change points, the administrator is automatically advised to tighten the shared attributes of the data item.

[0194] This embodiment has at least the following functions:

[0195] By collecting cross-departmental access behavior data in real time and performing statistical change point detection, the evaluation process is automatically triggered when there is a statistically significant change in the access pattern. This optimizes the problem of not being able to perceive dynamic changes in business needs. When the frequency of cross-departmental queries of data items changes substantially, the shared attribute relaxation update is automatically executed based on a comprehensive judgment of the degree of dependence and the scope of impact. This allows frequently used data to have its sharing scope expanded in a timely manner, effectively breaking down information barriers that should be expanded but are not, and supporting the real-time data needs of cross-departmental collaborative business.

[0196] By using multi-dimensional feature analysis and Pareto optimal frontier analysis, initial shared attributes are output to establish a security baseline for data openness. When a substantial drop in access frequency is detected, the shared attributes are automatically tightened and updated to reduce the risk of data remaining overly open after business activity declines. When changing permissions, the principles of minimum necessity and on-demand authorization are followed, granting permissions only to departments with actual query needs. This effectively prevents the blurring of permission boundaries and the generalization of permissions after data flows through multiple levels along the authorization path, reducing the risk of sensitive data leakage.

[0197] By combining the determination mechanism of dependence degree and impact scope, automatic and immediate updates are performed for low-impact and high-dependency scenarios to ensure that the adjustment of the shared attributes of high-frequency core data can quickly respond to business needs; manual review is pushed for high-impact and high-dependency scenarios as well as high-impact and low-dependency scenarios to ensure that changes with a wide impact have undergone full multi-department coordination and careful evaluation, reducing the secondary risks caused by automatic updates due to the failure to fully assess the impact, and achieving an organic unity of efficiency and security.

[0198] By establishing a benchmark through the scientific division of initial shared attributes, enabling real-time perception of abnormal access patterns through continuous change point detection, and determining the necessity and risk of changes through quantitative assessment of query dependency and impact scope, the platform achieves dynamic adaptive adjustment through hierarchical update decision-making, and continuously tracks the update effect through differentiated query responses and regular statistical feedback. This forms a complete closed-loop governance chain for data sharing attributes, from initial setting to dynamic evolution and effect verification, enabling the government collaborative management platform to have the intelligent governance capability to evolve itself according to changes in business needs.

[0199] Example 3

[0200] Based on the same inventive concept as the microservice-based collaborative government management method in Embodiment 2 above, such as Figure 5 As shown, this application provides a government collaborative management system based on a microservice architecture, wherein the system specifically includes:

[0201] Initial attribute output module: Obtain the data to be managed and basic attribute tags of each government department, perform multi-dimensional feature analysis on the data to be managed, and output the initial shared attributes of the data to be managed;

[0202] Change point analysis module: Collects access behavior data of each government department in real time, identifies whether new access behavior data has been added to the access behavior time series, and if so, performs change point detection on the access behavior time series to determine whether there are statistically significant change points in the access behavior;

[0203] Query Dependency Impact Analysis Module: When a statistically significant change point is detected, the corresponding data to be managed is obtained as the target data item. Based on the time series analysis of the current access behavior, the current query dependency degree and impact range of the target data item in cross-departmental collaborative business are analyzed.

[0204] Update Requirement Module: Based on the degree of dependency and the scope of impact, analyze the update requirement of the shared attributes of the target data item. If the update requirement is high, update the initial shared attributes of the target data item and share the change information.

[0205] Collaborative Permission Analysis Module: Extracts shared attribute change information of target data items, performs cross-departmental access permission propagation analysis, updates the real-time access permission status of each government department for the target data items based on the judgment results of access permission changes of each government department for the target data items, responds to cross-departmental query requests, and executes differentiated query responses.

[0206] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.

Claims

1. A government collaborative management method based on microservice architecture, characterized in that: include: Obtain the data to be managed and basic attribute tags of each government department, perform multi-dimensional feature analysis on the data to be managed, and output the initial shared attributes of the data to be managed; The process of outputting the initial shared attributes of the data to be managed is as follows: Retrieve the basic attribute labels and Pareto attribute labels, and compare them to see if they are the same. If they are the same, use the corresponding labels as the initial shared attributes; if they are different, perform constraint validation. If the basic attribute tag is not shared and the Pareto attribute tag is unconditionally shared, or the basic attribute tag is unconditionally shared and the Pareto attribute tag is not shared, then the initial shared attribute is modified to conditionally shared. If the difference between the basic attribute tag and the Pareto attribute tag only involves one of them being conditionally shared, then the Pareto attribute tag should be adopted as the initial shared attribute. Real-time collection of access behavior data from each government department; performance of change point detection on the time-series of access behavior; and determination of whether there are statistically significant change points in access behavior. When a statistically significant change point is detected, the corresponding data to be managed is obtained as the target data item, and the current query dependency and impact of the target data item in cross-departmental collaborative business are analyzed. Based on the degree of dependence and the scope of impact, analyze the update requirement of the shared attributes of the target data item. If the update requirement is high, update the initial shared attributes of the target data item and share the change information. Extract shared attribute change information, perform cross-departmental access permission propagation analysis, update the real-time access permission status of each government department for the target data item, respond to cross-departmental query requests, and execute differentiated query responses.

2. The government collaborative management method based on microservice architecture according to claim 1, characterized in that: The process of obtaining the Pareto attribute tag is as follows: Obtain the collaboration requirement score and security risk score, and perform Pareto optimal frontier analysis to obtain the Pareto layer number for each piece of data to be managed; Data to be managed with a Pareto level number less than or equal to one-third of the level has a Pareto attribute label of unconditional sharing. Data to be managed that has a Pareto layer number greater than one-third of the layer and a Pareto layer number less than or equal to two-thirds of the layer has a Pareto attribute tag of conditional sharing. Data to be managed that is at more than two-thirds of the Pareto level number has the Pareto attribute tag set to "not shared".

3. The government collaborative management method based on microservice architecture according to claim 2, characterized in that: The process of obtaining the collaboration requirement score is as follows: Obtain cross-department access logs within a preset historical time window, count the number of queries and calculate the ratio to the length of the historical time window, and obtain the query activity after normalization. The ratio of the number of different query requests that also contain other data to be managed to the total number of queries on the data to be managed is used as the association coverage rate. Obtain the total number of all predefined cross-departmental collaborative business scenarios in the government affairs collaborative management platform; The ratio of the number of cross-departmental collaborative business scenarios involving the data to be managed to the total number of all business scenarios is used as the breadth of business coverage. The collaborative requirement score is obtained by applying an equal-weighted geometric average to the query activity, association coverage, and business coverage breadth.

4. The government collaborative management method based on microservice architecture according to claim 2, characterized in that: The process of obtaining security risk scores is as follows: Sensitive information is identified in the included data fields, the number of sensitive fields is counted, and the ratio of the number of sensitive fields to the total number of fields is calculated as the sensitivity density. The average completeness is calculated as the ratio of the number of fields returned in the statistical query results to the total number of fields. The security risk score is obtained by taking an equal-weighted geometric average of sensitivity density and average integrity.

5. The government collaborative management method based on microservice architecture according to claim 1, characterized in that: The process of determining whether there are statistically significant changes in access behavior is as follows: Obtain the access timestamps of each data point in the current access behavior time series and generate an access frequency time series. Using the point of change as the dividing point, calculate the mean access frequency before and after the dividing point and the mean of the whole sequence respectively; Calculate and construct the F-statistic. If it is greater than the significance level, then the statistical significance test is passed. Calculate the average access frequency of the verification window length before and after the change point, and use it as the baseline average before the change and the verification average after the change. Calculate the ratio of the verification average after the change to the baseline average before the change, and use it as the mean ratio. If the mean ratio is not within the tolerance range, then the persistence test is passed; If both statistical significance and persistence tests are satisfied, then there is a statistically significant point of change.

6. The government collaborative management method based on microservice architecture according to claim 1, characterized in that: The process of analyzing the current query dependency and impact of the target data item in cross-departmental collaborative business is as follows: The analysis interval is defined as the interval after the point of statistical significance change for the target data item. The query dependency and impact range are obtained by analyzing the access behavior data within the analysis period; If the query dependency is greater than the dependency limit, it is marked as high dependency. Otherwise, it is marked as low dependency. If the scope of influence is greater than the scope limit, it is marked as a high-impact scope. Otherwise, it is marked as a low-impact range.

7. A government collaborative management method based on a microservice architecture as described in claim 6, characterized in that: The process of obtaining query dependency and scope of influence is as follows: Within the analysis interval, the total number of government departments that have queried the target data item is counted as the query breadth. The total number of times a target data item is queried is used as the query intensity. Iterate through all query requests that contain the target data item, extract other data to be managed that are also contained in each query request, remove duplicates, and count the number of different data to be managed as the association breadth; After normalizing the query breadth, query lightness, and association breadth respectively, the query dependency is obtained by multiplying them. The list of all government departments that have queried the target data item within the statistical analysis interval is used as the query set; The query set includes a list of other government departments involved in all cross-departmental query requests initiated by the department to which the target data item belongs within the analysis period; the union of the two sets is then used to calculate the total number of affected departments. The total number of duplicate data items to be managed by all other departments involved in all cross-departmental query requests initiated by the government department to which the target data item belongs within the analysis period is used as the number of affected data items. After normalizing the number of affected departments and the number of affected data items respectively, they are multiplied to obtain the scope of influence.

8. The government collaborative management method based on microservice architecture according to claim 1, characterized in that: The process of analyzing the update requirements of shared attributes of target data items is as follows: If the assessment result is high impact range and high dependence, or high impact range and low dependence, then the update requirement is set to medium and the application will be subject to manual review. If the assessment result indicates a low impact range and high dependency, then the need for updating is high, and an immediate update should be performed. If the assessment result indicates a low impact range and low dependency, then the need for updating is low, and no update will be performed for the time being.

9. A government collaborative management system based on a microservice architecture, characterized in that, The system is used to perform the method according to any one of claims 1-8, the system comprising: Initial attribute output module: Obtain the data to be managed and basic attribute tags of each government department, perform multi-dimensional feature analysis on the data to be managed, and output the initial shared attributes of the data to be managed; Change point analysis module: Collects access behavior data of each government department in real time, performs change point detection on the time series of access behavior, and determines whether there are statistically significant change points in access behavior; Query Dependency Impact Analysis Module: When a statistically significant change point is detected, the corresponding data to be managed is obtained as the target data item, and the current query dependency degree and impact range of the target data item in cross-departmental collaborative business are analyzed. Update Requirement Module: Based on the degree of dependency and the scope of impact, analyze the update requirement of the shared attributes of the target data item. If the update requirement is high, update the initial shared attributes of the target data item and share the change information. Collaborative Permission Analysis Module: Extracts shared attribute change information, performs cross-departmental access permission propagation analysis, updates the real-time access permission status of each government department for target data items, responds to cross-departmental query requests, and executes differentiated query responses.

Citation Information

Patent Citations

  • Information asset management system and protection intensity evaluation method thereof

    CN121146917A

  • Data circulation tracing method and system based on smart contract

    CN122293302A