[go: up one dir, main page]

CN107819792A - A kind of block chain network and behavior validation verification method and system - Google Patents

A kind of block chain network and behavior validation verification method and system Download PDF

Info

Publication number
CN107819792A
CN107819792A CN201711327624.4A CN201711327624A CN107819792A CN 107819792 A CN107819792 A CN 107819792A CN 201711327624 A CN201711327624 A CN 201711327624A CN 107819792 A CN107819792 A CN 107819792A
Authority
CN
China
Prior art keywords
result
behavior
verification
user terminal
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
Application number
CN201711327624.4A
Other languages
Chinese (zh)
Inventor
柴跃廷
于潇
黄亚东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN201711327624.4A priority Critical patent/CN107819792A/en
Publication of CN107819792A publication Critical patent/CN107819792A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明公开一种区块链网络和行为有效性验证方法及系统。该方法包括:获取所述区块链中与所述行为相关的用户终端广播的所述行为的信息;所述行为具体为入链行为、出链行为或交易行为;生成时间块,将所述行为的信息记录到所述时间块中;利用共识机制对所述行为的信息进行验证,得到验证结果;所述共识机制为区块链中的所有用户终端共同对所述行为的信息进行验证的机制;当所述验证结果表示行为有效时,将所述行为记录为有效行为;当所述验证结果表示行为无效时,将所述行为记录为无效行为。本发明公开的方案提高了用户信息的安全性,保证了区块链中行为的安全性。

The invention discloses a blockchain network and behavior validity verification method and system. The method includes: obtaining the information of the behavior broadcast by the user terminal related to the behavior in the block chain; the behavior is specifically a chain-in behavior, a chain-out behavior or a transaction behavior; generating a time block, and The behavior information is recorded in the time block; the consensus mechanism is used to verify the behavior information, and the verification result is obtained; the consensus mechanism is that all user terminals in the block chain jointly verify the behavior information mechanism: when the verification result indicates that the behavior is valid, record the behavior as a valid behavior; when the verification result indicates that the behavior is invalid, record the behavior as an invalid behavior. The solution disclosed by the invention improves the security of user information and ensures the security of behaviors in the block chain.

Description

一种区块链网络和行为有效性验证方法及系统A blockchain network and behavior validity verification method and system

技术领域technical field

本发明涉及互联网技术领域,特别是涉及一种区块链网络和行为有效性验证方法及系统。The present invention relates to the technical field of the Internet, in particular to a blockchain network and behavior validity verification method and system.

背景技术Background technique

目前各类的网络平台或系统,普遍存在的问题是:用户身份等个人隐私信息、企业商业秘密信息等安全性差,信息泄露问题愈演愈烈,网络交易或交往的相关方之间欺诈行为时有发生。At present, various network platforms or systems have common problems such as poor security of personal privacy information such as user identity and corporate business secret information, information leakage is intensifying, and fraudulent behavior between related parties in online transactions or exchanges occurs from time to time.

发明内容Contents of the invention

本发明的目的是提供一种区块链网络和行为有效性验证方法及系统,提高用户信息的安全性,保证交易等行为的安全性。The purpose of the present invention is to provide a blockchain network and behavior validity verification method and system to improve the security of user information and ensure the security of transactions and other behaviors.

为实现上述目的,本发明提供了如下方案:To achieve the above object, the present invention provides the following scheme:

一种区块链,包括多个用户终端;每个所述用户终端均对应一个区块;每个所述区块均用于记录与所述区块对应的用户终端的基础信息、供需信息和社交信息;A block chain, including a plurality of user terminals; each of the user terminals corresponds to a block; each of the blocks is used to record the basic information of the user terminal corresponding to the block, supply and demand information and social information;

所述区块包括基础信息块、门户子链和数据子链;所述门户子链和所述数据子链均与所述基础信息块相关联;所述基础信息块用于记录与所述区块对应的用户终端的基础信息;所述门户子链用于按时间顺序记录与所述区块对应的用户终端的社交用户终端的加入时间、网络标识和智能合约;所述数据子链用于按时间顺序记录与所述区块对应的用户终端与社交用户终端之间的社交行为;所述社交用户终端为所述区块链中与所述区块对应的用户终端具有社交关系的用户终端;The block includes a basic information block, a portal sub-chain and a data sub-chain; both the portal sub-chain and the data sub-chain are associated with the basic information block; the basic information block is used to record The basic information of the user terminal corresponding to the block; the portal sub-chain is used to record the joining time, network identification and smart contract of the social user terminal of the user terminal corresponding to the block in chronological order; the data sub-chain is used for Record the social behavior between the user terminal corresponding to the block and the social user terminal in chronological order; the social user terminal is a user terminal that has a social relationship with the user terminal corresponding to the block in the block chain ;

所述基础信息块、所述门户子链和所述数据子链中的信息加密存储,且访问控制由与所述区块对应的用户终端设定;所述区块链内的出入链行为和交易行为在通过所有用户终端的验证后成为有效行为。The information in the basic information block, the portal sub-chain and the data sub-chain is encrypted and stored, and the access control is set by the user terminal corresponding to the block; the chain entry and exit behaviors in the block chain and The transaction behavior becomes valid after passing the verification of all user terminals.

一种区块链网络,包括多个上述区块链;多个所述区块链之间通过所述用户终端建立连接。A block chain network, including a plurality of the above block chains; the connection between the plurality of block chains is established through the user terminal.

一种区块链中行为有效性验证方法,应用于上述区块链,该方法包括:A method for verifying the validity of behaviors in a blockchain is applied to the above-mentioned blockchain, and the method includes:

获取所述区块链中与所述行为相关的用户终端广播的所述行为的信息;所述行为具体为入链行为、出链行为或交易行为;Obtaining the information of the behavior broadcast by the user terminal related to the behavior in the blockchain; the behavior is specifically a chain-in behavior, a chain-out behavior or a transaction behavior;

生成时间块,将所述行为的信息记录到所述时间块中;generating a time block, and recording the information of the behavior into the time block;

利用共识机制对所述行为的信息进行验证,得到验证结果;所述共识机制为区块链中的所有用户终端共同对所述行为的信息进行验证的机制;Using a consensus mechanism to verify the information of the behavior to obtain a verification result; the consensus mechanism is a mechanism for all user terminals in the block chain to jointly verify the information of the behavior;

当所述验证结果表示行为有效时,将所述行为记录为有效行为;当所述验证结果表示行为无效时,将所述行为记录为无效行为。When the verification result indicates that the behavior is valid, the behavior is recorded as a valid behavior; when the verification result indicates that the behavior is invalid, the behavior is recorded as an invalid behavior.

可选的,所述利用共识机制对所述行为的信息进行验证,得到验证结果,具体包括:Optionally, the use of a consensus mechanism to verify the information of the behavior to obtain a verification result specifically includes:

