技术领域technical field
本发明涉及区块链技术,尤其涉及一种区块链系统、区块生成方法及计算机可读存储介质,该区块链系统运行一种适用于移动网络及移动终端的共识机制。The present invention relates to blockchain technology, in particular to a blockchain system, a block generation method and a computer-readable storage medium. The blockchain system runs a consensus mechanism suitable for mobile networks and mobile terminals.
背景技术Background technique
自从2009年比特币系统推出以来,以比特币及其衍生竞争币种为代表的去中心化加密货币受到了广泛关注。这种系统的特点是基于区块链构建分布式共享总账,从而保证系统运行的安全、可靠、去中心化特性。Since the launch of the Bitcoin system in 2009, decentralized cryptocurrencies represented by Bitcoin and its derivative competing currencies have received widespread attention. The characteristic of this system is to build a distributed shared ledger based on the block chain, so as to ensure the safety, reliability and decentralization of the system operation.
区块链目前分为三类,公有区块链、联盟区块链和私有区块链。公有区块链是最早的区块链,也是应用最为广泛的区块链。Blockchains are currently divided into three categories, public blockchains, consortium blockchains, and private blockchains. The public blockchain is the earliest blockchain and the most widely used blockchain.
公有区块链的共识机制基本有三种。There are basically three consensus mechanisms for public blockchains.
第一种共识机制是工作量证明机制,通过进行大量的SHA256计算,找到一个特定的数值,使得包含该数值以及若干交易数据的新区块的Hash值满足系统预设的条件。比特币采用该机制,以太坊目前也采用该机制。该SHA256计算的工作量非常大,以至于需要采用专用设备,并且消耗大量的电力才能完成。计算量非常大的另一个副作用是,生成新区块的速度难以提高,目前比特币为平均每10分钟一个新区块。而且因为难度太大,只有少量的专业机构才能完成,形成了垄断,与区块链去中心化的初衷发生了背离。工作量证明机制的好处是安全,因为计算工作量太大,想要制造一个新的区块链转移其中存储的数字货币,变得完全没有可能性。The first consensus mechanism is the proof-of-work mechanism. Through a large number of SHA256 calculations, a specific value is found, so that the Hash value of the new block containing this value and several transaction data meets the preset conditions of the system. Bitcoin uses this mechanism, and Ethereum currently uses this mechanism. The workload of the SHA256 calculation is so large that special equipment is required and a large amount of power is consumed to complete it. Another side effect of the very large amount of calculation is that it is difficult to increase the speed of generating new blocks. Currently, Bitcoin has an average of one new block every 10 minutes. And because it is too difficult, only a small number of professional institutions can complete it, forming a monopoly, which deviates from the original intention of blockchain decentralization. The benefit of the proof-of-work mechanism is security, because the computational workload is too large, and it is completely impossible to create a new blockchain and transfer the digital currency stored in it.
第二种共识机制是资产证明机制,是对工作量证明的改良。思路是工作量证明的难度与节点持有的资产成反比,资产越多,工作量证明的难度越低,反之,资产越少,工作量证明的难度就越大。该机制实际上会导致资产持有人两极分化,持有资产越多,挖矿就越容易,资产就会更多,最后还是会形成垄断,形成中心,而且有失公平,但好处是可以降低挖矿难度,提高生成新区块的速度。The second consensus mechanism is the asset proof mechanism, which is an improvement on the workload proof. The idea is that the difficulty of proof of work is inversely proportional to the assets held by nodes. The more assets, the lower the difficulty of proof of work. Conversely, the less assets, the greater the difficulty of proof of work. This mechanism will actually lead to the polarization of asset holders. The more assets you hold, the easier it is to mine, and there will be more assets. In the end, it will still form a monopoly, form a center, and it is unfair, but the advantage can be reduced Difficulty of mining, increasing the speed at which new blocks are generated.
第三种共识机制是资产授权证明机制。该机制中,每个节点可以将自己持有资产的记账权授权给第三方,最后由系统中获得授权最多的前若干个节点轮流进行区块链记账。该共识机制的好处是生成新区块的速度很快,但缺点还是存在垄断中心,由于记账人缺乏竞争机制,容易产生安全问题。The third consensus mechanism is the asset authorization proof mechanism. In this mechanism, each node can authorize the bookkeeping rights of its own assets to a third party, and finally the top several nodes in the system with the most authorizations will take turns to perform blockchain bookkeeping. The advantage of this consensus mechanism is that the speed of generating new blocks is very fast, but the disadvantage is that there is still a monopoly center. Due to the lack of competition mechanism for bookkeepers, it is easy to cause security problems.
以上三种共识机制都存在中心化趋势的缺陷,如何设计一种快速共识机制,既能提高交易速度,又不需要进行大规模的数学运算,既节能环保,还能去除中心化趋势,确保系统安全性,是区块链领域不断探索的技术课题。The above three consensus mechanisms all have the defect of centralization trend. How to design a fast consensus mechanism can not only improve the transaction speed, but also do not need to carry out large-scale mathematical operations. Security is a technical topic that is constantly being explored in the blockchain field.
发明内容Contents of the invention
本发明的目的在于提供一种区块链系统,其采用了构成点对点网络的第一节点和与第一节点构成中心化网络的第二节点,能够解决现有区块链系统存在的问题。The purpose of the present invention is to provide a block chain system, which uses a first node forming a peer-to-peer network and a second node forming a centralized network with the first node, which can solve the problems existing in the existing block chain system.
本发明的第一方面提供了一种区块链系统,包括:多个第一节点,所述多个第一节点之间构成点对点网络;多个第二节点,每个第一节点与所述多个第二节点中的至少一个第二节点相连接,第一节点与所连接的第二节点之间构成中心化网络;其中,所述多个第一节点之间通过点对点方式收发数据,并且通过共识机制生成新的区块并对接收到的新区块的有效性进行验证,在所述共识机制中,通过预定的规则选择所述多个第二节点中的特定第二节点,该特定第二节点跟与其连接的第一节点协同生成新的区块,特定第二节点执行新区块的见证,第一节点执行新区块的发布。所述第一节点是固定节点,所述第二节点是固定节点或移动节点。The first aspect of the present invention provides a block chain system, including: a plurality of first nodes, a point-to-point network is formed between the plurality of first nodes; a plurality of second nodes, each of the first nodes and the At least one of the plurality of second nodes is connected, and a centralized network is formed between the first node and the connected second nodes; wherein, the plurality of first nodes send and receive data in a point-to-point manner, and A new block is generated through a consensus mechanism and the validity of the received new block is verified. In the consensus mechanism, a specific second node among the plurality of second nodes is selected through a predetermined rule, and the specific second node is selected according to a predetermined rule. The second node cooperates with the first node connected to it to generate a new block, the specific second node executes the witness of the new block, and the first node executes the release of the new block. The first node is a fixed node, and the second node is a fixed node or a mobile node.
优选地,所述多个第一节点在所述点对点网络中收集未被记录于区块中的交易信息,记录并维护交易信息,并且生成候选区块,并且所述第一节点存储有与之相连的所有第二节点的列表,当特定第二节点被选中时,与之相连的第一节点被授权将其生成的候选区块由特定第二节点签名后发布到所述点对点网络中,第一节点验证新收到的区块后,将其加到区块链主链中,所述多个第一节点均保存所述区块链主链。Preferably, the plurality of first nodes collect transaction information not recorded in blocks in the peer-to-peer network, record and maintain transaction information, and generate candidate blocks, and the first nodes store information related to it A list of all connected second nodes. When a specific second node is selected, the connected first node is authorized to publish the candidate block generated by it to the peer-to-peer network after being signed by the specific second node. After a node verifies the newly received block, it is added to the block chain main chain, and the plurality of first nodes all save the block chain main chain.
优选地,在所述共识机制中,根据所述区块链主链中最优区块的区块头哈希值、产生该最优区块时进行所述见证的第二节点的签名以及满足参与共识的条件的第二节点的地址,来筛选参与共识的第二节点,并且所述第二节点的地址需要具有符合规定条件的历史交易信息以及规定数额的账号余额。Preferably, in the consensus mechanism, according to the hash value of the block header of the optimal block in the main chain of the block chain, the signature of the second node performing the witness when the optimal block is generated, and the satisfaction of participation The address of the second node that meets the conditions of the consensus is used to screen the second node participating in the consensus, and the address of the second node needs to have historical transaction information that meets the specified conditions and a specified amount of account balance.
优选地,在所述共识机制中,比较SHA256(witnessAddress)与SHA256(bestBlockHeaderHash||Signature||witnessAddress)的匹配位数,当达到预设的匹配位数时,判定该第二节点能够参与共识,其中,witnessAddress是第二节点的地址,bestBlockHeaderHash是最优区块头哈希值,Signature是产生该最优区块时进行所述见证的第二节点的签名。Preferably, in the consensus mechanism, the matching digits of SHA256 (witnessAddress) and SHA256 (bestBlockHeaderHash||Signature||witnessAddress) are compared, and when the preset matching digits are reached, it is determined that the second node can participate in the consensus, Wherein, witnessAddress is the address of the second node, bestBlockHeaderHash is the hash value of the optimal block header, and Signature is the signature of the second node that witnesses when the optimal block is generated.
优选地,当达到预设的匹配位数的第二节点为多个时,匹配位数多的第二节点具有优先见证权。Preferably, when there are multiple second nodes that have reached the preset number of matching digits, the second node with the larger number of matching digits has the priority witness right.
优选地,当达到预设的匹配位数的第二节点不存在时,第一节点在等待规定时间后,允许降低所述预设的匹配位数,再次进行所述比较,直到存在达到预设的匹配位数的第二节点,或接收到其他第一节点发布的新区块为止。Preferably, when the second node that reaches the preset number of matching digits does not exist, the first node is allowed to reduce the preset number of matching digits after waiting for a specified time, and then perform the comparison again until the existence reaches the preset number of nodes. until the second node that matches the number of digits, or receives a new block issued by other first nodes.
优选地,当特定第二节点被选中时,与之相连的第一节点将规定数量的历史区块中的交易信息摘要最为签名信息的一部分发送给该特定第二节点进行签名,作为账本维护的证明。Preferably, when a specific second node is selected, the first node connected to it will send the transaction information summaries in the specified number of historical blocks as part of the signature information to the specific second node for signature, as the account book maintenance prove.
优选地,与特定第二节点相连的第一节点在将候选区块加入所述区块链主链,并发布至所述点对点网络时,该第一节点要向所述区块链主链中的前4个区块的发布节点支付比例为4:3:2:1的费用,并且获得规定数额的奖励,由该第一节点与第二节点按比例分配。Preferably, when the first node connected to the specific second node adds the candidate block to the main chain of the block chain and publishes it to the peer-to-peer network, the first node will submit the block to the main chain of the block chain The publishing nodes of the first 4 blocks pay a fee in the ratio of 4:3:2:1, and receive a specified amount of rewards, which are distributed proportionally between the first node and the second node.
优选地,当所述区块链主链中某个区块之前的交易记录中不包含未花交易时,所述多个第一节点不再维护该区块之前的交易记录。Preferably, when the transaction records before a certain block in the blockchain main chain do not contain unspent transactions, the plurality of first nodes no longer maintain the transaction records before the block.
优选地,特定第二节点地址匹配位数决定区块的权重,区块链权重为构成区块链的所有区块的权重总和,权重最大的区块链为区块链主链。Preferably, the matching number of digits of the specific second node address determines the weight of the block, the block chain weight is the sum of the weights of all blocks forming the block chain, and the block chain with the largest weight is the block chain main chain.
本发明的第二方面提供了一种基于区块链系统的区块生成方法,所述区块链系统包括多个第一节点和多个第二节点,所述多个第一节点之间构成点对点网络,每个所述第一节点与所述多个第二节点中的至少一个第二节点相连接,第一节点与所连接的第二节点之间构成中心化网络,所述第一节点是固定节点,所述第二节点是固定节点或移动节点,所述多个第一节点之间通过点对点方式收发数据,该区块生成方法包括以下步骤:所述第一节点通过共识机制生成新区块并对接收到的新区块的有效性进行验证;其中,所述第一节点通过预定规则选择与其连接的所述多个第二节点中的特定第二节点,所述特定第二节点协同所述第一节点生成新区块,其中,所述特定第二节点执行新区块的见证,所述第一节点执行新区块的发布。The second aspect of the present invention provides a block generation method based on a blockchain system, the blockchain system includes a plurality of first nodes and a plurality of second nodes, and the plurality of first nodes constitute A point-to-point network, each of the first nodes is connected to at least one second node in the plurality of second nodes, a centralized network is formed between the first node and the connected second nodes, and the first node is a fixed node, the second node is a fixed node or a mobile node, and the plurality of first nodes send and receive data in a point-to-point manner. The block generation method includes the following steps: the first node generates a new block through a consensus mechanism block and verify the validity of the received new block; wherein, the first node selects a specific second node among the plurality of second nodes connected to it through a predetermined rule, and the specific second node cooperates with the The first node generates a new block, wherein the specific second node executes the witness of the new block, and the first node executes the release of the new block.
本发明的第三方面提供了一种计算机可读存储介质,其存储有程序,所述程序被处理器执行时可控制包括多个第一节点和多个第二节点的区块链系统,所述多个第一节点之间构成点对点网络,每个所述第一节点与所述多个第二节点中的至少一个第二节点相连接,第一节点与所连接的第二节点之间构成中心化网络,所述多个第一节点之间通过点对点方式收发数据,所述第一节点是固定节点,所述第二节点是固定节点或移动节点,所述程序被处理器执行时控制所述区块链系统实现以下步骤:使所述第一节点通过共识机制生成新区块并对接收到的新区块的有效性进行验证;其中所述第一节点通过预定规则选择与其连接的所述多个第二节点中的特定第二节点,所述特定第二节点协同所述第一节点生成新区块,其中,所述特定第二节点执行新区块的见证,所述第一节点执行新区块的发布。A third aspect of the present invention provides a computer-readable storage medium, which stores a program, and when the program is executed by a processor, it can control a blockchain system including multiple first nodes and multiple second nodes, so A point-to-point network is formed between the plurality of first nodes, each of the first nodes is connected to at least one second node in the plurality of second nodes, and the first node and the connected second nodes form a In a centralized network, the multiple first nodes send and receive data in a point-to-point manner, the first node is a fixed node, the second node is a fixed node or a mobile node, and the program is controlled by the processor when executed The block chain system implements the following steps: make the first node generate a new block through a consensus mechanism and verify the validity of the received new block; wherein the first node selects the multiple blocks connected to it through predetermined rules A specific second node among the second nodes, the specific second node cooperates with the first node to generate a new block, wherein the specific second node executes the witness of the new block, and the first node executes the witness of the new block release.
代替工作量证明机制,本发明的区块链系统采用预设的规则无法预知地确定一对获得记账权利的第一节点、第二节点的机制,将移动终端引入到共识机制中,使系统的出块时间达到秒级,可有效提高交易处理能力。Instead of the proof-of-work mechanism, the block chain system of the present invention adopts a mechanism in which a pair of the first node and the second node that obtain the bookkeeping rights cannot be predicted in advance by using preset rules, and introduces the mobile terminal into the consensus mechanism, so that the system The block generation time reaches the second level, which can effectively improve the transaction processing capacity.
当前移动终端数量庞大,性能优异,本发明的区块链系统复用了移动终端这个巨量资源,代替POW机制中消耗的巨量电力资源,这样既可以达到节能环保的目的,又可以提高区块链的出块速度,提高交易处理能力,降低交易账本的维护成本。At present, the number of mobile terminals is huge and the performance is excellent. The block chain system of the present invention reuses the huge resource of mobile terminals to replace the huge power resources consumed in the POW mechanism. The block chain's block generation speed improves transaction processing capabilities and reduces the maintenance cost of transaction ledgers.
附图说明Description of drawings
构成本说明书的一部分、用于进一步理解本发明的附图示出了优选实施方式并与说明一起用来说明本发明的原理。附图中:The accompanying drawings, which are included to provide a further understanding of the invention and constitute a part of this specification, illustrate preferred embodiments and together with the description serve to explain the principles of the invention. In the attached picture:
图1是根据本发明的区块链系统的第一实施方式的拓扑图。Fig. 1 is a topological diagram of the first embodiment of the blockchain system according to the present invention.
图2是根据本发明的区块链系统的第二实施方式的拓扑图。Fig. 2 is a topological diagram of the second embodiment of the blockchain system according to the present invention.
图3A和3B是根据本发明的区块链系统的第一实施方式中见证节点筛选的流程图。3A and 3B are flowcharts of witness node screening in the first embodiment of the blockchain system according to the present invention.
图4是根据本发明区块链系统的第一实施方式中的地址匹配难度调整的示意图。Fig. 4 is a schematic diagram of address matching difficulty adjustment in the first embodiment of the blockchain system according to the present invention.
图5是根据本发明的区块链系统的第一实施方式中的地址匹配难度调整的流程图。Fig. 5 is a flowchart of address matching difficulty adjustment in the first embodiment of the blockchain system according to the present invention.
图6是根据本发明的区块链系统中的第一实施方式中的区块权重分配的示意图。Fig. 6 is a schematic diagram of block weight distribution in the first embodiment of the blockchain system according to the present invention.
具体实施方式Detailed ways
以下结合附图详细说明本发明的优选实施方式。在附图中,相同的部件用同一标号表示。Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. In the drawings, the same components are denoted by the same reference numerals.
图1是根据本发明的区块链系统的第一实施方式的拓扑图。Fig. 1 is a topological diagram of the first embodiment of the blockchain system according to the present invention.
如上所述,比特币为了解决双花问题,设计了工作量证明机制。工作量证明机制可以理解成增大攻击者的阻尼,降低攻击者的速度,使得攻击者在运算能力少于系统总算力51%的前提下,理论上赶不上系统生成区块的速度,从而无法改变区块数据。工作量证明机制在增加攻击难度的同时也不可避免地限制了区块的出块速度。As mentioned above, in order to solve the double spending problem, Bitcoin designed the workload proof mechanism. The proof-of-work mechanism can be understood as increasing the damping of the attacker and reducing the speed of the attacker, so that the attacker, under the premise that the computing power is less than 51% of the total computing power of the system, theoretically cannot catch up with the speed of the system to generate blocks, thus cannot change block data. While the proof-of-work mechanism increases the difficulty of attacks, it also inevitably limits the speed of block generation.
为解决前文提到的比特币的缺点,本发明的区块链系统采用地址中奖机制代替工作量证明机制,例如将移动终端引入到共识机制中,使系统的出块时间达到秒级,可有效提高交易处理能力。In order to solve the shortcomings of Bitcoin mentioned above, the blockchain system of the present invention adopts the address winning mechanism instead of the proof-of-work mechanism. Improve transaction processing capabilities.
当前移动终端数量庞大,性能优异,本发明的目标就是复用移动终端这个巨量资源,代替POW机制中消耗的巨量电力资源,这样既可以达到节能环保的目的,又可以提高区块链的出块速度,提高交易处理能力,降低交易账本的维护成本。At present, the number of mobile terminals is huge and the performance is excellent. The goal of this invention is to reuse the huge resources of mobile terminals to replace the huge power resources consumed in the POW mechanism. This can not only achieve the purpose of energy saving and environmental protection, but also improve the blockchain. Block generation speed, improve transaction processing capacity, and reduce transaction ledger maintenance costs.
在本发明的共识机制中,定义了一种加密货币作为流通货币。In the consensus mechanism of the present invention, an encrypted currency is defined as the currency in circulation.
如图1所示,本发明的区块链系统的第一实施方式包括:多个第一节点10,所述多个第一节点10之间构成点对点网络;多个第二节点20,每个第一节点10与所述多个第二节点20中的至少一个第二节点相连接,第一节点10与所连接的第二节点20之间构成中心化网络。此处的中心化网络也称为集中式网络,其中,各个第二节点20都与第一节点10相连。多个第一节点10之间通过点对点方式收发数据,并且通过共识机制对数据的有效性进行验证,在所述共识机制中,通过预定的规则选择所述多个第二节点20中的特定第二节点,该特定第二节点跟与其连接的第一节点协同生成新的区块,特定第二节点20负责新区块见证,第一节点10负责新区块发布。第一节点10是固定节点,第二节点可以是固定节点或移动节点。As shown in Figure 1, the first embodiment of the block chain system of the present invention includes: a plurality of first nodes 10, forming a point-to-point network between the plurality of first nodes 10; a plurality of second nodes 20, each The first node 10 is connected to at least one second node among the plurality of second nodes 20 , and a centralized network is formed between the first node 10 and the connected second nodes 20 . The centralized network here is also referred to as a centralized network, wherein each second node 20 is connected to the first node 10 . A plurality of first nodes 10 send and receive data in a point-to-point manner, and verify the validity of the data through a consensus mechanism. In the consensus mechanism, a specific first node among the plurality of second nodes 20 is selected through a predetermined rule. Two nodes, the specific second node cooperates with the first node connected to it to generate a new block, the specific second node 20 is responsible for witnessing the new block, and the first node 10 is responsible for publishing the new block. The first node 10 is a fixed node, and the second node may be a fixed node or a mobile node.
图1中示出了5个第一节点10,每个第一节点10都连接有若干(图中为3个)第二节点20。在本发明的实施例中,区块链主要用于对交易进行记账,因此在本发明中,第一节点10也称为记账节点10,第二节点20也称为见证节点。FIG. 1 shows five first nodes 10 , and each first node 10 is connected to several (three in the figure) second nodes 20 . In the embodiment of the present invention, the block chain is mainly used for accounting of transactions, so in the present invention, the first node 10 is also called the accounting node 10, and the second node 20 is also called the witness node.
这5个记账节点10彼此之间形成点对点网络。记账节点10主要由个人计算机或更大型的服务器组成,用于保存并维护区块链数据。另外,记账节点10还负责收集未被记录于区块中的交易信息,并对交易进行分类排序,生成新的候选区块。此外,记账节点10在发布区块的同时,还需提供其维护历史数据的证明,并由见证节点20和其它记账节点10一起来完成验证。These five billing nodes 10 form a peer-to-peer network among each other. Accounting nodes 10 are mainly composed of personal computers or larger servers for saving and maintaining blockchain data. In addition, the bookkeeping node 10 is also responsible for collecting transaction information that is not recorded in the block, sorting and sorting the transactions, and generating new candidate blocks. In addition, when the billing node 10 releases the block, it also needs to provide the proof of maintaining historical data, and the witness node 20 and other billing nodes 10 complete the verification together.
如图1所示,在本发明的区块链系统中,每个记账节点10与所连接的若干见证节点20构成中心化网络。As shown in FIG. 1 , in the blockchain system of the present invention, each accounting node 10 and several connected witness nodes 20 form a centralized network.
见证节点20主要由移动终端设备组成,其账户应具有一定数量的货币余额,并且在一定时间之前已有交易记录。与比特币网络中的SPV节点不同的是,本发明的区块链系统中的所有见证节点20都有均等的机会参与共识过程并从中获得收益。Witness node 20 is mainly composed of mobile terminal equipment, and its account should have a certain amount of currency balance, and there has been a transaction record before a certain time. Different from the SPV nodes in the Bitcoin network, all witness nodes 20 in the blockchain system of the present invention have an equal opportunity to participate in the consensus process and obtain benefits therefrom.
本发明的区块链系统中使用交易地址来标识交易的发起者和接收者,每一个节点都应该至少包含一个交易地址,节点可以选择将交易地址公开或隐藏。通常见证节点20会公开一个地址,用于参与共识见证;而记账节点10也要公开一个地址,以协助见证节点20及其它记账节点10完成历史交易的验证。In the block chain system of the present invention, the transaction address is used to identify the initiator and receiver of the transaction. Each node should contain at least one transaction address, and the node can choose to disclose or hide the transaction address. Usually, the witness node 20 will disclose an address for participating in consensus witness; and the accounting node 10 will also disclose an address to assist the witness node 20 and other accounting nodes 10 to complete the verification of historical transactions.
图1中的5个记账节点10在点对点网络中收集未被记录于区块中的交易信息,记录并维护交易信息,并且生成候选区块,并且每个记账节点10存储有与之相连的所有见证节点20的列表。当特定见证节点20被选中时,与之相连的记账节点10被授权生成并发布新区块,特定见证节点20在此过程中进行新区块的见证。新区块被其他记账节点10接收并验证后,加入各自存储的区块链主链中,并且5个记账节点10均保存该区块链主链。The five bookkeeping nodes 10 in Figure 1 collect transaction information not recorded in blocks in the peer-to-peer network, record and maintain transaction information, and generate candidate blocks, and each bookkeeping node 10 stores a A list of all witness nodes 20 of . When a specific witness node 20 is selected, the accounting node 10 connected to it is authorized to generate and publish a new block, and the specific witness node 20 witnesses the new block during this process. After the new block is received and verified by other bookkeeping nodes 10, it is added to the main chain of the blockchain stored in them, and the five bookkeeping nodes 10 all save the main chain of the blockchain.
图1中示出了5个记账节点10,但是应该理解,这仅是示例,在本发明的区块链系统中,可以存在更多或更少的记账节点10,并且允许记账节点10自由加入或退出。Figure 1 shows five bookkeeping nodes 10, but it should be understood that this is only an example, in the blockchain system of the present invention, there may be more or less bookkeeping nodes 10, and the bookkeeping nodes are allowed 10 free to join or quit.
图2是根据本发明的区块链系统的第二实施方式的拓扑图。Fig. 2 is a topological diagram of the second embodiment of the blockchain system according to the present invention.
如图2所示,与本发明的区块链系统的第一实施方式相比,在第二实施方式中,每个记账节点10还连接了至少一个(仅示出了1个)钱包节点30。也就是说,钱包节点30与记账节点10之间也形成了中心化网络。As shown in Figure 2, compared with the first embodiment of the block chain system of the present invention, in the second embodiment, each accounting node 10 is also connected to at least one (only one is shown) wallet node 30. That is to say, a centralized network is also formed between the wallet node 30 and the billing node 10 .
在第二实施方式中,钱包节点30是用于普通交易活动的节点,交易依赖于记账节点10或区块数据服务提供商。钱包节点30不需要存储交易数据,当其货币余额和交易记录满足见证节点20的门槛要求时,钱包节点30可以自动升级为见证节点20。In the second embodiment, the wallet node 30 is a node used for ordinary transaction activities, and the transaction depends on the accounting node 10 or the block data service provider. The wallet node 30 does not need to store transaction data. When its currency balance and transaction records meet the threshold requirements of the witness node 20, the wallet node 30 can be automatically upgraded to the witness node 20.
下面以第一实施方式为例具体说明见证节点的筛选。The following takes the first embodiment as an example to specifically describe the screening of witness nodes.
为缩短达成共识的时间,同时保证公平性,本发明的区块链系统每次根据最优区块筛选出一定数量(如2-3个)的见证节点参与共识过程。In order to shorten the time for reaching a consensus and ensure fairness, the blockchain system of the present invention screens out a certain number (such as 2-3) of witness nodes to participate in the consensus process each time according to the optimal block.
记账节点10持续接收并验证生成的新区块,通过验证的具有最高权重的区块称为最优区块,记账节点10构成的点对点网络中的大部分记账节点10认同的最优区块所处的区块链是区块链主链。The accounting node 10 continues to receive and verify the generated new blocks. The block with the highest weight that passes the verification is called the optimal block. The blockchain on which the block resides is the blockchain main chain.
下面描述的筛选方法所选中的见证节点20获得跟与其连接的第一节点10共同生成新区块的权利。在生成的新区块中,选中的见证节点20及其记账节点10有权利生成铸币交易,获得铸币奖励,选中的见证节点20也称为中奖见证节点。The witness node 20 selected by the screening method described below obtains the right to jointly generate a new block with the first node 10 connected to it. In the generated new block, the selected witness node 20 and its bookkeeping node 10 have the right to generate coinage transactions and obtain coinage rewards. The selected witness node 20 is also called a winning witness node.
图3A和3B是根据本发明优选实施方式的区块链系统中见证节点筛选的流程图。3A and 3B are flowcharts of witness node screening in a blockchain system according to a preferred embodiment of the present invention.
参照图3A和3B来具体说明见证节点筛选的过程。The process of witness node selection is specifically described with reference to FIGS. 3A and 3B .
在图3A中,记账节点10会维护一个与其连接的见证节点20的列表,每当有新的见证节点20与其连接时,都会接收该见证节点20公开的地址(步骤S300)。然后判断该见证节点20是否满足参与共识的限制条件(步骤S302),限制条件包括但不限于:In FIG. 3A , the billing node 10 maintains a list of witness nodes 20 connected to it, and whenever a new witness node 20 connects to it, it will receive the public address of the witness node 20 (step S300 ). Then it is judged whether the witness node 20 satisfies the restrictive conditions for participating in the consensus (step S302), and the restrictive conditions include but are not limited to:
1)该地址已有交易记录,并且最早交易时间在一定时间(比如1天)以前,该条件可防止见证节点临时生成与中奖地址相匹配的地址;1) The address has a transaction record, and the earliest transaction time is before a certain time (such as 1 day), this condition can prevent the witness node from temporarily generating an address that matches the winning address;
2)该地址中具有不低于规定数量的货币,该条件可防止见证节点生成大量空地址来增加被选中的概率,并降低以此为基础进行攻击的风险。2) The address has no less than the specified amount of currency. This condition can prevent the witness node from generating a large number of empty addresses to increase the probability of being selected, and reduce the risk of attacks based on this.
在本发明的共识机制中,根据记账节点10内最优区块的区块头哈希值、产生该最优区块时进行见证的见证节点20的签名以及满足参与共识条件的见证节点20的地址,来筛选参与见证共识的见证节点20。In the consensus mechanism of the present invention, according to the hash value of the block header of the optimal block in the accounting node 10, the signature of the witness node 20 that witnesses when the optimal block is generated, and the signature of the witness node 20 that satisfies the conditions for participating in the consensus address to screen the witness nodes 20 participating in the witness consensus.
如果步骤S302中判定结果为是,则允许该见证节点20参与区块共识(步骤S304)。如果步骤S302中判定结果为否,则处理结束。If the determination result in step S302 is yes, the witness node 20 is allowed to participate in the block consensus (step S304). If the determination result in step S302 is negative, the process ends.
下面参照图3B说明见证节点的筛选。The screening of witness nodes will be described below with reference to FIG. 3B .
见证节点20的筛选基于最优区块的区块头哈希以及该区块铸币交易中的见证节点20的签名。具体地,如图3B所示,获取最优区块的区块头哈希值和该区块铸币交易中的见证节点20的签名(步骤S306)。The screening of the witness node 20 is based on the block header hash of the optimal block and the signature of the witness node 20 in the minting transaction of the block. Specifically, as shown in FIG. 3B , the block header hash value of the optimal block and the signature of the witness node 20 in the minting transaction of the block are obtained (step S306 ).
然后,比较见证节点20的地址哈希值SHA256(witnessAddress)与SHA256(bestBlockHeaderHash||Signature||witnessAddress)的匹配位数(步骤S308)。Then, compare the address hash value SHA256 (witnessAddress) of the witness node 20 with the matching digits of SHA256 (bestBlockHeaderHash||Signature||witnessAddress) (step S308).
匹配地址的不同比较方法均在本发明的保护范围内,包括但不限于下列方法:Different comparison methods for matching addresses are within the protection scope of the present invention, including but not limited to the following methods:
a)比较SHA256(witnessAddress)与SHA256(witnessAddress||bestBlockHeaderHash||Signature)的匹配位数;a) Compare the matching digits of SHA256(witnessAddress) and SHA256(witnessAddress||bestBlockHeaderHash||Signature);
b)比较SHA256(witnessAddress)与SHA256(witnessAddress||bestBlockHeaderHash||Signature||witnessAddress)的匹配位数。b) Compare the matching digits of SHA256(witnessAddress) and SHA256(witnessAddress||bestBlockHeaderHash||Signature||witnessAddress).
如果达到了预设的匹配目标(步骤S308,是),则该见证节点可参与区块共识,生成新的区块(步骤S310)。If the preset matching target is reached (step S308, Yes), the witness node can participate in the block consensus and generate a new block (step S310).
如果未达到预设的匹配目标(步骤S308,否),则执行延时调整(步骤S312)。If the preset matching target is not reached (step S308, No), perform delay adjustment (step S312).
执行了步骤S312之后,重复步骤S308,直到找到满足预设目标的见证节点为止。After step S312 is executed, step S308 is repeated until a witness node meeting the preset target is found.
在本发明中,延时调整也称为地址匹配难度调整,下面结合图4和图5详细说明地址匹配难度调整。In the present invention, delay adjustment is also referred to as address matching difficulty adjustment, and address matching difficulty adjustment will be described in detail below with reference to FIG. 4 and FIG. 5 .
本发明的区块链系统在区块头中使用2个字节(16比特)表示匹配难度参数,其含义如下表:The block chain system of the present invention uses 2 bytes (16 bits) to represent the matching difficulty parameter in the block header, and its meaning is as follows:
表1.匹配难度调整参数Table 1. Matching Difficulty Adjustment Parameters
表1中A表示见证节点最低匹配位数,B表示A位之后10位数字的范围,其初始值设为512,如图4所示。In Table 1, A represents the minimum matching digits of the witness node, and B represents the range of 10 digits after A, and its initial value is set to 512, as shown in Figure 4.
图5是根据本发明的区块链系统的第一实施方式中的地址匹配难度调整的流程图。Fig. 5 is a flowchart of address matching difficulty adjustment in the first embodiment of the blockchain system according to the present invention.
根据上述见证节点的筛选规则,当见证节点地址的哈希值SHA256(witnessAddress)与SHA256(bestBlockHeaderHash||Signature||witnessAddress)的异或结果满足前A比特全部为0,且后续11比特数字在[210,B+210]范围内时,该见证节点即可参与区块共识(步骤S500)。According to the above screening rules of the witness node, when the XOR result of the hash value SHA256(witnessAddress) and SHA256(bestBlockHeaderHash||Signature||witnessAddress) of the witness node address satisfies the first A bits are all 0, and the subsequent 11-bit numbers are in [ 210 , B+210 ], the witness node can participate in the block consensus (step S500).
在本发明中,地址匹配难度调整参数可以每隔一段时间调整一次。In the present invention, the address matching difficulty adjustment parameter can be adjusted every once in a while.
优选地,地址匹配难度调整参数平均每3天调整一次。例如,假设平均出块时间为10秒,则3天内理论出块个数为25920。记最近25920个区块的出块总时间为T,理论出块总时间为259200秒,即可根据T/259200的比值(记为ratio)来判断当前匹配难度是否偏高或者偏低(步骤S502)。Preferably, the address matching difficulty adjustment parameter is adjusted every 3 days on average. For example, assuming that the average block generation time is 10 seconds, the theoretical number of blocks generated within 3 days is 25920. Note that the total block generation time of the latest 25,920 blocks is T, and the theoretical total block generation time is 259,200 seconds. You can judge whether the current matching difficulty is high or low according to the ratio of T/259,200 (recorded as ratio) (step S502 ).
当ratio小于1时,说明当前匹配难度偏低(步骤S502,偏低),造成出块时间较理论值短,此时应增加A或者减小B以增加难度(步骤S504);当ratio大于1时,说明当前匹配难度偏高(步骤S502,偏高),造成出块时间较理论值长,此时应该减小A或者增加B以降低难度(步骤S506)。When the ratio is less than 1, it means that the current matching difficulty is low (step S502, low), resulting in a shorter block generation time than the theoretical value. At this time, A should be increased or B should be decreased to increase the difficulty (step S504); when the ratio is greater than 1 , it means that the current matching difficulty is too high (step S502, too high), resulting in a longer block generation time than the theoretical value. At this time, A should be reduced or B should be increased to reduce the difficulty (step S506).
优选地,在本发明的实施例中,匹配难度的具体调整方案如下:Preferably, in the embodiment of the present invention, the specific adjustment scheme of matching difficulty is as follows:
1)当256<ratio*B<768时,则A不作调整,而只调整B为ratio*B;1) When 256<ratio*B<768, A is not adjusted, but only B is adjusted to ratio*B;
2)当ratio*B<=256时,则A加1,B调整为2*ratio*B;2) When ratio*B<=256, add 1 to A, and adjust B to 2*ratio*B;
3)当ratio*B>=768时,则A减1,B调整为0.5*ratio*B。3) When ratio*B>=768, A is subtracted by 1, and B is adjusted to 0.5*ratio*B.
另外,当达到预设的匹配位数的见证节点20为多个时,匹配位数多的见证节点20优先。In addition, when there are multiple witness nodes 20 that have reached the preset number of matching digits, the witness node 20 with the largest number of matching digits is given priority.
下面说明区块的权重。The weight of the block is explained below.
区块的权重由两部分组成,即地址匹配位数权重和父区块权重。地址匹配位数越高,权重越大,权重计算参数设定如下:匹配位数与目标匹配位数(A)相同时,权重为7。当实际匹配位数超过目标匹配位数5位以下时,实际匹配位数每多一位,权重加4,每少一位,权重减4;当实际匹配位数超过目标匹配位数5位时,权重恒定为27,即单个区块权重的上限。单个区块权重公式表示如下:The weight of a block consists of two parts, namely, the address matching bit weight and the weight of the parent block. The higher the address matching digits, the greater the weight. The weight calculation parameters are set as follows: when the matching digits are the same as the target matching digits (A), the weight is 7. When the actual number of matching digits exceeds the target number of matching digits by less than 5 digits, the weight will be increased by 4 for each one more than the actual matching digits, and the weight will be decreased by 4 for each one less; when the actual number of matching digits exceeds the target matching digits by 5 digits , the weight is constant at 27, which is the upper limit of the weight of a single block. The weight formula of a single block is expressed as follows:
其中w是权重值,m是实际匹配位数与目标匹配位数(A)之差,m可为负数。Where w is the weight value, m is the difference between the actual number of matching digits and the target number of matching digits (A), and m can be negative.
区块链中的每一个区块权重均为其父区块权重与当前区块地址匹配位权重之和,即当前区块的权重为区块链上从创世区块到当前区块地址匹配位权重累加之和。该权重累加在区块头中以四个字节表示。当区块链出现分叉时,权重累加较大的区块才能最终加入主链,因此每个记账节点10在接收到同一高度的不同区块时,总是选择累加权重最大的一个。此处,区块的高度是指从创始区块到当前区块的距离,或者经过的区块的数量。The weight of each block in the blockchain is the sum of the weight of its parent block and the matching bit weight of the current block address, that is, the weight of the current block is the address matching from the genesis block to the current block on the blockchain. The cumulative sum of bit weights. This weight is accumulated in four bytes in the block header. When a fork occurs in the blockchain, the block with a larger cumulative weight can finally be added to the main chain. Therefore, when each accounting node 10 receives different blocks of the same height, it always chooses the one with the largest cumulative weight. Here, the height of a block refers to the distance from the genesis block to the current block, or the number of passed blocks.
图6是根据本发明的区块链系统中的第一实施方式中的区块权重分配的示意图。Fig. 6 is a schematic diagram of block weight distribution in the first embodiment of the blockchain system according to the present invention.
如图6所示,每个区块右下角为其本身匹配位数对应的权重,左上角为该区块的权重累加。例如,以图中的2A区块为例,其本身匹配位数对应的权重为15,而该区块的权重累加为33。As shown in Figure 6, the lower right corner of each block is the weight corresponding to its matching digits, and the upper left corner is the weight accumulation of the block. For example, taking the block 2A in the figure as an example, the weight corresponding to its own matching number of bits is 15, and the accumulated weight of this block is 33.
在连接到同一个记账节点10的网络中,如果达到匹配目标的见证节点20不止一个,则匹配位数最多的见证节点20将参与共识过程。预设的匹配目标在区块头中使用两个字节来表示,并可以根据最近一段时间地址匹配情况进行动态调节。地址匹配位数越多,在区块共识中就越有优势。In a network connected to the same bookkeeping node 10, if more than one witness node 20 reaches the matching target, the witness node 20 with the most matching digits will participate in the consensus process. The preset matching target is represented by two bytes in the block header, and can be dynamically adjusted according to the address matching situation in the most recent period. The more address matching digits, the more advantage in block consensus.
另外,当特定见证节点20被选中时,与之相连的记账节点10将规定数量的历史区块中的交易信息发送给该特定见证节点20进行签名,作为账本维护的证明。In addition, when a specific witness node 20 is selected, the accounting node 10 connected to it will send transaction information in a specified number of historical blocks to the specific witness node 20 for signature, as proof of account book maintenance.
在本发明的区块链系统中,为了限制记账节点10发布多个高度相同的区块,设计了一种区块发布费机制,即,与特定见证节点20相连的记账节点10在将候选区块加入区块链主链,并发布至点对点网络时,该记账节点10要向区块链主链中的前4个区块的发布节点支付比例为4:3:2:1的费用。如果记账节点10发布的区块被采纳,则其发布费就可以从其子孙区块的发布费中得到100%或超过100%的补偿;如果该区块未被采纳,则区块发布交易最终会被其它区块包含而生效,并且通常会因为没有子孙区块而无法得到补偿。In the blockchain system of the present invention, in order to restrict the bookkeeping node 10 from issuing multiple blocks with the same height, a block publishing fee mechanism is designed, that is, the bookkeeping node 10 connected to a specific witness node 20 will When the candidate block is added to the blockchain main chain and released to the peer-to-peer network, the bookkeeping node 10 shall pay the publishing nodes of the first 4 blocks in the blockchain main chain with a ratio of 4:3:2:1 cost. If the block issued by the accounting node 10 is adopted, its publishing fee can be compensated by 100% or more than 100% from the publishing fee of its descendant block; if the block is not adopted, the block publishing transaction Will eventually be included by other blocks to take effect, and usually cannot be compensated for having no descendant blocks.
在本发明的区块链系统中,当区块链主链中某个区块之前的交易记录中不包含未花交易时,记账节点10可选地不再维护该区块之前的交易记录。In the blockchain system of the present invention, when the transaction records before a certain block in the blockchain main chain do not contain unspent transactions, the bookkeeping node 10 optionally no longer maintains the transaction records before the block .
众所周知,随着时间的增长,区块链需要存储的数据量越来越大,本发明提出一种检查点机制,可以适当缓解存储空间有限的记账节点10的存储压力。As we all know, with the increase of time, the amount of data that needs to be stored in the blockchain is increasing. The present invention proposes a checkpoint mechanism, which can properly relieve the storage pressure of the accounting node 10 with limited storage space.
在本发明中,检查点是指某一个高度之前的所有区块中都不包含未花费交易输出(UTXO)的区块。一旦某个区块成为检查点,对于存储空间有限的记账节点10,可以选择将检查点之前的部分区块在本地删除,但其代价是会错失一部分获取奖励的机会。当按照规则选出的历史记录恰好在检查点之前时,该记账节点10只能错失一次推荐候选区块的机会。In the present invention, a checkpoint refers to a block that does not contain an unspent transaction output (UTXO) in all blocks before a certain height. Once a certain block becomes a checkpoint, for accounting nodes 10 with limited storage space, they can choose to delete some blocks before the checkpoint locally, but at the cost of missing a part of the opportunity to obtain rewards. When the history record selected according to the rule is just before the checkpoint, the accounting node 10 can only miss one chance to recommend a candidate block.
在本发明的区块链系统中,记账节点10由固定终端担任,其运算能力和存储能力更强,见证节点20由移动终端担任,其数量庞大,而且均关联了一定的可供交易的数字货币。In the blockchain system of the present invention, the bookkeeping node 10 is served by a fixed terminal, which has stronger computing power and storage capacity, and the witness node 20 is served by a mobile terminal, which has a large number and is associated with a certain number of available transactions. digital currency.
本发明的区块链系统采用地址中奖机制代替工作量证明机制,将移动终端引入到共识机制中,使系统的出块时间达到秒级,可有效提高交易处理能力。The block chain system of the present invention adopts the address winning mechanism instead of the proof-of-work mechanism, and introduces the mobile terminal into the consensus mechanism, so that the block generation time of the system reaches the second level, which can effectively improve the transaction processing capacity.
当前移动终端数量庞大,性能优异,本发明复用了移动终端这个巨量资源,代替POW机制中消耗的巨量电力资源,这样既可以达到节能环保的目的,又可以提高区块链的出块速度,提高交易处理能力,降低交易账本的维护成本。At present, the number of mobile terminals is huge and the performance is excellent. This invention reuses the huge resource of mobile terminals to replace the huge amount of power resources consumed in the POW mechanism. This can not only achieve the purpose of energy saving and environmental protection, but also improve the block generation of the blockchain. Speed, improve transaction processing capabilities, and reduce maintenance costs for transaction books.
本发明的区块链系统的各功能可以通过程序来实现。当要实现本发明的区块链系统的各功能时,将该程序从网络获得,或者从存储介质安装到计算机等电子设备中,由该程序执行一系列处理。Each function of the block chain system of the present invention can be realized by a program. To implement the various functions of the blockchain system of the present invention, the program is obtained from the network, or installed from a storage medium into electronic equipment such as a computer, and a series of processes are executed by the program.
存储有该程序的计算机可读存储介质可以是与装置本体分离的、单独向使用者提供程序的可移动介质,也可以预装于装置本体的存储介质中。例如,程序可以存储在计算机可读存储介质中。第一节点和/或第二节点可以读取该程序,并执行该程序,实现区块链系统的上述功能。The computer-readable storage medium storing the program may be a removable medium that is separate from the device body and provides the program to the user independently, or may be pre-installed in the storage medium of the device body. For example, the program can be stored in a computer readable storage medium. The first node and/or the second node can read the program and execute the program to realize the above-mentioned functions of the blockchain system.
在第二节点是移动终端的情况下,用户可以安装相应的程序,加入到区块链系统中参与共识机制。这可以提高区块链系统的出块时间,另外,通过一定的奖励机制鼓励更多的用户参与,降低交易账本的维护成本,大幅降低电能消耗。In the case that the second node is a mobile terminal, the user can install the corresponding program and join the blockchain system to participate in the consensus mechanism. This can improve the block generation time of the blockchain system. In addition, through a certain reward mechanism, more users are encouraged to participate, the maintenance cost of the transaction ledger is reduced, and the power consumption is greatly reduced.
另外,作为上述计算机可读存储介质,可以采用例如CD-ROM等的光盘、DVD-ROM等相位变化型光盘、MO(Magnet Optical,磁光)或MD(Mini Disk,迷你盘)等光磁盘、软盘(注册商标)或移动硬盘等磁盘、闪存(注册商标)、智能媒体、SD存储卡、存储棒、以及通过网络连接的各种存储设备。In addition, as the above-mentioned computer-readable storage medium, for example, an optical disk such as CD-ROM, a phase-change optical disk such as DVD-ROM, a magneto-optical disk such as MO (Magnet Optical) or MD (Mini Disk, Mini Disk), etc., Diskettes such as floppy disks (registered trademark) and removable hard disks, flash memory (registered trademark), smart media, SD memory cards, memory sticks, and various storage devices connected via a network.
以上仅为本发明的优选实施方式,旨在对所要求的本发明提供进一步的说明,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改、变化和省略。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention, and are intended to provide further descriptions to the claimed present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention can have various modifications, changes and omissions . Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710333007.9ACN108876361A (en) | 2017-05-12 | 2017-05-12 | Blockchain system, block generation method, and computer-readable storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710333007.9ACN108876361A (en) | 2017-05-12 | 2017-05-12 | Blockchain system, block generation method, and computer-readable storage medium |
| Publication Number | Publication Date |
|---|---|
| CN108876361Atrue CN108876361A (en) | 2018-11-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710333007.9APendingCN108876361A (en) | 2017-05-12 | 2017-05-12 | Blockchain system, block generation method, and computer-readable storage medium |
| Country | Link |
|---|---|
| CN (1) | CN108876361A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109636389A (en)* | 2018-12-13 | 2019-04-16 | 东软集团股份有限公司 | Block chain goes out determination method, apparatus, equipment and the storage medium of block time |
| CN109863522A (en)* | 2018-12-28 | 2019-06-07 | 阿里巴巴集团控股有限公司 | Accelerating transaction delivery in blockchain networks using transaction retransmission |
| CN109902091A (en)* | 2019-02-21 | 2019-06-18 | 腾讯科技(深圳)有限公司 | Method, leader's accounting nodes and the medium that data block records on block chain |
| CN110222538A (en)* | 2019-06-17 | 2019-09-10 | 北京艾摩瑞策科技有限公司 | It is related to the verification method and device of block chain |
| CN110471987A (en)* | 2019-08-09 | 2019-11-19 | 全链通有限公司 | Date storage method, equipment and computer readable storage medium |
| US10505708B2 (en) | 2018-12-28 | 2019-12-10 | Alibaba Group Holding Limited | Blockchain transaction speeds using global acceleration nodes |
| CN110851448A (en)* | 2019-11-08 | 2020-02-28 | 四川长虹电器股份有限公司 | Local data storage optimization method based on block chain intelligent contract |
| CN110990490A (en)* | 2019-12-19 | 2020-04-10 | 北京海益同展信息科技有限公司 | Method, device, equipment and medium for posting block chain in block chain network |
| US20200119926A1 (en)* | 2017-07-07 | 2020-04-16 | Pablo Javier BUKI | Methods and systems for processing high volume, fast settlement blockchain transactions |
| CN111090891A (en)* | 2020-03-23 | 2020-05-01 | 卓尔智联(武汉)研究院有限公司 | Notary selection method and notary selection system based on block chain |
| US10664469B2 (en) | 2018-12-28 | 2020-05-26 | Alibaba Group Holding Limited | Accelerating transaction deliveries in blockchain networks using acceleration nodes |
| TWI699986B (en)* | 2019-03-14 | 2020-07-21 | 柯賓漢數位金融科技有限公司 | Method and system for generating blockchain |
| CN111555890A (en)* | 2020-05-06 | 2020-08-18 | 昆明大棒客科技有限公司 | Method, device and equipment for preventing malicious bifurcation |
| CN111641666A (en)* | 2019-03-01 | 2020-09-08 | 湖南天河国云科技有限公司 | Main chain selection method and device and computer readable storage medium |
| CN111708832A (en)* | 2020-05-18 | 2020-09-25 | 杜晓楠 | Method for adjusting block outlet difficulty in block chain network, computer medium and block chain network |
| CN114971421A (en)* | 2022-07-22 | 2022-08-30 | 中国长江三峡集团有限公司 | Hydropower station operation risk management and control system based on block chain technology |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101448021A (en)* | 2008-12-29 | 2009-06-03 | 深圳市迅雷网络技术有限公司 | Method and device for realizing point to point network communicating |
| CN106100981A (en)* | 2016-08-22 | 2016-11-09 | 布比(北京)网络技术有限公司 | Social network data exchange method and device |
| CN106296191A (en)* | 2016-08-13 | 2017-01-04 | 深圳市樊溪电子有限公司 | A kind of PoW common recognition mechanism of block chain power-aware |
| WO2017011601A1 (en)* | 2015-07-14 | 2017-01-19 | Fmr Llc | Computationally efficient transfer processing, auditing, and search apparatuses, methods and systems |
| CN106453636A (en)* | 2016-11-22 | 2017-02-22 | 深圳银链科技有限公司 | Credible block generation method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101448021A (en)* | 2008-12-29 | 2009-06-03 | 深圳市迅雷网络技术有限公司 | Method and device for realizing point to point network communicating |
| WO2017011601A1 (en)* | 2015-07-14 | 2017-01-19 | Fmr Llc | Computationally efficient transfer processing, auditing, and search apparatuses, methods and systems |
| CN106296191A (en)* | 2016-08-13 | 2017-01-04 | 深圳市樊溪电子有限公司 | A kind of PoW common recognition mechanism of block chain power-aware |
| CN106100981A (en)* | 2016-08-22 | 2016-11-09 | 布比(北京)网络技术有限公司 | Social network data exchange method and device |
| CN106453636A (en)* | 2016-11-22 | 2017-02-22 | 深圳银链科技有限公司 | Credible block generation method and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200119926A1 (en)* | 2017-07-07 | 2020-04-16 | Pablo Javier BUKI | Methods and systems for processing high volume, fast settlement blockchain transactions |
| CN109636389B (en)* | 2018-12-13 | 2020-09-22 | 东软集团股份有限公司 | Method, device, equipment and storage medium for determining block chaining-out time |
| CN109636389A (en)* | 2018-12-13 | 2019-04-16 | 东软集团股份有限公司 | Block chain goes out determination method, apparatus, equipment and the storage medium of block time |
| CN109863522B (en)* | 2018-12-28 | 2023-09-26 | 创新先进技术有限公司 | Accelerating transaction delivery in blockchain networks using transaction retransmissions |
| WO2019072306A3 (en)* | 2018-12-28 | 2019-10-24 | Alibaba Group Holding Limited | Accelerating transaction deliveries in blockchain networks using transaction resending |
| US11151127B2 (en) | 2018-12-28 | 2021-10-19 | Advanced New Technologies Co., Ltd. | Accelerating transaction deliveries in blockchain networks using acceleration nodes |
| US10505708B2 (en) | 2018-12-28 | 2019-12-10 | Alibaba Group Holding Limited | Blockchain transaction speeds using global acceleration nodes |
| US11082239B2 (en) | 2018-12-28 | 2021-08-03 | Advanced New Technologies Co., Ltd. | Accelerating transaction deliveries in blockchain networks using transaction resending |
| US11082237B2 (en) | 2018-12-28 | 2021-08-03 | Advanced New Technologies Co., Ltd. | Accelerating transaction deliveries in blockchain networks using transaction resending |
| US10664469B2 (en) | 2018-12-28 | 2020-05-26 | Alibaba Group Holding Limited | Accelerating transaction deliveries in blockchain networks using acceleration nodes |
| US11042535B2 (en) | 2018-12-28 | 2021-06-22 | Advanced New Technologies Co., Ltd. | Accelerating transaction deliveries in blockchain networks using acceleration nodes |
| US11032057B2 (en) | 2018-12-28 | 2021-06-08 | Advanced New Technologies Co., Ltd. | Blockchain transaction speeds using global acceleration nodes |
| CN109863522A (en)* | 2018-12-28 | 2019-06-07 | 阿里巴巴集团控股有限公司 | Accelerating transaction delivery in blockchain networks using transaction retransmission |
| CN109902091B (en)* | 2019-02-21 | 2021-08-10 | 腾讯科技(深圳)有限公司 | Method for recording data blocks on block chain, leading accounting node and medium |
| CN109902091A (en)* | 2019-02-21 | 2019-06-18 | 腾讯科技(深圳)有限公司 | Method, leader's accounting nodes and the medium that data block records on block chain |
| CN111641666A (en)* | 2019-03-01 | 2020-09-08 | 湖南天河国云科技有限公司 | Main chain selection method and device and computer readable storage medium |
| CN111641666B (en)* | 2019-03-01 | 2023-04-07 | 湖南天河国云科技有限公司 | Main chain selection method and device and computer readable storage medium |
| TWI699986B (en)* | 2019-03-14 | 2020-07-21 | 柯賓漢數位金融科技有限公司 | Method and system for generating blockchain |
| CN110222538B (en)* | 2019-06-17 | 2020-09-08 | 北京瑞策科技有限公司 | Verification method and device related to block chain |
| CN110222538A (en)* | 2019-06-17 | 2019-09-10 | 北京艾摩瑞策科技有限公司 | It is related to the verification method and device of block chain |
| CN110471987A (en)* | 2019-08-09 | 2019-11-19 | 全链通有限公司 | Date storage method, equipment and computer readable storage medium |
| CN110851448A (en)* | 2019-11-08 | 2020-02-28 | 四川长虹电器股份有限公司 | Local data storage optimization method based on block chain intelligent contract |
| CN110851448B (en)* | 2019-11-08 | 2022-05-03 | 四川长虹电器股份有限公司 | Local data storage optimization method based on block chain intelligent contract |
| CN110990490A (en)* | 2019-12-19 | 2020-04-10 | 北京海益同展信息科技有限公司 | Method, device, equipment and medium for posting block chain in block chain network |
| CN110990490B (en)* | 2019-12-19 | 2023-09-01 | 京东科技信息技术有限公司 | Method, device, equipment and medium for checking in blockchain network |
| CN111090891A (en)* | 2020-03-23 | 2020-05-01 | 卓尔智联(武汉)研究院有限公司 | Notary selection method and notary selection system based on block chain |
| CN111555890A (en)* | 2020-05-06 | 2020-08-18 | 昆明大棒客科技有限公司 | Method, device and equipment for preventing malicious bifurcation |
| CN111708832A (en)* | 2020-05-18 | 2020-09-25 | 杜晓楠 | Method for adjusting block outlet difficulty in block chain network, computer medium and block chain network |
| CN114971421A (en)* | 2022-07-22 | 2022-08-30 | 中国长江三峡集团有限公司 | Hydropower station operation risk management and control system based on block chain technology |
| Publication | Publication Date | Title |
|---|---|---|
| CN108876361A (en) | Blockchain system, block generation method, and computer-readable storage medium | |
| Huang et al. | Resource allocation and consensus on edge blockchain in pervasive edge computing environments | |
| US20230109969A1 (en) | Data processing method and apparatus based on node internal memory, device and medium | |
| US12341892B2 (en) | Computer-implemented systems and methods relating to a binary blockchain comprising a pair of coupled blockchains | |
| JP6355168B2 (en) | Block chain generation device, block chain generation method, block chain verification device, block chain verification method and program | |
| JP6358658B2 (en) | Block chain generation device, block chain generation method, block chain verification device, block chain verification method and program | |
| KR101827373B1 (en) | Block window module having agreement algorithm for limiting mining, managing server and virtual money exchange system and method | |
| US20170169405A1 (en) | Method and device for processing electronic money | |
| WO2016202952A1 (en) | Digital token exchange system | |
| CN110599136A (en) | Method and device for managing and controlling flow of block chain transaction pool | |
| Sohan et al. | Increasing throughput and reducing storage bloating problem using IPFS and dual-blockchain method | |
| US20250211424A1 (en) | Latency and Computational Performance On A Blockchain | |
| CN109428722A (en) | A kind of content delivery method and device | |
| CN112463881B (en) | Efficient block chain system and processing method for cloud edge aggregation computing environment | |
| Huang et al. | Incentive assignment in PoW and PoS hybrid blockchain in pervasive edge environments | |
| CN111865595A (en) | A consensus method and device for blockchain | |
| CN114612084A (en) | A digital currency payment method, device and system based on hardware cloud wallet | |
| WO2025154274A1 (en) | Management device for electronic commerce site | |
| KR102168428B1 (en) | Computer program, contents download management server and method for downloading contents | |
| KR102169840B1 (en) | Method for ensuring the trust of selling probability based items | |
| KR20210093147A (en) | User apparatus and manager apparatus included in blockchain network and controlling method thereof | |
| JP2021034882A (en) | Node and decentralized consensus building system | |
| US20240202711A1 (en) | Decentralized incentive system for validating transactions to blockchain miners | |
| US20230153770A1 (en) | Digital currency | |
| US20250094972A1 (en) | Computational processing based on selected criteria |
| 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 | ||
| WD01 | Invention patent application deemed withdrawn after publication | Application publication date:20181123 | |
| WD01 | Invention patent application deemed withdrawn after publication |