Government affair interface sharing method, system and equipment based on block chain technology and medium

By using blockchain technology to build a data sharing alliance chain in the government data sharing system, the problem of data inconsistency in government interface sharing is solved, reliable call and supervision of interfaces is realized, and the efficiency and reliability of government data sharing is improved.

CN119676246APending Publication Date: 2025-03-21SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Patent Information

Application Number
CN202411720751.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

In the existing government interface sharing mode, data transmission between multiple systems is prone to inconsistency, loss and untimely update push problems, resulting in increased difficulty in calling and supervision of government interfaces.

Method used

Using the government interface sharing method based on blockchain technology, by building a data sharing alliance chain, digital identity certificates are issued to data sharing platforms and service gateways at all levels, so that they can join the alliance chain in the form of nodes. Use blockchain network to store and share interface metadata in distributed storage and sharing, realize transaction verification, block generation and multi-party trust, and ensure the reliability of interface calls and supervision.

Benefits of technology

Through the application of blockchain technology, the problem of metadata in the sharing of government affairs interfaces is solved, the interface is conveniently called and supervised, and the reliability and efficiency of government affairs data sharing is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119676246A_ABST
    Figure CN119676246A_ABST
Patent Text Reader

Abstract

The invention discloses a government affair interface sharing method, system and device based on a block chain technology and a medium, belongs to the technical field of government affair data sharing, and aims to solve the technical problem of how to conveniently call and supervise government affair interfaces. According to the technical scheme, the method comprises the steps that a data provider, a data manager, a data user, a first-level data sharing platform, a second-level data sharing platform and a third-level data sharing platform form a data sharing alliance chain, a block chain network is set up, and digital identity certificates are issued to the data sharing platforms and a service gateway at all levels; data sharing platforms and service gateways at all levels are added into a data sharing alliance chain in a node form by means of digital identities; and the block chain network shares and exchanges metadata data of each level of sharing platform interface through a channel, provides a data identity certificate for each service system accessed to the network, and realizes transaction verification and block generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of government data sharing, and specifically to a government interface sharing method, system, device and medium based on blockchain technology. Background Art

[0002] Government data sharing is of great significance for accelerating the transformation of functions and management innovation, improving the level of government governance, promoting the construction of government transparency, and promoting the entire society to tap the huge value of government data. At present, many government agencies have established their own data sharing platforms, and are also gradually formulating and implementing government data sharing and have established government information sharing and exchange platforms. The government information sharing and exchange platform is a window and hub for sharing and exchanging non-confidential government information resources, meeting the needs of data sharing between departments and improving the efficiency of work between departments. In the government information sharing and exchange platform, the most common, easiest to use, and most real-time data are generally provided to the outside in the form of service interfaces. The current way for the original interface of the data provider to provide services to the outside is: the provider registers the service interface on the first-level data sharing platform, the first-level data sharing platform pushes the interface metadata to the second-level sharing and exchange platform through the data cascading system, and the data user's business system obtains the original interface metadata information through the second-level data sharing platform.

[0003] The above-mentioned existing government affairs interface sharing model has an obvious flaw: when pushing data from the primary data sharing platform to the secondary data sharing platform through the cascade system, it is easy to cause problems such as data inconsistency, data loss, and untimely data update push between the two parties.

[0004] Therefore, how to facilitate the calling and supervision of government affairs interfaces is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The technical task of the present invention is to provide a government affairs interface sharing method, system, device and medium based on blockchain technology to solve the problem of how to facilitate the calling and supervision of government affairs interfaces.

[0006] The technical task of the present invention is achieved in the following way: a government affairs interface sharing method based on blockchain technology, which is to organize data providers, data managers, data users, first-level data sharing platforms, second-level data sharing platforms and third-level data sharing platforms into a data sharing alliance chain, build a blockchain network, and issue digital identity certificates to data sharing platforms and service gateways at all levels. Data sharing platforms and service gateways at all levels join the data sharing alliance chain as nodes based on their digital identities; the blockchain network is a channel for data sharing and exchange of metadata data for interfaces of sharing platforms at all levels, and at the same time provides data identity certificates for various business systems connected to the network to realize transaction verification and block generation, and realize multi-party trust between various access systems based on consensus algorithms and voting mechanisms, thereby realizing that the behavior of each system connected to the network is tamper-proof and cannot be tampered with.

