CN108647974A - A kind of Information Authentication method, apparatus and system based on block chain - Google Patents
A kind of Information Authentication method, apparatus and system based on block chain Download PDFInfo
- Publication number
- CN108647974A CN108647974A CN201810449274.7A CN201810449274A CN108647974A CN 108647974 A CN108647974 A CN 108647974A CN 201810449274 A CN201810449274 A CN 201810449274A CN 108647974 A CN108647974 A CN 108647974A
- Authority
- CN
- China
- Prior art keywords
- information
- task
- verification
- transaction event
- block chain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 98
- 238000012795 verification Methods 0.000 claims abstract description 285
- 238000003860 storage Methods 0.000 claims description 28
- 238000009826 distribution Methods 0.000 claims description 21
- 230000007246 mechanism Effects 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 claims description 6
- 239000004744 fabric Substances 0.000 claims 2
- 238000004364 calculation method Methods 0.000 abstract description 80
- 238000005516 engineering process Methods 0.000 abstract description 14
- 230000008569 process Effects 0.000 description 18
- 238000004590 computer program Methods 0.000 description 12
- 230000001133 acceleration Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 230000008901 benefit Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000013475 authorization Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000001915 proofreading effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/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; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Computer Security & Cryptography (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Storage Device Security (AREA)
Abstract
本发明公开了一种基于区块链的信息验证方法、装置及系统,涉及区块链技术领域,主要目的在于利用区块链对区块中记录的交易事件行多方验证,防止交易中的单方作弊行为。本发明主要的技术方案为:获取任务计算方上传的交易事件的完成信息及所述交易事件的事件标识;根据所述事件标识获取任务发布方上传的所述交易事件的核对信息,所述核对信息是由任务发布方核对完成所述交易事件的任务计算方的信息;根据区块链中的签名信息解析所述完成信息和核对信息;判断所述核对信息中是否含有所述完成信息;若含有,则向所述任务发布方发送所述任务计算方验证通过信息。本发明主要用于验证交易事件中信息的真实性。
The invention discloses a block chain-based information verification method, device and system, and relates to the field of block chain technology. cheating. The main technical solution of the present invention is to: obtain the completion information of the transaction event uploaded by the task calculation party and the event identifier of the transaction event; obtain the verification information of the transaction event uploaded by the task issuer according to the event identifier, and the verification The information is the information of the task calculation party who has completed the transaction event after checking by the task issuer; parsing the completion information and verification information according to the signature information in the blockchain; judging whether the verification information contains the completion information; if If it contains, send the verification information of the task computing party to the task issuer. The present invention is mainly used to verify the authenticity of information in transaction events.
Description
技术领域technical field
本发明涉及区块链技术领域,尤其涉及一种基于区块链的信息验证方法、装置及系统。The present invention relates to the technical field of block chains, in particular to an information verification method, device and system based on block chains.
背景技术Background technique
区块链(Blockchain)是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。所谓共识机制是区块链系统中实现不同节点之间建立信任、获取权益的数学算法。区块链是比特币的底层技术,像一个数据库账本,记载所有的交易记录。Blockchain is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. The so-called consensus mechanism is a mathematical algorithm to establish trust and obtain rights and interests between different nodes in the blockchain system. Blockchain is the underlying technology of Bitcoin, like a database ledger, recording all transaction records.
目前,基于区块链的应用中,区块链技术主要用于交易事件的记录,以提供对交易事件中各个环节的可追溯性。然而,对于交易事件中各个节点所记录的事件的真实性,只能是基于区块链外的第三方加以识别,比如,交易任务的发布方提出的任务为对多个URL提供加速,任务计算方根据自身的完成情况将对某个URL加速的信息,即贡献值以交易事件的形式添加到区块链中,同时,发布方根据区块链中任务计算方上传的交易事件为其分配对应的奖励。而在该过程中,如何确定任务计算方确实完成了交易事件中记录的内容,则只能是由发布方通过第三方的数据统计信息来验证,而该验证过程得到的结果与在区块链上添加数据在时间上必然存在一定的滞后,而一旦任务计算方上传了假数据,此时的发布方已经分配了对应的奖励,还需要向该任务计算方追讨。这就为发布方在运行过程中造成了大量附加的工作量,这种弊端也限制了基于区块链技术的应用的推广。At present, in blockchain-based applications, blockchain technology is mainly used to record transaction events to provide traceability of all links in transaction events. However, the authenticity of the events recorded by each node in the transaction event can only be identified based on a third party outside the blockchain. For example, the task proposed by the publisher of the transaction task is to provide acceleration for multiple URLs, task calculation According to its own completion status, the information on accelerating a certain URL, that is, the contribution value, is added to the blockchain in the form of transaction events. At the same time, the publisher assigns corresponding rewards. In this process, how to determine that the task calculation party has indeed completed the content recorded in the transaction event can only be verified by the publisher through the third-party data statistics, and the results of this verification process are the same as those recorded in the blockchain. There must be a certain lag in time for adding data, and once the task calculator uploads fake data, the publisher at this time has already allocated the corresponding rewards, and it needs to be recovered from the task calculator. This causes a lot of additional workload for the publisher during the operation process, and this drawback also limits the promotion of applications based on blockchain technology.
发明内容Contents of the invention
鉴于上述问题,本发明提出了一种基于区块链的信息验证方法、装置及系统,主要目的在于利用区块链对区块中记录的交易事件行多方验证,防止交易中的单方作弊行为。In view of the above problems, the present invention proposes a block chain-based information verification method, device and system, the main purpose of which is to use the block chain to perform multi-party verification of the transaction events recorded in the block and prevent unilateral cheating in the transaction.
为达到上述目的,本发明主要提供如下技术方案:In order to achieve the above object, the present invention mainly provides the following technical solutions:
第一方面,本发明提供一种基于区块链的信息验证方法,该方法应用于验证节点,具体包括:In the first aspect, the present invention provides a blockchain-based information verification method, which is applied to verification nodes, and specifically includes:
获取任务计算方上传的交易事件的完成信息及所述交易事件的事件标识;Obtain the completion information of the transaction event uploaded by the task calculation party and the event identifier of the transaction event;
根据所述事件标识获取任务发布方上传的所述交易事件的核对信息,所述核对信息是由任务发布方核对完成所述交易事件的任务计算方的信息;Obtain the verification information of the transaction event uploaded by the task issuer according to the event identifier, and the verification information is the information of the task calculation party that has completed the transaction event through verification by the task issuer;
根据区块链中的签名信息解析所述完成信息和核对信息;Parse the completion information and verification information according to the signature information in the block chain;
判断所述核对信息中是否含有所述完成信息;judging whether the verification information contains the completion information;
若含有,则向所述任务发布方发送所述任务计算方验证通过信息。If yes, then send the task computing party verification pass information to the task issuer.
第二方面,本发明提供一种基于区块链的信息验证方法,该方法应用于任务计算方所在的节点,具体包括:In the second aspect, the present invention provides a blockchain-based information verification method, which is applied to the node where the task calculation party is located, specifically including:
统计交易事件的核对信息,所述核对信息是核对完成所述交易事件的任务计算方的信息;Count the verification information of the transaction event, the verification information is the information of the task calculation party that has completed the transaction event;
将所述核对信息上传区块链;Upload the verification information to the blockchain;
接收所述交易事件的验证通过信息,所述验证通过信息是由验证节点根据所述核对信息与任务计算方上传区块链的所述交易事件的完成信息相匹配得到的验证信息;receiving the verification passing information of the transaction event, the verification passing information is the verification information obtained by the verification node matching the verification information and the completion information of the transaction event uploaded by the task computing party to the block chain;
确定向所述验证通过信息中含有的任务计算方支付报酬。It is determined to pay remuneration to the task calculation party included in the verification passing information.
第三方面,本发明提供一种基于区块链的信息验证装置,设置于验证节点中,具体包括:In the third aspect, the present invention provides a block chain-based information verification device, which is set in a verification node, and specifically includes:
第一获取单元,用于获取任务计算方上传的交易事件的完成信息及所述交易事件的事件标识;The first acquisition unit is used to acquire the completion information of the transaction event uploaded by the task calculation party and the event identifier of the transaction event;
第二获取单元,用于根据所述第一获取单元获取的事件标识获取任务发布方上传的所述交易事件的核对信息,所述核对信息是由任务发布方核对完成所述交易事件的任务计算方的信息;The second acquisition unit is configured to acquire the verification information of the transaction event uploaded by the task issuer according to the event identifier acquired by the first acquisition unit, and the verification information is completed by the task issuer after checking and completing the task calculation of the transaction event party information;
解析单元,用于根据区块链中的签名信息解析所述第一获取单元获取的完成信息和所述第二获取单元获取的核对信息;An analysis unit, configured to analyze the completion information acquired by the first acquisition unit and the verification information acquired by the second acquisition unit according to the signature information in the block chain;
判断单元,用于判断所述解析单元解析出的核对信息中是否含有所述完成信息;a judging unit, configured to judge whether the verification information parsed by the parsing unit contains the completion information;
发送单元,用于在所述判断单元确定核对信息中含有所述完成信息时,向所述任务发布方发送所述任务计算方验证通过信息。A sending unit, configured to send the task computing party verification passing information to the task issuer when the judging unit determines that the verification information contains the completion information.
第四方面,本发明提供一种基于区块链的信息验证装置,设置于任务计算方所在的节点中,具体包括:In the fourth aspect, the present invention provides a blockchain-based information verification device, which is set in the node where the task calculation party is located, specifically including:
统计单元,用于统计交易事件的核对信息,所述核对信息是核对完成所述交易事件的任务计算方的信息;A statistical unit, configured to count the verification information of the transaction event, the verification information is the information of the task calculation party that has completed the transaction event;
发送单元,用于将所述统计单元获取的核对信息上传区块链;a sending unit, configured to upload the verification information obtained by the statistical unit to the block chain;
接收单元,用于接收所述交易事件的验证通过信息,所述验证通过信息是由验证节点根据所述核对信息与任务计算方上传区块链的所述交易事件的完成信息相匹配得到的验证信息;The receiving unit is configured to receive the verification passing information of the transaction event, the verification passing information is the verification obtained by the verification node matching the verification information with the completion information of the transaction event uploaded by the task computing party to the block chain information;
确定单元,用于确定向所述接收单元接收的验证通过信息中含有的任务计算方支付报酬。A determining unit, configured to determine to pay a remuneration to the task computing party included in the verification passing information received by the receiving unit.
另一方面,本发明提供一种基于区块链的信息验证系统,所述系统具体包括:任务计算方,任务发布方以及验证节点,其中,所述验证节点中设置有上述第三方面所述的基于区块链的信息验证装置,所述任务发布方所在的节点中设置有上述第四方法所述的基于区块链的信息验证装置。On the other hand, the present invention provides a blockchain-based information verification system. The system specifically includes: a task calculation party, a task issuer, and a verification node, wherein the verification node is provided with the information described in the third aspect above. The information verification device based on the block chain, the node where the task issuer is located is provided with the information verification device based on the block chain described in the fourth method above.
另一方面,本发明提供一种存储介质,所述存储介质用于存储的计算机程序,其中,所述程序运行时控制所述存储介质所在验证节点的设备执行第一方面所述的基于区块链的信息验证方法,或者控制所述存储介质所在任务发布方的设备执行第二方面所述的基于区块链的信息验证方法。In another aspect, the present invention provides a storage medium, the storage medium is used for storing a computer program, wherein when the program runs, the device of the verification node where the storage medium is located is controlled to execute the block-based chain information verification method, or control the device of the task issuer where the storage medium is located to execute the blockchain-based information verification method described in the second aspect.
另一方面,本发明提供一种处理器,所述处理器用于运行程序,其中,在所述处理器设置在验证节点的设备中时,所述程序运行时执行第一方面所述的基于区块链的信息验证方法;在所述处理器设置在任务发布方的设备中时,所述程序运行时执行第二发明面所述的基于区块链的信息验证方法。In another aspect, the present invention provides a processor, the processor is used to run a program, wherein, when the processor is set in a verification node device, the program executes the zone-based A block chain information verification method; when the processor is set in the device of the task issuer, the program executes the block chain-based information verification method described in the second aspect of the invention when running.
借由上述技术方案,本发明提供的一种基于区块链的信息验证方法、装置及系统,通过加入验证节点,对同一交易事件中任务发布方和任务计算方上传的信息进行校对匹配,当匹配成功时,告知任务发布方存在已完成交易事件的任务计算方,据此,来验证该交易事件中的交易方所上传的信息真实有效,不存在单方面作弊的行为。相对于现有基于区块链记录交易事件的应用,无法针对单方上传的交易信息进行实时验证,而导致的报酬支付纠纷问题,本发明是在任务发布方上传核对信息,且与任务计算方上传的完成信息校对无误后,确认双方都不存在作弊行为,可以执行报酬分配步骤,以此减少由于报酬支付纠纷而导致的大量附加工作量,完善并优化基于区块链技术的应用的信息验证操作,从而提高这类应用的实用性。By means of the above technical solution, the present invention provides a blockchain-based information verification method, device and system. By adding verification nodes, the information uploaded by the task issuer and the task calculation party in the same transaction event is verified and matched. When When the matching is successful, inform the task issuer that there is a task calculation party that has completed the transaction event. Based on this, it can verify that the information uploaded by the transaction party in the transaction event is true and effective, and there is no unilateral cheating. Compared with the existing applications based on blockchain recording transaction events, real-time verification of transaction information uploaded by one party cannot be carried out, resulting in remuneration payment disputes. After the completion of the information proofreading, it is confirmed that there is no cheating on both parties, and the remuneration distribution step can be carried out, so as to reduce a large amount of additional workload caused by remuneration payment disputes, and improve and optimize the information verification operation based on blockchain technology applications , thereby improving the practicability of such applications.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:
图1示出了本发明实施例提出的用于验证节点的一种基于区块链的信息验证方法的流程图;Fig. 1 shows a flow chart of a blockchain-based information verification method for verifying nodes proposed by an embodiment of the present invention;
图2示出了本发明实施例提出的用于任务发布方的一种基于区块链的信息验证方法的流程图;Fig. 2 shows a flow chart of a block chain-based information verification method for a task issuer proposed by an embodiment of the present invention;
图3示出了本发明实施例提出的用于验证节点的另一种基于区块链的信息验证方法的流程图;FIG. 3 shows a flow chart of another blockchain-based information verification method for verifying nodes proposed by an embodiment of the present invention;
图4示出了本发明实施例提出的用于验证节点的一种基于区块链的信息验证装置的组成框图;FIG. 4 shows a block diagram of a blockchain-based information verification device for verifying nodes proposed by an embodiment of the present invention;
图5示出了本发明实施例提出的用于验证节点的另一种基于区块链的信息验证装置的组成框图。Fig. 5 shows a block diagram of another blockchain-based information verification device for verification nodes proposed by an embodiment of the present invention.
图6示出了本发明实施例提出的用于任务发布方所在节点的一种基于区块链的信息验证装置的组成框图;FIG. 6 shows a block diagram of a block chain-based information verification device for the node where the task issuer is located according to the embodiment of the present invention;
图7示出了本发明实施例提出的用于任务发布方所在节点的另一种基于区块链的信息验证装置的组成框图。Fig. 7 shows a block diagram of another blockchain-based information verification device for the node where the task issuer is located according to the embodiment of the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.
本发明实施例提供了一种基于区块链的信息验证方法,该方法应用于验证节点,该验证节点一般不生产上传区块链的数据,而是采集交易事件双方上传的相关信息进行对比。本方法具体步骤如图1所示,该方法包括:The embodiment of the present invention provides a blockchain-based information verification method, which is applied to a verification node. Generally, the verification node does not produce data uploaded to the blockchain, but collects relevant information uploaded by both parties of the transaction event for comparison. The concrete steps of this method are as shown in Figure 1, and this method comprises:
101、获取任务计算方上传的交易事件的完成信息及所述交易事件的事件标识。101. Obtain the completion information of the transaction event uploaded by the task calculation party and the event identifier of the transaction event.
现有的区块链中各个节点中都会产生交易事件的相关信息,并基于这些相关信息生成新的区块。而在本发明实施例中的验证节点不会产生交易事件的相关信息,仅在该节点中维护区块链的信息,并检测可区块内的信息,当发现有任务计算方上传的交易事件的完成信息时,获取该完成信息并获取该交易事件的事件标识。例如,以A(任务发布方)发布对URL加速任务为例,B(任务计算方)接收该任务并执行对URL的加速,之后,将为该URL的加速的结果作为一个新区块上传至区块链中,对于现有基于区块链技术的应用,A将根据B的加速结果向B支付相应的报酬。但在本实施例中,加入了一个验证节点C,由C获取B上传的加速结果,同时获取该交易事件的事件标识,该事件标识是对URL加速任务的唯一标识信息,可以是“对URL加速任务”交易事件编号,以可以是对该任务名称、参与方名称等信息计算的哈希值。Each node in the existing blockchain will generate relevant information about transaction events, and new blocks will be generated based on these relevant information. However, the verification node in the embodiment of the present invention will not generate relevant information about transaction events, but only maintains the information of the block chain in the node, and detects the information in the block. When a transaction event uploaded by the task computing party is found When the completion information of the transaction event is obtained, the completion information and the event ID of the transaction event are obtained. For example, take A (task issuer) as an example to issue a URL acceleration task, B (task calculation party) receives the task and executes the acceleration of the URL, and then uploads the acceleration result of the URL as a new block to the zone In the block chain, for existing applications based on block chain technology, A will pay B the corresponding remuneration according to the acceleration results of B. However, in this embodiment, a verification node C is added, and C obtains the acceleration result uploaded by B, and at the same time obtains the event identifier of the transaction event. The event identifier is the unique identification information for the URL acceleration task, which can be "for URL Acceleration task" transaction event number, which can be the hash value calculated for the task name, participant name and other information.
102、根据事件标识获取任务发布方上传的交易事件的核对信息。102. Obtain the verification information of the transaction event uploaded by the task issuer according to the event identifier.
其中,该核对信息是由任务发布方核对完成该交易事件的任务计算方的信息。该核对信息中至少包括有任务计算方的名称,对应完成交易事件的结果等信息。一般地,该核对信息是由任务发布方通过具体的数据统计信息或由第三方统计机构得到的参与该交易事件的任务计算方的相关结果,该结果在本实施例中不限定其具体的内容与格式,根据上述的示例,对URL加速的结果可是对具体多少条URL进行了加速,也可以是对一条URL进行加速的具体程度,如具体的增加的流量信息。可见,本步骤对应上述的示例,C将根据交易事件的事件标识从区块链中获取由A上传的核对信息。Wherein, the verification information is the information of the task computing party that the task issuing party checks and completes the transaction event. The verification information includes at least the name of the task calculation party, the result of the corresponding transaction completion event, and other information. Generally, the verification information is the relevant result of the task calculation party participating in the transaction event obtained by the task issuer through specific data statistics information or a third-party statistical agency, and the specific content of the result is not limited in this embodiment and format, according to the above example, the result of URL acceleration may be how many specific URLs are accelerated, or the specific degree of acceleration for a URL, such as specific increased traffic information. It can be seen that this step corresponds to the above example, and C will obtain the verification information uploaded by A from the blockchain according to the event identifier of the transaction event.
103、根据区块链中的签名信息解析所述完成信息和核对信息。103. Analyze the completion information and verification information according to the signature information in the blockchain.
在区块链技术中,一个区块中的数据包括上传用户将上一区块的哈希值、交易事件的交易信息、签名信息、时间戳等信息制作为一个新的区块,再上传区块链,将其连接到上一个区块后。因此,要得到上述步骤中的完成信息与核对信息,验证节点就需要根据具体的签名信息对相应区块中的信息进行解析,以得到相应交易的完成信息和核对信息,其中,签名信息是由上传用户定义的具有标识性的签名信息。对该步骤的具体实现,与现有的区块链中区块数据制作与解析的过程相同,因此,此处不再赘述。In blockchain technology, the data in a block includes uploading the hash value of the previous block, transaction information of transaction events, signature information, time stamp and other information into a new block, and then uploading the block. block chain, after connecting it to the previous block. Therefore, to obtain the completion information and verification information in the above steps, the verification node needs to analyze the information in the corresponding block according to the specific signature information to obtain the completion information and verification information of the corresponding transaction. Among them, the signature information is provided by Upload user-defined identifying signature information. The specific implementation of this step is the same as the process of making and analyzing block data in the existing blockchain, so it will not be repeated here.
104、判断核对信息中是否含有完成信息。104. Determine whether the check information contains completion information.
一般的,任务发布方所上传的核对信息中会有多个任务计算方,因此,本步骤所判断的就是,当核对信息中只有一个任务计算方时,判断该任务计算方是否为完成信息对应的任务计算方,而当核对信息中有多个任务计算方时,则判断这些任务计算方中是否含有完成信息对应的任务计算方。对应上述示例中,就是C判断A上传的核对信息中所含所有的任务计算方的名称列表中是否含有B,若含有则执行步骤105,而如果不含则说明B有可能存在作弊行为,此时,C也会向A发送相应的预警信息,提示A区块链中所记录的B可能存在作弊行为。Generally, there will be multiple task calculators in the verification information uploaded by the task issuer. Therefore, what is judged in this step is, when there is only one task calculator in the verification information, it is judged whether the task calculator corresponds to the completion information. task calculator, and when there are multiple task calculators in the verification information, it is judged whether the task calculator corresponding to the completion information is included in these task calculators. Corresponding to the above example, C judges whether B is included in the name list of all the task calculation parties included in the verification information uploaded by A, and if yes, then execute step 105, and if not, it means that B may have cheated. , C will also send a corresponding warning message to A, prompting that B recorded in A's blockchain may have cheated.
105、向任务发布方发送任务计算方验证通过信息。105. Send the task computing party verification passing information to the task issuer.
通过该验证通过信息,任务发布方可以确定区块链中有该任务计算方所上传的完成信息是真实可靠的,进而可以执行报酬支付等的操作。Through the verification information, the task issuer can confirm that the completion information uploaded by the task calculator in the blockchain is authentic and reliable, and then can perform operations such as remuneration payment.
通过上述实例可见,本发明实施例所提供的一种基于区块链的信息验证方法,应用于增加的验证节点中,该验证节点也维护相同的区块链数据,但不会生产新的区块数据,仅是针对区块链数据中同一交易事件的参与方进行交易信息的获取以及对比,并将对比结果告知交易事件的任务发布方,从而实现对交易信息的实时验证,区别于现有基于区块链技术的应用,本发明中的任务发布方会根据验证节点的验证结果来支付报酬,防止出现任务计算方通过作弊行为发布虚假完成信息以套取报酬的情况。It can be seen from the above examples that the blockchain-based information verification method provided by the embodiment of the present invention is applied to the added verification node, and the verification node also maintains the same blockchain data, but does not generate new blocks. The block data only acquires and compares the transaction information for the participants of the same transaction event in the blockchain data, and informs the task issuer of the transaction event of the comparison result, so as to realize the real-time verification of the transaction information, which is different from the existing Based on the application of blockchain technology, the task issuer in the present invention will pay remuneration according to the verification results of the verification nodes, so as to prevent the task calculation party from issuing false completion information through cheating to obtain rewards.
对应图1所示的实例,基于本发明的信息验证方法,任务发布方在执行过程中将会根据验证节点的信息去执行后续步骤,特别是支付报酬时,不再根据区块链中由任务计算方上传的完成信息进行支付,对此,任务发布方在实现信息验证方法过程中所执行具体步骤如图2所示,包括:Corresponding to the example shown in Figure 1, based on the information verification method of the present invention, the task issuer will perform subsequent steps according to the information of the verification node during the execution process, especially when paying remuneration, no longer according to the task in the blockchain. The completion information uploaded by the calculation party is used for payment. For this, the specific steps performed by the task issuer in the process of implementing the information verification method are shown in Figure 2, including:
201、统计交易事件的核对信息。201. Count the verification information of the transaction event.
其中,该核对信息是核对完成该交易事件的任务计算方的信息,具体包括有任务计算方的名称,以及对应的完成信息。该核对信息可以是由任务发布方根据自身的统计数据统计生成,也可以是通过第三方的统计机构或平台统计得到的核对信息。具体该对信息中的数据内容与格式在本实施例中不做限定,在现有技术中,任务发布方也会统计同样的核对信息,因此,对于如何统计该核对信息,本步骤中不做具体说明。Wherein, the checking information is the information of the task calculating party who has checked and completed the transaction event, specifically including the name of the task calculating party and corresponding completion information. The verification information can be generated by the task issuer according to its own statistical data, or it can be the verification information obtained through the statistics of a third-party statistical agency or platform. Specifically, the data content and format in the information are not limited in this embodiment. In the prior art, the task issuer will also count the same verification information. Therefore, how to count the verification information is not done in this step. Be specific.
202、将核对信息上传区块链。202. Upload the verification information to the blockchain.
在本实施例中,任务发布方会将核对信息作为交易事件的相关信息作为一个区块中的信息上传至区块链。具体的上传过程与现有区块链制作新区块的过程相同,都是利用任务发布方的签名信息以及自身节点所维护区块链中的末尾区块的哈希值等信息,与该核对信息制作新区块,其中的具体计算方式此处不做详细说明。In this embodiment, the task issuer will upload the verification information as the relevant information of the transaction event to the blockchain as information in a block. The specific uploading process is the same as the process of creating a new block in the existing blockchain. It uses the signature information of the task issuer and the hash value of the last block in the blockchain maintained by its own node to compare with the verification information. Create a new block, and the specific calculation method will not be described in detail here.
203、接收交易事件的验证通过信息。203. Receive verification passing information of the transaction event.
其中,该验证通过信息是由验证节点根据上述上传的核对信息与任务计算方上传区块链的同一交易事件的完成信息相匹配得到的验证信息,即上述图1中,由验证节点执行后得到的验证通过信息。Among them, the verification passing information is the verification information obtained by the verification node according to the above-mentioned uploaded verification information and the completion information of the same transaction event uploaded by the task calculation party in the blockchain, that is, in the above-mentioned Figure 1, it is obtained by the verification node after execution The verification passed information.
需要说明的是,本步骤只有在验证节点通过对比验证后,才会接受到相应的验证通过信息,而对于未通过对比验证的任务计算方,一般会有两种情况,一种是该任务计算方没有上传过完成信息,另一种是该任务计算方上传的完成信息中存在差异,此时将接收到验证节点发送的预警信息。It should be noted that, in this step, only after the verification node passes the comparison verification, will it receive the corresponding verification information. For the task calculation party that has not passed the comparison verification, there are generally two situations, one is that the task calculation The other party has not uploaded the completion information, and the other is that there is a discrepancy in the completion information uploaded by the task calculation party. At this time, the early warning information sent by the verification node will be received.
204、确定向验证通过信息中含有的任务计算方支付报酬。204. Determine to pay remuneration to the task calculation party included in the verification passing information.
根据步骤203所接收的验证通过信息,提取其中的任务计算方,并确定该任务计算方为可支付报酬的用户。具体的支付方式在本实施例中不做限定,可以是直接支付,也可以是间接代付等。According to the verification pass information received in step 203, the task calculation party is extracted, and the task calculation party is determined to be a user who can pay remuneration. The specific payment method is not limited in this embodiment, and may be direct payment or indirect payment on behalf of others.
通过上述图2所示的实例可见,本发明实施例所提供的一种基于区块链的信息验证方法,应用于任务发布方所在的节点中,任务发布方通过执行上述的步骤,将统计的核对信息作为交易事件的相关信息添加至区块链数据中,并且,在支付报酬时是以验证节点发送的验证通过信息为依据执行,也就是说,本发明实施例是先对任务计算方与任务发布方各自上传的交易事件的相关信息进行信息验证,以此确定双方对该交易事件的交易结果都认可,即交易参与方不认为对方存在作弊行为,此时,再执行报酬支付,通过修改支付确认的流程优化报酬支付操作,避免支付纠纷而导致的附加工作量。It can be seen from the above example shown in Figure 2 that a blockchain-based information verification method provided by the embodiment of the present invention is applied to the node where the task issuer is located. The verification information is added to the blockchain data as the relevant information of the transaction event, and the payment is based on the verification information sent by the verification node. The relevant information of the transaction event uploaded by the task issuers shall verify the information to ensure that both parties agree with the transaction result of the transaction event, that is, the transaction participants do not think that the other party has cheated. The payment confirmation process optimizes the remuneration payment operation and avoids additional workload caused by payment disputes.
进一步的,在上述图2所示的一种基于区块链的信息验证方法中,针对204步骤中确定的任务计算方支付报酬的方式,其中得一个可行实施例中是由任务计算方支根据核对信息中记录的任务计算方的完成信息,结合对应的报酬分配机制,该报酬分配机制是预先设置好的,直接向该任务计算方支付相应的报酬。Further, in the above-mentioned blockchain-based information verification method shown in Figure 2, for the payment method determined by the task calculation party in step 204, one of the feasible embodiments is determined by the task calculation party according to Check the completion information of the task calculator recorded in the information, combined with the corresponding reward distribution mechanism, which is pre-set, and directly pay the corresponding reward to the task calculator.
而在另一个可行实施例中,则是由验证节点支付相应的报酬,对此,任务发布方需要预先向验证节点发送报酬分配机制,以及支付完成该交易事件总的交易报酬,当任务发布方接收到验证通过信息时,就向验证节点发送支付报酬的指示信息,再由于验证节点根据报酬分配机制计算任务计算方应得的报酬并相其支付。当然,也可以是由任务发布方计算支付的报酬,通过指示信息告知验证节点所需支付的报酬金额,再由验证节点相任务计算方支付。如此,可以进一步降低任务发布方需要计算的数据量,由验证节点代为支付。In another feasible embodiment, the corresponding reward is paid by the verification node. For this, the task issuer needs to send the reward distribution mechanism to the verification node in advance, and pay the total transaction reward for completing the transaction event. When the task issuer When the verification pass information is received, the verification node will send the payment instruction information to the verification node, and then the verification node will calculate the reward due to the task calculation party according to the reward distribution mechanism and pay accordingly. Of course, it is also possible for the task issuer to calculate the paid remuneration, inform the verification node of the amount of remuneration to be paid through the instruction information, and then the verification node will pay the task calculation party. In this way, the amount of data that the task issuer needs to calculate can be further reduced, and the verification node will pay for it.
基于前述图1与图2所示的实施例,其中的验证节点与任务发布方所在的节点,在实际应用中,可以同时设置在同一节点中,也可以单独设置在不同的节点中。而对于设置在不同节点的情况,本发明实施例中的每一节点都会维护相同的区块链数据。Based on the above-mentioned embodiments shown in Fig. 1 and Fig. 2, the verification node and the node where the task issuer is located may be set in the same node at the same time or in different nodes in practical applications. In the case of being set on different nodes, each node in the embodiment of the present invention will maintain the same blockchain data.
进一步的,针对图1所示的实施例中验证节点具体获取核对信息的方式以及基于该信息验证方法进一步支付报酬给任务计算方的操作过程,将通过图3所示的一种基于区块链的信息验证方法具体说明,其步骤包括:Further, for the verification node in the embodiment shown in Figure 1 to specifically obtain the verification information and the operation process of further paying remuneration to the task calculation party based on the information verification method, a blockchain-based The method of information verification is described in detail, and the steps include:
301、获取任务计算方上传的交易事件的完成信息及所述交易事件的事件标识。301. Obtain the completion information of the transaction event uploaded by the task calculation party and the event identifier of the transaction event.
302、根据事件标识获取任务发布方上传的交易事件的核对信息。302. Obtain verification information of the transaction event uploaded by the task issuer according to the event identifier.
由于区块链中的区块是根据时间进行串联的,而一般情况下,任务发布方统计出交易事件的核对信息并上传至区块链中的时间点会晚于任务计算方将完成信息上传至区块链中的时间点,因此,本实施例中,在从区块链数据中获取核对信息时,其具体操作是:先判断完成信息所在的区块中是否存在任务发布方上传的针对该交易事件的核对信息,即判断在任务计算方上传完成信息的时间段内,任务发布方是否已经统计并上传对应的核对信息。若在该区块中未找到对应该交易事件的核对信息,则在该区块的下一个区块中查找对应该交易事件的核对信息。Since the blocks in the blockchain are connected in series according to time, under normal circumstances, the time point when the task issuer calculates the verification information of the transaction event and uploads it to the blockchain will be later than the time when the task calculation party completes the information upload. to the time point in the block chain, therefore, in this embodiment, when obtaining the verification information from the block chain data, the specific operation is: first judge whether there is an object uploaded by the task issuer in the block where the completion information is located The verification information of the transaction event is to judge whether the task issuer has counted and uploaded the corresponding verification information within the time period when the task calculation party uploaded the completion information. If the verification information corresponding to the transaction event is not found in the block, the verification information corresponding to the transaction event is searched in the next block of the block.
进一步的,由于区块链中的区块会不断增加,而任务发布方若不上传该交易事件的核对信息,那么验证节点将会随着区块的增加不停的查找下去,造成计算资源的浪费。为了避免该情况,在本发明的另一实施例中,可以预置查找的时间段,比如5分钟、1小时等,当验证节点在该时间段内还未查找到对应该交易事件的核对信息时,则由该验证节点向任务发布方发送提示信息,告知任务发布方该交易事件的核对信息还没有上传区块链,同时,停止查找该交易事件的核对信息。Furthermore, since the blocks in the blockchain will continue to increase, if the task issuer does not upload the verification information of the transaction event, then the verification node will continue to search as the blocks increase, resulting in a shortage of computing resources. waste. In order to avoid this situation, in another embodiment of the present invention, the search time period can be preset, such as 5 minutes, 1 hour, etc., when the verification node has not found the verification information corresponding to the transaction event within this time period , the verification node sends a prompt message to the task issuer, informing the task issuer that the verification information of the transaction event has not been uploaded to the blockchain, and at the same time, stops searching for the verification information of the transaction event.
303、根据区块链中的签名信息解析所述完成信息和核对信息。303. Analyze the completion information and verification information according to the signature information in the blockchain.
304、判断核对信息中是否含有完成信息。304. Determine whether the verification information contains completion information.
305、向任务发布方发送任务计算方验证通过信息。305. Send the task computing party verification passing information to the task issuer.
以上步骤303至305的内容与图1所示实施例中的步骤103至105相同,此处不再赘述。The contents of the above steps 303 to 305 are the same as the steps 103 to 105 in the embodiment shown in FIG. 1 , and will not be repeated here.
需要说明的是,对于上述步骤101与102,即获取任务计算方上传的交易事件的完成信息与获取任务发布方上传的该交易事件的核对信息之间并不存在逻辑上的先后顺序。It should be noted that, for the above steps 101 and 102, there is no logical sequence between obtaining the completion information of the transaction event uploaded by the task calculation party and obtaining the verification information of the transaction event uploaded by the task issuer.
306、获取任务发布方支付的完成交易事件的交易报酬以及报酬分配机制。306. Obtain the transaction reward paid by the task issuer for completing the transaction event and the reward distribution mechanism.
基于上述步骤的执行,验证节点将对比成功的消息以验证通过信息的方式反馈给任务发布方后,在本发明实施例中,验证节点将继续执行报酬分配的步骤。为此,在向任务计算方支付报酬之前,要先明确一下两个问题:Based on the execution of the above steps, after the verification node feeds back the successful comparison message to the task issuer in the form of verification passing information, in the embodiment of the present invention, the verification node will continue to perform the step of reward distribution. For this reason, before paying the task calculation party, two questions must be clarified:
1、验证节点是否有资格向任务计算方支付报酬。1. Verify whether the node is eligible to pay the task calculator.
2、确定向任务计算方支付报酬的数量。2. Determine the amount of remuneration paid to the task calculator.
对于第一个问题,验证节点可以通过指示信息来获取任务发布方的授权,当然,本发明实施例并不限定其他的授权方式,不如,节点认证:预先确认该验证节点可以直接向任务计算方支付报酬等方式。For the first question, the verification node can obtain the authorization of the task issuer through the indication information. Of course, the embodiment of the present invention does not limit other authorization methods. For example, node authentication: pre-confirm that the verification node can directly submit the task to the task calculation party. Payment of remuneration, etc.
对于第二个问题,则是通过获取任务发布方提供的报酬分配机制,根据任务计算方的完成信息或者是任务发布方的核对信息中所记录的内容计算出任务计算方应得的报酬,比如,任务计算方加速一条URL可得到1M流量的奖励,那么根据任务计算方的完成数量计算对应的奖励值。For the second question, by obtaining the remuneration distribution mechanism provided by the task issuer, the task calculation party's due reward is calculated according to the completion information of the task calculation party or the content recorded in the task issuer's verification information, such as , the task calculator can get a reward of 1M traffic for accelerating a URL, then calculate the corresponding reward value according to the number of tasks completed by the task calculator.
进一步的,在验证节点向任务计算方支付报酬时,本发明实施例中的验证节点会先从任务发布方处获取完成该交易事件的交易报酬,在计算出要支付的报酬值后,从该交易报酬中提取对应的值给任务计算方,并将支付的凭证发送给任务发布方。Further, when the verification node pays the task calculation party, the verification node in the embodiment of the present invention will first obtain the transaction reward for completing the transaction event from the task issuer, after calculating the reward value to be paid, from the The corresponding value is extracted from the transaction reward to the task calculator, and the payment voucher is sent to the task issuer.
307、根据核对信息中记录的信息以及报酬分配机制计算任务计算方应得的报酬,并向该任务计算方支付报酬。307. Calculate the remuneration due to the task calculation party according to the information recorded in the verification information and the remuneration distribution mechanism, and pay the remuneration to the task calculation party.
在本实施例中,是由验证节点来计算支付的报酬值,当然也可以设置成由任务发布方计算出报酬值,发送给验证节点,再由验证节点根据接收的报酬值直接发送报酬给任务计算方。In this embodiment, the payment value is calculated by the verification node. Of course, it can also be set so that the task issuer calculates the reward value and sends it to the verification node, and then the verification node directly sends the reward to the task according to the received reward value. calculation side.
以上是针对验证节点在基于区块链技术的应用中进行交易事件的数据记录以及报酬分配的具体实施方案,根据上述有验证节点的操作可以看出,验证节点能够基于区块链中区块的数据,对交易事件参与方所上传数据的对比验证,从而避免出现交易过程中的单方作弊行为,进而产生交易报酬的支付纠纷问题。The above is a specific implementation plan for the data recording and reward distribution of the verification node in the application based on blockchain technology. According to the above operation with the verification node, it can be seen that the verification node can be based on the block in the blockchain. Data, the comparison and verification of the data uploaded by the participants in the transaction event, so as to avoid unilateral cheating in the transaction process, and then generate payment disputes for transaction remuneration.
进一步的,作为对上述图1与图3所示方法的实现,本发明实施例提供了一种基于区块链的信息验证装置,该装置主要应用于验证节点,对同一交易事件中的任务发布方与任务计算方上传至区块链中的交易信息进行对比验证。为便于阅读,本装置实施例不再对前述方法实施例中的细节内容进行逐一赘述,但应当明确,本实施例中的装置能够对应实现前述方法实施例中的全部内容。该装置如图4所示,具体包括:Further, as an implementation of the methods shown in Figure 1 and Figure 3 above, the embodiment of the present invention provides a block chain-based information verification device, which is mainly used in verification nodes to issue tasks in the same transaction event The transaction information uploaded by the party and the task calculation party to the blockchain is compared and verified. For ease of reading, this device embodiment does not repeat the details of the aforementioned method embodiments one by one, but it should be clear that the device in this embodiment can correspondingly implement all the content of the aforementioned method embodiments. The device is shown in Figure 4 and specifically includes:
第一获取单元41,用于获取任务计算方上传的交易事件的完成信息及所述交易事件的事件标识;The first acquisition unit 41 is configured to acquire the completion information of the transaction event uploaded by the task calculation party and the event identifier of the transaction event;
第二获取单元42,用于根据所述第一获取单元41获取的事件标识获取任务发布方上传的所述交易事件的核对信息,所述核对信息是由任务发布方核对完成所述交易事件的任务计算方的信息;The second acquisition unit 42 is configured to acquire the verification information of the transaction event uploaded by the task issuer according to the event identifier acquired by the first acquisition unit 41, and the verification information is completed by the task issuer after checking the transaction event Information about the task calculator;
解析单元43,用于根据区块链中的签名信息解析所述第一获取单元41获取的完成信息和所述第二获取单元42获取的核对信息;An analysis unit 43, configured to analyze the completion information acquired by the first acquisition unit 41 and the verification information acquired by the second acquisition unit 42 according to the signature information in the block chain;
判断单元44,用于判断所述解析单元43解析出的核对信息中是否含有所述完成信息;A judging unit 44, configured to judge whether the verification information parsed by the parsing unit 43 contains the completion information;
发送单元45,用于在所述判断单元44确定核对信息中含有所述完成信息时,向所述任务发布方发送所述任务计算方验证通过信息。The sending unit 45 is configured to, when the judging unit 44 determines that the verification information contains the completion information, send the verification passing information of the task computing party to the task issuer.
进一步的,如图5所示,所述第二获取单元42包括:Further, as shown in FIG. 5, the second acquisition unit 42 includes:
判断模块421,用于判断所述完成信息所在的区块中是否存在所述任务发布方上传的所述核对信息;A judging module 421, configured to judge whether the verification information uploaded by the task issuer exists in the block where the completion information is located;
查找模块422,用于当所述判断模块421确定所述区块中不存在所述核对信息时,在所述区块的下一个区块中查找所述核对信息。A search module 422, configured to search for the check information in a block next to the block when the judging module 421 determines that the check information does not exist in the block.
进一步的,如图5所示,所述装置还包括:Further, as shown in Figure 5, the device also includes:
提示单元46,用于在预置时间段内所述第二获取单元42未获取所述核对信息时,向所述任务发布方发送提示信息。A prompting unit 46, configured to send prompting information to the task issuer when the second acquiring unit 42 has not acquired the checking information within a preset time period.
进一步的,如图5所示,所述装置还包括:Further, as shown in Figure 5, the device also includes:
第三获取单元47,用于获取任务发布方支付的完成所述交易事件的交易报酬以及报酬分配机制;The third acquiring unit 47 is configured to acquire the transaction reward paid by the task issuer for completing the transaction event and the reward distribution mechanism;
计算单元48,用于根据所述第二获取单元42获取的核对信息中记录的信息以及所述第三获取单元47获取的报酬分配机制计算所述任务计算方应得的报酬;A calculation unit 48, configured to calculate the remuneration due to the task calculation party according to the information recorded in the verification information obtained by the second obtaining unit 42 and the remuneration distribution mechanism obtained by the third obtaining unit 47;
支付单元49,用于向所述任务计算方支付所述计算单元48计算出的报酬。The payment unit 49 is configured to pay the task calculation party the remuneration calculated by the calculation unit 48 .
进一步的,作为对上述图2所示方法的实现,本发明实施例提供了一种基于区块链的信息验证装置,该装置主要应用于任务发布方所在的节点,向区块链上传交易事件的核对信息,以便验证节点从区块链中直接提取交易参与方上传的信息。为便于阅读,本装置实施例不再对前述方法实施例中的细节内容进行逐一赘述,但应当明确,本实施例中的装置能够对应实现前述方法实施例中的全部内容。该装置如图6所示,具体包括:Furthermore, as an implementation of the method shown in Figure 2 above, the embodiment of the present invention provides a block chain-based information verification device, which is mainly applied to the node where the task issuer is located, and uploads transaction events to the block chain The verification information so that the verification node can directly extract the information uploaded by the transaction participants from the blockchain. For ease of reading, this device embodiment does not repeat the details of the aforementioned method embodiments one by one, but it should be clear that the device in this embodiment can correspondingly implement all the content of the aforementioned method embodiments. The device is shown in Figure 6 and specifically includes:
统计单元51,用于统计交易事件的核对信息,所述核对信息是核对完成所述交易事件的任务计算方的信息;A statistical unit 51, configured to count the verification information of the transaction event, the verification information is the information of the task calculation party that has completed the transaction event;
发送单元52,用于将所述统计单元51获取的核对信息上传区块链;A sending unit 52, configured to upload the verification information obtained by the statistical unit 51 to the block chain;
接收单元53,用于接收所述交易事件的验证通过信息,所述验证通过信息是由验证节点根据所述核对信息与任务计算方上传区块链的所述交易事件的完成信息相匹配得到的验证信息;The receiving unit 53 is configured to receive the verification passing information of the transaction event, the verification passing information is obtained by the verification node matching the verification information with the completion information of the transaction event uploaded by the task computing party to the block chain verify message;
确定单元54,用于确定向所述接收单元53接收的验证通过信息中含有的任务计算方支付报酬。The determination unit 54 is configured to determine to pay a remuneration to the task calculation party included in the verification passing information received by the receiving unit 53 .
进一步的,如图7所示,所述确定单元54包括:Further, as shown in FIG. 7, the determining unit 54 includes:
支付模块541,用于向所述任务计算方支付报酬;A payment module 541, configured to pay remuneration to the task calculation party;
发送模块542,用于向验证节点发送支付报酬的指示信息,由所述验证节点向所述任务计算方支付报酬。The sending module 542 is configured to send payment instruction information to the verification node, and the verification node pays the reward to the task calculation party.
进一步的,如图7所示,所述确定单元54还包括:Further, as shown in FIG. 7, the determining unit 54 also includes:
传输模块543,用于在所述发送模块542向验证节点发送支付报酬的指示信息之前,向所述验证节点发送报酬分配机制以及支付完成所述交易事件的交易报酬。The transmission module 543 is configured to send the reward distribution mechanism and the transaction reward for completing the transaction event to the verification node before the sending module 542 sends the reward payment instruction information to the verification node.
进一步的,基于上述图4-7中相关装置的说明,本发明实施例还提供了一种基于区块链的信息验证系统,该系统中包括任务计算方,任务发布方以及验证节点,其中,任务计算方、任务发布方所在的节点以及验证节点三者中彼此可以是同一节点,也可以是独立的节点。相对于现有基于区块链技术的应用中,任务计算方所在节点的数据处理方式不变,任务发布方所在的节点中设置有图6与图7所示的信息验证装置,验证节点中则设置有图4与图5所示的信息验证装置。三者共同维护区块链数据,由验证节点对任务计算方和任务发布方上传的同一交易事件的信息进行对比验证,在验证通过后再执行报酬支付的相关流程。Further, based on the description of the relevant devices in Figures 4-7 above, the embodiment of the present invention also provides a blockchain-based information verification system, which includes a task calculation party, a task issuer and a verification node, wherein, The task calculator, the node where the task issuer is located, and the verification node can be the same node or independent nodes. Compared with the existing applications based on blockchain technology, the data processing method of the node where the task calculator is located remains unchanged, the node where the task issuer is located is equipped with the information verification device shown in Figure 6 and Figure 7, and the verification node is The information verification device shown in Fig. 4 and Fig. 5 is provided. The three jointly maintain the blockchain data, and the verification node compares and verifies the information of the same transaction event uploaded by the task calculation party and the task issuer, and executes the relevant process of payment after the verification is passed.
综上所述,本发明实施例所采用的基于区块链的信息验证方法、装置及系统,通过加入验证节点,对同一交易事件中任务发布方和任务计算方上传的信息进行校对匹配,当匹配成功时,告知任务发布方存在已完成交易事件的任务计算方,据此,来验证该交易事件中的交易方所上传的信息真实有效,不存在单方面作弊的行为。相对于现有基于区块链记录交易事件的应用,无法针对单方上传的交易信息进行实时验证,而导致的报酬支付纠纷问题,本发明是在任务发布方上传核对信息,且与任务计算方上传的完成信息校对无误后,确认双方都不存在作弊行为,可以执行报酬分配步骤,以此减少由于报酬支付纠纷而导致的大量附加工作量,完善并优化基于区块链技术的应用的信息验证操作,从而提高这类应用的实用性。To sum up, the blockchain-based information verification method, device and system adopted in the embodiment of the present invention, by adding a verification node, verifies and matches the information uploaded by the task issuer and the task calculation party in the same transaction event, when When the matching is successful, inform the task issuer that there is a task calculation party that has completed the transaction event. Based on this, it can verify that the information uploaded by the transaction party in the transaction event is true and effective, and there is no unilateral cheating. Compared with the existing applications based on blockchain recording transaction events, real-time verification of transaction information uploaded by one party cannot be carried out, resulting in remuneration payment disputes. After the completion of the information proofreading, it is confirmed that there is no cheating on both parties, and the remuneration distribution step can be carried out, so as to reduce a large amount of additional workload caused by remuneration payment disputes, and improve and optimize the information verification operation based on blockchain technology applications , thereby improving the practicability of such applications.
进一步的,本发明实施例还提供了一种存储介质,该存储介质用于存储的计算机程序,其中,所述计算机程序运行时控制所述存储介质所在设备执行上述的基于区块链的信息验证方法。Further, an embodiment of the present invention also provides a storage medium, which is used for storing computer programs, wherein, when the computer program runs, it controls the device where the storage medium is located to perform the above-mentioned blockchain-based information verification method.
另外,本发明实施例还提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述的基于区块链的信息验证方法。In addition, an embodiment of the present invention also provides a processor, the processor is used to run a program, wherein the above-mentioned information verification method based on blockchain is executed when the program is running.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
可以理解的是,上述方法、装置及系统中的相关特征可以相互参考。另外,上述实施例中的“第一”、“第二”等是用于区分各实施例,而并不代表各实施例的优劣。It can be understood that related features in the above method, device and system can refer to each other. In addition, "first", "second" and so on in the above embodiments are used to distinguish each embodiment, and do not represent the advantages and disadvantages of each embodiment.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
此外,存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。In addition, memory may include non-permanent storage on computer-readable media, in the form of random access memory (RAM) and/or nonvolatile memory, such as read-only memory (ROM) or flash RAM, including at least one memory chip.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and/or nonvolatile memory such as read only memory (ROM) or flash RAM. The memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media excludes transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes Other elements not expressly listed, or elements inherent in the process, method, commodity, or apparatus are also included. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems or computer program products. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are only examples of the present application, and are not intended to limit the present application. For those skilled in the art, various modifications and changes may occur in this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.
本发明还公开了如下技术方案:The present invention also discloses the following technical solutions:
A1、一种基于区块链的信息验证方法,所述方法包括:A1, a blockchain-based information verification method, said method comprising:
获取任务计算方上传的交易事件的完成信息及所述交易事件的事件标识;Obtain the completion information of the transaction event uploaded by the task calculation party and the event identifier of the transaction event;
根据所述事件标识获取任务发布方上传的所述交易事件的核对信息,所述核对信息是由任务发布方核对完成所述交易事件的任务计算方的信息;Obtain the verification information of the transaction event uploaded by the task issuer according to the event identifier, and the verification information is the information of the task calculation party that has completed the transaction event through verification by the task issuer;
根据区块链中的签名信息解析所述完成信息和核对信息;Parse the completion information and verification information according to the signature information in the block chain;
判断所述核对信息中是否含有所述完成信息;judging whether the verification information contains the completion information;
若含有,则向所述任务发布方发送所述任务计算方验证通过信息。If yes, then send the task computing party verification pass information to the task issuer.
A2、根据A1所述的方法,所述根据所述事件标识获取任务发布方上传的所述交易事件的核对信息包括:A2. According to the method described in A1, the acquisition of the verification information of the transaction event uploaded by the task issuer according to the event identifier includes:
判断所述完成信息所在的区块中是否存在所述任务发布方上传的所述核对信息;judging whether the verification information uploaded by the task issuer exists in the block where the completion information is located;
若不存在,则在所述区块的下一个区块中查找所述核对信息。If it does not exist, the verification information is searched in the next block of the block.
A3、根据A2所述的方法,所述方法还包括:A3, according to the method described in A2, described method also comprises:
在预置时间段内未获取所述核对信息时,向所述任务发布方发送提示信息。When the verification information is not obtained within a preset time period, a prompt message is sent to the task issuer.
A4、根据A1-A3中任一项所述的方法,述方法还包括:A4, according to the method described in any one of A1-A3, described method also comprises:
获取任务发布方支付的完成所述交易事件的交易报酬以及报酬分配机制;Obtain the transaction reward paid by the task issuer for completing the transaction event and the reward distribution mechanism;
根据所述核对信息中记录的信息以及所述报酬分配机制计算所述任务计算方应得的报酬;Calculate the remuneration due to the task calculation party according to the information recorded in the verification information and the remuneration distribution mechanism;
向所述任务计算方支付所述报酬。Pay the remuneration to the task calculation party.
B5、一种基于区块链的信息验证方法,所述方法包括:B5, a blockchain-based information verification method, said method comprising:
统计交易事件的核对信息,所述核对信息是核对完成所述交易事件的任务计算方的信息;Count the verification information of the transaction event, the verification information is the information of the task calculation party that has completed the transaction event;
将所述核对信息上传区块链;Upload the verification information to the blockchain;
接收所述交易事件的验证通过信息,所述验证通过信息是由验证节点根据所述核对信息与任务计算方上传区块链的所述交易事件的完成信息相匹配得到的验证信息;receiving the verification passing information of the transaction event, the verification passing information is the verification information obtained by the verification node matching the verification information and the completion information of the transaction event uploaded by the task computing party to the block chain;
确定向所述验证通过信息中含有的任务计算方支付报酬。It is determined to pay remuneration to the task calculation party included in the verification passing information.
B6、根据B5所述的方法,所述确定向所述验证通过信息中含有的任务计算方支付报酬包括:B6. According to the method described in B5, the determining to pay remuneration to the task calculation party contained in the verification passing information includes:
向所述任务计算方支付报酬;或者pay remuneration to said task calculator; or
向验证节点发送支付报酬的指示信息,由所述验证节点向述任务计算方支付报酬。Instruction information for payment of remuneration is sent to the verification node, and the verification node pays the remuneration to the task calculation party.
B7、根据B6所述的方法,在向验证节点发送支付报酬的指示信息之前,所述方法还包括:B7. According to the method described in B6, before sending the indication information of payment to the verification node, the method further includes:
向所述验证节点发送报酬分配机制以及支付完成所述交易事件的交易报酬。Send the reward distribution mechanism and the transaction reward for completing the transaction event to the verification node.
C8、一种基于区块链的信息验证装置,所述装置包括:C8, a blockchain-based information verification device, said device comprising:
第一获取单元,用于获取任务计算方上传的交易事件的完成信息及所述交易事件的事件标识;The first acquisition unit is used to acquire the completion information of the transaction event uploaded by the task calculation party and the event identifier of the transaction event;
第二获取单元,用于根据所述第一获取单元获取的事件标识获取任务发布方上传的所述交易事件的核对信息,所述核对信息是由任务发布方核对完成所述交易事件的任务计算方的信息;The second acquisition unit is configured to acquire the verification information of the transaction event uploaded by the task issuer according to the event identifier acquired by the first acquisition unit, and the verification information is completed by the task issuer after checking and completing the task calculation of the transaction event party information;
解析单元,用于根据区块链中的签名信息解析所述第一获取单元获取的完成信息和所述第二获取单元获取的核对信息;An analysis unit, configured to analyze the completion information acquired by the first acquisition unit and the verification information acquired by the second acquisition unit according to the signature information in the block chain;
判断单元,用于判断所述解析单元解析出的核对信息中是否含有所述完成信息;a judging unit, configured to judge whether the verification information parsed by the parsing unit contains the completion information;
发送单元,用于在所述判断单元确定核对信息中含有所述完成信息时,向所述任务发布方发送所述任务计算方验证通过信息。A sending unit, configured to send the task computing party verification passing information to the task issuer when the judging unit determines that the verification information contains the completion information.
C9、根据C8所述的装置,所述第二获取单元包括:C9. According to the device described in C8, the second acquisition unit includes:
判断模块,用于判断所述完成信息所在的区块中是否存在所述任务发布方上传的所述核对信息;A judging module, configured to judge whether the verification information uploaded by the task issuer exists in the block where the completion information is located;
查找模块,用于当所述判断模块确定所述区块中不存在所述核对信息时,在所述区块的下一个区块中查找所述核对信息。A search module, configured to search for the verification information in a block next to the block when the judging module determines that the verification information does not exist in the block.
C10、根据C9所述的装置,所述装置还包括:C10, according to the device described in C9, the device also includes:
提示单元,用于在预置时间段内所述第二获取单元未获取所述核对信息时,向所述任务发布方发送提示信息。A prompting unit, configured to send prompting information to the task issuer when the second obtaining unit does not obtain the checking information within a preset time period.
C11、根据C8-C10中任一项所述的装置,所述装置还包括:C11. The device according to any one of C8-C10, said device also comprising:
第三获取单元,用于获取任务发布方支付的完成所述交易事件的交易报酬以及报酬分配机制;The third acquisition unit is used to acquire the transaction reward paid by the task issuer for completing the transaction event and the reward distribution mechanism;
计算单元,用于根据所述第二获取单元获取的核对信息中记录的信息以及所述第三获取单元获取的报酬分配机制计算所述任务计算方应得的报酬;A calculation unit, configured to calculate the remuneration due to the task calculation party according to the information recorded in the verification information obtained by the second obtaining unit and the remuneration distribution mechanism obtained by the third obtaining unit;
支付单元,用于向所述任务计算方支付所述计算单元计算出的报酬。A payment unit, configured to pay the task calculation party the remuneration calculated by the calculation unit.
D12、一种基于区块链的信息验证装置,所述装置包括:D12. A blockchain-based information verification device, said device comprising:
统计单元,用于统计交易事件的核对信息,所述核对信息是核对完成所述交易事件的任务计算方的信息;A statistical unit, configured to count the verification information of the transaction event, the verification information is the information of the task calculation party that has completed the transaction event;
发送单元,用于将所述统计单元获取的核对信息上传区块链;a sending unit, configured to upload the verification information obtained by the statistical unit to the block chain;
接收单元,用于接收所述交易事件的验证通过信息,所述验证通过信息是由验证节点根据所述核对信息与任务计算方上传区块链的所述交易事件的完成信息相匹配得到的验证信息;The receiving unit is configured to receive the verification passing information of the transaction event, the verification passing information is the verification obtained by the verification node matching the verification information with the completion information of the transaction event uploaded by the task computing party to the block chain information;
确定单元,用于确定向所述接收单元接收的验证通过信息中含有的任务计算方支付报酬。A determining unit, configured to determine to pay a remuneration to the task computing party included in the verification passing information received by the receiving unit.
D13、根据D12所述的装置,所述确定单元包括:D13. The device according to D12, the determining unit includes:
支付模块,用于向所述任务计算方支付报酬;A payment module, configured to pay remuneration to the task calculation party;
发送模块,用于向验证节点发送支付报酬的指示信息,由所述验证节点向所述任务计算方支付报酬。The sending module is configured to send instruction information for payment of remuneration to the verification node, and the verification node pays the remuneration to the task calculation party.
D14、根据D13所述的装置,在所述发送模块向验证节点发送支付报酬的指示信息之前,所述确定单元还包括:D14. According to the device described in D13, before the sending module sends the payment indication information to the verification node, the determining unit further includes:
传输模块,用于向所述验证节点发送报酬分配机制以及支付完成所述交易事件的交易报酬。The transmission module is used to send the reward distribution mechanism and pay the transaction reward for completing the transaction event to the verification node.
E15、一种基于区块链的信息验证系统,所述系统包括:任务计算方,任务发布方以及验证节点,其中,所述验证节点中设置有如权利要求8-11中任一项所述的基于区块链的信息验证装置,所述任务发布方所在的节点中设置有如权利要求9-13中任一项所述的基于区块链的信息验证装置。E15. An information verification system based on blockchain, the system includes: a task calculation party, a task issuer, and a verification node, wherein the verification node is provided with the device as described in any one of claims 8-11 The blockchain-based information verification device, the node where the task issuer is located is provided with the blockchain-based information verification device according to any one of claims 9-13.
F16、一种存储介质,所述存储介质包括存储的程序,其中,所述程序运行时控制所述存储介质所在验证节点的设备执行A1-A4中任意一项所述的基于区块链的信息验证方法,或者控制所述存储介质所在任务发布方的设备执行B5-B8中任意一项所述的基于区块链的信息验证方法。F16. A storage medium, the storage medium includes a stored program, wherein, when the program runs, it controls the device of the verification node where the storage medium is located to execute the blockchain-based information described in any one of A1-A4 Verification method, or control the device of the task issuer where the storage medium is located to execute the blockchain-based information verification method described in any one of B5-B8.
G17、一种处理器,所述处理器用于运行程序,其中,在所述处理器设置在验证节点的设备中时,所述程序运行时执行A1-A4中任意一项所述的基于区块链的信息验证方法;在所述处理器设置在任务发布方的设备中时,所述程序运行时执行B5-B8中任意一项所述的基于区块链的信息验证方法。G17. A processor, the processor is used to run a program, wherein, when the processor is set in the device of the verification node, the program executes the block-based block described in any one of A1-A4 when running An information verification method of a chain; when the processor is set in the device of the task issuer, the program executes the blockchain-based information verification method described in any one of B5-B8 when running.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810449274.7A CN108647974A (en) | 2018-05-11 | 2018-05-11 | A kind of Information Authentication method, apparatus and system based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810449274.7A CN108647974A (en) | 2018-05-11 | 2018-05-11 | A kind of Information Authentication method, apparatus and system based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108647974A true CN108647974A (en) | 2018-10-12 |
Family
ID=63754866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810449274.7A Pending CN108647974A (en) | 2018-05-11 | 2018-05-11 | A kind of Information Authentication method, apparatus and system based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108647974A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109993528A (en) * | 2019-03-29 | 2019-07-09 | 上海掌门科技有限公司 | A method and apparatus for managing delegated tasks |
CN110099108A (en) * | 2019-04-26 | 2019-08-06 | 深圳前海微众银行股份有限公司 | A kind of block chain event De-weight method, device, computer equipment and storage medium |
CN110335089A (en) * | 2019-07-11 | 2019-10-15 | 中国联合网络通信集团有限公司 | Method, device and system for processing media files |
CN110674533A (en) * | 2019-09-25 | 2020-01-10 | 浙江大学 | Block chain consensus excitation system and method based on large-scale scientific core calculation |
WO2020082583A1 (en) * | 2018-10-25 | 2020-04-30 | 平安科技(深圳)有限公司 | Theft and damage insurance claim method and apparatus, and server and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106327191A (en) * | 2016-08-09 | 2017-01-11 | 联动优势科技有限公司 | Transaction information recording method and transaction information recording device |
CN106503589A (en) * | 2016-10-26 | 2017-03-15 | 北京瑞卓喜投科技发展有限公司 | The method of calibration of block chain Transaction Information correctness, apparatus and system |
WO2018051139A1 (en) * | 2016-09-19 | 2018-03-22 | Zupit Ltd | Transaction validation |
CN108009823A (en) * | 2017-11-03 | 2018-05-08 | 厦门快商通信息技术有限公司 | The distributed call method and system for calculating power resource based on block chain intelligence contract |
-
2018
- 2018-05-11 CN CN201810449274.7A patent/CN108647974A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106327191A (en) * | 2016-08-09 | 2017-01-11 | 联动优势科技有限公司 | Transaction information recording method and transaction information recording device |
WO2018051139A1 (en) * | 2016-09-19 | 2018-03-22 | Zupit Ltd | Transaction validation |
CN106503589A (en) * | 2016-10-26 | 2017-03-15 | 北京瑞卓喜投科技发展有限公司 | The method of calibration of block chain Transaction Information correctness, apparatus and system |
CN108009823A (en) * | 2017-11-03 | 2018-05-08 | 厦门快商通信息技术有限公司 | The distributed call method and system for calculating power resource based on block chain intelligence contract |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020082583A1 (en) * | 2018-10-25 | 2020-04-30 | 平安科技(深圳)有限公司 | Theft and damage insurance claim method and apparatus, and server and medium |
CN109993528A (en) * | 2019-03-29 | 2019-07-09 | 上海掌门科技有限公司 | A method and apparatus for managing delegated tasks |
CN109993528B (en) * | 2019-03-29 | 2021-11-02 | 上海掌门科技有限公司 | A method and apparatus for managing delegated tasks |
CN110099108A (en) * | 2019-04-26 | 2019-08-06 | 深圳前海微众银行股份有限公司 | A kind of block chain event De-weight method, device, computer equipment and storage medium |
CN110335089A (en) * | 2019-07-11 | 2019-10-15 | 中国联合网络通信集团有限公司 | Method, device and system for processing media files |
CN110674533A (en) * | 2019-09-25 | 2020-01-10 | 浙江大学 | Block chain consensus excitation system and method based on large-scale scientific core calculation |
CN110674533B (en) * | 2019-09-25 | 2021-04-06 | 浙江大学 | Block chain consensus excitation system and method based on large-scale scientific core calculation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108647974A (en) | A kind of Information Authentication method, apparatus and system based on block chain | |
JP7625675B2 (en) | Method for distributing digital assets registered on a blockchain and autonomous computing agent | |
Pasdar et al. | Connect API with blockchain: A survey on blockchain oracle implementation | |
CN108462724B (en) | Data sharing method, device, system, member node and readable storage medium | |
US10708071B1 (en) | Consensus protocols in distributed computing systems | |
CN108846673B (en) | Block data processing method, device, equipment and storage medium | |
US20170124556A1 (en) | Event synchronization systems and methods | |
CN112600841A (en) | Credit record sharing method and device based on block chain and electronic equipment | |
CN108769147B (en) | Workload proving method and device in shared computing based on super node | |
JP2020509680A (en) | How to sign new blocks in a decentralized blockchain consensus network | |
CN112868210A (en) | Block chain timestamp protocol | |
CN108768792B (en) | Network detection system | |
CN114363327A (en) | Compliance Mechanisms in Blockchain Networks | |
CN110278246B (en) | Certificate storage service transfer method, device and equipment for alliance chain | |
CN112070484B (en) | Block chain-based data processing method and device | |
US11245528B1 (en) | Protocols for decentralized networks | |
CN110738783A (en) | System, method, device, equipment and readable storage medium for updating voting data | |
CN112907244A (en) | Data processing method, device and equipment based on block chain and readable storage medium | |
CN108648081A (en) | A kind of transaction processing method, device and electronic equipment based on block chain | |
CN111047330B (en) | Verification bonus awarding method and device for blocks | |
Chen et al. | An implementation of fake news prevention by blockchain and entropy-based incentive mechanism | |
CN115427980A (en) | Context integrity preservation | |
CN114463003A (en) | Virtual resource processing method and system based on block chain and processor | |
CN114155109A (en) | Asset configuration method, device, equipment and medium | |
CN111881147B (en) | Processing method and device of computing task, storage medium and processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181012 |