判断在自身验证结束之前是否接收到区块链中的用户终端发送的初步外部验证结果,得到第一判断结果;所述初步外部验证结果为所述区块链中第一个完成自身验证的用户终端发送的验证结果;Judging whether the preliminary external verification result sent by the user terminal in the block chain is received before the end of the self-verification, and the first judgment result is obtained; the preliminary external verification result is the first user in the block chain to complete self-verification The verification result sent by the terminal;

当所述第一判断结果表示接收到所述初步外部验证结果时,结束自身验证并将所述外部验证结果确定为最终验证结果;When the first judgment result indicates that the preliminary external verification result is received, the self-verification is ended and the external verification result is determined as the final verification result;

当所述第一判断结果表示未接收到所述初步外部验证结果时,将自身验证结果确定为最终验证结果,并将自身验证结果广播至所述区块链中使各个用户终端保存所述最终验证结果。When the first judgment result indicates that the preliminary external verification result has not been received, the self verification result is determined as the final verification result, and the self verification result is broadcast to the block chain so that each user terminal saves the final verification result. Validation results.

可选的,所述利用共识机制对所述行为的信息进行验证,得到验证结果,具体包括:Optionally, the use of a consensus mechanism to verify the information of the behavior to obtain a verification result specifically includes:

判断在自身验证结束之前是否接收到区块链中的用户终端发送的行为无效验证结果,得到第二判断结果;所述行为无效验证结果为确定所述行为为无效行为的验证结果;Judging whether the invalid behavior verification result sent by the user terminal in the block chain is received before the end of self-verification, to obtain a second judgment result; the invalid behavior verification result is a verification result for determining that the behavior is an invalid behavior;

当所述第二判断结果表示接收到所述行为无效验证结果时,将所述行为无效验证结果确定为最终验证结果;When the second judgment result indicates that the invalid behavior verification result is received, determining the invalid behavior verification result as the final verification result;

当所述第二判断结果表示未接收到所述行为无效验证结果时,完成自身验证,得到自身验证结果,并将所述自身验证结果广播至所述区块链中。When the second judgment result indicates that the behavior invalidity verification result has not been received, the self-verification is completed, a self-verification result is obtained, and the self-verification result is broadcast to the block chain.

可选的,在所述当所述第二判断结果表示未接收到所述行为无效验证结果时,完成自身验证,得到自身验证结果,并将所述自身验证结果广播至所述区块链中之后,还包括:Optionally, when the second judgment result indicates that the invalid behavior verification result has not been received, the self-verification is completed, the self-verification result is obtained, and the self-verification result is broadcast to the block chain After that, also include:

判断所述自身验证结果是否表示所述行为无效,得到第三判断结果;judging whether the self-verification result indicates that the behavior is invalid, and obtaining a third judgment result;

当所述第三判断结果表示所述行为无效时,将所述自身验证结果确定为最终验证结果;When the third judgment result indicates that the behavior is invalid, determining the self-verification result as the final verification result;

当所述第三判断结果表示所述行为有效时,判断所述区块链中是否还存在未完成自身验证的用户终端,得到第四验证结果;When the third judging result indicates that the behavior is valid, judging whether there are still user terminals in the block chain that have not completed self-verification, and obtaining a fourth verification result;

当所述第四验证结果表示不存在未完成自身验证的用户终端时,将所述自身验证结果确定为最终验证结果;When the fourth verification result indicates that there is no user terminal that has not completed self-verification, determining the self-verification result as the final verification result;

当所述第四验证结果表示存在未完成自身验证的用户终端时,等待所述未完成自身验证的用户终端完成自身验证,得到后期外部验证结果;When the fourth verification result indicates that there is a user terminal that has not completed self-verification, wait for the user terminal that has not completed self-verification to complete self-verification, and obtain a later external verification result;

判断所述后期外部验证结果中是否存在确定所述行为无效的验证结果,得到第五判断结果,judging whether there is a verification result determining that the behavior is invalid in the later external verification results, and obtaining a fifth judgment result,

当所述第五判断结果表示存在确定所述行为无效的验证结果时,将确定所述行为无效的验证结果确定为最终验证结果;When the fifth judgment result indicates that there is a verification result for determining that the behavior is invalid, determine the verification result for determining that the behavior is invalid as the final verification result;

当所述第五判断结果表示不存在确定所述行为无效的验证结果时,将所述自身验证结果确定为最终验证结果。When the fifth judgment result indicates that there is no verification result for determining that the behavior is invalid, the self verification result is determined as the final verification result.

一种区块链中行为有效性验证系统,系统包括:A behavioral validity verification system in a blockchain, the system includes:

行为信息获取模块,用于获取所述区块链中与所述行为相关的用户终端广播的所述行为的信息;所述行为具体为入链行为、出链行为或交易行为;A behavior information acquisition module, configured to acquire the information of the behavior broadcast by the user terminal related to the behavior in the block chain; the behavior is specifically a chain-in behavior, a chain-out behavior or a transaction behavior;

时间块生成模块,用于生成时间块,将所述行为的信息记录到所述时间块中;A time block generating module, configured to generate a time block, and record the information of the behavior into the time block;

验证模块,用于利用共识机制对所述行为的信息进行验证,得到验证结果;所述共识机制为区块链中的所有用户终端共同对所述行为的信息进行验证的机制;The verification module is used to verify the information of the behavior by using a consensus mechanism to obtain a verification result; the consensus mechanism is a mechanism for all user terminals in the block chain to jointly verify the information of the behavior;

行为记录模块,用于当所述验证结果表示行为有效时,将所述行为记录为有效行为;当所述验证结果表示行为无效时,将所述行为记录为无效行为。A behavior recording module, configured to record the behavior as a valid behavior when the verification result indicates that the behavior is valid; and record the behavior as an invalid behavior when the verification result indicates that the behavior is invalid.

可选的,所述验证模块,具体包括:Optionally, the verification module specifically includes:

第一判断模块,用于判断在自身验证结束之前是否接收到区块链中的用户终端发送的初步外部验证结果,得到第一判断结果;所述初步外部验证结果为所述区块链中第一个完成自身验证的用户终端发送的验证结果;The first judging module is used to judge whether to receive the preliminary external verification result sent by the user terminal in the block chain before the end of self-verification, and obtain the first judgment result; the preliminary external verification result is the first in the block chain A verification result sent by a user terminal that has completed its own verification;

第一执行模块,用于当所述第一判断结果表示接收到所述初步外部验证结果时,结束自身验证并将所述外部验证结果确定为最终验证结果;A first execution module, configured to end self-verification and determine the external verification result as the final verification result when the first judgment result indicates that the preliminary external verification result is received;

