CN112712367A - Cross-link evidence storing method based on block chain - Google Patents

Cross-link evidence storing method based on block chain Download PDF

Info

Publication number
CN112712367A
CN112712367A CN202110047931.7A CN202110047931A CN112712367A CN 112712367 A CN112712367 A CN 112712367A CN 202110047931 A CN202110047931 A CN 202110047931A CN 112712367 A CN112712367 A CN 112712367A
Authority
CN
China
Prior art keywords
chain
information
storing
verification
certificate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110047931.7A
Other languages
Chinese (zh)
Inventor
奚海峰
曹恒
胡智威
张业龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bianjie Intelligent Technology Co ltd
Original Assignee
Shanghai Bianjie Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Bianjie Intelligent Technology Co ltd filed Critical Shanghai Bianjie Intelligent Technology Co ltd
Priority to CN202110047931.7A priority Critical patent/CN112712367A/en
Publication of CN112712367A publication Critical patent/CN112712367A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention discloses a block chain-based cross-chain evidence storing method, which comprises the following steps: building a certificate storing chain source chain; the evidence storing chain acquires the consensus state information of the source chain at a certain height and is used for subsequently checking cross-chain evidence storing data; constructing a data protocol capable of analyzing a source chain and simultaneously sending transaction information to a light client of a certificate storing chain; the light client reads the transaction information; the light client side uses the analyzed transaction information, constructs the transaction information according to the transaction format on the deposit chain, and sends the transaction information on the deposit chain; reading data stored outside the chain and transmitting the data to a certificate storing chain; the certificate storing chain backups and stores the data in the off-chain storage of the chain; and the user to be verified accesses the verification chain according to the verification storage identification on the source chain provided by the verification storage user, searches the verification storage information subjected to validity verification, and compares the verification storage information with the data to be verified to obtain a verification result. The certificate storing service is specially processed, and the service can be still carried out in a protected closed alliance chain environment, so that the service safety is ensured.

Description

