Government service authorization traceability analysis method, system, equipment and medium

By combining blockchain technology with the authorized and entrusted service platform, the complex problems of trustworthy data authentication and verification in government service authorized service are solved, and the traceability analysis of authorized service and data tamper-proof are realized, which improves user experience and service efficiency.

CN119784402AInactive Publication Date: 2025-04-08INSPUR SOFTWARE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510279907.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-11
Publication Date
2025-04-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During the government service process, the data credible authentication and verification process of authorized entrusted are complicated, resulting in poor user experience for applicants and staff, and the content and records of authorized entrusted cannot be traced, which can easily lead to legal disputes.

Method used

Combining blockchain technology with the authorized and commissioned service platform, we collect authorized information and service business data in real time through data collection programs, use the blockchain-based structure of blockchain to store, verify and manage data, and ensure the security and consistency of data through hash encryption algorithms and distributed node consensus algorithms, realizing data anti-tampering and traceability analysis.

Benefits of technology

It has improved the credibility and feasibility of authorized services, improved the user experience of applicants and staff, established a traceability response mechanism, improved the efficiency of government service services, and maintained rapid response in a high concurrency environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119784402A_ABST
    Figure CN119784402A_ABST
Patent Text Reader

Abstract

The present invention discloses a government service authorization service traceability analysis method, system, equipment and medium, which belongs to the field of government information processing technology. The present invention aims to solve the technical problem of how to realize the traceability analysis of the government service authorization service scene and improve the feasibility of the authorization service. The technical scheme is as follows: combining blockchain technology with the authorization and entrustment service platform, and collecting the authorization information and service business data of government service items in real time through the data collection program; using the block chain structure in the blockchain to store, verify and manage the collected authorization information and service business data of government service items; encrypting the data for transmission and storage through the hash encryption algorithm; using the distributed node consensus algorithm to update the data in the blockchain; using the Hardhat framework to realize the business data transaction intelligent contract algorithm to realize the data tamper-proof; realizing the authorization service traceability analysis and information verification of a single business through the data service interface.
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 information processing, and in particular to a government service authorization traceability analysis method, system, equipment and medium. Background Art

[0002] At present, the application scenarios of authorization and delegation in the process of government service are very extensive. Many regions have established online authorization and delegation platforms and solved the authentication of "I can act on behalf of others" through information technologies such as user authentication, face recognition, electronic signatures, and online documents. However, there is still the problem of credible authentication of forged authorization data. At the same time, the authorization and delegation verification process is complicated, applicants and agents have to run errands many times, business processing personnel have a large workload, and the authorization and delegation content, records, documents, and service processes cannot be traced, and there are problems such as legal disputes caused by false authorization.

[0003] Therefore, how to achieve traceability analysis of government service authorization scenarios, improve the feasibility of authorized services, and at the same time improve the user experience of applicants and staff is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The technical task of the present invention is to provide a government service authorization service traceability analysis method, system, equipment and medium to solve the problem of how to realize the traceability analysis of government service authorization service scenarios, improve the feasibility of authorized services, and at the same time improve the user experience of applicants and staff.

[0005] The technical task of the present invention is achieved in the following way: a method for tracing and analyzing the source of government service authorization, which is specifically as follows: Combine blockchain technology with the authorization and entrustment service platform to collect authorization information and service data of government service items in real time through data collection procedures; Use the block chain structure in the blockchain to store, verify and manage the authorization information and business data of collected government service items; Encrypt data transmission and storage through hash encryption algorithm to ensure data security; Use distributed node consensus algorithm to update data in the blockchain to ensure data consistency; Use the Hardhat framework to implement business data transaction smart contract algorithms to prevent data tampering; The data service interface is used to realize the authorization service traceability analysis and information verification of a single business.

[0006] As a preferred option, the data collection program is built based on the springcloud framework. The data collection program collects authorization data and business processing data of various departments; In order to ensure the real-time and integrity of data collection, the data collection program uses the http interface to connect, and the interface type is application / json, post type; The data collection program includes an authorization information entry interface and a business information entry interface; among them, the input parameters of the authorization information entry interface include id (data unique identifier), authorizer name, authorizer ID number, authorizer contact information, authorized person name, authorized person ID number, authorized person contact information, authorization matters, authorization type and authorization time; the output parameters of the authorization information entry interface include a successful save flag and a blockchain flag; the input parameters of the business information entry interface include id (data unique identifier), authorization id (corresponding authorization unique identifier), business name, processing time, processing status, approver, approval opinion, department and processing matter information; the output parameters of the authorization information entry interface include a successful save flag and a blockchain flag; In response to high concurrency situations, the data collection program supports deployment in a distributed mode to achieve real-time data entry for each department without causing congestion. After data collection, it is first parsed and decomposed into block data, then encrypted and waits for the results to be saved.