[0007] Preferably, the data manager installs and instantiates the interface sharing smart contract in the data sharing alliance chain; wherein the interface sharing smart contract includes the service interface registration smart contract, the service interface review smart contract, the service interface publishing smart contract and the service interface calling smart contract.

[0008] Preferably, the data provider registers the service interface on the first-level data sharing platform, the first-level data sharing platform publishes the relevant interface metadata information to the data sharing alliance chain, the service interface registration smart contract verifies the metadata information and generates blocks, and shares it in the entire blockchain network. The second-level data sharing platform and the third-level data sharing platform obtain the interface metadata information through the blockchain network.

[0009] Preferably, the data user obtains data interface call information on the secondary data sharing platform or the tertiary data sharing platform, initiates a data call application on the secondary data sharing platform or the tertiary data sharing platform, and the secondary data sharing platform or the tertiary data sharing platform calls the service interface review smart contract to verify the data user's application information, and sends a data call certificate to the data user after the verification is passed;

[0010] The data user initiates a service interface call request on the secondary data sharing platform or the tertiary data sharing platform based on the data call certificate. After the secondary data sharing platform or the tertiary data sharing platform calls the service interface and passes the smart contract verification, the service gateway completes the service interface call;

[0011] Among them, the service gateway is used to manage service interfaces and implement service routing, forwarding, authentication and certification.

[0012] As a preferred embodiment, the first-level data sharing platform, the second-level data sharing platform and the third-level data sharing platform are added to the blockchain network as a node of the blockchain network. The first-level data sharing platform, the second-level data sharing platform and the third-level data sharing platform all include a blockchain SDK, a system identity certificate, an interface registration and an interface application; the blockchain SDK and the system identity certificate are tools and credentials for connecting to the blockchain network;

[0013] Among them, the first-level data sharing platform has organizational management functions as a senior node in the blockchain data sharing alliance, and is used for the review and access of new nodes; new members who are authorized to join are ordinary nodes, with the rights to synchronize information sharing and provide data services; interface registration is used to manage the original service interface information on the chain smart contract, which is used to write the original interface metadata information into the data sharing alliance chain and share it in the blockchain network.

[0014] Preferably, the data provider uses the original interface method to connect the data of each data source to the blockchain network. Before the connection, the original interface is first registered and published on the first-level data sharing platform. After the original interface is successfully published, the original interface metadata information is synchronized across the entire network based on the service interface registration smart contract.

[0015] A government interface sharing system based on blockchain technology, the system includes a data provider, a data manager and multiple data users, the data manager forms a blockchain data sharing alliance with the data provider and the data user, obtains the digital identity certificates of all parties, builds an interface metadata sharing chain, and data sharing platforms at all levels access the interface metadata sharing chain in the form of blockchain nodes; the data provider deploys the original interface and service gateway and the data provider registers the service interface on the first-level data sharing platform, the interface sharing smart contract writes the service metadata into the public account book of the interface metadata sharing chain, and obtains the blockchain endorsement; the data manager stores the call authority control rules of the interface registered by the data provider on the interface metadata sharing chain through the interface smart contract, and obtains the blockchain endorsement; when the business system in the data user needs to call the service interface registered on the first-level data sharing platform, the interface sharing smart contract judges the data user, the service data sharing rule returns the generated call credential, the data user uses the call credential to call the original service interface, the interface sharing smart contract verifies the call credential, and the service interface call can be realized through the verification.

[0016] As a preferred option, the data management party also deploys a secondary data sharing platform and a tertiary data sharing platform. The primary data sharing platform, the secondary data sharing platform and the tertiary data sharing platform are added to the blockchain network as a node of the blockchain network. The primary data sharing platform, the secondary data sharing platform and the tertiary data sharing platform all include blockchain SDK, system identity certificate, interface registration and interface application; blockchain SDK and system identity certificate are tools and credentials for connecting to the blockchain network; among them, the primary data sharing platform has organizational management functions as a senior node in the blockchain data sharing alliance, and is used for new node review and admission; new members who are authorized to join are ordinary nodes, and have the right to synchronize information sharing and provide data services; interface registration is used to manage the original service interface information on-chain smart contract, which is used to write the original interface metadata information into the data sharing alliance chain and share it in the blockchain network;

