CN110782343A - Calculation power circulation method and system based on block chain in distributed network - Google Patents
Calculation power circulation method and system based on block chain in distributed network Download PDFInfo
- Publication number
- CN110782343A CN110782343A CN201810852715.8A CN201810852715A CN110782343A CN 110782343 A CN110782343 A CN 110782343A CN 201810852715 A CN201810852715 A CN 201810852715A CN 110782343 A CN110782343 A CN 110782343A
- Authority
- CN
- China
- Prior art keywords
- node
- computing power
- transaction
- demand
- information
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000004364 calculation method Methods 0.000 title claims description 37
- 238000012545 processing Methods 0.000 claims abstract description 174
- 238000003860 storage Methods 0.000 claims description 39
- 238000004891 communication Methods 0.000 claims description 21
- 238000012790 confirmation Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 14
- 238000012544 monitoring process Methods 0.000 claims description 9
- 238000009826 distribution Methods 0.000 claims description 3
- 239000002699 waste material Substances 0.000 abstract description 12
- 238000010586 diagram Methods 0.000 description 18
- 238000012795 verification Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 230000007246 mechanism Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000011156 evaluation Methods 0.000 description 3
- 230000000977 initiatory effect Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005065 mining Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请公开了一种分布式网络中基于区块链的算力流通方法及系统。该方案基于需求节点的算力需求,发布算力交易请求,算力交易请求包括交易类型、待交易算力、需求节点标识;基于算力交易请求和存储的网络各节点的算力,确定算力交易方案,算力交易方案包括交易类型、待交易算力、需求节点标识和处理节点的节点信息,处理节点为网络各节点中处理待交易算力的至少一个节点;基于处理节点的节点信息,获取处理节点的算力输出信息;基于算力交易方案和算力输出信息,执行预设智能合约,生成交易信息,交易信息包括交易数据和交易结果。可见,通过算力交易请求确定出相应的算力交易方案,避免了网络中的算力浪费,实现了算力的使用方式多样化。
The present application discloses a method and system for computing power circulation based on blockchain in a distributed network. Based on the computing power requirements of the demand nodes, the scheme issues a computing power transaction request. The computing power transaction request includes the transaction type, the computing power to be traded, and the identification of the demand node; Power trading scheme, the computing power trading scheme includes the transaction type, the computing power to be traded, the identification of the demanded node and the node information of the processing node. The processing node is at least one node processing the computing power to be traded in each node of the network; , to obtain the computing power output information of the processing node; based on the computing power transaction plan and computing power output information, execute the preset smart contract to generate transaction information, which includes transaction data and transaction results. It can be seen that the corresponding computing power transaction scheme is determined through the computing power transaction request, which avoids the waste of computing power in the network and realizes the diversification of the use of computing power.
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种分布式网络中基于区块链的算力流通方法及系统。The present application relates to the field of communication technologies, and in particular, to a method and system for computing power circulation based on blockchain in a distributed network.
背景技术Background technique
随着当前电子工业和物联网相关技术的推进和发展,越来越多的工业和生活物品出现智能化发展趋势,同时算力的闲置和算力使用浪费现象也越来越严重。算力是指计算能力,其包括支撑计算的资源以及所呈现出的能力,如存储能力。With the advancement and development of the current electronics industry and related technologies of the Internet of Things, more and more industrial and daily items have developed a trend of intelligent development. At the same time, the phenomenon of idle computing power and waste of computing power have become more and more serious. Computing power refers to computing power, which includes the resources that support computing and the capabilities presented, such as storage capabilities.
目前,采用公有链挖矿机制(或称工作量证明机制(Proof Of Work,POW))来解决算力的闲置和算力使用浪费的问题:在区块链的去中心化的分布式系统中,使用算力进行的哈希值运算,通过庞大的计算量不断的寻求指定方程组的特解,并获取一定报酬的机制。POW机制为网络中接入设备(或称“节点”)争取记账权的机制。以比特币为例,根据网络中接入设备(或称“节点”)的算力计算预设哈希函数的哈希值,计算出满足条件的哈希值的节点获取相应的比特币,其中,算力大的节点最先算出满足条件的哈希值的概率最大,最后由获取比特币的节点向比特币区块链上传交易信息。At present, the public chain mining mechanism (or Proof Of Work (POW)) is used to solve the problem of idle computing power and waste of computing power: in the decentralized distributed system of the blockchain , the hash value operation using computing power, the mechanism of continuously seeking the special solution of the specified equation system through the huge amount of calculation, and obtaining a certain reward. The POW mechanism is a mechanism for the access devices (or "nodes") in the network to obtain accounting rights. Taking Bitcoin as an example, the hash value of the preset hash function is calculated according to the computing power of the access device (or "node") in the network, and the node that calculates the hash value that satisfies the conditions obtains the corresponding Bitcoin, wherein , the node with large computing power has the highest probability of calculating the hash value that meets the conditions first, and finally the node that obtains bitcoin uploads transaction information to the bitcoin blockchain.
然而,发明人发现公有链挖矿机制中算力消耗只用于计算哈希值,导致算力的使用方式比较单一,且POW机制争取记账权的方式需要通过大量运算获得,不仅造成了算力的浪费,且交易效率较低。However, the inventor found that the computing power consumption in the public chain mining mechanism is only used to calculate the hash value, resulting in a relatively simple way of using the computing power, and the POW mechanism needs to obtain the accounting right through a large number of operations, which not only causes the calculation waste of power and low transaction efficiency.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种分布式网络中基于区块链的算力流通方法及系统。用于解决现有技术中算力的使用方式单一,算力浪费的问题。The embodiments of the present application provide a method and system for computing power circulation based on blockchain in a distributed network. It is used to solve the problem of single use of computing power and waste of computing power in the prior art.
第一方面,提供了一种分布式网络中基于区块链的算力流通方法,该方法的执行主体为证明节点,该方法可以包括:接收需求节点发布的算力交易请求,算力交易请求包括交易类型、待交易算力、需求节点标识,算力交易请求是由需求节点基于获取的算力需求生成的;基于算力交易请求和存储的网络各节点的算力,确定算力交易方案,算力交易方案包括交易类型、待交易算力、需求节点标识和处理节点的节点信息,处理节点为网络各节点中处理待交易算力的至少一个节点,处理节点的节点信息包括处理节点的节点标识和处理节点的算力;广播算力交易方案。In a first aspect, a method for computing power circulation based on blockchain in a distributed network is provided. The execution body of the method is a certification node. The method may include: receiving a computing power transaction request issued by a demand node, and the computing power transaction request. Including the transaction type, the computing power to be traded, and the identification of the demand node. The computing power transaction request is generated by the demand node based on the obtained computing power demand; based on the computing power transaction request and the stored computing power of each node in the network, the computing power transaction plan is determined. , the computing power transaction scheme includes the transaction type, the computing power to be traded, the identification of the demanded node, and the node information of the processing node. The processing node is at least one node that processes the computing power to be traded in each node of the network. Node identification and computing power of processing nodes; broadcast computing power trading scheme.
该技术方案通过算力交易请求确定出相应的算力交易方案,降低了网络中的算力浪费,且与现有技术仅使用算力进行哈希值运算相比,实现了算力的使用方式多样化。The technical solution determines the corresponding computing power transaction scheme through the computing power transaction request, which reduces the waste of computing power in the network, and realizes the use of computing power compared with the prior art that only uses computing power for hash value operation. diversification.
在一个可选的实现中,接收需求节点发布的算力交易请求之前,该方法还包括:In an optional implementation, before receiving the computing power transaction request issued by the demand node, the method further includes:
存储网络各节点的算力和算力参考报价,所述网络各节点包括处理节点和需求节点。The computing power and computing power of each node of the storage network include the processing node and the demand node.
该方式可以提高获取交易请求的准确性,进而提高交易的准确性。This method can improve the accuracy of obtaining the transaction request, thereby improving the accuracy of the transaction.
在一个可选的实现中,确定算力交易方案之后,该方法还包括:In an optional implementation, after determining the computing power trading scheme, the method further includes:
将算力交易方案上传至区块链进行存储,以便在网络的区块链对该方案进行确认和记录。Upload the computing power transaction plan to the blockchain for storage, so that the plan can be confirmed and recorded in the network's blockchain.
在一个可选的实现中,算力交易方案还包括所述需求节点的公钥。In an optional implementation, the computing power transaction scheme further includes the public key of the demand node.
第二方面,提供了一种分布式网络中基于区块链的算力流通方法,该方法的执行主体为处理节点,该方法可以包括:In a second aspect, a blockchain-based computing power circulation method in a distributed network is provided, the execution subject of the method is a processing node, and the method may include:
接收算力交易方案,算力交易方案包括交易类型、待交易算力、需求节点标识和所述处理节点的节点信息,所述处理节点的节点信息包括所述处理节点的节点标识和所述处理节点的算力;Receive a computing power transaction scheme, where the computing power transaction scheme includes the transaction type, the computing power to be traded, the demand node identifier, and the node information of the processing node, and the node information of the processing node includes the node identifier of the processing node and the processing node. The computing power of the node;
基于处理节点的节点标识,获取算力输出信息;Obtain computing power output information based on the node identifier of the processing node;
基于算力交易方案和算力输出信息,执行预设智能合约,生成交易信息,交易信息包括交易数据和交易结果。Based on the computing power trading scheme and computing power output information, the preset smart contract is executed to generate transaction information, which includes transaction data and transaction results.
在一个可选的实现中,接收算力交易方案之前,该方法还可以包括:In an optional implementation, before receiving the computing power transaction scheme, the method may further include:
存储网络各节点的算力和算力参考报价,网络各节点包括处理节点和需求节点。The computing power and computing power of each node of the storage network refer to the quotation, and each node of the network includes processing nodes and demand nodes.
在一个可选的实现中,算力交易方案还包括所述需求节点的公钥;所述算力输出信息为采用所述公钥加密后的信息;In an optional implementation, the computing power transaction scheme further includes the public key of the demand node; the computing power output information is information encrypted with the public key;
基于所述算力交易方案和所述算力输出信息,执行预设智能合约,生成交易信息,包括:Based on the computing power transaction scheme and the computing power output information, execute a preset smart contract to generate transaction information, including:
采用需求节点的公钥对应的私钥,对算力输出信息进行解密;Use the private key corresponding to the public key of the demand node to decrypt the output information of the computing power;
基于解密后的算力输出信息和算力交易方案,执行预设智能合约,生成交易信息。Based on the decrypted computing power output information and computing power transaction scheme, the preset smart contract is executed to generate transaction information.
与现有技术仅使用算力进行哈希值运算相比,该步骤通过算力输出信息建立需求节点与各个处理节点间的算力流通通道,以实现算力使用方式的多样化。Compared with the prior art that only uses the computing power to perform the hash value operation, this step establishes the computing power circulation channel between the demand node and each processing node through the computing power output information, so as to realize the diversification of the computing power usage mode.
在一个可选的实现中,生成交易信息之后,该方法还可以包括:In an optional implementation, after generating the transaction information, the method may further include:
将交易信息上传至区块链,并获取处理节点和需求节点的当前算力,以更新存储的网络各节点的算力。Upload transaction information to the blockchain, and obtain the current computing power of processing nodes and demand nodes to update the stored computing power of each node in the network.
第三方面,提供了一种基于区块链的算力流通系统,该系统可以包括:交易发布子系统、交易连接子系统,交易执行子系统和交易确认子系统;In a third aspect, a blockchain-based computing power circulation system is provided, the system may include: a transaction publishing subsystem, a transaction connection subsystem, a transaction execution subsystem and a transaction confirmation subsystem;
交易发布子系统,用于基于需求节点的算力需求,发布需求节点的算力交易请求,算力交易请求包括交易类型、待交易算力、需求节点标识,所述交易发布子系统设置于需求节点中;The transaction publishing subsystem is used to publish the computing power transaction request of the demand node based on the computing power demand of the demand node. The computing power transaction request includes the transaction type, the computing power to be traded, and the identification of the demand node. in node;
交易连接子系统,用于基于算力交易请求和存储的网络各节点的算力,确定算力交易方案,所述算力交易方案包括交易类型、待交易算力、需求节点标识和处理节点的节点信息,处理节点为网络各节点中处理待交易算力的至少一个节点,所述交易连接子系统设置于证明节点中;The transaction connection subsystem is used to determine the computing power transaction scheme based on the computing power of each node of the network based on the computing power transaction request and storage. Node information, the processing node is at least one node processing computing power to be traded in each node of the network, and the transaction connection subsystem is set in the proof node;
交易执行子系统,用于基于处理节点的节点信息,获取处理节点的算力输出信息,所述交易执行子系统设置于处理节点中;a transaction execution subsystem, configured to acquire the computing power output information of the processing node based on the node information of the processing node, and the transaction execution subsystem is arranged in the processing node;
交易确认子系统,用于基于算力交易方案和算力输出信息,执行预设智能合约,生成交易信息,交易信息包括交易数据和交易结果,所述交易连接子系统设置于所述处理节点中。The transaction confirmation subsystem is used to execute the preset smart contract based on the computing power transaction plan and the computing power output information, and generate transaction information, the transaction information includes transaction data and transaction results, and the transaction connection subsystem is arranged in the processing node. .
在一个可选的实现中,该系统还包括算力监控子系统,所述算力监控子系统设置于所述需求节点、所述证明节点和所述处理节点中;In an optional implementation, the system further includes a computing power monitoring subsystem, and the computing power monitoring subsystem is provided in the demand node, the certification node, and the processing node;
算力监控子系统,用于在交易发布子系统发布需求节点的算力交易请求之前,存储网络各节点的算力和算力参考报价,网络各节点包括处理节点和需求节点;The computing power monitoring subsystem is used to store the computing power and computing power reference quotations of each node of the network before the transaction publishing subsystem publishes the computing power transaction request of the demand node, and each node of the network includes the processing node and the demand node;
获取需求节点的算力需求,算力需求包括交易类型、需求节点的待交易算力、需求节点的账户金额;Obtain the computing power demand of the demand node, which includes the transaction type, the demand node's pending transaction computing power, and the demand node's account amount;
当待交易算力在处理节点的算力总和范围内,且需求节点的账户金额满足算力参考报价时,发布需求节点的算力交易请求。When the computing power to be traded is within the range of the total computing power of the processing nodes, and the account amount of the demand node meets the computing power reference quotation, the computing power transaction request of the demand node is issued.
在一个可选的实现中,交易连接子系统,还用于在确定算力交易方案之后,将算力交易方案上传至区块链进行存储。In an optional implementation, the transaction connection subsystem is further configured to upload the computing power trading scheme to the blockchain for storage after the computing power trading scheme is determined.
在一个可选的实现中,算力交易方案还包括需求节点的公钥;算力输出信息为采用公钥加密后的信息;In an optional implementation, the computing power transaction scheme further includes the public key of the demanded node; the computing power output information is the information encrypted with the public key;
交易确认子系统,具体用于采用需求节点的公钥对应的私钥,对算力输出信息进行解密;The transaction confirmation subsystem is specifically used to decrypt the computing power output information by using the private key corresponding to the public key of the demand node;
基于解密后的算力输出信息和算力交易方案,执行预设智能合约,生成交易信息。Based on the decrypted computing power output information and computing power transaction scheme, the preset smart contract is executed to generate transaction information.
在一个可选的实现中,交易确认子系统,还用于在交易确认子系统生成交易信息之后,将交易信息上传至区块链;In an optional implementation, the transaction confirmation subsystem is further configured to upload the transaction information to the blockchain after the transaction confirmation subsystem generates the transaction information;
算力监控子系统,还用于获取处理节点和需求节点的当前算力,以更新存储的网络各节点的算力。The computing power monitoring subsystem is also used to obtain the current computing power of processing nodes and demand nodes, so as to update the stored computing power of each node of the network.
第四方面,提供了一种电子设备,该电子设备包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In a fourth aspect, an electronic device is provided, the electronic device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
存储器,用于存放计算机程序;memory for storing computer programs;
处理器,用于执行存储器上所存放的程序时,实现上述第一方面中任一所述的方法步骤或上述第二方面中任一项上所述的方法步骤。The processor is configured to implement any one of the method steps described in the first aspect or the method steps described in any one of the second aspect when executing the program stored in the memory.
第五方面,提供了一种计算机可读存储介质,该计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面中任一所述的方法步骤或上述第二方面中任一所述的方法步骤。In a fifth aspect, a computer-readable storage medium is provided, and a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any one of the method steps in the first aspect or the above-mentioned method steps is implemented. The method steps of any one of the second aspects.
该技术方案基于需求节点的算力需求,发布算力交易请求,算力交易请求包括交易类型、待交易算力、需求节点标识;基于算力交易请求和存储的网络各节点的算力,确定算力交易方案,算力交易方案包括交易类型、待交易算力、需求节点标识和处理节点的节点信息,处理节点为网络各节点中处理待交易算力的至少一个节点;基于处理节点的节点信息,获取处理节点的算力输出信息;基于算力交易方案和算力输出信息,执行预设智能合约,生成交易信息,交易信息包括交易数据和交易结果。可见,该技术方案通过算力交易请求确定出相应的算力交易方案,降低了网络中的算力浪费,且与现有技术仅使用算力进行哈希值运算相比,实现了算力的使用方式多样化。The technical solution issues a computing power transaction request based on the computing power demand of the demand node. The computing power transaction request includes the transaction type, the computing power to be traded, and the identification of the demanded node. Based on the computing power transaction request and the stored computing power of each node in the network, determine The computing power trading scheme, the computing power trading scheme includes the transaction type, the computing power to be traded, the identification of the demanded node, and the node information of the processing node. The processing node is at least one node in each network node that processes the computing power to be traded; information, obtain the computing power output information of the processing node; based on the computing power transaction plan and computing power output information, execute the preset smart contract to generate transaction information, and the transaction information includes transaction data and transaction results. It can be seen that the technical solution determines the corresponding computing power transaction scheme through the computing power transaction request, which reduces the waste of computing power in the network, and realizes the reduction of computing power compared with the prior art that only uses computing power for hash value operation. Diversified usage.
附图说明Description of drawings
图1为本发明实施例提供的分布式网络中基于区块链的算力流通方法应用的网络架构图;1 is a network architecture diagram of an application of a blockchain-based computing power circulation method in a distributed network provided by an embodiment of the present invention;
图2为本发明实施例提供的一种节点分布示意图;FIG. 2 is a schematic diagram of node distribution according to an embodiment of the present invention;
图3A为本发明实施例提供的一种分布式网络中基于区块链的算力流通系统的结构示意图;3A is a schematic structural diagram of a blockchain-based computing power circulation system in a distributed network according to an embodiment of the present invention;
图3B为图3A中交易发布子系统的结构示意图;3B is a schematic structural diagram of the transaction publishing subsystem in FIG. 3A;
图3C为图3A中交易连接子系统的结构示意图;3C is a schematic structural diagram of the transaction connection subsystem in FIG. 3A;
图3D为图3A中交易执行子系统的结构示意图;3D is a schematic structural diagram of the transaction execution subsystem in FIG. 3A;
图3E为图3A中交易确认子系统的结构示意图;3E is a schematic structural diagram of the transaction confirmation subsystem in FIG. 3A;
图3F为图3A中算力监控子系统的结构示意图;3F is a schematic structural diagram of the computing power monitoring subsystem in FIG. 3A;
图4为本发明实施例提供的一种分布式网络中基于区块链的算力流通方法的流程示意图;FIG. 4 is a schematic flowchart of a blockchain-based computing power circulation method in a distributed network provided by an embodiment of the present invention;
图5为本发明实施例提供的一种算力流通装置的结构示意图;FIG. 5 is a schematic structural diagram of a computing power circulation device according to an embodiment of the present invention;
图6为本发明实施例提供的另一种算力流通装置的结构示意图;FIG. 6 is a schematic structural diagram of another computing power circulation device provided by an embodiment of the present invention;
图7为本发明实施例提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,并不是全部的实施例。基于本申请实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the protection of the present application.
本发明实施例提供的基于区块链的算力流通方法可以应用在图1所述的区块链的去中心化的分布式网络中,该网络可以包括多种类型的终端设备,如大小型计算机,各类工业设备,各类生活电子设备等,其中,生活电子设备可以是用户设备(User Equipment,UE)、具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备、移动台(Mobile station,MS)等等。每个终端设备可以被看做为一个网络节点(下面称“节点”),节点之间可以通过无线网络或有限网络互联互通。节点根据算力大小可以将节点分为2类不同的角色,算力较大的节点为整个系统中节点间的交易进行证明,即可称作证明节点(如争取到记账权的节点);算力较小的节点进行算力交易,即可称作交易节点。2类角色在同一节点可以共存,可称为交易节点/证明节点,该网络的节点具体分布图如图2所示,且设定证明节点可以获取交易佣金,交易节点通过发起交易需求付出佣金。其中,节点的算力大小可以通过节点的综合能力来衡量,综合能力可以包括存储能力、计算能力、网络连接能力等。The blockchain-based computing power circulation method provided by the embodiment of the present invention can be applied to the decentralized distributed network of the blockchain as shown in FIG. 1 , and the network may include various types of terminal devices, such as large and small Computers, all kinds of industrial equipment, all kinds of living electronic equipment, etc., where the living electronic equipment can be user equipment (User Equipment, UE), handheld equipment with wireless communication function, vehicle equipment, wearable equipment, computing equipment or connected to Other processing equipment of the wireless modem, Mobile Station (MS), etc. Each terminal device can be regarded as a network node (hereinafter referred to as "node"), and the nodes can communicate with each other through a wireless network or a limited network. Nodes can divide nodes into two different roles according to their computing power. Nodes with larger computing power can prove transactions between nodes in the entire system, which can be called proof nodes (such as nodes that win the right to bookkeeping); Nodes with less computing power that conduct computing power transactions can be called transaction nodes. Two types of roles can coexist on the same node, which can be called transaction nodes/proof nodes. The specific distribution of nodes in the network is shown in Figure 2, and the proof nodes can be set to obtain transaction commissions, and the transaction nodes pay commissions by initiating transaction requirements. Among them, the computing power of a node can be measured by the comprehensive capability of the node, which can include storage capability, computing capability, and network connection capability.
交易节点(或称“需求节点”)可发布算力交易请求,算力交易请求可以包括算力需求和算力报价,算力需求可以包括交易类型、待交易算力、节点账户金额等信息。其中,交易类型包括买入算力类型或卖出算力类型,故待交易算力可以是待买入算力或待卖出算力的量。算力交易请求发布后,由证明节点根据算力交易请求中的交易需求,给出算力交易方案,算力交易方案为网络中至少一个处理节点的组合方案,处理节点为网络中可以处理待交易算力的节点,收取交易佣金,然后发布算力交易方案,具有记账权的证明节点将算力交易方案记入区块链。需求节点与处理节点根据该交易方案建立算力流通通道,最后将算力交易方案与智能合约相结合,完成最终算力流通交易。A transaction node (or "demand node") can issue a computing power transaction request. The computing power transaction request can include computing power demand and computing power quotation, and the computing power demand can include information such as transaction type, computing power to be traded, and node account amount. Among them, the transaction type includes the type of computing power to buy or the type of computing power to sell, so the computing power to be traded can be the amount of computing power to be bought or the amount of computing power to be sold. After the computing power transaction request is released, the proving node will give a computing power transaction scheme according to the transaction requirements in the computing power transaction request. The computing power transaction scheme is a combination scheme of at least one processing node in the network. The nodes that trade computing power charge transaction commissions, and then publish the computing power trading plan, and the proof nodes with accounting rights record the computing power trading plan into the blockchain. The demand node and the processing node establish a computing power circulation channel according to the transaction scheme, and finally combine the computing power trading scheme with the smart contract to complete the final computing power circulation transaction.
可见,在上述网络中算力交易过程不依赖某个具体节点,本申请对提供算力的资源类型没有严格要求,能够使不同计算类型资源通用,可最大程度避免计算资源浪费,并且通过建立算力流通通道使交易双方进行沟通,保证了算力交易不依赖某个具体节点,实现算力使用方式的多样化。It can be seen that the computing power transaction process in the above network does not depend on a specific node. This application does not have strict requirements on the type of resources that provide computing power, which can make resources of different computing types common, and can avoid the waste of computing resources to the greatest extent. The power circulation channel enables communication between the two parties of the transaction, which ensures that the computing power transaction does not depend on a specific node, and realizes the diversification of the use of computing power.
以下结合说明书附图对本申请的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明,并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The preferred embodiments of the present application will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and not to limit the present invention, and the present application The embodiments in and features in the embodiments can be combined with each other.
图3A为本发明实施例提供的一种分布式网络中基于区块链的算力流通系统的结构示意图。如图3A所示,该系统可以包括5个子系统分别为:交易发布子系统(TransactionRelease Subsystems,TRS)310、交易连接子系统(Transaction Link Subsystems,TLS)320,交易执行子系统(Transaction Execution Subsystems,TES)330,交易确认子系统(Transaction Confirmation Subsystems,TCS)340和算力监控子系统(ComputingCapability Monitoring Subsystems,CCMS)350。3A is a schematic structural diagram of a blockchain-based computing power circulation system in a distributed network according to an embodiment of the present invention. As shown in FIG. 3A , the system may include five subsystems: Transaction Release Subsystems (TRS) 310, Transaction Link Subsystems (TLS) 320, Transaction Execution Subsystems (Transaction Execution Subsystems, TES) 330 , Transaction Confirmation Subsystems (TCS) 340 and Computing Capability Monitoring Subsystems (CCMS) 350 .
为了保证了算力交易不依赖某个具体节点,实现算力使用方式的多样化,本发明实施例中的上述5个子系统可以根据节点的功能类型分布到相应的节点上。In order to ensure that computing power transactions do not depend on a specific node and realize the diversification of computing power usage modes, the above-mentioned five subsystems in the embodiment of the present invention may be distributed to corresponding nodes according to the function types of the nodes.
CCMS 350,用于获取网络中网络各节点的算力信息,并进行存储,算力信息可以包括网络各节点的算力,如存储算力、计算算力等多种类型的算力和相应的算力参考报价,并在网络中广播发送算力信息。其中,网络各节点的算力包括处理节点上可进行处理的算力和需求节点的待交易算力,CCMS可以分布在所有参加算力流通的节点上。The
TRS 310,用于基于需求节点的算力需求,发布算力交易请求,算力交易请求可以包括交易类型、需求节点的待交易算力、需求节点的账户金额、需求节点的信用等级、需求节点的公钥等信息,该待交易算力可以是待买入或待卖出的算力,TRS可以分布在需求节点上。
TLS 320,用于基于算力交易请求和CCMS 350中存储的网络各节点的算力,确定算力交易方案,TLS可以分布在证明节点上。
TES 330,用于基于算力交易方案中处理节点的节点信息,获取处理节点的算力输出信息,算力输出信息可以是处理节点的算力输出接口,通过算力输出接口发起交易执行流程,TES可以分布在输出算力节点上,处理节点的节点信息包括处理节点的节点标识和处理节点的算力。
TCS 340,用于基于算力交易方案和处理节点的算力输出信息,执行预设智能合约,生成交易信息,TCS可以分布在输出算力节点和需求节点上,处理节点的算力输出信息可以是处理节点的算力输出接口。
其中,如图3B所示,TRS 310可以包括验证模块311和发布模块312。Wherein, as shown in FIG. 3B , the
验证模块311,用于验证待交易算力是否在CCMS 350存储的处理节点的算力总和范围内,且需求节点的账户金额是否满足算力参考报价。The verification module 311 is used to verify whether the computing power to be traded is within the range of the total computing power of the processing nodes stored in the
发布模块312,用于当待交易算力在存储的处理节点的算力总和范围内,且需求节点的账户金额满足算力参考报价时,分配合理的交易实施佣金,发布算力交易请求,算力交易请求可以包括交易类型、待交易算力、需求节点标识、交易实施佣金、需求节点的公钥、需求节点的信用等级等信息。The publishing module 312 is used to allocate a reasonable commission for transaction implementation when the computing power to be traded is within the range of the total computing power of the stored processing nodes, and the account amount of the demand node meets the computing power reference quotation, publish the computing power transaction request, and calculate the computing power. The power transaction request may include information such as transaction type, computing power to be traded, identification of the demanded node, transaction implementation commission, public key of the demanded node, and credit rating of the demanded node.
当待交易算力不在存储的处理节点的算力总和范围内,和/或需求节点的账户金额不满足算力参考报价时,拒绝发布算力交易请求,或输出需求错误的告警。When the computing power to be traded is not within the range of the total computing power of the stored processing nodes, and/or the account amount of the demand node does not meet the computing power reference quotation, it will refuse to issue a computing power transaction request, or output an alarm of wrong demand.
如图3C所示,TLS 320可以包括接收模块321、验证模块322、方案确定模块323、入链确认模块324和广播模块325。As shown in FIG. 3C , the
接收模块321,用于接收TRS 310发布的算力交易请求。The receiving module 321 is configured to receive the computing power transaction request issued by the
验证模块322,用于验证需求节点的信用等级是否满足预设信用等级、验证待交易算力是否在CCMS 350存储的处理节点的算力总和范围内,以及需求节点的账户金额是否满足算力参考报价。The verification module 322 is used to verify whether the credit level of the demand node satisfies the preset credit level, whether the computing power to be traded is within the range of the total computing power of the processing nodes stored in the
方案确定模块323,用于在上述验证都通过后,基于算力交易请求,从存储的网络各节点中查找满足待交易算力的处理节点的组合方案,确定算力交易方案。The
入链确认模块324,用于将算力交易方案上传至区块链,并收取发布模块312分配的交易实施佣金。The chain entry confirmation module 324 is used to upload the computing power transaction plan to the blockchain, and collect the transaction implementation commission allocated by the publishing module 312 .
广播模块325,用于广播发送算力交易方案,交易方案交易类型、待交易算力、需求节点标识、需求节点的公钥和处理节点的节点信息,如处理节点的标识和处理节点的算力。The broadcasting module 325 is used to broadcast and send the computing power transaction scheme, the transaction type of the transaction scheme, the computing power to be traded, the identification of the demanded node, the public key of the demanded node and the node information of the processing node, such as the identification of the processing node and the computing power of the processing node .
如图3D所示,TES 330可以包括查询模块331、验证模块332和发起模块333。As shown in FIG. 3D , the
查询模块331,用于定时查询区块链上确认的算力交易方案,当查询到自身所在处理节点的标识时,触发验证模块332。The query module 331 is used for regularly querying the confirmed computing power transaction scheme on the blockchain, and when the identifier of the processing node where it is located is queried, the verification module 332 is triggered.
验证模块332,用于验证算力方案中的待交易算力是否在CCMS 350存储的处理节点的算力总和范围内,需求节点的账户金额是否满足算力参考报价。The verification module 332 is used to verify whether the computing power to be traded in the computing power scheme is within the range of the total computing power of the processing nodes stored in the
发起模块333,用于在上述验证都通过后,基于算力交易方案中处理节点的节点信息,获取处理节点的算力输出信息,并广播发出算力输出信息。其中,算力输出信息为采用需求节点的公钥加密后的信息,算力输出信息可以是处理节点的算力输出接口。The initiating module 333 is configured to obtain the computing power output information of the processing node based on the node information of the processing node in the computing power transaction scheme, and broadcast the computing power output information after all the above verifications are passed. The computing power output information is the information encrypted with the public key of the demand node, and the computing power output information may be the computing power output interface of the processing node.
如图3E所示,TCS 340可以包括入链确认模块341和结算执行模块342。As shown in FIG. 3E , the
结算执行模块342,用于基于算力输出信息,建立处理节点与需求节点间的算力流通管道,之后基于算力交易方案,执行预设智能合约,生成交易信息,交易信息包括交易数据和交易结果。The settlement execution module 342 is used to establish a computing power circulation pipeline between the processing node and the demand node based on the computing power output information, and then execute the preset smart contract based on the computing power transaction plan to generate transaction information, and the transaction information includes transaction data and transactions. result.
入链确认模块341,用于将交易信息上传至区块链。The chain entry confirmation module 341 is used to upload transaction information to the blockchain.
如图3F所示,CCMS 350可以包括算力收集模块351、算力评估模块352和算力公告模块353。As shown in FIG. 3F , the
算力收集模块351,用于收集网络中网络各节点的算力信息,并实时更新。The computing
算力评估模块352,用于接收区块链中存储的网络各节点的算力信息,结合网络状况,如网络连接情况、网络中处理节点可计划的算力量等,提供算力参考价格。The computing
算力公告模块353,用于广播发送网络各节点的算力信息。The computing
算力流通系统的工作过程如下:The working process of the computing power circulation system is as follows:
CCMS 350的算力收集模块351收集网络中网络各节点的存储算力、运算算力等多种类型的算力,以及相应算力参考报价,在算力评估模块352对收集的算力进行评估后,触发算力公告模块353在网络中广播发送。The computing
TRS 310的验证模块311在验证出需求节点的算力需求中待交易算力不在CCMS350存储的处理节点的算力总和范围内,且需求节点的账户金额不满足算力参考报价后,拒绝发布算力交易请求,或输出需求错误的告警。反之,在待交易算力在CCMS 350存储的处理节点的算力总和范围内,且需求节点的账户金额满足算力参考报价后,触发发布模块312发布算力交易请求。After the verification module 311 of the
TLS 320的接收模块321接收发布模块312发布的算力交易请求后,触发验证模块322验证需求节点的信用等级是否满足预设信用等级、验证待交易算力是否在CCMS 350存储的处理节点的算力总和范围内,以及需求节点的账户金额是否满足算力参考报价。After receiving the computing power transaction request issued by the publishing module 312, the receiving module 321 of the
若验证需求节点的信用等级满足预设信用等级、验证待交易算力在CCMS350存储的处理节点的算力总和范围内,以及需求节点的账户金额满足算力参考报价,则方案确定模块323基于算力交易请求,从存储的网络各节点中查找满足待交易算力的处理节点的组合方案,确定算力交易方案,之后入链确认模块324将算力交易方案上传至区块链,广播模块325在网络中广播发送该算力交易方案。If it verifies that the credit rating of the demand node satisfies the preset credit level, that the computing power to be traded is within the range of the total computing power of the processing nodes stored in the CCMS350, and that the account amount of the demand node satisfies the computing power reference quotation, the
TES 330定时查询区块链上确认的算力交易方案,当查询到自身所在处理节点的标识时,触发验证模块332。当验证模块332验证出算力方案中的待交易算力在CCMS 350存储的处理节点的算力总和范围内,需求节点的账户金额满足算力参考报价时,获取该处理节点的算力输出信息。The
TCS 340的结算执行模块342通过建立的需求节点与各个处理节点间的算力流通通道,使用算力交易方案中的算力执行预设智能合约,生成包括交易数据和交易结果的交易信息,之后入链确认模块341将该交易信息上传至区块链,完成最终算力流通交易。The settlement execution module 342 of the
该系统通过算力交易请求确定出相应处理节点组合的算力交易方案,可最大程度避免算力浪费,且与现有技术仅使用算力进行哈希值运算相比,实现了算力的使用方式多样化。The system determines the computing power transaction scheme of the corresponding processing node combination through the computing power transaction request, which can avoid the waste of computing power to the greatest extent, and realizes the use of computing power compared with the prior art that only uses computing power for hash value operation. ways to diversify.
图4为本发明实施例提供的一种基于区块链的算力流通方法的流程示意图。如图4所示,该方法可以包括:FIG. 4 is a schematic flowchart of a blockchain-based computing power circulation method provided by an embodiment of the present invention. As shown in Figure 4, the method may include:
步骤410、需求节点发布算力交易请求。Step 410: The demand node issues a computing power transaction request.
算力交易请求可以包括交易类型、待交易算力、需求节点标识、需求节点的公钥、需求节点的信用等级、需求节点的交易实施佣金等信息。其中,交易类型包括买入算力类型或卖出算力类型,故待交易算力包括待买入算力或待卖出算力的量。The computing power transaction request may include information such as the transaction type, the computing power to be traded, the identification of the demanded node, the public key of the demanded node, the credit rating of the demanded node, and the transaction implementation commission of the demanded node. Among them, the transaction type includes the type of computing power to buy or the type of computing power to sell, so the computing power to be traded includes the amount of computing power to be bought or the amount of computing power to be sold.
在执行该步骤之前,需求节点收集网络各节点的算力和算力参考报价,并进行存储,网络各节点包括处理节点和需求节点;处理节点是网络各节点中处理待交易算力的至少一个节点,处理节点可以收集本节点信息,并广播输出本节点可交易算力信息。Before performing this step, the demand node collects the computing power and computing power reference quotations of each network node, and stores them. Each network node includes a processing node and a demand node; the processing node is at least one of the network nodes processing the computing power to be traded. Nodes, processing nodes can collect the information of this node, and broadcast and output the information of the tradable computing power of this node.
需求节点获取算力需求,算力需求包括交易类型、需求节点的待交易算力、需求节点的账户金额;The demand node obtains the computing power demand, which includes the transaction type, the computing power to be traded by the demand node, and the account amount of the demand node;
为了提高算力交易的准确性,分别对待交易算力与存储的处理节点的算力总和,以及需求节点的账户金额与算力参考报价进行验证。In order to improve the accuracy of computing power transactions, the transaction computing power and the total computing power of the storage processing nodes, as well as the account amount of the demand node and the computing power reference quotation are respectively verified.
若待交易算力在处理节点的算力总和范围内,且需求节点的账户金额满足算力参考报价,则分配合理的交易实施佣金,之后发布需求节点的算力交易请求;若待交易算力不在处理节点的算力总和范围内和/或需求节点的账户金额不满足算力参考报价,则拒绝发布算力交易请求,或输出需求错误的告警。If the computing power to be traded is within the range of the total computing power of the processing nodes, and the account amount of the demanded node meets the computing power reference quotation, a reasonable commission for transaction implementation will be allocated, and then the computing power transaction request of the demanded node will be issued; If it is not within the range of the total computing power of the processing node and/or the account amount of the demand node does not meet the computing power reference quotation, it will refuse to issue a computing power transaction request, or output an alarm of wrong demand.
步骤420、证明节点基于算力交易请求和存储的网络各节点的算力,确定算力交易方案。Step 420: The proof node determines the computing power transaction scheme based on the computing power transaction request and the stored computing power of each node in the network.
在执行该步骤之前,为了提高算力交易的准确性,需要验证需求节点的信用等级是否满足预设信用等级,验证待交易算力是否在存储的处理节点的算力总和范围内,以及需求节点的账户金额是否满足算力参考报价。Before executing this step, in order to improve the accuracy of computing power transactions, it is necessary to verify whether the credit level of the demand node meets the preset credit level, verify whether the computing power to be traded is within the range of the total computing power of the stored processing nodes, and whether the demand node Whether the account amount meets the computing power reference quotation.
若验证需求节点的信用等级不满足预设信用等级、验证待交易算力不在存储的处理节点的算力总和范围内,和/或需求节点的账户金额不满足算力参考报价,则输出交易错误的告警。If the credit level of the verification demand node does not meet the preset credit level, the verification to-be-transaction computing power is not within the range of the total computing power of the stored processing nodes, and/or the account amount of the demand node does not meet the computing power reference quotation, the transaction error will be output. 's warning.
若验证需求节点的信用等级满足预设信用等级,验证待交易算力在存储的处理节点的算力总和范围内,以及需求节点的账户金额满足算力参考报价,则基于算力交易请求,从存储的网络各节点中查找满足待交易算力的处理节点的组合方案,作为算力交易方案。If it is verified that the credit level of the demand node satisfies the preset credit level, the computing power to be traded is within the range of the total computing power of the stored processing nodes, and the account amount of the demand node meets the computing power reference quotation, then based on the computing power transaction request, from In each node of the stored network, a combination scheme of processing nodes that satisfies the computing power to be traded is searched as a computing power trading scheme.
其中,算力交易方案包括交易类型、待交易算力、需求节点标识、需求节点的公钥和处理节点的节点信息,处理节点的节点信息包括处理节点的节点标识和处理节点的算力。可见,算力交易方案是一个需求节点与至少一个处理节点间的算力交易,即一对多的算力交易关系,避免了业务的耦合性。The computing power transaction scheme includes the transaction type, the computing power to be traded, the identification of the demanded node, the public key of the demanded node, and the node information of the processing node. The node information of the processing node includes the node identification of the processing node and the computing power of the processing node. It can be seen that the computing power transaction scheme is a computing power transaction between a demand node and at least one processing node, that is, a one-to-many computing power transaction relationship, which avoids business coupling.
可选地,为了减少资源的浪费,选取满足待交易算力的处理节点组合方案中资源浪费最少的处理节点组合方案作为算力交易方案。Optionally, in order to reduce the waste of resources, the processing node combination scheme with the least resource waste among the processing node combination schemes satisfying the computing power to be traded is selected as the computing power transaction scheme.
例如,需求节点的交易类型为买入存储算力,待交易算力为买入4M的存储算力。存储的网络各节点中处理节点A有3M的存储算力,处理节点B有2M的存储算力,处理节点C有1M的存储算力。满足买入4M的存储算力的处理节点组合方案包括:处理节点A与处理节点B的组合和处理节点A与处理节点C的组合。处理节点A与处理节点B的组合后的存储算力为5M,处理节点A与处理节点C的组合后的存储算力为4M,可见,由于选择处理节点A与处理节点B的组合会有1M的存储算力被浪费,故最优的算力交易方案为处理节点A与处理节点C的组合。For example, the transaction type of the demand node is to buy storage computing power, and the computing power to be traded is to buy 4M of storage computing power. In each node of the storage network, processing node A has a storage computing power of 3M, processing node B has a storage computing power of 2M, and processing node C has a storage computing power of 1M. The processing node combination scheme that satisfies the purchase of 4M storage computing power includes: the combination of processing node A and processing node B, and the combination of processing node A and processing node C. The storage computing power of the combination of processing node A and processing node B is 5M, and the storage computing power of the combination of processing node A and processing node C is 4M. It can be seen that the combination of processing node A and processing node B will have 1M. Therefore, the optimal computing power transaction scheme is the combination of processing node A and processing node C.
进一步的,在确定算力交易方案之后,将算力交易方案上传至区块链进行交易确认后,收取交易实施佣金。Further, after the computing power trading plan is determined, the computing power trading plan is uploaded to the blockchain for transaction confirmation, and then the transaction implementation commission is charged.
步骤430、处理节点基于节点标识,获取算力输出信息。Step 430: The processing node acquires the computing power output information based on the node identifier.
处理节点的节点信息可以包括处理节点的标识和处理节点的算力。The node information of the processing node may include the identification of the processing node and the computing power of the processing node.
定时查询区块链上确认的算力交易方案,当查询到自身的节点标识时,获取该处理节点输出算力的算力输出信息。算力输出信息为采用需求节点的公钥加密后的信息,算力输出信息可以是该处理节点的算力输出接口。Regularly query the computing power transaction scheme confirmed on the blockchain, and obtain the computing power output information of the processing node's output computing power when the node ID is queried. The computing power output information is the information encrypted with the public key of the demand node, and the computing power output information may be the computing power output interface of the processing node.
基于各个处理节点的算力输出信息,建立需求节点与各个处理节点间的算力流通通道,以便进行算力流通交易。Based on the computing power output information of each processing node, establish a computing power circulation channel between the demand node and each processing node, so as to conduct computing power circulation transactions.
步骤440、处理节点和需求节点基于算力交易方案和算力输出信息,执行预设智能合约,生成交易信息,交易信息包括交易数据和交易结果。Step 440: The processing node and the demand node execute a preset smart contract based on the computing power transaction scheme and the computing power output information, and generate transaction information, where the transaction information includes transaction data and transaction results.
需求节点接收处理节点广播的算力输出信息,采用自身的私钥对接收的算力输出信息进行解密;The demand node receives the computing power output information broadcast by the processing node, and uses its own private key to decrypt the received computing power output information;
基于解密后的算力输出信息,需求节点与处理节点建立算力流通通道,在算力流通通道上执行算力交易方案与预设智能合约,生成交易信息,完成最终算力流通交易。Based on the decrypted computing power output information, the demand node and the processing node establish a computing power circulation channel, execute the computing power transaction plan and preset smart contracts on the computing power circulation channel, generate transaction information, and complete the final computing power circulation transaction.
与现有技术仅使用算力进行哈希值运算相比,该步骤通过建立的需求节点与各个处理节点间的算力流通通道,使用算力交易方案中的算力执行预设智能合约,实现了算力使用方式的多样化。Compared with the prior art that only uses computing power to perform hash value operation, this step uses the computing power in the computing power transaction scheme to execute the preset smart contract through the established computing power circulation channel between the demand node and each processing node, so as to realize Diversification of computing power usage.
进一步的,在生成交易信息之后,处理节点将交易信息上传至区块链,并收集该处理节点和需求节点的当前算力,以进行存储更新。Further, after the transaction information is generated, the processing node uploads the transaction information to the blockchain, and collects the current computing power of the processing node and the demand node for storage update.
该方法基于需求节点的算力需求,发布算力交易请求,算力交易请求包括交易类型、待交易算力、需求节点标识;基于算力交易请求和存储的网络各节点的算力,确定算力交易方案,算力交易方案包括交易类型、待交易算力、需求节点标识和处理节点的节点信息,处理节点为网络各节点中处理待交易算力的至少一个节点;基于处理节点的节点信息,获取处理节点的算力输出信息;基于算力交易方案和算力输出信息,执行预设智能合约,生成交易信息,交易信息包括交易数据和交易结果。可见,该技术方案通过算力交易请求确定出相应的算力交易方案,降低了网络中的算力浪费,且与现有技术仅使用算力进行哈希值运算相比,实现了算力的使用方式多样化。The method issues a computing power transaction request based on the computing power demand of the demand node, and the computing power transaction request includes the transaction type, the computing power to be traded, and the identification of the demanded node; Power trading scheme, the computing power trading scheme includes the transaction type, the computing power to be traded, the identification of the demanded node and the node information of the processing node. The processing node is at least one node processing the computing power to be traded in each node of the network; , to obtain the computing power output information of the processing node; based on the computing power transaction plan and computing power output information, execute the preset smart contract to generate transaction information, which includes transaction data and transaction results. It can be seen that the technical solution determines the corresponding computing power transaction scheme through the computing power transaction request, which reduces the waste of computing power in the network, and realizes the reduction of computing power compared with the prior art that only uses computing power for hash value operation. Diversified usage.
与上述方法对应的,本发明实施例还提供一种算力流通装置,如图5所示,该装置包括:接收单元510、确定单元520和广播单元530。Corresponding to the above method, an embodiment of the present invention further provides an apparatus for circulating computing power. As shown in FIG. 5 , the apparatus includes: a receiving unit 510 , a determining unit 520 , and a broadcasting unit 530 .
接收单元510,用于接收需求节点发布的算力交易请求,所述算力交易请求包括交易类型、待交易算力、需求节点标识,算力交易请求是由所述需求节点基于获取的算力需求生成的;The receiving unit 510 is configured to receive the computing power transaction request issued by the demand node, the computing power transaction request includes the transaction type, the computing power to be traded, and the demand node identifier, and the computing power transaction request is based on the computing power obtained by the demand node. generated by demand;
确定单元520,用于基于所述算力交易请求和存储的网络各节点的算力,确定算力交易方案,所述算力交易方案包括所述交易类型、所述待交易算力、所述需求节点标识和处理节点的节点信息,所述处理节点为所述网络各节点中处理所述待交易算力的至少一个节点,所述处理节点的节点信息包括所述处理节点的节点标识和所述处理节点的算力;The determining unit 520 is configured to determine a computing power trading scheme based on the computing power transaction request and the stored computing power of each node of the network, where the computing power trading scheme includes the transaction type, the computing power to be traded, the computing power to be traded, and the The identifier of the demand node and the node information of the processing node, the processing node is at least one node processing the computing power to be traded in each node of the network, and the node information of the processing node includes the node identifier of the processing node and all the computing power of the processing node;
广播单元530,用于广播所述算力交易方案。The broadcasting unit 530 is configured to broadcast the computing power transaction scheme.
在一个可选的实现中,该装置还包括存储单元540;In an optional implementation, the apparatus further includes a storage unit 540;
存储单元540,用于在接收需求节点发布的算力交易请求之前,存储网络各节点的算力和算力参考报价,所述网络各节点包括处理节点和需求节点。The storage unit 540 is configured to store the computing power and the computing power reference quotation of each node of the network before receiving the computing power transaction request issued by the demand node, and each network node includes a processing node and a demand node.
在一个可选的实现中,该装置还包括上传单元550;In an optional implementation, the apparatus further includes an uploading unit 550;
上传单元550,用于在确定算力交易方案之后,将所述算力交易方案上传至区块链进行存储。The uploading unit 550 is configured to upload the computing power trading scheme to the blockchain for storage after determining the computing power trading scheme.
在一个可选的实现中,算力交易方案还包括所述需求节点的公钥。In an optional implementation, the computing power transaction scheme further includes the public key of the demand node.
本发明上述实施例提供的算力流通装置的各功能单元的功能,可以通过上述各方法步骤来实现,因此,本发明实施例提供的算力流通装置中的各个单元的具体工作过程和有益效果,在此不复赘述。The functions of each functional unit of the computing power circulation device provided by the above embodiments of the present invention can be implemented through the above method steps. Therefore, the specific working process and beneficial effects of each unit in the computing power circulation device provided by the embodiments of the present invention are described. , which will not be repeated here.
与上述方法对应的,本发明实施例还提供另一种算力流通装置,如图6所示,该装置包括:接收单元610、获取单元620和执行单元630。Corresponding to the above method, an embodiment of the present invention further provides another computing power circulation device. As shown in FIG. 6 , the device includes: a receiving
接收单元610,用于接收算力交易方案,算力交易方案包括交易类型、待交易算力、需求节点标识和该装置的节点信息,该装置的节点信息包括处理节点的节点标识和处理节点的算力;The receiving
获取单元620,用于基于节点标识,获取算力输出信息;an obtaining
执行单元630,用于基于算力交易方案和算力输出信息,执行预设智能合约,生成交易信息,交易信息包括交易数据和交易结果。The
在一个可选的实现中,装置还包括存储单元640。In an optional implementation, the apparatus further includes a
存储单元640,用于在接收算力交易方案之前,存储网络各节点的算力和算力参考报价,网络各节点包括处理节点和需求节点。The
在一个可选的实现中,算力交易方案还包括需求节点的公钥;算力输出信息为采用所述公钥加密后的信息;In an optional implementation, the computing power trading scheme further includes the public key of the demanded node; the computing power output information is the information encrypted with the public key;
执行单元630,具体用于采用需求节点的公钥对应的私钥,对所述算力输出信息进行解密;The
基于解密后的算力输出信息和算力交易方案,执行预设智能合约,生成交易信息。Based on the decrypted computing power output information and computing power transaction scheme, the preset smart contract is executed to generate transaction information.
在一个可选的实现中,获取单元620,还用于在生成交易信息之后,将交易信息上传至区块链,并获取该装置和需求节点的当前算力,以更新存储的网络各节点的算力。In an optional implementation, the obtaining
本发明上述实施例提供的算力流通装置的各功能单元的功能,可以通过上述各方法步骤来实现,因此,本发明实施例提供的算力流通装置中的各个单元的具体工作过程和有益效果,在此不复赘述。The functions of each functional unit of the computing power circulation device provided by the above embodiments of the present invention can be implemented through the above method steps. Therefore, the specific working process and beneficial effects of each unit in the computing power circulation device provided by the embodiments of the present invention are described. , which will not be repeated here.
本发明实施例还提供了一种电子设备,如图7所示,包括处理器710、通信接口720、存储器730和通信总线740,其中,处理器710,通信接口720,存储器730通过通信总线740完成相互间的通信。An embodiment of the present invention further provides an electronic device, as shown in FIG. 7 , including a
存储器730,用于存放计算机程序;a
处理器710,用于执行存储器730上所存放的程序时,实现如下步骤:When the
在执行主体为证明节点时,接收需求节点发布的算力交易请求,算力交易请求包括交易类型、待交易算力、需求节点标识,算力交易请求是由需求节点基于获取的算力需求生成的;基于算力交易请求和存储的网络各节点的算力,确定算力交易方案,算力交易方案包括交易类型、待交易算力、需求节点标识和处理节点的节点信息,处理节点为网络各节点中处理待交易算力的至少一个节点,处理节点的节点信息包括处理节点的节点标识和处理节点的算力;广播算力交易方案。When the execution subject is the proof node, the computing power transaction request issued by the demand node is received. The computing power transaction request includes the transaction type, the computing power to be traded, and the identification of the demand node. The computing power transaction request is generated by the demand node based on the obtained computing power demand. The computing power transaction scheme is determined based on the computing power of each node of the network based on the computing power transaction request and storage. At least one node processing computing power to be traded in each node, the node information of the processing node includes the node identification of the processing node and the computing power of the processing node; broadcast computing power transaction scheme.
在一个可选的实现中,接收需求节点发布的算力交易请求之前,存储网络各节点的算力和算力参考报价,所述网络各节点包括处理节点和需求节点。In an optional implementation, before receiving the computing power transaction request issued by the demand node, the computing power and the computing power reference quotation of each node of the network are stored, and each network node includes a processing node and a demand node.
在一个可选的实现中,确定算力交易方案之后,将算力交易方案上传至区块链进行存储,以便在网络的区块链对该方案进行确认和记录。In an optional implementation, after the computing power trading scheme is determined, the computing power trading scheme is uploaded to the blockchain for storage, so that the scheme can be confirmed and recorded on the blockchain of the network.
在一个可选的实现中,算力交易方案还包括所述需求节点的公钥。In an optional implementation, the computing power transaction scheme further includes the public key of the demand node.
或者,在执行主体为处理节点时,接收算力交易方案,算力交易方案包括交易类型、待交易算力、需求节点标识和所述处理节点的节点信息,所述处理节点的节点信息包括所述处理节点的节点标识和所述处理节点的算力;Or, when the execution subject is a processing node, a computing power transaction scheme is received, and the computing power transaction scheme includes the transaction type, the computing power to be traded, the identifier of the demanded node, and the node information of the processing node, and the node information of the processing node includes all the node identifier of the processing node and the computing power of the processing node;
基于处理节点的节点标识,获取算力输出信息;Obtain computing power output information based on the node identifier of the processing node;
基于算力交易方案和算力输出信息,执行预设智能合约,生成交易信息,交易信息包括交易数据和交易结果。Based on the computing power trading scheme and computing power output information, the preset smart contract is executed to generate transaction information, which includes transaction data and transaction results.
在一个可选的实现中,接收算力交易方案之前,存储网络各节点的算力和算力参考报价,网络各节点包括处理节点和需求节点。In an optional implementation, before receiving the computing power transaction plan, the computing power and computing power reference quotations of each node of the network are stored, and each node of the network includes a processing node and a demand node.
在一个可选的实现中,算力交易方案还包括所述需求节点的公钥;所述算力输出信息为采用所述公钥加密后的信息;In an optional implementation, the computing power transaction scheme further includes the public key of the demand node; the computing power output information is information encrypted with the public key;
基于所述算力交易方案和所述算力输出信息,执行预设智能合约,生成交易信息,包括:Based on the computing power transaction scheme and the computing power output information, execute a preset smart contract to generate transaction information, including:
采用需求节点的公钥对应的私钥,对算力输出信息进行解密;Use the private key corresponding to the public key of the demand node to decrypt the output information of the computing power;
基于解密后的算力输出信息和算力交易方案,执行预设智能合约,生成交易信息。Based on the decrypted computing power output information and computing power transaction scheme, the preset smart contract is executed to generate transaction information.
在一个可选的实现中,生成交易信息之后,将交易信息上传至区块链,并获取处理节点和需求节点的当前算力,以更新存储的网络各节点的算力。In an optional implementation, after the transaction information is generated, the transaction information is uploaded to the blockchain, and the current computing power of the processing node and the demand node is obtained, so as to update the stored computing power of each node of the network.
上述提到的通信总线可以是外设部件互连标准(Peripheral ComponentInterconnect,PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The above-mentioned communication bus may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the above electronic device and other devices.
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital SignalProcessing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; may also be a digital signal processor (Digital Signal Processing, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
由于上述实施例中电子设备的各器件解决问题的实施方式以及有益效果可以参见图4所示的实施例中的各步骤来实现,因此,本发明实施例提供的电子设备的具体工作过程和有益效果,在此不复赘述。Since the implementation manners and beneficial effects of each component of the electronic device in the above-mentioned embodiment to solve the problem can be achieved by referring to the steps in the embodiment shown in FIG. 4 , the specific working process and beneficial effects of the electronic device provided by the embodiment of the present invention The effect will not be repeated here.
在本发明提供的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的算力流通方法。In yet another embodiment provided by the present invention, a computer-readable storage medium is also provided, where instructions are stored in the computer-readable storage medium, when the computer-readable storage medium is run on a computer, the computer is made to execute any one of the above-mentioned embodiments. The computing power circulation method.
在本发明提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一所述的算力流通方法。In yet another embodiment provided by the present invention, there is also provided a computer program product including instructions, which, when running on a computer, enables the computer to execute the computing power circulation method described in any one of the foregoing embodiments.
本领域内的技术人员应明白,本申请实施例中的实施例可提供为方法、系统、或计算机程序产品。因此,本申请实施例中可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例中可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments in the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein .
本申请实施例中是参照根据本申请实施例中实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The embodiments of the present application are described with reference to the flowcharts and/or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
尽管已描述了本申请实施例中的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例中范围的所有变更和修改。Although the preferred embodiments of the embodiments of the present application have been described, additional changes and modifications to these embodiments may be made by those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
显然,本领域的技术人员可以对本申请实施例中实施例进行各种改动和变型而不脱离本申请实施例中实施例的精神和范围。这样,倘若本申请实施例中实施例的这些修改和变型属于本申请实施例中权利要求及其等同技术的范围之内,则本申请实施例中也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the embodiments in the embodiments of the present application without departing from the spirit and scope of the embodiments in the embodiments of the present application. In this way, if these modifications and variations of the embodiments in the embodiments of the present application fall within the scope of the claims in the embodiments of the present application and their equivalents, the embodiments of the present application are also intended to include these modifications and variations.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810852715.8A CN110782343B (en) | 2018-07-30 | 2018-07-30 | Calculation power circulation method and system based on block chain in distributed network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810852715.8A CN110782343B (en) | 2018-07-30 | 2018-07-30 | Calculation power circulation method and system based on block chain in distributed network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110782343A true CN110782343A (en) | 2020-02-11 |
CN110782343B CN110782343B (en) | 2022-12-16 |
Family
ID=69378543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810852715.8A Active CN110782343B (en) | 2018-07-30 | 2018-07-30 | Calculation power circulation method and system based on block chain in distributed network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110782343B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111506932A (en) * | 2020-06-18 | 2020-08-07 | 海南安迈云网络技术有限公司 | Block chain calculation uplink implementation method |
CN111614658A (en) * | 2020-05-19 | 2020-09-01 | 深圳杰微芯片科技有限公司 | Calculation force contract generation method based on block chain network, electronic device and medium |
CN111680997A (en) * | 2020-06-05 | 2020-09-18 | 深圳云端软件有限公司 | Distributed transaction payment method, system and storage medium |
CN111869303A (en) * | 2020-06-03 | 2020-10-30 | 北京小米移动软件有限公司 | Resource scheduling method, device, communication equipment and storage medium |
CN112132447A (en) * | 2020-09-21 | 2020-12-25 | 江苏省未来网络创新研究院 | Calculation power network trust evaluation and guarantee algorithm based on block chain |
CN112488563A (en) * | 2020-12-11 | 2021-03-12 | 中国联合网络通信集团有限公司 | Determination method and device for force calculation parameters |
CN112507387A (en) * | 2021-02-04 | 2021-03-16 | 北京全息智信科技有限公司 | Distributed data and model calculation method and device based on block chain |
CN113542316A (en) * | 2020-04-13 | 2021-10-22 | 展讯半导体(南京)有限公司 | Computing power sharing method and related equipment |
CN114979278A (en) * | 2022-05-24 | 2022-08-30 | 深圳点宽网络科技有限公司 | Calculation power scheduling method, device and system based on block chain and electronic equipment |
CN115567530A (en) * | 2021-07-02 | 2023-01-03 | 中国移动通信有限公司研究院 | Method and device for sending calculation power announcement and calculation power network element node |
CN115689741A (en) * | 2022-09-09 | 2023-02-03 | 中国联合网络通信集团有限公司 | A computing power trading method, device and system |
CN116305298A (en) * | 2023-05-23 | 2023-06-23 | 之江实验室 | A computing power resource management method, device, storage medium and electronic equipment |
CN116385164A (en) * | 2023-04-06 | 2023-07-04 | 沈阳工业大学 | Block chain-based carbon asset transaction system and method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106296191A (en) * | 2016-08-13 | 2017-01-04 | 深圳市樊溪电子有限公司 | A kind of PoW common recognition mechanism of block chain power-aware |
CN107392608A (en) * | 2017-07-11 | 2017-11-24 | 北京博晨技术有限公司 | Digital asset method of commerce and block catenary system based on block catenary system |
CN107578243A (en) * | 2017-07-27 | 2018-01-12 | 远光软件股份有限公司 | Electricity transaction method and device based on block chain technology |
CN107656812A (en) * | 2017-09-27 | 2018-02-02 | 咪咕文化科技有限公司 | block chain processing method, system, node device, terminal and storage medium |
CN107819749A (en) * | 2017-10-26 | 2018-03-20 | 平安科技(深圳)有限公司 | Block catenary system and transaction data processing method based on ether mill |
CN108009823A (en) * | 2017-11-03 | 2018-05-08 | 厦门快商通信息技术有限公司 | The distributed call method and system for calculating power resource based on block chain intelligence contract |
CN108323200A (en) * | 2018-01-25 | 2018-07-24 | 深圳前海达闼云端智能科技有限公司 | Data training method and device based on block chain, storage medium and block chain link points |
-
2018
- 2018-07-30 CN CN201810852715.8A patent/CN110782343B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106296191A (en) * | 2016-08-13 | 2017-01-04 | 深圳市樊溪电子有限公司 | A kind of PoW common recognition mechanism of block chain power-aware |
CN107392608A (en) * | 2017-07-11 | 2017-11-24 | 北京博晨技术有限公司 | Digital asset method of commerce and block catenary system based on block catenary system |
CN107578243A (en) * | 2017-07-27 | 2018-01-12 | 远光软件股份有限公司 | Electricity transaction method and device based on block chain technology |
CN107656812A (en) * | 2017-09-27 | 2018-02-02 | 咪咕文化科技有限公司 | block chain processing method, system, node device, terminal and storage medium |
CN107819749A (en) * | 2017-10-26 | 2018-03-20 | 平安科技(深圳)有限公司 | Block catenary system and transaction data processing method based on ether mill |
CN108009823A (en) * | 2017-11-03 | 2018-05-08 | 厦门快商通信息技术有限公司 | The distributed call method and system for calculating power resource based on block chain intelligence contract |
CN108323200A (en) * | 2018-01-25 | 2018-07-24 | 深圳前海达闼云端智能科技有限公司 | Data training method and device based on block chain, storage medium and block chain link points |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113542316A (en) * | 2020-04-13 | 2021-10-22 | 展讯半导体(南京)有限公司 | Computing power sharing method and related equipment |
US11876856B2 (en) | 2020-04-13 | 2024-01-16 | Spreadtrum Semiconductor (Nanjing) Co., Ltd. | Method for computational-power sharing and related device |
CN113542316B (en) * | 2020-04-13 | 2022-11-25 | 展讯半导体(南京)有限公司 | Computing power sharing method and related equipment |
CN111614658A (en) * | 2020-05-19 | 2020-09-01 | 深圳杰微芯片科技有限公司 | Calculation force contract generation method based on block chain network, electronic device and medium |
WO2021243618A1 (en) * | 2020-06-03 | 2021-12-09 | 北京小米移动软件有限公司 | Resource scheduling method and apparatus, and communication device and storage medium |
CN111869303A (en) * | 2020-06-03 | 2020-10-30 | 北京小米移动软件有限公司 | Resource scheduling method, device, communication equipment and storage medium |
CN111869303B (en) * | 2020-06-03 | 2023-10-17 | 北京小米移动软件有限公司 | Resource scheduling method, device, communication equipment and storage medium |
CN111680997A (en) * | 2020-06-05 | 2020-09-18 | 深圳云端软件有限公司 | Distributed transaction payment method, system and storage medium |
CN111506932A (en) * | 2020-06-18 | 2020-08-07 | 海南安迈云网络技术有限公司 | Block chain calculation uplink implementation method |
CN112132447A (en) * | 2020-09-21 | 2020-12-25 | 江苏省未来网络创新研究院 | Calculation power network trust evaluation and guarantee algorithm based on block chain |
CN112132447B (en) * | 2020-09-21 | 2024-01-16 | 江苏省未来网络创新研究院 | Block chain-based algorithm for evaluating and guaranteeing trust of computing power network |
CN112488563A (en) * | 2020-12-11 | 2021-03-12 | 中国联合网络通信集团有限公司 | Determination method and device for force calculation parameters |
CN112488563B (en) * | 2020-12-11 | 2023-06-06 | 中国联合网络通信集团有限公司 | Method and device for determining calculation force parameters |
CN112507387A (en) * | 2021-02-04 | 2021-03-16 | 北京全息智信科技有限公司 | Distributed data and model calculation method and device based on block chain |
CN112507387B (en) * | 2021-02-04 | 2021-06-01 | 北京全息智信科技有限公司 | Distributed data and model calculation method and device based on block chain |
CN115567530A (en) * | 2021-07-02 | 2023-01-03 | 中国移动通信有限公司研究院 | Method and device for sending calculation power announcement and calculation power network element node |
WO2023274293A1 (en) * | 2021-07-02 | 2023-01-05 | 中国移动通信有限公司研究院 | Method and apparatus for sending computing power announcement, and computing power network element node |
CN114979278A (en) * | 2022-05-24 | 2022-08-30 | 深圳点宽网络科技有限公司 | Calculation power scheduling method, device and system based on block chain and electronic equipment |
CN115689741A (en) * | 2022-09-09 | 2023-02-03 | 中国联合网络通信集团有限公司 | A computing power trading method, device and system |
WO2024051430A1 (en) * | 2022-09-09 | 2024-03-14 | 中国联合网络通信集团有限公司 | Computing power trading method, device and system |
CN116385164A (en) * | 2023-04-06 | 2023-07-04 | 沈阳工业大学 | Block chain-based carbon asset transaction system and method |
CN116385164B (en) * | 2023-04-06 | 2024-02-06 | 沈阳工业大学 | Block chain-based carbon asset transaction system and method |
CN116305298A (en) * | 2023-05-23 | 2023-06-23 | 之江实验室 | A computing power resource management method, device, storage medium and electronic equipment |
CN116305298B (en) * | 2023-05-23 | 2023-08-04 | 之江实验室 | Method and device for managing computing power resources, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110782343B (en) | 2022-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110782343B (en) | Calculation power circulation method and system based on block chain in distributed network | |
WO2020207090A1 (en) | Blockchain-based data processing system and method, computing device and storage medium | |
US20240223357A1 (en) | Separation of accounting node subnetwork and service node subnetwork | |
Chen et al. | A secure and efficient blockchain-based data trading approach for internet of vehicles | |
Lasla et al. | Blockchain based trading platform for electric vehicle charging in smart cities | |
US20220414809A1 (en) | Property Right Confirmation and Transfer Methods and Systems, Electronic Device, and Storage Medium | |
CN107451485B (en) | Data processing method and device based on block chain | |
CN102859938B (en) | Calculate resource by networking and data are carried out the device of synchronization process, system and method | |
KR20210068031A (en) | Methods and systems for providing targeted advertising to consumer devices | |
CN110505165B (en) | A method and device for edge computing task offloading based on two-way auction mechanism | |
CN111612600B (en) | Block chain auction method, equipment, storage medium and block chain system | |
US20190114707A1 (en) | Distribution of Blockchain Tokens | |
JP2023522802A (en) | Green certificate trading system based on blockchain | |
CN108011741B (en) | Method and system for simulating and testing blockchain for distributed networks | |
CN108876383A (en) | A kind of data trade method, device and equipment based on block chain | |
CN108230005A (en) | Online cloud service processing system, evaluation method and computer program product thereof | |
CN108898021A (en) | Threat information processing method, system and calculating equipment based on block chain | |
CN114401268A (en) | Cross-link data sharing method, system, equipment and readable storage medium | |
Liu et al. | A blockchain-based spatial data trading framework | |
Karandikar et al. | Transactive energy on hyperledger fabric | |
CN114896332A (en) | Secure data transaction method based on trusted execution environment | |
Li et al. | Smart contract-based decentralized data sharing and content delivery for intelligent connected vehicles in edge computing | |
WO2020073277A1 (en) | Resource flow transaction method and apparatus | |
CN113626765A (en) | Energy data processing method, device, equipment and storage medium | |
Chenli et al. | Fair $^{2} $2 Trade: Digital Trading Platform Ensuring Exchange and Distribution Fairness |
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 |