One-code universal trusted service system and method based on block chain

Through the blockchain -based one -code universal credit service system, the problem of difficulty in data circulation between urban service QR code application platforms has been solved, and the interoperability and sharing of cross -application QR code data is realized, which enhances the credibility of the data. Sexuality and solving the problem of liability for data errors.

CN119337900AActive Publication Date: 2025-01-21BEIHANG UNIV
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411482983.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-01-21
Estimated Expiration
2044-10-23

AI Technical Summary

Technical Problem

It is difficult to realize data circulation and sharing between existing urban service QR code application platforms, which makes it difficult to communicate, recognize and trust business data, and hinders the process of smart city construction.

Method used

Adopt a blockchain -based one -code general -purpose credit service system, through business information packaging modules, data upper modules, QR code mutual recognition modules, and responsibility traceability modules to realize the interoperability, mutual recognition, and available two -dimensional code data data. Believe shared.

Benefits of technology

The interoperability and sharing of cross -code application business data is realized. Through the tampering of the blockchain, the credibility of the data is enhanced, and the responsibility of data errors is solved through the retrospective traceability module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119337900A_ABST
    Figure CN119337900A_ABST
Patent Text Reader

Abstract

The invention relates to a one-code universal trusted service system and method based on a block chain. The system comprises a service information packaging module, a service information data chaining module, a two-dimensional code mutual recognition module and a responsibility tracing module based on the block chain. A user shows a two-dimensional code of a related application, the one-code universal trusted service system based on the block chain analyzes and obtains information in the two-dimensional code, service information is recorded on the block chain, other application programs can access, verify and trace responsibility to the service information through the chain code, and cross-application two-dimensional code intercommunication and mutual recognition are achieved. As the cross-application two-dimensional code service data has a non-tampering evidence on the block chain, the data between different two-dimensional code application platforms in the one-code universal trusted service system based on the block chain has the advantages of being trusted and mutually recognized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of universal one-code for urban services, and specifically relates to a one-code universal trusted service system and method based on blockchain. Background Art

[0002] Cities are comprehensive carriers for advancing the construction of Digital China. Promoting the digital transformation and intelligent development of cities is a key step in building new competitive advantages for cities in the future, and it is also an inevitable requirement for promoting the modernization of urban governance systems and governance capabilities.

[0003] At present, urban service applications based on QR codes are developing rapidly, but they present an overall trend of "tens of thousands of codes galloping", that is, each QR code application platform has a QR code with an independent code system, and the QR code services across platforms are difficult to communicate with each other, the QR code reading is difficult to recognize each other, and the QR code business results are difficult to trust each other. This leads to the independence of businesses between various QR code application platforms, the difficulty in sharing business data, and the difficulty in ensuring user information privacy. This trend of tens of thousands of codes appearing at the same time but the difficulty in circulating independent data between them has greatly hindered the progress of smart city construction. Summary of the invention

[0004] In order to solve the above technical problems, the present invention provides a one-code universal trusted service system and method based on blockchain to promote the circulation and sharing of urban service QR code data.

[0005] To achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0006] On the one hand, the present invention provides a universal trusted service system based on blockchain, including: a business information encapsulation module, a business information data chain module, a QR code mutual recognition module, and a responsibility tracing module based on blockchain; wherein:

[0007] The business information encapsulation module is used to persistently store the data of the business information of the QR code application, and encapsulate the business information data into blocks stored in the blockchain for query and reading by the business information data on-chain module;

[0008] The business information data chain module is used to upload the block data generated by the business information storage module to the blockchain to record the business information data on the blockchain. The business information data on the chain provides the data basis for the QR code mutual recognition module;

[0009] A QR code mutual recognition module, which is used to obtain QR code application business information data through the blockchain, generate QR codes based on the QR code application business information data, and verify the QR code information for QR code mutual recognition;

[0010] The blockchain-based responsibility tracing module is responsible for data verification and responsibility tracing after the QR code application business process is completed.

[0011] Furthermore, the business information encapsulation module is specifically used to:

