Government affair data sharing method, data sharing platform, electronic device and storage medium

By acquiring government data requests from data-using departments, generating data distribution scripts, and automatically pushing government data, the problem of large workload and high cost under the database-table push method is solved, realizing the automation and efficiency improvement of data sharing.

CN116527752BActive Publication Date: 2026-04-28DIGITAL GUANGDONG NETWORK CONSTR CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
DIGITAL GUANGDONG NETWORK CONSTR CO LTD
Filing Date
2023-04-06
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In existing technologies, data sharing using the database table push method suffers from problems such as large workload, high manual implementation costs, and low data sharing efficiency.

Method used

By obtaining government data requests from data-using departments, determining data distribution information based on data name, data scope, and pre-stored shared configuration information, generating data distribution scripts, and automatically pushing government data to data-using departments, the workload of operations personnel in offline sorting and manual verification is reduced.

Benefits of technology

It automates data sharing, saves on manual implementation costs, and improves data sharing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116527752B_ABST
    Figure CN116527752B_ABST
Patent Text Reader

Abstract

The application discloses a kind of government affair data sharing method, data sharing platform, electronic equipment and storage medium.Data sharing method is applied to data sharing platform, comprising: obtaining the government affair data request sent by data department, government affair data request includes the data name and data range of the government affair data to be applied, and data range is the information indicating the city area range corresponding to data;According to data name, data range and shared configuration information, determine data delivery information, and shared configuration information is stored in data sharing platform in advance;According to data delivery information, generate data delivery script;Government affair data is obtained using data delivery script, and government affair data is pushed to data department.According to the request of shared configuration information to shared government affair data, data delivery information is automatically matched, and then data delivery script is generated, and data is automatically delivered based on the data delivery script, which saves the cost of manual implementation and improves the efficiency of data sharing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of government data management technology, and in particular to a government data sharing method, data sharing platform, electronic device, and storage medium. Background Technology

[0002] To facilitate data sharing and exchange among units in various cities (provinces / cities / counties), a provincial data sharing platform is usually set up. When data-using departments apply for target data, they usually share it in the form of database tables.

[0003] When data-using departments apply for sharing target data in a database / table format, the following situations may occur:

[0004] 1. The platform offers multiple data delivery methods, such as service interface query, service interface verification, and database / table data push. When data-using departments apply for the database / table data push method, they need to manually configure data exchange jobs offline to push the data; the platform cannot automate the database / table data push process.

[0005] 2. Cumbersome data exchange configuration: When municipal and prefecture-level data-using departments request data from provincial-level units' databases, the data should, in principle, be distributed according to their jurisdiction, pushing only data within the scope of the requesting municipality. The platform cannot automatically match the data scope corresponding to the requesting municipality for data distribution, requiring operations personnel to manually compile the distribution rules offline and configure the exchange operation through the data sharing platform to distribute the data.

[0006] In summary, using the database table push method to share data has the problems of large workload, high implementation cost, and low data sharing efficiency. Summary of the Invention

[0007] This invention provides a data sharing method to solve the problems of large workload, high manual implementation cost, and low data sharing efficiency that exist when sharing data using the database table push method.

[0008] In a first aspect, the present invention provides a data sharing method applied to a data sharing platform, comprising:

[0009] The system retrieves government data requests sent by data-using departments. These requests include the data name and data scope of the government data to be requested, whereby the data scope represents the administrative region corresponding to the government data.

[0010] The data distribution information is determined based on the data name, the data range, and the pre-stored shared configuration information, wherein the shared configuration information includes the correspondence between government data requests and data distribution information.

[0011] Generate a data distribution script based on the data distribution information;

[0012] The data distribution script is used to obtain the government data and push the government data to the data-using department.

[0013] Secondly, the present invention provides a data sharing platform, comprising:

[0014] The government data request acquisition module is used to acquire government data requests sent by data-using departments. The government data request includes the data name and data range of the government data to be applied for, and the data range represents the scope of the administrative region corresponding to the government data.

[0015] The data distribution information determination module is used to determine data distribution information based on the data name, the data range, and pre-stored shared configuration information, wherein the shared configuration information includes the correspondence between government data requests and data distribution information;

[0016] The script generation module is used to generate a data distribution script based on the data distribution information;

[0017] The data sending module is used to obtain the government data using the data distribution script and push the government data to the data-using department.

[0018] Thirdly, the present invention provides an electronic device, the electronic device comprising:

[0019] At least one processor; and

[0020] A memory communicatively connected to the at least one processor; wherein,

[0021] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the data sharing method described in the first aspect of the present invention.

[0022] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the data sharing method described in the first aspect of the present invention.

[0023] This invention provides a data sharing method applied to a data sharing platform, comprising: acquiring a government data request sent by a data-using department, the government data request including the data name and data range of the government data to be requested, the data range being information representing the city / regional area corresponding to the data; determining data distribution information based on the data name, data range, and sharing configuration information, the sharing configuration information being pre-stored in the data sharing platform; generating a data distribution script based on the data distribution information; acquiring the government data using the data distribution script, and pushing the government data to the data-using department. Since the sharing configuration information is pre-configured in the sharing platform, the data distribution information can be automatically matched based on the request for shared government data according to the sharing configuration information, thereby generating a data distribution script. Based on this data distribution script, automatic data distribution is achieved, eliminating or reducing the workload of operators in offline data distribution rule sorting and information verification, saving manual implementation costs and improving data sharing efficiency.