[0007] As a preferred method, the authorization information and business data of the collected government service items are constructed into a business chain using queue and one-way linked list technology, as follows: The authorization process information and service data of each business are divided into two blocks. In order to ensure high concurrency of access data, a queue is used to put the received block information into the queue in the order of the incoming time according to the first-in-first-out principle, and then the corresponding throughput is set according to the performance of the blockchain for block access; The obtained blocks are stored in the business chain in a one-way list storage format, where each block includes a block header + a block body; the block header includes the block hash, a miniature reference to the previous block address, a timestamp of block generation, the transaction status of this block, the size of this block, and the difficulty of this block.

[0008] As a preferred method, the hash encryption algorithm adopts the SHAA256 algorithm. Through the SHA256 encryption algorithm, the authorization information and application process information involved in the business are encrypted, transmitted and stored in an orderly manner to ensure data security. The SHA256 algorithm is an iterative hash function of the Merkle-Damgard structure. The calculation process of the iterative hash function of the Merkle-Damgard structure is divided into two stages: message preprocessing and main loop. In the message preprocessing stage, the message padding and extended padding are completed, and the input original message is converted into n 512-bit message blocks. Each message block is then processed using the SHA256 compression function. The calculation process is an iterative calculation process. When the last message block (the nth block) is processed, the final output value is the SHA256 value of the input original message.

[0009] As a preferred method, the distributed node consensus algorithm adopts PBFT, which is a Byzantine fault-tolerant consortium chain algorithm. The specific process of PBFT is as follows: ①The client sends a request to invoke the service operation of the primary node; ②The primary node broadcasts the request to the backup node; ③ Each node executes the request and then sends a reply to the client; ④ If the client receives no less than f + 1 (assuming there are 3f nodes in total) identical responses from different nodes, the client will consider the identical responses to be the return results after the operation.

[0010] As a preferred option, the business data transaction smart contract algorithm rules are as follows: Through the smart contract transaction request initiated by the user, the data involved in the transaction request is divided into on-chain data and off-chain data. The on-chain data is processed by consensus through the consensus node of the blockchain, and the off-chain data is calculated and processed through program logic analysis and verification proof is provided; It determines whether the business information in the transaction request message is consistent with the received content, reaches a real-time consensus on the judgment result, and executes the smart contract based on the consensus result.

[0011] Preferably, the authorization service traceability analysis and information verification of a single business is provided through the http interface. The format of providing data traceability and verification services to the outside world is as follows: ① Authorization information tracing service: The input parameter of the authorization information tracing service is the business serial number; the output parameter of the authorization information tracing service is the returned authorization information; the authorization information includes the authorization time, the information of the authorizer, the information of the authorized person and the authorization matters; ②Business information tracing service: The input parameter of the business information tracing service is the business serial number; the output parameter of the business information tracing service is the returned business information; among them, the business information includes application time, authorizer information, authorized person information, matter information, handling link information, handling status, approval time and handling opinions; ③Data verification service: The input parameters of the data verification service are the business serial number, authorizer, authorized person and authorization ID; the output parameters of the data verification service are the returned authorization confirmation information; among them, the authorization confirmation information includes the verification result, authorization time, authorizer information, authorized person information and authorization matters.

[0012] A government service authorization service traceability analysis system, the system is used to implement the government service authorization service traceability analysis method as mentioned above; the system includes: The data collection module is used to combine blockchain technology with the authorization and entrustment service platform to collect authorization information and service business data of government service items in real time; The storage, verification and management module is used to use the block chain structure in the blockchain to store, verify and manage the authorization information and business data of the collected government service items; Encrypted transmission and storage module, used to encrypt, transmit and store data through hash encryption algorithm to ensure data security; The update module is used to update the data in the blockchain using a distributed node consensus algorithm to ensure data consistency; Smart contract module, which is used to implement business data transaction smart contract algorithm using Hardhat framework to prevent data tampering; The traceability analysis module is used to implement the authorization service traceability analysis and information verification of a single business through the data service interface.

[0013] An electronic device comprising: a memory and at least one processor; Wherein, the memory stores a computer program; The at least one processor executes the computer program stored in the memory, so that the at least one processor executes the government service authorization tracing analysis method as described above.

[0014] A computer-readable storage medium having a computer program stored therein, wherein the computer program can be executed by a processor to implement the government service authorization traceability analysis method as described above.

[0015] The government service authorization service tracing analysis method, system, device and medium of the present invention have the following advantages: (1) The present invention combines blockchain technology with the authorization and entrustment service platform to build a government service authorization traceability analysis model, sign and encrypt the authorization information and service information and successfully upload them to the chain, realize the traceability analysis of the government service authorization service scenario, improve the credibility of the authorization service, enhance the user experience of applicants and staff, and simultaneously establish a traceability response mechanism, effectively improving the efficiency of digital government service services; (ii) The present invention has a fast response speed in a high-concurrency environment and can quickly realize data tracing and verification services, ensuring that the original authorization and entrustment process is not affected; (III) The present invention takes into account the accuracy of data and the stability of the database when implementing data, ensuring high reliability and high availability of system use and service provision; (IV) The present invention takes into account network security requirements in network transmission, and uses reverse proxy and secure encryption technology through the gateway to ensure the traffic control and secure access mechanism of the application, thereby improving the stability and reliability of the model; (V) The present invention uses leading algorithms and technologies at home and abroad to ensure the high availability and feasibility of data processing logic; (VI) The blockchain technology used in the present invention is a distributed data organization method and operation mode that has been widely used recently. It has the advantages of decentralization, openness, independence, security, anonymity, non-tamperability, and traceability. Blockchain technology can not only accurately analyze the flow of data, but also distinguish the authenticity of information; (VII) The present invention is applied to government service businesses to implement an integrity solution for the authorization service traceability analysis model based on blockchain technology, and is designed based on data correlation coupling and implementation operability. At the same time, it relies on the springcloud framework and blockchain technology for design and development to improve model reliability and scalability. It also relies on the hash SHA256 algorithm for data encryption to improve model stability and security. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] Attached Figure 1 Flow chart of the traceability analysis method for government service authorization Attached Figure 2 A schematic diagram for building a business chain; Attached Figure 3 This is a schematic diagram of the PBFT process; Attached Figure 4 Design an architecture diagram for the government service authorization traceability analysis system. DETAILED DESCRIPTION

[0018] The government service authorization service traceability analysis method, system, equipment and medium of the present invention are described in detail below with reference to the drawings and specific embodiments of the specification.

[0019] Embodiment 1: As attached Figure 1 As shown, this embodiment provides a method for tracing and analyzing the source of government service authorization, and the method is specifically as follows: S1. Combine blockchain technology with the authorization and entrustment service platform to collect authorization information and service data of government service items in real time through data collection procedures; S2. Use the block chain structure in the blockchain to store, verify and manage the collected authorization information and business data of government service items; S3, encrypt data transmission and storage through hash encryption algorithm to ensure data security; S4. Use a distributed node consensus algorithm to update data in the blockchain to ensure data consistency; S5. Use the Hardhat framework to implement the business data transaction smart contract algorithm to prevent data tampering; S6. Realize the authorization service traceability analysis and information verification of a single business through the data service interface.

[0020] The data collection program in step S1 of this embodiment is built based on the springcloud framework, and the data collection program collects content including authorization data and business processing data of each department; To ensure the real-time and integrity of data collection, the data collection program uses the http interface, and the interface type is application / json, post type; The data collection program includes an authorization information entry interface and a business information entry interface; among them, the input parameters of the authorization information entry interface include id (data unique identifier), authorizer name, authorizer ID number, authorizer contact information, authorized person name, authorized person ID number, authorized person contact information, authorization matters, authorization type and authorization time; the output parameters of the authorization information entry interface include a successful save flag and a blockchain flag; the input parameters of the business information entry interface include id (data unique identifier), authorization id (corresponding authorization unique identifier), business name, processing time, processing status, approver, approval opinion, department and processing matter information; the output parameters of the authorization information entry interface include a successful save flag and a blockchain flag; In response to high concurrency situations, the data collection program supports deployment in a distributed mode to achieve real-time data entry for each department without causing congestion. After data collection, it is first parsed and decomposed into block data, then encrypted and waits for the results to be saved.

