CN110336816B - 一种使用通信证明作为区块链共识的方法 - Google Patents
一种使用通信证明作为区块链共识的方法 Download PDFInfo
- Publication number
- CN110336816B CN110336816B CN201910603178.8A CN201910603178A CN110336816B CN 110336816 B CN110336816 B CN 110336816B CN 201910603178 A CN201910603178 A CN 201910603178A CN 110336816 B CN110336816 B CN 110336816B
- Authority
- CN
- China
- Prior art keywords
- communication
- block
- hash value
- network
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Development Economics (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种使用通信证明作为区块链共识的方法,本发明的这种共识机制名为通信证明,主要目的是鼓励参与通信网络特别是物联网的用户、设备,为网络运行提供通信服务,从而提高整个网络的效率。共享者也可以通过这种方式获得代币/通证作为奖励。这里的通信服务不是单纯的存储容量、网络流量、计算能力等,而是所有与通信有关服务的集合。
Description
技术领域
本发明涉及区块链技术领域,具体的说是涉及一种使用通信证明作为区块链共识的方法。
背景技术
区块链作为一种按时间顺序存储数据的数据结构,可支持不同的共识机制。共识机制是区块链技术的重要组件。区块链共识机制的目标是使所有的诚实节点保存一致的区块链视图,同时满足两个性质:
1)一致性,所有诚实节点保存的区块链的前缀部分完全相同。
2)有效性,由某诚实节点发布的信息终将被其他所有诚实节点记录在自己的区块链中。
目前常见的共识机制包括工作量证明(Proof of Work)、权益证明机制(PoS)、股份授权证明机制(DPoS)等。本专利旨在提出一种基于通信量的共识机制,即在一定的时间以内,选择通信量最大的终端设备(节点)作为记账权的获得者,即可以“挖矿”,并奖励相应的代币/通证。
发明内容
针对现有技术中的不足,本发明要解决的技术问题在于提供了一种使用通信证明作为区块链共识的方法。
为解决上述技术问题,本发明通过以下方案来实现:一种使用通信证明作为区块链共识的方法,该方法包括以下步骤:
S1,搜索区块链网络中所有通信设备;
S2,选择具有PoT共识机制模块的通信设备;
S3,通过步骤S2中的PoT共识机制模块收集交易信息,并将收集到的交易信息放入一个块中;
S4,所述块中的所有数据,通过一个哈希函数生成一个新的哈希值;
S5,区块链中的挖矿设备以快速更改该块头中的数字,以便尝试找到正确的哈希值;
S6,以该挖矿设备的通信量值作为参数,调节挖矿设备寻找哈希值的速度;
S7,步骤S6中,通信量越大,找到哈希值的速度越快;
S8,第一个找到正确哈希值的挖矿设备将该块广播给网络的其它挖矿设备,其他挖矿设备在处理下一个块之前验证事务。
进一步的,在步骤S4中,所述块中的所有数据包括来自前一个块的散列。
相对于现有技术,本发明的有益效果是:本发明的这种共识机制名为通信证明,主要目的是鼓励参与通信网络特别是物联网的用户、设备,为网络运行提供通信服务,从而提高整个网络的效率。共享者也可以通过这种方式获得代币/通证作为奖励。这里的通信服务不是单纯的存储容量、网络流量、计算能力等,而是所有与通信有关服务的集合。
附图说明
图1为本发明的使用通信证明作为区块链共识的方法的原理框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,使本发明的优点和特征能更易于被本领域技术人员理解,从而对本发明的保护范围做出更为清楚明确的界定。显然,本发明所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在本发明的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。
此外,下面所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
实施例1:
请参照附图1,本发明的一种使用通信证明作为区块链共识的方法,其特征在于,该方法包括以下步骤:
S1,搜索区块链网络中所有通信设备;
S2,选择具有PoT共识机制模块的通信设备;
S3,通过步骤S2中的PoT共识机制模块收集交易信息,并将收集到的交易信息放入一个块中;
S4,所述块中的所有数据,通过一个哈希函数生成一个新的哈希值;哈希值,又称:散列函数(或散列算法,又称哈希函数,英语:HashFunction)是一种从任何一种数据中创建小的数字"指纹"的方法。散列函数把消息或数据压缩成摘要,使得数据量变小,将数据的格式固定下来。该函数将数据打乱混合,重新创建一个叫做散列值(hashvalues,hashcodes,hashsums,或hashes)的指纹。散列值通常用一个短的随机字母和数字组成的字符串来代表。好的散列函数在输入域中很少出现散列冲突。在散列表和数据处理中,不抑制冲突来区别数据,会使得数据库记录更难找到。
S5,区块链中的挖矿设备以快速更改该块头中的数字,以便尝试找到正确的哈希值;
S6,以该挖矿设备的通信量值作为参数,调节挖矿设备寻找哈希值的速度;
S7,步骤S6中,通信量越大,找到哈希值的速度越快;
S8,第一个找到正确哈希值的挖矿设备将该块广播给网络的其它挖矿设备,其他挖矿设备在处理下一个块之前验证事务。
本实施例的一种优选技术方案,在步骤S4中,所述块中的所有数据包括来自前一个块的散列。
本发明的这种共识机制名为通信证明,主要目的是鼓励参与通信网络特别是物联网的用户、设备,为网络运行提供通信服务,从而提高整个网络的效率。共享者也可以通过这种方式获得代币/通证作为奖励。这里的通信服务不是单纯的存储容量、网络流量、计算能力等,而是所有与通信有关服务的集合。
以上所述仅为本发明的优选实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (2)
1.一种使用通信证明作为区块链共识的方法,其特征在于,该方法包括以下步骤:
S1,搜索区块链网络中所有通信设备;
S2,选择具有PoT共识机制模块的通信设备;
S3,通过步骤S2中的PoT共识机制模块收集交易信息,并将收集到的交易信息放入一个块中;
S4,所述块中的所有数据,通过一个哈希函数生成一个新的哈希值;
S5,区块链中的挖矿设备以快速更改该块头中的数字,以便尝试找到正确的哈希值;
S6,以该挖矿设备的通信量值作为参数,调节挖矿设备寻找哈希值的速度;
S7,步骤S6中,通信量越大,找到哈希值的速度越快;
S8,第一个找到正确哈希值的挖矿设备将该块广播给网络的其它挖矿设备,其他挖矿设备在处理下一个块之前验证事务。
2.根据权利要求1所述的一种使用通信证明作为区块链共识的方法,其特征在于步骤S4,所述块中的所有数据包括来自前一个块的散列。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910603178.8A CN110336816B (zh) | 2019-07-05 | 2019-07-05 | 一种使用通信证明作为区块链共识的方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910603178.8A CN110336816B (zh) | 2019-07-05 | 2019-07-05 | 一种使用通信证明作为区块链共识的方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110336816A CN110336816A (zh) | 2019-10-15 |
CN110336816B true CN110336816B (zh) | 2021-08-17 |
Family
ID=68143262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910603178.8A Active CN110336816B (zh) | 2019-07-05 | 2019-07-05 | 一种使用通信证明作为区块链共识的方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110336816B (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106952082A (zh) * | 2017-03-06 | 2017-07-14 | 钱德君 | 一种基于股份证明的量子链共识机制方法 |
CN108494830A (zh) * | 2018-02-27 | 2018-09-04 | 浙江辉宏地理信息有限公司 | 一种采用区块链的物联网 |
CN108989061A (zh) * | 2018-09-14 | 2018-12-11 | 腾讯科技(深圳)有限公司 | 通信系统、方法、服务器及存储介质 |
CN110598060A (zh) * | 2019-09-18 | 2019-12-20 | 广东卓启投资有限责任公司 | 一种区块链快速共识方法、装置、计算机设备和存储介质 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170228706A1 (en) * | 2016-02-08 | 2017-08-10 | Bank Of America Corporation | System for resource accumulation triggering based on amount within an interval |
MX2018010054A (es) * | 2016-02-23 | 2019-01-21 | Nchain Holdings Ltd | Metodo y sistema de tokenizacion para la implementacion de cambios de moneda en una cadena de bloques. |
CN106789908B (zh) * | 2016-11-23 | 2019-09-06 | 江苏通付盾科技有限公司 | 区块链中区块共识建立方法及系统 |
CN106603698A (zh) * | 2016-12-28 | 2017-04-26 | 北京果仁宝科技有限公司 | 基于dpos的区块链共识方法和节点 |
CN107231299A (zh) * | 2017-06-07 | 2017-10-03 | 众安信息技术服务有限公司 | 一种链路由及实现区块链跨链通信的系统 |
CN108521328B (zh) * | 2018-03-26 | 2020-08-28 | 杭州秘猿科技有限公司 | 一种区块链共识方法、装置及电子设备 |
-
2019
- 2019-07-05 CN CN201910603178.8A patent/CN110336816B/zh active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106952082A (zh) * | 2017-03-06 | 2017-07-14 | 钱德君 | 一种基于股份证明的量子链共识机制方法 |
CN108494830A (zh) * | 2018-02-27 | 2018-09-04 | 浙江辉宏地理信息有限公司 | 一种采用区块链的物联网 |
CN108989061A (zh) * | 2018-09-14 | 2018-12-11 | 腾讯科技(深圳)有限公司 | 通信系统、方法、服务器及存储介质 |
CN110598060A (zh) * | 2019-09-18 | 2019-12-20 | 广东卓启投资有限责任公司 | 一种区块链快速共识方法、装置、计算机设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN110336816A (zh) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wu et al. | A lightweight and privacy-preserving mutual authentication scheme for wearable devices assisted by cloud server | |
CN110138560B (zh) | 一种基于标识密码和联盟链的双代理跨域认证方法 | |
EP3697042A1 (en) | Traffic analysis method, public service traffic attribution method and corresponding computer system | |
CN110827028B (zh) | 一种基于区块链的数据采集交易系统和方法 | |
US20130311283A1 (en) | Data mining method for social network of terminal user and related methods, apparatuses and systems | |
US11632255B2 (en) | Method and system for storing and retrieving electronic files using blockchains | |
CA2832722A1 (en) | Data mining method for social network of terminal user and related methods, apparatuses and systems | |
CN110995751B (zh) | 一种基于区块链的大数据智慧医疗养老服务方法及其系统 | |
Sanchez et al. | PANATIKI: a network access control implementation based on PANA for IoT devices | |
US20140149194A1 (en) | Granting of benefits | |
Kapetanidou et al. | Reputation-based trust approaches in named data networking | |
JP2023547716A (ja) | マークル証明エンティティ | |
CN110336816B (zh) | 一种使用通信证明作为区块链共识的方法 | |
US11593833B2 (en) | Method and system for providing electronic universal incentive awards with blockchains | |
Zhao et al. | Authentication technology in internet of things and privacy security issues in typical application scenarios | |
Astorga et al. | Revisiting the feasibility of public key cryptography in light of iiot communications | |
Cao et al. | Wireless blockchain: Principles, technologies and applications | |
Song et al. | Self-sovereign identity and user control for privacy-preserving contact tracing | |
Aghili et al. | Securing heterogeneous wireless sensor networks: Breaking and fixing a three-factor authentication protocol | |
JP6915457B2 (ja) | サイバー攻撃情報処理プログラム、サイバー攻撃情報処理方法および情報処理装置 | |
CN109673011A (zh) | 一种移动终端身份信息关联分析方法及装置 | |
US20230006835A1 (en) | Cross-blockchain identity and key management | |
JP2009031849A (ja) | 電子申請用証明書発行システムおよび電子申請受付システム、並びにそれらの方法およびプログラム | |
Granlund et al. | EAP-Swift: An efficient authentication and key generation mechanism for resource constrained WSNs | |
Wei et al. | An authentication and key agreement mechanism for OPC Unified Architecture in industrial Internet of Things |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211119 Address after: 518000 room 1806, entrepreneurship Park, University Town, Lishan Road, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Patentee after: Shenzhen Lanshu Technology Co.,Ltd. Address before: 518000 room 1401, 14 / F, entrepreneurship Park, University Town, No. 10, Lishan Road, Pingshan community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Patentee before: Shenzhen JiuChain Technology Co.,Ltd. |
|
TR01 | Transfer of patent right |