[0024] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This is a flowchart of a data sharing method provided in Embodiment 1 of the present invention;

[0027] Figure 2 This is a flowchart of a data publishing method provided in Embodiment 1 of the present invention;

[0028] Figure 3 This is a schematic diagram of the government data publishing process provided in Embodiment 2 of the present invention;

[0029] Figure 4 This is a flowchart of a data sharing method provided in Embodiment 2 of the present invention;

[0030] Figure 5 This is a schematic diagram of the application and issuance process of government data provided in Embodiment 2 of the present invention;

[0031] Figure 6 This is a flowchart of a data sharing method provided in Embodiment 3 of the present invention;

[0032] Figure 7This is a schematic diagram of the structure of a data sharing device provided in Embodiment 4 of the present invention;

[0033] Figure 8 This is a schematic diagram of the structure of the electronic device provided in Embodiment 5 of the present invention. Detailed Implementation

[0034] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0035] Example 1

[0036] Figure 1 This is a flowchart illustrating a data sharing method provided in Embodiment 1 of the present invention. This embodiment is applicable to various data sharing methods, which can be applied to a data sharing platform. This platform can be implemented in hardware and / or software, for example, as an application (APP). The data sharing platform includes a province-wide unified online sharing platform and a data sharing exchange platform. The online sharing portal provides province-wide unified government data query, display, and application, while the data sharing exchange system provides the ability to push data for data sharing and exchange.

[0037] like Figure 1 As shown, the data sharing method includes:

[0038] S101. Obtain the government data request sent by the data-using department. The government data request includes the data name and data range of the government data to be applied for.

[0039] Government data refers to various data resources that are legally collected, created, stored, and managed by departments at all levels and their technical support units in the course of performing their duties. Specifically, government data is data related to administrative work, which may include education, elderly care, medical and health work, etc.

[0040] The data-using department is the department that applies for data sharing. Specifically, it can be a unit in a prefecture-level city (district / county / city / province). The data-using department generally applies for local municipal or provincial government data. For example, when the government data is "information on primary and secondary schools", the data-using department can be Guangming Primary School on Guangming Road, Futian District, Shenzhen. Guangming Primary School can apply for "information on primary and secondary schools in Shenzhen" or "information on primary and secondary schools in Guangdong Province".

[0041] It should be noted that the data-using department does not only refer to the physical department, but can also be information representing the identity of the data-using department, or it can refer to the staff who make government data request operations based on the data-using department's identity information. For example, it can be an account or device ID (each account or device ID corresponds to a specific data-using department). For example, when a data applicant from a data-using department logs in to the data sharing platform, he will enter his account and password. After successfully logging into the data sharing platform, the data sharing platform obtains his account as an identity identifier, and then determines the data-using department corresponding to the identity identifier.

[0042] Government data is characterized by a high degree of aggregation and frequent flow. In order to facilitate the scheduling of government data, it is usually stored and displayed centrally in a data sharing platform. The data-using departments apply for government data through the data sharing platform, and the data sharing platform can obtain the government data requests sent by the data-using departments.

[0043] A government data request includes the data name and data scope of the requested government data. The data scope refers to the city / prefecture-level city / district where the data is applied for, or it can refer to the administrative region of the department using the data. For example, when the government data is related to education, the data scope defaults to the city or district / county where the requesting department is located. Users can also select whether to apply for data within their own jurisdiction or across the entire province. For example, for "Information on Primary and Secondary Schools in Guangdong Province," a Shenzhen-based requesting department defaults to applying for data within Shenzhen; a Guangzhou-based requesting department defaults to applying for data within Guangzhou; alternatively, they can apply for data covering the entire province.

[0044] S102. Determine the data distribution information based on the data name, data range, and shared configuration information.

[0045] Shared configuration information refers to the configuration information used when distributing government data from the data sharing platform to data-using departments. This information includes the correspondence between government data requests and data distribution information. Shared configuration information is pre-stored in the data sharing platform, meaning that the data distribution information for various government data is pre-configured. Shared configuration information includes the administrative division field (a field used to identify the region to which the data belongs), approval attributes, data distribution strategies, and database / table names, among other things.

[0046] The data distribution information is determined based on the data name, the data scope of the requested government data, and the shared configuration information. In other words, the data distribution information that matches the data name and data scope is searched in the shared configuration information.

[0047] S103. Generate a data distribution script based on the data distribution information.

[0048] The data distribution script can automatically retrieve government data from the database of the data sharing platform. The data distribution script can be implemented using programming languages ​​such as SQL and Python.

[0049] Specifically, multiple information items can be set in the preset data distribution script, with each information item corresponding to different data distribution information. After obtaining the data distribution information, the data distribution information can be substituted into the corresponding information item to obtain the edited data distribution script.

