Data uplink method and system based on government affair data sharing platform
By uploading the data of the government data sharing platform to the blockchain, the problems of untimely synchronization of data catalog and resource updates and data tampering are solved, the credibility, efficiency and authority of data sharing are achieved, and cross-border cooperation and decision-making support are promoted.
Patent Information
- Application Number
- CN202510648290.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-20
- Publication Date
- 2025-09-12
AI Technical Summary
The data directory and data resources in the government data sharing platform are not updated in a timely manner, resulting in poor data consistency, and there are problems of data tampering and unreliable audit process.
By uploading the data directory, data resources, application records and call records of the government data sharing platform to the blockchain, the data can be made tamper-proof and traceable, and blockchain technology can be used to improve the efficiency and credibility of data sharing.
It achieves trustworthy, authoritative and efficient data sharing, reduces duplicate entry and redundant data, promotes cross-border cooperation, provides more accurate and timely decision-making support, and solves the problems of insufficient support capabilities for complex sharing scenarios and difficulty in data sharing traceability in the data sharing model.
Smart Images

Figure CN120634449A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and specifically to a data chain-up method and system based on a government data sharing platform. Background Art
[0002] Currently, government information resource directory data and resource data are centrally stored and managed on government data sharing platforms. Backup storage is maintained consistent with the central server through regular synchronization. This approach limits the efficiency, timeliness, and convenience of managing and using data directories and data resources. Updates to data directories and data resources cannot be synchronized across multiple nodes in a timely manner, resulting in poor consistency between the data directory and data resources and the inability to effectively trace changes to the data directory and data resources.
[0003] The review and approval of resource data applications requires a certain period of time. The efficiency from application submission to data acquisition is relatively low on the business side, requiring the use of relevant business mechanisms and technical means to improve sharing efficiency. The government data sharing platform uses centralized storage and management for the entire application and review process. From a technical perspective, there is the possibility of data tampering and the possibility of resource providers denying the review process.
[0004] Service interface resources are characterized by real-time data acquisition, which undergoes multiple gateway forwarding and processing steps. Currently, service interface users are unable to provide valid evidence in the future to prove that the data at the moment of invocation originated from the provider, and there is also the technical possibility that the gateway could modify the data before returning it to the user. When the data provided by the service interface is used for business operations, current data is crucial as a basis for handling transactions and as evidence in potential legal disputes. The data provided by the service interface must be able to record the source, forwarder, and user at the current moment, and must be confirmed by multiple parties at the current moment. It must also be tamper-proof, serving as irrefutable evidence for all parties. Summary of the Invention
[0005] The purpose of the present invention is to provide a data chain method and system based on a government data sharing platform to solve the problems raised in the above background technology.
[0006] To achieve the above-mentioned purpose, the present invention provides the following technical solution: a data chain-up method based on a government data sharing platform, comprising the steps of:
[0007] Regularly detect changes in the data catalog tables of the government data sharing platform;
[0008] For historical data directories, query the basic directory information that meets the conditions, encapsulate the basic directory information, and push it to the blockchain in a unified manner;
[0009] For newly added data directories, after the platform reviews and publishes them, the basic information of the newly added data directories will be automatically pushed to the blockchain to achieve on-chain storage of the data directories;
[0010] Among them, the data directory on-chain fields include the directory unique ID, directory name, directory code, directory provider organization code, directory provider organization name, directory provider administrative division code, directory provider administrative division name, sharing type, open type, application system code, and application system name; after the data directory is on-chain, the sharing platform saves the blockchain code and provides on-chain data directory query and verification services based on the blockchain code.
[0011] Preferably, the steps of uploading data resources to the chain include:
[0012] Regularly detect data changes in the data resource table of the government data sharing platform;
[0013] For historical data resources, query the basic information of resources that meet the conditions, encapsulate the basic information of resources, and push it to the blockchain in a unified manner;
[0014] For newly added data resources, after the platform reviews and releases them, the basic information of the newly added data resources will be automatically pushed to the blockchain to achieve on-chain storage of data resources;
[0015] Among them, the data resource on-chain fields include resource unique ID, resource name, resource code, directory unique ID, directory name, resource provider organization code, resource provider organization name, resource provider administrative division code, resource provider administrative division name, sharing type, open type, application system code, and application system name; after the data resources are on-chain, the sharing platform saves the blockchain code and provides on-chain data resource query and verification services based on the blockchain code.
[0016] Preferably, the steps for applying for record upload include:
[0017] Regularly detect data changes in the application record table of the government data sharing platform;
[0018] For historical application records, query the application record information that meets the conditions, encapsulate the application record information, and push it to the blockchain in a unified manner;
[0019] For newly added application records, after the user submits the application, the basic information of the newly added application record will be automatically pushed to the blockchain to realize the on-chain storage of the application record;
[0020] Among them, the application on-chain fields include application record ID, data resource code, data resource name, data resource department code, data resource department name, resource application department code, resource application department name, application system code, application system name, application time, and review status; after the application record is on-chain, the sharing platform saves the blockchain code and provides on-chain application record query and verification services based on the blockchain code.
[0021] Preferably, the process includes the steps of uploading the call record to the chain. For common data resources, the steps of uploading the call record to the chain are as follows:
[0022] When the business system calls the service interface to obtain data, it records the call address, parameters, and returned data, and generates logs. It regularly packages the logs and generates summaries for local storage, and writes the file name and summary information to the blockchain node.
[0023] When the business system calls the service interface to obtain data, the service proxy's service gateway records the source of the received request, parameters, and forwarded call address, and generates a log for the returned data; it regularly packages the log and generates a summary for local storage, and writes the file name and summary information to the blockchain node;
[0024] When the business system calls the service interface to obtain data, the original interface service system records the source of the received request, parameters, and returned data to generate logs; regularly packages the logs and generates summaries for local storage, and writes the file name and summary information into the blockchain node.
[0025] Preferably, the process includes the following steps: reading the log file name and summary information from the blockchain node; obtaining the log file according to the file acquisition address provided by the log generating department; performing summary comparison on the obtained log file to confirm the authenticity of the log file; and performing the viewing and calling process after parsing the content of the log file whose authenticity has been confirmed.
[0026] A system for uploading data to a blockchain based on a government data sharing platform, comprising a data directory uploading module, wherein the data directory uploading module comprises:
[0027] A data change detection unit is used to periodically detect changes in the data directory table of the government data sharing platform;
[0028] A historical data directory processing unit is used to query directory basic information that meets the conditions and encapsulate the directory basic information when a change in the data directory table is detected;
[0029] A new data directory processing unit is used to automatically obtain basic information of the new data directory after the platform reviews and publishes the new data directory;
[0030] The data chain unit is used to push the packaged historical data directory basic information or the automatically acquired new data directory basic information to the blockchain to realize the on-chain storage of the data directory;
[0031] The data directory on-chain fields include directory unique ID, directory name, directory code, directory provider organization code, directory provider organization name, directory provider administrative division code, directory provider administrative division name, sharing type, open type, application system code, and application system name;
[0032] The system also includes a blockchain code storage and query verification unit, which is used to save the blockchain code after the data directory is uploaded to the chain, and provide on-chain data directory query and verification services based on the blockchain code.
[0033] Preferably, a data resource chain module is included, and the data resource chain module includes:
[0034] A data change detection unit is used to periodically detect data changes in the data resource table of the government data sharing platform;
[0035] The historical data resource processing unit is used to query the resource basic information that meets the conditions when detecting the data change in the data resource table, and encapsulate the resource basic information;
[0036] A new data resource processing unit is used to automatically obtain basic information of the new data resource after the platform reviews and releases the new data resource;
[0037] The data on-chain unit is used to push the packaged historical data resource basic information or the automatically acquired new data resource basic information to the blockchain to realize the on-chain storage of data resources;
[0038] The fields for data resources on the chain include resource unique ID, resource name, resource code, directory unique ID, directory name, resource provider organization code, resource provider organization name, resource provider administrative division code, resource provider administrative division name, sharing type, open type, application system code, and application system name;
[0039] The system also includes a blockchain code storage and query verification unit, which is used to save the blockchain code after the data resources are on the chain, and provide on-chain data resource query and verification services based on the blockchain code.
[0040] Preferably, an application record chain module is included, and the application record chain module includes:
[0041] Data change detection unit, used to regularly detect data changes in the application record table of the government data sharing platform;
[0042] A historical application record processing unit, configured to query application record information that meets the conditions and encapsulate the application record information when a change in the application record table data is detected;
[0043] A new application record processing unit, configured to automatically obtain basic information of a new application record after the user submits the new application record;
[0044] The data on-chain unit is used to push the packaged historical application record information or the automatically acquired basic information of the new application record to the blockchain, realizing the on-chain storage of the application record;
[0045] Among them, the application chain fields include application record ID, data resource code, data resource name, data resource department code, data resource department name, resource application department code, resource application department name, application system code, application system name, application time, and review status;
[0046] The system also includes a blockchain code storage and query verification unit, which is used to save the blockchain code after the application record is uploaded to the chain, and provide on-chain application record query and verification services based on the blockchain code.
[0047] Preferably, a call record chain module is included. For common data resources, the call record chain module includes:
[0048] The business system log recording unit is used to record the call address, parameters, and returned data when the business system calls the service interface and generate a log;
[0049] A business system log processing unit, configured to regularly package the logs generated by the business system log recording unit and generate summaries for local storage, and write the file names and summary information into the blockchain node;
[0050] The service gateway log recording unit is used to record the source of the request, parameters and forwarded call address received at the service gateway of the service agent, and generate logs for the returned data;
[0051] The service gateway log processing unit is used to regularly package the logs generated by the service gateway log recording unit and generate summaries for local storage, and write the file name and summary information into the blockchain node;
[0052] The original interface service system log recording unit is used to record the source of the request, parameters and returned data received in the original interface service system to generate a log;
[0053] The original interface service system log processing unit is used to regularly package the logs generated by the original interface service system log recording unit and generate summaries for local storage, and write the file name and summary information into the blockchain node.
[0054] Preferably, a call record chain viewing module is included, and the call record chain viewing module includes:
[0055] On-chain information reading unit, used to read log file names and summary information from blockchain nodes;
[0056] A log file acquisition unit, configured to acquire a log file according to a file acquisition address provided by a log generating department;
[0057] A summary comparison unit is used to compare the summary of the obtained log file to confirm the authenticity of the log file;
[0058] The calling process viewing unit is used to view the calling process after parsing the authenticity-confirmed log file content.
[0059] Compared with the prior art, the present invention has the following beneficial effects:
[0060] The data chain-up method and system based on the government data sharing platform proposed in the present invention, by combining blockchain with the government data sharing platform, realizes the data directory, data resources, application records, and call records of the government data sharing platform on the chain, thereby realizing the credibility, authority, and efficiency of data sharing; by using blockchain technology to improve the efficiency and credibility of data sharing, reduce repeated entry and redundant data, provide more accurate and timely decision-making support for government departments, and promote cross-border cooperation and application of government data; complete data ownership confirmation through blockchain technology, strengthen the credibility of the data sharing environment, and solve the pain points and difficulties existing in the current data sharing model, such as insufficient support capabilities for complex sharing scenarios, difficult data sharing tracing, and unreliable data sharing environment, to achieve "blockchain + data sharing" with a trusted sharing environment, non-tamperable evidence storage, and non-repudiation tracing. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 This is a system architecture diagram of the present invention;
[0062] Figure 2 Flow chart of the method of the present invention. DETAILED DESCRIPTION
[0063] In order to clearly and completely describe the objectives and technical solutions of the present invention and make the advantages more clearly understood, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are part of the embodiments of the present invention, not all of them, and are only used to explain the embodiments of the present invention, not to limit the embodiments of the present invention. All other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0064] For example 1, please refer to Figures 1 to 2 The present invention provides a technical solution: a data chain-up method based on a government data sharing platform, comprising the following steps:
[0065] There are four major parts: data directory on-chain, data resource on-chain, application record on-chain, and call record on-chain. The following is an introduction to each part.
[0066] Data directory on-chain
[0067] Regularly monitor changes to the data catalog tables on the government data sharing platform. For historical data catalogs, query eligible catalog basic information, package this information, and push it to the blockchain. For newly added data catalogs, after review and release by the platform, they are automatically pushed to the blockchain, enabling on-chain storage of the data catalog.
[0068] The data directory chain fields are as follows:
[0069]
[0070]
[0071] After the data directory is uploaded to the chain, the sharing platform will save the blockchain code and provide on-chain data directory query and verification services based on the blockchain code.
[0072] Data resources on-chain
[0073] Regularly monitor changes in data resource tables on the government data sharing platform. For historical data resources, query the basic information of qualified resources, package this information, and push it to the blockchain. For newly added data resources, after the platform reviews and releases them, automatically push the basic information to the blockchain, enabling on-chain storage of data resources.
[0074] The fields of data resources on the chain are as follows:
[0075]
[0076]
[0077] After the data resources are uploaded to the chain, the sharing platform will save the blockchain code and provide on-chain data resource query and verification services based on the blockchain code.
[0078] Application record on-chain
[0079] Regularly monitor changes to the application record table on the government data sharing platform. For historical application records, query eligible application records, package the information, and push it to the blockchain. For new application records, once the user submits, the basic application record information is automatically pushed to the blockchain, enabling on-chain storage of application records.
[0080] The fields for applying for on-chain are as follows:
[0081] Application Record Fields (English) Application Record Fields (Chinese) Remark apply_id Application Record ID resource_id Data resource encoding resource_name Data resource name organ_code Department code of the data resource organ_name Name of the department to which the data resource belongs apply_organ_code Resource application department code apply_organ_name Name of resource application department system_id Application system coding system_name Application system name apply_time Application Period apply_status Review Status
[0082] After the application record is uploaded to the chain, the sharing platform will save the blockchain code and provide on-chain application record query and verification services based on the blockchain code.
[0083] Call record on chain
[0084] The process for a business system to call a service interface to obtain data is as follows: the business system calls a service proxy (government data sharing platform), which forwards the request to the original interface service system to complete the call. For ordinary data resources, due to the extremely large number of calls, the processing solution is to store the full log of the current processing node locally, calculate the summary, and upload the log file name and summary information to the chain. When the log content is needed, the log file name and summary are read from the chain, and after obtaining the log file off-chain, a comparison is performed to ensure the authenticity of the obtained log.
[0085] The process of on-chain is as follows:
[0086] The business system calls the service interface, records the call address, parameters, returned data, etc., and generates logs. The logs are regularly packaged and summaries are generated and stored locally, and information such as the file name and summary is written to the blockchain node.
[0087] The service proxy's service gateway records the source of the received request, parameters, forwarded call address, returned data, and other information in a log. The log is regularly packaged and a summary is generated and stored locally, and information such as the file name and summary is written to the blockchain node.
[0088] The original interface service system records the source of the received request, parameters, and returned data, generates logs, regularly packages the logs and generates summaries for local storage, and writes information such as the file name and summary to the blockchain node.
[0089] The process of viewing on-chain call records is as follows:
[0090] The log file name, summary and other information are read from the blockchain node. The file acquisition address is provided by the log generating department. After obtaining the file, the summary is compared to confirm the authenticity of the log file. The call process is checked after parsing the log file content.
[0091] Example 2, based on Example 1, proposes a system for a data chain method based on a government data sharing platform, which is characterized by: including a data directory chain module, the data directory chain module including: a data change detection unit, used to regularly detect data changes in the data directory table of the government data sharing platform; a historical data directory processing unit, used to query the directory basic information that meets the conditions when detecting data changes in the data directory table, and encapsulate the directory basic information; a new data directory processing unit, used to automatically obtain the basic information of the new data directory after the platform reviews and publishes the new data directory; the data chain unit, used to The encapsulated historical data directory basic information or the automatically acquired new data directory basic information is uniformly pushed to the blockchain to realize on-chain storage of the data directory; wherein, the on-chain fields of the data directory include the directory unique ID, directory name, directory code, directory provider organization code, directory provider organization name, directory provider administrative division code, directory provider administrative division name, sharing type, open type, application system code, and application system name; the system also includes a blockchain code storage and query verification unit, which is used to save the blockchain code after the data directory is on-chain, and provide on-chain data directory query and verification services based on the blockchain code.
[0092] It includes a data resource chain module, which includes: a data change detection unit, which is used to regularly detect data changes in the data resource table of the government data sharing platform; a historical data resource processing unit, which is used to query the basic information of resources that meet the conditions and encapsulate the basic information of resources when detecting data changes in the data resource table; a new data resource processing unit, which is used to automatically obtain the basic information of the new data resources after the platform reviews and releases the new data resources; a data chain unit, which is used to uniformly push the encapsulated historical data resource basic information or the automatically obtained new data resource basic information to the blockchain to realize the storage of data resources on the chain; wherein, the data resource chain fields include resource unique ID, resource name, resource code, directory unique ID, directory name, resource provider organization code, resource provider organization name, resource provider administrative division code, resource provider administrative division name, sharing type, open type, application system code, and application system name; the system also includes a blockchain code storage and query verification unit, which is used to save the blockchain code after the data resources are chained, and provide chain data resource query and verification services based on the blockchain code.
[0093] It includes an application record chain module, which includes: a data change detection unit for regularly detecting data changes in the application record table of the government data sharing platform; a historical application record processing unit for querying qualified application record information when detecting data changes in the application record table, and encapsulating the application record information; a new application record processing unit for automatically obtaining the basic information of the new application record after the user submits the new application record; a data chain unit for uniformly pushing the encapsulated historical application record information or the automatically obtained new application record basic information to the blockchain to realize the storage of application records on the chain; wherein, the application chain fields include application record ID, data resource code, data resource name, data resource department code, data resource department name, resource application department code, resource application department name, application system code, application system name, application time, and review status; the system also includes a blockchain code storage and query verification unit for saving the blockchain code after the application record is chained, and providing on-chain application record query and verification services based on the blockchain code.
[0094] It includes a call record chain module. For ordinary data resources, the call record chain module includes: a business system log recording unit, which is used to record the call address, parameters, and returned data when the business system calls the service interface, and generate a log; a business system log processing unit, which is used to regularly package the log generated by the business system log recording unit and generate a summary for storage locally, and write the file name and summary information to the blockchain node; a service gateway log recording unit, which is used to record the received request source, parameters and forwarded call address, and the returned data at the service gateway of the service agent to generate a log; a service gateway log processing unit, which is used to regularly package the log generated by the service gateway log recording unit and generate a summary for storage locally, and write the file name and summary information to the blockchain node; an original interface service system log recording unit, which is used to record the received request source, parameters and returned data at the original interface service system to generate a log; an original interface service system log processing unit, which is used to regularly package the log generated by the original interface service system log recording unit and generate a summary for storage locally, and write the file name and summary information to the blockchain node.
[0095] It includes a call record chain viewing module, which includes: an on-chain information reading unit, used to read the log file name and summary information from the blockchain node; a log file acquisition unit, used to obtain the log file according to the file acquisition address provided by the log generation department; a summary comparison unit, used to perform summary comparison on the obtained log file to confirm the authenticity of the log file; a call process viewing unit, used to parse the content of the log file whose authenticity is confirmed and then view the call process.
[0096] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.
Claims
1. A data blockchain method based on a government data sharing platform, characterized by: Including the steps of uploading the data directory: Regularly detect changes in the data catalog tables of the government data sharing platform; For historical data directories, query the basic directory information that meets the conditions, encapsulate the basic directory information, and push it to the blockchain in a unified manner; For newly added data directories, after the platform reviews and publishes them, the basic information of the newly added data directories will be automatically pushed to the blockchain to achieve on-chain storage of the data directories; Among them, the data directory on-chain fields include the directory unique ID, directory name, directory code, directory provider organization code, directory provider organization name, directory provider administrative division code, directory provider administrative division name, sharing type, open type, application system code, and application system name; after the data directory is on-chain, the sharing platform saves the blockchain code and provides on-chain data directory query and verification services based on the blockchain code.
2. A data uploading method based on a government data sharing platform according to claim 1, characterized in that: Including the steps of uploading data resources to the chain: Regularly detect data changes in the data resource table of the government data sharing platform; For historical data resources, query the basic information of resources that meet the conditions, encapsulate the basic information of resources, and push it to the blockchain in a unified manner; For newly added data resources, after the platform reviews and releases them, the basic information of the newly added data resources will be automatically pushed to the blockchain to achieve on-chain storage of data resources; Among them, the data resource on-chain fields include resource unique ID, resource name, resource code, directory unique ID, directory name, resource provider organization code, resource provider organization name, resource provider administrative division code, resource provider administrative division name, sharing type, open type, application system code, and application system name; after the data resources are on-chain, the sharing platform saves the blockchain code and provides on-chain data resource query and verification services based on the blockchain code.
3. A data uploading method based on a government data sharing platform according to claim 2, characterized in that: Including the steps to apply for record chain: Regularly detect data changes in the application record table of the government data sharing platform; For historical application records, query the application record information that meets the conditions, encapsulate the application record information, and push it to the blockchain in a unified manner; For newly added application records, after the user submits the application, the basic information of the newly added application record will be automatically pushed to the blockchain to realize the on-chain storage of the application record; Among them, the application on-chain fields include application record ID, data resource code, data resource name, data resource department code, data resource department name, resource application department code, resource application department name, application system code, application system name, application time, and review status; after the application record is on-chain, the sharing platform saves the blockchain code and provides on-chain application record query and verification services based on the blockchain code.
4. A data uploading method based on a government data sharing platform according to claim 3, characterized in that: Including the steps of calling and recording on the chain. For common data resources, the steps of calling and recording on the chain are as follows: When the business system calls the service interface to obtain data, it records the call address, parameters, and returned data, and generates logs. It regularly packages the logs and generates summaries for local storage, and writes the file name and summary information to the blockchain node. When the business system calls the service interface to obtain data, the service proxy's service gateway records the source of the received request, parameters, and forwarded call address, and generates a log for the returned data; it regularly packages the log and generates a summary for local storage, and writes the file name and summary information to the blockchain node; When the business system calls the service interface to obtain data, the original interface service system records the source of the received request, parameters, and returned data to generate logs; regularly packages the logs and generates summaries for local storage, and writes the file name and summary information into the blockchain node.
5. A data uploading method based on a government data sharing platform according to claim 4, characterized in that: The process includes the following steps: reading the log file name and summary information from the blockchain node; obtaining the log file according to the file acquisition address provided by the log generation department; performing a summary comparison on the obtained log file to confirm the authenticity of the log file; and parsing the content of the confirmed log file to conduct the viewing call process.
6. A system for uploading data to a blockchain based on a government data sharing platform according to claim 5, characterized in that: The data directory chain module includes: A data change detection unit is used to periodically detect changes in the data directory table of the government data sharing platform; A historical data directory processing unit is used to query directory basic information that meets the conditions and encapsulate the directory basic information when a change in the data directory table is detected; A new data directory processing unit is used to automatically obtain basic information of the new data directory after the platform reviews and publishes the new data directory; The data chain unit is used to push the packaged historical data directory basic information or the automatically acquired new data directory basic information to the blockchain to realize the on-chain storage of the data directory; The data directory on-chain fields include directory unique ID, directory name, directory code, directory provider organization code, directory provider organization name, directory provider administrative division code, directory provider administrative division name, sharing type, open type, application system code, and application system name; The system also includes a blockchain code storage and query verification unit, which is used to save the blockchain code after the data directory is uploaded to the chain, and provide on-chain data directory query and verification services based on the blockchain code.
7. A system according to claim 6, characterized in that: The data resource chain module includes: A data change detection unit is used to periodically detect data changes in the data resource table of the government data sharing platform; The historical data resource processing unit is used to query the resource basic information that meets the conditions when detecting the data change in the data resource table, and encapsulate the resource basic information; A new data resource processing unit is used to automatically obtain basic information of the new data resource after the platform reviews and releases the new data resource; The data on-chain unit is used to push the packaged historical data resource basic information or the automatically acquired new data resource basic information to the blockchain to realize the on-chain storage of data resources; The fields for data resources on the chain include resource unique ID, resource name, resource code, directory unique ID, directory name, resource provider organization code, resource provider organization name, resource provider administrative division code, resource provider administrative division name, sharing type, open type, application system code, and application system name; The system also includes a blockchain code storage and query verification unit, which is used to save the blockchain code after the data resources are on the chain, and provide on-chain data resource query and verification services based on the blockchain code.
8. A system according to claim 7, characterized in that: The application record chain module includes: Data change detection unit, used to regularly detect data changes in the application record table of the government data sharing platform; A historical application record processing unit, configured to query application record information that meets the conditions and encapsulate the application record information when a change in the application record table data is detected; A new application record processing unit, configured to automatically obtain basic information of a new application record after the user submits the new application record; The data on-chain unit is used to push the packaged historical application record information or the automatically acquired basic information of the new application record to the blockchain, realizing the on-chain storage of the application record; Among them, the application chain fields include application record ID, data resource code, data resource name, data resource department code, data resource department name, resource application department code, resource application department name, application system code, application system name, application time, and review status; The system also includes a blockchain code storage and query verification unit, which is used to save the blockchain code after the application record is uploaded to the chain, and provide on-chain application record query and verification services based on the blockchain code.
9. A system according to claim 8, characterized in that: Including the call record chain module. For common data resources, the call record chain module includes: The business system log recording unit is used to record the call address, parameters, and returned data when the business system calls the service interface and generate a log; A business system log processing unit, configured to regularly package the logs generated by the business system log recording unit and generate summaries for local storage, and write the file names and summary information into the blockchain node; The service gateway log recording unit is used to record the source of the request, parameters and forwarded call address received at the service gateway of the service agent, and generate logs for the returned data; The service gateway log processing unit is used to regularly package the logs generated by the service gateway log recording unit and generate summaries for local storage, and write the file name and summary information into the blockchain node; The original interface service system log recording unit is used to record the source of the request received, the parameters and the returned data in the original interface service system to generate a log; The original interface service system log processing unit is used to regularly package the logs generated by the original interface service system log recording unit and generate summaries for local storage, and write the file name and summary information into the blockchain node.
10. A system according to claim 9, characterized in that: Including a call record chain viewing module, the call record chain viewing module includes: On-chain information reading unit, used to read log file names and summary information from blockchain nodes; A log file acquisition unit, configured to acquire a log file according to a file acquisition address provided by a log generating department; A summary comparison unit is used to compare the summary of the obtained log file to confirm the authenticity of the log file; The calling process viewing unit is used to view the calling process after parsing the authenticity-confirmed log file content.
Citation Information
Cited By
Method and system for docking block chain by using sharing platform of external dependence
CN121462589A