[0012] Obtain basic business information, and obtain basic QR code application business information from the QR code application platform. The basic QR code application business information includes the QR code application number, QR code type, QR code business behavior number, QR code user information number, and business-related information;

[0013] Obtain block header information, query and obtain the block header information of the block from the blockchain, the block header information includes version number, timestamp, Merkle tree root and hash value of the previous block;

[0014] Business information encapsulation, encapsulate the obtained block header information into a block header, encapsulate the obtained basic QR code application business information into a block body, encapsulate the block header and block body into a complete block, complete the business information encapsulation operation, and pass the block after the business information encapsulation is completed to the business information data chain module.

[0015] Furthermore, the business information data uplink module is specifically used for:

[0016] Pre-process the block before it is uploaded to the blockchain, calculate the hash value of the block structure, use an asymmetric encryption algorithm to digitally sign the block structure, and send it to the blockchain node;

[0017] Business information data is processed on the chain. When the blockchain node receives the processed block, it uploads it to the blockchain, completing the on-chain processing of the block containing the business information data.

[0018] Furthermore, the two-dimensional code mutual recognition module is specifically used for:

[0019] Generate a QR code. The QR code application platform sends a code generation application to the blockchain-based universal trusted service system. The blockchain-based universal trusted service system authenticates the QR code application platform. If the identity authentication fails, the code generation request is rejected. If the identity authentication passes, a QR code is generated and returned to the QR code application platform. At the same time, the block containing the application business information data is written into the blockchain through the business information data chain module. The blockchain is an alliance chain built between the blockchain-based universal trusted service system and each QR code application platform;

[0020] Verify the QR code. For the QR code generated by the same QR code application platform, directly call the information of the same QR code application platform for QR code verification, without going through the one-code universal trusted service system based on blockchain; for the QR code verification process of different QR code application platforms, first the first QR code application platform presents the QR code to the second QR code application platform, the second QR code application platform scans the QR code, obtains the information recorded in the QR code, and the second QR code application platform uploads the information to the one-code universal trusted service system based on blockchain. The one-code universal trusted service system based on blockchain analyzes whether the QR code is generated and authenticated by the one-code universal trusted service system based on blockchain. After judging that it is and the authentication is passed, the one-code universal trusted service system based on blockchain queries the relevant business data information of this QR code business on the blockchain and applies to the blockchain's smart contract to decrypt the data of the first QR code business platform. After authentication, the smart contract sends the decrypted business-related information to the second QR code application platform to complete the QR code verification process.

[0021] Furthermore, the blockchain-based responsibility tracing module is specifically used for business responsibility tracing. After the QR code application business is completed, when the QR code application platform questions the accuracy of the business information in the business process, it sends a responsibility tracing application to the blockchain-based one-code universal trusted service system and submits relevant QR code business information. After receiving the responsibility tracing application, the blockchain-based one-code universal trusted service system confirms that this business is completed through the blockchain-based one-code universal trusted service system. Cross-application mutual recognition, then through the smart contract on the blockchain to query and decrypt all business data and QR code application platform information involved in this business process, complete data verification, and determine the QR code application platform where the data is different, to achieve responsibility tracing of the QR code business.

[0022] On the other hand, the present invention provides a one-code universal trusted service method based on blockchain, comprising the following steps:

[0023] Step 1: The blockchain-based universal trusted service system receives the QR code business information and code generation application submitted by the QR code application platform, encrypts the QR code business information through the business information encapsulation module, encapsulates the encrypted QR code business information into a block and submits it to the business information data chain module; generates a QR code through the QR code mutual recognition module and returns it to the QR code application platform;

[0024] Step 2: The business information data chain module pre-processes the block and uploads it to the blockchain;

[0025] Step 3: After the user presents the cross-application QR code, the QR code application platform reads the QR code business information and submits the QR code business information and the code verification application to the blockchain-based universal trusted service system. After receiving the code verification application, the blockchain-based universal trusted service system searches the blockchain in combination with the QR code business information and returns the decrypted information to the QR code application platform.

