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

By using blockchain technology and smart contracts in the government interface sharing system to build an interface metadata sharing chain, the problems of inconsistency and inability to supervise in government interface sharing are solved, and distributed trusted storage and consistency guarantee of interface metadata are realized.

CN119696753AInactive Publication Date: 2025-03-25SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411720799.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing government interface sharing model, data is inconsistent among different departments at multiple levels, untimely updates, omissions, and unregulated problems.

Method used

The government interface sharing system based on blockchain technology is adopted, and the government interface metadata is stored in distributed manner through the interface metadata sharing chain, and the smart contract is used to store the call permission control rules, and the data is guaranteed through the digital certificate entering the chain.

Benefits of technology

It effectively solves the problems of inconsistent data, untimely updates and inability to supervise in government interface sharing, ensures the authenticity and consistency of interface metadata, and improves the reliability and security of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119696753A_ABST
    Figure CN119696753A_ABST
Patent Text Reader

Abstract

The invention provides a government affair interface sharing system and method based on a block chain technology. An interface application calling supervisor creates an interface metadata sharing chain, and stores calling authority control rules of all service interfaces on the interface metadata sharing chain through an intelligent contract; adding a government affair original interface provider and a service interface calling party into the interface metadata sharing chain as nodes respectively, and installing smart contracts respectively; the government affair original interface provides a service interface registered to the sharing exchange platform; the government affair original interface provider writes the service metadata into a public account book of the interface metadata sharing chain; when a service interface calling party calls the service interface, the calling permission of the service interface is obtained by calling the intelligent contract, the service metadata of the service interface is inquired through the intelligent contract, and calling of the service interface is achieved. According to the method, the problems that the current interface metadata is inconsistent in different multi-level departments, is not updated in time, is omitted, cannot be supervised and the like can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present invention relate to network communication technology, and in particular, to a government affairs interface sharing system and method based on blockchain technology. Background Art

[0002] In the government information sharing and exchange platform, the most common, easiest to use, and most real-time data is generally provided to the outside world in the form of service interfaces. The national sharing and exchange platform pushes interface metadata to the provincial sharing and exchange platform through the data cascade system, and the local provincial and municipal business systems obtain the original interface metadata information through the provincial sharing and exchange platform.

[0003] The existing government affairs interface sharing model mentioned above has an obvious flaw: when data is pushed from the national platform to the local provincial platform through the cascading system, it is easy to cause problems such as data inconsistency, data loss, and untimely data update push. Summary of the invention

[0004] One or more embodiments of the present invention describe a government affairs interface sharing system and method based on blockchain technology, which can solve at least one problem in the prior art.

[0005] According to the first aspect, a government affairs interface sharing system based on blockchain technology is provided, the system comprising: a government affairs original interface provider, an interface application call supervisor, and a service interface caller; wherein,

[0006] The interface application call supervisor is used to create an interface metadata sharing chain using blockchain technology, store the call permission control rules of each service interface on the interface metadata sharing chain through smart contracts, and issue chain entry digital certificates to the original government interface provider and the service interface caller respectively;

[0007] The original government interface provider is used to apply to the interface application call supervisor to join the interface metadata sharing chain, use the issued entry digital certificate and join the interface metadata sharing chain as a node, install the smart contract, register the service interface with the sharing exchange platform, and write the service metadata to the public account of the interface metadata sharing chain;

[0008] The service interface caller is used to apply to the interface calling supervisor to join the interface metadata sharing chain, use the issued entry digital certificate and join the interface metadata sharing chain as a node, install the smart contract, and when calling the service interface, obtain the calling permission of the service interface by calling the smart contract, query the service metadata of the service interface through the smart contract, and realize the calling of the service interface.

[0009] The government affairs original interface providers include: various ministries and commissions that register interfaces with the shared exchange platform.

[0010] The interface application call supervisor includes: the builder of the shared exchange platform.

[0011] The service interface caller includes: provincial and municipal department business systems that apply to call the government affairs interface from the shared exchange platform.

[0012] According to the second aspect, a method for sharing government affairs interfaces based on blockchain technology is provided, the method comprising:

[0013] The interface application call supervisor creates an interface metadata sharing chain, and stores the call permission control rules of each service interface on the interface metadata sharing chain through a smart contract;

[0014] The government original interface provider and the service interface caller respectively apply to the interface call supervisor to join the interface metadata sharing chain;