第二执行模块,用于当所述第一判断结果表示未接收到所述初步外部验证结果时,将自身验证结果确定为最终验证结果,并将自身验证结果广播至所述区块链中使各个用户终端保存所述最终验证结果。The second execution module is used to determine the self-verification result as the final verification result when the first judgment result indicates that the preliminary external verification result has not been received, and broadcast the self-verification result to the block chain for use Each user terminal saves the final verification result.

可选的,所述验证模块,具体包括:Optionally, the verification module specifically includes:

第二判断模块,用于判断在自身验证结束之前是否接收到区块链中的用户终端发送的行为无效验证结果,得到第二判断结果;所述行为无效验证结果为确定所述行为为无效行为的验证结果;The second judging module is used to judge whether the invalid behavior verification result sent by the user terminal in the block chain is received before the end of self-verification, and obtain the second judgment result; the invalid behavior verification result is to determine that the behavior is an invalid behavior verification results;

第三执行模块,用于当所述第二判断结果表示接收到所述行为无效验证结果时,将所述行为无效验证结果确定为最终验证结果;A third execution module, configured to determine the invalid behavior verification result as the final verification result when the second judgment result indicates that the behavior invalid verification result is received;

第四执行模块,用于当所述第二判断结果表示未接收到所述行为无效验证结果时,完成自身验证,得到自身验证结果,并将所述自身验证结果广播至所述区块链中。The fourth execution module is used to complete the self-verification to obtain the self-verification result and broadcast the self-verification result to the block chain when the second judgment result indicates that the behavior invalid verification result has not been received .

可选的,该系统还包括:Optionally, the system also includes:

第三判断模块,用于判断所述自身验证结果是否表示所述行为无效,得到第三判断结果;A third judging module, configured to judge whether the self-verification result indicates that the behavior is invalid, and obtain a third judging result;

第五执行模块,用于当所述第三判断结果表示所述行为无效时,将所述自身验证结果确定为最终验证结果;A fifth execution module, configured to determine the self-verification result as the final verification result when the third judgment result indicates that the behavior is invalid;

第四判断模块,用于当所述第三判断结果表示所述行为有效时,判断所述区块链中是否还存在未完成自身验证的用户终端,得到第四验证结果;A fourth judging module, configured to judge whether there are user terminals in the block chain that have not completed self-verification when the third judging result indicates that the behavior is valid, and obtain a fourth verification result;

第六执行模块,用于当所述第四验证结果表示不存在未完成自身验证的用户终端时,将所述自身验证结果确定为最终验证结果;A sixth execution module, configured to determine the self-verification result as the final verification result when the fourth verification result indicates that there is no user terminal that has not completed self-verification;

第七执行模块,用于当所述第四验证结果表示存在未完成自身验证的用户终端时,等待所述未完成自身验证的用户终端完成自身验证,得到后期外部验证结果;The seventh execution module is configured to wait for the user terminal that has not completed self-verification to complete self-verification when the fourth verification result indicates that there is a user terminal that has not completed self-verification, and obtain a later external verification result;

第五判断模块,用于判断所述后期外部验证结果中是否存在确定所述行为无效的验证结果,得到第五判断结果;The fifth judging module is used to judge whether there is a verification result that determines that the behavior is invalid in the later external verification results, and obtain the fifth judgment result;

第八执行模块,用于当所述第五判断结果表示存在确定所述行为无效的验证结果时,将确定所述行为无效的验证结果确定为最终验证结果;An eighth execution module, configured to determine the verification result for determining that the behavior is invalid as the final verification result when the fifth judgment result indicates that there is a verification result for determining that the behavior is invalid;

第九执行模块,用于当所述第五判断结果表示不存在确定所述行为无效的验证结果时,将所述自身验证结果确定为最终验证结果。A ninth execution module, configured to determine the self-verification result as the final verification result when the fifth judgment result indicates that there is no verification result for determining that the behavior is invalid.

根据本发明提供的具体实施例,本发明公开了以下技术效果:本发明公开技术方案,使得每个用户终端的行为都会得到所述区块链中的其他用户终端的验证,并将验证结果广播至所有用户终端,既实现了每个行为得到所有人的验证,保证了行为的安全性,又实现了行为的公开性,有效减少了诈骗行为的发生。According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects: the present invention discloses a technical solution, so that the behavior of each user terminal will be verified by other user terminals in the block chain, and the verification result will be broadcast To all user terminals, each behavior is verified by everyone, ensuring the safety of the behavior, and realizing the openness of the behavior, effectively reducing the occurrence of fraudulent behavior.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1为本发明区块链实施例的区块链结构图;Fig. 1 is the block chain structural diagram of block chain embodiment of the present invention;

图2为本发明区块链实施例的区块结构图;Fig. 2 is a block structure diagram of the block chain embodiment of the present invention;

图3为本发明区块链网络实施例的网络结构图;Fig. 3 is the network structural diagram of the block chain network embodiment of the present invention;

图4为本发明区块链中行为有效性验证方法实施例一的方法流程图;Fig. 4 is the method flowchart of Embodiment 1 of the behavior validity verification method in the block chain of the present invention;

图5为本发明区块链中行为有效性验证方法实施例二的验证过程的方法流程图;Fig. 5 is the method flowchart of the verification process of Embodiment 2 of the behavior validity verification method in the block chain of the present invention;

图6为本发明区块链中行为有效性验证系统实施例的系统结构图。Fig. 6 is a system structure diagram of an embodiment of the behavior validity verification system in the blockchain of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

图1为本发明区块链实施例的区块链结构图。Fig. 1 is a block chain structure diagram of the block chain embodiment of the present invention.

参见图1,该区块链包括多个用户终端1;每个所述用户终端1均对应一个区块;每个所述区块均用于记录与所述区块对应的用户终端1的基础信息、供需信息和社交信息;所述基础信息包括所述用户终端1的基本资料、创建时间、网络标识。所述用户终端1可以为个人终端、企业终端或机构终端。该区块链中各个用户终端1之间为点对点沟通。在所述区块链中,只有与所述区块链中的用户终端1具有社交关系的用户终端1才具有加入所述区块链的权限。所述用户终端1为全息化用户终端。所述用户终端1包括我构件、我的需求构件、我的供给构件和我的空间构件。所述我构件用于生成所述用户终端1的基本资料、创建时间和网络标识;所述我的需求构件用户生成所述用户终端1的需求信息;所述我的供给构件用于生成所述用户终端1的供给信息;所述我的空间构件用于生成所述用户终端1的社交信息。Referring to Fig. 1, the block chain includes a plurality of user terminals 1; each of the user terminals 1 corresponds to a block; each of the blocks is used to record the basis of the user terminal 1 corresponding to the block information, supply and demand information, and social information; the basic information includes the basic information of the user terminal 1, creation time, and network identification. The user terminal 1 may be a personal terminal, an enterprise terminal or an institution terminal. The communication between each user terminal 1 in the block chain is peer-to-peer. In the block chain, only the user terminal 1 having a social relationship with the user terminal 1 in the block chain has the right to join the block chain. The user terminal 1 is a holographic user terminal. The user terminal 1 includes a personal component, a personal demand component, a personal supply component and a personal space component. The I component is used to generate the basic information, creation time and network identification of the user terminal 1; the my demand component generates the demand information of the user terminal 1; the my supply component is used to generate the user terminal 1; The provision information of the user terminal 1 ; the My Space component is used to generate the social information of the user terminal 1 .

