An electronic government affairs platform management method and system based on cloud data
Through multi-scale coding, knowledge graph and reinforced learning, and combined with digital twin technology, the problems of government data heterogeneity and process optimization are solved, and the intelligence level and data processing efficiency of the e-government platform are improved.
Patent Information
- Application Number
- CN202510706555.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2045-05-28
AI Technical Summary
In the existing technology, the heterogeneity of government data and the difficulty of optimization of approval processes limit the intelligent development of e-government platforms, resulting in lengthy government approval processes and inefficient information sharing.
Multi-scale time coding and spatial coding technology are used to store government data, build a government knowledge graph, optimize the approval path using reinforcement learning, and simulate and test it through digital twin technology, combining permission management and data storage to optimize the approval process.
It has improved the government data processing capabilities, optimized the approval process, enhanced the approval efficiency and verifiability of optimization strategies, and provided technical support for the digital and intelligent transformation of government services.
Smart Images

Figure CN120234427B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a cloud data-based e-government platform management method and system. Background Art
[0002] With the development of information technologies such as cloud computing, big data, and artificial intelligence, e-government is gradually evolving towards an intelligent and data-driven model. Traditional government management models primarily rely on offline approvals, paper document storage, and manual process management, resulting in lengthy approval processes and inefficient information sharing. This makes it difficult to meet modern society's demand for intelligent, automated, and efficient government services. In recent years, the widespread application of cloud data technologies has enabled government information systems to efficiently store and process massive amounts of data. Intelligent analysis technologies based on knowledge graphs, natural language processing (NLP), and reinforcement learning have also been gradually introduced to enhance the intelligence of government services. For example, using knowledge graphs to perform semantic correlation analysis on government data can uncover cross-departmental relationships, optimize business processes, and reduce redundant approval steps. Furthermore, the introduction of streaming computing frameworks such as Apache Flink has shifted government data processing from a traditional approval-based model to a real-time computing model, improving data flow efficiency and enabling intelligent recommendations, process optimization, and automated approvals for government services. Regarding government approval optimization, the recent rise of digital twin technology offers a new solution for optimizing government business processes. By building a virtual government approval system, we can test the optimization effects of different approval paths in a simulated environment and combine it with reinforcement learning to achieve dynamic optimization of the approval process. However, existing technologies still face many challenges, such as the heterogeneity of government data and the difficulty of optimizing the approval process. These issues limit the development of intelligent e-government platforms. Summary of the Invention
[0003] In view of the above existing problems, the present invention is proposed.
[0004] Therefore, the present invention provides an e-government platform management method and system based on cloud data to solve many challenges that still exist in the existing technology, such as the heterogeneity of government data and the difficulty of optimizing the approval process. These problems limit the intelligent development of the e-government platform.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0006] In a first aspect, the present invention provides a method for managing an e-government platform based on cloud data, which comprises:
[0007] Collect multi-source data, pre-process them, extract keywords, perform multi-scale time coding and multi-scale spatial coding on the data, and then store the data in the database;
[0008] The multi-source data includes user operation data, government business data, and IoT device data;
[0009] Build a government knowledge graph based on the database, explore the correlation between departmental businesses and analyze users' working habits;
[0010] Generate government approval paths based on knowledge graphs, optimize them through reinforcement learning, dynamically adjust approval processes, and use digital twin technology for simulation testing to verify user satisfaction after optimizing approval processes.
[0011] Store government data in the database and manage permissions.
[0012] As a preferred solution of the cloud data-based e-government platform management method of the present invention, extracting keywords includes the following steps:
[0013] Use WordNet and Wikipedia semantic matching to determine synonyms in the government affairs field;
[0014] Extract professional terms from government announcements, government websites, and policy and regulatory documents;
[0015] Establish multi-level dictionaries, including basic dictionaries, institutional dictionaries, industry dictionaries, and action dictionaries;
[0016] Count the words that appear frequently in government data texts but are not included in the dictionary, and calculate the weight of new words through TF-IDF. Set a threshold Q. If the weight of a new word is greater than the threshold Q, filter out high-value new words and dynamically update the multi-level dictionary.
[0017] Combining maximum forward matching and hidden Markov models, the method uses a dynamically updated multi-level dictionary for accurate word segmentation and the Viterbi algorithm to calculate the optimal word segmentation path. During the calculation process, the optimal selection state at each step is recorded to generate a path storage table. The path storage table is backtracked to obtain word boundaries. New words are extracted based on the backtracked boundary information and integrated into a predicted word set.
[0018] Combine the known words of maximum positive match and the predicted words of hidden Markov model, calculate the confidence of hidden Markov model word segmentation and maximum positive match word segmentation, set threshold A, if the confidence of the hidden Markov model predicted word is greater than threshold A, then combine the hidden Markov model result with the maximum positive match word segmentation to obtain the final word segmentation result, and store the new word in the multi-level dictionary, otherwise directly use the maximum positive match result;
[0019] Define government-specific part-of-speech categories and generate a government-specific annotation dataset. Use the dataset to train a conditional random field model, and use the trained conditional random field model to predict part-of-speech tags.
[0020] Deduplication is calculated based on Jaccard similarity. Set the similarity threshold O. If the similarity is greater than the threshold O, then merge the two words, and generate a keyword set based on the filtered and deduplicated words.
[0021] Count the co-occurrence frequency P(W, E) of keyword pairs (W, E) in the same government affairs text, and calculate the independent occurrence probabilities P(W) and P(E) of single words W and E in all government affairs documents. Use PMI to calculate the relevance PWI(A, B) of keywords, determine the semantic hierarchy of keywords W and E in WordNet, use Leacock-Chodorow similarity to calculate the semantic similarity between words, combine the Wikipedia knowledge base, extract the relevant context vectors of keywords W and E, and use cosine similarity to calculate the relevance of the two keywords.
[0022] Use a weighted method to comprehensively calculate the similarity results of WordNet and Wikipedia, obtain the similarity score of the final keywords, set the similarity threshold y, and only retain the keyword pairs with similarity greater than the threshold y.
[0023] Define the Skip-Gram model, and input the keywords into the model to obtain word vectors.
[0024] Use the K-Means clustering algorithm to perform clustering analysis on the word vectors, use TextRank to calculate the importance of keywords, obtain the importance score of keywords, sort the keywords in descending order according to the importance score, and select the top M keywords with the highest scores as the final output.
[0025] As a preferred solution of the electronic government affairs platform management method based on cloud data described in the present invention, wherein: constructing a government affairs knowledge graph based on a database, and mining the association relationships of departmental operations and analyzing users' handling habits includes:
[0026] Use hash mapping to parse time-coded data and map it back to specific business stages, including the application stage, review stage, approval passed stage, and re-review stage.
[0027] Use nearest neighbor matching to parse spatial-coded data and map it to the corresponding government affairs agencies and approval regions.
[0028] Use a triple model to establish a government affairs data graph based on time, space, and business, use the cosine similarity method to calculate the association degree of different government affairs operations, parse the user operation records in the knowledge graph to generate a user behavior data set, use the time window sliding method to organize user operations into a time series, calculate the user business access frequency, and use Markov chain analysis to calculate the user business jump probability.
[0029] As a preferred solution of the e-government platform management method based on cloud data according to the present invention, wherein: generating a government approval path based on a knowledge graph, optimizing the government approval path through reinforcement learning, and dynamically adjusting the approval process includes:
[0030] According to the time and space information of the user's applied business, obtain the current stage of the approval business, determine the starting stage of the approval, obtain historical businesses similar to the current approval business according to the business correlation degree in the knowledge graph, and calculate the access frequency of the approval node as the weight of the approval node. Based on Markov chain analysis, calculate the business transition probability of the user under the current approval business. Based on the approval node weight and the user business transition probability, use the normalized linear weighted method to calculate the total weight of the approval path, and select the approval path with the highest weight as the optimal approval path;
[0031] Construct a state space X based on the nodes of the optimal approval path. Through Bayesian inference, calculate the posterior probability of the optimal approval path, and through Bayesian inference, construct the initial strategy of reinforcement learning;
[0032] Set the optimization actions that can be selected for reinforcement learning. Each state X must be able to map to at least one action A. Collect historical approval data, select the strategy with the highest approval passing rate and the shortest approval time to form a strategy set. Use the Q-value function to calculate the strategy score, and use the generalization strategy to select the optimal strategy under the current approval path state. For the business that requires manual approval, set constraints and the minimum limit of the approval node.
[0033] Set the optimization goal of the approval time. Only when the optimized approval time is less than the set target value, the optimization strategy will be adopted;
[0034] Take the set state space and optimization strategy set as the input of the Q network, set the initial Q value, and initialize the Q network weights using a uniform distribution. Set the storage structure of the experience pool, and randomly extract samples of optimized approval paths from the experience pool each time for training;
[0035] Use the Bellman equation to calculate the Q value, set the Q value update rule, use the generalization strategy update to optimize the Q value, select the best path from multiple historical optimal strategies and update the current approval path;
[0036] Optimize the Q network through gradient descent to obtain the optimized optimal approval path.
[0037] As a preferred solution of the electronic government affairs platform management method based on cloud data according to the present invention, the following steps are included: using digital twin technology for simulation testing, verifying the user satisfaction after optimizing the approval process, including determining Petri net elements, setting simulation parameters, running the optimized approval path in the simulation environment, collecting the execution data of the approval process, calculating the overall optimization rate of the approval process, recording the performance of the optimized approval path in the simulation environment, calculating the approval efficiency improvement rate based on the optimized approval success rate and the historical approval success rate, setting a target threshold U, if the improvement rate is greater than the threshold U, then deploy, otherwise record the problems that do not meet the expectations and readjust the reinforcement learning model, and repeat the training process.
[0038] As a preferred solution of the electronic government affairs platform management method based on cloud data according to the present invention, the following steps are included: storing government affairs data in a database and performing permission management, which means storing the original government affairs data and the corresponding government affairs approval data in JSON format, and using the database for storage, setting user access permissions, and only allowing authorized users to access.
[0039] As a preferred solution of the electronic government affairs platform management method based on cloud data according to the present invention, the following steps are included in storing the data in the database after multi-scale time encoding and multi-scale space encoding of the data:
[0040] Based on the extracted keywords of government affairs data, determine the time granularity of each piece of data, perform time encoding on each piece of government affairs data, and determine the spatial attributes of the data according to the keywords of the government affairs data after time encoding;
[0041] Convert the geographical coordinates of government affairs data into a one-dimensional index, and use Morton encoding to store the spatial index. Combine Hilbert encoding and Morton encoding, use Hilbert for large-scale data query, and use Morton for small-scale data query, and store the encoded data in the database.
[0042] In the second aspect, the present invention provides an electronic government affairs platform management system based on cloud data, including,
[0043] A data collection module, used to collect government affairs data from different data sources and perform preprocessing;
[0044] A keyword extraction module, used to perform text analysis on government affairs data, extract core keywords, and perform time and space encoding on the data;
[0045] A knowledge graph construction module, used to establish the association relationship of government affairs data using knowledge graph technology and analyze the business habits of users;
[0046] An intelligent approval path optimization module, which is used to optimize the approval path by using a reinforcement learning model and realize the dynamic adjustment of the approval process;
[0047] A digital twin simulation test module, which is used to simulate and test the optimized approval path by using Petri net simulation technology to verify the optimization effect;
[0048] A data storage module, which is used to store approval data and perform access permission control.
[0049] Thirdly, the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and: when the computer program is executed by the processor, any step of the method for managing an e-government platform based on cloud data as described in the first aspect of the present invention is implemented.
[0050] Fourthly, the present invention provides a computer-readable storage medium, on which a computer program is stored, and: when the computer program is executed by the processor, any step of the method for managing an e-government platform based on cloud data as described in the first aspect of the present invention is implemented.
[0051] The beneficial effects of the present invention are as follows: The present invention uses Kafka and Flink to achieve high-concurrency data access and stream computing, combines Morton coding and Hilbert coding to improve data storage and retrieval efficiency, constructs a government affairs business association network by using a knowledge graph, and combines reinforcement learning to realize the intelligent optimization and dynamic adjustment of the approval path. With the digital twin simulation environment modeled by Petri nets, the feasibility of the approval optimization scheme is quantified to ensure the high efficiency and reliability of the optimized path in practical applications. The present invention can improve the e-government data processing ability, improve the approval efficiency, enhance the verifiability of the optimization strategy, and provide technical support for the digital and intelligent transformation of government services. Description of the Drawings
[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for description in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0053] Figure 1 It is a flowchart of the method for managing an e-government platform based on cloud data in Embodiment 1.
[0054] Figure 2 It is a structural diagram of the e-government platform management system based on cloud data in Embodiment 1. Detailed Embodiments
[0055] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0056] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0057] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0058] Example 1, with reference to Figure 1 and Figure 2 , which is the first embodiment of the present invention, provides an e-government platform management method based on cloud data, including the following steps:
[0059] S1. Collect multi-source data, perform pre-processing, extract keywords, perform multi-scale time coding and multi-scale spatial coding on the data, and then store the data in the database;
[0060] Specifically, Kafka is used as the message queue for high-concurrency data access to ensure smooth data transmission, and Flink is used for streaming computing to process user operation data (query, application, approval records), government business data (policy announcements, service guides), and IoT device data (queue status at the government hall) in real time to ensure efficient data flow and unify and standardize the time format of the collected data.
[0061] Extracting keywords includes the following steps:
[0062] Parse the encoding type of the data source and perform unified conversion, retaining only the text description portion of the IoT device data, removing structured fields (such as device ID and timestamp), and converting unstructured data into plain text format to ensure parsability. For example, convert PDF to OCR text recognition, and convert HTML to remove tags to retain only the text content.
[0063] Use regular expressions to remove invalid characters, including HTML tags, spaces, special symbols (non-Chinese characters, emoticons, special punctuation marks, retaining only text information), delete duplicate data, and remove common stop words and government-related stop words (such as "application number" and "approval unit").
[0064] Determine synonyms in the government affairs domain using WordNet + Wikipedia semantic matching;
[0065] Extract professional terms from government announcements, government websites, and policy and regulation documents, such as: business - related, institution - related, and region - related terms;
[0066] Establish a multi - level dictionary, including a basic dictionary (containing common government affairs terms), an institution dictionary (containing names of government agencies and departments), an industry dictionary, and an action dictionary (containing high - frequency verbs in the process of government affairs handling (such as "submit", "declare", "approve"));
[0067] Count the words that frequently appear in government affairs data texts but are not included in the dictionary, calculate the weights of new words through TF - IDF, set a threshold Q based on experience. If the weight of a new word is greater than the threshold Q, then screen out high - value new words and dynamically update the multi - level dictionary;
[0068] Combine the maximum forward matching (FMM) and the hidden Markov model (HMM), and use the dynamically updated multi - level dictionary for accurate word segmentation, and ensure that new words can also be correctly recognized. The specific steps are as follows:
[0069] Use the maximum forward matching method to sequentially match the longest entries in the text from left to right;
[0070] If a short word fails to match, then use the hidden Markov model for out - of - vocabulary word recognition, and define the key parameters of the hidden Markov model, including the state set, the observation set (consisting of single characters of out - of - vocabulary words), the initial state probability, the state transition probability (calculated using the frequency statistics method), and the observation probability (calculated using the maximum likelihood estimation method);
[0071] The said state set , where B is the starting character of a word, L is the middle character of a word, E is the ending character of a word, and S is a single - character word;
[0072] Based on the defined key parameters, use the Viterbi algorithm to calculate the optimal word segmentation path. During the calculation process, record the state generation path storage table of each optimal choice. Through backtracking of the path storage table, obtain the word boundaries. Through the boundary information obtained by backtracking, extract new words and integrate the new words to form a predicted word set;
[0073] Combine the known words of the maximum forward matching and the predicted words of the hidden Markov model, calculate the confidence levels of the hidden Markov model word segmentation and the maximum forward matching word segmentation. Set a threshold A through experiments. If the confidence level of the predicted words of the hidden Markov model is greater than the threshold A, then combine the results of the hidden Markov model with the maximum forward matching word segmentation to obtain the final word segmentation result, and store the new words in the multi - level dictionary. Otherwise, directly adopt the maximum forward matching result;
[0074] Define the special part-of-speech categories for government affairs and generate a government affairs annotation dataset. Use the dataset to train a conditional random field model, and use the trained conditional random field model to predict part-of-speech tags;
[0075] The special part-of-speech categories for government affairs include government business categories (BIZ), organization categories (ORG), place name categories (LOC), and action categories (ACT);
[0076] Screen the core keywords, only retain the words in the special part-of-speech categories for government affairs, and remove meaningless words (such as "de", "shi", "women", etc.)
[0077] Deduplicate based on the Jaccard similarity. Set the similarity threshold O based on the statistical analysis of historical government affairs data. If the similarity is greater than the threshold O, then merge the two words. Generate a keyword set based on the screened and deduplicated words;
[0078] Statistically analyze the co-occurrence frequency P(W,E) of keyword pairs (W,E) in the same government affairs text and calculate the independent occurrence probabilities P(W) and P(E) of individual words W and E in all government affairs documents. Use PMI to calculate the correlation PWI(A,B) of keywords:
[0079]
[0080] Set a threshold w based on statistical analysis, and only retain keyword pairs with PMI greater than w;
[0081] Determine the semantic hierarchy of keywords W and E in WordNet, and use the Leacock-Chodorow similarity (LCH) to calculate the semantic similarity between words;
[0082] Combine the Wikipedia knowledge base, extract the relevant context vectors of keywords W and E, and use the cosine similarity to calculate the correlation between the two keywords;
[0083] Use a weighted method to comprehensively calculate the similarity results of WordNet and Wikipedia to obtain the final similarity score of the keywords;
[0084] Set a similarity threshold y based on the actual application scenario, and only retain keyword pairs with similarity greater than the threshold y;
[0085] Define the Skip-Gram model. Select government affairs text data containing keywords (such as policy announcements, approval rules, user consultation records) as the training set. Set the window size to k, extract k data from the training set for model training, and use the negative sampling strategy to optimize the model calculation efficiency to obtain the trained Skip-Gram model. Input the keywords into the model to obtain word vectors;
[0086] Use the K-Means clustering algorithm to perform clustering analysis on word vectors, determine the categories corresponding to keywords, construct a keyword graph based on the semantic clustering results, use TextRank to calculate the importance of keywords, obtain the importance scores of keywords, sort the keywords in descending order according to the importance scores, and select the top M keywords with the highest scores as the final output.
[0087] Through Kafka + Flink high-concurrency data access and streaming computing, realize the real-time processing of government affairs data; combine technologies such as OCR parsing, keyword extraction, multi-level dictionary matching, and HMM prediction of new words to improve the accuracy of government affairs data processing. Use algorithms such as TextRank, K-Means clustering, and PMI correlation calculation to perform semantic analysis and weight calculation on government affairs keywords to ensure the scientificity and reliability of keyword extraction. TextRank combined with the Skip-Gram model can automatically identify the core concepts in government affairs documents, reduce the interference of redundant information, and automatically extract the abstracts of government announcements through keyword weight sorting, improving the efficiency of obtaining government affairs information. FMM is suitable for known words, and HMM is suitable for unknown words. The combination of the two improves the recognition rate of emerging government affairs terms. Use Jaccard similarity to remove duplicates, eliminate data redundancy, and improve the accuracy of keyword extraction.
[0088] Further, the steps for storing the data in the database after multi-scale time encoding and multi-scale spatial encoding of the data include:
[0089] Based on the extracted government affairs data keywords, determine the time granularity of each piece of data. Define the government affairs data with an annual granularity as long-term valid data, such as policy documents and regulations; define the government affairs data with a daily and hourly granularity as short-term business data, such as approval processes and service records; define the government affairs data with a second and minute granularity as real-time data, such as the queuing situation in the government affairs hall.
[0090] Subtract the minimum time value in the business data (such as the first online time of the business) from the original timestamp of the data record and divide by the time granularity to perform time encoding on each piece of government affairs data.
[0091] According to the government affairs data keywords after time encoding, determine the spatial attributes of the data, including national government affairs data (such as laws and regulations), provincial-level data (such as provincial-level approval items), city-level data (such as municipal approvals), and real-time data in the government affairs hall (such as the queuing situation).
[0092] The geographic coordinates of government data are converted into a one-dimensional index and the spatial index is stored using Morton coding (Z curve). This approach combines Hilbert coding with Morton coding, using Hilbert for large-scale data queries and Morton for small-scale data queries to ensure efficient queries. This method provides a geographic location index for the knowledge graph, enabling cross-regional analysis and optimization of the approval process.
[0093] Store the encoded data in the database.
[0094] Multi-scale temporal and spatial coding technologies make the storage, query, and analysis of government data more efficient, providing technical support for intelligent approval path optimization, cross-regional business recommendations, and intelligent analysis of government processes. Combined with the bit-interleaved indexing method of Morton coding, government data queries can reduce disk I / O overhead and increase query speed. Hilbert coding provides better spatial locality, making it suitable for range queries, such as "the approval efficiency of all service halls in a province over the past three months."
[0095] S2. Build a government knowledge graph based on the database, explore the correlation between departmental businesses, and analyze user habits;
[0096] Specifically, we build a government knowledge graph based on the database, mine the correlation between departmental businesses, and analyze users' work habits, including:
[0097] Use hash mapping to parse time-coded data and map it back to specific business stages, including application stage, review stage, approval stage, and review stage;
[0098] Use nearest neighbor matching to parse spatially coded data and map it to the corresponding government agencies and approval areas;
[0099] A triplet model is used to establish a government data graph based on time, space and business. The cosine similarity method is used to calculate the correlation between different government businesses. The user operation records in the knowledge graph are parsed to generate a user behavior dataset. The time window sliding method is used to organize user operations into time series. The user business access frequency is calculated based on the number of times the user has handled the current business and the number of all the user's approved businesses. The Markov chain analysis is used to calculate the user business jump probability.
[0100] Through key technologies such as hash mapping, nearest neighbor matching, knowledge graph, time window sliding, and Markov chain analysis, the intelligent association of government affairs data, the analysis of user behavior patterns, and the intelligent optimization of the approval process have been realized, effectively improving the management level of the e-government platform. Compared with the traditional government affairs approval method, the present invention can dynamically adjust the approval path, reduce approval redundancy, and optimize the user experience, making the e-government platform more efficient, intelligent, and user-friendly.
[0101] S3. Generate the government affairs approval path based on the knowledge graph, optimize the government affairs approval path through reinforcement learning, dynamically adjust the approval process, and use digital twin technology for simulation testing to verify the user satisfaction after the approval process is optimized;
[0102] Specifically, generating the government affairs approval path based on the knowledge graph and optimizing the government affairs approval path through reinforcement learning and dynamically adjusting the approval process includes:
[0103] According to the time and space information of the user's applied business, obtain the current stage of the approval business, determine the starting stage of the approval, obtain the historical business similar to the current approval business according to the business correlation degree in the knowledge graph, and calculate the access frequency of the approval node as the weight of the approval node. Based on Markov chain analysis, calculate the business jump probability of the user under the current approval business. Based on the approval node weight and the user's business jump probability, use the normalized linear weighting method to calculate the total weight of the approval path, and select the approval path with the highest weight as the optimal approval path;
[0104] Construct the state space based on the nodes of the optimal approval path, wherein, is the starting point of the approval process, is the end point of the approval process. Through Bayesian inference, calculate the posterior probability of the optimal approval path, and through Bayesian inference, construct the initial strategy of reinforcement learning;
[0105] Set the optimization actions that can be selected for reinforcement learning wherein, is to optimize the approval node order (adjust the business transfer logic), is to reduce redundant approval nodes (delete unnecessary approval steps), is to increase the proportion of automatic approval (reduce manual approval and improve automation), is to dynamically merge approval nodes (merge similar or duplicate approval links). Each state X must be able to map to at least one action A;
[0106] Collect historical approval data, select the strategy with the highest approval passing rate and the shortest approval time to form a strategy set, calculate the strategy score using the Q-value function, and use the generalized strategy to select the optimal strategy under the current approval path state. For the business that requires manual approval, set the constraint conditions and the minimum limit of approval nodes. If the optimization path of a certain approval process results in the number of approval nodes less than the minimum value, the optimization strategy will not be executed. Set the optimization goal of the approval time. Only when the optimized approval time is less than the set target value, the optimization strategy will be adopted;
[0107] Take the set state space and optimization strategy as the input of the Q-network, set the initial Q-value, and initialize the Q-network weights using a uniform distribution. Set the storage structure of the experience pool, including the current approval state, the currently executed optimization strategy, the current reward value, and the next approval state. Randomly extract samples of optimized approval paths from the experience pool each time during training to prevent the model from falling into a local optimal solution;
[0108] Calculate the Q-value using the Bellman equation, set the Q-value update rule, and use the generalized strategy update to optimize the Q-value. Select the best path from multiple historical optimal strategies and update the current approval path;
[0109] Optimize the Q-network through gradient descent to obtain the optimized optimal approval path.
[0110] The knowledge graph not only constructs the logical associations between approval operations, but also can automatically recommend the optimal approval path based on historical business data. The approval path based on the knowledge graph can adapt to the complex business requirements of cross-departmental collaboration, improve the collaborative efficiency between approval operations. By counting the jumping behaviors of users in different operations, the common operation paths of users during the approval process can be predicted, reducing approval bottlenecks. Combining Markov chain analysis, the business nodes with higher approval frequencies can be preferentially optimized, thereby reducing the waiting time of users. Bayesian inference can dynamically adjust the approval path, enabling the approval process to be optimized as policies are adjusted and user needs change. Through posterior probability calculation, the selection of the approval path becomes more accurate, reducing ineffective approval links. The traditional approval process relies on preset rules, while reinforcement learning can dynamically optimize the approval path to adapt to different business requirements. Reinforcement learning can automatically recommend the optimal approval strategy through Q-value function calculation, improving approval efficiency. Set the minimum limit for approval nodes to avoid over-simplifying approval steps during the optimization process, resulting in business compliance issues. Set the optimization goal for approval time to ensure that the optimized approval path can improve efficiency without affecting approval quality. The Bellman equation can ensure that the optimization process gradually approaches the optimal approval path, reducing unnecessary iteration processes. The optimized approval path by Q-value can clearly quantify the optimality of different paths, providing a reference basis for government affairs personnel. Through random sampling training, the experience pool can enhance the generalization ability of the model, enabling it to adapt to more approval business scenarios. The historical approval data stored in the experience pool can be used for subsequent optimization, improving the reusability of the approval optimization plan.
[0111] Furthermore, digital twin technology is used for simulation testing to verify the user satisfaction after the approval process optimization, including determining Petri net elements, including state sets, transition sets, flow relationships, and weight sets;
[0112] The state set represents the key states of the approval process, such as "application submitted", "preliminary review completed", "final review completed". The transition set represents the state transitions between approval nodes, such as "approved", "supplementary materials required". The flow relationship describes the transfer rules between states, and the weight set represents the resource consumption of each approval task;
[0113] Set simulation parameters, including approval processing time and passing rate, run the optimized approval path in the simulation environment, collect the execution data of the approval process, calculate the overall optimization rate of the approval process based on the duration of the optimized approval process and the average duration of the original approval process, record the performance of the optimized approval path in the simulation environment, including whether the approval time is significantly reduced, whether the proportion of automatic approvals is increased, and whether user satisfaction is improved (based on approval success rate and waiting time), calculate the approval efficiency improvement rate based on the optimized approval success rate and the historical approval success rate, statistically analyze the historical approval data to set the target threshold U, if the improvement rate is greater than the threshold U, then deploy, otherwise record the problems that do not meet expectations and readjust the reinforcement learning model, and repeat the training process.
[0114] Refine the modeling of the approval process through Petri nets, enabling the optimization of the approval path to be fully verified in the simulation environment to ensure its applicability to real business scenarios. By setting parameters such as approval processing time and passing rate, the performance of different approval paths in different business scenarios can be accurately simulated, making the optimization plan more reliable. Through data collection, the effect of optimizing the approval process can be quantified, providing data support for subsequent optimization and ensuring the scientific nature of the decision-making for optimizing the approval path. By calculating the optimization rate of the approval process, it can intuitively reflect whether the optimized approval path has truly improved the approval efficiency and avoid the problem that the optimization plan is only effective in specific scenarios. By setting the threshold U, it is ensured that the approval path optimization plan will only be officially deployed after meeting certain optimization criteria, avoiding the situation where the optimization effect is lower than expected. Through the iterative training of the reinforcement learning model, the approval path can be continuously optimized, enabling the system to adapt to different government affairs business scenarios and achieve dynamic optimization.
[0115] S4. Store the government affairs data in the database and perform permission management;
[0116] Specifically, storing the government affairs data in the database and performing permission management means storing the original government affairs data and the corresponding government affairs approval data in JSON format and using the database for storage, setting user access permissions, and only allowing authorized users to access.
[0117] In the e-government platform, the sources of government affairs data are complex, including structured data (database records), semi-structured data (forms, logs), and unstructured data (text, pictures, etc.). Traditional relational databases are difficult to effectively store and manage these heterogeneous data, while the JSON format has a hierarchical structure and can store different types of data in a nested manner, avoiding the problem of table splitting in relational databases, improving data query efficiency, and granting different access permissions to prevent data leakage.
[0118] This embodiment also provides an e-government platform management system based on cloud data, including:
[0119] A data collection module, which is used to collect government affairs data from different data sources and perform preprocessing;
[0120] A keyword extraction module, which is used to perform text analysis on government affairs data, extract core keywords, and perform time and space encoding on the data;
[0121] A knowledge graph construction module, which is used to establish the association relationship of government affairs data by using knowledge graph technology and analyze the business habits of users;
[0122] An intelligent approval path optimization module, which is used to optimize the approval path by adopting a reinforcement learning model and realize the dynamic adjustment of the approval process;
[0123] A digital twin simulation test module, which is used to perform simulation tests on the optimized approval path by using Petri net simulation technology to verify the optimization effect;
[0124] A data storage module, which is used to store approval data and perform access permission control.
[0125] This embodiment also provides a computer device, which is applicable to the case of an e-government platform management method based on cloud data, including: a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions to implement the e-government platform management method based on cloud data as proposed in the above embodiment.
[0126] This computer device can be a terminal. This computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Among them, the processor of this computer device is used to provide computing and control capabilities. The memory of this computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of this computer device is used to communicate with an external terminal in a wired or wireless manner. The wireless manner can be realized through WIFI, a carrier network, NFC (Near Field Communication), or other technologies. The display screen of this computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of this computer device can be a touch layer covered on the display screen, or a button, a trackball, or a touchpad set on the outer shell of the computer device, or an external keyboard, a touchpad, or a mouse, etc.
[0127] This embodiment also provides a storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the method for managing an e-government platform based on cloud data as proposed in the above embodiment; the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, abbreviated as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, abbreviated as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, abbreviated as EPROM), programmable read-only memory (Programmable Red-Only Memory, abbreviated as PROM), read-only memory (Read-Only Memory, abbreviated as ROM), magnetic memory, flash memory, a magnetic disk or an optical disc.
[0128] In summary, the present invention uses Kafka and Flink to achieve high-concurrency data access and stream computing, combines Morton coding and Hilbert coding to improve data storage and retrieval efficiency, constructs a government affairs business association network using a knowledge graph, and combines reinforcement learning to achieve intelligent optimization and dynamic adjustment of the approval path. With the digital twin simulation environment modeled by Petri nets, the feasibility of the approval optimization plan is quantified to ensure the efficiency and reliability of the optimization path in practical applications. The present invention can improve the e-government data processing ability, increase the approval efficiency, enhance the verifiability of the optimization strategy, and provide technical support for the digital and intelligent transformation of government services.
[0129] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and they should all be covered by the scope of the claims of the present invention.
Claims
1. A management method for an e-government platform based on cloud data, characterized in that: include, Collect multi-source data, pre-process them, extract keywords, perform multi-scale time coding and multi-scale spatial coding on the data, and then store the data in the database; The multi-source data includes user operation data, government business data, and IoT device data; Build a government knowledge graph based on the database, explore the correlation between departmental businesses and analyze users' working habits; Generate government approval paths based on knowledge graphs, optimize them through reinforcement learning, dynamically adjust approval processes, and use digital twin technology for simulation testing to verify user satisfaction after optimizing approval processes. Store government data in the database and manage permissions; Generating government approval paths based on knowledge graphs, optimizing government approval paths through reinforcement learning, and dynamically adjusting approval processes include: Based on the time and space information of the user's business application, the current approval business stage is obtained and the approval starting stage is determined. Based on the business relevance in the knowledge graph, historical businesses similar to the current approval business are obtained, and the access frequency of the approval node is calculated as the weight of the approval node. Based on Markov chain analysis, the business jump probability of the user under the current approval business is calculated. Based on the approval node weight and the user's business jump probability, the normalized linear weighted method is used to calculate the total weight of the approval path, and the approval path with the highest weight is selected as the optimal approval path; Construct the state space X based on the nodes of the optimal approval path, calculate the posterior probability of the optimal approval path through Bayesian inference, and construct the initial reinforcement learning strategy through Bayesian inference; Set the optimization actions that can be selected by reinforcement learning. Each state X must be mapped to at least one action A. Collect historical approval data, select the strategy with the highest approval rate and the shortest approval time, form a strategy set, use the Q-value function to calculate the strategy score, and use the generalization strategy to select the optimal strategy under the current approval path state. For businesses that require manual approval, set constraints and minimum restrictions on approval nodes. Set an optimization target for approval time. The optimization strategy will only be adopted when the optimized approval time is less than the set target value. The set state space and optimization strategy set are used as the input of the Q network, the initial Q value is set, and the Q network weight is initialized using a uniform distribution. The experience pool storage structure is set, and optimized approval path samples are randomly extracted from the experience pool during each training. The Bellman equation is used to calculate the Q value, the Q value update rule is set, and the Q value is optimized using generalized strategy update. The best path is selected from multiple historical optimal strategies and the current approval path is updated; The optimized optimal approval path is obtained by optimizing the Q network through gradient descent.
2. The method for managing an e-government platform based on cloud data according to claim 1, wherein: The keyword extraction comprises the following steps: Use WordNet and Wikipedia semantic matching to determine synonyms in the government affairs field; Extract professional terms from government announcements, government websites, and policy and regulatory documents; Establish multi-level dictionaries, including basic dictionaries, institutional dictionaries, industry dictionaries, and action dictionaries; Statistically analyze the words that frequently appear in government affairs data texts but are not included in the dictionary, calculate the weights of new words through TF-IDF, set a threshold Q. If the weight of a new word is greater than the threshold Q, then screen out high-value new words and dynamically update the multi-level dictionary; Combine the maximum forward matching and the hidden Markov model, use the dynamically updated multi-level dictionary for accurate word segmentation, use the Viterbi algorithm to calculate the optimal word segmentation path. During the calculation process, record the state of each optimal choice to generate a path storage table, and through backtracking of the path storage table, obtain the word boundaries. Based on the boundary information obtained from backtracking, extract new words and integrate the new words to form a predicted word set; Combine the known words of the maximum forward matching and the predicted words of the hidden Markov model, calculate the confidence levels of the hidden Markov model word segmentation and the maximum forward matching word segmentation, set a threshold A. If the confidence level of the predicted words of the hidden Markov model is greater than the threshold A, then combine the results of the hidden Markov model with the maximum forward matching word segmentation to obtain the final word segmentation result, and store the new words in the multi-level dictionary. Otherwise, directly adopt the maximum forward matching result; Define the special part-of-speech categories for government affairs and generate a government affairs annotation dataset, use the dataset to train a conditional random field model, and use the trained conditional random field model to predict part-of-speech tags; Perform deduplication based on the Jaccard similarity calculation, set a similarity threshold O. If the similarity is greater than the threshold O, then merge two words, and generate a keyword set based on the screened and deduplicated words; Statistically analyze the co-occurrence frequency P(W,E) of keyword pairs (W,E) in the same government affairs text, and calculate the independent occurrence probabilities P(W) and P(E) of individual words W and E in all government affairs documents. Use PMI to calculate the correlation PWI(A,B) of keywords, determine the semantic hierarchy of keywords W and E in WordNet, use the Leacock-Chodorow similarity to calculate the semantic similarity between words, combine the Wikipedia knowledge base, extract the relevant context vectors of keywords W and E, and use the cosine similarity to calculate the correlation between the two keywords; Use a weighted method to comprehensively calculate the similarity results of WordNet and Wikipedia, obtain the final similarity score of keywords, set a similarity threshold y, and only retain the keyword pairs with a similarity greater than the threshold y; Define a Skip-Gram model, and input the keywords into the model to obtain word vectors; Use the K-Means clustering algorithm to perform clustering analysis on the word vectors, use TextRank to calculate the importance of keywords, obtain the importance scores of keywords, sort the keywords in descending order according to the importance scores, and select the top M keywords with the highest scores as the final output.
3. The method for managing an e-government platform based on cloud data according to claim 2, characterized in that: The construction of a government affairs knowledge graph based on the database and the mining of the associated relationships of departmental operations and the analysis of users' handling habits include: Use hash mapping to parse the time-encoded data and map it back to the specific business stages, including the application stage, review stage, approval passed stage, and re-review stage; Use nearest neighbor matching to parse the space-encoded data and map it to the corresponding government agencies and approval regions; Build a government affairs data graph based on time, space, and business using a triple model, calculate the correlation degree of different government affairs using the cosine similarity method, parse the user operation records in the knowledge graph to generate a user behavior data set, organize user operations into a time series using the time window sliding method, calculate the user business access frequency, and calculate the user business jump probability using Markov chain analysis.
4. The method for managing an e-government platform based on cloud data according to claim 3, wherein: The use of digital twin technology for simulation testing and verification of user satisfaction after optimizing the approval process includes determining Petri net elements, setting simulation parameters, running the optimized approval path in the simulation environment, collecting execution data of the approval process, calculating the overall optimization rate of the approval process, recording the performance of the optimized approval path in the simulation environment, calculating the approval efficiency improvement rate based on the optimized approval success rate and the historical approval success rate, setting a target threshold U, and if the improvement rate is greater than the threshold U, then deploy, otherwise record the problems that do not meet expectations and readjust the reinforcement learning model, and repeat the training process.
5. The method for managing an e-government platform based on cloud data according to claim 4, wherein: The storage of government affairs data in the database and the implementation of permission management refer to storing the original government affairs data and the corresponding government affairs approval data in JSON format, storing them using the database, setting user access permissions, and only allowing authorized users to access.
6. The management method of the e-government platform based on cloud data according to claim 5, characterized in that: The steps of storing the data in the database after multi-scale time encoding and multi-scale space encoding of the data include the following: Based on the extracted government affairs data keywords, determine the time granularity of each piece of data, perform time encoding on each piece of government affairs data, and determine the spatial attributes of the data according to the time-encoded government affairs data keywords. Convert the geographical coordinates of the government affairs data into a one-dimensional index, use Morton encoding to store the spatial index, combine Hilbert encoding and Morton encoding, use Hilbert for large-scale data queries and Morton for small-scale data queries, and store the encoded data in the database.
7. An e-government platform management system based on cloud data, based on the e-government platform management method based on cloud data according to any one of claims 1 to 6, characterized in that: including A data collection module for collecting government affairs data from different data sources and performing preprocessing. A keyword extraction module for performing text analysis on government affairs data, extracting core keywords, and performing time and space encoding on the data. A knowledge graph construction module for using knowledge graph technology to establish the association relationship of government affairs data and analyze the business habits of users. [[ID= ]]An intelligent approval path optimization module for optimizing the approval path using a reinforcement learning model and realizing the dynamic adjustment of the approval process. A digital twin simulation testing module for using Petri net simulation technology to simulate and test the optimized approval path and verify the optimization effect. A data storage module for storing approval data and performing access permission control.
8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that: When the processor executes the computer program, it implements the steps of the method for managing an e-government platform based on cloud data according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, it implements the steps of the method for managing an e-government platform based on cloud data according to any one of claims 1 to 6.
Citation Information
Patent Citations
Knowledge map optimal path query system and method based on depth reinforcement learning
CN109241291A
Project management method, system, equipment and medium
CN119850155A