Cross-link evidence storing method based on block chain
Technical Field
The invention belongs to the technical field of block chains, and particularly relates to a block chain-based cross-chain evidence storing method.
Background
The blockchain products currently in use for certification are typically federation chains. The alliance chain means that only specific parties can participate in network consensus, ledger accounting or information reading and the like. And by adopting the cross-chain technology, the interoperability between block chains can be realized. The cross-chain service can further extend and realize the interaction between heterogeneous block chains and between block chains and non-block chain systems on the basis of a cross-chain technology.
The existing block chain evidence storing methods are all in the chain. The general environment of the alliance chain environment is relatively closed, a user who hopes to be verified is difficult to join the alliance chain to complete the verification process through a mode of accounting and consensus, the verification information is generally obtained through a mode of chain application, the public credibility of the verification information on the chain can be influenced undoubtedly, and meanwhile, the further circulation and use of the verification information can also be influenced. On the other hand, the number of federation link points is generally small because the evidence information exists only in a single chain. When the basic environment of the alliance chain is damaged (such as errors of consensus protocol, maintenance of alliance chain environment, storage failure and the like), the certificate information can be damaged or unavailable, and the operation of certificate service is influenced.
Disclosure of Invention
The invention provides a block chain-based cross-link evidence storing method, which aims to solve the problem of reliability of evidence storing information in the prior art.
The invention relates to a block chain-based cross-chain evidence storing method, which comprises the following steps of:
s1, building a alliance chain device which is specially used for being publicly accessible and used for accessing the internal certificate storage records of each block chain, namely a certificate storage chain, and corresponding to a block chain system which is specifically responsible for business, namely a source chain;
s2, obtaining the consensus state information of the source chain at a certain height by the evidence storing chain, and using the consensus state information for subsequently checking the cross-chain evidence storing data;
s3, constructing a data protocol capable of analyzing the source chain and simultaneously sending transaction information to a light client of the certificate storing chain; s4, when the source chain has the deposit transaction, the light client end reads the transaction information and checks the validity of the transaction information and the validity of the corresponding certification information;
s5, the light client side uses the analyzed transaction information to construct the transaction information according to the transaction format on the certificate-storing chain and sends the transaction information on the certificate-storing chain;
s6, according to the need, the certificate storing transaction includes data such as files stored in the chain external storage, namely 'Hash chain up', the light client end reads the data stored outside the chain and transmits the data to the certificate storing chain according to the information of the certificate storing transaction on the source chain; the certificate storing chain backups and stores the data in the off-chain storage of the chain;
s7, the user to be verified accesses the verification chain according to the verification storage identification on the source chain provided by the verification storage user, the verification storage information subjected to validity verification is found and is compared with the data to be verified, and the verification storage information is simple text information which can be directly compared; the verification information is in a Hash chain connection mode, and the data to be verified are subjected to Hash and then are compared with the original Hash to obtain a verification result.
Further preferably, in the step S1, the certificate storing information may be directly transmitted to the existing blockchain network by a cross-chain relay without separately building a certificate storing chain; transmitting the cross-chain to a plurality of block chains simultaneously; and repeating the chain crossing process for multiple times, wherein the evidence storage information flows through a plurality of block chains.
The invention has the beneficial effects that: the certificate storing service is specially processed, and the service can be still carried out in a protected closed alliance chain environment, so that the service safety is ensured; when the verification is carried out, the verification information and the related chain are verified and transmitted through the cross-link relay device, and the block chain which can externally provide the inquiry verification information is provided, so that the related verification information can be verified in a more credible range without intervention of a verifying party into the originally verified block chain.
Drawings
Fig. 1 is a schematic flow chart of a block chain-based cross-chain evidence storing method according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a block chain-based cross-chain evidence storing method of the present embodiment includes the following steps: s1, building a alliance chain device which is specially used for being publicly accessible and used for accessing the internal certificate storage records of each block chain, namely a certificate storage chain, and corresponding to a block chain system which is specifically responsible for business, namely a source chain;
s2, obtaining the consensus state information of the source chain at a certain height by the evidence storing chain, and using the consensus state information for subsequently checking the cross-chain evidence storing data;
s3, constructing a data protocol capable of analyzing the source chain and simultaneously sending transaction information to a light client of the certificate storing chain; s4, when the source chain has the deposit transaction, the light client end reads the transaction information and checks the validity of the transaction information and the validity of the corresponding certification information;
s5, the light client side uses the analyzed transaction information to construct the transaction information according to the transaction format on the certificate-storing chain and sends the transaction information on the certificate-storing chain;
s6, according to the need, the certificate storing transaction includes data such as files stored in the chain external storage, namely 'Hash chain up', the light client end reads the data stored outside the chain and transmits the data to the certificate storing chain according to the information of the certificate storing transaction on the source chain; the certificate storing chain backups and stores the data in the off-chain storage of the chain;
and S7, accessing the verification chain by the user to be verified according to the verification storage identification on the source chain provided by the verification storage user, searching the verification storage information subjected to validity verification, and comparing the verification storage information with the data to be verified, wherein the verification storage information is simple text information and can be directly compared to obtain a verification result.
Example 2: the cross-chain evidence storing method based on the block chain in the embodiment comprises the following steps:
s1, establishing a alliance chain device which is specially used for being publicly accessible and used for accessing certificate storage records in each block chain, namely a certificate storage chain, and corresponding to a block chain system which is specifically responsible for business, namely a source chain;
s2, obtaining the consensus state information of the source chain at a certain height by the evidence storing chain, and using the consensus state information for subsequently checking the cross-chain evidence storing data;
s3, constructing a data protocol capable of analyzing the source chain and simultaneously sending transaction information to a light client of the certificate storing chain; s4, when the source chain has the deposit transaction, the light client end reads the transaction information and checks the validity of the transaction information and the validity of the corresponding certification information;
s5, the light client side uses the analyzed transaction information to construct the transaction information according to the transaction format on the certificate-storing chain and sends the transaction information on the certificate-storing chain;
s6, according to the need, the certificate storing transaction includes data such as files stored in the chain external storage, namely 'Hash chain up', the light client end reads the data stored outside the chain and transmits the data to the certificate storing chain according to the information of the certificate storing transaction on the source chain; the certificate storing chain backups and stores the data in the off-chain storage of the chain;
and S7, accessing the verification chain by the user to be verified according to the verification identification on the source chain provided by the verification user, finding the verification information subjected to validity verification, comparing the verification information with the data to be verified, wherein the verification information is in a Hash chain connection mode, and comparing the data to be verified after Hash with the original Hash to obtain a verification result.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (2)

1. A block chain-based cross-link evidence storing method is characterized in that: the method comprises the following steps:
(S1) establishing a alliance chain device which is specially used for being publicly accessible and used for accessing the internal certificate storage records of each block chain, namely a certificate storage chain, and is called a source chain corresponding to a block chain system which is specifically responsible for business;
(S2) the evidence-storing chain acquires the consensus state information of the source chain at a certain height, and the consensus state information is used for subsequently checking the cross-chain evidence-storing data;
(S3), constructing a data protocol capable of analyzing the source chain and simultaneously sending transaction information to a light client of a certificate storing chain;
(S4), when the source chain has the deposit transaction, the light client end reads the transaction information and checks the validity of the transaction information and the validity of the corresponding certification information;
(S5) the light client uses the analyzed transaction information to construct the transaction information according to the transaction format on the certificate-storing chain and sends the transaction information on the certificate-storing chain;
(S6), according to the need, the certificate storing transaction includes data such as files stored in the chain external storage, namely 'Hash chain up', the light client end reads the data stored outside the chain and transmits the data to the certificate storing chain according to the information of the certificate storing transaction on the source chain; the certificate storing chain backups and stores the data in the off-chain storage of the chain;
(S7), the user to be verified accesses the verification chain according to the verification identification on the source chain provided by the verification user, finds the verification information subjected to validity verification, and compares the verification information with the data to be verified, wherein the verification information is simple text information which can be directly compared; the verification information is in a Hash chain connection mode, and the data to be verified are subjected to Hash and then are compared with the original Hash to obtain a verification result.
2. The method of claim 1, wherein the method comprises: in the step (S1), the certificate-storing chain is not separately established, but the certificate-storing information is directly transmitted to the existing blockchain network by the cross-chain relay; transmitting the cross-chain to a plurality of block chains simultaneously; and repeating the chain crossing process for multiple times, wherein the evidence storage information flows through a plurality of block chains.
CN202110047931.7A 2021-01-14 2021-01-14 Cross-link evidence storing method based on block chain Pending CN112712367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110047931.7A CN112712367A (en) 2021-01-14 2021-01-14 Cross-link evidence storing method based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110047931.7A CN112712367A (en) 2021-01-14 2021-01-14 Cross-link evidence storing method based on block chain

