Government affair data information monitoring method based on government affair data monitoring model
By formulating a unified data exchange interface and creating a government data monitoring model, the problem of the government service monitoring system being unable to be uniformly managed and flexibly monitored was solved, real-time synchronization and monitoring of government data was achieved, rapid query and statistics were supported, and government service capabilities were improved.
Patent Information
- Application Number
- CN202510573862.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-09-23
AI Technical Summary
The existing government service monitoring system is unable to uniformly manage and conduct flexible data monitoring, and is unable to monitor and calculate government data according to different rules, resulting in insufficient flexibility in monitoring.
Establish unified data exchange interface standards, classify government data types and convert them into flat structures, create a government data monitoring model, set monitoring rules, including exception monitoring rules, use computing models to synchronize data and perform monitoring calculations, store monitoring results, and perform real-time synchronization and monitoring through data exchange interfaces and RocketMQ.
It realizes the real-time synchronization and monitoring of government data, supports rapid query and statistics, and can supervise and provide feedback on problematic cases in real time, thereby improving government service capabilities.
Smart Images

Figure CN120687511A_ABST
Abstract
Description
Technical Field
[0001] The present invention discloses a method for monitoring government data information based on a government data monitoring model, and relates to the technical field of data monitoring. Background Art
[0002] The government service monitoring system is a comprehensive management platform that leverages modern information technology to conduct real-time monitoring, early warning, analysis, and evaluation of the entire government service process. Its core goals are to improve the efficiency of government services, standardize administrative behavior, protect the rights and interests of the public, and promote the standardization, intelligence, and transparency of government services. Currently, there are numerous government service monitoring systems in operation, which lack unified management and data statistics. Furthermore, they cannot monitor and calculate different government data according to different rules, resulting in insufficient flexibility. Summary of the Invention
[0003] In response to the problems of the existing technology, the present invention provides a method for monitoring government data information based on a government data monitoring model. Based on the government data monitoring model, monitoring calculations are performed on government data according to different rules, and supervision and feedback are given according to the monitoring calculation results, so as to promote departments at all levels to continuously improve the quality of government service provision.
[0004] The specific scheme proposed by the present invention is:
[0005] The present invention provides a method for monitoring government data information based on a government data monitoring model, comprising:
[0006] Step 1: Develop a unified data exchange interface standard based on the different data structures of online government systems;
[0007] Step 2: Classify government data types based on the different data structures of online government systems and convert each type of government data into a flat structure. This flat structured data will be synchronized to the government data monitoring model via the data exchange interface.
[0008] Step 3: Create a government data monitoring model and set monitoring rules. The monitoring rules include exception monitoring rules. The exception monitoring rules include time exception rules, process exception rules, content exception rules, discretion exception rules, and service risk point rules. Set up a separate data table for each exception monitoring rule to record the id, monitoring rule name, monitoring rule classification, specific content of the monitoring rule, and monitoring rule code. Establish a calculation model for the government data monitoring model and specify the calculation mode of the calculation model. The calculation mode includes calculation when data is updated, timed calculation, and manual calculation.
[0009] Step 4: Based on the data exchange interface, create synchronization plans for different types of government data to the government data monitoring model, and execute data synchronization according to the synchronization plan;
[0010] Step 5: Based on the government data and different monitoring points that have been synchronized to the government data monitoring model, use the calculation model combined with the monitoring rules to perform data monitoring calculations and store the monitoring results. Use the government data monitoring model combined with various calculation results and monitoring results to query and perform statistical operations on the monitoring data.
[0011] Furthermore, in step 1 of the method for monitoring government data information based on a government data monitoring model, a unified data exchange interface standard is formulated, including:
[0012] Defines the common basic information in the data exchange interface to distinguish different types of government data.
[0013] Define what operations on government data are included in the data exchange interface,
[0014] The definition of the data exchange interface includes the time for operating the government data to be exchanged.
[0015] The defined data exchange interface includes flat structure data of different upstream government systems, and the flat structure data of the upstream government systems is persisted in the database of the government data monitoring model.
[0016] Furthermore, in step 3 of the method for monitoring government data information based on the government data monitoring model, the specific triggering rules for handling the case are identified according to the monitoring rule code; the triggering monitoring conditions and the type of calculation to be performed on the government data are described according to the specific content of the monitoring rules; the specific monitoring classification is indicated according to the classification of the monitoring rules, and whether to perform calculations is determined based on the classification according to the scenario.
[0017] Furthermore, in step 4 of the method for monitoring government data information based on a government data monitoring model, creating a synchronization plan and performing data synchronization according to the synchronization plan include:
[0018] Based on the data exchange interface standards and the flat structure of different types of government data, confirm the type of government data transmitted through the data exchange interface, the specific operations required and the operation time, and then directly execute the relevant specific operations in the database through the corresponding data primary key to complete data synchronization.
[0019] Furthermore, in step 5 of the method for monitoring government data information based on a government data monitoring model, when the calculation model is combined with the monitoring rules to perform data monitoring calculations, when the calculation mode is to calculate when there is data update, the calculation is performed based on the latest government data, and a calculation topic is created in RocketMQ. After the consumer data synchronization is completed, a message is synchronously sent to the calculation topic. The message contains the case number information, and a consumer is set up to subscribe to the calculation topic. Each time the consumer receives the information, it queries the government data monitoring model persistence layer for the synchronized relevant information and monitoring rules of the case according to the case number, and then performs the corresponding calculation and persists the calculation results.
[0020] Furthermore, in step 5 of the method for monitoring government data information based on the government data monitoring model, when the calculation model is combined with the monitoring rules to perform data monitoring calculations, when the calculation mode is timed calculation, a timed topic is created in RocketMQ. After the consumer used for calculation calculates the data, it is determined whether the calculation result requires timed calculation. If timed calculation is required, a timed message is sent to the timed topic, and a consumer is set up to subscribe to the timed topic. The consumer that subscribes to the timed topic performs the calculation again after receiving the message each time, and determines again whether timed calculation is required. If necessary, it continues to send timed messages to the timed topic. If not, no other operations are performed.
[0021] Furthermore, in step 5 of the method for monitoring government data information based on a government data monitoring model, when the calculation model is combined with the monitoring rules to perform data monitoring calculations, when the calculation mode is manual calculation, a table for manual calculation is created to store the business ID and business type of the corresponding government data. Through scheduled tasks, the business ID and business type that need to be manually recalculated are obtained from the table each time, and the metadata and corresponding monitoring rules are found in the database through the business ID and business type, and then the calculation is performed and the results are saved.
[0022] The present invention also provides a device for monitoring government data information based on a government data monitoring model, comprising a data exchange interface module, a conversion module, a model management module, a synchronization module and a monitoring module.
[0023] The data exchange interface module formulates a unified data exchange interface standard based on the different data structures of online government systems;
[0024] The conversion module classifies government data types according to the different data structures of online government systems and converts each type of government data into a flat structure. It is used to synchronize the government data converted into a flat structure to the government data monitoring model through the data exchange interface;
[0025] The model management module creates a government data monitoring model and sets monitoring rules. The monitoring rules include exception monitoring rules, which include time exception rules, process exception rules, content exception rules, discretion exception rules, and service risk point rules. A separate data table is set for each exception monitoring rule to record the id, monitoring rule name, monitoring rule classification, specific content of the monitoring rule, and monitoring rule code. The government data monitoring model establishes a calculation model and specifies the calculation mode of the calculation model. The calculation modes include calculation when data is updated, timed calculation, and manual calculation.
[0026] The synchronization module creates synchronization schemes for different types of government data to the government data monitoring model based on the data exchange interface, and executes data synchronization according to the synchronization schemes;
[0027] The monitoring module is based on the government data and different monitoring points that have been synchronized to the government data monitoring model. It uses the calculation model combined with the monitoring rules to perform data monitoring calculations and store the monitoring results. It uses the government data monitoring model combined with various calculation results and monitoring results to query and perform statistical operations on the monitoring data.
[0028] The benefits of the present invention are:
[0029] 1. Real-time synchronization and monitoring of government service data: Data interface, RocketMQ and real-time synchronization and monitoring calculation of government service data with different structures can be used.
[0030] 2. Fast query and statistics of government service data: By storing government service data in a structured manner in Elasticsearch and using aggregate queries based on different conditions, statistical results can be quickly obtained across all dimensions of the full data volume. Compared to traditional database tables, this avoids performance issues with extremely large data volumes. Compared to traditional government service systems, it also supports query and statistics across various monitoring rule dimensions.
[0031] 3. Real-time supervision and feedback on problematic cases can be provided to improve government service capabilities: Through synchronized and monitored data, problematic cases can be quickly fed back to the government service system, and relevant systems can be urged to make rectifications, thereby improving government service capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of the application process of the method of the present invention. DETAILED DESCRIPTION
[0033] The present invention will be further described below with reference to the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it. However, the embodiments are not intended to limit the present invention.
[0034] Example 1
[0035] The present invention provides a method for monitoring government data information based on a government data monitoring model, comprising:
[0036] Step 1: Develop a unified data exchange interface standard based on the different data structures of online government systems.
[0037] The unified data exchange interface standards are formulated, including:
[0038] Define the common basic information in the data exchange interface to distinguish different types of government data, such as: case processing data, good and bad review data, queue call data, etc.
[0039] Define what operations on government data are included in the data exchange interface, such as adding, deleting, and modifying operations, so that the data of the upstream government system can be kept consistent with the data in this model.
[0040] The data exchange interface is defined to include the time for operating the government data to be exchanged. This time can be used to form an optimistic lock to prevent frequent operations on the same data from causing high concurrency conflicts, which will eventually lead to inconsistency between the data and the upstream government system.
[0041] The defined data exchange interface includes the flat structure data of different upstream government systems. The flat structure data of the upstream government systems is persisted in the database of the government data monitoring model. It serves as metadata for subsequent monitoring calculations and is also used for reconciliation with the upstream government systems.
[0042] Step 2: Classify government data types based on the different data structures of online government systems and convert each type of government data into a flat structure. This flat structured data will be synchronized to the government data monitoring model via the data exchange interface.
[0043] Step 3: Create a government data monitoring model and set monitoring rules. The monitoring rules include exception monitoring rules, which include time limit exception rules, process exception rules, content exception rules, discretion exception rules, and service risk point rules. Set up a separate data table for each exception monitoring rule to record the id, monitoring rule name, monitoring rule classification, specific content of the monitoring rule, and monitoring rule code. The monitoring rule code is the code corresponding to a specific monitoring rule, that is, the different keys in the monitoring result information rulesFlag, which are used to identify the specific triggering rules for handling cases.
[0044] According to the specific content of the supervision rules, the supervision conditions are triggered, and what kind of calculation is performed on the government data; for example, in the timeout rule: determine whether the calculation time exceeds the promised completion time of the calculated case. If it exceeds, it is determined that the case triggers this rule.
[0045] According to the classification of supervision rules, the specific supervision classification is specified, and for the scenario, whether to perform calculation is determined based on the classification.
[0046] The government data monitoring model establishes a calculation model and stipulates the calculation mode of the calculation model. The calculation mode includes calculation when data is updated, timed calculation and manual calculation.
[0047] Step 4: Based on the data exchange interface, create synchronization plans for different types of government data to the government data monitoring model and execute data synchronization according to the synchronization plan. Creating and executing data synchronization according to the synchronization plan includes: based on the data exchange interface standards and the flat structure of different types of government data, confirming the type of government data transmitted through the data exchange interface, the specific operations required, and the operation time, and then directly executing the relevant specific operations in the database using the corresponding data primary key to complete data synchronization.
[0048] Step 5: Based on the government data and different monitoring points that have been synchronized to the government data monitoring model, use the calculation model combined with the monitoring rules to perform data monitoring calculations and store the monitoring results. Use the government data monitoring model combined with various calculation results and monitoring results to query and perform statistical operations on the monitoring data.
[0049] When using the calculation model in combination with monitoring rules to perform data monitoring calculations, when the calculation mode is to calculate when there is data update, calculations are performed based on the latest government data. A calculation topic is created in RocketMQ, and after the consumer data synchronization is completed, a message is sent to the calculation topic synchronously. The message contains the case number information, and a consumer is set up to subscribe to the calculation topic. Each time the consumer receives the information, it queries the government data monitoring model persistence layer for the synchronized relevant information and monitoring rules based on the case number, and then performs the corresponding calculation and persists the calculation results.
[0050] When using the calculation model in combination with the monitoring rules to perform data monitoring calculations, when the calculation mode is timed calculation, for example, for a certain type of government data, its rules have strong timeliness, that is, it did not time out in the previous hour, but it has timed out in the next hour. This type of case requires regular calculations and continuous updating of its calculation results.
[0051] At this time, create a timed topic in RocketMQ. After the consumer used for calculation finishes calculating the data, it determines whether the calculation result needs to be calculated regularly. If it needs to be calculated regularly, it sends a timed message to the timed topic. At the same time, set up a consumer to subscribe to the timed topic. The consumer subscribed to the timed topic performs the calculation again after receiving the message each time, and determines again whether the calculation needs to be calculated regularly. If it needs to be calculated regularly, it continues to send timed messages to the timed topic. If not, no other operations are performed.
[0052] When using calculation models combined with monitoring rules to perform data monitoring calculations, when the calculation mode is manual calculation, for example, if the monitoring rules change, it will not affect the latest monitoring calculation results, but some historical calculation results will need to be manually recalculated.
[0053] At this time, create a table for manual calculation to store the business ID and business type of the corresponding government data. Through the scheduled task, obtain the business ID and business type that need to be manually recalculated in the table each time, and use the business ID and business type to find the metadata and corresponding supervision rules in the database, and then perform the calculation and save the results.
[0054] For different government data calculation results, a flat structure design can be performed, for example:
[0055] Contains calculation fields and core business fields of different government data. Monitoring calculation results are frequently queried by upstream systems or third-party systems, so core business fields are included for query needs. For example, the monitoring calculation results of a case can be queried by trigger rule code, division, department, matter information, and application time information;
[0056] In addition to simple conditional queries, monitoring calculation results are also used to provide efficient statistical services for use by upstream systems or third-party systems.
[0057] Elasticsearch can be used as the persistence layer for monitoring results. Due to the unique characteristics of Elasticsearch, the data stored in it needs to be flattened. Different Elasticsearch indexes can be designed to differentiate different government data monitoring results.
[0058] Example 2
[0059] The present invention also provides a device for monitoring government data information based on a government data monitoring model, comprising a data exchange interface module, a conversion module, a model management module, a synchronization module and a monitoring module.
[0060] The data exchange interface module formulates a unified data exchange interface standard based on the different data structures of online government systems;
[0061] The conversion module classifies government data types according to the different data structures of online government systems and converts each type of government data into a flat structure. It is used to synchronize the government data converted into a flat structure to the government data monitoring model through the data exchange interface;
[0062] The model management module creates a government data monitoring model and sets monitoring rules. The monitoring rules include exception monitoring rules, which include time exception rules, process exception rules, content exception rules, discretion exception rules, and service risk point rules. A separate data table is set for each exception monitoring rule to record the id, monitoring rule name, monitoring rule classification, specific content of the monitoring rule, and monitoring rule code. The government data monitoring model establishes a calculation model and specifies the calculation mode of the calculation model. The calculation modes include calculation when data is updated, timed calculation, and manual calculation.
[0063] The synchronization module creates synchronization schemes for different types of government data to the government data monitoring model based on the data exchange interface, and executes data synchronization according to the synchronization schemes;
[0064] The monitoring module is based on the government data and different monitoring points that have been synchronized to the government data monitoring model. It uses the calculation model combined with the monitoring rules to perform data monitoring calculations and store the monitoring results. It uses the government data monitoring model combined with various calculation results and monitoring results to query and perform statistical operations on the monitoring data.
[0065] Since the information interaction, execution process and other contents between the modules in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention, the specific contents can be found in the description of the embodiment of the method of the present invention and will not be repeated here.
[0066] Likewise, the device of the present invention is beneficial in that:
[0067] 1. Real-time synchronization and monitoring of government service data: Data interface, RocketMQ and real-time synchronization and monitoring calculation of government service data with different structures can be used.
[0068] 2. Fast query and statistics of government service data: By storing government service data in a structured manner in Elasticsearch and using aggregate queries based on different conditions, statistical results can be quickly obtained across all dimensions of the full data volume. Compared to traditional database tables, this avoids performance issues with extremely large data volumes. Compared to traditional government service systems, it also supports query and statistics across various monitoring rule dimensions.
[0069] 3. Real-time supervision and feedback on problematic cases can be provided to improve government service capabilities: Through synchronized and monitored data, problematic cases can be quickly fed back to the government service system, and relevant systems can be urged to make rectifications, thereby improving government service capabilities.
[0070] It should be noted that not all steps and modules in the above-mentioned processes and device structures are required, and certain steps or modules can be omitted according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The system structure described in the above-mentioned embodiments can be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or may be implemented by certain components in multiple independent devices.
[0071] The above embodiments are merely preferred embodiments for the purpose of fully illustrating the present invention, and the scope of protection of the present invention is not limited thereto. Equivalent substitutions or modifications made by those skilled in the art based on the present invention are within the scope of protection of the present invention. The scope of protection of the present invention shall be subject to the claims.
Claims
1. A method for monitoring government data information based on a government data monitoring model, characterized by: include: Step 1: Develop a unified data exchange interface standard based on the different data structures of online government systems; Step 2: Classify government data types based on the different data structures of online government systems and convert each type of government data into a flat structure. This flat structured data will be synchronized to the government data monitoring model via the data exchange interface. Step 3: Create a government data monitoring model and set monitoring rules. The monitoring rules include exception monitoring rules. The exception monitoring rules include time exception rules, process exception rules, content exception rules, discretion exception rules, and service risk point rules. Set up a separate data table for each exception monitoring rule to record the id, monitoring rule name, monitoring rule classification, specific content of the monitoring rule, and monitoring rule code. Establish a calculation model for the government data monitoring model and specify the calculation mode of the calculation model. The calculation mode includes calculation when data is updated, timed calculation, and manual calculation. Step 4: Based on the data exchange interface, create synchronization plans for different types of government data to the government data monitoring model, and execute data synchronization according to the synchronization plan; Step 5: Based on the government data and different monitoring points that have been synchronized to the government data monitoring model, use the calculation model combined with the monitoring rules to perform data monitoring calculations and store the monitoring results. Use the government data monitoring model combined with various calculation results and monitoring results to query and perform statistical operations on the monitoring data.
2. A method for monitoring government data information based on a government data monitoring model according to claim 1, characterized in that In step 1, a unified data exchange interface standard is developed, including: Define the common basic information in the data exchange interface to distinguish different types of government data. Define what operations on government data are included in the data exchange interface, The definition of the data exchange interface includes the time for operating the government data to be exchanged. The defined data exchange interface includes flat structure data of different upstream government systems, and the flat structure data of the upstream government systems is persisted in the database of the government data monitoring model.
3. According to claim 1, a method for monitoring government data information based on a government data monitoring model is characterized in that in step 3, the specific triggering rules for handling the case are identified according to the monitoring rule code; the triggering monitoring conditions and the type of calculation to be performed on the government data are described according to the specific content of the monitoring rules; the specific monitoring classification is indicated according to the classification of the monitoring rules, and based on the scenario, whether to perform calculations is determined according to the classification.
4. The method for monitoring government data information based on the government data monitoring model according to claim 1 is characterized by: In step 4, create a synchronization plan and perform data synchronization according to the synchronization plan, including: Based on the data exchange interface standards and the flat structure of different types of government data, confirm the type of government data transmitted through the data exchange interface, the specific operations required and the operation time, and then directly execute the relevant specific operations in the database through the corresponding data primary key to complete data synchronization.
5. The method for monitoring government data information based on the government data monitoring model according to claim 1 is characterized by: In step 5, when using the calculation model combined with the monitoring rules to perform data monitoring calculations, when the calculation mode is to calculate when there is data update, the calculation is performed based on the latest government data, and a calculation topic is created in RocketMQ. After the consumer data synchronization is completed, a message is sent to the calculation topic synchronously. The message contains the case number information, and a consumer is set up to subscribe to the calculation topic. Each time the consumer receives the information, it queries the government data monitoring model persistence layer for the synchronized relevant information and monitoring rules of the case based on the case number, and then performs the corresponding calculation and persists the calculation results.
6. The method for monitoring government data information based on the government data monitoring model according to claim 1 is characterized by: In step 5, when the calculation model is combined with the monitoring rules to perform data monitoring calculations, when the calculation mode is timed calculation, a timed topic is created in RocketMQ. After the consumer used for calculation calculates the data, it is determined whether the calculation result needs to be calculated timed. If timed calculation is required, a timed message is sent to the timed topic, and a consumer is set up to subscribe to the timed topic. The consumer subscribed to the timed topic performs the calculation again after receiving the message each time, and determines again whether timed calculation is needed. If it is needed, it continues to send timed messages to the timed topic. If not, no other operations are performed.
7. The method for monitoring government data information based on a government data monitoring model according to claim 1 is characterized by: In step 5, when using the calculation model combined with the monitoring rules to perform data monitoring calculations, when the calculation mode is manual calculation, create a table for manual calculation to store the business ID and business type of the corresponding government data. Through the scheduled task, obtain the business ID and business type that need to be manually recalculated in the table each time, and use the business ID and business type to find the metadata and corresponding monitoring rules in the database, and then perform the calculation and save the results.
8. A device for monitoring government data information based on a government data monitoring model, characterized by Including data exchange interface module, conversion module, model management module, synchronization module and monitoring module, The data exchange interface module formulates a unified data exchange interface standard based on the different data structures of online government systems; The conversion module classifies government data types according to the different data structures of online government systems and converts each type of government data into a flat structure. It is used to synchronize the government data converted into a flat structure to the government data monitoring model through the data exchange interface; The model management module creates a government data monitoring model and sets monitoring rules. The monitoring rules include exception monitoring rules, which include time exception rules, process exception rules, content exception rules, discretion exception rules, and service risk point rules. A separate data table is set for each exception monitoring rule to record the id, monitoring rule name, monitoring rule classification, specific content of the monitoring rule, and monitoring rule code. The government data monitoring model establishes a calculation model and specifies the calculation mode of the calculation model. The calculation modes include calculation when data is updated, timed calculation, and manual calculation. The synchronization module creates synchronization schemes for different types of government data to the government data monitoring model based on the data exchange interface, and executes data synchronization according to the synchronization schemes; The monitoring module is based on the government data and different monitoring points that have been synchronized to the government data monitoring model. It uses the calculation model combined with the monitoring rules to perform data monitoring calculations and store the monitoring results. It uses the government data monitoring model combined with various calculation results and monitoring results to query and perform statistical operations on the monitoring data.
Citation Information
Patent Citations
Central monitoring system for e-government affairs and monitoring method thereof
CN102799967A
Government affair item synchronization method, device and system, computer equipment and storage medium
CN110969417A
Electronic monitoring system based on government affair disclosure
CN112967165A
Government affair data monitoring method based on combination of canal, mq and es
CN116775730A
Government affair data synchronization and monitoring method and system
CN118585584A
Cited By
Data real-time synchronization method, device and equipment and storage medium
CN121000735A