[0050] S104. Use data distribution scripts to obtain government data and push the government data to the data-using departments.

[0051] Since the data distribution script can automatically execute the process of retrieving government data from the database of the data sharing platform, after the script is edited, it can match the government data requested by the data-using department in the database and push the data to the data-using department. Specifically, it can be pushed to the database specified by the data-using department, or it can be pushed to the default database of the client where the data-using department is located.

[0052] This invention provides a data sharing method applied to a data sharing platform, comprising: obtaining a government data request sent by a data-using department, the government data request including the data name and data range of the government data to be requested, the data range representing the data range of the administrative region to which the data-using department belongs; determining data distribution information based on the data name, data range, and sharing configuration information, the sharing configuration information being pre-stored in the data sharing platform; generating a data distribution script based on the data distribution information; obtaining government data using the data distribution script, and pushing the government data to the data-using department. Since the sharing configuration information is pre-configured in the sharing platform, the data distribution information can be automatically matched based on the request for shared government data, thereby generating a data distribution script. Based on this data distribution script, automatic data distribution is achieved, eliminating or reducing the workload of operators in offline data distribution rule sorting and information verification, saving manual implementation costs and improving data sharing efficiency.

[0053] Among these processes, government data is sent to the data sharing platform through the data source departments. To demonstrate the process of publishing government data on the data sharing platform, a detailed explanation of this process is provided below. Figure 2 As shown, before obtaining the government data request sent by the data-using department, or in other words before all the steps in Example 1, the following steps are also included:

[0054] S201. Receive government data release applications submitted by data source departments on the data release interface. The data release application includes the resource attribute information and linkage information of the government data. The resource attribute information includes the data name and data scope.

[0055] The data source department is the department that collects and releases government affairs data. The government affairs data is sent to the data sharing platform through the data source department.

[0056] The resource attribute information is the information that systematically describes the government affairs data to be released. In addition to the data name and data scope, the resource attribute information also includes at least one of the source database, database table, attached fields, associated systems, associated matters, sharing type, sharing description, and data brief introduction.

[0057] The attachment information is the information that attaches the government affairs data to be released to the data sharing platform, including the data item name of the edited attached field and the field attribute information.

[0058] When the data source department enters data on the platform, it can also configure the data update type (full update, incremental update), data update method (flag update, time field update, etc.), regional division field, as well as the basic data information, information item information, data brief introduction, etc.

[0059] Among them, after the data source department sets the regional division field, it associates the regional division field with the database table of the government affairs data. The regional division field is used to distinguish data in different administrative regions (cities / districts and counties). For example, the data source department in Dongguan can set the corresponding content of the regional division field as "Dongguan" for the released database table A, "441900" for the released database table B, and "Yue S" for the released database table C.

[0060] When the data source department catalogs and attaches government affairs data resources on the data sharing platform, it can also select the review attribute of the resource, that is, whether the government affairs data is exempt from review. The data exempt from review is the data that can be shared unconditionally. For example, for data with a relatively low confidentiality level, the government affairs data can be set as data exempt from review, while for data with a relatively high confidentiality level, the government affairs data can be set as non-exempt from review data.

[0061] S202. Set the sharing configuration information of the government affairs data according to the resource attribute information.

[0062] The sharing configuration information includes the data name and data scope.

[0063] After the data source department submits the catalog information, the quality inspection party of the data operator conducts data quality inspection. Specifically, it includes creating quality inspection rules, associating quality inspection rules, executing quality inspection tasks, and sending quality inspection results and quality inspection reports.

[0064] After the quality inspection is completed, it is transferred to the data operator for configuring the sharing configuration information, including setting data aliases, data theme classification, input parameters of the automated service interface, and authority coefficients, etc.

[0065] In addition, the data operator sets up data distribution rules for each administrative division field based on the division fields set by the data source department. These data distribution rules include information about the administrative division field attributes. For example, the data distribution rule for Dongguan City is to distribute data based on "441900" (administrative division code), or to filter and distribute data based on "Dongguan" (administrative region name).

[0066] For data-using departments, when applying for local municipal or provincial government data, the above data distribution rules will be adopted. For example, when a data-using department in Dongguan City applies for Dongguan City government data A, the database table information related to the administrative division field is found based on "441900" and sent to the data-using department.

[0067] In addition, the data distribution strategy for each zone field can be configured. The matching rule can be either direct matching or truncation matching.

[0068] When there are multiple zoning fields, the logical relationship between the zoning fields can also be configured in the distribution strategy, such as "and" or "or".

[0069] When there are multiple zoning fields, the priority of the data distribution rules corresponding to the zoning fields can also be configured in the distribution strategy. A partial example of the distribution strips in the data distribution script is as follows (where data distribution rules are simply referred to as rules):

[0070] 1. Zoning field 1 = 'Rule 1' or zoning field 2 = 'Rule 2';

[0071] 2. Zoning field 2 = 'Rule 2' or zoning field 1 = 'Rule 1'.