图2为本发明区块链实施例的区块结构图。Fig. 2 is a block structure diagram of the block chain embodiment of the present invention.

参见图2,所述区块包括基础信息块2、门户子链3和数据子链4;所述门户子链3和所述数据子链4均与所述基础信息块2相关联;所述基础信息块2用于记录与所述区块对应的用户终端的基础信息;所述门户子链3用于按时间顺序记录与所述区块对应的用户终端的社交用户终端的加入时间、网络标识和智能合约;所述数据子链4用于按时间顺序记录与所述区块对应的用户终端与社交用户终端之间的社交行为;所述社交用户终端为所述区块链中与所述区块对应的用户终端具有社交关系的用户终端;所述社交行为包括出链行为、入链行为和交易行为。Referring to Fig. 2, the block includes a basic information block 2, a portal sub-chain 3 and a data sub-chain 4; the portal sub-chain 3 and the data sub-chain 4 are all associated with the basic information block 2; the The basic information block 2 is used to record the basic information of the user terminal corresponding to the block; the portal sub-chain 3 is used to record in chronological order the joining time of the user terminal corresponding to the block, the social user terminal, the network identification and smart contract; the data sub-chain 4 is used to record the social behavior between the user terminal corresponding to the block and the social user terminal in chronological order; the social user terminal is the The user terminal corresponding to the block has a social relationship; the social behavior includes out-chain behavior, in-chain behavior and transaction behavior.

所述基础信息块2、所述门户子链3和所述数据子链4中的信息加密存储,且访问控制由与所述区块对应的用户终端设定;所述区块链内的出入链行为和交易行为在通过所有用户终端的验证后成为有效行为。The information in the basic information block 2, the portal sub-chain 3 and the data sub-chain 4 is encrypted and stored, and the access control is set by the user terminal corresponding to the block; Chain behaviors and transaction behaviors become valid behaviors after passing the verification of all user terminals.

图3为本发明区块链网络实施例的网络结构图。Fig. 3 is a network structure diagram of an embodiment of the blockchain network of the present invention.

参见图3区块链网络,包括多个上述区块链;多个所述区块链之间通过所述用户终端1建立连接。Referring to Fig. 3, the block chain network includes a plurality of the above-mentioned block chains; a connection is established between the plurality of block chains through the user terminal 1 .

本发明公开的区块链及区块链网络,具有安全性好、信任度高、自主可控和去中心化等优点。(1)安全性好。个人隐私、商业秘密、交易信息通过区块链机制,确保不可否认、不可篡改、加密存储,可以保障信息安全。(2)信任度高。加入区块链的任何个人、企业及政府部门等机构均是经用户终端验证并与其中某个用户终端具有某种商务、政府、社交关系的可信任的个人、企业和机构。(3)自主可控。区块链中的信息加密存储,其访问控制由各个用户终端自主设定。(4)是一种去中心化、去中介化、支持点对点交易、融合商务、政务、社交于一体的网络。The block chain and the block chain network disclosed by the present invention have the advantages of good security, high degree of trust, independent controllability, decentralization, and the like. (1) Good security. Personal privacy, business secrets, and transaction information are stored in an encrypted manner through the blockchain mechanism to ensure undeniable, tamper-proof, and encrypted storage, which can ensure information security. (2) High degree of trust. Any individual, enterprise, or government department that joins the blockchain is a trusted individual, enterprise, or institution that has been verified by the user terminal and has a certain business, government, or social relationship with one of the user terminals. (3) Autonomous and controllable. The information in the blockchain is encrypted and stored, and its access control is independently set by each user terminal. (4) It is a network that is decentralized, disintermediated, supports peer-to-peer transactions, and integrates business, government affairs, and social networking.

图4为本发明区块链中行为有效性验证方法实施例一的方法流程图。Fig. 4 is a method flow chart of Embodiment 1 of the behavior validity verification method in the blockchain of the present invention.

参见图4,该区块链中行为有效性验证方法,包括:See Figure 4, the behavior validity verification method in the blockchain includes:

步骤401:获取所述区块链中与所述行为相关的用户终端广播的所述行为的信息;所述行为具体为入链行为、出链行为或交易行为;Step 401: Obtain the information of the behavior broadcast by the user terminal related to the behavior in the blockchain; the behavior is specifically a chain-in behavior, a chain-out behavior or a transaction behavior;

入链行为:与所述区块链中的某个用户终端具有社交关系的用户终端才能申请加入所述区块链。当某个用户终端需要加入所述区块链中时,该需加入区块链的用户终端首先要向区块链中与该需加入区块链的用户终端具有社交关系的用户终端提出加入申请,然后与该需加入区块链的用户终端具有社交关系的用户终端对该需加入区块链的用户终端的信息进行初步验证,验证包括对基础信息和社交信息的验证。验证通过后邀请该需加入区块链的用户终端加入区块链,并通过P2P网络将入链信息广播至区块链中的所有用户终端,此时即获取到需加入区块链的用户终端的行为信息。Behavior of entering the chain: only the user terminal that has a social relationship with a certain user terminal in the blockchain can apply to join the blockchain. When a user terminal needs to join the blockchain, the user terminal that needs to join the blockchain must first apply to the user terminal in the blockchain that has a social relationship with the user terminal that needs to join the blockchain. , and then the user terminal that has a social relationship with the user terminal that needs to join the blockchain performs preliminary verification of the information of the user terminal that needs to join the blockchain, and the verification includes verification of basic information and social information. After the verification is passed, the user terminal that needs to join the blockchain is invited to join the blockchain, and the chain entry information is broadcast to all user terminals in the blockchain through the P2P network, and the user terminal that needs to join the blockchain is obtained at this time behavioral information.

出链行为:当某个用户终端需要出链时,该需出链用户终端需要提出出链申请,并利用P2P网络将出链信息广播至区块链中的所有用户终端,此时即获取到需出链用户终端的行为信息。Out-of-chain behavior: When a user terminal needs to go out of the chain, the user terminal that needs to go out of the chain needs to submit an application for going out of the chain, and use the P2P network to broadcast the out-of-chain information to all user terminals in the blockchain. Behavior information of the outlink user terminal is required.