[0026] Step 4: When the QR code application platform questions the information error during the business process, it submits a responsibility tracing application to the blockchain-based universal trusted service system. After receiving the responsibility tracing application, the blockchain-based universal trusted service system compares the business information obtained from the blockchain with the evidence provided by multiple business participants to confirm the responsible party and realize responsibility tracing.

[0027] The advantages of the present invention compared with the prior art are:

[0028] The present invention realizes the intercommunication of cross-application two-dimensional code application business data, and each business information of the cross-application two-dimensional code platform is encrypted and stored on the blockchain, so that different two-dimensional code applications registered on the one-code universal trusted service system based on the blockchain can query each other's business information after authentication, thereby realizing the sharing of two-dimensional code application business data; since the blockchain has the characteristic of tamper-proof, the cross-application two-dimensional code business data leaves an unalterable evidence on the blockchain, and the data between different two-dimensional code application platforms in the one-code universal trusted service system based on the blockchain has the advantage of being trustworthy; and when suspected data errors occur in the cross-application two-dimensional code business, the responsibility can be traced by submitting a responsibility tracing application to the one-code universal trusted service system based on the blockchain, and the responsible party for any data errors in the business process can be identified, further strengthening the trusted mutual recognition between cross-application two-dimensional code platforms. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 This is a structural diagram of a one-code universal trusted service system based on blockchain in the present invention;

[0030] Figure 2 This is a flow chart of a one-code universal trusted service method based on blockchain in the present invention. DETAILED DESCRIPTION

[0031] The specific implementation of the system of the present invention is further described below in conjunction with the accompanying drawings.

[0032] exist Figure 1In the overall system structure diagram of the present invention, the system is mainly divided into four modules, namely: business information encapsulation module, business information data chain module, QR code mutual recognition module and blockchain-based responsibility tracing module. First, the one-code universal trusted service system based on blockchain receives the QR code business information and code generation application submitted from the QR code application platform, encrypts the business information through the business information encapsulation module, and encapsulates the encrypted business information into blocks. The blocks encapsulated with business information are submitted to the business information data chain module, and the business information data chain module pre-processes the blocks. The processed blocks are uploaded to the blockchain to complete the chain processing of the QR code business information. When the user presents different application QR codes, the QR code information is read by the QR code application and the information and code verification application are submitted to the one-code universal trusted service system based on blockchain. After receiving the code verification application, the one-code universal trusted service system based on blockchain queries on the blockchain and returns the information to the QR code application platform after decryption, realizing cross-application QR code mutual recognition. When the QR code application platform questions the information errors in the business process, it submits a responsibility tracing application to the blockchain-based one-code universal trusted service system. After receiving the responsibility tracing application, the blockchain-based one-code universal trusted service system compares the business information obtained from the blockchain with the evidence provided by multiple business participants to confirm the responsible party and realize responsibility tracing.

[0033] Business information encapsulation module: used to persistently store the data of business information of QR code applications, and encapsulate the business information data into blocks stored in the blockchain for query and reading by the business information data on-chain module; the blockchain submits data in batches in blocks, and the submission of a block involves the submission of multiple data. The business information encapsulation module needs to maintain the atomicity of the data; the data to be stored includes the block header composed of the parent block hash value, version number, timestamp, and Merkle root, and the block body composed of multiple business information transaction data and hash values; the business information encapsulation module first composes the block header with the hash value, version number, timestamp, Merkle root and other information of the previous block, and obtains the hash value through hash calculation based on each business information transaction data. Each hash value uses the Merkle tree The structure performs hash calculation upward to obtain the hash value of the previous layer, stores the calculated Merkle tree root value in the block header, and then puts multiple business information transaction data and the corresponding hash value into the block body, assembles the block header and the block body to obtain the blockchain block storing the business information, and then connects each block in the order of generation time to form a chain storage structure. The first block created is called the genesis block, and its block height is 0. After that, the block height increases by 1 for each additional block, and the hash value of the previous block is recorded in the block header, thus completing the generation and encapsulation of the block; the business information encapsulation module is responsible for the calculation and assembly of the block header and block body information, and encapsulates it into blocks. The encapsulated data can be queried and read by the business information data chain module, providing a data basis for the business data chain step;