[0072] The data distribution scripts for the two differ in their distribution conditions. When the matching degree of zoning field 1 is high, the rules for zoning field 1 are placed first; when the matching degree of zoning field 2 is high, the rules for zoning field 2 are placed first. That is, the order of multiple data distribution rules is determined by the matching degree between the zoning field and the distribution rules, and the order is positively correlated with the matching degree. The "or" sign indicates the logical relationship between the rules.

[0073] When there are multiple zoning fields, the order of the zoning fields in the data distribution script is set according to the field sorting rules, and multiple zoning fields need to be connected according to the logical relationship between them.

[0074] S204. Store and publish government data based on the linked information.

[0075] After receiving the information about publishing data, the data operator of the data sharing platform automatically processes the data aggregation and extraction tasks, collects government data into the provincial / municipal database, automatically creates data indexes based on the fields set in the service interface input parameters, updates the data class status, and completes the data publishing.

[0076] By having data source departments upload government data to the data sharing platform and data-using departments apply for government data from the data sharing platform, a data exchange chain is formed. The data sharing platform handles the data upload and distribution process, which can improve the efficiency of database and table sharing and the stability of shared data, while reducing the workload of manual processing.

[0077] When government data is released, it is necessary to link the government data. Specifically, this refers to the process of using the name of the electronic file in the computer as a pointer to link the electronic file with its source data in the database. The linking of government data is based on the linking information.

[0078] In one example, before storing and publishing government data based on the connection information, the shared configuration information can be sent to the government data bureau at the same level as the data source department for review. Only when the shared configuration information is approved can the data sharing platform automatically publish the government data; otherwise, it needs to be sent back to modify the shared configuration information and reviewed again.

[0079] To illustrate the process of releasing government data, we will now combine... Figure 3 Example illustration:

[0080] S31, Data Source Department User Login;

[0081] S32. The user fills in the resource attribute information and connection information;

[0082] Users fill in the information on the data publishing interface and then click "Submit Publishing Application".

[0083] S33, Data quality inspection and processing.

[0084] S34. Has the quality inspection passed?

[0085] The data operator's quality control team performs data quality control and sends the quality control results and quality control report. If the quality control passes, S35 is executed; if the quality control fails, S32 is returned, and the data release draft status is displayed on the data release interface.

[0086] S35. Configure shared configuration information;

[0087] The data operator configures and shares configuration information, and then notifies the government data bureau for review after configuration is complete.

[0088] S36. Data release review;

[0089] S37. Has the review been approved?

[0090] The Government Data Bureau reviews the applications for government data to be released. If the data is approved, S38 is executed. If the data is not approved, there are two situations: one is that the sharing configuration information is incomplete or incorrect, in which case the data is sent back to the data operator to modify the sharing configuration information, i.e., S35 is returned; the other is that the release of this type of government data is not approved, in which case S39 is executed.

[0091] S38, Automatic platform publishing;

[0092] The data sharing platform automatically publishes the government data and updates its status.

[0093] S39, End.

[0094] Customizable distribution rule configurations are provided by the data source department to meet the distribution rule configuration needs of cities, districts, and counties throughout the province. Combined with database and table data resources, distribution strategies and matching rules can be configured independently. Furthermore, the entire process of data release and data application is intelligently managed, completing data release, data application, and data sharing implementation on a single platform. This fully automated process improves the efficiency and accuracy of data sharing.

[0095] Example 2

[0096] Figure 4 This is a flowchart of a data sharing method provided in Embodiment 2 of the present invention. This embodiment of the present invention is an optimization based on Embodiment 1 described above, such as... Figure 4 As shown, the data sharing method includes:

[0097] S401. When receiving a data application submitted by a data-using department on the data application interface, the information category of government data in the data selection cart of the data application interface shall be determined as the data name.

[0098] S402. Obtain the order information filled in by the data-using department. The order information includes the data range.

[0099] Specifically, users in the data department log in to the data sharing platform, select the information category of the data to be applied for in the data application interface, add it to the data selection cart, and then enter the data selection cart to fill in the order information.

[0100] After logging into the data sharing platform, data-using departments can access the data application interface. First, they must select the major category of the government data, such as education or healthcare. The data application interface includes a data window. After determining the major category, the data window displays government data in different information categories (with different names), such as information on primary and secondary schools in Guangdong Province or information on vocational and technical colleges in Guangdong Province. Data-using departments select the information category on the data application interface and add the government data to be applied for in that category to the data selection cart. After completing the data selection, the data-using department clicks on the data selection cart to be redirected to the order information interface, where they continue to fill in the order information. The order information includes the data range and may also include at least one of the following: the system used, the business scenario, the application area, the urgency level, and the target database.

[0101] S403. Generate a government data request based on the data name and order information.

[0102] S405. Determine whether the government data to be applied for is exempt from review.

[0103] If yes, execute S408; otherwise, execute S406.

[0104] If the government data is exempt from review, it does not need to be reviewed by the data source unit. The government data bureau will automatically file the data and prepare to implement the data order.

[0105] S406. Identify the data source department for government data and generate an audit form, and send the audit form to the data source department.