[0017] The interface sharing smart contract includes the service interface registration smart contract, the service interface review smart contract and the service interface call smart contract; among them, the interface registration smart contract is used to realize the writing of the original interface metadata information into the blockchain public account book; the interface review smart contract is used to realize the service interface call judgment and generate the interface call certificate according to the interface call permission rules defined by the data user, data manager and data provider; the interface call smart contract is used to realize the verification of the interface call certificate;

[0018] The data provider uses the original interface method to connect the data of each data source to the blockchain network. Before access, the original interface is registered and published on the first-level data sharing and exchange platform. After the original interface is successfully published, the interface metadata information is synchronized across the entire network based on the interface registration smart contract;

[0019] The service gateway is used to manage service interfaces and implement service routing, forwarding, authorization, and authentication.

[0020] An electronic device comprising: a memory and at least one processor;

[0021] Wherein, the memory stores computer-executable instructions;

[0022] The at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the government affairs interface sharing method based on blockchain technology as described above.

[0023] A computer-readable storage medium having computer-executable instructions stored therein, which, when executed by a processor, implements the government affairs interface sharing method based on blockchain technology as described above.

[0024] The government affairs interface sharing method, system, device and medium based on blockchain technology of the present invention have the following advantages:

[0025] (I) Distributed trusted storage of service interface metadata of the present invention. Blockchain distributed storage and node consensus algorithm are used to ensure the consistency of data of each node, and the authenticity of data is guaranteed by the characteristics of timestamp records and blockchain transactions that cannot be tampered with, which effectively solves the problem of inconsistent metadata in the current government interface sharing in a multi-level system;

[0026] (ii) The present invention stores interface metadata in a distributed manner at the original interface provider, service call supervisor, and interface caller, facilitating the calling and supervision needs of government affairs interfaces;

[0027] (III) The present invention uses blockchain technology to realize the sharing of interface metadata among multiple parties in data sharing and exchange, and utilizes the distributed storage, timestamp, and tamper-proof characteristics of blockchain to ensure data consistency. At the same time, it can effectively solve the current problems of inconsistency of interface metadata among different data users at multiple levels and inability to supervise. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The present invention is further described below in conjunction with the accompanying drawings.

[0029] Attached Figure 1 Schematic diagram of the government affairs interface sharing system based on blockchain technology. DETAILED DESCRIPTION

[0030] The government affairs interface sharing method, system, device and medium based on blockchain technology of the present invention are described in detail below with reference to the drawings and specific embodiments of the specification.

[0031] Embodiment 1:

[0032] This embodiment provides a government interface sharing method based on blockchain technology. The method is to form a data sharing alliance chain by combining data providers, data managers, data users, primary data sharing platforms, secondary data sharing platforms and tertiary data sharing platforms, and to build a blockchain network. Digital identity certificates are issued to data sharing platforms and service gateways at all levels. Data sharing platforms and service gateways at all levels join the data sharing alliance chain as nodes with their digital identities. The blockchain network is a channel for data sharing and exchange of metadata of sharing platform interfaces at all levels, and provides data identity certificates for each business system connected to the network to realize transaction verification and block generation. Multi-party trust between each access system is realized based on the consensus algorithm and voting mechanism, so as to realize that the behavior of each system connected to the network is recorded and cannot be tampered with. The details are as follows:

[0033] S1. Data managers, data providers, and data users build a data sharing alliance chain, set up a blockchain network, and issue digital identity certificates to data sharing platforms and service gateways at all levels. Data sharing platforms and service gateways at all levels join the data sharing alliance chain as nodes with their digital identities.

[0034] S2. The data manager installs and instantiates the interface sharing smart contract in the data sharing alliance chain; the interface sharing smart contract includes the service interface registration smart contract, the service interface review smart contract, the service interface publishing smart contract and the service interface calling smart contract;

[0035] S3. The data provider registers the service interface on the first-level data sharing platform. The first-level data sharing platform publishes the relevant interface metadata information to the data sharing alliance chain. The service interface registration smart contract verifies the metadata information and generates blocks, which are shared in the entire blockchain network. The second-level data sharing platform and the third-level data sharing platform obtain the interface metadata information through the blockchain network.

[0036] S4. The data user obtains data interface call information on the secondary data sharing platform or the tertiary data sharing platform, initiates a data call application on the secondary data sharing platform or the tertiary data sharing platform, and the secondary data sharing platform or the tertiary data sharing platform calls the service interface review smart contract to verify the data user's application information, and sends the data call certificate to the data user after the verification is passed;

[0037] S5. The data user initiates a service interface call request on the secondary data sharing platform or the tertiary data sharing platform based on the data call certificate. After the secondary data sharing platform or the tertiary data sharing platform calls the service interface and passes the smart contract verification, the service gateway completes the service interface call;

[0038] Among them, the service gateway is used to manage service interfaces and implement service routing, forwarding, authentication and certification.

[0039] The primary data sharing platform, the secondary data sharing platform and the tertiary data sharing platform in this embodiment are added to the blockchain network as a node of the blockchain network. The primary data sharing platform, the secondary data sharing platform and the tertiary data sharing platform all include a blockchain SDK, a system identity certificate, an interface registration and an interface application; the blockchain SDK and the system identity certificate are tools and credentials for connecting to the blockchain network;

[0040] Among them, the first-level data sharing platform has organizational management functions as a senior node in the blockchain data sharing alliance, and is used for the review and access of new nodes; new members who are authorized to join are ordinary nodes, with the rights to synchronize information sharing and provide data services; interface registration is used to manage the original service interface information on the chain smart contract, which is used to write the original interface metadata information into the data sharing alliance chain and share it in the blockchain network.

[0041] In this embodiment, the data provider uses the original interface method to connect the data of each data source to the blockchain network. Before access, the original interface is first registered and published on the primary data sharing platform. After the original interface is successfully published, the original interface metadata information is synchronized across the entire network based on the service interface registration smart contract.

[0042] Embodiment 2:

[0043] As attached Figure 1 As shown, this embodiment provides a government interface sharing system based on blockchain technology, which includes a data provider, a data manager and multiple data users. The data manager, the data provider and the data user form a blockchain data sharing alliance, obtain the digital identity certificates of all parties, and build an interface metadata sharing chain. Data sharing platforms at all levels access the interface metadata sharing chain in the form of blockchain nodes; the original interface and service gateway are deployed in the data provider and the data provider registers the service interface on the first-level data sharing platform. The interface sharing smart contract writes the service metadata to the public account book of the interface metadata sharing chain and obtains the blockchain endorsement; the data manager stores the call permission control rules of the interface registered by the data provider on the interface metadata sharing chain through the interface smart contract and obtains the blockchain endorsement; when the business system in the data user needs to call the service interface registered on the first-level data sharing platform, the interface sharing smart contract judges the data user, and the service data sharing rule returns the generated call credential. The data user uses the call credential to call the original service interface, and the interface sharing smart contract verifies the call credential. The service interface call can be realized through the verification.

[0044] In this embodiment, the data management party also deploys a secondary data sharing platform and a tertiary data sharing platform. The primary data sharing platform, the secondary data sharing platform and the tertiary data sharing platform are added to the blockchain network as a node of the blockchain network. The primary data sharing platform, the secondary data sharing platform and the tertiary data sharing platform all include a blockchain SDK, a system identity certificate, an interface registration and an interface application; the blockchain SDK and the system identity certificate are tools and credentials for connecting to the blockchain network; among them, the primary data sharing platform has organizational management functions as a senior node in the blockchain data sharing alliance, and is used for new node review and access; new members who are authorized to join are ordinary nodes, and have the right to synchronize information sharing and provide data services; the interface registration is used to manage the original service interface information on the chain smart contract, which is used to write the original interface metadata information into the data sharing alliance chain and share it in the blockchain network.

[0045] The interface sharing smart contract in this embodiment includes a service interface registration smart contract, a service interface review smart contract and a service interface call smart contract; wherein, the interface registration smart contract is used to realize the writing of the original interface metadata information into the blockchain public account book; the interface review smart contract is used to realize the service interface call judgment and generate the interface call certificate according to the interface call permission rules defined by the data user, data manager and data provider; the interface call smart contract is used to realize the verification of the interface call certificate.

[0046] In this embodiment, the data provider uses the original interface method to connect the data of each data source to the blockchain network. Before access, the original interface is first registered and published on the first-level data sharing and exchange platform. After the original interface is successfully published, the interface metadata information is synchronized across the entire network based on the interface registration smart contract.

[0047] The service gateway in this embodiment is used to manage service interfaces and implement service routing, forwarding, authentication, and authorization.

[0048] Embodiment 3:

[0049] This embodiment also provides an electronic device, including: a memory and at least one processor;

[0050] Wherein, the memory stores computer-executable instructions;

[0051] The at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the government affairs interface sharing method based on blockchain technology as described in any one of the present invention.

[0052] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor may be a microprocessor or any conventional processor, etc.

[0053] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the electronic device by running or executing the computer programs and / or modules stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the terminal, etc. In addition, the memory can also include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, a flash memory card, at least one disk storage period, a flash memory device, or other volatile solid-state storage devices.

[0054] Embodiment 4:

[0055] This embodiment also provides a computer-readable storage medium, which stores a plurality of instructions, which are loaded by a processor, so that the processor executes the government affairs interface sharing method based on blockchain technology in any embodiment of the present invention. Specifically, a system or device equipped with a storage medium can be provided, on which a software program code that implements the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.

[0056] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0057] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0058] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0059] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or the expansion unit is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0060] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A government affairs interface sharing method based on blockchain technology, characterized in that: The method is to organize data providers, data managers, data users, first-level data sharing platforms, second-level data sharing platforms and third-level data sharing platforms into a data sharing alliance chain, build a blockchain network, and issue digital identity certificates to data sharing platforms and service gateways at all levels. Data sharing platforms and service gateways at all levels join the data sharing alliance chain as nodes based on their digital identities. The blockchain network provides a channel for metadata data sharing and exchange at all levels of sharing platforms, and provides data identity certificates for each business system connected to the network to realize transaction verification and block generation, and realize multi-party trust between each access system based on the consensus algorithm and voting mechanism, thereby realizing that the behavior of each system connected to the network is tamper-proof.

2. The method for sharing government affairs interfaces based on blockchain technology according to claim 1 is characterized in that: The data manager installs and instantiates the interface sharing smart contract in the data sharing alliance chain; among them, the interface sharing smart contract includes the service interface registration smart contract, the service interface review smart contract, the service interface publishing smart contract and the service interface calling smart contract.

3. The method for sharing government affairs interfaces based on blockchain technology according to claim 1 is characterized in that: The data provider registers the service interface on the first-level data sharing platform. The first-level data sharing platform publishes the relevant interface metadata information to the data sharing alliance chain. The service interface registration smart contract verifies the metadata information and generates blocks, which are shared in the entire blockchain network. The second-level data sharing platform and the third-level data sharing platform obtain the interface metadata information through the blockchain network.

4. The method for sharing government affairs interfaces based on blockchain technology according to claim 1 is characterized in that: The data user obtains data interface call information on the secondary data sharing platform or the tertiary data sharing platform, initiates a data call application on the secondary data sharing platform or the tertiary data sharing platform, and the secondary data sharing platform or the tertiary data sharing platform calls the service interface review smart contract to verify the data user's application information, and sends the data call certificate to the data user after the verification is passed; The data user initiates a service interface call request on the secondary data sharing platform or the tertiary data sharing platform based on the data call certificate. After the secondary data sharing platform or the tertiary data sharing platform calls the service interface and passes the smart contract verification, the service gateway completes the service interface call; Among them, the service gateway is used to manage service interfaces and implement service routing, forwarding, authentication and certification.

5. The method for sharing government affairs interfaces based on blockchain technology according to claim 1 is characterized in that: The first-level data sharing platform, the second-level data sharing platform and the third-level data sharing platform are added to the blockchain network as a node of the blockchain network. The first-level data sharing platform, the second-level data sharing platform and the third-level data sharing platform all include the blockchain SDK, the system identity certificate, the interface registration and the interface application; the blockchain SDK and the system identity certificate are the tools and credentials for connecting to the blockchain network; Among them, the first-level data sharing platform has organizational management functions as a senior node in the blockchain data sharing alliance, and is used for the review and access of new nodes; new members who are authorized to join are ordinary nodes, with the rights to synchronize information sharing and provide data services; interface registration is used to manage the original service interface information on the chain smart contract, which is used to write the original interface metadata information into the data sharing alliance chain and share it in the blockchain network.

6. The method for sharing government affairs interfaces based on blockchain technology according to any one of claims 1 to 5, characterized in that: The data provider uses the original interface method to connect the data of each data source to the blockchain network. Before access, the original interface is registered and published on the first-level data sharing platform. After the original interface is successfully published, the original interface metadata information is synchronized across the entire network based on the service interface registration smart contract.

7. A government affairs interface sharing system based on blockchain technology, characterized in that: The system includes data providers, data managers, and multiple data users. The data managers, data providers, and data users form a blockchain data sharing alliance, obtain digital identity certificates from all parties, and build an interface metadata sharing chain. Data sharing platforms at all levels are connected to the interface metadata sharing chain in the form of blockchain nodes. The data provider deploys the original interface and service gateway and registers the service interface on the primary data sharing platform. The interface sharing smart contract writes the service metadata to the public ledger of the interface metadata sharing chain and obtains blockchain endorsement. The data manager stores the calling permission control rules of the interface registered by the data provider on the interface metadata sharing chain through the interface smart contract, and obtains the endorsement of the blockchain; when the business system within the data user needs to call the service interface registered on the first-level data sharing platform, the interface sharing smart contract judges the data user, and the service data sharing rules will return the generated calling credentials. The data user uses the calling credentials to call the original service interface, and the interface sharing smart contract verifies the calling credentials. The service interface call can be realized after the verification passes the port.

8. The government affairs interface sharing system based on blockchain technology according to claim 7 is characterized in that: The data management party also deploys a secondary data sharing platform and a tertiary data sharing platform. The primary data sharing platform, the secondary data sharing platform and the tertiary data sharing platform are added to the blockchain network as a node of the blockchain network. The primary data sharing platform, the secondary data sharing platform and the tertiary data sharing platform all include blockchain SDK, system identity certificate, interface registration and interface application; blockchain SDK and system identity certificate are tools and credentials for connecting to the blockchain network; among them, the primary data sharing platform has organizational management functions as a senior node in the blockchain data sharing alliance, and is used for the review and admission of new nodes; new members who are authorized to join are ordinary nodes, and have the right to synchronize information sharing and provide data services; interface registration is used to manage the original service interface information on-chain smart contract, which is used to write the original interface metadata information into the data sharing alliance chain and share it in the blockchain network; The interface sharing smart contract includes the service interface registration smart contract, the service interface review smart contract and the service interface call smart contract; among them, the interface registration smart contract is used to realize the writing of the original interface metadata information into the blockchain public account book; the interface review smart contract is used to realize the service interface call judgment and generate the interface call certificate according to the interface call permission rules defined by the data user, data manager and data provider; the interface call smart contract is used to realize the verification of the interface call certificate; The data provider uses the original interface method to connect the data of each data source to the blockchain network. Before access, the original interface is registered and published on the first-level data sharing and exchange platform. After the original interface is successfully published, the interface metadata information is synchronized across the entire network based on the interface registration smart contract; The service gateway is used to manage service interfaces and implement service routing, forwarding, authorization, and authentication.

9. An electronic device, characterized in that: include: memory and at least one processor; Wherein, the memory stores computer-executable instructions; The at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the government affairs interface sharing method based on blockchain technology as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer execution instructions. When the processor executes the computer execution, the government affairs interface sharing method based on blockchain technology as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Integrated care system based on block chain, medical data interaction method and storage medium

    CN111933292A

  • Trusted sharing method for protecting government affair private data based on block chain

    CN112417510A

  • Mechanism for solving trust problem in data sharing process based on blockchain

    CN112506882A

  • Interface sharing method and device, computer equipment and medium

    CN115834171A

  • Block chain-based data processing method and related device

    CN116418546A

Cited By

  • Method and system for docking block chain by using sharing platform of external dependence

    CN121462589A