交易行为:当区块链中任意两个用户终端需要进行交易时,两个需交易用户终端将交易信息利用P2P网络广播至区块链中的所有用户终端,此时即获取到需交易用户的行为信息。Transaction behavior: When any two user terminals in the blockchain need to conduct a transaction, the two user terminals that need to trade will use the P2P network to broadcast the transaction information to all user terminals in the blockchain. behavioral information.

步骤402:生成时间块,将所述行为的信息记录到所述时间块中。Step 402: Generate a time block, and record the behavior information into the time block.

该步骤主要是利用哈希算法将行为的信息记录到所述时间块中。哈希算法本身带有加密的性质,从而进一步保证了区块链中信息的安全性。This step is mainly to use the hash algorithm to record the behavior information into the time block. The hash algorithm itself has an encrypted nature, which further ensures the security of information in the blockchain.

步骤403:利用共识机制对所述行为的信息进行验证,得到验证结果;所述共识机制为区块链中的所有用户终端共同对所述行为的信息进行验证的机制;该步骤具体包括:Step 403: Use a consensus mechanism to verify the information of the behavior to obtain a verification result; the consensus mechanism is a mechanism for all user terminals in the blockchain to jointly verify the information of the behavior; this step specifically includes:

判断在自身验证结束之前是否接收到区块链中的用户终端发送的初步外部验证结果,得到第一判断结果;所述初步外部验证结果为所述区块链中第一个完成自身验证的用户终端发送的验证结果;Judging whether the preliminary external verification result sent by the user terminal in the block chain is received before the end of the self-verification, and the first judgment result is obtained; the preliminary external verification result is the first user in the block chain to complete self-verification The verification result sent by the terminal;

当所述第一判断结果表示接收到所述初步外部验证结果时,结束自身验证并将所述外部验证结果确定为最终验证结果;When the first judgment result indicates that the preliminary external verification result is received, the self-verification is ended and the external verification result is determined as the final verification result;

当所述第一判断结果表示未接收到所述初步外部验证结果时,将自身验证结果作为最终验证结果,并将自身验证结果广播至所述区块链中使各个用户终端保存所述最终验证结果。When the first judgment result indicates that the preliminary external verification result has not been received, the self verification result is taken as the final verification result, and the self verification result is broadcast to the block chain so that each user terminal saves the final verification result result.

步骤404:当所述验证结果表示行为有效时,将所述行为记录为有效行为;当所述验证结果表示行为无效时,将所述行为记录为无效行为。Step 404: When the verification result indicates that the behavior is valid, record the behavior as a valid behavior; when the verification result indicates that the behavior is invalid, record the behavior as an invalid behavior.

本发明还公开了区块链中行为有效性验证方法实施例二,该实施例二与实施例一的区别仅仅在于步骤403验证过程的具体步骤不同。The present invention also discloses the second embodiment of the behavior validity verification method in the block chain. The difference between the second embodiment and the first embodiment is only that the specific steps of the verification process in step 403 are different.

图5为本发明区块链中行为有效性验证方法实施例二的验证过程的方法流程图。Fig. 5 is a method flowchart of the verification process of Embodiment 2 of the behavior validity verification method in the blockchain of the present invention.

参见图5,该验证过程具体包括:Referring to Figure 5, the verification process specifically includes:

步骤501:判断在自身验证结束之前是否接收到区块链中的用户终端发送的行为无效验证结果,得到第二判断结果;所述行为无效验证结果为确定所述行为为无效行为的验证结果;Step 501: Judging whether an invalid behavior verification result sent by the user terminal in the blockchain is received before the self-verification ends, and obtaining a second judgment result; the invalid behavior verification result is a verification result for determining that the behavior is an invalid behavior;

步骤502:当所述第二判断结果表示接收到所述行为无效验证结果时,将所述行为无效验证结果确定为最终验证结果;Step 502: When the second judgment result indicates that the invalid behavior verification result is received, determine the invalid behavior verification result as the final verification result;

步骤503:当所述第二判断结果表示未接收到所述行为无效验证结果时,完成自身验证,得到自身验证结果,并将所述自身验证结果广播至所述区块链中;Step 503: When the second judgment result indicates that the behavior invalid verification result has not been received, complete the self-verification, obtain the self-verification result, and broadcast the self-verification result to the blockchain;

步骤504:判断所述自身验证结果是否表示所述行为无效,得到第三判断结果;Step 504: Judging whether the self-verification result indicates that the behavior is invalid, and obtaining a third judgment result;

步骤505:当所述第三判断结果表示所述行为无效时,将所述自身验证结果确定为最终验证结果;Step 505: When the third judgment result indicates that the behavior is invalid, determine the self-verification result as the final verification result;

步骤506:当所述第三判断结果表示所述行为有效时,判断所述区块链中是否还存在未完成自身验证的用户终端,得到第四验证结果;Step 506: When the third judgment result indicates that the behavior is valid, judge whether there are user terminals in the block chain that have not completed their own verification, and obtain a fourth verification result;

步骤507:当所述第四验证结果表示不存在未完成自身验证的用户终端时,将所述自身验证结果确定为最终验证结果;Step 507: When the fourth verification result indicates that there is no user terminal that has not completed self-verification, determine the self-verification result as the final verification result;

步骤508:当所述第四验证结果表示存在未完成自身验证的用户终端时,等待所述未完成自身验证的用户终端完成自身验证,得到后期外部验证结果;Step 508: When the fourth verification result indicates that there are user terminals that have not completed self-verification, wait for the user terminals that have not completed self-verification to complete self-verification, and obtain a later external verification result;

步骤509:判断所述后期外部验证结果中是否存在确定所述行为无效的验证结果,得到第五判断结果;Step 509: Judging whether there is a verification result determining that the behavior is invalid in the later external verification results, and obtaining a fifth judgment result;

步骤510:当所述第五判断结果表示存在确定所述行为无效的验证结果时,将确定所述行为无效的验证结果确定为最终验证结果;Step 510: When the fifth judgment result indicates that there is a verification result for determining that the behavior is invalid, determine the verification result for determining that the behavior is invalid as the final verification result;

步骤511:当所述第五判断结果表示不存在确定所述行为无效的验证结果时,将所述自身验证结果确定为最终验证结果。Step 511: When the fifth judgment result indicates that there is no verification result for determining that the behavior is invalid, determine the self-verification result as the final verification result.

图6为本发明区块链中行为有效性验证系统实施例的系统结构图。Fig. 6 is a system structure diagram of an embodiment of the behavior validity verification system in the blockchain of the present invention.

参见图6,该区块链中行为有效性验证系统包括:See Figure 6, the behavior validity verification system in the blockchain includes:

