CN110533429A - Transaction endorsement method, apparatus and block chain network in block chain - Google Patents
Transaction endorsement method, apparatus and block chain network in block chain Download PDFInfo
- Publication number
- CN110533429A CN110533429A CN201910825496.9A CN201910825496A CN110533429A CN 110533429 A CN110533429 A CN 110533429A CN 201910825496 A CN201910825496 A CN 201910825496A CN 110533429 A CN110533429 A CN 110533429A
- Authority
- CN
- China
- Prior art keywords
- endorsement
- content
- result
- uploaded
- review
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Development Economics (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提供了一种区块链中的交易背书方法、装置和区块链网络,其中,该方法应用于区块链中的背书节点,该方法包括:接收来自客户端的交易提案;模拟执行区块链上的智能合约,以审核交易提案中的待上链内容,得到审核结果;根据审核结果生成背书结果,将背书结果返回至客户端。本发明通过区块链背书节点上的智能合约审核待上链内容,不受任何个人或组织的全权控制,因而该审核流程公开透明,避免了审核结果受主观因素干扰,从而提高了区块链上链内容审核的公平性和合理性。
The present invention provides a transaction endorsement method and device in the block chain, and a block chain network, wherein the method is applied to the endorsement node in the block chain, and the method includes: receiving a transaction proposal from the client; simulating the execution area The smart contract on the block chain is used to review the content to be uploaded in the transaction proposal and obtain the review result; the endorsement result is generated according to the review result, and the endorsement result is returned to the client. The present invention audits the content to be uploaded through the smart contract on the endorsement node of the blockchain, and is not under the full control of any individual or organization. Therefore, the audit process is open and transparent, and the audit results are avoided from being interfered by subjective factors, thereby improving blockchain security. Fairness and rationality of on-chain content review.
Description
技术领域technical field
本发明涉及区块链技术领域,尤其是涉及一种区块链中的交易背书方法、装置和区块链网络。The present invention relates to the technical field of block chains, in particular to a transaction endorsement method and device in block chains and a block chain network.
背景技术Background technique
由于区块链去中心化不可篡改的特性,一旦非法内容上链,将对社会和相关个人造成不可挽回的损失,因此需要对上传至区块链的内容进行审核。相关技术中,大多通过企业定制的算法审核或者人工审核,审核结果受主观因素干扰较大,欠缺公平性和合理性。Due to the decentralized and non-tamperable nature of the blockchain, once illegal content is uploaded to the chain, it will cause irreparable losses to society and related individuals. Therefore, it is necessary to review the content uploaded to the blockchain. In the related technologies, most of them pass through the algorithm audit customized by the enterprise or manual audit. The audit results are greatly disturbed by subjective factors and lack fairness and rationality.
发明内容Contents of the invention
本发明的目的在于提供一种区块链中的交易背书方法、装置和区块链网络,以提高区块链上链内容审核的公平性和合理性。The purpose of the present invention is to provide a transaction endorsement method, device and blockchain network in the blockchain, so as to improve the fairness and rationality of content auditing on the blockchain.
第一方面,本发明实施例提供了一种区块链中的交易背书方法,该方法应用于区块链中的背书节点,该方法包括:接收来自客户端的交易提案;其中,该交易提案中包括待上链内容;模拟执行区块链上的智能合约,以审核待上链内容,得到审核结果;根据审核结果生成背书结果,将背书结果返回至客户端。In the first aspect, the embodiment of the present invention provides a transaction endorsement method in the blockchain, the method is applied to the endorsement node in the blockchain, and the method includes: receiving a transaction proposal from the client; wherein, in the transaction proposal Including the content to be uploaded; simulate the execution of the smart contract on the blockchain to review the content to be uploaded and obtain the review result; generate an endorsement result based on the review result, and return the endorsement result to the client.
在本发明较佳的实施例中,上述模拟执行区块链上的智能合约,以审核待上链内容的步骤,包括:通过区块链上的智能合约,调用预设的内容审核算法;其中,该内容审核算法运行在背书节点上;通过内容审核算法,判断待上链内容中是否包含预设的敏感词;如果待上链内容中不包含敏感词,确定审核结果为合法;如果待上链内容中包含敏感词,确定审核结果为非法。In a preferred embodiment of the present invention, the above-mentioned steps of simulating and executing the smart contract on the block chain to review the content to be uploaded include: calling the preset content review algorithm through the smart contract on the block chain; wherein , the content review algorithm runs on the endorsement node; through the content review algorithm, it is judged whether the content to be uploaded contains the preset sensitive words; if the content to be uploaded does not contain sensitive words, it is determined that the review result is legal; The chain content contains sensitive words, and the audit result is determined to be illegal.
在本发明较佳的实施例中,上述判断待上链内容中是否包含预设的敏感词的步骤,包括:将待上链内容与内容审核算法对应的敏感词库进行匹配,得到匹配结果;其中,敏感词库、以及敏感词库的哈希值,存储在区块链上;如果匹配结果为匹配失败,确定待上链内容中不包含敏感词;如果匹配结果为匹配成功,确定待上链内容中包含敏感词。In a preferred embodiment of the present invention, the above-mentioned step of judging whether the content to be uploaded contains preset sensitive words includes: matching the content to be uploaded with the sensitive vocabulary corresponding to the content review algorithm to obtain the matching result; Among them, the sensitive lexicon and the hash value of the sensitive lexicon are stored on the blockchain; if the matching result is a match failure, it is determined that the content to be uploaded does not contain sensitive words; if the matching result is a successful match, it is determined that the content to be uploaded The chain content contains sensitive words.
在本发明较佳的实施例中,上述确定审核结果为合法的步骤,包括:如果待上链内容中不包含敏感词,通过预设的网络接口,调用第三方服务审核待上链内容;如果第三方服务审核通过,确定审核结果为合法。In a preferred embodiment of the present invention, the above-mentioned step of determining that the audit result is legal includes: if the content to be uploaded does not contain sensitive words, call a third-party service through a preset network interface to review the content to be uploaded; if The third-party service has passed the audit, and the audit result is determined to be legal.
在本发明较佳的实施例中,上述根据审核结果生成背书结果的步骤,包括:对审核结果进行签名处理,得到签名后的审核结果;将签名后的审核结果确定为背书结果。In a preferred embodiment of the present invention, the step of generating the endorsement result according to the audit result includes: signing the audit result to obtain the signed audit result; determining the signed audit result as the endorsement result.
第二方面,本发明实施例提供了一种区块链中的交易背书方法,该方法应用于区块链中的客户端,该方法包括:如果接收到待上链内容,根据待上链内容生成交易提案;其中,该交易提案中包括待上链内容;将该交易提案发送至背书策略中包含的背书节点,以通过背书节点模拟执行区块链上的智能合约,以审核待上链内容,得到审核结果;根据该审核结果生成背书结果。In the second aspect, the embodiment of the present invention provides a transaction endorsement method in the blockchain. The method is applied to the client in the blockchain. The method includes: if the content to be uploaded is received, according to the content to be uploaded Generate a transaction proposal; where the transaction proposal includes the content to be uploaded to the chain; send the transaction proposal to the endorsement node included in the endorsement policy to simulate the execution of the smart contract on the blockchain through the endorsement node to review the content to be uploaded to the chain , get the audit result; generate the endorsement result according to the audit result.
在本发明较佳的实施例中,上述将交易提案发送至背书策略中包含的背书节点的步骤之后,该方法还包括:接收背书节点返回的背书结果;判断该背书结果是否符合交易提案对应的背书策略;如果符合,将该背书结果和交易提案发送至区块链上的共识节点,以通过共识节点对待上链内容进行上链处理。In a preferred embodiment of the present invention, after the above step of sending the transaction proposal to the endorsement node included in the endorsement policy, the method further includes: receiving the endorsement result returned by the endorsement node; judging whether the endorsement result conforms to the transaction proposal corresponding Endorsement policy; if it matches, send the endorsement result and transaction proposal to the consensus node on the blockchain, so that the content to be uploaded can be processed on the chain through the consensus node.
在本发明较佳的实施例中,上述背书策略中包含多个背书节点;上述判断背书节点返回的背书结果是否符合交易提案对应的背书策略的步骤,包括:确定背书策略中包含的多个背书节点返回的背书结果的背书数量;在该背书节点数量大于预设阈值的情况下,判断每个背书节点返回的背书结果是否是背书通过;如果多个背书节点返回的背书结果均是背书通过,确定背书节点返回的背书结果符合交易提案对应的背书策略。In a preferred embodiment of the present invention, the above-mentioned endorsement policy includes multiple endorsement nodes; the above-mentioned step of judging whether the endorsement result returned by the endorsement node conforms to the endorsement policy corresponding to the transaction proposal includes: determining the multiple endorsement nodes included in the endorsement policy The number of endorsements of the endorsement results returned by the node; when the number of endorsement nodes is greater than the preset threshold, it is judged whether the endorsement results returned by each endorsement node are endorsement passes; if the endorsement results returned by multiple endorsement nodes are all endorsement passes, Make sure that the endorsement result returned by the endorsement node complies with the endorsement policy corresponding to the transaction proposal.
第三方面,本发明实施例提供了一种区块链中的交易背书装置,该装置设置于区块链中的背书节点,该装置包括:提案接收模块,用于接收来自客户端的交易提案;其中,该交易提案中包括待上链内容;审核模块,用于模拟执行区块链上的智能合约,以审核待上链内容,得到审核结果;结果返回模块,用于根据审核结果生成背书结果,将背书结果返回至客户端。In a third aspect, an embodiment of the present invention provides a transaction endorsement device in a blockchain, the device is set at an endorsement node in the blockchain, and the device includes: a proposal receiving module, configured to receive a transaction proposal from a client; Among them, the transaction proposal includes the content to be uploaded to the chain; the audit module is used to simulate the execution of the smart contract on the blockchain to review the content to be uploaded to the chain and obtain the audit results; the result return module is used to generate endorsement results based on the audit results , and return the endorsement result to the client.
第四方面,本发明实施例提供了一种区块链中的交易背书装置,该装置设置于区块链中的客户端,该装置包括:提案生成模块,用于如果接收到待上链内容,根据待上链内容生成交易提案;其中,该交易提案中包括待上链内容;提案发送模块,用于将交易提案发送至背书策略中包含的背书节点,以通过背书节点模拟执行区块链上的智能合约,以审核待上链内容,得到审核结果;根据审核结果生成背书结果。In the fourth aspect, the embodiment of the present invention provides a transaction endorsement device in the blockchain, the device is set on the client side in the blockchain, and the device includes: a proposal generation module, used to , generate a transaction proposal according to the content to be uploaded; wherein, the transaction proposal includes the content to be uploaded to the chain; the proposal sending module is used to send the transaction proposal to the endorsement node included in the endorsement policy, so as to simulate the implementation of the blockchain through the endorsement node Smart contracts on the chain to review the content to be uploaded and get the review results; generate endorsement results based on the review results.
第五方面,本发明实施例提供了一种区块链网络,该区块链网络包括客户端和背书节点;该客户端用于向背书节点发送交易提案;其中,该交易提案中包括待上链内容;上述背书节点用于模拟执行区块链上的智能合约,以审核接收的待上链内容,得到审核结果;并根据审核结果生成背书结果,将背书结果返回至客户端。In the fifth aspect, the embodiment of the present invention provides a blockchain network, the blockchain network includes a client and an endorsement node; the client is used to send a transaction proposal to the endorsement node; wherein, the transaction proposal includes Chain content; the above-mentioned endorsement nodes are used to simulate the execution of smart contracts on the blockchain to review the received content to be uploaded to the chain, and obtain the review results; and generate endorsement results based on the review results, and return the endorsement results to the client.
在本发明较佳的实施例中,上述背书节点还用于:通过区块链上的智能合约,调用预设的内容审核算法;其中,该内容审核算法运行在背书节点上;通过内容审核算法,判断待上链内容中是否包含预设的敏感词;如果待上链内容中不包含敏感词,确定审核结果为合法;如果待上链内容中包含敏感词,确定审核结果为非法。In a preferred embodiment of the present invention, the above-mentioned endorsement node is also used to: call the preset content audit algorithm through the smart contract on the block chain; wherein, the content audit algorithm runs on the endorsement node; through the content audit algorithm , to determine whether the content to be uploaded contains the preset sensitive words; if the content to be uploaded does not contain sensitive words, determine that the audit result is legal; if the content to be uploaded contains sensitive words, determine that the audit result is illegal.
在本发明较佳的实施例中,上述背书节点还用于:对审核结果进行签名处理,得到签名后的审核结果;将签名后的审核结果确定为背书结果。In a preferred embodiment of the present invention, the above-mentioned endorsement node is also used to: sign the audit result to obtain the signed audit result; determine the signed audit result as the endorsement result.
在本发明较佳的实施例中,所述区块链网络还包括:共识节点;上述客户端还用于接收背书节点返回的背书结果;判断背书结果是否符合交易提案对应的背书策略;如果符合,将背书结果和交易提案发送至共识节点,共识节点用于对待上链内容进行上链处理。In a preferred embodiment of the present invention, the blockchain network further includes: a consensus node; the above-mentioned client is also used to receive the endorsement result returned by the endorsement node; judge whether the endorsement result conforms to the endorsement policy corresponding to the transaction proposal; , send the endorsement result and transaction proposal to the consensus node, and the consensus node is used to process the content to be uploaded on the chain.
在本发明较佳的实施例中,上述区块链网络还包括提交节点;共识节点还用于:接收来自客户端的背书结果和交易提案,根据预设的共识算法对交易提案中的待上链内容进行排序,针对排序后的待上链内容,按照预设的区块策略生成区块,并将区块发送至提交节点;该提交节点用于:对区块中的待上链内容进行校验,检验通过后对待上链内容进行上链处理。In a preferred embodiment of the present invention, the above-mentioned block chain network also includes a submission node; the consensus node is also used to: receive the endorsement result and transaction proposal from the client, and process the transactions to be uploaded in the transaction proposal according to the preset consensus algorithm The content is sorted, and for the sorted content to be uploaded, a block is generated according to the preset block strategy, and the block is sent to the submission node; the submission node is used to: proofread the content to be uploaded in the block After passing the inspection, the content to be uploaded will be uploaded to the chain.
第六方面,本发明实施例提供了一种服务器,包括处理器和存储器,该存储器存储有能够被处理器执行的机器可执行指令,该处理器执行机器可执行指令以实现第一方面所述的区块链中的交易背书方法。In a sixth aspect, an embodiment of the present invention provides a server, including a processor and a memory, the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the server described in the first aspect. The transaction endorsement method in the blockchain.
第七方面,本发明实施例提供了一种用户终端,包括处理器和存储器,该存储器存储有能够被处理器执行的机器可执行指令,该处理器执行机器可执行指令以实现第二方面所述的区块链中的交易背书方法。In a seventh aspect, an embodiment of the present invention provides a user terminal, including a processor and a memory, where the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the second aspect. The transaction endorsement method in the blockchain described above.
第八方面,本发明实施例提供了一种机器可读存储介质,该机器可读存储介质存储有机器可执行指令,该机器可执行指令在被处理器调用和执行时,该机器可执行指令促使处理器实现上述区块链中的交易背书方法。In an eighth aspect, an embodiment of the present invention provides a machine-readable storage medium, the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions Prompt the processor to implement the transaction endorsement method in the blockchain described above.
本发明实施例带来了以下有益效果:Embodiments of the present invention bring the following beneficial effects:
本发明提供了一种区块链中的交易背书方法、装置、区块链网络、服务器和用户终端,其中,该方法应用于区块链中的背书节点,该方法首先接收来自客户端的交易提案;然后模拟执行区块链上的智能合约,以审核交易提案中的待上链内容;最后根据审核结果生成背书结果,并将背书结果返回至客户端。本发明通过区块链背书节点上的智能合约审核待上链内容,不受任何个人或组织的全权控制,因而该审核流程公开透明,避免了审核结果受主观因素干扰,从而提高了区块链上链内容审核的公平性和合理性。The present invention provides a transaction endorsement method, device, blockchain network, server, and user terminal in a blockchain, wherein the method is applied to an endorsement node in a blockchain, and the method first receives a transaction proposal from a client ; Then simulate the execution of the smart contract on the blockchain to review the content to be uploaded in the transaction proposal; finally generate an endorsement result based on the review result, and return the endorsement result to the client. The present invention audits the content to be uploaded through the smart contract on the endorsement node of the blockchain, and is not under the full control of any individual or organization. Therefore, the audit process is open and transparent, and the audit results are avoided from being interfered by subjective factors, thereby improving blockchain security. Fairness and rationality of on-chain content review.
本发明的其他特征和优点将在随后的说明书中阐述,或者,部分特征和优点可以从说明书推知或毫无疑义地确定,或者通过实施本发明的上述技术即可得知。Other features and advantages of the present invention will be set forth in the following description, or some of the features and advantages can be inferred or unambiguously determined from the description, or can be known by implementing the above-mentioned techniques of the present invention.
为使本发明的上述目的、特征和优点能更明显易懂,下文特举较佳实施方式,并配合所附附图,作详细说明如下。In order to make the above-mentioned purpose, features and advantages of the present invention more comprehensible, preferred implementation modes are specifically cited below, together with the accompanying drawings, to be described in detail as follows.
附图说明Description of drawings
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the description of the specific embodiments or prior art. Obviously, the accompanying drawings in the following description The drawings show some implementations of the present invention, and those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的一种区块链网络的结构示意图;Fig. 1 is a schematic structural diagram of a block chain network provided by an embodiment of the present invention;
图2为本发明实施例提供的一种区块链中的交易背书方法的流程图;FIG. 2 is a flowchart of a transaction endorsement method in a blockchain provided by an embodiment of the present invention;
图3为本发明实施例提供的另一种区块链中的交易背书方法的流程图;Fig. 3 is a flow chart of another transaction endorsement method in blockchain provided by an embodiment of the present invention;
图4为本发明实施例提供的DFA算法中状态转换的流程图;Fig. 4 is the flowchart of state transition in the DFA algorithm provided by the embodiment of the present invention;
图5为本发明实施例提供的敏感词数据结构构造图;Fig. 5 is the sensitive word data structure construction diagram that the embodiment of the present invention provides;
图6为本发明实施例提供的另一种区块链中的交易背书方法的流程图;Fig. 6 is a flow chart of another transaction endorsement method in a blockchain provided by an embodiment of the present invention;
图7为本发明实施例提供的另一种区块链中的交易背书方法的流程图;FIG. 7 is a flow chart of another transaction endorsement method in a blockchain provided by an embodiment of the present invention;
图8为本发明实施例提供的另一种区块链中的交易背书方法的流程图;Fig. 8 is a flow chart of another transaction endorsement method in blockchain provided by an embodiment of the present invention;
图9为本发明实施例提供的一种待上链内容上链的流程图;FIG. 9 is a flow chart of uploading content to be uploaded according to an embodiment of the present invention;
图10为本发明实施例提供的一种区块链中的交易背书装置的结构示意图;Fig. 10 is a schematic structural diagram of a transaction endorsement device in a blockchain provided by an embodiment of the present invention;
图11为本发明实施例提供的另一种区块链中的交易背书装置的结构示意图;Fig. 11 is a schematic structural diagram of another transaction endorsement device in a blockchain provided by an embodiment of the present invention;
图12为本发明实施例提供的一种区块链网络的结构示意图;FIG. 12 is a schematic structural diagram of a blockchain network provided by an embodiment of the present invention;
图13为本发明实施例提供的一种服务器或用户终端的结构示意图。FIG. 13 is a schematic structural diagram of a server or user terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合实施例对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
区块链技术因其去中心化、不可篡改、可审计等特性被广泛应用于数字存证、供应链金融、医疗隐私信息保护、电子票据、资源可信共享等领域。通过区块链技术可以帮助参与区块链的各方快速建立起一套信任机制,从而极大地推动了数字金融领域的发展,且区块链技术运行机制较高效,越来越多的企业机构和个人用户都倾向于将数字化资源存储到区块链中,如图1所示为一种区块链网络的示意图。Due to its characteristics of decentralization, non-tampering, and auditability, blockchain technology is widely used in digital certificate storage, supply chain finance, medical privacy information protection, electronic bills, trusted sharing of resources, and other fields. Blockchain technology can help all parties involved in the blockchain to quickly establish a set of trust mechanisms, thus greatly promoting the development of the digital financial field, and the operation mechanism of blockchain technology is more efficient, and more and more corporate organizations Both individual and individual users tend to store digital resources in the blockchain, as shown in Figure 1, which is a schematic diagram of a blockchain network.
图1中的区块链网络包括客户端、背书节点、共识节点和提交节点。通常用户通过客户端向背书节点发送交易提案,背书节点接收交易提案后对用户身份和交易合法性进行验证,将验证结果返回至客户端;客户端对验证结果进行核查,核查无误后将交易提案中的待上链内容进行打包,并将该打包数据发送至共识节点;共识节点对该打包数据进行排序后,将排序后的数据按照区块策略生成新的区块,并将该区块发送至提交节点,提交节点对区块中的交易进行验证,验证完成后对数据进行上链操作。The blockchain network in Figure 1 includes clients, endorsement nodes, consensus nodes and submission nodes. Usually, the user sends a transaction proposal to the endorsement node through the client. After the endorsement node receives the transaction proposal, it verifies the user's identity and the legality of the transaction, and returns the verification result to the client; the client verifies the verification result, and sends the transaction proposal The content to be uploaded in the chain is packaged, and the packaged data is sent to the consensus node; after the consensus node sorts the packaged data, the sorted data is generated according to the block strategy to generate a new block, and the block is sent to To the submitting node, the submitting node verifies the transactions in the block, and after the verification is completed, the data is uploaded to the chain.
随着互联网的快速发展,越来越多的互联网公司都向外推出了内容提供服务,因此每天都会产生大量的数据,该数据通常是呈指数级增长的,不可避免地,不法分子也会在互联网上发布一些非法内容或者恶意造谣内容,由于区块链去中心化不可篡改的特性,除非停掉整个网络上所有节点上的区块链网络或者联合超过全网51%以上的节点去修改链上数据,否则无法删除非法内容或者恶意造谣内容,因此一旦非法内容上链,将对社会和相关个人造成不可挽回的损失。With the rapid development of the Internet, more and more Internet companies have launched content-providing services, so a large amount of data is generated every day, and the data usually increases exponentially. Some illegal content or malicious rumors are published on the Internet. Due to the decentralized and non-tamperable characteristics of the blockchain, unless the blockchain network on all nodes on the entire network is stopped or more than 51% of the nodes in the entire network are combined to modify the chain Otherwise, illegal content or malicious rumor content cannot be deleted. Therefore, once illegal content is uploaded to the chain, it will cause irreparable losses to the society and related individuals.
基于此,部分企业会对上链内容进行审核,审核标准以及敏感内容库由企业制定且不完全公开可见,审核行为也完全由企业方主导。为了个人或企业利益,擅自撤销或者屏蔽内容提供者的上传内容的现象时有发生,因此该内容审核方式欠缺公平性和合理性。Based on this, some companies will review the content on the chain. The review standards and sensitive content library are formulated by the company and are not completely publicly visible. The review behavior is also completely dominated by the company. For the benefit of individuals or businesses, the unauthorized cancellation or blocking of uploaded content by content providers happens from time to time, so this content review method lacks fairness and rationality.
在上述问题的基础上,本发明实施例提供一种区块链中的交易背书方法、装置、区块链网络、服务器和用户终端;该技术可以应用于区块链技术中数据上链的场景中,尤其是对区块链中待上链数据的内容进行审核的场景。On the basis of the above problems, the embodiment of the present invention provides a transaction endorsement method, device, blockchain network, server and user terminal in the blockchain; this technology can be applied to the scene of data uploading in the blockchain technology , especially in the scenario of reviewing the content of the data to be uploaded in the blockchain.
为便于对本实施例进行理解,首先对本发明实施例所公开的一种区块链中的交易背书方法进行详细介绍,该方法应用于区块链中的背书节点,如图2所示,该方法包括如下步骤:In order to facilitate the understanding of this embodiment, a transaction endorsement method in a block chain disclosed in the embodiment of the present invention is firstly introduced in detail. This method is applied to an endorsement node in a block chain, as shown in FIG. 2 , the method Including the following steps:
步骤S202,接收来自客户端的交易提案;其中,该交易提案中包括待上链内容。Step S202, receiving a transaction proposal from the client; wherein, the transaction proposal includes content to be uploaded.
该客户端可以是安装在用户的移动终端(如手机、平板电脑等)或者计算机上的应用程序,也可以是计算机上的SDK(Software Development Kit,软件开发工具包)。上述待上链内容通常为用户想要上传的文字、图片或者视频等。除待上链内容外,上述交易提案通常还包括用户身份信息、交易信息等。The client may be an application program installed on the user's mobile terminal (such as a mobile phone, a tablet computer, etc.) or a computer, or may be an SDK (Software Development Kit, software development kit) on the computer. The above-mentioned content to be uploaded is usually the text, picture or video that the user wants to upload. In addition to the content to be uploaded, the above-mentioned transaction proposals usually include user identity information, transaction information, etc.
步骤S204,模拟执行上述区块链上的智能合约,以审核待上链内容,得到审核结果。Step S204, simulating the execution of the smart contract on the blockchain to review the content to be uploaded and obtain the review result.
上述智能合约通常是一种以信息化方式传播、验证或执行合同的计算机协议,该智能合约通常为写在区块链上的链码,该链码可以对交易资产进行编码,其中交易指令可以修改交易资产。在实例化时,智能合约需要指定背书策略,该背书策略通常需要指定背书节点对交易进行背书,也可以理解为背书节点可以验证或声明交易是否合法。The above-mentioned smart contract is usually a computer protocol that disseminates, verifies or executes contracts in an informatized manner. The smart contract is usually a chain code written on the blockchain. The chain code can encode transaction assets, and transaction instructions can be Modify transaction assets. When instantiating, the smart contract needs to specify an endorsement policy. The endorsement policy usually needs to specify the endorsement node to endorse the transaction. It can also be understood that the endorsement node can verify or declare whether the transaction is legal.
在具体实现时,通过客户端的SDK与区块链网络进行交互,可以调用区块链上的智能合约(也可称为链码),并根据验证需求选定部分审核方的节点作为背书节点,从而可以生成相应的背书策略,背书策略中通常包括一个或者多个背书节点。例如,背书策略的链码可以编写为:peer chaincode instantiate-C<channelid>-nSensitive-Chaincode-P"AND('Org1.peer','Org2.peer','Org3.peer')";该背书策略中只有Org1.peer、Org3.peer和Org3.peer三个背书节点都背书通过,这个背书流程才算真正完成。In the specific implementation, through the client's SDK to interact with the blockchain network, the smart contract on the blockchain (also called chain code) can be invoked, and some nodes of the auditing party are selected as endorsement nodes according to the verification requirements. Accordingly, a corresponding endorsement policy can be generated, and the endorsement policy usually includes one or more endorsement nodes. For example, the chaincode of the endorsement policy can be written as: peer chaincode instantiate-C<channelid>-nSensitive-Chaincode-P"AND('Org1.peer','Org2.peer','Org3.peer')"; the endorsement In the policy, only when the three endorsement nodes of Org1.peer, Org3.peer and Org3.peer all endorse, the endorsement process is truly completed.
当客户端发送交易提案后,背书策略中的每个背书节点都可以接收到交易提案,然后每个背书节点验证交易提案中的用户身份信息是否符合预设的要求,如果符合要求,则模拟执行(模拟执行智能合约后待上链内容通常不会将审核结果记录在区块链中)智能合约,该智能合约可以对交易提案中的待上链内容进行内容审核,以得到待上链内容合法或者不合法的审核结果。其中,该内容审核通常是审核待上链内容是否为非法内容或者恶意造谣内容等。After the client sends the transaction proposal, each endorsement node in the endorsement policy can receive the transaction proposal, and then each endorsement node verifies whether the user identity information in the transaction proposal meets the preset requirements, and if it meets the requirements, it will simulate execution (After simulating the execution of the smart contract, the content to be uploaded to the chain usually does not record the audit results in the blockchain) smart contract, which can conduct content audit on the content to be uploaded to the chain in the transaction proposal, so as to obtain the legality of the content to be uploaded to the chain. or illegal audit results. Among them, the content review is usually to review whether the content to be uploaded is illegal content or malicious rumor content.
步骤S206,根据上述审核结果生成背书结果,将该背书结果返回至客户端。In step S206, an endorsement result is generated according to the above review result, and the endorsement result is returned to the client.
背书节点根据待上链内容的审核结果的合法性,对应生成背书结果。当待上链内容审核结果为合法时,对应的背书节点的背书结果为背书通过,当待上链内容审核结果为非法时,对应的背书节点的背书结果为背书不通过。背书节点将背书结果返回至客户端,如果背书策略中所有的背书节点均背书通过,客户端将待上链内容发送至共识节点;共识节点对待上链内容进行排序,再根据区块生成策略生成新的区块,并发送区块到提交节点;提交节点对区块中的待上链内容进行验证,验证完成后对待上链内容进行上链操作。如果背书策略中所有的背书节点有一个或者多个背书未通过,待上链内容将会上传失败。The endorsement node generates an endorsement result corresponding to the legitimacy of the audit result of the content to be uploaded. When the audit result of the content to be uploaded is legal, the endorsement result of the corresponding endorsement node is endorsement pass; when the audit result of the content to be uploaded is illegal, the endorsement result of the corresponding endorsement node is endorsement failed. The endorsement node returns the endorsement result to the client. If all the endorsement nodes in the endorsement policy have endorsed, the client will send the content to be uploaded to the consensus node; the consensus node will sort the content to be uploaded to the chain, and then generate according to the block generation strategy Create a new block and send the block to the submitting node; the submitting node verifies the content to be uploaded in the block, and performs operations on the chain after the verification is completed. If one or more endorsements of all the endorsement nodes in the endorsement policy fail, the content to be uploaded will fail to be uploaded.
本发明提供了一种区块链中的交易背书方法,该方法应用于区块链中的背书节点,该方法首先接收来自客户端的交易提案;然后模拟执行区块链上的智能合约,以审核交易提案中的待上链内容;最后根据审核结果生成背书结果,并将背书结果返回至客户端。本发明通过区块链背书节点上的智能合约审核待上链内容,不受任何个人或组织的全权控制,因而该审核流程公开透明,避免了审核结果受主观因素干扰,从而提高了区块链上链内容审核的公平性和合理性。The invention provides a transaction endorsement method in the block chain, the method is applied to the endorsement node in the block chain, the method first receives the transaction proposal from the client; then simulates the execution of the smart contract on the block chain to review The content to be uploaded in the transaction proposal; finally, the endorsement result is generated according to the review result, and the endorsement result is returned to the client. The present invention audits the content to be uploaded through the smart contract on the endorsement node of the blockchain, and is not under the full control of any individual or organization. Therefore, the audit process is open and transparent, and the audit results are avoided from being interfered by subjective factors, thereby improving blockchain security. Fairness and rationality of on-chain content review.
本发明实施例还提供另一种区块链中的交易背书方法,该方法在上述实施例所述方法的基础上实现;该方法重点描述通过区块链上的智能合约审核待上链内容的具体过程;如图3所示,该方法包括如下步骤:The embodiment of the present invention also provides another transaction endorsement method in the block chain, which is implemented on the basis of the method described in the above-mentioned embodiment; Concrete process; As shown in Figure 3, this method comprises the steps:
步骤S302,接收来自客户端的交易提案;其中,该交易提案中包括待上链内容。Step S302, receiving a transaction proposal from the client; wherein, the transaction proposal includes content to be uploaded.
步骤S304,通过区块链上的智能合约,调用预设的内容审核算法;其中,该内容审核算法运行在背书节点上。Step S304, call the preset content review algorithm through the smart contract on the blockchain; wherein, the content review algorithm runs on the endorsement node.
上述预设的内容审核算法通常为敏感词过滤算法,敏感词过滤算法可以采用DFA(Deterministic Finite Automaton,确定有穷自动机)算法。该DFA算法的特征为:有一个有限状态集合和一些从一个状态通向另一个状态的边,每条边标记有一个符号,其中一个状态是初态,某些状态是终态,也可以理解为通过当前的状态state和事件event可以得到下一个状态next state=event+state,如图4所示为DFA算法中状态转换的流程图。The aforementioned preset content review algorithm is usually a sensitive word filtering algorithm, and the sensitive word filtering algorithm may use a DFA (Deterministic Finite Automaton, deterministic finite automaton) algorithm. The characteristics of the DFA algorithm are: there is a finite state set and some edges leading from one state to another state, each edge is marked with a symbol, one of the states is the initial state, and some states are the final state, which can also be understood In order to obtain the next state next state=event+state through the current state state and the event event, FIG. 4 is a flow chart of state transition in the DFA algorithm.
图4中S、U、V和Q均表示状态,a和b表示动作,通常可以根据输入至DFA中的事件(也可以理解为待上链内容),确定通过哪一个动作从一个状态到另一个状态。在敏感词过滤中不是事件和状态转换,而是查找,如有敏感词“中国间谍”和“中美贸易战”,首先需要构造敏感词数据结构,如图5所示。由图5可知,若有多个首字符不同的敏感词将会构成多棵独立的关键词树,为了提高查询效率,可以将所有首字母存放到单独的首字母集合中。In Figure 4, S, U, V, and Q all represent states, and a and b represent actions. Usually, it can be determined which action to pass from one state to another according to the events input into the DFA (also can be understood as the content to be uploaded). a state. In sensitive word filtering, it is not events and state transitions, but searching. If there are sensitive words such as "Chinese spy" and "Sino-US trade war", it is first necessary to construct a sensitive word data structure, as shown in Figure 5. It can be seen from Figure 5 that if there are multiple sensitive words with different initial characters, multiple independent keyword trees will be formed. In order to improve query efficiency, all initial letters can be stored in a separate initial set.
当DFA算法对应的本地库中存储有1577个敏感词时,得到了DFA算法进行敏感词识别的平均耗时和准确率,如表1所示。由表1可知DFA算法进行敏感词识别所消耗的平均时间非常少,准确率也较高。When 1577 sensitive words are stored in the local library corresponding to the DFA algorithm, the average time-consuming and accuracy of sensitive word recognition by the DFA algorithm are obtained, as shown in Table 1. It can be seen from Table 1 that the average time consumed by the DFA algorithm for identifying sensitive words is very small, and the accuracy rate is also high.
表1Table 1
步骤S306,通过上述内容审核算法审核待上链内容,得到审核结果。Step S306, review the content to be uploaded through the above-mentioned content review algorithm, and obtain the review result.
上述内容审核算法可以审核待上链内容是否为非法内容或者恶意造谣内容,通常可以通过审核待上链内容是否包含敏感词来确定待上链内容是否合法,并得到审核结果。那么通过内容审核算法审核待上链内容可通过下述步骤01-03实现:The above-mentioned content review algorithm can review whether the content to be uploaded is illegal or maliciously spread rumors. Usually, it can be determined whether the content to be uploaded is legal by reviewing whether the content to be uploaded contains sensitive words, and the audit result can be obtained. Then, through the content review algorithm, the content to be uploaded can be reviewed through the following steps 01-03:
步骤01,判断待上链内容中是否包含预设的敏感词;如果待上链内容中不包含敏感词,执行步骤02;如果待上链内容中包含敏感词,执行步骤03。Step 01, determine whether the content to be uploaded contains preset sensitive words; if the content to be uploaded does not contain sensitive words, perform step 02; if the content to be linked contains sensitive words, perform step 03.
上述敏感词通常为涉政、涉黄、涉暴等词句。将待上链内容与内容审核算法对应的敏感词库进行匹配,得到匹配结果;其中,敏感词库、以及该敏感词库的哈希值,存储在区块链上;如果匹配结果为匹配失败,确定待上链内容中不包含敏感词;如果匹配结果为匹配成功,确定待上链内容中包含敏感词。The above-mentioned sensitive words are usually related to politics, pornography, and violence. Match the content to be uploaded with the sensitive lexicon corresponding to the content review algorithm to obtain the matching result; among them, the sensitive lexicon and the hash value of the sensitive lexicon are stored on the blockchain; if the matching result is a match failure , confirm that the content to be uploaded does not contain sensitive words; if the matching result is a successful match, confirm that the content to be uploaded contains sensitive words.
上述敏感词库通常为预先建立好的有关敏感词的集合。该敏感词库经过加密后进行base64编码后与Hash(哈希值)一起上传至上传至区块链,区块链联盟内的任何节点想要更新敏感词库,必须经过联盟内其他成员同意,区块链上加密的敏感词库和对应的Hash对所有人公开透明,因此任何节点都很难私自篡改敏感词库,从而防止了因为个体利益擅自篡改敏感词库的现象,同时也给待上链内容的提供者带来了更安全合法的利益保障。The above-mentioned sensitive lexicon is usually a set of related sensitive words established in advance. The sensitive lexicon is encrypted and base64-encoded and then uploaded to the blockchain together with Hash (hash value). Any node in the blockchain alliance who wants to update the sensitive lexicon must obtain the consent of other members of the alliance. The encrypted sensitive lexicon and the corresponding Hash on the blockchain are open and transparent to everyone, so it is difficult for any node to tamper with the sensitive lexicon privately, thereby preventing the phenomenon of tampering with the sensitive lexicon due to personal interests Providers of chain content bring more secure and legal interests.
步骤02,确定审核结果为合法。Step 02, determine that the audit result is legal.
步骤03,确定审核结果为非法。Step 03, determine that the audit result is illegal.
步骤S308,根据上述审核结果生成背书结果,将该背书结果返回至客户端。In step S308, an endorsement result is generated according to the above review result, and the endorsement result is returned to the client.
上述区块链中的交易背书方法,接收到自客户端的交易提案后通过区块链上的智能合约,调用预设的内容审核算法,并通过该内容审核算法审核待上链内容得到审核结果,最后根据上述审核结果生成背书结果,将该背书结果返回至客户端。该方式将内容审核算法运行在背书节点上对待上链内容进行审核,可以保证每一次审核都是经过背书节点审核,不是由内容管理方全权控制,审核流程公开透明且可审计,同时由于所有区块链上内容不可篡改,因此可以对内容自动审核后的上链内容更好地适应当前监管的要求。The transaction endorsement method in the above-mentioned blockchain, after receiving the transaction proposal from the client, invokes the preset content review algorithm through the smart contract on the blockchain, and uses the content review algorithm to review the content to be uploaded to the chain to obtain the review result. Finally, an endorsement result is generated based on the above review results, and the endorsement result is returned to the client. This method runs the content review algorithm on the endorsement node to review the content on the chain, which can ensure that each review is reviewed by the endorsement node and is not fully controlled by the content manager. The review process is open, transparent and auditable. The content on the block chain cannot be tampered with, so the content on the chain after the content is automatically reviewed can better meet the current regulatory requirements.
本发明实施例还提供另一种区块链中的交易背书方法,该方法在上述实施例所述方法的基础上实现;该方法重点描述内容审核算法确定待上链内容合法的具体过程,以及根据审核结果生成背书结果的具体过程;如图6所示,该方法包括如下步骤:The embodiment of the present invention also provides another transaction endorsement method in the blockchain, which is implemented on the basis of the method described in the above embodiment; the method focuses on describing the specific process of the content review algorithm to determine the legality of the content to be uploaded to the chain, and The specific process of generating the endorsement result according to the audit result; as shown in Figure 6, the method includes the following steps:
步骤S602,接收来自客户端的交易提案;其中,该交易提案中包括待上链内容。Step S602, receiving a transaction proposal from the client; wherein, the transaction proposal includes content to be uploaded.
步骤S604,通过区块链上的智能合约,调用预设的内容审核算法;其中,该内容审核算法运行在背书节点上。Step S604, call the preset content review algorithm through the smart contract on the blockchain; wherein, the content review algorithm runs on the endorsement node.
背书节点接收到交易提案后,将模拟执行区块链上的智能合约,该智能合约将调用内容审核算法(例如,敏感词过滤算法DFA)进行内容审核,以查看该背书节点上的待上链内容是否包含敏感词。After the endorsement node receives the transaction proposal, it will simulate the execution of the smart contract on the blockchain, and the smart contract will call the content review algorithm (for example, the sensitive word filtering algorithm DFA) for content review to check the transactions to be uploaded on the endorsement node. Whether the content contains sensitive words.
步骤S606,通过上述内容审核算法判断待上链内容中是否包含预设的敏感词;如果上述待上链内容中不包含敏感词,执行步骤S608;如果上述待上链内容中包含敏感词,执行步骤S612。Step S606, judge whether the preset sensitive words are contained in the content to be uploaded through the above-mentioned content review algorithm; if the above-mentioned content to be uploaded does not contain sensitive words, execute step S608; if the above-mentioned content to be uploaded contains sensitive words, execute Step S612.
首先需要对待上链内容进行分词,将得到的分词结果与敏感词库中的敏感词进行比对,如果该分词结果中无敏感词,则初步审核结果为无敏感词,为了确保判断的准确性需要对待上链内容进行二次审核;如果该分词结果中有敏感词,将直接判定为待上链内容非法,也即是审核结果为非法。First of all, it is necessary to perform word segmentation on the content to be uploaded, and compare the obtained word segmentation result with the sensitive words in the sensitive word database. If there is no sensitive word in the word segmentation result, the preliminary review result is no sensitive word. In order to ensure the accuracy of the judgment A second review is required for the content to be uploaded; if there are sensitive words in the word segmentation result, it will be directly judged that the content to be uploaded is illegal, that is, the review result is illegal.
步骤S608,通过预设的网络接口,调用第三方服务审核待上链内容;执行步骤S610。Step S608, call a third-party service to review the content to be uploaded through the preset network interface; execute step S610.
步骤S610,如果上述第三方服务审核通过,确定审核结果为合法;执行步骤S614。Step S610, if the above-mentioned third-party service audit passes, it is determined that the audit result is legal; and step S614 is executed.
上述第三方服务通常为根据审核方的需求预设的审核算法,例如,可以对待上链内容进行分词、去停顿词、去无意义词等处理,再提取对处理后的待上链内容的内容特征(该内容特征可以包括内容对应的词特征、文本风格特征和语义特征),然后使用分类器对内容特征进行过滤,得到过滤结果;最后通过过滤结果得到内容审核的置信度,如果置信度值小于预设的阈值,确定审核结果为合法;如果置信度值大于或者等于预设的阈值,确定审核结果为非法。The above-mentioned third-party services are usually audit algorithms preset according to the needs of the auditors. For example, word segmentation, stop words, and meaningless words can be processed on the content to be uploaded, and then the content of the processed content to be uploaded can be extracted. feature (the content feature can include word feature, text style feature and semantic feature corresponding to the content), and then use the classifier to filter the content feature to obtain the filtering result; finally, the confidence degree of the content review is obtained through the filtering result, if the confidence value If it is less than the preset threshold, it is determined that the audit result is legal; if the confidence value is greater than or equal to the preset threshold, it is determined that the audit result is illegal.
步骤S612,确定审核结果为非法;执行步骤S614。Step S612, determine that the audit result is illegal; execute step S614.
步骤S614,对上述审核结果进行签名处理,得到签名后的审核结果。Step S614, perform signature processing on the above-mentioned review result, and obtain the signed review result.
该签名通常为CA(Certificate Authority,电子认证服务机构)证书签名,以声明或者保证该审核结果的正确性。The signature is usually signed by a CA (Certificate Authority, electronic certification service agency) certificate to declare or guarantee the correctness of the audit result.
步骤S616,将上述签名后的审核结果确定为背书结果,将该背书结果返回至客户端。该背书结果通常包括审核结果和CA签名证书。Step S616, determining the signed verification result as the endorsement result, and returning the endorsement result to the client. The endorsement results usually include audit results and CA-signed certificates.
当客户端接收到所有背书节点的背书结果后,将验证背书的签名是否正确、比对所有背书节点的背书结果是否正确、以及检查是否收到了所有背书节点的背书结果。When the client receives the endorsement results of all endorsement nodes, it will verify whether the signature of the endorsement is correct, compare the endorsement results of all endorsement nodes, and check whether the endorsement results of all endorsement nodes have been received.
上述区块链中的交易背书方法,背书节点接收到交易提案后,通过区块链上的智能合约调用预设的内容审核算法,并通过该内容审核算法判断待上链内容中是否包含预设的敏感词;如果待上链内容中不包含敏感词,调用第三方服务审核待上链内容,如果审核通过确定审核结果为合法;如果待上链内容中包含敏感词,确定审核结果合法;最后对审核结果进行签名处理,得到背书结果。该方式对待上链内容进行二次审核可以保证审核结果的正确性,且内容审核算法均在背书节点上完成,整个审核流程公开透明,且具有一定的可控性。In the above-mentioned transaction endorsement method in the blockchain, after the endorsement node receives the transaction proposal, it invokes the preset content audit algorithm through the smart contract on the blockchain, and judges whether the content to be uploaded contains the preset content through the content audit algorithm. Sensitive words; if the content to be uploaded does not contain sensitive words, call a third-party service to review the content to be uploaded, and if the review is passed, determine that the audit result is legal; if the content to be uploaded contains sensitive words, determine that the audit result is legal; finally Sign the audit result and get the endorsement result. This method conducts a second review of the content on the chain to ensure the correctness of the review results, and the content review algorithm is completed on the endorsement node. The entire review process is open, transparent, and has certain controllability.
本发明实施例还提供另一种区块链中的交易背书方法,该方法应用于区块链中的客户端,如图7所示,该方法包括如下步骤:The embodiment of the present invention also provides another transaction endorsement method in the blockchain, which is applied to the client in the blockchain, as shown in Figure 7, the method includes the following steps:
步骤S702,如果接收到待上链内容,根据该待上链内容生成交易提案;其中,该交易提案中包括待上链内容。Step S702, if the content to be uploaded is received, a transaction proposal is generated according to the content to be uploaded; wherein, the transaction proposal includes the content to be uploaded.
上述待上链内容通常是内容提供方通过注册账号在客户端中上传的文字、图片或者视频等。上述交易提案不仅包括待上链内容,通常还包括用户身份信息、交易信息等。The above-mentioned content to be uploaded is usually the text, picture or video uploaded by the content provider in the client through the registered account. The above-mentioned transaction proposals not only include the content to be uploaded to the chain, but also usually include user identity information, transaction information, etc.
步骤S704,将上述交易提案发送至背书策略中包含的背书节点,以通过背书节点模拟执行区块链上的智能合约,以审核待上链内容,得到审核结果;根据审核结果生成背书结果。Step S704, sending the above transaction proposal to the endorsement node included in the endorsement policy, so as to simulate the execution of the smart contract on the blockchain through the endorsement node, to review the content to be uploaded to the chain, and obtain the review result; generate an endorsement result according to the review result.
在具体实现时,通过客户端的SDK与区块链网络进行交互,可以调用区块链上的智能合约,并根据验证需求选定部分审核方的节点作为背书节点,从而可以生成相应的背书策略。In the specific implementation, through the client's SDK to interact with the blockchain network, the smart contract on the blockchain can be invoked, and some nodes of the reviewer are selected as endorsement nodes according to the verification requirements, so that corresponding endorsement policies can be generated.
上述区块链中的交易背书方法,如果接收到待上链内容后,根据该待上链内容生成交易提案;再将该交易提案发送至背书策略中包含的背书节点,以通过背书节点模拟执行区块链上的智能合约,以审核待上链内容,得到审核结果;根据审核结果生成背书结果。该方式通过区块链背书节点上的智能合约审核待上链内容,不受任何个人或组织的控制,因而该审核流程公开透明,避免了审核结果受主观因素干扰,从而提高了区块链上链内容审核的公平性和合理性。For the transaction endorsement method in the above-mentioned blockchain, if the content to be uploaded is received, a transaction proposal is generated according to the content to be uploaded; then the transaction proposal is sent to the endorsement node included in the endorsement policy to simulate execution by the endorsement node The smart contract on the blockchain is used to review the content to be uploaded to the chain and obtain the review result; the endorsement result is generated according to the review result. This method reviews the content to be uploaded through the smart contract on the blockchain endorsement node, and is not controlled by any individual or organization. Therefore, the review process is open and transparent, avoiding the interference of the review results by subjective factors, thereby improving the blockchain. The fairness and rationality of chain content review.
本发明实施例还提供另一种区块链中的交易背书方法,该方法在上述图7所示方法的基础上实现;该方法重点描述客户端对背书结果进行处理的具体过程;如图8所示,该方法包括如下步骤:The embodiment of the present invention also provides another transaction endorsement method in the blockchain, which is implemented on the basis of the method shown in Figure 7 above; this method focuses on describing the specific process of the client processing the endorsement result; as shown in Figure 8 As shown, the method includes the following steps:
步骤S802,如果接收到待上链内容,根据该待上链内容生成交易提案;其中,该交易提案中包括待上链内容。Step S802, if the content to be uploaded is received, a transaction proposal is generated according to the content to be uploaded; wherein, the transaction proposal includes the content to be uploaded.
步骤S804,将上述交易提案发送至背书策略中包含的背书节点,以通过背书节点模拟执行区块链上的智能合约,以审核待上链内容,得到审核结果;根据审核结果生成背书结果。Step S804, send the above transaction proposal to the endorsement node included in the endorsement policy, so as to simulate the execution of the smart contract on the blockchain through the endorsement node, to review the content to be uploaded to the chain, and obtain the review result; generate an endorsement result according to the review result.
步骤S806,接收上述背书节点返回的背书结果。Step S806, receiving the endorsement result returned by the endorsement node.
步骤S808,判断上述背书结果是否符合交易提案对应的背书策略;如果符合,执行步骤S810;执行步骤S812。Step S808, judging whether the above endorsement result conforms to the endorsement policy corresponding to the transaction proposal; if so, execute step S810; execute step S812.
当客户端接收到背书节点返回的背书结果时,判断背书结果是否满足要求,以确定待上链内容是否满足上链要求。在具体实现时,如果背书策略中包含多个背书节点;上述步骤S808可以通过下述步骤80-82实现:When the client receives the endorsement result returned by the endorsement node, it judges whether the endorsement result meets the requirements, so as to determine whether the content to be uploaded meets the requirements of the chain. In specific implementation, if the endorsement policy includes multiple endorsement nodes; the above step S808 can be implemented through the following steps 80-82:
步骤80,确定背书策略中包含的多个背书节点返回的背书结果的背书节点数量。Step 80, determine the number of endorsement nodes of the endorsement results returned by the multiple endorsement nodes included in the endorsement policy.
步骤81,在上述背书节点数量大于预设阈值的情况下,判断每个背书节点返回的背书结果是否是背书通过。Step 81, in the case that the number of the above-mentioned endorsement nodes is greater than the preset threshold, it is judged whether the endorsement result returned by each endorsement node is the endorsement passed.
上述预设阈值通常是人为设定的,可以是所有背书节点的数量,也可是所有背书节点数量的百分比,例如,80%或者70%;通常情况下,背书策略中的所有背书节点都返回背书结果是最理想的情况。The above-mentioned preset threshold is usually set artificially, which can be the number of all endorsement nodes, or the percentage of all endorsement nodes, for example, 80% or 70%; usually, all endorsement nodes in the endorsement policy return the endorsement The result is the best case scenario.
步骤82,如果多个上述背书节点返回的背书结果均是背书通过,确定背书节点返回的背书结果符合交易提案对应的背书策略。Step 82, if the endorsement results returned by the above-mentioned endorsement nodes all pass the endorsement, determine that the endorsement results returned by the endorsement nodes comply with the endorsement policy corresponding to the transaction proposal.
例如,背书策略中包含6个背书节点,预设阈值设置为4,当收到的5个背书节点的背书结果均为背书通过时,可以确定背书节点返回的背书结果符合交易提案对应的背书策略。For example, the endorsement policy contains 6 endorsement nodes, and the preset threshold is set to 4. When the endorsement results of the 5 endorsement nodes are all passed, it can be determined that the endorsement results returned by the endorsement node conform to the endorsement policy corresponding to the transaction proposal .
步骤S810,将上述背书结果和交易提案发送至区块链上的共识节点,以通过共识节点对待上链内容进行上链处理。结束。Step S810, sending the above-mentioned endorsement result and transaction proposal to the consensus node on the block chain, so that the content to be uploaded to the chain can be processed on the chain through the consensus node. Finish.
当上述背书结果符合背书策略时,将待上链内容进行打包,并将打包数据发送至共识节点,共识节点根据当前共识算法对打包数据中的待上链内容进行排序,并根据区块生成策略生成排序后的待上链内容对应的区块,然后将该区块提交至提交节点,提交节点将该待上链内容写入区块链网络。When the above endorsement results conform to the endorsement policy, the content to be uploaded will be packaged and the packaged data will be sent to the consensus node. Generate the block corresponding to the sorted content to be uploaded, and then submit the block to the submission node, and the submission node will write the content to be uploaded to the blockchain network.
步骤S812,显示上述待上链内容上链失败。Step S812, displaying that the content to be uploaded fails to be uploaded.
只有背书签名验证正确,所有背书节点的背书结果均为合法且客户端收到了所有背书节点的背书结果,才能确定待上链内容背书成功,背书成功后,客户端可以将待上链内容发送至共识节点,以完成后续的上链操作。Only when the endorsement signature is verified correctly, the endorsement results of all endorsement nodes are legal, and the client receives the endorsement results of all endorsement nodes, can it be confirmed that the content to be uploaded to the chain is successfully endorsed. After the endorsement is successful, the client can send the content to be uploaded to the chain to Consensus nodes to complete subsequent operations on the chain.
图9所示为一种待上链内容上链的流程图;首先待上链内容的内容提供方需要在区块链平台上提交身份注册,经过审核方审核无误后可以加入联盟区块链,并获得注册账号;其中,内容提供方注册时所提供的信息必须真实有效且一个身份证信息仅能实名注册一次。内容提供方通过注册账号和注册密码登录区块链平台(相当于客户端),并基于已经编辑好的待上链内容发起交易提案。当背书策略的所有背书节点都会接收到交易提案,并验证内容提供方的证书和权限(相当于上述的身份信息),如果符合要求,背书节点将模拟执行区块链上的智能合约。Figure 9 shows a flow chart of content to be uploaded to the chain; first, the content provider of the content to be uploaded needs to submit identity registration on the blockchain platform, and can join the alliance blockchain after being verified by the reviewer. And get a registered account; Among them, the information provided by the content provider when registering must be true and valid, and an ID card information can only be registered once with a real name. The content provider logs in to the blockchain platform (equivalent to a client) through a registered account and a registered password, and initiates a transaction proposal based on the edited content to be uploaded to the chain. When all the endorsement nodes of the endorsement policy will receive the transaction proposal and verify the certificate and authority of the content provider (equivalent to the above identity information), if the requirements are met, the endorsement node will simulate the execution of the smart contract on the blockchain.
智能合约将调用区块链上的敏感词过滤算法判断待上链内容中是否包含敏感词,如果待上链内容中不包含敏感词将调用第三方服务提供的内容审核算对待上链内容进行二次审核,以确保审核的准确性和审核的性能。如果二次审核通过,将得到待上链内容合法的判断结果,此时,背书节点将对待上链内容的判断结果进行签名,得到背书结果,最后将背书结果发送至内容提供方的区块链平台。The smart contract will call the sensitive word filtering algorithm on the blockchain to determine whether the content to be uploaded contains sensitive words. If the content to be uploaded does not contain sensitive words, it will call the content audit provided by the third-party service to perform secondary evaluation on the content to be uploaded. review to ensure the accuracy of the review and the performance of the review. If the second review is passed, the judgment result of the legality of the content to be uploaded will be obtained. At this time, the endorsement node will sign the judgment result of the content to be uploaded to the chain, obtain the endorsement result, and finally send the endorsement result to the blockchain of the content provider platform.
背书策略中所有的背书节点都发送完背书结果后,区块链平台将判断是不是所有背书节点的背书结果均为合法(相当于背书通过),如果不是,待上链内容上链失败;如果均合法,则将待上链内容进行打包组成一个交易,并对该交易进行签名后发送至共识节点,共识节点根据当前共识算法对待上链内容进行排序,并根据区块生成策略生成排序后的待上链内容对应的区块,将该区块提交至Committer节点(也可称为提交节点)。上述区块生成策略通常可以按照待上链内容的类型或数据格式等划分区块。After all the endorsement nodes in the endorsement policy have sent the endorsement results, the blockchain platform will judge whether the endorsement results of all the endorsement nodes are legal (equivalent to passing the endorsement), if not, the content to be uploaded to the chain fails; if If they are all legal, the content to be uploaded will be packaged to form a transaction, and the transaction will be signed and sent to the consensus node. The consensus node will sort the content on the chain according to the current consensus algorithm, and generate the sorted transaction according to the block generation strategy. Submit the block corresponding to the content to be uploaded to the Committer node (also referred to as the commit node). The above-mentioned block generation strategy can usually divide blocks according to the type of content to be uploaded or data format.
Committer节点收到区块后,会对区块中内容提供方提交的交易提案进行校验,也即是调用与该交易相关的VSCC(validator system chaincode,验证程序系统链代码)作为交易验证流程的一部分来确定交易的有效性,并在区块中指明哪些交易是有效的哪些是无效的,以使内容提供方监听到无效的交易和有效的交易。如果校验失败(也即是交易是无效的),则内容提供方的交易提案无效。如果验证成功(也即是交易是有效的),将区块追加到联盟区块链上,将内容提供方的待上链内容广播至联盟区块链内所有节点,写入联盟区块链系统,并修改世界状态。After the Committer node receives the block, it will verify the transaction proposal submitted by the content provider in the block, that is, call the VSCC (validator system chaincode, verification program system chaincode) related to the transaction as the transaction verification process Part of it is to determine the validity of the transaction, and indicate which transactions are valid and which are invalid in the block, so that the content provider can monitor the invalid transaction and the valid transaction. If the verification fails (that is, the transaction is invalid), the content provider's transaction proposal is invalid. If the verification is successful (that is, the transaction is valid), the block is appended to the alliance blockchain, and the content to be uploaded by the content provider is broadcast to all nodes in the alliance blockchain and written into the alliance blockchain system , and modify the world state.
上述待上链内容上链的上链方式可以改善非法数据和虚假数据的上链操作,并且内容审核算法的审核结果均从智能合约上调用,经过背书后才存储到链上,且审核结果由各个节点共同决定,因此该审核流程透明合理可追溯,有较好的实用性;同时,可以对待上链内容进行敏感词过滤,减少了非法信息入链后的不必要操作,也可以满足监管需求,并降低区块链的维护成本。The chain-up method of the above-mentioned content to be uploaded to the chain can improve the chain-up operation of illegal data and false data, and the audit results of the content audit algorithm are called from the smart contract and stored on the chain after endorsement, and the audit results are provided by Each node decides together, so the review process is transparent, reasonable and traceable, and has good practicability; at the same time, it can filter sensitive words on the content on the chain, reducing unnecessary operations after illegal information enters the chain, and can also meet regulatory needs , and reduce the maintenance cost of the blockchain.
上述区块链中的交易背书方法,接收背书节点返回的背书结果,并判断该背书结果是否符合交易提案对应的背书策略;如果符合,将背书结果和交易提案发送至区块链上的共识节点,以通过共识节点对待上链内容进行上链处理。该方式可以根据背书结果判断是否对待上链内容进行上链处理,从而提高了待上链内容的合法性。The transaction endorsement method in the above blockchain receives the endorsement result returned by the endorsement node, and judges whether the endorsement result conforms to the endorsement policy corresponding to the transaction proposal; if so, sends the endorsement result and the transaction proposal to the consensus node on the blockchain , so that the content to be uploaded to the chain can be processed on the chain through the consensus node. This method can judge whether to upload the content to be uploaded according to the endorsement result, thereby improving the legitimacy of the content to be uploaded.
对应于上述方法实施例,本发明实施例提供了一种区块链中的交易背书装置,该装置设置于区块链中的背书节点,如图10所示,该装置包括:Corresponding to the above method embodiment, the embodiment of the present invention provides a transaction endorsement device in the blockchain, the device is set at the endorsement node in the blockchain, as shown in Figure 10, the device includes:
提案接收模块1001,用于接收来自客户端的交易提案;其中,该交易提案中包括待上链内容;The proposal receiving module 1001 is used to receive the transaction proposal from the client; wherein, the transaction proposal includes the content to be uploaded;
审核模块1002,用于模拟执行区块链上的智能合约,以审核待上链内容,得到审核结果;The review module 1002 is used to simulate the execution of smart contracts on the blockchain to review the content to be uploaded to the chain and obtain the review results;
结果返回模块1003,用于根据审核结果生成背书结果,将背书结果返回至上述客户端。The result returning module 1003 is configured to generate an endorsement result according to the audit result, and return the endorsement result to the above-mentioned client.
上述区块链中的交易背书装置,该装置设置于区块链中的背书节点,该装置首先接收来自客户端的交易提案;然后模拟执行区块链上的智能合约,以审核交易提案中的待上链内容;最后根据审核结果生成背书结果,并将背书结果返回至客户端。本发明通过区块链上的智能合约审核待上链内容,该审核流程公开透明,避免了审核结果受主观因素干扰,从而提高了区块链上链内容审核的公平性和合理性。The above-mentioned transaction endorsement device in the block chain, the device is set in the endorsement node in the block chain, the device first receives the transaction proposal from the client; then simulates the execution of the smart contract on the block chain to review the transaction proposal On-chain content; finally, an endorsement result is generated based on the audit result, and the endorsement result is returned to the client. The present invention reviews the content to be uploaded through the smart contract on the block chain. The review process is open and transparent, avoiding the interference of the review result by subjective factors, thereby improving the fairness and rationality of the content review on the block chain.
进一步地,上述审核模块1002,用于:通过区块链上的智能合约,调用预设的内容审核算法;其中,该内容审核算法运行在背书节点上;通过内容审核算法,判断待上链内容中是否包含预设的敏感词;如果待上链内容中不包含敏感词,确定审核结果为合法;如果待上链内容中包含敏感词,确定审核结果为非法。Further, the above audit module 1002 is used to: call the preset content audit algorithm through the smart contract on the blockchain; wherein, the content audit algorithm runs on the endorsement node; through the content audit algorithm, judge the content to be uploaded Whether it contains preset sensitive words; if the content to be uploaded does not contain sensitive words, the audit result is determined to be legal; if the content to be uploaded contains sensitive words, the audit result is determined to be illegal.
进一步地,上述审核模块1002,还用于:将待上链内容与内容审核算法对应的敏感词库进行匹配,得到匹配结果;其中,敏感词库、以及该敏感词库的哈希值,存储在区块链上;如果匹配结果为匹配失败,确定待上链内容中不包含敏感词;如果匹配结果为匹配成功,确定待上链内容中包含敏感词。Further, the above audit module 1002 is also used to: match the content to be uploaded with the sensitive lexicon corresponding to the content audit algorithm to obtain the matching result; wherein, the sensitive lexicon and the hash value of the sensitive lexicon are stored On the blockchain; if the matching result is a matching failure, it is determined that the content to be uploaded does not contain sensitive words; if the matching result is a successful match, it is determined that the content to be uploaded contains sensitive words.
进一步地,上述审核模块1002,还用于:如果待上链内容中不包含敏感词,通过预设的网络接口,调用第三方服务审核待上链内容;如果第三方服务审核通过,确定审核结果为合法。Further, the above review module 1002 is also used for: if the content to be uploaded does not contain sensitive words, call a third-party service to review the content to be uploaded through a preset network interface; if the third-party service passes the review, determine the review result as legal.
进一步地,上述结果返回模块1003,用于:对审核结果进行签名处理,得到签名后的审核结果;将签名后的审核结果确定为背书结果。Further, the above-mentioned result returning module 1003 is configured to: sign the review result to obtain the signed review result; determine the signed review result as the endorsement result.
本发明实施例提供了另一种区块链中的交易背书装置,该装置设置于区块链中的客户端,如图11所示,该装置包括:The embodiment of the present invention provides another transaction endorsement device in the blockchain, which is set on the client side in the blockchain, as shown in Figure 11, the device includes:
提案生成模块1101,用于如果接收到待上链内容,根据待上链内容生成交易提案;其中,该交易提案中包括待上链内容;Proposal generating module 1101, configured to generate a transaction proposal according to the content to be linked if the content to be linked is received; wherein, the transaction proposal includes the content to be linked;
提案发送模块1102,用于将上述交易提案发送至背书策略中包含的背书节点,以通过背书节点模拟执行区块链上的智能合约,以审核待上链内容,得到审核结果;根据该审核结果生成背书结果。The proposal sending module 1102 is used to send the above transaction proposal to the endorsement node included in the endorsement policy, so as to simulate the execution of the smart contract on the blockchain through the endorsement node, to review the content to be uploaded to the chain, and obtain the review result; according to the review result Generate endorsement results.
上述区块链中的交易背书装置,如果接收到待上链内容,根据该待上链内容生成交易提案;再将该交易提案发送至背书策略中包含的背书节点,以通过背书节点模拟执行区块链上的智能合约,以审核待上链内容,得到审核结果;根据审核结果生成背书结果。该方式通过区块链背书节点上的智能合约审核待上链内容,不受任何个人或组织的控制,因而该审核流程公开透明,避免了审核结果受主观因素干扰,从而提高了区块链上链内容审核的公平性和合理性。The transaction endorsement device in the above blockchain, if it receives the content to be uploaded, generates a transaction proposal based on the content to be uploaded; then sends the transaction proposal to the endorsement node included in the endorsement policy to simulate the execution area through the endorsement node The smart contract on the block chain is used to review the content to be uploaded to the chain and obtain the review result; the endorsement result is generated according to the review result. This method reviews the content to be uploaded through the smart contract on the blockchain endorsement node, and is not controlled by any individual or organization. Therefore, the review process is open and transparent, avoiding the interference of the review results by subjective factors, thereby improving the blockchain. The fairness and rationality of chain content review.
进一步地,上述装置还包括:结果接收模块,用于接收所述背书节点返回的背书结果;判断模块,用于判断所述背书结果是否符合所述交易提案对应的背书策略;上链模块,用于如果符合,将所述背书结果和所述交易提案发送至所述区块链上的共识节点,以通过所述共识节点对所述待上链内容进行上链处理。Further, the above device further includes: a result receiving module, configured to receive the endorsement result returned by the endorsement node; a judging module, configured to judge whether the endorsement result complies with the endorsement policy corresponding to the transaction proposal; If yes, send the endorsement result and the transaction proposal to the consensus node on the block chain, so as to process the content to be uploaded on the chain through the consensus node.
进一步地,上述背书策略中包含多个背书节点;上述判断模块还用于:确定背书策略中包含的多个背书节点返回的背书结果的背书节点数量;在背书节点数量大于预设阈值的情况下,判断每个所述背书节点返回的背书结果是否是背书通过;如果多个所述背书节点返回的背书结果均是背书通过,确定所述背书节点返回的背书结果符合所述交易提案对应的背书策略。Further, the above-mentioned endorsement policy includes multiple endorsement nodes; the above-mentioned judging module is also used to: determine the number of endorsement nodes of the endorsement results returned by the multiple endorsement nodes contained in the endorsement policy; when the number of endorsement nodes is greater than the preset threshold , determine whether the endorsement result returned by each of the endorsement nodes is an endorsement pass; if the endorsement results returned by multiple endorsement nodes are all endorsement passes, determine that the endorsement results returned by the endorsement node conform to the endorsement corresponding to the transaction proposal Strategy.
本发明实施例所提供的区块链中的交易背书装置,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,装置实施例部分未提及之处,可参考前述方法实施例中相应内容。The implementation principle and technical effect of the transaction endorsement device in the blockchain provided by the embodiment of the present invention are the same as those of the foregoing method embodiments. For a brief description, the parts not mentioned in the device embodiments can be implemented by referring to the foregoing methods corresponding content in the example.
本发明实施例还提供一种区块链网络,如图12所示,该区块链网络包括客户端1201和背书节点1202。The embodiment of the present invention also provides a blockchain network. As shown in FIG. 12 , the blockchain network includes a client 1201 and an endorsement node 1202 .
上述客户端1201用于向背书节点发送交易提案;其中,该交易提案中包括待上链内容。The above-mentioned client 1201 is used to send a transaction proposal to the endorsement node; wherein, the transaction proposal includes content to be uploaded to the chain.
上述背书节点1202用于模拟执行区块链上的智能合约,以审核接收的待上链内容,得到审核结果;并根据审核结果生成背书结果,将背书结果返回至上述客户端1201。The above-mentioned endorsement node 1202 is used to simulate the execution of the smart contract on the block chain to review the received content to be uploaded to the chain, and obtain the review result; and generate an endorsement result according to the review result, and return the endorsement result to the above-mentioned client 1201.
上述区块链网络通过区块链背书节点上的智能合约审核待上链内容,不受任何个人或组织的控制,因而该审核流程公开透明,避免了审核结果受主观因素干扰,从而提高了区块链上链内容审核的公平性和合理性。The above-mentioned blockchain network reviews the content to be uploaded through the smart contract on the blockchain endorsement node, and is not controlled by any individual or organization. Therefore, the review process is open and transparent, avoiding the interference of the review results by subjective factors, thereby improving the district The fairness and rationality of content review on the blockchain.
进一步地,上述背书节点1202还用于:通过上述区块链上的智能合约,调用预设的内容审核算法;其中,该内容审核算法运行在背书节点上;通过内容审核算法,判断待上链内容中是否包含预设的敏感词;如果上述待上链内容中不包含敏感词,确定审核结果为合法;如果上述待上链内容中包含敏感词,确定审核结果为非法。Further, the above-mentioned endorsement node 1202 is also used to: call the preset content review algorithm through the smart contract on the above-mentioned blockchain; wherein, the content review algorithm runs on the endorsement node; Whether the content contains preset sensitive words; if the above-mentioned content to be uploaded does not contain sensitive words, the audit result is determined to be legal; if the above-mentioned content to be uploaded contains sensitive words, the audit result is determined to be illegal.
进一步地,上述背书节点1202还用于:对上述审核结果进行签名处理,得到签名后的所述审核结果;将签名后的审核结果确定为背书结果。Further, the above-mentioned endorsement node 1202 is further configured to: sign the above-mentioned review result to obtain the signed review result; and determine the signed review result as the endorsement result.
进一步地,上述区块链网络还包括:共识节点;客户端1201还用于接收上述背书节点1202返回的背书结果;判断上述背书结果是否符合交易提案对应的背书策略;如果符合,将上述背书结果和交易提案发送至共识节点;上述共识节点用于对上述待上链内容进行上链处理。Further, the above-mentioned blockchain network also includes: a consensus node; the client 1201 is also used to receive the endorsement result returned by the above-mentioned endorsement node 1202; judge whether the above-mentioned endorsement result conforms to the endorsement policy corresponding to the transaction proposal; if so, the above-mentioned endorsement result and transaction proposals are sent to the consensus node; the above-mentioned consensus node is used for on-chain processing of the above-mentioned content to be on-chain.
进一步地,上述区块链网络还包括提交节点;该共识节点还用于:接收来自客户端的背书结果和交易提案,根据预设的共识算法对交易提案中的待上链内容进行排序,针对排序后的待上链内容,按照预设的区块策略生成区块,并将区块发送至提交节点;该提交节点用于:对区块中的待上链内容进行校验,检验通过后对待上链内容进行上链处理。Furthermore, the above-mentioned blockchain network also includes a submission node; the consensus node is also used to: receive the endorsement results and transaction proposals from the client, sort the contents to be uploaded in the transaction proposals according to the preset consensus algorithm, and for the sorting After the content to be uploaded to the chain, a block is generated according to the preset block strategy, and the block is sent to the submitting node; the submitting node is used to: verify the content to be uploaded in the block, and treat the The content on the chain is processed on the chain.
本发明实施例所提供的区块链网络,其实现原理及产生的技术效果和前述方法实施例相同,为简要描述,区块链网络实施例部分未提及之处,可参考前述方法实施例中相应内容。The implementation principle and technical effect of the blockchain network provided by the embodiment of the present invention are the same as those of the foregoing method embodiments. For a brief description, the parts not mentioned in the blockchain network embodiments can refer to the foregoing method embodiments corresponding content.
本发明实施例还提供了一种服务器和用户终端,用于运行区块链中的交易背书方法;参见图13所示,包括处理器101和存储器100,该存储器100存储有能够被处理器101执行的机器可执行指令,该处理器101执行机器可执行指令以实现上述实施例所示的区块链中的交易背书方法。The embodiment of the present invention also provides a server and a user terminal for running the transaction endorsement method in the block chain; as shown in FIG. 13 , it includes a processor 101 and a memory 100. Executable machine-executable instructions, the processor 101 executes the machine-executable instructions to implement the transaction endorsement method in the blockchain shown in the above embodiments.
进一步地,图13所示的服务器还包括总线102和通信接口103,处理器101、通信接口103和存储器100通过总线102连接。Further, the server shown in FIG. 13 further includes a bus 102 and a communication interface 103 , and the processor 101 , the communication interface 103 and the memory 100 are connected through the bus 102 .
其中,存储器100可能包含高速随机存取存储器(RAM,Random Access Memory),也可能还包括非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。通过至少一个通信接口103(可以是有线或者无线)实现该系统网元与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网,城域网等。总线102可以是ISA总线、PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一个双向箭头表示,但并不表示仅有一根总线或一种类型的总线。Wherein, the memory 100 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local network, metropolitan area network, etc. can be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one double-headed arrow is used in FIG. 13 , but it does not mean that there is only one bus or one type of bus.
处理器101可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器101中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器101可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DigitalSignal Processing,简称DSP)、专用集成电路(Application Specific IntegratedCircuit,简称ASIC)、现成可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器100,处理器101读取存储器100中的信息,结合其硬件完成前述实施例的方法的步骤。The processor 101 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 101 or instructions in the form of software. The above-mentioned processor 101 can be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; it can also be a digital signal processor (Digital Signal Processing, referred to as DSP) , Application Specific Integrated Circuit (ASIC for short), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100, and completes the steps of the methods in the foregoing embodiments in combination with its hardware.
本发明实施例还提供了一种机器可读存储介质,该机器可读存储介质存储有机器可执行指令,该机器可执行指令在被处理器调用和执行时,该机器可执行指令促使处理器实现上述区块链中的交易背书方法,具体实现可参见方法实施例,在此不再赘述。The embodiment of the present invention also provides a machine-readable storage medium, the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to Realize the above-mentioned transaction endorsement method in the block chain, the specific implementation can refer to the method embodiment, and will not be repeated here.
本发明实施例所提供的区块链中的交易背书方法、装置和区块链网络的计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。The transaction endorsement method and device in the blockchain provided by the embodiments of the present invention, and the computer program product of the blockchain network include a computer-readable storage medium storing program codes, and the instructions included in the program codes can be used to execute the preceding For the methods described in the method embodiments, reference may be made to the method embodiments for specific implementation, and details are not repeated here.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.
Claims (18)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910825496.9A CN110533429A (en) | 2019-08-30 | 2019-08-30 | Transaction endorsement method, apparatus and block chain network in block chain |
| PCT/CN2020/097398 WO2021036440A1 (en) | 2019-08-30 | 2020-06-22 | Transaction endorsement method and apparatus in block chain, and block chain network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910825496.9A CN110533429A (en) | 2019-08-30 | 2019-08-30 | Transaction endorsement method, apparatus and block chain network in block chain |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110533429A true CN110533429A (en) | 2019-12-03 |
Family
ID=68666196
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910825496.9A Pending CN110533429A (en) | 2019-08-30 | 2019-08-30 | Transaction endorsement method, apparatus and block chain network in block chain |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110533429A (en) |
| WO (1) | WO2021036440A1 (en) |
Cited By (30)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111045722A (en) * | 2019-12-06 | 2020-04-21 | 深圳前海环融联易信息科技服务有限公司 | Intelligent contract packaging method, device, system, computer equipment and storage medium |
| CN111343142A (en) * | 2020-01-22 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Data processing method and device based on block chain network and storage medium |
| CN111368521A (en) * | 2020-02-29 | 2020-07-03 | 重庆百事得大牛机器人有限公司 | Management method for legal advisor service |
| CN111414589A (en) * | 2020-03-20 | 2020-07-14 | 支付宝(杭州)信息技术有限公司 | Method, device and equipment for checking original works based on block chain |
| CN111464298A (en) * | 2020-03-30 | 2020-07-28 | 北京金山云网络技术有限公司 | Data processing method and device in block chain and block chain network |
| CN111815321A (en) * | 2020-05-21 | 2020-10-23 | 北京金山云网络技术有限公司 | Transaction proposal processing method, device, system, storage medium and electronic device |
| CN112150150A (en) * | 2020-09-30 | 2020-12-29 | 重庆市科学技术研究院 | Block chain-based electronic ticket transaction system and method |
| WO2021036440A1 (en) * | 2019-08-30 | 2021-03-04 | 北京金山云网络技术有限公司 | Transaction endorsement method and apparatus in block chain, and block chain network |
| CN112487102A (en) * | 2020-12-15 | 2021-03-12 | 深圳前海微众银行股份有限公司 | Block chain data processing method and device and electronic equipment |
| CN112532709A (en) * | 2020-11-24 | 2021-03-19 | 杭州趣链科技有限公司 | Uplink request processing method and device and block link point equipment |
| CN112597762A (en) * | 2020-12-04 | 2021-04-02 | 广东省科学院智能制造研究所 | Block chain system with intelligent contract data supervision function and supervision method |
| CN112686672A (en) * | 2021-01-08 | 2021-04-20 | 新晨科技股份有限公司 | Block chain endorsement signature compression method, electronic device and storage medium |
| CN112711777A (en) * | 2020-12-29 | 2021-04-27 | 杭州趣链科技有限公司 | Chain linking method, chain linking device and node equipment |
| CN112907243A (en) * | 2021-02-09 | 2021-06-04 | 工银科技有限公司 | Block chain transaction auditing method and device |
| CN112965900A (en) * | 2021-03-03 | 2021-06-15 | 上海东普信息科技有限公司 | Data auditing method, device, server and storage medium based on block chain |
| WO2021114406A1 (en) * | 2019-12-12 | 2021-06-17 | 深圳大学 | Blockchain-based vaccine information monitoring method and apparatus, and computer device |
| CN113094427A (en) * | 2021-03-10 | 2021-07-09 | 贾晓丰 | Data management method and device based on block chain |
| CN113379420A (en) * | 2021-06-25 | 2021-09-10 | 远光软件股份有限公司 | Block chain execution intelligent contract method, computer equipment and block chain system |
| CN113409127A (en) * | 2021-06-15 | 2021-09-17 | 微易签(杭州)科技有限公司 | Block chain based medical electronic bill printing method, system and device |
| CN113435858A (en) * | 2021-07-09 | 2021-09-24 | 建信金融科技有限责任公司 | Advertisement data processing method, device and system based on block chain |
| CN113495920A (en) * | 2020-04-02 | 2021-10-12 | 国家广播电视总局广播电视科学研究院 | Content auditing system, method and device based on block chain and storage medium |
| CN114219490A (en) * | 2022-01-13 | 2022-03-22 | 平安普惠企业管理有限公司 | Update method, device, device and storage medium for transaction behavior data |
| CN114513317A (en) * | 2020-10-27 | 2022-05-17 | 香港城市大学深圳研究院 | Method, system, equipment and storage medium for resisting distributed denial of service attack |
| CN114896345A (en) * | 2022-05-30 | 2022-08-12 | 深圳壹账通智能科技有限公司 | Block chain uplink method, device, equipment and storage medium with high bearing capacity |
| CN115017230A (en) * | 2022-04-21 | 2022-09-06 | 蚂蚁区块链科技(上海)有限公司 | Data uplink control method and device and data downlink control method and device |
| CN115134169A (en) * | 2022-08-29 | 2022-09-30 | 北京中科金财科技股份有限公司 | Block chain data management method and system |
| CN115242477A (en) * | 2022-07-14 | 2022-10-25 | 武汉金融电子结算中心有限公司 | Bill image exchange system in same city |
| WO2022242337A1 (en) * | 2021-05-18 | 2022-11-24 | 华为技术有限公司 | Method and apparatus for blockchain editing |
| CN116781772A (en) * | 2023-06-15 | 2023-09-19 | 中国工商银行股份有限公司 | Message pushing method and device |
| WO2023184052A1 (en) * | 2022-03-26 | 2023-10-05 | 华为技术有限公司 | Data processing method, blockchain node and blockchain system |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12192387B2 (en) | 2022-06-15 | 2025-01-07 | International Business Machines Corporation | Endorsement policy consolidation in blockchain networks |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109118214A (en) * | 2017-06-26 | 2019-01-01 | 华为技术有限公司 | The method and apparatus for running intelligent contract |
| CN109190337A (en) * | 2018-07-26 | 2019-01-11 | 伦哲 | A kind of method and system of the media content storage and retrieval based on block chain technology |
| CN109493204A (en) * | 2018-10-16 | 2019-03-19 | 平安科技(深圳)有限公司 | Business bookkeeping methods and terminal device based on block chain |
| CN109767212A (en) * | 2018-10-11 | 2019-05-17 | 平安科技(深圳)有限公司 | Assets exchanging method, system, terminal and storage medium based on block chain |
| CN110119428A (en) * | 2019-04-19 | 2019-08-13 | 腾讯科技(深圳)有限公司 | A kind of block chain information management method, device, equipment and storage medium |
| CN110175875A (en) * | 2019-05-28 | 2019-08-27 | 山东省计算中心(国家超级计算济南中心) | A kind of outdoor advertising acquisition method and device based on block chain |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20190095645A1 (en) * | 2017-09-22 | 2019-03-28 | Justin Reinmuth | The process of adding an endorsement to an existing Professional Liability/Errors & Omissions Insurance Policy to offer Cyber Liability/Cyber Data Breach Insurance to a policyholder's client |
| CN110048995B (en) * | 2018-12-05 | 2021-02-09 | 创新先进技术有限公司 | Method and device for confirming content of multimedia protocol and electronic equipment |
| CN109981679B (en) * | 2019-04-08 | 2021-08-10 | 上海点融信息科技有限责任公司 | Method and apparatus for performing transactions in a blockchain network |
| CN110533429A (en) * | 2019-08-30 | 2019-12-03 | 北京金山云网络技术有限公司 | Transaction endorsement method, apparatus and block chain network in block chain |
-
2019
- 2019-08-30 CN CN201910825496.9A patent/CN110533429A/en active Pending
-
2020
- 2020-06-22 WO PCT/CN2020/097398 patent/WO2021036440A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109118214A (en) * | 2017-06-26 | 2019-01-01 | 华为技术有限公司 | The method and apparatus for running intelligent contract |
| CN109190337A (en) * | 2018-07-26 | 2019-01-11 | 伦哲 | A kind of method and system of the media content storage and retrieval based on block chain technology |
| CN109767212A (en) * | 2018-10-11 | 2019-05-17 | 平安科技(深圳)有限公司 | Assets exchanging method, system, terminal and storage medium based on block chain |
| CN109493204A (en) * | 2018-10-16 | 2019-03-19 | 平安科技(深圳)有限公司 | Business bookkeeping methods and terminal device based on block chain |
| CN110119428A (en) * | 2019-04-19 | 2019-08-13 | 腾讯科技(深圳)有限公司 | A kind of block chain information management method, device, equipment and storage medium |
| CN110175875A (en) * | 2019-05-28 | 2019-08-27 | 山东省计算中心(国家超级计算济南中心) | A kind of outdoor advertising acquisition method and device based on block chain |
Cited By (42)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021036440A1 (en) * | 2019-08-30 | 2021-03-04 | 北京金山云网络技术有限公司 | Transaction endorsement method and apparatus in block chain, and block chain network |
| CN111045722B (en) * | 2019-12-06 | 2023-08-25 | 深圳前海环融联易信息科技服务有限公司 | Intelligent contract packaging method, device, system, computer equipment and storage medium |
| CN111045722A (en) * | 2019-12-06 | 2020-04-21 | 深圳前海环融联易信息科技服务有限公司 | Intelligent contract packaging method, device, system, computer equipment and storage medium |
| WO2021114406A1 (en) * | 2019-12-12 | 2021-06-17 | 深圳大学 | Blockchain-based vaccine information monitoring method and apparatus, and computer device |
| CN111343142A (en) * | 2020-01-22 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Data processing method and device based on block chain network and storage medium |
| CN111368521A (en) * | 2020-02-29 | 2020-07-03 | 重庆百事得大牛机器人有限公司 | Management method for legal advisor service |
| CN111368521B (en) * | 2020-02-29 | 2023-04-07 | 重庆百事得大牛机器人有限公司 | Management method for legal advisor service |
| CN111414589A (en) * | 2020-03-20 | 2020-07-14 | 支付宝(杭州)信息技术有限公司 | Method, device and equipment for checking original works based on block chain |
| CN111464298A (en) * | 2020-03-30 | 2020-07-28 | 北京金山云网络技术有限公司 | Data processing method and device in block chain and block chain network |
| CN113495920A (en) * | 2020-04-02 | 2021-10-12 | 国家广播电视总局广播电视科学研究院 | Content auditing system, method and device based on block chain and storage medium |
| CN113495920B (en) * | 2020-04-02 | 2023-06-16 | 国家广播电视总局广播电视科学研究院 | Content auditing system, method and device based on blockchain and storage medium |
| CN111815321A (en) * | 2020-05-21 | 2020-10-23 | 北京金山云网络技术有限公司 | Transaction proposal processing method, device, system, storage medium and electronic device |
| CN112150150A (en) * | 2020-09-30 | 2020-12-29 | 重庆市科学技术研究院 | Block chain-based electronic ticket transaction system and method |
| CN112150150B (en) * | 2020-09-30 | 2023-08-08 | 重庆市科学技术研究院 | A blockchain-based electronic coupon trading system and method |
| CN114513317B (en) * | 2020-10-27 | 2024-06-04 | 香港城市大学深圳研究院 | Method, system, equipment and storage medium for resisting distributed denial of service attack |
| CN114513317A (en) * | 2020-10-27 | 2022-05-17 | 香港城市大学深圳研究院 | Method, system, equipment and storage medium for resisting distributed denial of service attack |
| CN112532709A (en) * | 2020-11-24 | 2021-03-19 | 杭州趣链科技有限公司 | Uplink request processing method and device and block link point equipment |
| CN112597762A (en) * | 2020-12-04 | 2021-04-02 | 广东省科学院智能制造研究所 | Block chain system with intelligent contract data supervision function and supervision method |
| CN112597762B (en) * | 2020-12-04 | 2024-03-08 | 广东省科学院智能制造研究所 | A blockchain system and supervision method with smart contract data supervision function |
| CN112487102A (en) * | 2020-12-15 | 2021-03-12 | 深圳前海微众银行股份有限公司 | Block chain data processing method and device and electronic equipment |
| CN112487102B (en) * | 2020-12-15 | 2024-03-19 | 深圳前海微众银行股份有限公司 | Block chain data processing method and device and electronic equipment |
| CN112711777A (en) * | 2020-12-29 | 2021-04-27 | 杭州趣链科技有限公司 | Chain linking method, chain linking device and node equipment |
| CN112686672B (en) * | 2021-01-08 | 2024-08-16 | 新晨科技股份有限公司 | Endorsement signature compression method on blockchain, electronic equipment and storage medium |
| CN112686672A (en) * | 2021-01-08 | 2021-04-20 | 新晨科技股份有限公司 | Block chain endorsement signature compression method, electronic device and storage medium |
| CN112907243A (en) * | 2021-02-09 | 2021-06-04 | 工银科技有限公司 | Block chain transaction auditing method and device |
| CN112965900A (en) * | 2021-03-03 | 2021-06-15 | 上海东普信息科技有限公司 | Data auditing method, device, server and storage medium based on block chain |
| CN113094427B (en) * | 2021-03-10 | 2023-12-19 | 贾晓丰 | Data management method and device based on block chain |
| CN113094427A (en) * | 2021-03-10 | 2021-07-09 | 贾晓丰 | Data management method and device based on block chain |
| WO2022242337A1 (en) * | 2021-05-18 | 2022-11-24 | 华为技术有限公司 | Method and apparatus for blockchain editing |
| CN113409127B (en) * | 2021-06-15 | 2023-12-15 | 微易签(杭州)科技有限公司 | Block chain-based medical electronic bill printing method, system and device |
| CN113409127A (en) * | 2021-06-15 | 2021-09-17 | 微易签(杭州)科技有限公司 | Block chain based medical electronic bill printing method, system and device |
| CN113379420A (en) * | 2021-06-25 | 2021-09-10 | 远光软件股份有限公司 | Block chain execution intelligent contract method, computer equipment and block chain system |
| CN113379420B (en) * | 2021-06-25 | 2023-03-31 | 远光软件股份有限公司 | Block chain execution intelligent contract method, computer equipment and block chain system |
| CN113435858A (en) * | 2021-07-09 | 2021-09-24 | 建信金融科技有限责任公司 | Advertisement data processing method, device and system based on block chain |
| CN114219490A (en) * | 2022-01-13 | 2022-03-22 | 平安普惠企业管理有限公司 | Update method, device, device and storage medium for transaction behavior data |
| WO2023184052A1 (en) * | 2022-03-26 | 2023-10-05 | 华为技术有限公司 | Data processing method, blockchain node and blockchain system |
| CN115017230A (en) * | 2022-04-21 | 2022-09-06 | 蚂蚁区块链科技(上海)有限公司 | Data uplink control method and device and data downlink control method and device |
| CN114896345A (en) * | 2022-05-30 | 2022-08-12 | 深圳壹账通智能科技有限公司 | Block chain uplink method, device, equipment and storage medium with high bearing capacity |
| CN115242477A (en) * | 2022-07-14 | 2022-10-25 | 武汉金融电子结算中心有限公司 | Bill image exchange system in same city |
| CN115134169B (en) * | 2022-08-29 | 2022-11-15 | 北京中科金财科技股份有限公司 | Block chain data management method and system |
| CN115134169A (en) * | 2022-08-29 | 2022-09-30 | 北京中科金财科技股份有限公司 | Block chain data management method and system |
| CN116781772A (en) * | 2023-06-15 | 2023-09-19 | 中国工商银行股份有限公司 | Message pushing method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2021036440A1 (en) | 2021-03-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110533429A (en) | Transaction endorsement method, apparatus and block chain network in block chain | |
| CN112333198B (en) | Secure cross-domain login method, system and server | |
| US12323526B2 (en) | Decentralized data authentication | |
| CN110555299B (en) | Electronic contract signing and storing method and device, computer equipment and storage medium | |
| CN111010367B (en) | Data storage method, device, computer equipment and storage medium | |
| US11133942B1 (en) | Systems and methods of ring usage certificate extension | |
| CN110674128B (en) | On-chain governance of blockchain | |
| CN111144881A (en) | Selective access to asset transfer data | |
| CN109547206B (en) | Digital certificate processing method and related device | |
| CN110311782A (en) | Zero-knowledge proof method, system and storage medium for personal information | |
| JP2002164884A (en) | Proxy server, electronic signature system, electronic signature verification system, network system, electronic signature method, electronic signature verification method, recording medium and program transmission device | |
| CN111339116A (en) | Block chain-based method for sharing open bank data | |
| GB2593109A (en) | Reliability verification system for digital-asset data packet | |
| US9906367B2 (en) | End-to-end tamper protection in presence of cloud integration | |
| CN111817859A (en) | Data sharing method, device, device and storage medium based on zero-knowledge proof | |
| US20200057871A1 (en) | Apparatuses and methods for signing a legal document | |
| CN112950416B (en) | Electronic evidence processing method and device based on blockchain and readable medium | |
| US11487713B1 (en) | Distributed ledger regulatory auditing system and method | |
| Boyar et al. | Quotable signatures for authenticating shared quotes | |
| WO2021027504A1 (en) | Consensus protocol-based information processing method, and related device | |
| US11803539B2 (en) | Method of improving efficiency of updating data as to rules stored in block chain, electronic device, and computer readable storage medium applying the method | |
| CN111563096B (en) | Method, device, node and storage medium for creating entity portraits | |
| KR20220066842A (en) | Blockchain-based Smishing Prevention method and apparatus thereof | |
| CN113360575A (en) | Method, device, equipment and storage medium for supervising transaction data in alliance chain | |
| CN118569992B (en) | Private data transaction method |
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 |
Application publication date: 20191203 |
|
| RJ01 | Rejection of invention patent application after publication |