[0034] Business information data chain module: used to upload the block data generated by the business information storage module to the blockchain, so as to record the business information data on the blockchain; the block with complete structure is the block data generated by the business information storage module, including the block header composed of the hash value, version number, timestamp, Merkle root and other information of the previous block, and the block body composed of the business information transaction data; the business information data chain module first obtains the block data with complete structure from the business information encapsulation module, calculates the hash value of the block, and digitally signs it using an asymmetric encryption algorithm, then sends the block data to the blockchain node and processes it on the chain, and finally records the hash value of the evidence business data; the transaction data chain module is responsible for digitally signing the block and uploading it to the blockchain to realize the chain process of business information data. The chained business information data provides a data basis for the QR code mutual recognition module and provides data support for the realization of the QR code mutual recognition function between different applications. The hash value recorded by the business information data chain module provides a basis for the data verification step, and the chained business information data provides a data basis for the QR code mutual recognition module;

[0035] QR code mutual recognition module: used to obtain QR code application business information data through blockchain, generate QR code based on QR code application business information and verify QR code information for QR code mutual recognition; specifically, it can be divided into QR code generation process and QR code verification process; the QR code generation process is as follows: the QR code application submits information and request for QR code generation to the one-code universal trusted service system based on blockchain, and the one-code universal trusted service system based on blockchain performs identity authentication. After the identity authentication is passed, the QR code is generated and returned to the QR code application. At the same time, the application business information data is encapsulated into the block through the business information encapsulation module, and the block is written into the blockchain through the business information data chain module, wherein the blockchain is a consortium chain built between the one-code universal trusted service system based on blockchain and each QR code application platform. On this consortium chain, the one-code universal trusted service system and others serve as consensus nodes, and the remaining QR code application platforms serve as synchronization nodes. The one-code universal trusted service system synchronizes the business information to the blockchain, and the business information data chain module is responsible for storing the business information on the chain; for verification Verify the QR code. After the QR code information is uploaded to the chain, the business data has been recorded and saved on the blockchain. The process of verifying the QR code is as follows. For the QR code generated by the same QR code application platform, the information of the same QR code application platform is directly called to perform the QR code verification process. For the QR code verification process of different application QR code application platforms, first, the first QR code application platform presents the QR code to the second QR code application platform. The second QR code application platform scans the QR code content and uploads the information to the blockchain-based one-code universal trusted service system. The system determines whether the QR code is an application QR code in the one-code universal trusted service system and performs authentication. After it is determined to be a QR code and the authentication is passed, the system queries the business data related to the QR code on the blockchain node and applies to the blockchain's smart contract to decrypt the data of the first QR code application platform. After authentication, the blockchain's smart contract decrypts the business data and sends the relevant information to the second QR code application platform to complete the QR code verification process, realizing the one-code universal trusted service function of the blockchain-based QR code service;

[0036] Responsibility tracing module based on blockchain: responsible for data verification and responsibility tracing after the completion of the QR code application business process; the data verification and responsibility tracing process described therein is as follows: after the QR code application business is completed, if the QR code application platform questions the business information errors, business algorithm calculation errors and other problems in the business process, the QR code application platform shall send a responsibility tracing application to the one-code universal trusted service system based on blockchain and submit the information of the relevant QR code business. After receiving the responsibility tracing application, the one-code universal trusted service system based on blockchain shall query on the blockchain according to the submitted QR code business information. If this business is not cross-application mutual recognition through the one-code universal trusted service system based on blockchain, the responsibility tracing application shall be rejected; if this business is confirmed through the query that cross-application mutual recognition is completed through the one-code universal trusted service system based on blockchain, the smart contract shall be used to query on the blockchain to obtain all QR code application platform information involving data modification in this business process, and data verification and responsibility tracing shall be performed by querying business records.