行为信息获取模块601,用于获取所述区块链中与所述行为相关的用户终端广播的所述行为的信息;所述行为具体为入链行为、出链行为或交易行为;The behavior information acquisition module 601 is used to acquire the information of the behavior broadcast by the user terminal related to the behavior in the block chain; the behavior is specifically a chain-in behavior, a chain-out behavior or a transaction behavior;

时间块生成模块602,用于生成时间块,将所述行为的信息记录到所述时间块中;A time block generation module 602, configured to generate a time block, and record the information of the behavior into the time block;

验证模块603,用于利用共识机制对所述行为的信息进行验证,得到验证结果;所述共识机制为区块链中的所有用户终端共同对所述行为的信息进行验证的机制;The verification module 603 is configured to use a consensus mechanism to verify the information of the behavior to obtain a verification result; the consensus mechanism is a mechanism for all user terminals in the block chain to jointly verify the information of the behavior;

行为记录模块604,用于当所述验证结果表示行为有效时,将所述行为记录为有效行为;当所述验证结果表示行为无效时,将所述行为记录为无效行为。The behavior recording module 604 is configured to record the behavior as a valid behavior when the verification result indicates that the behavior is valid; and record the behavior as an invalid behavior when the verification result indicates that the behavior is invalid.

作为本发明的区块链中行为有效性验证系统的一个实施例,所述验证模块603,具体包括:As an embodiment of the behavior validity verification system in the blockchain of the present invention, the verification module 603 specifically includes:

第一判断模块,用于判断在自身验证结束之前是否接收到区块链中的用户终端发送的初步外部验证结果,得到第一判断结果;所述初步外部验证结果为所述区块链中第一个完成自身验证的用户终端发送的验证结果;The first judging module is used to judge whether to receive the preliminary external verification result sent by the user terminal in the block chain before the end of self-verification, and obtain the first judgment result; the preliminary external verification result is the first in the block chain A verification result sent by a user terminal that has completed its own verification;

第一执行模块,用于当所述第一判断结果表示接收到所述初步外部验证结果时,结束自身验证并将所述外部验证结果确定为最终验证结果;A first execution module, configured to end self-verification and determine the external verification result as the final verification result when the first judgment result indicates that the preliminary external verification result is received;

第二执行模块,用于当所述第一判断结果表示未接收到所述初步外部验证结果时,将自身验证结果确定为最终验证结果,并将自身验证结果广播至所述区块链中使各个用户终端保存所述最终验证结果。The second execution module is used to determine the self-verification result as the final verification result when the first judgment result indicates that the preliminary external verification result has not been received, and broadcast the self-verification result to the block chain for use Each user terminal saves the final verification result.

作为本发明的区块链中行为有效性验证系统的另一个实施例,所述验证模块603,具体包括:As another embodiment of the behavior validity verification system in the blockchain of the present invention, the verification module 603 specifically includes:

第二判断模块,用于判断在自身验证结束之前是否接收到区块链中的用户终端发送的行为无效验证结果,得到第二判断结果;所述行为无效验证结果为确定所述行为为无效行为的验证结果;The second judging module is used to judge whether the invalid behavior verification result sent by the user terminal in the block chain is received before the end of self-verification, and obtain the second judgment result; the invalid behavior verification result is to determine that the behavior is an invalid behavior verification results;

第三执行模块,用于当所述第二判断结果表示接收到所述行为无效验证结果时,将所述行为无效验证结果确定为最终验证结果;A third execution module, configured to determine the invalid behavior verification result as the final verification result when the second judgment result indicates that the behavior invalid verification result is received;

第四执行模块,用于当所述第二判断结果表示未接收到所述行为无效验证结果时,完成自身验证,得到自身验证结果,并将所述自身验证结果广播至所述区块链中;The fourth execution module is used to complete the self-verification to obtain the self-verification result and broadcast the self-verification result to the block chain when the second judgment result indicates that the behavior invalid verification result has not been received ;

第三判断模块,用于判断所述自身验证结果是否表示所述行为无效,得到第三判断结果;A third judging module, configured to judge whether the self-verification result indicates that the behavior is invalid, and obtain a third judging result;

第五执行模块,用于当所述第三判断结果表示所述行为无效时,将所述自身验证结果确定为最终验证结果;A fifth execution module, configured to determine the self-verification result as the final verification result when the third judgment result indicates that the behavior is invalid;

第四判断模块,用于当所述第三判断结果表示所述行为有效时,判断所述区块链中是否还存在未完成自身验证的用户终端,得到第四验证结果;A fourth judging module, configured to judge whether there are user terminals in the block chain that have not completed self-verification when the third judging result indicates that the behavior is valid, and obtain a fourth verification result;

第六执行模块,用于当所述第四验证结果表示不存在未完成自身验证的用户终端时,将所述自身验证结果确定为最终验证结果;A sixth execution module, configured to determine the self-verification result as the final verification result when the fourth verification result indicates that there is no user terminal that has not completed self-verification;

第七执行模块,用于当所述第四验证结果表示存在未完成自身验证的用户终端时,等待所述未完成自身验证的用户终端完成自身验证,得到后期外部验证结果;The seventh execution module is configured to wait for the user terminal that has not completed self-verification to complete self-verification when the fourth verification result indicates that there is a user terminal that has not completed self-verification, and obtain a later external verification result;

第五判断模块,用于判断所述后期外部验证结果中是否存在确定所述行为无效的验证结果,得到第五判断结果,The fifth judging module is used to judge whether there is a verification result that determines that the behavior is invalid in the later external verification results, and obtain the fifth judgment result,

第八执行模块,用于当所述第五判断结果表示存在确定所述行为无效的验证结果时,将确定所述行为无效的验证结果确定为最终验证结果;An eighth execution module, configured to determine the verification result for determining that the behavior is invalid as the final verification result when the fifth judgment result indicates that there is a verification result for determining that the behavior is invalid;

第九执行模块,用于当所述第五判断结果表示不存在确定所述行为无效的验证结果时,将所述自身验证结果确定为最终验证结果。A ninth execution module, configured to determine the self-verification result as the final verification result when the fifth judgment result indicates that there is no verification result for determining that the behavior is invalid.

本发明的技术方案具有以下技术效果:The technical solution of the present invention has the following technical effects:

1)区块链以不可否认、不可篡改、加密存储的特点,保证用户身份等个人隐私信息、企业商业秘密信息、交易信息等安全可信、不可泄露;1) With the characteristics of non-repudiation, non-tampering, and encrypted storage, the blockchain ensures that personal privacy information such as user identity, corporate business secret information, transaction information, etc. are safe, credible, and cannot be disclosed;