Publications (1)

Publication Number Publication Date
CN112712367A true CN112712367A (en) 2021-04-27

Family

ID=75548983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110047931.7A Pending CN112712367A (en) 2021-01-14 2021-01-14 Cross-link evidence storing method based on block chain

Country Status (1)

Country Link
CN (1) CN112712367A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113537745A (en) * 2021-07-06 2021-10-22 招商银行股份有限公司 Business processing method, device, medium and computer program product
CN114979171A (en) * 2022-08-01 2022-08-30 北京微芯区块链与边缘计算研究院 Government affair data sharing control method based on block chain intelligent contract

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020956A (en) * 2018-11-26 2019-07-16 阿里巴巴集团控股有限公司 A kind of exchange method and system, computer equipment and storage medium of transregional piece of chain
CN110020902A (en) * 2018-12-27 2019-07-16 阿里巴巴集团控股有限公司 Card method and access method, device, electronic equipment are deposited across chain
US20190340266A1 (en) * 2018-05-01 2019-11-07 International Business Machines Corporation Blockchain implementing cross-chain transactions
CN110717759A (en) * 2019-10-18 2020-01-21 成都九宽科技有限公司 Cross-chain anchored block chain heterogeneous system
CN111159293A (en) * 2019-12-25 2020-05-15 杭州加密矩阵科技有限公司 Cross-link information verification method based on light node technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190340266A1 (en) * 2018-05-01 2019-11-07 International Business Machines Corporation Blockchain implementing cross-chain transactions
CN110020956A (en) * 2018-11-26 2019-07-16 阿里巴巴集团控股有限公司 A kind of exchange method and system, computer equipment and storage medium of transregional piece of chain
CN110020902A (en) * 2018-12-27 2019-07-16 阿里巴巴集团控股有限公司 Card method and access method, device, electronic equipment are deposited across chain
CN110717759A (en) * 2019-10-18 2020-01-21 成都九宽科技有限公司 Cross-chain anchored block chain heterogeneous system
CN111159293A (en) * 2019-12-25 2020-05-15 杭州加密矩阵科技有限公司 Cross-link information verification method based on light node technology

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113537745A (en) * 2021-07-06 2021-10-22 招商银行股份有限公司 Business processing method, device, medium and computer program product
CN114979171A (en) * 2022-08-01 2022-08-30 北京微芯区块链与边缘计算研究院 Government affair data sharing control method based on block chain intelligent contract
CN114979171B (en) * 2022-08-01 2022-11-01 北京微芯区块链与边缘计算研究院 Government affair data sharing control method based on block chain intelligent contract

Similar Documents

Publication Publication Date Title
CN109191144B (en) Laboratory information service management system based on block chain and working method
CN110784346B (en) Reputation value-based PBFT consensus system and method
US11443042B2 (en) Blockchain-based software version data management system and establishing method thereof
CN111010376B (en) Master-slave chain-based Internet of things authentication system and method
AU2007215180B2 (en) System and method for network-based fraud and authentication services
CN111295660A (en) Computer-implemented system and method for connecting blockchains to digital twins
CN112508566A (en) Alliance chain-based cross-chain private transaction method and equipment
CN103150637B (en) Terminal real-name management system and implementation method are collected in express delivery based on barcode technology
CN112712367A (en) Cross-link evidence storing method based on block chain
CN110309197B (en) Project data verification method and device
CN109391612A (en) A kind of identification confirmation system and method based on block chain
CN105554133A (en) HTTP remote data access system and method
CN110880146A (en) Block chain chaining method, device, electronic equipment and storage medium
CN111737735A (en) BDChrain block chain service platform
CN113221093B (en) Single sign-on system, method, equipment and product based on block chain
CN108040090A (en) A kind of system combination method of more Web
CN101600169A (en) A kind of authentication method and device to the access mail server apparatus
CN104539636A (en) Video evidence service system
CN109617929A (en) Node and user's interactive authentication method and system under block chain network mode
CN101145912A (en) An electronic order secure transmission method based on ebMS
CN115550067B (en) Industrial Internet interoperation method, system and equipment based on distributed identification
US20230087954A1 (en) Unidirectional gateway mediated multiplexing of concurrent data message streams
CN116304265A (en) Electronic file management method and system based on blockchain
US11394533B2 (en) Method for storing database security audit records
CN114626849A (en) Data protection method and protection device based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination