Government affair data acquisition method and device

By working together with shared and open platforms, the problem of isolated government data has been solved, enabling centralized sharing and secure transmission of government data, and improving the efficiency of data sharing and the accuracy of decision support.

CN120979932APending Publication Date: 2025-11-18SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511379097.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-25
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Independent operation of government information systems leads to data silos, resulting in wasted resources, complex and inefficient cross-departmental business processing, and decentralized data management affecting the accuracy of decision-making. Furthermore, data security and privacy protection are threatened.

Method used

The data is obtained and configured through a shared platform, the push status is reviewed, the push message is assembled, and the government data is parsed and published through an open platform, thereby achieving centralized data sharing and secure transmission.

Benefits of technology

It solves the problem of data silos, improves data sharing efficiency, ensures data security and compliance, and supports efficient processing and decision support for cross-departmental business.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120979932A_ABST
    Figure CN120979932A_ABST
Patent Text Reader

Abstract

The invention provides a government affair data obtaining method and device, and the method comprises the steps: a sharing platform obtains a directory list, the directory list corresponds to directory opening configuration information, a target list stores different types of government affair data, the sharing platform configures the directory opening configuration information to obtain a configured directory list, and the configured directory list corresponds to the directory opening configuration information; the sharing platform checks the configured directory list and determines a push state, if the push state of the sharing platform shows that the directory list can be pushed, the sharing platform assembles a push message, the open platform obtains the push message, the open platform analyzes the push message to obtain open directory resource information, and the open directory resource information is sent to the open platform. And the open platform issues government affair data corresponding to the open directory resource information. The directory list is configured through the sharing platform, and the configured directory list is pushed to the open platforms, so that data corresponding to the directory list can be transmitted to multiple open platforms, the problem of data islands is solved, and the open platforms are prevented from repeatedly collecting the same data of the sharing platform.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of government affairs services, and in particular to a method and device for acquiring government affair data. BACKGROUND

[0002] The in-depth promotion of government informationization has prompted various departments to establish various information systems, aiming to improve work efficiency. However, these systems usually operate independently, lack necessary connection and intercommunication, leading to the problem of data silos. This not only hinders the free circulation and sharing of information resources, but also causes repetitive labor in the data collection process, wasting a large amount of resources. At the same time, the barriers between systems make the processing of cross-department business complex and inefficient, seriously slowing down the efficiency of services. In addition, the decentralized management of data poses challenges to decision-making, and decision-makers often lack comprehensive data support, affecting the accuracy and scientificity of decision-making. More seriously, data security and personal privacy protection are facing increasing threats, and the decentralized management increases the risk of data leakage. SUMMARY

[0003] In order to solve the above technical problems, the present application is proposed. The embodiments of the present application provide a method and device for acquiring government affair data, which can solve the problem of data silos.

[0004] According to one aspect of the present application, a method for acquiring government affair data is provided, comprising:

[0005] The sharing platform acquires a directory list; wherein the directory list corresponds to directory opening configuration information, and the target list stores different types of government affair data;

[0006] The sharing platform configures the directory opening configuration information to obtain a configured directory list;

[0007] The sharing platform audits the configured directory list to determine a push state;

[0008] If the push state indicates that the directory list can be pushed, the sharing platform assembles a push message;

[0009] The open platform acquires the push message;

[0010] The open platform parses the push message to obtain open directory resource information;

[0011] The open platform publishes government affair data corresponding to the open directory resource information.

[0012] In an embodiment, the directory opening configuration information includes file information to be opened and interface information to be opened, wherein the configuration of the directory opening configuration information by the sharing platform to obtain the configured directory list comprises:

[0013] The file information to be opened is marked to obtain marked file information;

[0014] The interface information to be opened is marked to obtain marked interface information; wherein the configured directory list includes the marked file information and the marked interface information.

[0015] In an embodiment, the directory opening information includes a directory information item, wherein the sharing platform configures the directory opening configuration information to obtain a configured directory list, including:

[0016] Obtain a library table resource;

[0017] According to the business requirements, determine the shared fields in the library table resource that are shared externally;

[0018] The shared fields are marked to obtain marked shared fields;

[0019] The marked shared fields are bound to the corresponding directory information items to obtain a configured directory list.

[0020] In an embodiment, the determining of the shared fields in the library table resource that are shared externally according to the business requirements includes:

[0021] Determine the sensitive information in the library table resource;

[0022] The sensitive information is desensitized to obtain a desensitized library table resource;

[0023] According to the business requirements, determine the shared fields in the desensitized library table resource that are shared externally.

[0024] In an embodiment, the method for obtaining government affairs data further includes:

[0025] If the push state indicates that the directory list cannot be pushed, the sharing platform sends a delisting notification instruction;

[0026] The opening platform delists the opening directory resource information based on the delisting notification instruction.

[0027] In an embodiment, the assembling of the push message includes:

[0028] Query table information, column information, and detailed information of data sources related to the library table resource;

[0029] Assemble the table information, column information, and detailed information of data sources related to the library table resource into a push message.

[0030] In an embodiment, the assembling of the push message includes:

[0031] Query information for each file;

[0032] The relevant information for each file is assembled into a push message.

[0033] In one embodiment, the assembled push message includes:

[0034] Get interface information;

[0035] Determine the return result corresponding to the interface information;

[0036] The returned results are assembled into a push message.

[0037] In one embodiment, the open platform parses the push message to obtain open directory resource information, including:

[0038] Determine the type of the push message;

[0039] If the type is a file resource, the file resource information is parsed to obtain open directory resource information; wherein, the open directory resource information includes file name, download address, file type, and department.

[0040] According to another aspect of the present invention, a device for acquiring government data is provided, comprising:

[0041] A sharing platform is used to obtain a directory list; wherein the directory list corresponds to directory access configuration information, the target list stores different types of government data, the directory access configuration information is configured to obtain a configured directory list, the configured directory list is reviewed to determine the push status, and if the push status indicates that the directory list can be pushed, a push message is assembled.

[0042] An open platform is used to obtain the push message, parse the push message to obtain open directory resource information, and publish the government data corresponding to the open directory resource information.

[0043] The application provides a government affair data acquisition method and device, which comprises the following steps: a sharing platform acquires a directory list, wherein the directory list corresponds to directory opening configuration information, the target list stores different types of government affair data, the sharing platform configures the directory opening configuration information to obtain a configured directory list, the sharing platform audits the configured directory list to determine a push state, and if the push state indicates that the directory list can be pushed, the sharing platform assembles a push message; an open platform acquires the push message, parses the push message to obtain open directory resource information, and publishes government affair data corresponding to the open directory resource information. The directory list is configured by the sharing platform, and the configured directory list is pushed to the open platform, so that the data corresponding to the directory list can be transmitted to multiple open platforms, the problem of data island is solved, and the same data of the sharing platform is prevented from being repeatedly collected by the open platform. BRIEF DESCRIPTION OF DRAWINGS

[0044] The above and other objects, features and advantages of the present application will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings in which:

[0045] Figure 1 FIG. 1 is a flowchart of a government affair data acquisition method according to an example embodiment of the present application.

[0046] Figure 2 FIG. 2 is a flowchart of configuration of directory opening configuration information according to an example embodiment of the present application.

[0047] Figure 3 FIG. 3 is a flowchart of a government affair data acquisition method according to another example embodiment of the present application.

[0048] Figure 4 FIG. 4 is a structural diagram of a government affair data acquisition device according to an example embodiment of the present application.

[0049] Figure 5 FIG. 5 is a structural diagram of an electronic device according to an example embodiment of the present application. DETAILED DESCRIPTION

[0050] Hereinafter, example embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, and are not all the embodiments of the present application, and it should be understood that the present application is not limited to the described example embodiments.