2)只有通过全息化用户终端验证、与区块链中的用户终端具有某种商务、政务、社交关系的可信任的个人、企业和机构,才能加入该区块链,该机制杜绝了交易或交往的相关方之间欺诈行为,提高交易或交往的可信度;2) Only trusted individuals, enterprises and institutions that have passed the holographic user terminal verification and have certain business, government affairs, and social relations with the user terminal in the blockchain can join the blockchain. This mechanism eliminates transactions or Fraudulent activities between related parties to improve the credibility of transactions or exchanges;

3)数据子链按时间序列记录该用户终端与社交用户终端间一切相关的商务、政务和社交信息,该机制确保纠纷处理电子信息取证简单,提高处理效率;3) The data sub-chain records all relevant business, government and social information between the user terminal and the social user terminal in time series. This mechanism ensures that the electronic information collection of disputes is simple and improves the processing efficiency;

4)用户信息由其所在的区块链进行加密存储,其访问自主可控。4) User information is encrypted and stored by the blockchain where it is located, and its access is autonomous and controllable.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part.

本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; meanwhile, for those of ordinary skill in the art, according to the present invention Thoughts, there will be changes in specific implementation methods and application ranges. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (10)

1. a kind of block chain, it is characterised in that including multiple user terminals;Each user terminal corresponds to a block; Each block is used to record Back ground Information, supply and demand information and the social information of user terminal corresponding with the block;
The block includes Back ground Information block, door subchain and data subchain;The door subchain and the data subchain with The Back ground Information block is associated;The Back ground Information block is used for the basis letter for recording user terminal corresponding with the block Breath;The door subchain is used for the addition for recording the social user terminal of user terminal corresponding with the block in chronological order Time, network identity and intelligent contract;The data subchain is used to record user's end corresponding with the block in chronological order Social behaviors between end and social user terminal;The social user terminal is corresponding with the block in the block chain User terminal has the user terminal of social networks;
In the Back ground Information block, the door subchain and the data subchain information encryption storage, and access control by with User terminal corresponding to the block is set;The behavior of discrepancy chain and trading activity in the block chain is whole by all users Turn into vaild act after the checking at end.
2. a kind of block chain network, it is characterised in that including multiple block chains as claimed in claim 1;Multiple blocks Established and connected by the user terminal between chain.
3. a kind of behavior validation verification method in block chain, applied to block chain as claimed in claim 1, its feature exists In this method includes:
Obtain the information of the behavior of user terminal broadcast related to the behavior in the block chain;The behavior is specific To enter chain behavior, going out chain behavior or trading activity;
Time block is generated, by the information record of the behavior into the time block;
The information of the behavior is verified using common recognition mechanism, is verified result;The common recognition mechanism is in block chain The mechanism verified jointly to the information of the behavior of all user terminals;
It is vaild act by the behavior record when the result represents that behavior is effective;When the result represents It is ineffective act by the behavior record when behavior is invalid.
4. behavior validation verification method in a kind of block chain according to claim 3, it is characterised in that described using altogether Knowledge mechanism is verified to the information of the behavior, is verified result, is specifically included:
Judge the preliminary external certificate result that the user terminal in block chain whether is received before own verification terminates is sent, Obtain the first judged result;The preliminary external certificate result is that the user of first completion own verification in the block chain is whole Hold the result sent;
When first judged result represents to receive the preliminary external certificate result, end own verification simultaneously will be described outer Portion's the result is defined as final the result;
When first judged result represents not receiving the preliminary external certificate result, own verification result is defined as Final the result, and own verification result, which is broadcasted into the block chain, makes each user terminal preserve the final checking As a result.
5. behavior validation verification method in a kind of block chain according to claim 3, it is characterised in that described using altogether Knowledge mechanism is verified to the information of the behavior, is verified result, is specifically included:
Judge the behavior invalid authentication result that the user terminal in block chain whether is received before own verification terminates is sent, Obtain the second judged result;The behavior invalid authentication result is the result that the determination behavior is ineffective act;
When second judged result represents to receive the behavior invalid authentication result, by the behavior invalid authentication result It is defined as final the result;
When second judged result represents not receiving the behavior invalid authentication result, own verification is completed, is obtained certainly Body the result, and the own verification result is broadcasted into the block chain.
6. behavior validation verification method in a kind of block chain according to claim 5, it is characterised in that work as institute described State the second judged result to represent when not receiving the behavior invalid authentication result, complete own verification, obtain own verification knot Fruit, and after the own verification result is broadcasted into the block chain, in addition to:
Judge that the own verification result indicates whether that the behavior is invalid, obtain the 3rd judged result;
When the 3rd judged result represents that the behavior is invalid, the own verification result is defined as final checking knot Fruit;
When the 3rd judged result represents that the behavior is effective, judge whether also presence does not complete itself in the block chain The user terminal of checking, obtain the 4th the result;
When the 4th the result represents to be not present the user terminal for not completing own verification, by the own verification result It is defined as final the result;
When the 4th the result represents to exist the user terminal for not completing own verification, described do not complete is waited itself to test The user terminal of card completes own verification, obtains later stage external certificate result;
Judge the result invalid with the presence or absence of the behavior is determined in the later stage external certificate result, obtain the 5th judgement As a result,
When the 5th judged result is represented in the presence of the invalid the result of the determination behavior, it will determine that the behavior is invalid The result be defined as final the result;
When the 5th judged result is represented in the absence of the invalid the result of the determination behavior, by the own verification knot Fruit is defined as final the result.
A kind of 7. behavior validation verification system in block chain, it is characterised in that including:
Behavioural information acquisition module, for obtaining the row of user terminal broadcast related to the behavior in the block chain For information;The behavior is specially into chain behavior, goes out chain behavior or trading activity;
Time block generation module, for generating time block, by the information record of the behavior into the time block;
Authentication module, for being verified using common recognition mechanism to the information of the behavior, it is verified result;The common recognition machine The mechanism that all user terminals being made as in block chain are verified to the information of the behavior jointly;
Behavior record module, for being vaild act by the behavior record when the result represents that behavior is effective;When It is ineffective act by the behavior record when the result represents that behavior is invalid.
8. behavior validation verification system in a kind of block chain according to claim 7, it is characterised in that the checking mould Block, specifically include:
First judge module, for judging the transmission of the user terminal in block chain whether is received before own verification terminates Preliminary external certificate result, obtains the first judged result;The preliminary external certificate result is complete for first in the block chain The result sent into the user terminal of own verification;
First execution module, for when first judged result represents to receive the preliminary external certificate result, terminating The external certificate result is simultaneously defined as final the result by own verification;
Second execution module, for when first judged result represents not receiving the preliminary external certificate result, inciting somebody to action Own verification result is defined as final the result, and own verification result, which is broadcasted into the block chain, makes each user whole End preserves the final the result.
9. behavior validation verification system in a kind of block chain according to claim 7, it is characterised in that the checking mould Block, specifically include:
Second judge module, for judging the transmission of the user terminal in block chain whether is received before own verification terminates Behavior invalid authentication result, obtains the second judged result;The behavior invalid authentication result is to determine that the behavior is inactive line For the result;
3rd execution module, for when second judged result represent receive the behavior invalid authentication result when, by institute State behavior invalid authentication result and be defined as final the result;
4th execution module, for when second judged result represent do not receive the behavior invalid authentication result when, it is complete Into own verification, own verification result is obtained, and the own verification result is broadcasted into the block chain.
10. behavior validation verification system in a kind of block chain according to claim 9, it is characterised in that also include:
3rd judge module, for judging that the own verification result indicates whether that the behavior is invalid, obtain the 3rd judgement knot Fruit;
5th execution module, for when the 3rd judged result represents that the behavior is invalid, by the own verification result It is defined as final the result;
4th judge module, it is in the block chain for when the 3rd judged result represents that the behavior is effective, judging It is no the user terminal for not completing own verification to be also present, obtain the 4th the result;
6th execution module, for when the 4th the result represent be not present do not complete own verification user terminal when, The own verification result is defined as final the result;
7th execution module, for when the 4th the result represent exist do not complete own verification user terminal when, etc. Treat that the user terminal of the unfinished own verification completes own verification, obtain later stage external certificate result;
5th judge module, for judging checking invalid with the presence or absence of the behavior is determined in the later stage external certificate result As a result, the 5th judged result is obtained;
8th execution module, for when the 5th judged result represent to exist determine the behavior invalid the result when, The behavior being determined, invalid the result is defined as final the result;
9th execution module, for when the 5th judged result representing that the result for determining that the behavior is invalid is not present When, the own verification result is defined as final the result.
CN201711327624.4A 2017-12-13 2017-12-13 A kind of block chain network and behavior validation verification method and system Pending CN107819792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711327624.4A CN107819792A (en) 2017-12-13 2017-12-13 A kind of block chain network and behavior validation verification method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711327624.4A CN107819792A (en) 2017-12-13 2017-12-13 A kind of block chain network and behavior validation verification method and system