[0015] After receiving the application, the interface application call supervisor will issue a chain entry digital certificate to the original government interface provider and the service interface caller respectively;

[0016] The original government interface provider and the service interface caller use the issued chain entry digital certificates to join the interface metadata sharing chain as nodes and install smart contracts respectively;

[0017] The original government interface provides a registration service interface for the shared exchange platform;

[0018] The government original interface provider writes the service metadata into the public ledger of the interface metadata sharing chain;

[0019] When calling a service interface, the service interface caller obtains the calling permission of the service interface by calling the smart contract, queries the service metadata of the service interface through the smart contract, and implements the calling of the service interface.

[0020] The government affairs original interface providers include: various ministries and commissions that register interfaces with the shared exchange platform.

[0021] The interface application call supervisor includes: the builder of the shared exchange platform.

[0022] The service interface caller includes: provincial and municipal department business systems that apply to call the government affairs interface from the shared exchange platform.

[0023] The method further includes: using the interface metadata sharing chain to share the interface metadata in the shared exchange platform, and using the distributed storage, timestamp, and non-tamperable characteristics of the interface metadata sharing chain to ensure the consistency of the interface metadata.

[0024] According to a third aspect, a computing device is provided, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method described in any embodiment of the present invention is implemented.

[0025] It can be seen that the government interface sharing system and method based on blockchain technology provided by the embodiment of the present invention uses blockchain technology to realize multi-party sharing of interface metadata in a shared exchange platform. The original government interface provider, the interface application call supervisor and the service interface caller jointly construct and join the interface metadata sharing chain as nodes. The interface metadata is provided to each service interface caller through the interface metadata sharing chain, thereby utilizing the distributed storage, timestamp and non-tamperable characteristics of blockchain to ensure data consistency, and can effectively solve many problems in current interface metadata sharing, such as the inconsistency of current interface metadata in different departments at multiple levels, untimely updates, omissions and inability to supervise.

[0026] It can be seen that the government interface sharing system and method based on blockchain technology provided by the embodiment of the present invention, the interface application call supervisor, the government original interface provider and the service interface caller as nodes jointly build an interface metadata sharing chain, and the service interface metadata is distributed and trusted by using the interface metadata sharing chain. Blockchain distributed storage and node consensus algorithm are used to ensure the consistency of individual node data. The authenticity of data is ensured by using 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. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 It is a schematic diagram of a government affairs interface sharing system based on blockchain technology in one embodiment of the present invention.

[0029] Figure 2 It is a schematic diagram of a government affairs interface sharing system based on blockchain technology in another embodiment of the present invention.

[0030] Figure 3 It is a flowchart of a government affairs interface sharing method based on blockchain technology in one embodiment of the present invention. DETAILED DESCRIPTION

[0031] The solution provided by the present invention is described below in conjunction with the accompanying drawings.

[0032] First of all, it should be noted that the terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates otherwise.

[0033] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0034] Figure 1 Schematic diagram of a government affairs interface sharing system based on blockchain technology in one embodiment of the present invention. Figure 1 One embodiment of the present invention proposes a government interface sharing system based on blockchain technology, the system comprising: an interface application call supervisor 101, a government original interface provider 102, and a service interface caller 103; wherein,

[0035] The interface application call supervisor 101 is used to create an interface metadata sharing chain using blockchain technology, store the call authority control rules of each service interface on the interface metadata sharing chain through smart contracts, and issue chain entry digital certificates to the government original interface provider 102 and the service interface caller 103 respectively;

[0036] The government original interface provider 102 is used to apply to the interface application calling supervisor 101 to apply to join the interface metadata sharing chain, use the issued entry digital certificate and join the interface metadata sharing chain as a node, install the smart contract, register the service interface with the sharing exchange platform, and write the service metadata to the public account of the interface metadata sharing chain;

[0037] The service interface caller 103 is used to apply to the interface calling supervisor 101 to join the interface metadata sharing chain, use the issued entry digital certificate and join the interface metadata sharing chain as a node, install the smart contract, and when calling the service interface, obtain the calling permission of the service interface by calling the smart contract, query the service metadata of the service interface through the smart contract, and realize the calling of the service interface.

[0038] It can be seen that in the embodiment of the present invention, blockchain technology is used to realize multi-party sharing of interface metadata in a shared exchange platform. The original government interface provider, the interface application call supervisor and the service interface caller jointly construct and join the interface metadata sharing chain as nodes. The interface metadata is provided to each service interface caller through the interface metadata sharing chain, thereby utilizing the distributed storage, timestamp and non-tamperable characteristics of blockchain to ensure data consistency, which can effectively solve many problems in the current sharing of interface metadata, such as the inconsistency of current interface metadata in different departments at multiple levels, untimely updates, omissions and inability to supervise.

[0039] It should be understood that Figure 1 The number of interface application call supervisor 101, government original interface provider 102 and service interface caller 103 is only illustrative. Any number can be selected and arranged according to implementation needs.

[0040] In one embodiment of the present invention, the government affairs original interface provider 102 includes: various ministries and commissions that register interfaces with the shared exchange platform.

[0041] In one embodiment of the present invention, the interface application calling supervisor 101 includes: a builder of a shared exchange platform.

[0042] In one embodiment of the present invention, the service interface caller 103 includes: a provincial or municipal department business system that applies to call a government affairs interface from a shared exchange platform.

[0043] Figure 2 Schematic diagram of a government affairs interface sharing system based on blockchain technology in another embodiment of the present invention. Figure 2 The builder of the national shared exchange platform applies to call the regulator 101 as an interface, and the builder of the national shared exchange platform applies to call the regulator 101 as an interface to build a blockchain infrastructure platform, create an interface metadata sharing chain, and install and instantiate smart contracts.

[0044] Each ministry that registers an interface with the national shared exchange platform serves as the original government interface provider 102. Each ministry, as the original government interface provider 102, applies to the builder of the national shared exchange platform, i.e. the interface application call regulator 101, to join the interface metadata sharing chain. The interface application call regulator 101 issues a chain entry digital certificate to each ministry. Each ministry, as the original government interface provider 102, uses the digital certificate to join the blockchain, install the smart contract, and call the smart contract to write the interface metadata into the block of the interface metadata sharing chain.

[0045] The provincial and municipal department business systems that apply to call the government interface from the shared exchange platform apply to join the interface metadata sharing chain as the service interface caller 103. The interface application calling supervisor 101 issues a chain entry digital certificate to each provincial and municipal department business system. Each provincial and municipal department business system uses the digital certificate as the service interface caller 103 to join the blockchain, install the smart contract, and query the interface metadata information.

[0046] See also Figure 2 The original interface provider registers the service interface with the national shared exchange platform, writes the service metadata to the public ledger of the interface metadata sharing chain, and obtains the endorsement of other nodes on the blockchain; the interface agent regulator stores the call permission control rules of each interface on the interface metadata sharing chain through a smart contract, and obtains the endorsement of other nodes on the blockchain; when the local provincial and municipal business system needs to call the above-mentioned service interface registered on the national platform, it obtains the call permission of the interface by calling the control contract, queries the interface metadata information through the smart contract, and realizes the service interface call.

[0047] Figure 3 This is a flow chart of a method for sharing government affairs interfaces based on blockchain technology in one embodiment of the present invention. Figure 1 and Figure 3 , the method comprising:

[0048] Step 301: The interface application calling supervisor creates an interface metadata sharing chain.

[0049] Step 303: The interface application calling supervisor stores the calling authority control rules of each service interface on the interface metadata sharing chain through a smart contract.

[0050] Step 305: The government original interface provider and the service interface caller respectively apply to the interface call supervisor to join the interface metadata sharing chain.

[0051] Step 307: After receiving the application, the interface application calling supervisor issues a chain digital certificate to the original government interface provider and the service interface caller respectively.

[0052] Step 309: The original government interface provider and the service interface caller use the issued chain entry digital certificates respectively and join the interface metadata sharing chain as nodes, and install smart contracts respectively.

[0053] Step 311: The government affairs original interface provides a registration service interface for the shared exchange platform.

[0054] Step 313: The government original interface provider writes the service metadata into the public ledger of the interface metadata sharing chain.

[0055] Step 315: When calling the service interface, the service interface caller obtains the calling permission of the service interface by calling the smart contract, queries the service metadata of the service interface through the smart contract, and implements the calling of the service interface.

[0056] In one embodiment of the method of the present invention, the government affairs original interface providers include: various ministries and commissions that register interfaces with the shared exchange platform.

[0057] In one embodiment of the method of the present invention, the interface application call supervisor includes: a builder of a shared exchange platform.

[0058] In one embodiment of the method of the present invention, the service interface caller includes: a provincial or municipal department business system that applies to call a government affairs interface from a shared exchange platform.

[0059] In one embodiment of the method of the present invention, the method further includes: using the interface metadata sharing chain to share the interface metadata in the shared exchange platform, and using the distributed storage, timestamp, and non-tamperable characteristics of the interface metadata sharing chain to ensure the consistency of the interface metadata.

[0060] In the embodiment of the present invention, the interface application call supervisor, the government original interface provider and the service interface caller jointly build an interface metadata sharing chain as nodes. Using the interface metadata sharing chain, the service interface metadata is distributed and trusted. Blockchain distributed storage and node consensus algorithm are used to ensure the consistency of individual node data. The authenticity of data is ensured by using the timestamp-based records and the tamper-proof characteristics of blockchain transactions, which effectively solves the problem of inconsistent metadata in the current government interface sharing in a multi-level system.

[0061] An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed in a computer, the computer is caused to execute a method in any one of the embodiments in the specification.

[0062] An embodiment of the present invention provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method in any embodiment of the specification is implemented.

[0063] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the device of the embodiment of the present invention. In other embodiments of the specification, the above-mentioned device may include more or fewer components than those shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0064] The various embodiments of the present invention are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0065] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present invention can be implemented by hardware, software, widgets, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.

[0066] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.

Claims

1. The government affairs interface sharing system based on blockchain technology is characterized by: The system includes: a government original interface provider, an interface application call supervisor, and a service interface caller; The interface application call supervisor is used to create an interface metadata sharing chain using blockchain technology, store the call permission control rules of each service interface on the interface metadata sharing chain through smart contracts, and issue chain entry digital certificates to the original government interface provider and the service interface caller respectively; The original government interface provider is used to apply to the interface application call supervisor to join the interface metadata sharing chain, use the issued entry digital certificate and join the interface metadata sharing chain as a node, install the smart contract, register the service interface with the sharing exchange platform, and write the service metadata to the public account of the interface metadata sharing chain; The service interface caller is used to apply to the interface calling supervisor to join the interface metadata sharing chain, use the issued entry digital certificate and join the interface metadata sharing chain as a node, install the smart contract, and when calling the service interface, obtain the calling permission of the service interface by calling the smart contract, query the service metadata of the service interface through the smart contract, and realize the calling of the service interface.

2. The system according to claim 1, characterized in that The government affairs original interface providers include: various ministries and commissions that register interfaces with the shared exchange platform.

3. The system according to claim 1, characterized in that The interface application call supervisor includes: the builder of the shared exchange platform.

4. The system according to claim 1, characterized in that The service interface caller includes: provincial and municipal department business systems that apply to call the government affairs interface from the shared exchange platform.

5. The government affairs interface sharing method based on blockchain technology is characterized by: The method includes: The interface application call supervisor creates an interface metadata sharing chain, and stores the call permission control rules of each service interface on the interface metadata sharing chain through a smart contract; The government original interface provider and the service interface caller respectively apply to the interface call supervisor to join the interface metadata sharing chain; After receiving the application, the interface application call supervisor will issue a chain entry digital certificate to the original government interface provider and the service interface caller respectively; The original government interface provider and the service interface caller use the issued chain entry digital certificates to join the interface metadata sharing chain as nodes and install smart contracts respectively; The original government interface provides a registration service interface for the shared exchange platform; The government original interface provider writes the service metadata into the public ledger of the interface metadata sharing chain; When calling a service interface, the service interface caller obtains the calling permission of the service interface by calling the smart contract, queries the service metadata of the service interface through the smart contract, and implements the calling of the service interface.

6. The method according to claim 5, characterized in that The government affairs original interface providers include: various ministries and commissions that register interfaces with the shared exchange platform.

7. The method according to claim 5, characterized in that The interface application call supervisor includes: the builder of the shared exchange platform.

8. The method according to claim 5, characterized in that The service interface caller includes: provincial and municipal department business systems that apply to call the government affairs interface from the shared exchange platform.

9. The method according to any one of claims 5 to 8, characterized in that: The method further includes: using the interface metadata sharing chain to share the interface metadata in the shared exchange platform, and using the distributed storage, timestamp, and tamper-proof characteristics of the interface metadata sharing chain to ensure the consistency of the interface metadata.

10. A computing device, comprising a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method according to any one of claims 5 to 9 is implemented.

Citation Information

Patent Citations

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

    CN112506882A