CN112712367A - Cross-link evidence storing method based on block chain - Google Patents
Cross-link evidence storing method based on block chain Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000012795 verification Methods 0.000 claims abstract description 48
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3821—Electronic credentials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Theoretical Computer Science (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
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
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.
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113537745A (en) * | 2021-07-06 | 2021-10-22 | 招商银行股份有限公司 | Business processing method, apparatus, 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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110020902A (en) * | 2018-12-27 | 2019-07-16 | 阿里巴巴集团控股有限公司 | Card method and access method, device, electronic equipment are deposited across chain |
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 |
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 |
-
2021
- 2021-01-14 CN CN202110047931.7A patent/CN112712367A/en active Pending
Patent Citations (5)
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113537745A (en) * | 2021-07-06 | 2021-10-22 | 招商银行股份有限公司 | Business processing method, apparatus, 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 | |
CN110012015B (en) | Block chain-based Internet of things data sharing method and system | |
CN111295660B (en) | Computer-implemented system and method for connecting blockchain to digital twinning | |
US11443042B2 (en) | Blockchain-based software version data management system and establishing method thereof | |
CN109034833B (en) | A blockchain-based product traceability information management system and method | |
CN110784346A (en) | A PBFT consensus system and method based on reputation value | |
CN112508566A (en) | Alliance chain-based cross-chain private transaction method and equipment | |
CN110309197B (en) | Project data verification method and device | |
CN103150637B (en) | Terminal real-name management system and implementation method are collected in express delivery based on barcode technology | |
CN109684287A (en) | Gateway information sharing query method and system based on block chain | |
CN105554133A (en) | HTTP remote data access system and method | |
CN112712367A (en) | Cross-link evidence storing method based on block chain | |
CN114024719B (en) | Medical information safety management system based on blockchain technology | |
CN110930153A (en) | Block chain privacy data management method and system based on hidden third-party account | |
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 | |
US11394533B2 (en) | Method for storing database security audit records | |
US20230087954A1 (en) | Unidirectional gateway mediated multiplexing of concurrent data message streams | |
CN115601168A (en) | Cross-link asset transaction method, system and equipment based on relay link | |
CN109617929A (en) | Node and user's interactive authentication method and system under block chain network mode | |
CN116708463B (en) | Information processing method, device, equipment and medium based on multi-block chain | |
CN101145912A (en) | A method of secure transmission of electronic orders based on ebMS | |
CN112600874B (en) | Node joining method and device, electronic equipment and readable storage medium | |
CN115567268A (en) | Cross-domain credible authentication method based on multi-layer block chain | |
CN116029729B (en) | Cross-link method and system based on dynamic access application link management contract mode |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210427 |