[0021] As attached Figure 2 As shown, the authorization information and service data of the government service items collected in step S2 of this embodiment use queue and one-way linked list technology to build a service chain, which is as follows: S201. Divide the authorization process information and service data of each business into two blocks. To ensure high concurrent access to data, a queue is used to put the received block information into the queue in the order of the incoming time according to the first-in-first-out principle. Then, the corresponding throughput is set according to the performance of the blockchain for block access. S202. Store the obtained blocks in the business chain in a one-way list storage manner, where each block includes a block header + a block body; wherein the block header includes a block hash, a miniature reference to the previous block address, a timestamp of block generation, transaction status of this block, size of this block and difficulty of this block.

[0022] The hash encryption algorithm in step S3 of this embodiment adopts the SHAA256 algorithm. Through the SHA256 encryption algorithm, the authorization information and the handling process information involved in the business are encrypted, transmitted and stored in an orderly manner to ensure the security of the data. The SHA256 algorithm is an iterative hash function of the Merkle-Damgard structure. The calculation process of the iterative hash function of the Merkle-Damgard structure is divided into two stages: message preprocessing and main loop. In the message preprocessing stage, the message padding and extended padding are completed, and the input original message is converted into n 512-bit message blocks. Each message block is then processed using the SHA256 compression function. The calculation process is an iterative calculation process. When the last message block (the nth block) is processed, the final output value is the SHA256 value of the input original message.

[0023] Blockchain is a distributed decentralized network that provides immutability, privacy, security, and transparency. No central authority exists to validate and verify transactions, but every transaction in the blockchain is considered fully secure and verifiable. The consensus algorithm is a procedure by which all peers of a blockchain network reach a common agreement on the current state of the distributed ledger. In this way, the consensus algorithm enables the reliability of the blockchain network and establishes trust between unknown peers in a distributed computing environment.

[0024] As attached Figure 3 As shown, the distributed node consensus algorithm in step S4 of this embodiment adopts PBFT, which is a Byzantine fault-tolerant consortium chain algorithm. The specific process of PBFT is as follows: ①The client sends a request to invoke the service operation of the primary node; ②The primary node broadcasts the request to the backup node; ③ Each node executes the request and then sends a reply to the client; ④ If the client receives no less than f + 1 (assuming there are 3f nodes in total) identical responses from different nodes, the client will consider the identical responses to be the return results after the operation.

[0025] A smart contract is a computer protocol designed to communicate, verify or execute a contract in an informational manner. Smart contracts allow for trusted transactions without a third party, which are traceable and irreversible. The Hardhat framework is a development environment specifically designed for Ethereum smart contract development. It provides a set of tools and utilities that make it easier to compile, test and deploy smart contracts on the Ethereum network.

[0026] The specific algorithm rules of the business data transaction smart contract in step S5 of this embodiment are as follows: ① Through the smart contract transaction request initiated by the user, the data involved in the transaction request is divided into on-chain data and off-chain data. The on-chain data is processed by consensus through the consensus node of the blockchain, and the off-chain data is calculated and processed through program logic analysis and verification proof is provided; ② Determine whether the business information in the transaction request message is consistent with the received content, reach a real-time consensus on the judgment result, and execute the smart contract based on the consensus result.

[0027] The authorization service traceability analysis and information verification of a single business in step S6 of this embodiment is performed through the http interface, and the format of providing data traceability and verification services to the outside is as follows: ① Authorization information tracing service: The input parameter of the authorization information tracing service is the business serial number; the output parameter of the authorization information tracing service is the returned authorization information; the authorization information includes the authorization time, the information of the authorizer, the information of the authorized person and the authorization matters; ②Business information tracing service: The input parameter of the business information tracing service is the business serial number; the output parameter of the business information tracing service is the returned business information; among them, the business information includes application time, authorizer information, authorized person information, matter information, handling link information, handling status, approval time and handling opinions; ③Data verification service: The input parameters of the data verification service are the business serial number, authorizer, authorized person and authorization ID; the output parameters of the data verification service are the returned authorization confirmation information; among them, the authorization confirmation information includes the verification result, authorization time, authorizer information, authorized person information and authorization matters.

