Blockchain information verification method and device, and storage medium
Patent Information
- Application Number
- CN202111664727.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2026-09-29
- Estimated Expiration
- 2041-12-31
AI Technical Summary
[0008]本发明提供了一种区块链信息验证方法、设备及存储介质,用以解决远程访问区块链资源存在的因中心化导致的脆弱性问题
[0130]本发明实施例提供的技术方案中,由于引入“验证区块链”,该区块链提供的背书签名可以查询针对业务区块链是否有来自其他应用系统的背书签名,从而可以确定业务区块链是否可信,即在扫描验证区块链上该业务区块链资源的背书签名列表,可以计算出安全可信性概率。
Smart Images

Figure CN116415304B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a blockchain information verification method, device and storage medium. Background Technology
[0002] Blockchain is being used more and more widely in various scenarios such as business cooperation and government approval. Accessing resources on the blockchain remotely via the Internet will become increasingly common.
[0003] Figure 1 The diagram illustrates a scenario for copyright protection. In processes ① to ⑤: evidence of infringement is collected via the web terminal by requesting the infringing website's page, such as a webpage snapshot or screenshot, from the blockchain and storing it on the chain.
[0004] exist In the process, the judicial web terminal retrieves evidence of infringement from the infringement evidence storage blockchain via the Internet.
[0005] A crucial prerequisite for remotely accessing blockchain resources is addressing the blockchain resources, which involves assigning an address to the blockchain resources and then accessing them from the internet.
[0006] Under current technological conditions, the traditional Internet addressing scheme is often used. That is, the blockchain designates an oracle that is open to the Internet and assigns it a URI (Uniform Resource Identifier). Remote users access the oracle through the URI and then use the blockchain's resources.
[0007] The shortcoming of existing technology is that this access scheme makes remote access to blockchain resources vulnerable to centralization. For example, if DNS is tampered with, the blockchain resources will become unreliable and untrustworthy. Summary of the Invention
[0008] This invention provides a blockchain information verification method, device, and storage medium to solve the vulnerability problem caused by centralization in remote access to blockchain resources.
[0009] This invention provides the following technical solutions:
[0010] A blockchain information verification method includes:
[0011] The verification blockchain receives queries from application systems. The queries are for checking whether the business blockchain has endorsement signatures from other application systems. The verification blockchain stores endorsement signature information for each business blockchain.
[0012] The blockchain provides endorsement and signature information for application systems to query.
[0013] In practice, the endorsement signature information used for querying by the application system includes one or a combination of the following business blockchain information:
[0014] Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
[0015] During implementation, querying whether the blockchain for the stated business has endorsement signatures from other application systems includes:
[0016] The blockchain ledger provides a list of authentic and trustworthy endorsement signatures corresponding to business blockchain information, which is used to verify the endorsement signatures of each application system and calculate the probability of the true availability of the business blockchain.
[0017] Output the probability of the true availability of the blockchain information for this business.
[0018] In practice, the probability of true availability is calculated according to one or a combination of the following rules:
[0019] Are there a predetermined number of application systems that have already been endorsed and signed?
[0020] Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document;
[0021] Whether the endorsement and signature are within the set time period.
[0022] During implementation, it further includes:
[0023] Verifying the blockchain allows for the removal of endorsement signatures.
[0024] In practice, the blockchain is verified to be able to remove endorsement signatures, including:
[0025] Examine the timestamp of the endorsement signature on the ledger. If the timestamp is outside the preset valid time period, delete the endorsement signature. If the business blockchain information no longer has a corresponding endorsement signature, delete the entry for that business blockchain information.
[0026] During implementation, it further includes:
[0027] When the application system deems the usage process safe and trustworthy, it provides the application system with an endorsement and signature for the business blockchain information on the verification blockchain.
[0028] During implementation, the application system provides endorsement and signature for the blockchain information of this business, including:
[0029] After verifying the validity of the endorsement signature of the blockchain verification application system, the endorsement signature is appended to the endorsement signature list corresponding to the blockchain information of that business.
[0030] A blockchain information verification method includes:
[0031] The application system obtains the oracle address of the business blockchain;
[0032] The application system queries the verification blockchain to see if there are endorsement signatures from other application systems for the business blockchain, and / or uses the resources of the business blockchain through an oracle address, wherein the verification blockchain stores endorsement signature information for each business blockchain;
[0033] The application system determines that the business blockchain information is trustworthy when it has the endorsement and signature of other application systems and / or when it believes that the usage process is safe and trustworthy.
[0034] In implementation, the business blockchain information includes one or a combination of the following:
[0035] Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
[0036] During implementation, querying whether the blockchain for the stated business has endorsement signatures from other application systems includes:
[0037] Determine the blockchain information of the business to be queried;
[0038] Query the list of authentic and trustworthy endorsement signatures corresponding to the blockchain information of this business on the blockchain ledger, verify the endorsement signatures of each application system, and calculate the probability of true availability.
[0039] The probability of obtaining the true availability of blockchain information for this business.
[0040] In practice, the probability of true availability is calculated according to one or a combination of the following rules:
[0041] Are there a predetermined number of application systems that have already been endorsed and signed?
[0042] Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document;
[0043] Whether the endorsement and signature are within the set time period.
[0044] During implementation, when the use process is deemed safe and reliable, it further includes:
[0045] Generate an endorsement signature for the business blockchain information and request the verification blockchain to record the business blockchain information and the endorsement signature generated by the application system.
[0046] During implementation, the blockchain information for this business is endorsed and signed, including:
[0047] Determine the business blockchain information that requires endorsement and signature, as well as the endorsement and signature of this application system;
[0048] After verifying the validity of the endorsement signature, the verification blockchain appends the endorsement signature to the list of endorsement signatures for the blockchain information related to that business in the verification blockchain's ledger.
[0049] A blockchain verification method includes:
[0050] The processor is used to read programs from memory and execute the following procedures:
[0051] The system receives queries from application systems, which are queries to see if there are endorsement signatures from other application systems for the business blockchain. The verification blockchain stores endorsement signature information for each business blockchain.
[0052] Provide endorsement and signature information for the application system to query;
[0053] A transceiver is used to receive and send data under the control of a processor.
[0054] In practice, the endorsement signature information used for querying by the application system includes one or a combination of the following business blockchain information:
[0055] Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
[0056] During implementation, querying whether the blockchain for the stated business has endorsement signatures from other application systems includes:
[0057] The blockchain ledger provides a list of authentic and trustworthy endorsement signatures corresponding to business blockchain information, which is used to verify the endorsement signatures of each application system and calculate the probability of the true availability of the business blockchain.
[0058] Output the probability of the true availability of the blockchain information for this business.
[0059] In practice, the probability of true availability is calculated according to one or a combination of the following rules:
[0060] Are there a predetermined number of application systems that have already been endorsed and signed?
[0061] Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document;
[0062] Whether the endorsement and signature are within the set time period.
[0063] During implementation, it further includes:
[0064] Verifying the blockchain allows for the removal of endorsement signatures.
[0065] In practice, the blockchain is verified to be able to remove endorsement signatures, including:
[0066] Examine the timestamp of the endorsement signature on the ledger. If the timestamp is outside the preset valid time period, delete the endorsement signature. If the business blockchain information no longer has a corresponding endorsement signature, delete the entry for that business blockchain information.
[0067] During implementation, it further includes:
[0068] When the application system deems the usage process safe and trustworthy, it provides the application system with an endorsement and signature for the business blockchain information on the verification blockchain.
[0069] During implementation, the application system provides endorsement and signature for the blockchain information of this business, including:
[0070] After verifying the validity of the endorsement signature of the blockchain verification application system, the endorsement signature is appended to the endorsement signature list corresponding to the blockchain information of that business.
[0071] A blockchain verification method includes:
[0072] The interface module receives queries from the application system. The query is to check whether there is an endorsement signature from other application systems for the business blockchain. The verification blockchain stores endorsement signature information for each business blockchain.
[0073] The endorsement module provides endorsement signature information for the application system to query.
[0074] In implementation, the endorsement module is further used to provide endorsement signature information for querying by the application system. The queried business blockchain information includes one or a combination of the following:
[0075] Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
[0076] In implementation, the interface module is further used to query whether there are endorsement signatures from other application systems for the business blockchain, including:
[0077] The blockchain ledger provides a list of authentic and trustworthy endorsement signatures corresponding to business blockchain information, which is used to verify the endorsement signatures of each application system and calculate the probability of the true availability of the business blockchain.
[0078] Output the probability of the true availability of the blockchain information for this business.
[0079] In implementation, the interface module is further used to calculate the probability of true availability according to one or a combination of the following rules:
[0080] Are there a predetermined number of application systems that have already been endorsed and signed?
[0081] Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document;
[0082] Whether the endorsement and signature are within the set time period.
[0083] In practice, the endorsement module is further used to enable the deletion of endorsement signatures.
[0084] In implementation, the endorsement module is further used to include, when it is possible to delete the endorsement signature:
[0085] Examine the timestamp of the endorsement signature on the ledger. If the timestamp is outside the preset valid time period, delete the endorsement signature. If the business blockchain information no longer has a corresponding endorsement signature, delete the entry for that business blockchain information.
[0086] In practice, the endorsement module is further used to provide the application system with an endorsement and signature on the verification blockchain when the application system deems the usage process safe and trustworthy.
[0087] In implementation, the endorsement module is further used when providing endorsement and signature services for blockchain information related to the business through the application system, including:
[0088] After verifying the validity of the endorsement signature of the blockchain verification application system, the endorsement signature is appended to the endorsement signature list corresponding to the blockchain information of that business.
[0089] An application system, comprising:
[0090] The processor is used to read programs from memory and execute the following procedures:
[0091] Obtain the oracle address of the business blockchain;
[0092] The verification blockchain queries whether there are endorsement signatures from other application systems for the business blockchain, and / or uses the resources of the business blockchain through an oracle address, wherein the verification blockchain stores endorsement signature information for each business blockchain.
[0093] The credibility of the business blockchain information is determined when there is endorsement and signature from other application systems and / or when the use process is deemed secure and trustworthy.
[0094] A transceiver is used to receive and send data under the control of a processor.
[0095] In implementation, the business blockchain information includes one or a combination of the following:
[0096] Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
[0097] During implementation, querying whether the blockchain for the stated business has endorsement signatures from other application systems includes:
[0098] Determine the blockchain information of the business to be queried;
[0099] Query the list of authentic and trustworthy endorsement signatures corresponding to the blockchain information of this business on the blockchain ledger, verify the endorsement signatures of each application system, and calculate the probability of true availability.
[0100] The probability of obtaining the true availability of blockchain information for this business.
[0101] In practice, the probability of true availability is calculated according to one or a combination of the following rules:
[0102] Are there a predetermined number of application systems that have already been endorsed and signed?
[0103] Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document;
[0104] Whether the endorsement and signature are within the set time period.
[0105] During implementation, when the use process is deemed safe and reliable, it further includes:
[0106] Generate an endorsement signature for the business blockchain information and request the verification blockchain to record the business blockchain information and the endorsement signature generated by the application system.
[0107] During implementation, the blockchain information for this business is endorsed and signed, including:
[0108] Determine the business blockchain information that requires endorsement and signature, as well as the endorsement and signature of this application system;
[0109] After verifying the validity of the endorsement signature, the verification blockchain appends the endorsement signature to the list of endorsement signatures for the blockchain information related to that business in the verification blockchain's ledger.
[0110] An application system, comprising:
[0111] The acquisition module is used to obtain the oracle address of the business blockchain;
[0112] The access module is used to query the verification blockchain to see if there are endorsement signatures from other application systems for the business blockchain, and / or to use the resources of the business blockchain through an oracle address, wherein the verification blockchain stores endorsement signature information for each business blockchain.
[0113] The trusted module is used to determine the trustworthiness of the business blockchain information when there is endorsement and signature from other application systems and / or when the usage process is considered secure and trustworthy.
[0114] In implementation, the trusted module is further used to determine the business blockchain information, which includes one or a combination of the following:
[0115] Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
[0116] In implementation, the access module is further used to query whether there are endorsement signatures from other application systems for the business blockchain, including:
[0117] Determine the blockchain information of the business to be queried;
[0118] Query the list of authentic and trustworthy endorsement signatures corresponding to the blockchain information of this business on the blockchain ledger, verify the endorsement signatures of each application system, and calculate the probability of true availability.
[0119] The probability of obtaining the true availability of blockchain information for this business.
[0120] In implementation, the access module is further used to calculate the probability of true availability according to one or a combination of the following rules:
[0121] Are there a predetermined number of application systems that have already been endorsed and signed?
[0122] Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document;
[0123] Whether the endorsement and signature are within the set time period.
[0124] In practice, the access module is further used to generate an endorsement signature for the business blockchain information when it considers the usage process to be safe and trustworthy, and to request the verification blockchain to record the business blockchain information and the endorsement signature generated by the application system.
[0125] In implementation, the access module is further used when endorsing and signing blockchain information for this business, including:
[0126] Determine the business blockchain information that requires endorsement and signature, as well as the endorsement and signature of this application system;
[0127] After verifying the validity of the endorsement signature, the verification blockchain appends the endorsement signature to the list of endorsement signatures for the blockchain information related to that business in the verification blockchain's ledger.
[0128] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for verifying blockchain information on the blockchain and / or application system side.
[0129] The beneficial effects of this invention are as follows:
[0130] In the technical solution provided by the embodiments of the present invention, due to the introduction of a "verification blockchain", the endorsement signature provided by the blockchain can be used to query whether there are endorsement signatures from other application systems for the business blockchain, thereby determining whether the business blockchain is trustworthy. That is, by scanning the list of endorsement signatures of the business blockchain resources on the verification blockchain, the security and trustworthiness probability can be calculated.
[0131] Because the verification blockchain is decentralized, the data on the blockchain is also decentralized. When an application system uses a business blockchain resource, if it believes that the resource is authentic and trustworthy, it endorses and signs the resource and appends the record to the entry for that business blockchain resource on the verification blockchain. Therefore, the security and trustworthiness of various business blockchain resources can be maintained in a decentralized manner without human intervention, avoiding the vulnerabilities of manual management and centralization. Attached Figure Description
[0132] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and are used to explain the invention, but do not constitute an undue limitation of the invention. In the drawings:
[0133] Figure 1 This is a schematic diagram illustrating the application scenarios of copyright protection in the background technology.
[0134] Figure 2 This is a schematic diagram of the DNS system structure in an embodiment of the present invention;
[0135] Figure 3 This is a schematic diagram of the blockchain information verification implementation environment in an embodiment of the present invention;
[0136] Figure 4 This is a schematic diagram illustrating the implementation process of the blockchain information verification method on the application system side in an embodiment of the present invention;
[0137] Figure 5 This is a schematic diagram illustrating the implementation process of the blockchain information verification method on the blockchain side in an embodiment of the present invention;
[0138] Figure 6 This is a schematic diagram of the blockchain structure in an embodiment of the present invention;
[0139] Figure 7 This is a schematic diagram of the application system structure in an embodiment of the present invention. Detailed Implementation
[0140] The inventor noticed the following during the invention process:
[0141] A blockchain designates an oracle that is open to the internet and assigns it a URI. Remote users access this oracle via the URI and then use the blockchain's resources. Thus, what was originally intended as accessing blockchain resources has now become accessing a specific oracle URI.
[0142] The drawback of this access scheme is that the access address is centrally managed.
[0143] Figure 2 This is a schematic diagram of the DNS system architecture. As shown in the figure, Internet URIs are managed centrally by secular society. For example, a URI:
[0144] http: / / oracle1.blockchain.aCloud.com.cn / chainid=xxx&channeld=xxx&smartcontract=xxx……
[0145] The domain name oracle1.blockchain.aCloud.com.cn is the foundation for blockchain. Domain names and DNS (Domain Name System) resolution services are organized and managed hierarchically, starting from the root domain. Each layer has a centralized management body, and then data converges to the layer above for centralized management.
[0146] If the internet's DNS system is tampered with, it will pose a risk to the use of blockchain.
[0147] In other words, in the early stages of blockchain applications, the "DNS addressing based on oracle URIs" method was the only universally usable access method, but it had centralized vulnerabilities. For example, if DNS was tampered with, blockchain resources would become unreliable and untrustworthy.
[0148] Based on this, the present invention provides a blockchain information verification scheme, and the specific embodiments of the present invention will be described below with reference to the accompanying drawings.
[0149] The solution introduces a "blockchain verification platform," which can verify the authenticity and availability of a blockchain resource through some means.
[0150] The platform is decentralized and is a blockchain (verified blockchain). Participating nodes include several systems that use resources from a certain blockchain.
[0151] Once a system has used blockchain resources, if it believes the usage process is authentic and trustworthy, it will endorse and sign the data, storing it on the verification blockchain.
[0152] Before using blockchain resources, a system can verify the authenticity and usability of the oracle URI on the verification platform. If other systems have already used the resource and deemed it authentic and trustworthy, then access can proceed. Otherwise, other measures can be taken, such as offline verification.
[0153] The platform can verify either oracles that access blockchain resources or the blockchain resources themselves.
[0154] First, the implementation environment will be described.
[0155] Figure 3 The diagram illustrates a blockchain information verification implementation environment. An environment capable of implementing blockchain information verification can include, as shown, an internet DNS server, several application systems, a business blockchain and its corresponding oracle, and a verification blockchain and its corresponding oracle. The application systems are existing equipment.
[0156] Figure 4 The diagram illustrates the implementation process of a blockchain information verification method on the application system side, and may include:
[0157] Step 401: The application system obtains the oracle address of the business blockchain;
[0158] Step 402: The application system queries the verification blockchain to see if there are endorsement signatures from other application systems for the business blockchain, and / or uses the resources of the business blockchain through the oracle address, wherein the verification blockchain stores endorsement signature information for each business blockchain.
[0159] Step 403: When the application system has endorsement and signature from other application systems and / or when it considers the usage process to be secure and trustworthy, it determines that the business blockchain information is trustworthy.
[0160] During implementation, if the use process is deemed safe and reliable, it may further include:
[0161] Step 404: Endorsement and signature of the business blockchain information on the verification blockchain.
[0162] Figure 5 The implementation process of the blockchain information verification method on the blockchain side is illustrated in the diagram, and may include:
[0163] Step 501: Verify the blockchain to receive queries from application systems. The query is to check whether there are endorsement signatures from other application systems for the business blockchain. The verification blockchain stores endorsement signature information for each business blockchain.
[0164] Step 502: Verify that the blockchain provides endorsement and signature information for application system query.
[0165] In practice, it may further include:
[0166] Step 503: When the application system deems the usage process safe and trustworthy, the application system provides an endorsement and signature for the business blockchain information on the verification blockchain.
[0167] The following is combined Figure 3 The verification process is explained.
[0168] 1. The application system queries the DNS server for the oracle URI of the business blockchain to obtain the IP address;
[0169] 2. Application system accesses and verifies the blockchain.
[0170] When querying the oracle URI and IP of a business blockchain on the verification blockchain, if certain conditions are met, such as other application systems having endorsed and signed the oracle URI of the business blockchain, then the oracle URI of this business blockchain is considered to be genuine and trustworthy.
[0171] 3. Application systems access and use resources from the business blockchain.
[0172] 4. After use, if the application system deems the use process safe and trustworthy, it can access and verify the blockchain to endorse and sign the blockchain resources for this business.
[0173] Steps 2 and 4 above may be performed only once, or both may be performed.
[0174] Implementing only steps 1-2-3 means that the application system merely verifies the security and trustworthiness of the business blockchain and uses the business blockchain resources, but refuses to endorse and sign its true availability.
[0175] Implementing only steps 1-3-4 means that the application system directly uses the business blockchain resources without verifying the business blockchain, and is willing to endorse and sign its true availability after use so that it can be used as a reference for other application systems in the future.
[0176] The implementation of the verification blockchain is explained below.
[0177] In implementation, the business blockchain information includes one or a combination of the following:
[0178] Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
[0179] Implementation of ledger data.
[0180] The ledger for verifying a blockchain can support the following data structures:
[0181]
[0182]
[0183] During implementation, the above data structure supports recording the actual feasibility for the following objects:
[0184] 1. Business blockchain;
[0185] 2. Business blockchain resources;
[0186] 3. Business blockchain oracle.
[0187] The following explains the specific methods of implementing this using smart contracts.
[0188] Smart Contract 1: Query whether a certain business's blockchain resources are authentic and trustworthy.
[0189] During implementation, on the application system side, it queries whether there are endorsement signatures from other application systems for the blockchain related to the business, including:
[0190] Determine the blockchain information of the business to be queried;
[0191] Query the list of authentic and trustworthy endorsement signatures corresponding to the blockchain information of this business on the blockchain ledger, verify the endorsement signatures of each application system, and calculate the probability of true availability.
[0192] The probability of obtaining the true availability of blockchain information for this business.
[0193] Correspondingly, on the blockchain side:
[0194] During implementation, querying whether the blockchain for the stated business has endorsement signatures from other application systems includes:
[0195] The blockchain ledger provides a list of authentic and trustworthy endorsement signatures corresponding to business blockchain information, which is used to verify the endorsement signatures of each application system and calculate the probability of the true availability of the business blockchain.
[0196] Output the probability of the true availability of the blockchain information for this business.
[0197] In practice, the probability of true availability is calculated according to one or a combination of the following rules:
[0198] Are there a predetermined number of application systems that have already been endorsed and signed?
[0199] Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document;
[0200] Whether the endorsement and signature are within the set time period.
[0201] The specific explanation is as follows:
[0202] Input: Business blockchain resources; see "Business Blockchain Resources" above for data structure.
[0203] Logic: Query the list of authentic and trustworthy endorsement signatures corresponding to the "business blockchain resource" on the verification blockchain ledger, verify the endorsement signatures of each application system, and calculate the probability of true availability.
[0204] Example of a rule:
[0205] Rule 1: A sufficient number of application systems have endorsed and signed it.
[0206] Rule 2: A sufficient number of "authoritative" application systems have endorsed and signed the application. That is, the endorsement and signature of certain application systems carries higher weight.
[0207] Rule 3: The endorsement signature must be "new" enough and not expired.
[0208] Rule 4: A logical combination of Rules 1, 2, and 3.
[0209] Output: Probability of true availability.
[0210] Smart Contract 2: Endorses and signs to verify the authenticity and trustworthiness of blockchain resources for a certain business.
[0211] During implementation, on the application system side, the blockchain information for this business is endorsed and signed, including:
[0212] Determine the business blockchain information that requires endorsement and signature, as well as the endorsement and signature of this application system;
[0213] After verifying the validity of the endorsement signature, the verification blockchain appends the endorsement signature to the list of endorsement signatures for the blockchain information related to that business in the verification blockchain's ledger.
[0214] Correspondingly, on the blockchain side:
[0215] The application system provides endorsement and signature for the blockchain information of this business, including:
[0216] After verifying the validity of the endorsement signature of the blockchain verification application system, the endorsement signature is appended to the endorsement signature list corresponding to the blockchain information of that business.
[0217] The specific explanation is as follows:
[0218] enter:
[0219] A) Business blockchain resources, data structure as described above for "Business Blockchain Resources".
[0220] B) Endorsement signature of this application system. Data structure: see "Endorsement signature" above.
[0221] logic:
[0222] A) Verify whether the endorsement signature is valid.
[0223] B) Append the endorsement signature to the endorsement signature list of the business blockchain resource. Add a new entry for this business blockchain resource as needed. The data structure is the same as the "endorsement signature" above.
[0224] Output: None.
[0225] Smart Contract 3: Remove outdated endorsement signatures.
[0226] On the blockchain side, it is as follows:
[0227] In practice, it may further include:
[0228] Verifying the blockchain allows for the removal of endorsement signatures.
[0229] In practice, the blockchain is verified to be able to delete endorsement signatures, including:
[0230] Examine the timestamp of the endorsement signature on the ledger. If the timestamp is outside the preset valid time period, delete the endorsement signature. If the business blockchain information no longer has a corresponding endorsement signature, delete the entry for that business blockchain information.
[0231] The specific explanation is as follows:
[0232] Input: None, triggered periodically.
[0233] Logic: Scan all business blockchain resources on the ledger and scan their endorsement signature list:
[0234] A) Examine the timestamp of the endorsement signature. If the timestamp is too old relative to the current time, delete the endorsement signature.
[0235] B) If a business blockchain resource no longer has any endorsed signatures, then delete the entry for that business blockchain resource.
[0236] Output: None.
[0237] Based on the same inventive concept, this invention also provides a blockchain verification system, an application system, and a computer-readable storage medium. Since the principles by which these devices solve problems are similar to those of the blockchain information verification method, the implementation of these devices can refer to the implementation of the method, and repeated details will not be repeated.
[0238] When implementing the technical solutions provided in the embodiments of the present invention, they can be implemented in the following manner.
[0239] Figure 6 This is a schematic diagram of a blockchain structure. As shown in the figure, a blockchain includes:
[0240] Processor 600 is used to read the program from memory 620 and execute the following procedures:
[0241] The system receives queries from application systems, which are queries to see if there are endorsement signatures from other application systems for the business blockchain. The verification blockchain stores endorsement signature information for each business blockchain.
[0242] Provide endorsement and signature information for application system query;
[0243] Transceiver 610 is used to receive and send data under the control of processor 600.
[0244] In practice, the endorsement signature information used for querying by the application system includes one or a combination of the following business blockchain information:
[0245] Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
[0246] During implementation, querying whether the blockchain for the stated business has endorsement signatures from other application systems includes:
[0247] The blockchain ledger provides a list of authentic and trustworthy endorsement signatures corresponding to business blockchain information, which is used to verify the endorsement signatures of each application system and calculate the probability of the true availability of the business blockchain.
[0248] Output the probability of the true availability of the blockchain information for this business.
[0249] In practice, the probability of true availability is calculated according to one or a combination of the following rules:
[0250] Are there a predetermined number of application systems that have already been endorsed and signed?
[0251] Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document;
[0252] Whether the endorsement and signature are within the set time period.
[0253] During implementation, it further includes:
[0254] Verifying the blockchain allows for the removal of endorsement signatures.
[0255] In practice, the blockchain is verified to be able to remove endorsement signatures, including:
[0256] Examine the timestamp of the endorsement signature on the ledger. If the timestamp is outside the preset valid time period, delete the endorsement signature. If the business blockchain information no longer has a corresponding endorsement signature, delete the entry for that business blockchain information.
[0257] During implementation, it further includes:
[0258] When the application system deems the usage process safe and trustworthy, it provides the application system with an endorsement and signature for the business blockchain information on the verification blockchain.
[0259] During implementation, the application system provides endorsement and signature for the blockchain information of this business, including:
[0260] After verifying the validity of the endorsement signature of the blockchain verification application system, the endorsement signature is appended to the endorsement signature list corresponding to the blockchain information of that business.
[0261] Among them, Figure 6 In this context, the bus architecture may include any number of interconnected buses and bridges, specifically linking various circuits together, represented by one or more processors (processor 600) and memory (memory 620). The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. A bus interface provides an interface. Transceiver 610 may be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over a transmission medium. Processor 600 is responsible for managing the bus architecture and general processing, and memory 620 may store data used by processor 600 during operation.
[0262] This invention also provides a blockchain verification method, including:
[0263] The interface module receives queries from the application system. The query is to check whether there is an endorsement signature from other application systems for the business blockchain. The verification blockchain stores endorsement signature information for each business blockchain.
[0264] The endorsement module provides endorsement signature information for the application system to query.
[0265] In implementation, the endorsement module is further used to provide endorsement signature information for querying by the application system. The queried business blockchain information includes one or a combination of the following:
[0266] Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
[0267] In implementation, the interface module is further used to query whether there are endorsement signatures from other application systems for the business blockchain, including:
[0268] The blockchain ledger provides a list of authentic and trustworthy endorsement signatures corresponding to business blockchain information, which is used to verify the endorsement signatures of each application system and calculate the probability of the true availability of the business blockchain.
[0269] Output the probability of the true availability of the blockchain information for this business.
[0270] In implementation, the interface module is further used to calculate the probability of true availability according to one or a combination of the following rules:
[0271] Are there a predetermined number of application systems that have already been endorsed and signed?
[0272] Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document;
[0273] Whether the endorsement and signature are within the set time period.
[0274] In practice, the endorsement module is further used to enable the deletion of endorsement signatures.
[0275] In implementation, the endorsement module is further used to include, when it is possible to delete the endorsement signature:
[0276] Examine the timestamp of the endorsement signature on the ledger. If the timestamp is outside the preset valid time period, delete the endorsement signature. If the business blockchain information no longer has a corresponding endorsement signature, delete the entry for that business blockchain information.
[0277] In practice, the endorsement module is further used to provide the application system with an endorsement and signature on the verification blockchain when the application system deems the usage process safe and trustworthy.
[0278] In implementation, the endorsement module is further used when providing endorsement and signature services for blockchain information related to the business through the application system, including:
[0279] After verifying the validity of the endorsement signature of the blockchain verification application system, the endorsement signature is appended to the endorsement signature list corresponding to the blockchain information of that business.
[0280] For ease of description, the various parts of the device described above are divided into modules or units according to their functions. Of course, in implementing this invention, the functions of each module or unit can be implemented in one or more software or hardware components.
[0281] Figure 7 The system architecture diagram is shown in the figure. The system includes:
[0282] Processor 700 is used to read the program from memory 720 and execute the following procedures:
[0283] Obtain the oracle address of the business blockchain;
[0284] The verification blockchain queries whether there are endorsement signatures from other application systems for the business blockchain, and / or uses the resources of the business blockchain through an oracle address, wherein the verification blockchain stores endorsement signature information for each business blockchain.
[0285] The credibility of the business blockchain information is determined when there is endorsement and signature from other application systems and / or when the use process is deemed secure and trustworthy.
[0286] Transceiver 710 is used to receive and send data under the control of processor 700.
[0287] In implementation, the business blockchain information includes one or a combination of the following:
[0288] Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
[0289] During implementation, querying whether the blockchain for the stated business has endorsement signatures from other application systems includes:
[0290] Determine the blockchain information of the business to be queried;
[0291] Query the list of authentic and trustworthy endorsement signatures corresponding to the blockchain information of this business on the blockchain ledger, verify the endorsement signatures of each application system, and calculate the probability of true availability.
[0292] The probability of obtaining the true availability of blockchain information for this business.
[0293] In practice, the probability of true availability is calculated according to one or a combination of the following rules:
[0294] Are there a predetermined number of application systems that have already been endorsed and signed?
[0295] Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document;
[0296] Whether the endorsement and signature are within the set time period.
[0297] During implementation, when the use process is deemed safe and reliable, it further includes:
[0298] Generate an endorsement signature for the business blockchain information and request the verification blockchain to record the business blockchain information and the endorsement signature generated by the application system.
[0299] During implementation, the blockchain information for this business is endorsed and signed, including:
[0300] Determine the business blockchain information that requires endorsement and signature, as well as the endorsement and signature of this application system;
[0301] After verifying the validity of the endorsement signature, the verification blockchain appends the endorsement signature to the list of endorsement signatures for the blockchain information related to that business in the verification blockchain's ledger.
[0302] Among them, Figure 7 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits together, represented by one or more processors (processor 700) and memory (memory 720). The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 710 can be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over a transmission medium. The processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 can store data used by the processor 700 during operation.
[0303] This invention also provides an application system, including:
[0304] The acquisition module is used to obtain the oracle address of the business blockchain;
[0305] The access module is used to query the verification blockchain to see if there are endorsement signatures from other application systems for the business blockchain, and / or to use the resources of the business blockchain through an oracle address, wherein the verification blockchain stores endorsement signature information for each business blockchain.
[0306] The trusted module is used to determine the trustworthiness of the business blockchain information when there is endorsement and signature from other application systems and / or when the usage process is considered secure and trustworthy.
[0307] In implementation, the trusted module is further used to determine the business blockchain information, which includes one or a combination of the following:
[0308] Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
[0309] In implementation, the access module is further used to query whether there are endorsement signatures from other application systems for the business blockchain, including:
[0310] Determine the blockchain information of the business to be queried;
[0311] Query the list of authentic and trustworthy endorsement signatures corresponding to the blockchain information of this business on the blockchain ledger, verify the endorsement signatures of each application system, and calculate the probability of true availability.
[0312] The probability of obtaining the true availability of blockchain information for this business.
[0313] In implementation, the access module is further used to calculate the probability of true availability according to one or a combination of the following rules:
[0314] Are there a predetermined number of application systems that have already been endorsed and signed?
[0315] Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document;
[0316] Whether the endorsement and signature are within the set time period.
[0317] In practice, the access module is further used to generate an endorsement signature for the business blockchain information when it considers the usage process to be safe and trustworthy, and to request the verification blockchain to record the business blockchain information and the endorsement signature generated by the application system.
[0318] In implementation, the access module is further used when endorsing and signing blockchain information for this business, including:
[0319] Determine the business blockchain information that requires endorsement and signature, as well as the endorsement and signature of this application system;
[0320] After verifying the validity of the endorsement signature, the verification blockchain appends the endorsement signature to the list of endorsement signatures for the blockchain information related to that business in the verification blockchain's ledger.
[0321] For ease of description, the various parts of the device described above are divided into modules or units according to their functions. Of course, in implementing this invention, the functions of each module or unit can be implemented in one or more software or hardware components.
[0322] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for verifying blockchain information on the blockchain and / or application system side.
[0323] For specific implementation details, please refer to the implementation of blockchain information verification methods on the blockchain and / or application system side.
[0324] In summary, the technical solution provided by this invention introduces a "verification blockchain," which can calculate the true availability of each business blockchain resource. That is, by scanning the endorsement signature list of the business blockchain resource on the verification blockchain, the probability of security and trustworthiness can be calculated.
[0325] This blockchain is decentralized. That is, the data on the blockchain is managed in a decentralized manner. When an application system uses a business blockchain resource, if it believes that the resource is authentic and trustworthy, it endorses and signs the resource and appends the record to the entry for that business blockchain resource in the verification blockchain.
[0326] Therefore, the security and trustworthiness of blockchain resources for various businesses can be maintained in a decentralized manner without human intervention, avoiding the vulnerabilities of manual management and centralization.
[0327] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0328] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0329] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1The function specified in one or more boxes.
[0330] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0331] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A blockchain information verification method, characterized in that, include: The verification blockchain receives queries from application systems. The query is to check whether there is an endorsement signature from other application systems for the business blockchain. The endorsement signature from other application systems is an endorsement signature made by other application systems for the business blockchain resources after they have completed using the resources of the business blockchain and believe that the use process is safe and trustworthy. The verification blockchain stores endorsement signature information for each business blockchain. The blockchain provides endorsement and signature information for application systems to query; Checking whether the blockchain for the stated business has endorsement signatures from other application systems includes: The blockchain ledger provides a list of authentic and trustworthy endorsement signatures corresponding to business blockchain information, which is used to verify the endorsement signatures of each application system and calculate the probability of the true availability of the business blockchain. Output the probability of the true availability of the blockchain information for this business.
2. The method as described in claim 1, characterized in that, The endorsement signature information used for querying by the application system includes one or a combination of the following business blockchain information: Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
3. The method as described in claim 1, characterized in that, Calculate the probability of true availability according to one or a combination of the following rules: Are there a predetermined number of application systems that have already been endorsed and signed? Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document; Whether the endorsement and signature are within the set time period.
4. The method as described in claim 1, characterized in that, Further includes: The blockchain can verify the removal of endorsement signatures.
5. The method as described in claim 4, characterized in that, The blockchain can verify the removal of endorsement signatures, including: Examine the timestamp of the endorsement signature on the ledger. If the timestamp is outside the preset valid time period, delete the endorsement signature. If the business blockchain information no longer has a corresponding endorsement signature, delete the entry for that business blockchain information.
6. The method as described in claim 1, characterized in that, Further includes: When the application system deems the usage process safe and trustworthy, it provides the application system with an endorsement and signature for the business blockchain information on the verification blockchain.
7. The method as described in claim 6, characterized in that, The application system provides endorsement and signature for the blockchain information of this business, including: After verifying the validity of the endorsement signature of the blockchain verification application system, the endorsement signature is appended to the endorsement signature list corresponding to the blockchain information of that business.
8. A blockchain information verification method, characterized in that, include: Application systems acquire information from the business blockchain; The application system queries the verification blockchain to see if there are endorsement signatures from other application systems for the business blockchain. The endorsement signatures from other application systems are endorsement signatures made by other application systems for the business blockchain resources after they have completed using the resources of the business blockchain and when they believe that the use process is safe and trustworthy. The verification blockchain stores endorsement signature information for each business blockchain. When an application system has the endorsement and signature of another application system, it determines that the business blockchain information is trustworthy; The query to determine whether the blockchain for the stated business has endorsement signatures from other application systems includes: Determine the blockchain information of the business to be queried; Query the list of authentic and trustworthy endorsement signatures corresponding to the blockchain information of this business on the blockchain ledger, verify the endorsement signatures of each application system, and calculate the probability of true availability. The probability of obtaining the true availability of blockchain information for this business.
9. The method as described in claim 8, characterized in that, The business blockchain information includes one or a combination of the following: Information about business blockchains, information about business blockchain resources, and information about business blockchain oracles.
10. The method as described in claim 8, characterized in that, Calculate the probability of true availability according to one or a combination of the following rules: Are there a predetermined number of application systems that have already been endorsed and signed? Whether a predetermined number of application systems that have reached a predetermined credit weight have already endorsed and signed the document; Whether the endorsement and signature are within the set time period.
11. The method as described in claim 8, characterized in that, When the use of this process is deemed safe and reliable, it further includes: Generate an endorsement signature for the business blockchain information and request the verification blockchain to record the business blockchain information and the endorsement signature generated by the application system.
12. The method as described in claim 11, characterized in that, Endorsement and signing of blockchain information for this business includes: Determine the business blockchain information that requires endorsement and signature, as well as the endorsement and signature of this application system; After verifying the validity of the endorsement signature, the verification blockchain appends the endorsement signature to the list of endorsement signatures for the blockchain information related to that business in the verification blockchain's ledger.
13. A blockchain verification method, characterized in that, include: The processor is used to read programs from memory and execute the following procedures: The system receives queries from application systems, which in turn query whether there are endorsement signatures from other application systems for the business blockchain. The endorsement signatures from other application systems are endorsement signatures made by other application systems for the business blockchain resources after they have completed using the resources of the business blockchain and when they believe that the use process is safe and trustworthy. The verification blockchain stores endorsement signature information for each business blockchain. Provide endorsement and signature information for application system query; A transceiver is used to receive and send data under the control of a processor; Checking whether the blockchain for the stated business has endorsement signatures from other application systems includes: The blockchain ledger provides a list of authentic and trustworthy endorsement signatures corresponding to business blockchain information, which is used to verify the endorsement signatures of each application system and calculate the probability of the true availability of the business blockchain. Output the probability of the true availability of the blockchain information for this business.
14. A blockchain verification method, characterized in that, include: The interface module receives queries from the application system. The query is to check whether there is an endorsement signature from other application systems for the business blockchain. The endorsement signature from other application systems is an endorsement signature made by other application systems for the business blockchain resources after they have completed using the resources of the business blockchain and believe that the use process is safe and trustworthy. The verification blockchain stores the endorsement signature information for each business blockchain. The endorsement module provides endorsement signature information for the application system to query; Checking whether the blockchain for the stated business has endorsement signatures from other application systems includes: The blockchain ledger provides a list of authentic and trustworthy endorsement signatures corresponding to business blockchain information, which is used to verify the endorsement signatures of each application system and calculate the probability of the true availability of the business blockchain. Output the probability of the true availability of the blockchain information for this business.
15. An application system, characterized in that, include: The processor is used to read programs from memory and execute the following procedures: Obtain the oracle address of the business blockchain; The verification blockchain queries whether there are endorsement signatures from other application systems for the business blockchain. The endorsement signatures from other application systems are endorsement signatures made by other application systems for the business blockchain resources after they have completed using the resources of the business blockchain and when they believe that the use process is safe and trustworthy. The verification blockchain stores endorsement signature information for each business blockchain. When there is endorsement and signature from other application systems, the credibility of the business blockchain information is determined; A transceiver is used to receive and send data under the control of a processor; The query to determine whether the blockchain for the stated business has endorsement signatures from other application systems includes: Determine the blockchain information of the business to be queried; Query the list of authentic and trustworthy endorsement signatures corresponding to the blockchain information of this business on the blockchain ledger, verify the endorsement signatures of each application system, and calculate the probability of true availability. The probability of obtaining the true availability of blockchain information for this business.
16. An application system, characterized in that, include: The acquisition module is used to obtain the oracle address of the business blockchain; The access module is used to query the verification blockchain to see if there are endorsement signatures from other application systems for the business blockchain. The endorsement signatures from other application systems are endorsement signatures made by other application systems for the business blockchain resources after they have completed using the resources of the business blockchain and when they believe that the use process is safe and trustworthy. The verification blockchain stores endorsement signature information for each business blockchain. A trusted module is used to determine the trustworthiness of the business blockchain information when it has endorsement and signature from other application systems; The query to determine whether the blockchain for the stated business has endorsement signatures from other application systems includes: Determine the blockchain information of the business to be queried; Query the list of authentic and trustworthy endorsement signatures corresponding to the blockchain information of this business on the blockchain ledger, verify the endorsement signatures of each application system, and calculate the probability of true availability. The probability of obtaining the true availability of blockchain information for this business.
17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1 to 12.
Citation Information
Patent Citations
System and method for authenticating off-chain data based on proof verification
CN111801910A
Block-chain-based data interaction method, node and system
CN112837162A
Data processing method and device based on block chain
CN112948465A