[0051] Figure 1is a flowchart of a method for obtaining government data according to an example embodiment of the present application. Figure 2 is a flowchart of a method for configuring directory opening configuration information according to an example embodiment of the present application. Figure 3 is a flowchart of a method for obtaining government data according to another example embodiment of the present application. Figures 1-3 As shown in the figure, the method for obtaining government data comprises the following steps.

[0052] Step 110: The sharing platform obtains a directory list, wherein the directory list corresponds to directory opening configuration information, and the target list stores government data of different types.

[0053] In the embodiment of the present application, the directory list contains directories that are open to the public and partially open to the public. The directory list can show that it is open to the public and partially open to the public, which respectively corresponds to unconditional application and conditional application on the opening portal, so as to facilitate users to quickly understand and adjust the directory opening configuration, and ensure information security while meeting the information sharing needs of different departments.

[0054] Step 120: The sharing platform configures the directory opening configuration information to obtain a configured directory list.

[0055] In the embodiment of the present application, the sharing platform allows users to customize the display and access rights of the directory according to specific needs by configuring the directory opening configuration information. Users can choose to add, delete or modify directory items, and set corresponding rights and attributes, thereby forming a personalized directory list. The directory list can include directory name, source department, opening type, update frequency, etc.

[0056] Step 120 can comprise the following steps:

[0057] Step 121: Marking the file information to be opened to obtain marked file information.

[0058] In the embodiment of the present application, marking the file information to be opened means classifying and identifying specific files, so that the marked file information can be pushed to the resource of the opening platform. Since multiple file resources can be connected under the target, some of the file resources are limited to shared use, and do not need to be opened to the outside. Therefore, it is necessary to screen these resources to ensure that only suitable files for public disclosure are opened.

[0059] Step 122: Marking the interface information to be opened to obtain marked interface information, wherein the configured directory list includes the marked file information and the marked interface information.

[0060] In the embodiment of the present application, marking the interface information to be opened means explicitly identifying the attributes, states or permissions of the interface, such as marking as "public interface", "restricted interface" or "internal interface". Through such marking, the interfaces are screened to ensure that only the interfaces suitable for public are opened.

[0061] In addition, the configured target list can also include the marked library table resources. The library table resources are marked to obtain the marked library table resources, so as to realize screening of the library table resources and push the marked library table resources to the opening platform. The catalog in the present application can be connected with the marked library table resources, the marked file information and the marked interface information, but only one library table resource can be pushed to the opening platform when pushed to the opening platform, and multiple file information and interface information can be pushed. The library table resources represent the resources in the database, including the database (library) and the table (table) therein.

[0062] Step 130: The sharing platform audits the configured catalog list and determines the push state.

[0063] In the embodiment of the present application, the sharing platform provides an efficient catalog auditing and management mechanism, including maintaining the catalog list that has passed the audit, supporting the administrator to modify the push state of the catalog and the timing task of periodically scanning the catalog state. At the same time, the sharing platform provides a batch auditing function to improve the auditing efficiency. When the catalog audit is rejected, the push state of the related catalog and the connected resources will be automatically set to "not pushed", and the administrator is allowed to reconfigure the opening information, so as to ensure the flexibility and accuracy of information management.

[0064] Step 140: If the push state indicates that the catalog list can be pushed, the sharing platform assembles the push message.

[0065] Step 150: The opening platform obtains the push message.

[0066] In the embodiment of the present application, the push message is processed by paging according to the preset page size in the sharing platform. Each time the query is performed, the sharing platform extracts the catalog to be pushed that meets the condition from the database, and divides it into multiple pages according to the number of displayed entries per page set by the user. In this way, the user can view the catalog data to be pushed to the opening platform page by page, avoiding the performance problem caused by loading a large amount of information at one time. Through this paging acquisition method, the user can more efficiently browse, select and manage the catalog to be pushed, while ensuring the flexibility and controllability of data query.