[0028] Embodiment 2: This embodiment provides a government service authorization service traceability analysis system, which is used to implement the government service authorization service traceability analysis method as in Embodiment 1; the system includes: The data collection module is used to combine blockchain technology with the authorization and entrustment service platform to collect authorization information and service business data of government service items in real time; The storage, verification and management module is used to use the block chain structure in the blockchain to store, verify and manage the authorization information and business data of the collected government service items; Encrypted transmission and storage module, used to encrypt, transmit and store data through hash encryption algorithm to ensure data security; The update module is used to update the data in the blockchain using a distributed node consensus algorithm to ensure data consistency; Smart contract module, which is used to implement business data transaction smart contract algorithm using Hardhat framework to prevent data tampering; The traceability analysis module is used to implement the authorization service traceability analysis and information verification of a single business through the data service interface.

[0029] As attached Figure 1 As shown in the figure, the infrastructure layer provides the basic environment required by the model, such as the network environment, server environment, storage resources, and security equipment. The data resource layer mainly provides the data support environment for the platform operation. The basic support layer mainly implements the underlying data services of the blockchain based on various algorithms and provides functional support for upper-level applications. On the basis of a unified data environment system, the application layer connects various applications through inherent data sharing and collaborative relationships, provides service capabilities to upper-level users, and provides application channels to users at the user and service levels.

[0030] Deploy the system application and database on the original server, initialize various algorithm engine templates, and build a proxy server to realize data collection and docking forwarding.

[0031] Embodiment 3: This embodiment also provides an electronic device, including: a 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 service authorization tracing analysis method in any embodiment of the present invention.

[0032] The processor may be a central processing unit (CPU), 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.

[0033] 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.

[0034] Embodiment 4: This embodiment also provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions are loaded by a processor, so that the processor executes the government service authorization service tracing analysis method 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.

[0035] 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.

[0036] Examples of storage media for providing program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RYM, DVD-RW, DVD+RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, program code may be downloaded from a server computer via a communication network.

[0037] 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.

[0038] 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.

[0039] 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 service authorization traceability analysis method, characterized in that: The method is as follows: Combine blockchain technology with the authorization and entrustment service platform to collect authorization information and service data of government service items in real time through data collection procedures; Use the block chain structure in the blockchain to store, verify and manage the authorization information and business data of collected government service items; Encrypt data transmission and storage through hash encryption algorithm; Use distributed node consensus algorithm to update data in the blockchain; Use the Hardhat framework to implement business data transaction smart contract algorithms to prevent data tampering; The data service interface is used to realize the authorization service traceability analysis and information verification of a single business.

2. The government service authorization service tracing analysis method according to claim 1 is characterized in that: The data collection program is built based on the springcloud framework. The data collection program collects authorization data and business processing data of various departments. The data collection program uses the http interface to connect, and the interface type is application / json, post type; The data collection program includes an authorization information entry interface and a business information entry interface; among them, the input parameters of the authorization information entry interface include id, name of the authorizer, ID number of the authorizer, contact information of the authorizer, name of the authorized person, ID number of the authorized person, contact information of the authorized person, authorization matters, authorization type and authorization time; the output parameters of the authorization information entry interface include a successful save mark and a blockchain mark; the input parameters of the business information entry interface include id, authorization id, business name, processing time, processing status, approver, approval opinion, department and processing matter information; the output parameters of the authorization information entry interface include a successful save mark and a blockchain mark; In response to high concurrency situations, the data collection program supports deployment in a distributed mode to achieve real-time data entry for each department without causing congestion. After data collection, it is first parsed and decomposed into block data, then encrypted and waits for the results to be saved.

3. The government service authorization service tracing analysis method according to claim 1 is characterized in that: The authorization information and business data of government service items collected are constructed using queue and one-way linked list technology to build a business chain, as follows: The authorization process information and service data of each business are divided into two blocks. The received block information is put into the queue in the order of the incoming time according to the first-in-first-out principle in a queue manner, and then the corresponding throughput is set according to the performance of the blockchain for block access; The obtained blocks are stored in the business chain in a one-way list storage format, where each block includes a block header + a block body; the block header includes the block hash, a miniature reference to the previous block address, a timestamp of block generation, the transaction status of this block, the size of this block, and the difficulty of this block.

