Method and system for constructing social governance special topic library
By accessing multi-source data, standardizing processing, and constructing a social governance-themed database, and using CRF and BiLSTM models to parse address text, the problems of data dispersion and low processing efficiency in social governance are solved, achieving efficient and scientific data analysis and decision support.
Patent Information
- Application Number
- CN202610228843.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-02-26
- Publication Date
- 2026-08-04
AI Technical Summary
Existing technologies in social governance suffer from problems such as fragmented data sources, inconsistent standards, low processing efficiency, and difficulty in conducting in-depth fusion analysis, resulting in difficulty in guaranteeing data quality and failing to meet the needs of data-driven decision-making.
By accessing multi-source data, performing standardized processing and structured parsing, multiple social governance-themed databases are constructed. A named entity recognition model combining CRF and BiLSTM is used to parse address text, establishing a unified data foundation and providing drag-and-drop data analysis functionality.
It enables unified management and efficient analysis of multi-source data, improves data accuracy and availability, supports cross-database joint analysis, enhances the scientific and forward-looking nature of social governance, and reduces the data processing burden on grassroots staff.
Smart Images

Figure CN122507706A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method and system for constructing a social governance thematic database. Background Technology
[0002] In modern social governance, various government departments (such as civil affairs, health, and public security) and community levels generate and use a large amount of operational data in their daily operations. This data is scattered across their respective independent business systems, forming de facto "data silos" with diverse data sources and varying formats, standards, and content specifications.
[0003] To conduct comprehensive social governance analyses, such as assessing population structure, housing conditions, or public safety in specific areas, staff need to manually query and export data from multiple heterogeneous systems. This data often suffers from inconsistent granularity, unstructured text in key fields like address information, and missing or incorrect data. Traditional data processing methods typically rely on manual data cleaning, comparison, merging, and statistical analysis using spreadsheet software offline. This approach is not only extremely labor-intensive and inefficient but also prone to errors, significantly compromising the accuracy and timeliness of the analysis results.
[0004] Furthermore, the one-to-one data sharing model between departments also leads to the inability to achieve unified data aggregation and management. The lack of a unified data warehouse layer design results in the repeated governance and development of the same original data, increasing unnecessary workload and system complexity.
[0005] Therefore, existing technologies generally suffer from technical problems when processing multi-source heterogeneous data related to social governance, such as difficulty in data fusion, low processing efficiency, difficulty in guaranteeing data quality, and inability to deeply mine data value, making it difficult to meet the urgent needs of modern social governance for data-driven decision-making. Summary of the Invention
[0006] The main purpose of this application is to provide a method and system for constructing a social governance thematic database, aiming to solve the technical problems in the existing technology of social governance data being scattered, having inconsistent standards, low processing efficiency, and being difficult to conduct in-depth fusion analysis.
[0007] To solve the above-mentioned technical problems, this application provides the following technical solution: In a first aspect, embodiments of this application provide a method for constructing a social governance thematic database, comprising the following steps: Access to multi-source data, which includes at least one of the following: business system data from different commissions and bureaus, community cloud data, joint operation data, and remote assistance data; The multi-source data is standardized, including data cleaning, transformation and mapping, to unify data format and content specifications; The standardized data is subjected to structured parsing to extract key information. Specifically, address text data is parsed using a named entity recognition model to identify the smallest granular information of the address. Based on the structured parsed data, multiple social governance thematic databases are constructed. These thematic databases include at least a population characteristics database, a housing management database, a governance element database, a work efficiency database, a service barrier database, an epidemic prevention barrier database, a comprehensive social management and stability maintenance database, a knowledge system database, a standards system database, and a shared resource database. Based on the aforementioned topic database, the system obtains user-triggered operation commands through the interactive interface, provides data query and analysis functions, supports users in generating topic data marts by dragging and dropping fields, and displays multi-dimensional data.
[0008] In one possible implementation, the named entity recognition model employs a hybrid model combining Conditional Random Field (CRF) and Bidirectional Long Short-Term Memory (BiLSTM) networks, trained using labeled data from the social governance domain. This hybrid model combines the long-range dependency capture capability of BiLSTM for contextual information with the learning capability of CRF for label sequence constraints, thus exhibiting higher recognition accuracy and robustness when dealing with colloquial, non-standard, and even misspelled address text commonly found in social governance scenarios.
[0009] Optionally, the smallest granularity information of the address includes at least one of the following: city, district, town, village, road, lane, branch lane, team, group, street, house, circle, hamlet, number, building, room. Through such fine-grained division, fuzzy address descriptions can be accurately parsed into structured data, not only solving long-standing problems in Chinese address parsing (such as the mixing of old and new place names, and irregular house numbers), but also providing a data foundation for subsequent micro-analysis based on geographical location (such as statistically analyzing the density of houses at a specific "lane" or "branch lane" level).
[0010] In one possible implementation, the structured parsing of the standardized data further includes: identifying and standardizing the format of unstructured text data (such as meeting minutes, work reports, etc.) using standardized business terminology, extracting keywords and indicator information, and mapping and matching them with preset business standards. For example, the system can automatically identify key information such as "to-do items," "responsible persons," and "completion deadlines" from a community work meeting minutes, and map them to the "work tasks" standard entity in the knowledge system base, thereby achieving automatic storage of unstructured information and task tracking.
[0011] Optionally, the process of constructing a thematic database also includes: associating and integrating data based on fundamental characteristic elements, establishing a basic information database of natural persons as uniquely identified by their citizen ID numbers, and / or a residence index centered on residence codes. By using citizen ID numbers as the core, data on social security, health, and household registration of the same person scattered across different commissions and bureaus can be effectively linked; by using residence codes as the core, data on utility bill payments, property information, and historical security cases occurring in the same physical space can be integrated, thereby forming a unified view centered on "people" and "houses," laying the foundation for in-depth correlation analysis.
[0012] In one possible implementation, the generation process of the thematic data mart includes: selecting the required fields from at least one thematic database, setting dimensional rules, summarizing and statistically analyzing the data, and generating a dataset that can be shared or analyzed. This approach allows frontline staff to intuitively select the required data fields (such as "age" from a population characteristic database and "housing area" from a housing management database) and set filtering rules (such as "age > 60 years old") through graphical drag-and-drop operations, and the system can automatically generate analysis reports or datasets, thus lowering the technical threshold for data analysis.
[0013] Optionally, the method further includes a data hierarchical storage step. The data storage structure includes: an Origin Data Store (ODS) layer for storing raw collected data to ensure data traceability; a Data Detail Layer (DWD) layer for storing the smallest granular data after standardization and structuring; a Data Summary Layer (DWS) layer for storing statistical data summarized according to preset dimensions (such as time or region); and an Application Data Mart Layer (ADS) layer for storing thematic data marts for specific analytical applications. This hierarchical architecture makes the data processing flow clear, the responsibilities of each layer well-defined, avoids redundant calculations, and improves data reusability and overall processing efficiency.
[0014] In one possible implementation, the method further includes: conducting cross-database joint analysis based on multiple thematic databases to generate composite social governance indicators for risk assessment, early warning, or decision support. For example, a "community vulnerability index" can be defined, which is calculated by jointly analyzing the aging rate in the "demographic characteristic database," the proportion of low-income households in the "service barrier database," and the historical case incidence rate in the "comprehensive social security and stability maintenance database," and then weighting these indicators. When the index of a certain grid exceeds a preset threshold, the system can automatically trigger an early warning, prompting managers to pay attention and allocate corresponding resources, thereby achieving a shift from a passive response to a proactive prevention governance model.
[0015] Secondly, embodiments of this application also provide a system for constructing a social governance thematic database, including: The data access module is used to access multi-source data, which includes at least one of the following: business system data from different commissions and bureaus, community cloud data, joint operation data, and remote assistance data. The data processing module is used to standardize the multi-source data, including data cleaning, transformation and mapping, to unify data format and content specifications; and to perform structured parsing on the standardized data to extract key information. Specifically, for address text data, a named entity recognition model is used for structured parsing to identify the smallest granular information of the address. The database construction module is used to build multiple social governance theme databases, which include at least a population characteristics database, a housing management database, a governance element database, a work efficiency database, a service barrier database, an epidemic prevention barrier database, a comprehensive social management and stability maintenance database, a knowledge system database, a standard system database, and a shared resource database. The data analysis and application module is used to provide data query and analysis functions based on the topic database, and supports users to generate topic data marts by dragging and dropping fields and display multi-dimensional data.
[0016] Optionally, the data processing module includes an address text parsing unit, which uses a hybrid model combining CRF and Bidirectional Long Short-Term Memory (BiLSTM) network to perform structured parsing of address text and extract predefined address minimum granularity information.
[0017] Compared with the prior art, this application has the following beneficial effects: 1. By unifying access and standardizing the processing of multi-source heterogeneous data from different departments, the "data silos" have been effectively broken down, and a unified, standardized, and high-quality data foundation has been established, providing reliable data support for subsequent analysis and applications.
[0018] 2. By employing a CRF+BiLSTM model optimized for social governance scenarios to perform refined parsing of unstructured text such as addresses, the accuracy of key information extraction has been significantly improved. In particular, it has solved the problems of ambiguous and non-standard addresses that are difficult to handle by traditional methods, thereby enhancing the usability of the data.
[0019] 3. By constructing ten thematic databases centered on "people" and "housing," a comprehensive and multi-dimensional data view of social governance has been formed. It also supports the generation of composite governance indicators through cross-database joint analysis, realizing a leap from simple data statistics to in-depth risk warning and decision support, thereby improving the scientific nature and foresight of social governance.
[0020] 4. By providing drag-and-drop self-service analysis functions, even frontline staff without professional data analysis skills can easily obtain and analyze data, eliminating the need for tedious and repetitive manual data processing and significantly improving work efficiency. Attached Figure Description
[0021] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. Furthermore, these drawings and textual descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concepts of this application to those skilled in the art through reference to specific embodiments.
[0022] Figure 1 This is a flowchart illustrating a method for constructing a social governance thematic database according to an embodiment of this application.
[0023] Figure 2 This is a schematic diagram of the structure of a social governance thematic database construction system according to an embodiment of this application.
[0024] Figure 3 This is a schematic diagram of the system data flow and layered architecture. Detailed Implementation
[0025] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the embodiments of this application. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0026] This application provides a method and system for constructing a social governance thematic database, aiming to solve problems in existing technologies such as data silos, information barriers, inconsistent data standards, poor usability, and data analysis relying on manual operations, resulting in low efficiency. By constructing a unified, standardized, and intelligent data foundation, it enables the aggregation, governance, analysis, and application of social governance data, thereby improving grassroots governance capabilities, reducing the workload of community and village cadres, and enhancing the modernization level of the social governance system and governance capabilities.
[0027] Please see Figure 1 The diagram illustrates a flowchart of a method for constructing a social governance thematic database in one embodiment of this application. This method can be executed by a computing system consisting of one or more servers. Figure 2 As shown, the system can be logically divided into multiple functional modules, including a data access module 10, a data processing module 20, a database construction module 30, and a data analysis and application module 40. The following will combine... Figure 1 Methods and procedures Figure 2 The system structure is described in detail, and the technical solution of this application is explained in detail.
[0028] The method first executes step S101: accessing multi-source data. At the system level, this step is performed by the data access module 10. In the complex scenarios of modern social governance, data sources are extremely diverse and heterogeneous. The multi-source data in this embodiment is not limited to a single source, but covers multiple dimensions closely related to social governance. Specifically, the multi-source data includes at least one or more combinations of business system data from different commissions and bureaus, community cloud data, joint operation data, and remote assistance data.
[0029] Community cloud data originates primarily from the grassroots level of governance. For example, smart community platforms record access control information, vehicle parking data, smart meter readings, community activity registration information, and property maintenance records. This data is characterized by high timeliness and granularity, enabling it to reflect dynamic changes within the community in real time.
[0030] Joint operation data mainly refers to data generated by the urban comprehensive governance platform, such as various event information collected through channels like the "12345" citizen service hotline, the grid worker event reporting APP, and urban surveillance cameras. This data is usually unstructured text, voice, or images, recording citizens' demands, complaints, suggestions, and various problems that arise in the operation of the city, such as environmental sanitation, facility damage, and neighborhood disputes.
[0031] Remote assistance data is a new type of data generated under the background of government service reforms such as "One-Stop Online Service". When citizens handle business through online government service halls, mobile applications, or offline self-service terminals, the system records the entire process data, including application information, processing procedures, approval nodes, completion results, and user evaluations. This data directly reflects the efficiency and quality of government services.
[0032] To effectively access the aforementioned multi-source heterogeneous data, the data access module 10 is configured with various data access adapters. For modern business systems providing standard API interfaces, data can be retrieved in real-time or near real-time via RESTful APIs or SOAP protocols. For traditional database systems such as Oracle, MySQL, and SQL Server, data can be obtained through JDBC / ODBC connections using database replication, incremental extraction, or scheduled full extraction. For data provided in file format (such as CSV, Excel, and JSON files on an FTP server), the data access module 10 performs scheduled fetching and parsing via file transfer protocols. Furthermore, for streaming data in the joint operations system, real-time data subscription and consumption can be achieved by accessing message queues such as Kafka and RabbitMQ.
[0033] By executing step S101 through data access module 10, this solution can break down information barriers between different departments, levels, and systems, aggregating previously scattered and isolated data into a unified data pool. This provides comprehensive, unprocessed raw material for subsequent data standardization, integration, and in-depth analysis, and is one of the key steps in achieving comprehensive and precise social governance. All accessed raw data can initially be stored in... Figure 3 The data hierarchical architecture shown includes the ODS (Original Data Storage) layer to ensure data traceability and integrity.
[0034] After data access is completed, the method proceeds to step S102: standardizing the multi-source data. This step corresponds to... Figure 2 This is one of the functions of the data processing module 20. Because the data sources are diverse, their data formats, content specifications, and coding systems vary greatly. Direct analysis and use would fail to yield meaningful conclusions due to inconsistent standards. Therefore, standardization is a core aspect of data governance, aiming to establish a unified data standard to ensure that all data is stored and processed under the same specifications.
[0035] Standardization processing includes sub-steps such as data cleaning, data transformation, and data mapping. Data cleaning aims to identify and correct errors, inconsistencies, and missing data. For example, data processing module 20 checks whether ID card numbers in population information conform to the 18-digit encoding rule, marking or correcting records that do not conform; it checks for typos or non-standard abbreviations in address information; and it handles various expressions such as "male," "female," "1," "0," "M," and "F" in the gender field. For missing values, various strategies can be used to fill them according to business rules, such as using default values (e.g., filling with 0 if income is unknown), filling with the mean or median, or using machine learning models for prediction. Data transformation focuses on unifying data formats and types. For example, it unifies date and time formats in all systems to the standard format "YYYY-MM-DD HH:mm:ss"; it unifies measurement values in different units (such as "square meters" and "mu" for area) to international standard units; and it converts unstructured data (such as long text) into a more easily processed format.
[0036] Data mapping is a crucial step in standardization, its core being the establishment of a "value-domain code table." Social governance involves a large number of classification codes, such as administrative division codes, ethnic codes, education codes, and event type codes. Different systems may employ their own independent coding systems. The data processing module 20 maintains a central standard code library, establishing a mapping relationship between the codes in the source systems and the standard codes. For example, if system A uses "01" to represent "Han nationality" and system B uses "HZ" to represent "Han nationality," and the standard library defines "1" as "Han nationality," then the data mapping process will uniformly convert all "01" and "HZ" in the source data to "1." This process can be accomplished using a predefined rule dictionary. For massive datasets, algorithmic models (such as fuzzy matching and similarity calculation) can also be used to assist in the automatic matching of large amounts of data, greatly improving the efficiency and accuracy of value-domain code matching.
[0037] Through the standardization process in step S102, the raw, chaotic, multi-source data is transformed into clean, organized, and consistent high-quality data. This processed detailed data can be stored... Figure 3 The data details layer (DWD) shown is an example. This step lays a solid foundation of data quality for subsequent structured analysis and subject library construction, effectively avoiding inaccurate analysis results due to problems with the quality of the original data, and is key to enhancing the value of the entire data platform.
[0038] Next, the method executes step S103: structural parsing is performed on the standardized data to extract key information. This step is also performed by… Figure 2 The data processing module 20 is executed to extract valuable structured information from semi-structured or even unstructured data. In particular, for address-type text data, which is extremely common and important in social governance, this embodiment uses a Named Entity Recognition (NER) model for deep structured parsing.
[0039] In social governance practice, a large amount of address information exists in the form of free text, such as "Room 506, Building 4, Lane 123, XX Road, XX District", "Zhang Family Residence, XX Village", "Group 3, XX River", etc. These address descriptions are diverse, including colloquial and non-standardized expressions, making it difficult to accurately and completely parse them using traditional keyword matching or regular expression-based methods. Therefore, this embodiment integrates a dedicated address text parsing unit into the data processing module 20.
[0040] The core of the address text parsing unit is an advanced named entity recognition model. This model can analyze the semantics and internal structure of address text and identify the smallest granular information of the address. For example, given the input text "Room 506, No. 4, Lane 123, XX Road, XX Street, Pudong New Area, Shanghai", the model can automatically identify and extract the following entities and their corresponding tags: {"City": "Shanghai"}, {"District": "Pudong New Area"}, {"Road": "XX Road"}, {"Lane": "Lane 123"}, {"Number": "Number 4"}, {"Room": "Room 506"}. This parsing capability breaks down the originally monolithic address text into a set of structured fields that can be independently queried and analyzed.
[0041] This refined parsing capability is supported by specific algorithms. In a preferred embodiment, the named entity recognition model employs a hybrid model combining Conditional Random Field (CRF) and Bidirectional Long Short-Term Memory (BiLSTM), namely the BiLSTM-CRF model. The BiLSTM layer can learn the contextual dependencies of text sequences in both forward and backward directions. For example, when parsing "XX Road 123 Lane", BiLSTM can understand that "Lane" usually follows "Road", thus more accurately determining that "123" is the number of "Lane". The CRF layer, on top of the BiLSTM output, learns and applies constraint rules of the label sequence. For example, the label "Room" cannot appear before the label "City", which further improves the overall accuracy of the entity recognition sequence. To achieve optimal results, the model also uses a large amount of real address data from the field of social governance for annotation and training, enabling it to have high recognition accuracy for address expressions specific to this field (such as "Home", "Hainan", "Circle", etc.).
[0042] Furthermore, to achieve the most refined spatial analysis, this application predefines a comprehensive set of address minimum granularity information. This set is based on in-depth research into the Chinese address system and covers various levels from macro to micro, specifically including at least one of the following: city, district, town, village, road, lane, branch lane, team, group, street, residence, circle, hamlet, number, building, and room. This 16-dimensional feature subset can cover the address expression habits of most cities and villages, making the parsed address data highly structured and usable. For example, by parsing the "building" and "room" information, governance work can be precise down to the building level or even individual households, providing accurate data support for applications such as grid management, precise push notifications, and emergency response.
[0043] In addition to address data, the structured parsing step also includes processing other types of unstructured text data (such as citizen complaints, work records, policy documents, etc.). The data processing module 20 utilizes natural language processing technologies (such as keyword extraction, topic modeling, and text classification) to perform business terminology standardization and format unification on these unstructured texts, extracting keywords and indicator information, and mapping and matching them with preset business standards. For example, from a repair work order stating "Residents report that the streetlights in the community garden are not working for three days," the keywords "streetlights" and "not working," and the indicator information "duration: 3 days" can be extracted and mapped and matched with preset business standards (such as event type: public facility repair, urgency level: general). This process transforms a large amount of scattered text information into a statistically analyzable, analyzable, and traceable structured event record.
[0044] Through the deep structured analysis in step S103, this solution can extract key core information from massive amounts of data in various formats. In particular, it digitizes and structures the most basic elements of social governance, such as people, housing, and events, with the finest granularity, providing a high-quality data foundation for building a high-quality thematic database.
[0045] After the data preparation is complete, the method proceeds to the core step S104: constructing multiple social governance-themed databases based on the structured parsed data. This step is... Figure 2 The database construction module 30 is responsible for execution. Unlike traditional data warehouses that centrally store all data, this solution adopts a topic-oriented organization approach, classifying and integrating data according to business meaning and analytical perspective to form a series of interconnected but independent thematic databases.
[0046] The social governance big data content system constructed in this application's embodiments is centered on a series of thematic databases. These thematic databases include at least a population characteristic database, a housing management database, a governance element database, a work efficiency database, a service barrier database, an epidemic prevention barrier database, a comprehensive social security and stability maintenance database, a knowledge system database, a standards system database, and a shared resource database. This classification method is not arbitrary but is designed closely around the core business needs of social governance.
[0047] During the construction of the thematic database, the database construction module 30 associates and integrates data based on fundamental feature characteristics, establishing a basic information database of natural persons serving as unique identifiers, and / or a residence index centered on the place of residence code. This is a key technology for building a high-quality thematic database. Specifically, the system establishes a basic information database of natural persons serving as unique identifiers, which constitutes the core of the "demographic feature database." The database construction module 30 traverses all standardized and structured data, aggregating all information associated with the same ID number (such as household registration information, residence information, health information, social security information, employment information, etc.) under a unified view of that person, forming a comprehensive "digital person" profile. This solves the previous problem of "one person, multiple files, and scattered information."
[0048] Similarly, the system also establishes a resident index based on the unique code of the residence (e.g., a standardized address code generated through address resolution), which forms the core of the "housing management database." This index links the building information, property rights information, resident information, and historical events (such as maintenance and complaints) of the address, forming a comprehensive "digital housing" file.
[0049] Based on these two core master indexes, other thematic databases can be built. For example: Demographic database: It integrates basic information about people, family relationships, educational background, occupation status, etc., and is used for population structure analysis, talent distribution research, etc.
[0050] Housing Management Database: This database integrates information such as the geographical location, construction year, structural type, use, and ownership of buildings, and is used for urban planning, early warning of dangerous buildings, and property management.
[0051] Governance Element Database: This database integrates data from the entire process of government service application, acceptance, approval, and completion, and is used for process optimization and efficiency monitoring.
[0052] Work efficiency database: It integrates the task list, processing process, completion time, and public evaluation of grassroots cadres, and is used for performance evaluation and supervision.
[0053] Service Barrier Database: Focusing on special groups, it integrates welfare applications, subsidy disbursements, and care service records of groups such as people with disabilities, low-income households, and elderly people living alone, forming a database centered on service recipients to support targeted assistance and proactive services.
[0054] The comprehensive social order and stability maintenance database integrates data on public security cases, petitions and complaints, and conflicts and disputes. Through spatiotemporal analysis, it predicts high-incidence areas and high-incidence periods to achieve risk warning.
[0055] Knowledge system base: The policy documents, solutions and expert experience in the governance process are structured to build a government knowledge graph, which supports intelligent question answering and decision support.
[0056] Standards system library: It accumulates data standards, coding specifications, and model algorithms formed during the data governance process, forming reusable and scalable standardized assets.
[0057] Shared resource repository: Package the results of governance, such as data, analysis reports, and effective solutions, and provide them to other departments or regions for sharing and use.
[0058] Through step S104, the system transforms massive amounts of detailed data into organized, business-oriented, easy-to-understand, and usable high-value data assets. This subject-oriented database system greatly lowers the barrier for business personnel to use data, enabling data to truly serve specific governance scenarios.
[0059] Finally, the method executes step S105: based on the topic database, it obtains the operation commands triggered by the user through the interactive interface, and provides data query and analysis functions. This step is performed by... Figure 2 The data analysis and application module 40 is the execution stage for realizing the value of data applications. This solution provides a self-service analysis capability, the core of which is to support users in generating thematic data marts by dragging and dropping fields and displaying multi-dimensional data.
[0060] Traditional report development processes are lengthy and slow, failing to meet the ever-changing and real-time analytical needs of grassroots governance. This solution's data analysis and application module 40 provides a visual user interface. Business users (such as street office directors and community grid workers) can perform complex analyses without writing any code.
[0061] The process of generating a thematic data mart is very intuitive. Users can see all the built thematic databases (such as demographic databases, housing management databases, etc.) and their contained fields on the interface. For example, if a user wants to analyze "the distribution of elderly people living alone in this community," they can drag and drop the "Name," "Age," and "Contact Number" fields from the "Demographic Database," the "Whether Living Alone" field from the "Service Barrier Database," and the "Detailed Address" and "Grid Affiliation" fields from the "Housing Management Database." Combining these fields forms a temporary dataset oriented towards a specific analytical topic, namely the "thematic data mart."
[0062] After generating the data mart, users can further set dimensional rules to summarize and statistically analyze the data. For example, taking the "elderly living alone" data mart mentioned above, users can set the "grid" as the analysis dimension and then select "Count" to summarize the "number of people". The system will immediately generate a statistical table showing the number of elderly people living alone in each grid. These generated data marts can be saved, named, and shared with other colleagues, and can also be modified or deleted at any time.
[0063] Furthermore, the data analysis and application module 40 supports multi-dimensional data display of the analysis results. Users can switch the above statistical results into various chart formats with one click, such as displaying the spatial clustering of elderly people living alone on a map as a heat map, comparing the differences in the number of elderly people living alone in each grid using a bar chart, and displaying the age distribution of elderly people living alone using a pie chart. This multi-dimensional and visual display method makes the patterns and problems behind the data clear at a glance, greatly improving the scientific nature and intuitiveness of decision-making.
[0064] To support this efficient analysis, the embodiments of this application also feature optimized data storage design. The system employs a hierarchical data storage structure, which... Figure 3 This is clearly reflected in the text. The structure includes: Source Data Storage (ODS): Stores raw data collected from various business systems, ensuring complete fidelity and without any modifications. It is primarily used for data tracing and troubleshooting.
[0065] Data Detail Layer (DWD): Stores the most granular, standardized, and structured data after processing in steps S102 and S103. This is the cornerstone of the entire data warehouse, ensuring the uniqueness and consistency of the data.
[0066] Data Summarization Layer (DWS): To improve query performance, this layer pre-aggregates and summarizes the data from the DWS layer based on common analytical dimensions (such as time and region), forming wide tables. For example, it calculates the total population of each street and the number of events of each type daily. When a user queries, the system can prioritize reading the summarized results from the DWS layer, thus achieving a response time within seconds.
[0067] Application Data Mart (ADS) Layer: This layer stores various themed data marts generated by users through drag-and-drop operations. It directly addresses the final application scenarios, such as reports, dashboards, and large-screen displays.
[0068] This four-layer architecture makes the data processing flow clear and the responsibilities well-defined, balancing the flexibility of data processing, the performance of queries, and the maintainability of the system.
[0069] Beyond standard query and analysis, this solution supports more advanced analytical applications. The system can perform cross-database joint analysis based on multiple thematic databases to generate composite social governance indicators. This solution differs from simple reporting systems in its ability to perform cross-database joint analysis across multiple thematic databases. This joint analysis generates a synergistic effect, with its overall result exceeding the sum of the results of individual analyses.
[0070] For example, to conduct community safety risk assessments, the joint analysis engine in the data analysis and application module 40 can simultaneously extract data from multiple thematic databases. For instance, it might retrieve data such as "proportion of migrant population" and "number of unemployed youth" from a demographic database; "number of shared rental apartments" and "proportion of old residential areas" from a housing management database; "historical crime rate" from a public security and stability maintenance database; and even "density of low-income population" from a service barrier database. The joint analysis engine uses a pre-defined weighted algorithm model to fuse these indicators from different dimensions, ultimately generating a composite "community safety risk index." This composite "community safety risk index" can reflect a community's potential risks more comprehensively and profoundly than any single indicator, thus providing quantitative data support for decisions such as police deployment, resource allocation, and preventative governance.
[0071] The following specific application scenario will further illustrate the workflow and technical effects of the embodiments of this application. Suppose that a street office wants to take proactive care measures for elderly people living alone in its jurisdiction who are at risk of heatstroke before the summer arrives.
[0072] First, in its daily operations, the system of this application has continuously accessed data through the data access module 10, including the Civil Affairs Bureau's "List of Elderly Subsidy Recipients" (containing name, ID number, and age), the "Information on Elderly People Living Alone" reported by community grid workers, the Health Commission's "Chronic Disease Patient Files" (especially cardiovascular disease patients), and the housing management department's "Housing Information" (especially old houses on the top floor, facing west, and without air conditioning). This data undergoes standardization (S102) and structured parsing (S103) by the data processing module 20. In particular, after the addresses are refined through the address text parsing unit, the database construction module 30 establishes a person-centric and house-centric related archive in the population characteristic database, service barrier database, and housing management database (S104).
[0073] Before the care campaign began, community workers logged into the system and used the data analysis and application module 40 (S105). Through drag-and-drop operations, they selected "Age," "Name," "Contact Information," and "Having Cardiovascular Disease" from the demographic database, "Living Alone" from the service barrier database, and "Floor of Residence" and "House Orientation" from the housing management database. They then set the filtering criteria: "Age > 80 years old," "Living Alone = Yes," "Having Cardiovascular Disease = Yes," and "Floor of Residence = Top Floor."
[0074] The system quickly generated a data mart titled "List of High-Risk Elderly for Care." Staff further visualized the results in a multi-dimensional map format, identifying several older residential communities as areas with the highest concentration of high-risk elderly. They then exported a detailed list containing names, addresses, and phone numbers, distributing it to relevant community volunteers and family doctors. Volunteers, using this accurate list, conducted home visits to check on the elderly residents' health, assist with checking air conditioning and other cooling equipment, and inform them of high-temperature warnings. The entire process, from identifying the needs to generating the action list, took only a dozen minutes. Previously, this required repeated communication between multiple departments, manual comparison of Excel spreadsheets, and took several days, with a high risk of omissions.
[0075] As can be seen from the above embodiments, the method and system for constructing the social governance thematic database provided in this application, through the systematic access, standardization, in-depth analysis, and thematic organization of multi-source data, and by providing flexible and powerful self-service analysis tools, transforms raw data into a data foundation that can drive the refinement, intelligence, and scientification of social governance. It not only significantly reduces the data processing burden on grassroots staff, but also, through data insights, achieves an upgrade in governance model from passive response to proactive prevention.
[0076] Those skilled in the art will understand that the various modules in the above embodiments, such as the data access module 10, the data processing module 20, the database construction module 30, and the data analysis and application module 40, can all be implemented using computer program instructions. These program instructions can be stored in a computer-readable storage medium, and when the processor executes these instructions, the above method steps can be completed. These modules are functionally independent, but physically they can be deployed on the same or multiple servers, or provided as a service through a cloud computing platform.
[0077] In summary, compared with the prior art, this application has the following beneficial effects: 1. By unifying access and standardizing the processing of multi-source heterogeneous data from different departments, the "data silos" have been effectively broken down, and a unified, standardized, and high-quality data foundation has been established, providing reliable data support for subsequent analysis and applications.
[0078] 2. By employing a CRF+BiLSTM model optimized for social governance scenarios to perform refined parsing of unstructured text such as addresses, the accuracy of key information extraction has been significantly improved. In particular, it has solved the problems of ambiguous and non-standard addresses that are difficult to handle by traditional methods, thereby enhancing the usability of the data.
[0079] 3. By constructing ten thematic databases centered on "people" and "housing," a comprehensive and multi-dimensional data view of social governance has been formed. It also supports the generation of composite governance indicators through cross-database joint analysis, realizing a leap from simple data statistics to in-depth risk warning and decision support, thereby improving the scientific nature and foresight of social governance.
[0080] 4. By providing drag-and-drop self-service analysis functions, even frontline staff without professional data analysis skills can easily obtain and analyze data, eliminating the need for tedious and repetitive manual data processing and significantly improving work efficiency.
[0081] It is understood that the same or similar parts in the above embodiments can be referred to each other, and the contents not described in detail in some embodiments can be referred to the same or similar contents in other embodiments.
[0082] It should be noted that in the description of this application, the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this application, unless otherwise stated, "a plurality of" means at least two.
[0083] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.
[0084] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0085] Those skilled in the art will understand that all or part of the steps of the methods implementing the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0086] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc.
[0087] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0088] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A method for constructing a thematic database on social governance, characterized in that, Includes the following steps: Access to multi-source data, which includes at least one of the following: business system data from different commissions and bureaus, community cloud data, joint operation data, and remote assistance data; The multi-source data is standardized, including data cleaning, transformation and mapping, to unify data format and content specifications; The standardized data is subjected to structured parsing to extract key information. Specifically, address text data is parsed using a named entity recognition model to identify the smallest granular information of the address. Based on the structured parsed data, multiple social governance thematic databases are constructed. These thematic databases include at least a population characteristics database, a housing management database, a governance element database, a work efficiency database, a service barrier database, an epidemic prevention barrier database, a comprehensive social management and stability maintenance database, a knowledge system database, a standards system database, and a shared resource database. Based on the aforementioned topic database, the system obtains user-triggered operation commands through the interactive interface, provides data query and analysis functions, supports users in generating topic data marts by dragging and dropping fields, and displays multi-dimensional data.
2. The method according to claim 1, characterized in that, The named entity recognition model adopts a hybrid model combining CRF and Bidirectional Long Short-Term Memory (BiLSTM) network, and is trained using labeled data from the field of social governance.
3. The method according to claim 1, characterized in that, The smallest granularity information of the address includes at least one of the following: city, district, town, village, road, lane, branch lane, team, group, street, house, circle, hamlet, number, building, room.
4. The method according to claim 1, characterized in that, The structured parsing of the standardized data also includes: Unstructured text data is processed for business terminology standardization and format unification, keywords and indicator information are extracted, and mapped and matched with preset business standards.
5. The method according to claim 1, characterized in that, The process of building a topic database also includes: Based on basic element characteristics, the data are correlated and integrated to establish a basic information database of natural persons serving the public, with the citizen's ID number as the unique identifier, and / or a primary index of residences with the residence code as the core.
6. The method according to claim 1, characterized in that, The generation process of the topic data mart includes: Select the required fields from at least one subject database, set dimension rules, summarize and statistically analyze the data, and generate a dataset that can be shared or analyzed.
7. The method according to claim 1, characterized in that, The method further includes a data hierarchical storage step, wherein the data storage structure includes: The source layer is used to store the raw collected data. The data detail layer is used to store the smallest granularity of data after standardization and structuring. The data aggregation layer is used to store data that has been aggregated by dimension; The application data mart layer is used to store application-oriented topic data marts.
8. The method according to claim 1, characterized in that, The method further includes: By conducting cross-database joint analysis based on multiple thematic databases, composite social governance indicators are generated for risk assessment, early warning, or decision support.
9. A system for constructing a thematic database on social governance, characterized in that, include: The data access module is used to access multi-source data, which includes at least one of the following: business system data from different commissions and bureaus, community cloud data, joint operation data, and remote assistance data. The data processing module is used to standardize the multi-source data, including data cleaning, transformation and mapping, to unify data format and content specifications; And for performing structured parsing on the standardized data to extract key information, wherein a named entity recognition model is used to perform structured parsing on address text data to identify the smallest granularity information of the address; The database construction module is used to build multiple social governance theme databases, which include at least a population characteristics database, a housing management database, a governance element database, a work efficiency database, a service barrier database, an epidemic prevention barrier database, a comprehensive social management and stability maintenance database, a knowledge system database, a standard system database, and a shared resource database. The data analysis and application module is used to provide data query and analysis functions based on the topic database, and supports users to generate topic data marts by dragging and dropping fields and display multi-dimensional data.
10. The system according to claim 9, characterized in that, The data processing module includes an address text parsing unit, which uses a CRF+BiLSTM hybrid model to perform structured parsing of address text and extract predefined address minimum granularity information.