[0037] The specific implementation process of the above modules is as follows:

[0038] 1. The specific implementation steps of the business information encapsulation module are as follows:

[0039] (1) Obtaining basic business information: Obtain basic QR code business information from the QR code application platform. The basic QR code business information includes the QR code application number AppID, the QR code type TypeID, the QR code business behavior number OperateID, the QR code user information number PeopleID, and the business-related information OperateMsg. The query table of the QR code application number AppID, the QR code type TypeID, the QR code business behavior number OperateID, the QR code user information number PeopleID, and the business-related information OperateMsg is uniformly agreed upon in the smart contract of the blockchain. For multiple business information, the hash value is calculated layer by layer through the structure of the Merkle number, and finally the Merkle tree root value calculated by the Merkle tree is used as the Merkle tree root MerkleRoot of the block and recorded in the block header;

[0040] (2) Obtaining block header information: Obtaining block header information from the blockchain query, wherein the block header information includes the version number VerID, the timestamp Time, the Merkle tree root MerkleRoot, and the hash value PreHash of the previous block, wherein the hash value of the previous block is obtained by calculating the hash value of the block header of the previous block PreHash;

[0041] (3) Business information encapsulation: encapsulate the obtained block header information into a block header, encapsulate the obtained basic business information into a block body, and encapsulate the block header and block body into a complete block to complete the business information encapsulation operation. The block header includes the version number VerID, the timestamp Time, the Merkle tree root MerkleRoot, the hash value PreHash of the previous block, and the random number Random, wherein the random number Random is generated by the timestamp Time as a seed. The introduction of the random number realizes the advantage that the block header is difficult to be counterfeited and tampered with. The block body contains the Merkle The Merkle tree corresponding to the root MerkleRoot, the nodes of the tree record multiple business information, each node relies on the Merkle tree structure to calculate the hash value layer by layer, and finally obtains the Merkle tree root MerkleRoot. When any transaction data in the block body changes, the hash value stored in the Merkle tree root will also change, and the hash value of the integrated block will also change accordingly, causing the information of other subsequent blocks in the block chain to change, thereby realizing the tamper-proof advantage of business information; the block after the business information is encapsulated is passed to the business information data chain module.

[0042] 2. The specific implementation steps of the business information data chain module are as follows:

[0043] (1) Pre-processing before the block is uploaded to the blockchain, converting the business data into a format that can be read by the blockchain. First, the hash value BlockHash is calculated for the block structure, and the block structure is digitally signed DigSign using an asymmetric encryption algorithm. The identity information of the sending application is bound to the data to ensure information tamper-proof, identity authentication, and non-repudiation. The block structure is then further serialized to facilitate information transmission, and the block is sent to the blockchain node;

[0044] (2) Business information data is processed on the chain. When the blockchain node receives the processed block, a block transaction is formed and processed on the chain. The blockchain node first broadcasts it to other nodes to form a unified transaction pool to prepare for consensus. The blockchain-based universal trusted service system uses the consensus algorithm in the smart contract SmartContract to maintain the consistency of block data. If the operation processed by the smart contract fails, the data of the smart contract will return to the historical data before the call. The failure of the operation processed by the smart contract will not cause the block to fail to be on the chain. When the operation processed by the smart contract fails, a record has been left in the block. The block is tamper-proof through hash calculation. After the consensus is reached in the blockchain-based universal trusted service system, the block Block is uploaded to the blockchain to complete the on-chain processing of the block data generated by the business information storage module.

[0045] 3. The specific implementation steps of the QR code mutual recognition module are as follows:

[0046] (1) QR code generation process: First, the QR code application platform sends a code generation application ReqGenCode to the blockchain-based universal trusted service system. The blockchain-based universal trusted service system authenticates the QR code application platform. If the identity authentication fails, the code generation request ReqGenCode will be rejected. If the identity authentication passes, a QR code QRcode will be generated. The business information data chain module generates a block Block including the business data version number VerID, timestamp Time, Merkle tree root MerkleRoot, hash value PreHash of the previous block, random number Random, QR code application number AppID, QR code type TypeID, QR code business behavior number OperateID, QR code user information number PeopleID and business-related information OperateMsg. The block Block containing the business data is chained through the business information data chain module, and the generated QR code QRcode is returned to the QR code application platform;

[0047] (2) QR code verification process: For the QR code QRcode generated by the same QR code application platform, the information of the same QR code application platform is directly called for QR code verification. The QR code verification process of the same QR code application platform does not need to go through the one-code universal trusted service system based on blockchain. For the QR code verification process of different QR code applications, first, the first QR code application platform presents the QR code to the second QR code application platform. The second QR code application platform scans the QR code content and obtains the information recorded in the QR code. The second QR code application platform uploads the information to the one-code universal trusted service system based on blockchain and sends a verification request ReqVerCode. The one-code universal trusted service system based on blockchain analyzes whether the QR code QRcode is a QR code generated by an application in the one-code universal trusted service system based on blockchain. If it is determined that the QR code QRcode is not generated by the one-code universal trusted service system based on blockchain, the verification request ReqVerCode is rejected. qVerCode, if it is determined that the QR code QRcode is generated by the universal trusted service system based on the blockchain, an authentication judgment is performed. After the authentication is passed, the universal trusted service system based on the blockchain queries the relevant data information of the QR code business on the blockchain and applies to the smart contract SmartContract to decrypt the data of the QR code business. The data of this QR code business includes the business data version number VerID, timestamp Time, Merkle tree root MerkleRoot, hash value PreHash of the previous block, random number Random, QR code application number AppID, QR code type TypeID, QR code business behavior number OperateID, QR code user information number PeopleID and business related information OperateMsg. After authentication, the smart contract SmartContract sends the decrypted business related information to the second QR code application platform to complete the QR code verification process;

[0048] 4. The specific implementation steps of the blockchain-based responsibility tracing module are as follows:

[0049] (1) Business responsibility tracing process: After the QR code application business is completed, if the QR code application platform questions the accuracy of the business information during the business process, the QR code application platform will send a responsibility tracing application ReqRes to the blockchain-based universal trusted service system and submit the relevant QR code business information, including the QR code application number AppID, QR code type TypeID, QR code business behavior number OperateID, QR code user information number PeopleID and business-related information OperateMsg. After receiving the responsibility tracing application ReqRes, the blockchain-based universal trusted service system will query the blockchain through the smart contract SmartContract based on the QR code business information. If the business is not If cross-application mutual recognition is completed through a one-code universal trusted service system based on blockchain, the responsibility tracing application ReqRes will be rejected. If this business confirms that cross-application mutual recognition is completed through a one-code universal trusted service system based on blockchain, all business data and QR code application platform information involved in this business process will be queried and decrypted through the smart contract SmartContract, and the QR code application platform involved will be notified to provide multiple evidence. The one-code universal trusted service system based on blockchain compares the business information recorded on the blockchain decrypted by multiple evidence and the smart contract SmartContract, and finally completes the data verification, determines the QR code application platform where the data is different, and determines it as the responsible party, thereby realizing the responsibility tracing of the QR code business.

[0050] On the other hand, the present invention also provides a universal trusted service method based on blockchain. Figure 2 As shown, the steps are as follows:

[0051] (1) When a user uses a QR code application, a demand for generating a QR code is generated. The QR code application submits the business information of the QR code application and the application for generating a QR code to the blockchain-based one-code universal trusted service system. After receiving the application for generating a QR code, the blockchain-based one-code universal trusted service system determines whether the QR code application platform is a QR code application in the blockchain-based one-code universal trusted service system. Based on the determination of whether it is a QR code application in the blockchain-based one-code universal trusted service system, the determination result is divided into two types: the determination that it is not a QR code application in the blockchain-based one-code universal trusted service system and the determination that it is a QR code application in the blockchain-based one-code universal trusted service system. If it is not a QR code application in the blockchain-based one-code universal trusted service system, If it is used, the blockchain-based universal trusted service system will reject the QR code application; if it is determined to be a QR code application in the blockchain-based universal trusted service system, the blockchain-based universal trusted service system will agree to the QR code application, and the blockchain-based universal trusted service system will use the business information encapsulation module to encapsulate the QR code business information, obtain the block encapsulated with the QR code business information, and the blockchain-based universal trusted service system will call the QR code mutual recognition module to authenticate the QR code application platform that issued the code generation application. After the identity authentication is passed, the QR code is generated and returned to the QR code application. After the QR code application receives the QR code generated by the blockchain-based universal trusted service system, it will display the QR code to the user;

[0052] (2) After obtaining the block encapsulating the QR code information, the blockchain-based universal trusted service system calculates the hash value of the block encapsulating the QR code business information through the business information data chain module, digitally signs it using an asymmetric encryption algorithm, and finally processes the block encapsulating the QR code business information on the chain, and records the hash value of the evidence business data;

[0053] (3) The user displays the QR code of the QR code application, and the QR code application reads the QR code information. If the QR code displayed by the user is a QR code generated by the same application, the QR code information is directly processed through the QR code application platform to complete the relevant business. If the QR code displayed by the user is a QR code generated by a different application, the QR code application sends a verification request to the blockchain-based universal trusted service system. After receiving the verification request, the blockchain-based universal trusted service system queries the blockchain through a smart contract. After the authentication is passed, the business-related information is decrypted and sent to the QR code application to complete the QR code verification process.

[0054] (4) If the QR code application platform questions the accuracy of the data in the business process, the QR code application platform shall submit a responsibility tracing application to the blockchain-based one-code universal trusted service system and submit relevant business information. After receiving the responsibility tracing application, the blockchain-based one-code universal trusted service system shall query on the blockchain. If the business information cannot be queried on the blockchain, the responsibility tracing application shall be rejected. If the business information is found on the blockchain, the responsibility tracing application shall be accepted, and all business data and QR code application platform information involved in the business process shall be queried and decrypted through smart contracts. The QR code application platform involved shall be notified to provide multiple evidence. The blockchain-based one-code universal trusted service system shall compare the multiple evidence and recorded information and determine the QR code application that provides the data difference as the responsible party.

[0055] The specific embodiments 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 embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A universal trusted service system based on blockchain, characterized in that: include: Business information encapsulation module, business information data chain module, QR code mutual recognition module, and blockchain-based responsibility tracing module; among them: The business information encapsulation module is used to persistently store the data of the business information of the QR code application, and encapsulate the business information data into blocks stored in the blockchain for query and reading by the business information data on-chain module; The business information data chain module is used to upload the block data generated by the business information storage module to the blockchain to record the business information data on the blockchain. The business information data on the chain provides the data basis for the QR code mutual recognition module; A QR code mutual recognition module, which is used to obtain QR code application business information data through the blockchain, generate QR codes based on the QR code application business information data, and verify the QR code information for QR code mutual recognition; The blockchain-based responsibility tracing module is responsible for data verification and responsibility tracing after the QR code application business process is completed.

2. According to claim 1, a universal trusted service system based on blockchain, characterized in that: The business information encapsulation module is specifically used for: Obtain basic business information, and obtain basic QR code application business information from the QR code application platform. The basic QR code application business information includes the QR code application number, QR code type, QR code business behavior number, QR code user information number, and business-related information; Obtain block header information, query and obtain the block header information of the block from the blockchain, the block header information includes version number, timestamp, Merkle tree root and hash value of the previous block; Business information encapsulation, encapsulate the obtained block header information into a block header, encapsulate the obtained basic QR code application business information into a block body, encapsulate the block header and block body into a complete block, complete the business information encapsulation operation, and pass the block after the business information encapsulation is completed to the business information data chain module.