4. The government service authorization service tracing analysis method according to claim 1 is characterized in that: The hash encryption algorithm uses the SHAA256 algorithm, through which the authorization information and handling process information involved in the business are encrypted, transmitted and stored in an orderly manner; The SHA256 algorithm is an iterative hash function of the Merkle-Damgard structure. The calculation process of the iterative hash function of the Merkle-Damgard structure is divided into two stages: message preprocessing and main loop. In the message preprocessing stage, the message padding and extended padding are completed, and the input original message is converted into n 512-bit message blocks. Each message block is then processed using the SHA256 compression function. The calculation process is an iterative calculation process. When the last message block is processed, the final output value is the SHA256 value of the input original message.

5. The government service authorization service tracing analysis method according to claim 1 is characterized in that: The distributed node consensus algorithm uses PBFT, which is a Byzantine fault-tolerant consortium chain algorithm. The specific process of PBFT is as follows: ①The client sends a request to invoke the service operation of the primary node; ②The primary node broadcasts the request to the backup node; ③ Each node executes the request and then sends a reply to the client; ④ If the client receives no less than f + 1 identical responses from different nodes, the client will consider the identical responses as the return results after the operation.

6. The government service authorization service tracing analysis method according to claim 1 is characterized in that: The specific algorithm rules of the business data transaction smart contract are as follows: Through the smart contract transaction request initiated by the user, the data involved in the transaction request is divided into on-chain data and off-chain data. The on-chain data is processed by consensus through the consensus node of the blockchain, and the off-chain data is calculated and processed through program logic analysis and verification proof is provided; It determines whether the business information in the transaction request message is consistent with the received content, reaches a real-time consensus on the judgment result, and executes the smart contract based on the consensus result.

7. The government service authorization service tracing analysis method according to any one of claims 1 to 6, characterized in that: The authorization service traceability analysis and information verification of a single business is carried out through the http interface. The format of providing data traceability and verification services to the outside world is as follows: ① Authorization information tracing service: The input parameter of the authorization information tracing service is the business serial number; the output parameter of the authorization information tracing service is the returned authorization information; the authorization information includes the authorization time, the information of the authorizer, the information of the authorized person and the authorization matters; ②Business information tracing service: The input parameter of the business information tracing service is the business serial number; the output parameter of the business information tracing service is the returned business information; among them, the business information includes application time, authorizer information, authorized person information, matter information, handling link information, handling status, approval time and handling opinions; ③Data verification service: The input parameters of the data verification service are the business serial number, authorizer, authorized person and authorization ID; the output parameters of the data verification service are the returned authorization confirmation information; among them, the authorization confirmation information includes the verification result, authorization time, authorizer information, authorized person information and authorization matters.

8. A government service authorization traceability analysis system, characterized in that: The system is used to implement the government service authorization service tracing analysis method as described in any one of claims 1 to 7; the system includes: The data collection module is used to combine blockchain technology with the authorization and entrustment service platform to collect authorization information and service business data of government service items in real time; The storage, verification and management module is used to use the block chain structure in the blockchain to store, verify and manage the authorization information and business data of the collected government service items; Encrypted transmission and storage module, used for encrypting, transmitting and storing data through hash encryption algorithm; Update module, used to update data in the blockchain using a distributed node consensus algorithm; Smart contract module, which is used to implement business data transaction smart contract algorithm using Hardhat framework to prevent data tampering; The traceability analysis module is used to implement the authorization service traceability analysis and information verification of a single business through the data service interface.

9. An electronic device, characterized in that: include: memory and at least one processor; Wherein, the memory stores a computer program; The at least one processor executes the computer program stored in the memory, so that the at least one processor executes the government service authorization tracing analysis method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which can be executed by a processor to implement the government service authorization traceability analysis method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Government affair information processing method and device based on block chain, equipment and medium

    CN110826992A

  • Trusted data authorization method, certificate authorization method and service access method

    CN112306978A

  • Consensus smart contract algorithm

    CN114048264A

  • Government affair service intelligent approval center platform based on block chain technology

    CN114997809A

  • Block chain-based entrusted authorization management method and system

    CN116401696A