[0067] In addition, the push message corresponding to the catalog list is determined, the catalog list is pushed to the opening platform one by one, and the number of successes and failures is recorded. After the push is completed, the push result information is output.

[0068] In addition, when the assembled message is pushed to Kafka, the system will first send the message of the directory and update its push state to "pushed" to prevent subsequent tasks from scanning the directory repeatedly. After the push operation is completed, the system will record the results returned by Kafka to facilitate subsequent tracking of the publishing status of the message, ensuring that the message is successfully sent to Kafka and timely handling of possible errors or exceptions. This process not only improves the reliability of data, but also provides important basis for subsequent monitoring and auditing, ensuring the traceability of the entire push process. Kafka is an open source distributed stream processing platform.

[0069] Step 160: The open platform parses the push message to obtain open directory resource information.

[0070] Step 170: The open platform publishes the government data corresponding to the open directory resource information.

[0071] In the embodiment of the present application, the open directory resource information is published, and the open resource directory created needs to be confirmed by the corresponding department, and can be published to the open website after approval. Although the open resource directory has been created, the data in the resource cannot be directly viewed through the open platform, and the ProxySelector needs to be set in the open resource application to set the proxy mode, and the data in the resource shared by the push is routed to the sharing platform of the government extranet through the proxy, the data information in the corresponding resource is obtained, the entire link is opened, and integrated management is realized.

[0072] In an embodiment, the directory opening information includes directory information items, and step 120 can be specifically implemented as: obtaining library table resources; determining shared fields in the library table resources to be shared externally according to business requirements; marking the shared fields to obtain marked shared fields; and binding the marked shared fields with corresponding directory information items to obtain a configured directory list.

[0073] In the embodiment of the present application, obtaining library table resources means extracting related table structures and data resources from a database, and screening fields (i.e. shared fields) in the library table resources that need to be shared externally according to specific business requirements. Then, the shared fields are marked, for example, as "public fields", "sensitive fields" or "restricted fields", to clearly indicate their sharing attributes and permissions. The marked shared fields are bound with corresponding directory information items (such as table names, field descriptions or business attributions) to form a configured directory list. This directory list not only visually displays the specific information of the shared fields, but also clearly indicates the sharing rules and access restrictions of each field, ensuring the security, compliance and efficiency of data sharing, and facilitating subsequent resource management and use by external users.

[0074] Among them, the fields that need to be opened out are identified, only the identified fields are pushed into the kafka message, and the unmarked fields are not pushed, so as to control the data authority and guarantee the data security.

[0075] For example, in the customer management system, the library table resource is obtained from the "customer information" table, and the fields that need to be shared externally are determined according to business needs, such as name, email and phone. Mark these shared fields, where name and email are marked as "public fields", and phone is marked as "restricted field". Bind the marked shared fields with the corresponding directory information items to finally form a configured directory list, which clearly shows the sharing status and description of each field.

[0076] In an embodiment, step 120 can be specifically implemented as: determining sensitive information in the library table resource; performing desensitization processing on the sensitive information to obtain a desensitized library table resource; and determining shared fields in the desensitized library table resource to be shared externally according to business needs.

[0077] In the embodiment of the application, when processing the library table resource, sensitive information such as personal information, financial data or other fields that may cause privacy leakage needs to be identified. For these sensitive information, desensitization processing is performed, that is, modification or masking is performed, to ensure that private information of users is not leaked when sharing data, for example, replacing the actual name with a unique user number, or hiding part of the real phone number with an asterisk. After completing the desensitization processing, the obtained library table resource will not contain sensitive information, ensuring the security of the data. According to business needs, it is determined which desensitized fields can be shared externally, such as desensitized user numbers, email domains or blurred geographic locations, etc., so as to realize safe external data sharing while meeting business needs.

[0078] In an embodiment, the method for obtaining government data can be specifically implemented as: if the push state indicates that the directory list cannot be pushed, the sharing platform sends a delisting notification instruction; and the open platform delists the open directory resource information based on the delisting notification instruction.

[0079] In the embodiment of the application, when the push state of the sharing platform indicates that a certain directory list cannot be pushed, the system automatically sends a delisting notification instruction to inform the relevant parties that the directory resource is no longer available. The open platform will take action according to the received delisting notification instruction, and delist the corresponding open directory resource information from the shareable list, to ensure that external users can no longer access these resources. This process helps to update the state of shared resources in a timely manner, avoids potential risks caused by outdated or non-compliant information, and at the same time guarantees the security and compliance of the data.

[0080] Specifically, in order to maintain the data consistency of the sharing and open platform, when the catalog is taken down, the sharing platform will publish a take-down notification to ensure that the resources pushed to the open platform can be timely removed. This measure not only guarantees the centralized management of resources, but also effectively prevents outdated or no longer available information from misleading users, ensuring that the content displayed on the platform is always accurate and reliable.

[0081] In an embodiment, step 140 can be specifically implemented as: querying table information, column information, and detailed information of a data source related to the library table resource; and assembling the table information, column information, and detailed information of the data source related to the library table resource into a push message.

[0082] In the embodiment of the present application, when processing the library table resource, the sharing platform first queries the detailed information related thereto, including table information (such as table name and table structure), column information (such as field name, data type, and field description), and detailed information of a data source (such as data source name, data source type, and connection information). The information is sorted and integrated, and assembled into a complete push message in a certain format. The push message provides comprehensive information of the library table resource, facilitating the pushing of the data resource to a designated sharing platform, thereby supporting data sharing, resource management, or business demand.

[0083] In an embodiment, step 140 can be specifically implemented as: querying relevant information of each file; and assembling the relevant information of each file into a push message.

[0084] In the embodiment of the present application, the sharing platform first performs a query operation on each file to obtain detailed information related to the file, such as file name, file path, file size, file type, creation time, modification time, and business classification to which the file belongs. Subsequently, the relevant information of the files is integrated and assembled according to a predetermined format to generate a complete push message. The push message summarizes the key attribute information of the files, facilitating the sending of the files to the open platform for file resource management, sharing, or business processing.

[0085] In an embodiment, step 140 can be specifically implemented as: obtaining interface information; determining a return result corresponding to the interface information; and assembling the return result into a push message.

[0086] In the embodiment of the present application, the sharing platform first obtains specified interface information, including the name of the interface, request address, request parameters, and calling method. By calling the interface, the return result, i.e., the data content or response information returned by the interface, is determined. Finally, the return result is integrated and assembled according to a predetermined format to generate a complete push message.

[0087] In an embodiment, step 160 can be implemented as: determining the type of the push message; if the type is a file resource, parsing the file resource information to obtain open directory resource information; wherein the open directory resource information comprises a file name, a download address, a file type, and a department to which the file resource belongs.

[0088] In the embodiment of the present application, when processing the push message, the open platform identifies the type of the message to determine the subsequent processing method. If the message is determined to be of the file resource type, the open platform will further parse the file resource information contained therein. This parsing process involves extracting key data, including the file name (indicating the specific identification of the file), the download address (through which the user can obtain the link of the file), the file type (such as a document, a picture, or a video, indicating the format of the file), and the department to which the file belongs (indicating the organization or business unit to which the file belongs). In this way, the open platform can generate detailed open directory resource information, ensuring that all relevant information is accurate and complete, and facilitating subsequent file sharing, access, and management, to meet the needs of users and the requirements of business processes.

[0089] In an embodiment, step 160 can be implemented as: determining the type of the push message; if the type is a library table resource, parsing the library table resource to obtain open directory resource information; wherein the open directory resource information comprises data source information.

[0090] In the embodiment of the present application, if the type is a library table resource, the data source information is saved to ensure that the open platform can correctly identify and access the required data source. Then, information related to the resource is created and saved, including table information and column information, to facilitate subsequent data management and query. If there are already related table resources in the open platform, these resources and their associated information need to be deleted first to avoid data duplication or conflict. Finally, the library table resource and its associated information are added to ensure that the latest resource status is maintained in the open platform, and this series of operations ensures the accuracy and consistency of the data, providing a reliable foundation for subsequent data processing.

[0091] In an embodiment, step 160 can be implemented as: determining the type of the push message; if the type is an interface resource, parsing the interface resource to obtain open directory resource information; wherein the open directory resource information comprises an interface address, an interface type, an interface parameter, and an interface resource name.

[0092] Figure 4 is a structural schematic diagram of a government data acquisition device provided by an exemplary embodiment of the present application. As shown in Figure 4As shown, the government data acquisition device comprises: a sharing platform 201 configured to acquire a directory list; wherein the directory list corresponds to directory opening configuration information, the target list stores government data of different types, the directory opening configuration information is configured to obtain a configured directory list, the configured directory list is audited to determine a push state, and if the push state indicates that the directory list can be pushed, a push message is assembled; an open platform 202 configured to acquire the push message, analyze the push message to obtain open directory resource information, and publish government data corresponding to the open directory resource information.

[0093] In an embodiment, the directory opening configuration information comprises file information to be opened and interface information to be opened, wherein the sharing platform 201 can be specifically configured to: mark the file information to be opened to obtain marked file information; mark the interface information to be opened to obtain marked interface information; wherein the configured directory list comprises the marked file information and the marked interface information.

[0094] In an embodiment, the directory opening information comprises directory information items, wherein the sharing platform 201 can be specifically configured to: acquire library table resources; determine shared fields in the library table resources to be shared externally according to business requirements; mark the shared fields to obtain marked shared fields; and bind the marked shared fields with corresponding directory information items to obtain a configured directory list.

[0095] In an embodiment, the sharing platform 201 can be specifically configured to: determine sensitive information in the library table resources; perform desensitization processing on the sensitive information to obtain desensitized library table resources; and determine shared fields in the desensitized library table resources to be shared externally according to business requirements.

[0096] In an embodiment, the sharing platform 201 can be specifically configured to: if the push state indicates that the directory list cannot be pushed, send a delisting notification instruction; and the open platform 202 can be specifically configured to: delist the open directory resource information based on the delisting notification instruction.

[0097] In an embodiment, the sharing platform 201 can be specifically configured to: query table information, column information, and detailed information of a data source related to the library table resources; and assemble the table information, column information, and detailed information of the data source related to the library table resources into a push message.

[0098] In an embodiment, the sharing platform 201 can be specifically configured to: query information related to each file; and assemble the information related to each file into a push message.

[0099] In one embodiment, the sharing platform 201 may be specifically configured to: obtain interface information; determine the return result corresponding to the interface information; and assemble the return result into a push message.

[0100] In one embodiment, the open platform 202 may be specifically configured to: determine the type of the push message; if the type is a file resource, then parse the file resource information to obtain open directory resource information; wherein, the open directory resource information includes file name, download address, file type, and department.

[0101] Figure 5 A block diagram of an electronic device according to an embodiment of this application is illustrated.

[0102] like Figure 5 As shown, the electronic device 10 includes one or more processors 11 and memory 12.

[0103] The processor 11 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.

[0104] The memory 12 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 11 may execute the program instructions to implement the government data acquisition methods of the various embodiments of this application described above and / or other desired functions. Various contents such as input signals, signal components, and noise components may also be stored in the computer-readable storage medium.

[0105] In one example, the electronic device 10 may also include an input device 13 and an output device 14, which are interconnected via a bus system and / or other forms of connection mechanism (not shown).

[0106] When the electronic device 10 is a standalone device, the input device 13 can be a communication network connector for receiving the collected input signals from the first device and the second device.

[0107] In addition, the input device 13 may also include, for example, a keyboard, a mouse, etc.

[0108] The output device 14 can output various information including the determined distance information, direction information, etc. to the outside. The output device 14 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, etc.

[0109] Of course, in order to simplify, Figure 5 Only some of the components of the electronic device 10 related to the present application are shown in the figure, and components such as a bus, an input / output interface, etc. are omitted. In addition to this, the electronic device 10 can include any other appropriate components according to the specific application.

[0110] The computer program product can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's device and partly on a remote computing device or entirely on the remote computing device or server.

[0111] The computer readable storage medium can be a combination of one or more of the following: a readable signal medium and a readable storage medium. The readable storage medium can include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples (a non-exhaustive list) of the readable storage medium include an electrical connection having one or more wires, a portable disc, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0112] The above only describes the preferred embodiments of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for obtaining government data, characterized by, The method comprises the following steps: The sharing platform obtains a directory list, wherein the directory list corresponds to directory opening configuration information, and the target list stores different types of government data; The sharing platform configures the directory opening configuration information to obtain a configured directory list; The sharing platform audits the configured directory list to determine a push state; If the push state indicates that the directory list can be pushed, the sharing platform assembles a push message; The open platform obtains the push message; The open platform parses the push message to obtain open directory resource information; The open platform publishes government data corresponding to the open directory resource information.

2. The method of claim 1, wherein, The directory opening configuration information includes file information to be opened and interface information to be opened, wherein the configuration of the directory opening configuration information by the sharing platform to obtain the configured directory list comprises: The file information to be opened is marked to obtain marked file information; The interface information to be opened is marked to obtain marked interface information; wherein the configured directory list includes the marked file information and the marked interface information.

3. The method of claim 2, wherein The directory opening information includes directory information items, wherein the configuration of the directory opening configuration information by the sharing platform to obtain the configured directory list comprises: Obtain library table resources; Determine shared fields in the library table resources to be shared externally according to business requirements; The shared fields are marked to obtain marked shared fields; The marked shared fields are bound to corresponding directory information items to obtain the configured directory list.

4. The method of claim 3, wherein, The determination of the shared fields in the library table resources to be shared externally according to business requirements comprises: Determine sensitive information in the library table resources; The sensitive information is desensitized to obtain desensitized library table resources; Determine shared fields in the desensitized library table resources to be shared externally according to business requirements.

5. The method of claim 1, wherein, Further comprising: If the push state indicates that the directory list cannot be pushed, the sharing platform sends a delisting notification instruction; The open platform delists the open directory resource information based on the delisting notification instruction.

6. The method of claim 1, wherein, The assembly of the push message comprises: Query table information, column information, and detailed information of data sources related to library table resources; The table information, column information, and detailed information of data sources related to library table resources are assembled into a push message.

7. The method of claim 1, wherein The assembly of the push message comprises: Query information related to each file; The information related to each file is assembled into a push message.

8. The method of claim 1, wherein, The assembly of the push message comprises: Obtain interface information; Determine the return result corresponding to the interface information; The return result is assembled into a push message.

9. The method of claim 1, wherein, The parsing of the push message by the open platform to obtain open directory resource information comprises: Determine the type of the push message; If the type is a file resource, parse the file resource information to obtain open directory resource information; wherein the open directory resource information includes a file name, a download address, a file type, and a department to which the file belongs.

10. A government data acquisition apparatus characterized by comprising: The method comprises the following steps: A sharing platform is configured to obtain a directory list, wherein the directory list corresponds to directory opening configuration information, the target list stores different types of government data, the directory opening configuration information is configured to obtain a configured directory list, the configured directory list is audited to determine a push state, and if the push state indicates that the directory list can be pushed, a push message is assembled. An open platform is configured to obtain the push message, analyze the push message to obtain open directory resource information, and publish government data corresponding to the open directory resource information.