3. According to claim 1, a universal trusted service system based on blockchain, characterized in that: The business information data uplink module is specifically used for: Pre-process the block before it is uploaded to the blockchain, calculate the hash value of the block structure, use an asymmetric encryption algorithm to digitally sign the block structure, and send it to the blockchain node; Business information data is processed on the chain. When the blockchain node receives the processed block, it uploads it to the blockchain, completing the on-chain processing of the block containing the business information data.

4. The one-code universal trusted service system based on blockchain according to claim 1 is characterized in that: The two-dimensional code mutual recognition module is specifically used for: Generate a QR code. The QR code application platform sends a code generation application to the blockchain-based universal trusted service system. The blockchain-based universal trusted service system authenticates the QR code application platform. If the identity authentication fails, the code generation request is rejected. If the identity authentication passes, a QR code is generated and returned to the QR code application platform. At the same time, the block containing the application business information data is written into the blockchain through the business information data chain module. The blockchain is an alliance chain built between the blockchain-based universal trusted service system and each QR code application platform; Verify the QR code. For the QR code generated by the same QR code application platform, directly call the information of the same QR code application platform for QR code verification, without going through the one-code universal trusted service system based on blockchain; for the QR code verification process of different QR code application platforms, first the first QR code application platform presents the QR code to the second QR code application platform, the second QR code application platform scans the QR code, obtains the information recorded in the QR code, and the second QR code application platform uploads the information to the one-code universal trusted service system based on blockchain. The one-code universal trusted service system based on blockchain analyzes whether the QR code is generated and authenticated by the one-code universal trusted service system based on blockchain. After judging that it is and the authentication is passed, the one-code universal trusted service system based on blockchain queries the relevant business data information of this QR code business on the blockchain and applies to the blockchain's smart contract to decrypt the data of the first QR code business platform. After authentication, the smart contract sends the decrypted business-related information to the second QR code application platform to complete the QR code verification process.

5. The one-code universal trusted service system based on blockchain according to claim 1 is characterized in that: The blockchain-based responsibility tracing module is specifically used for business responsibility tracing. After the QR code application business is completed, when the QR code application platform questions the accuracy of the business information in the business process, it sends a responsibility tracing application to the blockchain-based one-code universal trusted service system and submits relevant QR code business information. After receiving the responsibility tracing application, the blockchain-based one-code universal trusted service system confirms that this business is completed through cross-application mutual recognition through the blockchain-based one-code universal trusted service system. Then, through the smart contract, it queries and decrypts all the business data and QR code application platform information involved in this business process on the blockchain, completes data verification, and determines the QR code application platform where the data is different, thereby realizing the responsibility tracing of the QR code business.

6. A one-code universal trusted service method based on blockchain, characterized in that: The steps include: Step 1: The blockchain-based universal trusted service system receives the QR code business information and code generation application submitted by the QR code application platform, encrypts the QR code business information through the business information encapsulation module, encapsulates the encrypted QR code business information into a block and submits it to the business information data chain module; generates a QR code through the QR code mutual recognition module and returns it to the QR code application platform; Step 2: The business information data chain module pre-processes the block and uploads it to the blockchain; Step 3: After the user presents the cross-application QR code, the QR code application platform reads the QR code business information and submits the QR code business information and the code verification application to the blockchain-based universal trusted service system. After receiving the code verification application, the blockchain-based universal trusted service system searches the blockchain in combination with the QR code business information and returns the decrypted information to the QR code application platform. Step 4. When the QR code application platform questions the information errors in the business process, it submits a responsibility tracing application to the blockchain-based one-code universal trusted service system. After receiving the responsibility tracing application, the blockchain-based one-code universal trusted service system compares the business information obtained from the blockchain with the evidence provided by multiple business participants to confirm the responsible party and realize responsibility tracing.

Citation Information

Patent Citations

  • Identity authentication platform based on block chain

    CN111444546A

  • Multi-scene one-code management and control method and platform based on blockchain

    CN112801253A

  • One-code passing method and terminal

    CN114444860A

  • Block chain-based anti-counterfeiting two-dimensional code generation and verification system and method

    CN114595476A

  • Comprehensive code engine and code generation and verification method of comprehensive code engine

    CN116668114A