[0106] If the government data is not exempt from review, it needs to be sent to the data source department for review. The corresponding reviewer in the data source department will then review and process the data, and upload the review results and report. In one example, if the data source department fails to approve the data within 5 working days, the data sharing platform will automatically terminate the government data request process and notify the data-using department.

[0107] Different government data correspond to different data source departments. Therefore, when government data corresponds to multiple data source departments, different audit forms are generated and sent to the data source departments respectively.

[0108] S407. Determine whether the review is approved.

[0109] If the review is approved, execute S409; if the review is not approved, the order is terminated and S408 is executed. At this time, the data source department can also fill in the approval comments in the report.

[0110] S408. End the government data request process and send a message to the data-using department that it does not have permission to share data.

[0111] S409. Determine the data distribution information based on the data name, data range, and shared configuration information.

[0112] The shared configuration information is pre-stored in the data sharing platform.

[0113] When the review is approved or the government data is exempt from review, the order is automatically implemented by the data operator.

[0114] S410. Generate a data distribution script based on the data distribution information.

[0115] S411. Use data distribution scripts to obtain government data and push the government data to the data-using departments.

[0116] S409-S411 are similar to S102-S104 in Embodiment 1, and the specific details can be found in the relevant descriptions of S102-S104 in Embodiment 1. In S411, the data operator pushes the acquired government data to the target database of the data-using department. The target database contains information from the order information filled in by the data-using department when applying for data.

[0117] In one optional example, after receiving government data, the data-using department can acknowledge and evaluate it within a preset first time period, which can be 24 hours. If the data is not acknowledged or evaluated within this period, the data sharing platform will automatically acknowledge or evaluate it. Furthermore, the data sharing platform will also remind the data-using department to report the application results when the data acknowledgment reaches a second time period, which can be 90 days. For example, Wuyang Primary School in Guangzhou applied for Guangzhou's primary and secondary school information and used this information to carry out school renovations and management, and then reported the results of its work after 90 days.

[0118] In addition, since government data is usually constantly updated, for government data that has been successfully applied for, the data sharing platform can continuously push the database tables updated with the government data to the data-using departments. The data-using departments can also apply to terminate the use of the data, and the data sharing platform will stop pushing and modify the order status, such as setting the order status to "terminated".

[0119] To illustrate the application and issuance process for government data in detail, the following is a summary... Figure 5 Example illustration:

[0120] S51, Login for data department users;

[0121] S52. Fill out the data usage application;

[0122] After filling in the form, the user clicks submit.

[0123] S53. Determine whether government data is exempt from review;

[0124] If yes, execute S56; otherwise, execute S54.

[0125] S54. Review data usage applications.

[0126] The specific review is conducted by the auditors in the data source department, who then upload the review results and reports.

[0127] S55. Determine whether the review is approved;

[0128] If yes, execute S56; otherwise, execute S59.

[0129] S56. Automatic filing;

[0130] The government data bureau has completed automated filing and is preparing to implement data-driven orders.

[0131] S57. Implement data-driven orders;

[0132] The data operator implements data usage orders, obtains government data, and pushes the government data to the target database of the data-using department.

[0133] S58, End.

[0134] After successfully receiving government data, the data-using departments can also perform operations such as signing for receipt, evaluation, and reporting of results.

[0135] Building upon Example 1, this example adds an auditing process. The data source department oversees and audits government data originating from its own department, deciding whether to share non-audit-exempt government data with the data-using department to prevent misuse or misdistribution of government data. For example, if a data-using department requests multiple government data items and fills in usage information and business scenarios in the order information, and an auditor finds that the government data belonging to their own department does not match the usage information and business scenarios in the order information, they can reject the data request, fill in approval comments, and provide feedback to the data-using department through the data sharing platform. During the data application and distribution process, multi-party coordination enables data auditing and push, improving the efficiency of data sharing. Simultaneously, automatic data push by the system improves the accuracy of data exchange. Furthermore, through the evaluation and reporting of results by the data-using department, the data source department receives feedback to improve data collection and processing. Simultaneously, the data sharing platform's developers collect relevant information throughout the entire government data distribution process to improve the platform's data sharing methods.

[0136] Example 3

[0137] Figure 6 This is a flowchart of a data sharing method provided in Embodiment 3 of the present invention. This embodiment of the present invention is an optimization based on Embodiment 1 described above, such as... Figure 6 As shown, the data sharing method includes:

[0138] S601. Obtain the government data request sent by the data-using department. The government data request includes the data name and data range of the government data to be applied for.

[0139] The data scope refers to the administrative region corresponding to the government data.

[0140] S601 is similar to S101 in Implementation 1. For details, please refer to the relevant description of S101, which will not be described here.

[0141] S602. In the shared configuration information, determine the database table corresponding to the data name. The database table has a corresponding partition field.

[0142] The shared configuration information is pre-stored in the data sharing platform. The association between data distribution information and government data requests is already set within the shared configuration information.

[0143] Government data is stored in the database of the data sharing platform in the form of a database table structure. Each database table has a corresponding table name and a division field, which is used to distinguish data from different administrative regions. Specifically, the administrative division field can distinguish data from provinces, cities, counties, or districts.