Publications (1)

Publication Number Publication Date
CN107819792A true CN107819792A (en) 2018-03-20

Family

ID=61605573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711327624.4A Pending CN107819792A (en) 2017-12-13 2017-12-13 A kind of block chain network and behavior validation verification method and system

Country Status (1)

Country Link
CN (1) CN107819792A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510251A (en) * 2018-03-30 2018-09-07 上海分赋信息科技有限公司 A variety of trigger mechanisms are built based on external data to execute the method and system of intelligent contract in block chain network
CN109213806A (en) * 2018-09-12 2019-01-15 北京英视睿达科技有限公司 Pollutant discharge of enterprise data processing method and system based on block chain
CN113811910A (en) * 2019-05-31 2021-12-17 Mts株式会社 Blockchain-Based Behavioral Information Proof Method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160267605A1 (en) * 2015-03-13 2016-09-15 Gyft, Inc. System and method for establishing a public ledger for gift card transactions
CN106656974A (en) * 2016-10-17 2017-05-10 江苏通付盾科技有限公司 Block chain grouping consensus method and system
US20170131988A1 (en) * 2015-11-10 2017-05-11 Wesley John Boudville Capacity and automated de-install of linket mobile apps with deep links
CN107360001A (en) * 2017-07-26 2017-11-17 阿里巴巴集团控股有限公司 A kind of digital certificate management method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160267605A1 (en) * 2015-03-13 2016-09-15 Gyft, Inc. System and method for establishing a public ledger for gift card transactions
US20170131988A1 (en) * 2015-11-10 2017-05-11 Wesley John Boudville Capacity and automated de-install of linket mobile apps with deep links
CN106656974A (en) * 2016-10-17 2017-05-10 江苏通付盾科技有限公司 Block chain grouping consensus method and system
CN107360001A (en) * 2017-07-26 2017-11-17 阿里巴巴集团控股有限公司 A kind of digital certificate management method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐文剑,吕雯: "《区块链将如何重新定义世界》", 15 June 2016 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108510251A (en) * 2018-03-30 2018-09-07 上海分赋信息科技有限公司 A variety of trigger mechanisms are built based on external data to execute the method and system of intelligent contract in block chain network
WO2019184151A1 (en) * 2018-03-30 2019-10-03 上海分赋信息科技有限公司 External data-based method and system for constructing various triggering mechanisms for executing smart contract in blockchain network
CN109213806A (en) * 2018-09-12 2019-01-15 北京英视睿达科技有限公司 Pollutant discharge of enterprise data processing method and system based on block chain
CN109213806B (en) * 2018-09-12 2023-09-05 国际商业机器(中国)投资有限公司 Blockchain-based enterprise sewage data processing method and system
CN113811910A (en) * 2019-05-31 2021-12-17 Mts株式会社 Blockchain-Based Behavioral Information Proof Method

Similar Documents

Publication Publication Date Title
CN106533696B (en) Identity identifying method, certificate server and user terminal based on block chain
JP7029468B2 (en) Methods and systems for secure data record distribution using blockchain
Alexopoulos et al. Beyond the hype: On using blockchains in trust management for authentication
US20210357915A1 (en) Methods, devices, and systems for secure payments
CN108876374A (en) The network identity certificate authentication method and system of block chain
CN109417549A (en) Method and apparatus for providing proof of information using a centralized or distributed ledger
CN112000744B (en) Signature method and related equipment
CN107609876A (en) A kind of method and system for recovering block chain assets
WO2015100969A1 (en) Software behavior monitoring and verification system
CN113515756B (en) High-credibility digital identity management method and system based on block chain
CN114710362A (en) Identity authentication method and device based on block chain and electronic equipment
CN104349313A (en) Service authorization method, device and system
CN107819792A (en) A kind of block chain network and behavior validation verification method and system
CN111476081A (en) An identity authentication model based on blockchain and face recognition
Raipurkar et al. Digital identity system using blockchain-based self sovereign identity & zero knowledge proof
CN110717162B (en) Block chain multi-factor identity authentication method, system and storage medium
US10867326B2 (en) Reputation system and method
CN112380546A (en) Shared data processing method and device based on block chain three-way separation
CN1972306A (en) Implementation method of secure socket layer protocol secure proxy multiple authentication
CN101350811B (en) Biology authentication method, equipment and system
CN119652603A (en) Internet of things authentication method and system
CN109194487A (en) Construction method and system are traded or communicated to my real name based on block chain
CN115936844A (en) Method, system, terminal equipment and storage medium for applying for approval on public accumulation fund combined loan line based on block chain
CN104361519B (en) A kind of implementation method of social networking service platform and social networking service platform
CN110866069B (en) Identity management metadata processing method and system based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180320

RJ01 Rejection of invention patent application after publication