[0144] When storing and managing government data, data source departments usually need to identify the government data in a specific way to facilitate subsequent retrieval of the government data. Therefore, an administrative division field can be set as an identifier for the administrative region to which the government data belongs. Specifically, the administrative division field can be associated with the corresponding government data. Then, when the administrative division field is known, the associated government data can be found based on the administrative division field.

[0145] Database tables include administrative division fields, and may also include non-administrative division fields. For example, the data range includes the city, administrative division code, school name, and school address. The city and administrative division code are administrative division fields, while the school name and school address are non-administrative division fields.

[0146] S603. Find the distribution strategy corresponding to the zoning field.

[0147] The distribution strategy corresponding to the zoning field is pre-configured by the data operator. Therefore, the distribution strategy can be determined based on the zoning field. The distribution strategy includes the matching rules between the data distribution rules and the zoning field, as well as the logical relationship between the data distribution rules.

[0148] Regarding the matching rules between the data distribution rules (hereinafter referred to as "rules") and the zoning field, the matching rules include direct matching, truncation matching, etc.

[0149] For example, there are two data delivery strategies: 0 represents "direct matching" and 1 represents "truncation matching." "Direct configuration" directly associates rules based on the content of the fields and the "matching type." For example:

[0150] Example 1: Direct matching, with the matching type being "=", then: zoning field 1 = 'rule 1'.

[0151] Example 2: Direct matching, with the matching type being "like preceding %", then: Division field 1 like '% rule 1';

[0152] Example 3: Direct matching, with the matching type being "like followed by %", then: Division field 1 like 'rule 1%';

[0153] Example 4: Direct matching, with the matching type being "like before and after %", then: Division field 1 like '% rule 1%';

[0154] Truncation matching involves selecting a portion of the field's content for matching, such as:

[0155] Example 5: Extracting a substring of a match of type "=", extracting the first to fourth characters of the substring field: substring(field1, 1, 4) = 'rule1'

[0156] Example 6: Extract a match of type "like prefix %", extracting the first to fourth characters of the substring field. The syntax is: substring(field1, 1, 4) like '% rule 1'.

[0157] Example 7: Extract a substring match. The match type is "like postfix %". Extract the first to fourth characters of the substring field. The substring is: substring(field1, 1, 4) like 'rule 1%'.

[0158] Example 8: Extract a match with the match type "like before and after %", extracting the first to fourth characters of the substring field. The result would be: substring(field1, 1, 4) like '% rule 1%'.

[0159] S604. Find the data distribution rules corresponding to the data-using departments.

[0160] The data distribution rules for the data-using departments are also pre-configured by the data operator.

[0161] S605. Define the data range, zone field, database table, distribution strategy, and data distribution rules as the data distribution information.

[0162] S606 When there are multiple zoning fields, the matching rules and logical relationships are determined from the distribution strategy.

[0163] S607. Determine the data distribution rules that match the zoning field based on the matching rules.

[0164] The data distribution rules also include information about the zoning field attributes. For each zoning field, the corresponding matching rules and logical relationships are obtained, and then the data distribution rules that match the zoning field are obtained based on the matching rules.

[0165] S608. For each data distribution rule, calculate the matching degree between the data distribution rule and the zoning field.

[0166] S609. Set the priority of multiple data distribution rules according to the matching degree, and the priority is positively correlated with the matching degree.

[0167] For different types of government data, the data source units may set different rules for distribution. For example, some government data is distributed according to the "administrative region name," while others are distributed according to the "administrative division code." Furthermore, there may be some differences in the data entry process. For instance, even when distributing data according to the "administrative region name," the data distribution rules set by the data source units in Guangzhou are as follows: Rule 1: Distribute according to "Guangzhou," and Rule 2: Distribute according to "Guangzhou City." When the division field is "Guangzhou," the matching degree with Rule 1 is higher.

[0168] S610. Edit multiple data distribution rules based on priority and logical relationships.

[0169] Editing multiple data distribution rules based on priority and logical relationships means setting the priority of the zoning fields in multiple data distribution rules. This allows data to be filtered based on the zoning field that appears first in the list. Logical relationships are used to set the logical connections between the zoning fields, such as "and" or "or". It's important to note that while the priority setting prioritizes filtering data based on the zoning field in the first-ranked data distribution rule, subsequent zoning fields will also be used for filtering.

[0170] S611. Generate a data distribution script based on the data range, zone field, database table, distribution strategy, and edited data distribution rules.

[0171] Among them, the data range and division fields can be used to filter government data from the database table, and the distribution strategy and the edited data distribution rules are used to distribute the filtered government data.

[0172] For example, the information on primary and secondary school data resources in Guangdong Province is shown in the table below;

[0173]

[0174] If Guangzhou requests information on primary and secondary schools in Guangdong Province, and the data scope is the entire province, then data scope filtering is not required. First, determine the database table corresponding to this government data, find the administrative division field corresponding to the information on primary and secondary schools in Guangdong Province, and based on the distribution strategy configuration information of the administrative division field, find the distribution rules corresponding to the data-using departments in Guangzhou, and assemble them into a distribution SQL script:

[0175] Select ssds,xzqhdm,xxmc,xxdz from t_school where ssds='Guangzhou'orsubstring(xzqhdm,1,6)='440100'.

[0176] S612. Use data distribution scripts to determine government data and push the government data to the data-using departments.

[0177] In this embodiment, based on the configured distribution rules, the platform automatically completes the splicing of data distribution scripts according to the data-using departments, and connects with the data exchange platform to provide data distribution scripts to complete data exchange and push, achieving full automation of the process.

[0178] Example 4

[0179] Figure 7 This is a schematic diagram of a data sharing device provided in Embodiment 4 of the present invention. Figure 7 As shown, the data sharing device includes:

[0180] The government data request acquisition module 701 is used to acquire government data requests sent by data-using departments. The government data request includes the data name and data range of the government data to be applied for, and the data range represents the scope of the administrative region corresponding to the government data.

[0181] The data distribution information determination module 702 is used to determine data distribution information based on the data name, the data range, and pre-stored shared configuration information, wherein the shared configuration information includes the correspondence between government data requests and data distribution information;

[0182] Script generation module 703 is used to generate a data distribution script based on the data distribution information;

[0183] The data sending module 704 is used to obtain the government data using the data distribution script and push the government data to the data-using department.

[0184] In an optional embodiment of the present invention, the government data request and acquisition module 701 includes:

[0185] The data name determination submodule is used to determine the information category of government data in the data selection cart of the data application interface as the data name when it receives a data application submitted by the data-using department on the data application interface.

[0186] The order information acquisition submodule is used to acquire the order information filled in by the data-using department, and the order information includes a data range;

[0187] The government data request generation submodule is used to generate government data requests based on the data name and the order information.

[0188] In an optional embodiment of the present invention, the data sharing device further includes:

[0189] Determine whether the government data to be applied for is exempt from review; if so, execute the content executed by the data distribution information determination module 702; otherwise, execute the content executed by the review submodule.

[0190] The review submodule is used to determine the data source department of the government data and generate a review form, and send the review form to the data source department; when the review is approved, the content executed by the data distribution information determination module 702 is executed; when the review is not approved, the content executed by the end request process submodule is executed.

[0191] The End Request Process submodule is used to end the government data request process when the review fails and send a message indicating that the data user does not have permission to share the data to the data-using department.

[0192] In an optional embodiment of the present invention, the data delivery information determination module 702 includes:

[0193] The database table determination submodule is used to determine the database table corresponding to the data name in the shared configuration information. The database table is set with a division field, which is used to distinguish data from different administrative regions.

[0194] The distribution strategy lookup submodule is used to find the distribution strategy corresponding to the zoning field. The distribution strategy is a strategy that looks up the database table based on the data distribution rules.

[0195] The data distribution rule lookup submodule is used to look up the data distribution rules corresponding to the data-using department.

[0196] The data delivery information determination submodule is used to determine the data range, the zoning field, the database table, the delivery strategy, and the data delivery rule as data delivery information.

[0197] In an optional embodiment of the present invention, the data distribution strategy includes the matching rules between the data distribution rules and the zoning field, as well as the logical relationship between the data distribution rules.

[0198] When the number of the zoning fields is multiple, the data sharing device further includes:

[0199] The strategy content determination submodule is used to determine the matching rules and logical relationships from the strategy.

[0200] The parameter matching submodule is used to determine the data distribution rule that matches the zoning field according to the matching rule;

[0201] The matching degree calculation submodule is used to calculate the matching degree between the data distribution rule and the zoning field for each data distribution rule;

[0202] The priority setting submodule is used to set the priority of multiple data distribution rules according to the matching degree, wherein the priority is positively correlated with the matching degree.

[0203] In an optional embodiment of the present invention, the script generation module 703 includes:

[0204] The data distribution rule editing submodule is used to edit multiple data distribution rules according to the priority and the logical relationship;

[0205] The script generation submodule is used to generate a data distribution script based on the data range, the zoning field, the database table, the distribution strategy, and the edited data distribution rules.

[0206] In an optional embodiment of the present invention, the data sharing device further includes:

[0207] The data release application receiving module is used to receive data release applications submitted by data source departments on the data release interface. The data release application includes the resource attribute information and linkage information of the government data. The resource attribute information includes the data name and data range.

[0208] The shared configuration information setting module is used to set the shared configuration information of the government data according to the resource attribute information.

[0209] The government data publishing module is used to store and publish the government data based on the linked information.

[0210] The data sharing device provided in the embodiments of the present invention can execute the data sharing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.

[0211] Example 5

[0212] Figure 8 A schematic diagram of an electronic device 40 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0213] like Figure 8 As shown, the electronic device 40 includes at least one processor 41 and a memory, such as a read-only memory (ROM) 42 or a random access memory (RAM) 43, communicatively connected to the at least one processor 41. The memory stores computer programs executable by the at least one processor. The processor 41 can perform various appropriate actions and processes based on the computer program stored in the ROM 42 or loaded into the RAM 43 from storage unit 48. The RAM 43 may also store various programs and data required for the operation of the electronic device 40. The processor 41, ROM 42, and RAM 43 are interconnected via a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.

[0214] Multiple components in electronic device 40 are connected to I / O interface 45, including: input unit 46, such as keyboard, mouse, etc.; output unit 47, such as various types of monitors, speakers, etc.; storage unit 48, such as disk, optical disk, etc.; and communication unit 49, such as network card, modem, wireless transceiver, etc. Communication unit 49 allows electronic device 40 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0215] Processor 41 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 41 performs the various methods and processes described above, such as data sharing methods.

[0216] In some embodiments, the data sharing method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 40 via ROM 42 and / or communication unit 49. When the computer program is loaded into RAM 43 and executed by processor 41, one or more steps of the data sharing method described above may be performed. Alternatively, in other embodiments, processor 41 may be configured to perform the data sharing method by any other suitable means (e.g., by means of firmware).

[0217] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0218] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0219] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0220] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0221] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0222] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0223] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and no limitation is imposed herein.

[0224] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A data sharing method, characterized in that, Applications in data sharing platforms include: The system retrieves government data requests sent by data-using departments. These requests include the data name and data scope of the government data to be requested, whereby the data scope represents the administrative region corresponding to the government data. The data distribution information is determined based on the data name, the data range, and the pre-stored shared configuration information, wherein the shared configuration information includes the correspondence between government data requests and data distribution information. Generate a data distribution script based on the data distribution information; The data distribution script is used to obtain the government data and push the government data to the data-using departments. The step of determining the data distribution information based on the data name, the data range, and the shared configuration information includes: In the shared configuration information, a database table corresponding to the data name is determined. The database table is set with a division field, which is used to distinguish data from different administrative regions. Find the distribution strategy corresponding to the zoning field, wherein the distribution strategy is a strategy for finding the database table based on the data distribution rules; Find the data distribution rules corresponding to the data-using departments; The data range, the zoning field, the database table, the distribution strategy, and the data distribution rules are determined as the data distribution information; The data distribution strategy includes the matching rules between the data distribution rules and the zoning field, as well as the logical relationship between the data distribution rules. When there are multiple zoning fields, before generating the data distribution script based on the data distribution information, the method further includes: The matching rules and logical relationships are determined from the aforementioned distribution strategy; The data distribution rule that matches the zoning field is determined according to the matching rule; For each of the data distribution rules, calculate the matching degree between the data distribution rule and the zoning field; The priority of multiple data delivery rules is set according to the matching degree, and the priority is positively correlated with the matching degree.

2. The method as described in claim 1, characterized in that, The request for government data sent by the data-using department includes: When a data application is received from a data-using department on the data application interface, the information category of the government data in the data selection cart of the data application interface is determined as the data name; Obtain the order information filled in by the data-using department, wherein the order information includes a data range; A government data request is generated based on the data name and the order information.

3. The method as described in claim 1, characterized in that, Before determining the data distribution information based on the data name, the data range, and the shared configuration information, the process also includes: Determine whether the government data to be applied for is exempt from review; If so, proceed with the step of determining the data delivery information based on the data name, the data range, and the shared configuration information; If not, determine the data source department of the government data and generate an audit form, and send the audit form to the data source department; When the review is approved, the step of determining the data distribution information based on the data name, the data range, and the shared configuration information is executed. If the review fails, the government data request process ends, and a message indicating that the data user has no permission to share data is sent to the data-using department.

4. The method as described in claim 1, characterized in that, The step of generating a data distribution script based on the data distribution information includes: Edit multiple data distribution rules according to the priority and the logical relationship; A data distribution script is generated based on the data range, the zoning field, the database table, the distribution strategy, and the edited data distribution rules.

5. The method according to any one of claims 1-4, characterized in that, Before obtaining government data requests from data-using departments, the process also includes: The system receives data release applications submitted by data source departments on the data release interface. The data release applications include the resource attribute information and linkage information of the government data. The resource attribute information includes the data name and data range. Set the sharing configuration information of the government data according to the resource attribute information; The government data is stored and published based on the connection information.

6. A data sharing platform, characterized in that, include: The government data request acquisition module is used to acquire government data requests sent by data-using departments. The government data request includes the data name and data range of the government data to be applied for, and the data range represents the scope of the administrative region corresponding to the government data. The data distribution information determination module is used to determine data distribution information based on the data name, the data range, and pre-stored shared configuration information, wherein the shared configuration information includes the correspondence between government data requests and data distribution information; The script generation module is used to generate a data distribution script based on the data distribution information; The data sending module is used to obtain the government data using the data distribution script and push the government data to the data-using department. The data sharing platform is used to execute the data sharing method as described in any one of claims 1-5.

7. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor to enable the at least one processor to perform the data sharing method according to any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the data sharing method of any one of claims 1-5.

Citation Information

Patent Citations

  • Data sharing method and device and computer readable storage medium

    CN114064630A