CN110782343B - 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 PDF

Info

Publication number
CN110782343B
CN110782343B CN201810852715.8A CN201810852715A CN110782343B CN 110782343 B CN110782343 B CN 110782343B CN 201810852715 A CN201810852715 A CN 201810852715A CN 110782343 B CN110782343 B CN 110782343B
Authority
CN
China
Prior art keywords
node
computing power
calculation
transaction
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810852715.8A
Other languages
Chinese (zh)
Other versions
CN110782343A (en
Inventor
朱明礼
张勇
时家幸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810852715.8A priority Critical patent/CN110782343B/en
Publication of CN110782343A publication Critical patent/CN110782343A/en
Application granted granted Critical
Publication of CN110782343B publication Critical patent/CN110782343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a calculation power circulation method and system based on a block chain in a distributed network. The method comprises the steps that a calculation power trading request is issued based on calculation power requirements of demand nodes, wherein the calculation power trading request comprises a trading type, calculation power to be traded and demand node identification; determining a calculation power trading scheme based on the calculation power trading request and the stored calculation power of each node of the network, wherein the calculation power trading scheme comprises a trading type, a calculation power to be traded, a demand node identifier and node information of a processing node, and the processing node is at least one node for processing the calculation power to be traded in each node of the network; acquiring computing power output information of the processing nodes based on the node information of the processing nodes; and executing a preset intelligent contract based on the calculation force trading scheme and the calculation force output information to generate trading information, wherein the trading information comprises trading data and a trading result. Therefore, the corresponding calculation capacity trading scheme is determined through the calculation capacity trading request, the calculation capacity waste in the network is avoided, and the diversification of the use mode of the calculation capacity is realized.

Description

Calculation power circulation method and system based on block chain in distributed network
Technical Field
The present application relates to the field of communications technologies, and in particular, to a block chain-based computational power circulation method and system in a distributed network.
Background
With the advance and development of the current electronic industry and the related technology of the internet of things, more and more industries and living goods have an intelligent development trend, and meanwhile, the phenomena of idling of computing power and waste of computing power use become more and more serious. Computing power refers to computing power, which includes the resources that support the computation as well as the capabilities that are present, such as storage capabilities.
At present, a public chain mining mechanism (or called a Proof Of Work (POW)) is adopted to solve the problems Of idle computing power and waste Of computing power usage: in a decentralized distributed system of a block chain, hash value operation is carried out by using calculation force, special solutions of an appointed equation set are continuously searched through huge calculation amount, and a mechanism of obtaining a certain reward is obtained. The POW mechanism is a mechanism for access devices (or "nodes") in the network to compete for accounting rights. Taking bitcoin as an example, a hash value of a preset hash function is calculated according to the computing power of access equipment (or called "node") in a network, and a node which calculates the hash value satisfying a condition acquires a corresponding bitcoin, wherein the node which calculates the hash value satisfying the condition with the highest computing power has the highest probability first, and finally, the node which acquires the bitcoin uploads transaction information to a bitcoin block chain.
However, the inventor finds that the computing power consumption in the public chain mining mechanism is only used for computing the hash value, so that the using mode of the computing power is relatively single, and the mode of the POW mechanism for striving for the accounting right needs to be obtained through a large amount of operations, which not only causes the waste of the computing power, but also has low transaction efficiency.
Disclosure of Invention
The embodiment of the application provides a calculation power circulation method and system based on a block chain in a distributed network. The method is used for solving the problems of single use mode and waste of computing power in the prior art.
In a first aspect, a block chain-based computation power circulation method in a distributed network is provided, where an execution subject of the method is a proving node, and the method may include: receiving a calculation power transaction request issued by a demand node, wherein the calculation power transaction request comprises a transaction type, calculation power to be transacted and a demand node identifier, and is generated by the demand node based on the acquired calculation power demand; determining a calculation power trading scheme based on the calculation power trading request and the stored calculation power of each node of the network, wherein the calculation power trading scheme comprises a trading type, calculation power to be traded, a demand node identifier and node information of processing nodes, the processing nodes are at least one node for processing the calculation power to be traded in each node of the network, and the node information of the processing nodes comprises the node identifiers of the processing nodes and the calculation power of the processing nodes; and broadcasting the effort trading scheme.
According to the technical scheme, the corresponding calculation capacity trading scheme is determined through the calculation capacity trading request, the calculation capacity waste in the network is reduced, and compared with the prior art that the hash value operation is carried out only by using the calculation capacity, the use mode of the calculation capacity is diversified.
In an alternative implementation, before receiving the computing power trading request issued by the demand node, the method further includes:
and storing the computing power and the computing power reference quotation of each node of the network, wherein each node of the network comprises a processing node and a demand node.
The method can improve the accuracy of obtaining the transaction request, and further improve the accuracy of the transaction.
In an alternative implementation, after determining the effort trading scenario, the method further comprises:
and uploading the calculated transaction scheme to a block chain for storage so as to confirm and record the scheme in the block chain of the network.
In an alternative implementation, the effort transaction scheme further includes a public key of the demand node.
In a second aspect, a method for computing power circulation based on a block chain in a distributed network is provided, where an execution subject of the method is a processing node, and the method may include:
receiving a calculation power trading scheme, wherein the calculation power trading scheme comprises a trading type, calculation power to be traded, a demand node identifier and node information of the processing node, and the node information of the processing node comprises a node identifier of the processing node and calculation power of the processing node;
acquiring computing power output information based on the node identification of the processing node;
and executing a preset intelligent contract based on the calculation force trading scheme and the calculation force output information to generate trading information, wherein the trading information comprises trading data and a trading result.
In an alternative implementation, prior to receiving the computing power trading scheme, the method may further comprise:
and storing the computing power and the computing power reference quotation of each node of the network, wherein each node of the network comprises a processing node and a demand node.
In an alternative implementation, the computing power trading scheme further includes a public key of the demand node; the computing power output information is the information encrypted by the public key;
executing a preset intelligent contract based on the calculation force trading scheme and the calculation force output information to generate trading information, wherein the trading information comprises:
decrypting the computing power output information by adopting a private key corresponding to the public key of the demand node;
and executing a preset intelligent contract based on the decrypted computing power output information and the computing power transaction scheme to generate transaction information.
Compared with the prior art that the hash value operation is carried out only by using the computing power, the computing power circulation channel between the demand node and each processing node is established by computing power output information, so that the diversification of computing power use modes is realized.
In an alternative implementation, after generating the transaction information, the method may further include:
and uploading the transaction information to the block chain, and acquiring the current computing power of the processing node and the demand node so as to update the stored computing power of each node of the network.
In a third aspect, a block chain-based computational power flow-through system is provided, which may include: the system comprises a transaction issuing subsystem, a transaction connecting subsystem, a transaction executing subsystem and a transaction confirming subsystem;
the trading issuing subsystem is used for issuing a calculation power trading request of a demand node based on the calculation power demand of the demand node, the calculation power trading request comprises a trading type, calculation power to be traded and a demand node identifier, and the trading issuing subsystem is arranged in the demand node;
the transaction connection subsystem is used for determining a calculation power transaction scheme based on the calculation power transaction request and the stored calculation power of each node of the network, wherein the calculation power transaction scheme comprises a transaction type, a calculation power to be transacted, a demand node identifier and node information of a processing node, the processing node is at least one node for processing the calculation power to be transacted in each node of the network, and the transaction connection subsystem is arranged in the proving node;
the transaction execution subsystem is used for acquiring computing power output information of the processing node based on the node information of the processing node and is arranged in the processing node;
and the transaction confirmation subsystem is used for executing a preset intelligent contract based on the calculation force transaction scheme and the calculation force output information to generate transaction information, the transaction information comprises transaction data and a transaction result, and the transaction connection subsystem is arranged in the processing node.
In an optional implementation, the system further comprises a computational power monitoring subsystem, the computational power monitoring subsystem being disposed in the demand node, the attestation node, and the processing node;
the computing power monitoring subsystem is used for storing computing power and computing power reference quotations of each node of the network before the transaction issuing subsystem issues a computing power transaction request of a demand node, and each node of the network comprises a processing node and a demand node;
acquiring the computing power demand of a demand node, wherein the computing power demand comprises a transaction type, the computing power to be transacted of the demand node and the account amount of the demand node;
and when the computing power to be traded is in the computing power sum range of the processing node and the account amount of the demand node meets the computing power reference quotation, issuing a computing power trading request of the demand node.
In an alternative implementation, the transaction connection subsystem is further configured to upload the computing power transaction scheme to the blockchain for storage after determining the computing power transaction scheme.
In an alternative implementation, the computing power trading scheme further includes a public key of the demand node; the calculation force output information is information encrypted by a public key;
the transaction confirmation subsystem is specifically used for decrypting the computing power output information by adopting a private key corresponding to the public key of the demand node;
and executing a preset intelligent contract based on the decrypted computing power output information and the computing power transaction scheme to generate transaction information.
In an alternative 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;
and the computing power monitoring subsystem is also used for acquiring the current computing power of the processing nodes and the 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, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other via the communication bus;
a memory for storing a computer program;
a processor for carrying out the method steps of any of the above first aspects or the method steps of any of the above second aspects when executing a program stored in a memory.
In a fifth aspect, a computer-readable storage medium is provided, having a computer program stored therein, which computer program, when being executed by a processor, performs the method steps of any of the above-mentioned first aspects or the method steps of any of the above-mentioned second aspects.
The technical scheme is that a calculation power trading request is issued based on the calculation power demand of a demand node, and the calculation power trading request comprises a trading type, a calculation power to be traded and a demand node identifier; determining a calculation power trading scheme based on the calculation power trading request and the stored calculation power of each node of the network, wherein the calculation power trading scheme comprises a trading type, calculation power to be traded, a demand node identifier and node information of a processing node, and the processing node is at least one node for processing the calculation power to be traded in each node of the network; acquiring computing power output information of the processing nodes based on the node information of the processing nodes; and executing a preset intelligent contract based on the computing power trading scheme and the computing power output information to generate trading information, wherein the trading information comprises trading data and a trading result. Therefore, the technical scheme determines the corresponding calculation power transaction scheme through the calculation power transaction request, reduces the calculation power waste in the network, and realizes the diversification of the use mode of the calculation power compared with the prior art which only uses the calculation power to carry out the hash value operation.
Drawings
Fig. 1 is a network architecture diagram applied to a blockchain-based computing power circulation method in a distributed network according to an embodiment of the present invention;
fig. 2 is a schematic diagram of node distribution according to an embodiment of the present invention;
fig. 3A is a schematic structural diagram of a computation power circulation system based on a block chain in a distributed network according to an embodiment of the present invention;
FIG. 3B is a schematic diagram of the transaction issuing subsystem of FIG. 3A;
FIG. 3C is a schematic diagram of the transaction connection subsystem of FIG. 3A;
FIG. 3D is a schematic diagram of the transaction execution subsystem of FIG. 3A;
FIG. 3E is a schematic diagram of the transaction confirmation subsystem of FIG. 3A;
FIG. 3F is a schematic diagram of the computational power monitoring subsystem of FIG. 3A;
fig. 4 is a schematic flowchart of a method for computing power circulation based on a block chain in a distributed network according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a computational force flow-through device according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another computational fluid device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without any creative effort belong to the protection scope of the present application.
The calculation power circulation method based on the block chain provided by the embodiment of the present invention can be applied to the decentralized distributed network of the block chain shown in fig. 1, where the network may include various types of terminal devices, such as a large-and-small computer, various types of industrial devices, various types of life electronic devices, and the like, where the life electronic devices may be User Equipment (UE), handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, a Mobile Station (MS), and the like. Each terminal device can be considered as a network node (hereinafter "node") that can communicate with each other via a wireless network or a limited network interconnection. The nodes can be divided into 2 different roles according to the calculation power, and the nodes with larger calculation power prove the transaction among the nodes in the whole system, namely the nodes can be called as proving nodes (such as nodes which strive for accounting rights); the nodes with smaller computing power perform computing power transaction, and the nodes can be called transaction nodes. The class 2 roles can coexist in the same node, which can be called transaction node/certification node, the specific distribution diagram of the nodes of the network is shown in fig. 2, and the certification node is set to obtain transaction commission, and the transaction node pays commission by initiating transaction request. The computational power of the node can be measured by the comprehensive capability of the node, and the comprehensive capability can include storage capability, computing capability, network connection capability and the like.
The trading node (or called 'demand node') can issue an effort trading request, the effort trading request can comprise an effort demand and an effort price, and the effort demand can comprise information such as a trading type, an effort to be traded, a node account amount and the like. The transaction type includes a buying power type or a selling power type, so the calculation power to be transacted can be the amount of calculation power to be bought or the calculation power to be sold. After the computing power trading request is issued, the proving node gives a computing power trading scheme according to the trading demand in the computing power trading request, the computing power trading scheme is a combination scheme of at least one processing node in the network, the processing node is a node which can process computing power to be traded in the network, a trading commission is collected, then the computing power trading scheme is issued, and the proving node with the bookkeeping right records the computing power trading scheme into a block chain. And the demand node and the processing node establish a calculation power circulation channel according to the transaction scheme, and finally, the calculation power transaction scheme is combined with the intelligent contract to complete the final calculation power circulation transaction.
Therefore, the calculation power transaction process in the network does not depend on a specific node, the method has no strict requirement on the resource type providing the calculation power, resources of different calculation types can be used universally, the waste of calculation resources can be avoided to the greatest extent, and the transaction parties communicate with each other by establishing a calculation power circulation channel, so that the calculation power transaction does not depend on a specific node, and the diversification of calculation power use modes is realized.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are merely for illustrating and explaining the present invention and are not intended to limit the present invention, and that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 3A is a schematic structural diagram of a computing power circulation system based on a block chain in a distributed network according to an embodiment of the present invention. As shown in fig. 3A, the system may include 5 subsystems: a Transaction issuing subsystem (TRS) 310, a Transaction Link Subsystem (TLS) 320, a Transaction Execution Subsystem (TES) 330, a Transaction Confirmation Subsystem (TCS) 340, and a Computational Capability Monitoring Subsystem (CCMS) 350.
In order to ensure that the computing power transaction does not depend on a specific node and realize diversification of computing power use modes, the 5 subsystems in the embodiment of the invention can be distributed on the corresponding nodes according to the function types of the nodes.
The CCMS350 is configured to obtain and store the computing power information of each node in the network, where the computing power information may include computing power of each node in the network, such as multiple types of computing power including stored computing power and computed computing power, and corresponding computing power reference price, and broadcast and send the computing power information in the network. The computing power of each node of the network comprises the computing power which can be processed on the processing node and the computing power to be traded of the demand node, and the CCMS can be distributed on all nodes with the circulating participating computing power.
The TRS 310 is configured to issue a power trading request based on a power demand of a demand node, where the power trading request may include information such as a trading type, a to-be-traded power of the demand node, an account amount of the demand node, a credit level of the demand node, and a public key of the demand node, where the to-be-traded power may be a power to be bought or sold, and the TRS may be distributed on the demand node.
TLS 320 for determining a brute force transaction scheme based on the brute force transaction request and the brute force of the network nodes stored in CCMS350, which may be distributed over the proving nodes.
TES 330, configured to obtain computational power output information of a processing node based on node information of the processing node in the computational power transaction scheme, where the computational power output information may be a computational power output interface of the processing node, and initiate a transaction execution flow through the computational power output interface, and the TES may be distributed on the output computational power node, where the node information of the processing node includes a node identifier of the processing node and computational power of the processing node.
And the TCS 340 is used for executing a preset intelligent contract based on the computing power transaction scheme and the computing power output information of the processing node to generate transaction information, the TCS can be distributed on the output computing power node and the demand node, and the computing power output information of the processing node can be a computing power output interface of the processing node.
As shown in fig. 3B, the TRS 310 may include a verification module 311 and a publication module 312.
And the verification module 311 is configured to verify whether the computing power to be traded is within the computing power sum range of the processing nodes stored in the CCMS350, and whether the account amount of the demand node satisfies the computing power reference quote.
The issuing module 312 is configured to, when the computing power to be transacted is in the stored computing power sum range of the processing node, and the account amount of the demand node satisfies the computing power reference offer, allocate a reasonable transaction implementation commission, and issue a computing power transaction request, where the computing power transaction request may include information such as a transaction type, the computing power to be transacted, a demand node identifier, a transaction implementation commission, a public key of the demand node, and a credit level of the demand node.
And when the computing power to be traded is not in the stored computing power sum range of the processing node and/or the account amount of the demand node does not meet the computing power reference quotation, refusing to issue a computing power trading request or outputting an alarm of wrong demand.
As shown in fig. 3C, the TLS 320 may include a receiving module 321, a verifying module 322, a scheme determining module 323, an in-chain confirming module 324, and a broadcasting module 325.
The receiving module 321 is configured to receive the computing power transaction request issued by the TRS 310.
The verification module 322 is configured to verify whether the credit level of the demand node meets a preset credit level, verify whether the computing power to be traded is within a computing power sum range of the processing node stored in the CCMS350, and verify whether the account amount of the demand node meets the computing power reference quote.
And the scheme determining module 323 is used for searching a combined scheme of processing nodes meeting the computing power to be traded from all the stored nodes of the network based on the computing power trading request after the verification is passed, and determining the computing power trading scheme.
An in-chain confirmation module 324 for uploading the computer transaction scheme to the blockchain and collecting the transaction fulfillment commission distributed by the publishing module 312.
The broadcasting module 325 is configured to broadcast and send the power transaction scheme, the transaction type of the transaction scheme, the power to be transacted, the identifier of the demand node, the public key of the demand node, and node information of the processing node, such as the identifier of the processing node and the power of the processing node.
As shown in FIG. 3D, TES 330 may include a query module 331, a verification module 332, and an initiation module 333.
The query module 331 is configured to query the computing power transaction scheme confirmed on the block chain at regular time, and trigger the verification module 332 when the identifier of the processing node where the query module is located is queried.
The verification module 332 is configured to verify whether the computing power to be traded in the computing power scheme is within the computing power sum range of the processing node stored in the CCMS350, and whether the account amount of the demand node satisfies the computing power reference quote.
And the initiating module 333 is configured to, after all the verifications are passed, obtain the computational power output information of the processing node based on the node information of the processing node in the computational power transaction scheme, and broadcast the computational power output information. The computing power output information is information encrypted by adopting a public key of the demand node, and can be a computing power output interface of the processing node.
As shown in fig. 3E, the TCS 340 may include an in-chain validation module 341 and a settlement execution module 342.
And the settlement executing module 342 is configured to establish a calculation power circulation pipeline between the processing node and the demand node based on the calculation power output information, and then execute a preset intelligent contract based on a calculation power transaction scheme to generate transaction information, where the transaction information includes transaction data and a transaction result.
The link entering confirmation module 341 is configured to upload the transaction information to the blockchain.
As shown in fig. 3F, the CCMS350 may include an exertion collection module 351, an exertion evaluation module 352, and an exertion notification module 353.
And the computing power collecting module 351 is used for collecting computing power information of each node in the network and updating the information in real time.
The computing power evaluating module 352 is configured to receive computing power information of each node in the network stored in the blockchain, and provide a computing power reference price in combination with a network condition, such as a network connection condition, a computing power that can be planned by a processing node in the network, and the like.
And the computing power announcement module 353 is used for broadcasting and sending computing power information of each node of the network.
The working process of the computing power circulation system is as follows:
the computing power collecting module 351 of the CCMS350 collects various types of computing power such as storage computing power, computing power and the like of each node of the network in the network and corresponding computing power reference quotations, and after the computing power evaluating module 352 evaluates the collected computing power, the computing power advertising module 353 is triggered to broadcast and send in the network.
The verification module 311 of the TRS 310 refuses to issue the calculation power transaction request or outputs a warning of a wrong demand after verifying that the calculation power to be transacted in the calculation power demand of the demand node is not within the calculation power sum range of the processing node stored in the CCMS350 and the account amount of the demand node does not satisfy the calculation power reference price. Otherwise, after the computing power to be traded is in the computing power sum range of the processing nodes stored in the CCMS350 and the account amount of the demand node meets the computing power reference price, the publishing module 312 is triggered to publish the computing power trading request.
After the receiving module 321 of the TLS 320 receives the computing power trading request issued by the issuing module 312, the triggering verification module 322 verifies whether the credit level of the demand node meets the preset credit level, verifies whether the computing power to be traded is within the computing power sum range of the processing nodes stored by the CCMS350, and whether the account amount of the demand node meets the computing power reference quote.
If the credit level of the verification demand node meets the preset credit level, the computing power to be transacted is verified to be in the computing power sum range of the processing nodes stored in the CCMS350, and the account amount of the demand node meets the computing power reference quotation, the scheme determining module 323 searches a combined scheme of the processing nodes meeting the computing power to be transacted from all the stored nodes of the network based on the computing power transaction request, determines a computing power transaction scheme, then the in-link confirming module 324 uploads the computing power transaction scheme to a block chain, and the broadcasting module 325 broadcasts and sends the computing power transaction scheme in the network.
TES 330 periodically queries the computing power transaction scheme confirmed on the block chain, and when the identification of the processing node where TES is located is queried, triggers verification module 332. When the verification module 332 verifies that the computing power to be transacted in the computing power scheme is in the computing power sum range of the processing node stored in the CCMS350 and the account amount of the demand node meets the computing power reference quotation, the computing power output information of the processing node is acquired.
The settlement execution module 342 of the TCS 340 executes a preset intelligent contract using the computing power in the computing power transaction scheme through the established computing power circulation channel between the demand node and each processing node to generate transaction information including transaction data and transaction results, and then the in-chain confirmation module 341 uploads the transaction information to the block chain to complete the final computing power circulation transaction.
The system determines the calculation power transaction scheme of the corresponding processing node combination through the calculation power transaction request, can avoid calculation power waste to the greatest extent, and compared with the prior art which only uses calculation power to carry out hash value operation, the system realizes the diversification of the use mode of the calculation power.
Fig. 4 is a schematic flowchart of a calculation power circulation method based on a block chain according to an embodiment of the present invention. As shown in fig. 4, the method may include:
step 410, the demand node issues a computing power transaction request.
The computing power transaction request can include information such as transaction type, computing power to be transacted, requirement node identification, public key of the requirement node, credit level of the requirement node, transaction enforcement commission of the requirement node, and the like. The transaction type comprises a buying power type or a selling power type, so the calculation power to be transacted comprises the calculation power to be bought or the calculation power to be sold.
Before the step is executed, the demand node collects and stores the computing power and computing power reference quotation of each node of the network, and each node of the network comprises a processing node and a demand node; the processing node is at least one node for processing the computing power to be traded in each node of the network, and the processing node can collect the information of the node and broadcast and output the information of the computing power available to be traded of the node.
The demand node acquires computing power requirements, wherein the computing power requirements comprise transaction types, computing power to be transacted of the demand node and account amount of the demand node;
in order to improve the accuracy of the computing power trading, the computing power sum of the processing node to be traded and the stored computing power of the processing node, and the account amount of the demand node and the computing power reference quotation are verified respectively.
If the computing power to be traded is in the computing power sum range of the processing node and the account amount of the demand node meets the computing power reference quotation, reasonable trading implementation commission is distributed, and then a computing power trading request of the demand node is issued; and if the computing power to be traded is not in the computing power sum range of the processing node and/or the account amount of the demand node does not meet the computing power reference quotation, refusing to issue a computing power trading request or outputting an alarm of wrong demand.
And step 420, the proving node determines a calculation power trading scheme based on the calculation power trading request and the stored calculation power of each node of the network.
Before this step is executed, in order to improve the accuracy of the computing power trading, it is necessary to verify whether the credit level of the demand node satisfies the preset credit level, verify whether the computing power to be traded is within the stored computing power sum range of the processing node, and verify whether the account amount of the demand node satisfies the computing power reference quote.
And if the credit grade of the verification demand node does not meet the preset credit grade, the computing power to be traded is verified not to be in the stored computing power sum range of the processing node, and/or the account amount of the demand node does not meet the computing power reference quotation, outputting a warning of trading error.
And if the credit level of the verification demand node meets the preset credit level, the computing power to be transacted is verified to be in the stored computing power sum range of the processing nodes, and the account amount of the demand node meets the computing power reference quotation, searching a combination scheme of the processing nodes meeting the computing power to be transacted from all the stored nodes of the network based on the computing power transaction request to serve as a computing power transaction scheme.
The computing power trading scheme comprises a trading type, a to-be-traded computing power, a demand node identification, a public key of a demand node and node information of a processing node, wherein the node information of the processing node comprises a node identification of the processing node and the computing power of the processing node. Therefore, the calculation power trading scheme is calculation power trading between a demand node and at least one processing node, namely a one-to-many calculation power trading relation, and service coupling is avoided.
Optionally, in order to reduce the waste of resources, a processing node combination scheme with the least waste of resources in the processing node combination schemes satisfying the computing power to be traded is selected as the computing power trading scheme.
For example, the transaction type of the demand node is the buying storage power, and the to-be-transacted storage power is the buying 4M storage power. Among the nodes of the storage network, processing node A has a storage capacity of 3M, processing node B has a storage capacity of 2M, and processing node C has a storage capacity of 1M. The processing node combination scheme that satisfies the memory power of buying 4M includes: the combination of processing node a with processing node B and the combination of processing node a with processing node C. The combined storage power of processing node a and processing node B is 5M, and the combined storage power of processing node a and processing node C is 4M, and it can be seen that 1M of storage power is wasted by selecting the combination of processing node a and processing node B, so the optimal power trading scheme is the combination of processing node a and processing node C.
Further, after determining the power transaction scheme, uploading the power transaction scheme to the block chain for transaction confirmation, and collecting transaction implementation commission.
And step 430, the processing node acquires computing power output information based on the node identification.
The node information for a processing node may include an identification of the processing node and an algorithm of the processing node.
And inquiring the computing power transaction scheme confirmed on the block chain at regular time, and acquiring computing power output information of the computing power output by the processing node when the node identification of the processing node is inquired. The computing power output information is the information encrypted by the public key of the demand node, and can be a computing power output interface of the processing node.
And establishing an computing power circulation channel between the demand node and each processing node based on the computing power output information of each processing node so as to carry out computing power circulation transaction.
Step 440, the processing node and the demand node execute a preset intelligent contract based on the calculation power trading scheme and the calculation power output information to generate trading information, wherein the trading information comprises trading data and trading results.
The demand node receives the computing power output information broadcasted by the processing node, and decrypts the received computing power output information by adopting a private key of the demand node;
and based on the decrypted computing power output information, the demand node and the processing node establish a computing power circulation channel, a computing power transaction scheme and a preset intelligent contract are executed on the computing power circulation channel, transaction information is generated, and final computing power circulation transaction is completed.
Compared with the prior art that the hash value operation is carried out only by using the computing power, the step uses the computing power in the computing power transaction scheme to execute the preset intelligent contract through the established computing power circulation channel between the demand node and each processing node, and the diversification of the computing power use mode is realized.
Further, after generating the transaction information, 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 updating.
The method is based on the computing power demand of a demand node, and a computing power trading request is issued and comprises a trading type, computing power to be traded and a demand node identifier; determining a calculation power trading scheme based on the calculation power trading request and the stored calculation power of each node of the network, wherein the calculation power trading scheme comprises a trading type, calculation power to be traded, a demand node identifier and node information of a processing node, and the processing node is at least one node for processing the calculation power to be traded in each node of the network; acquiring computing power output information of the processing nodes based on the node information of the processing nodes; and executing a preset intelligent contract based on the computing power trading scheme and the computing power output information to generate trading information, wherein the trading information comprises trading data and a trading result. Therefore, the technical scheme determines the corresponding calculation power transaction scheme through the calculation power transaction request, reduces the calculation power waste in the network, and realizes the diversification of the use mode of the calculation power compared with the prior art which only uses the calculation power to carry out the hash value operation.
In response to the foregoing method, an embodiment of the present invention further provides an computational power flow-through device, as shown in fig. 5, the device including: a receiving unit 510, a determining unit 520 and a broadcasting unit 530.
A receiving unit 510, configured to receive a calculation transaction request issued by a demand node, where the calculation transaction request includes a transaction type, a calculation to be traded, and a demand node identifier, and the calculation transaction request is generated by the demand node based on an acquired calculation demand;
a determining unit 520, configured to determine a power trading scheme based on the power trading request and stored power of each node in the network, where the power trading scheme includes the trading type, the power to be traded, the identifier of the demand node, and node information of a processing node, the processing node is at least one node in each node in the network that processes the power to be traded, and the node information of the processing node includes the identifier of the processing node and the power of the processing node;
a broadcasting unit 530 for broadcasting the effort trading scenario.
In an alternative implementation, the apparatus further comprises a storage unit 540;
the storage unit 540 is configured to store the computing power and the computing power reference price of each node of the network, where each node of the network includes a processing node and a demand node, before receiving the computing power transaction request issued by the demand node.
In an optional implementation, the apparatus further comprises an upload unit 550;
an uploading unit 550, configured to, after determining the computing power transaction plan, upload the computing power transaction plan to the blockchain for storage.
In an alternative implementation, the effort transaction scheme further includes a public key of the demand node.
The functions of the functional units of the computational power flow-through device provided by the above embodiment of the present invention can be realized through the above method steps, and therefore, detailed working processes and beneficial effects of the units in the computational power flow-through device provided by the embodiment of the present invention are not repeated herein.
In accordance with the above method, another computational force communication apparatus is provided in an embodiment of the present invention, as shown in fig. 6, the apparatus includes: a receiving unit 610, an obtaining unit 620 and an executing unit 630.
A receiving unit 610, configured to receive a calculation power transaction scheme, where the calculation power transaction scheme includes a transaction type, a calculation power to be transacted, a demand node identifier, and node information of the device, and the node information of the device includes a node identifier of a processing node and a calculation power of the processing node;
an obtaining unit 620, configured to obtain computation output information based on the node identifier;
and the execution unit 630 is configured to execute a preset intelligent contract based on the calculation power transaction scheme and the calculation power output information, and generate transaction information, where the transaction information includes transaction data and a transaction result.
In an alternative implementation, the apparatus further comprises a storage unit 640.
A storage unit 640 for storing the computing power and the computing power reference price for each node of the network, including the processing node and the demand node, before receiving the computing power trading scheme.
In an alternative implementation, the effort transaction scheme further includes a public key of the demand node; the calculation output information is the information encrypted by the public key;
the executing unit 630 is specifically configured to decrypt the computation output information by using a private key corresponding to the public key of the demand node;
and executing a preset intelligent contract based on the decrypted calculation force output information and the calculation force transaction scheme to generate transaction information.
In an alternative implementation, the obtaining unit 620 is further configured to upload the transaction information to the blockchain after generating the transaction information, and obtain the current computing power of the device and the demand node to update the stored computing power of each node of the network.
The functions of the functional units of the computing force circulation device provided in the above embodiment of the present invention can be implemented by the above method steps, and therefore, detailed working processes and beneficial effects of the units in the computing force circulation device provided in the embodiment of the present invention are not described herein again.
An embodiment of the present invention further provides an electronic device, as shown in fig. 7, including a processor 710, a communication interface 720, a memory 730, and a communication bus 740, where the processor 710, the communication interface 720, and the memory 730 complete mutual communication through the communication bus 740.
A memory 730 for storing a computer program;
the processor 710, when executing the program stored in the memory 730, implements the following steps:
when the execution subject is the proving node, receiving a calculation power transaction request issued by the demand node, wherein the calculation power transaction request comprises a transaction type, calculation power to be transacted and a demand node identifier, and is generated by the demand node based on the acquired calculation power demand; determining a calculation power trading scheme based on the calculation power trading request and the stored calculation power of each node of the network, wherein the calculation power trading scheme comprises a trading type, calculation power to be traded, a demand node identifier and node information of processing nodes, the processing nodes are at least one node for processing the calculation power to be traded in each node of the network, and the node information of the processing nodes comprises the node identifiers of the processing nodes and the calculation power of the processing nodes; and broadcasting an effort trading scheme.
In an alternative implementation, before receiving the computing power trading request issued by the demand node, computing power and computing power reference quotations of each node of the network are stored, wherein each node of the network comprises a processing node and the demand node.
In an alternative implementation, after determining the effort transaction scheme, the effort transaction scheme is uploaded to the blockchain for storage, so that the scheme can be confirmed and recorded in the blockchain of the network.
In an alternative implementation, the effort transaction scheme further includes a public key of the demand node.
Or, when the execution main body is a processing node, receiving a calculation power trading scheme, wherein the calculation power trading scheme comprises a trading type, calculation power to be traded, a demand node identifier and node information of the processing node, and the node information of the processing node comprises the node identifier of the processing node and the calculation power of the processing node;
acquiring computing power output information based on the node identification of the processing node;
and executing a preset intelligent contract based on the calculation force trading scheme and the calculation force output information to generate trading information, wherein the trading information comprises trading data and a trading result.
In an alternative implementation, prior to receiving the computing power trading scheme, computing power and computing power reference bids are stored for nodes of the network, including processing nodes and demand nodes.
In an alternative implementation, the effort transaction scheme further includes a public key of the demand node; the computing power output information is the information encrypted by the public key;
executing a preset intelligent contract based on the computing power trading scheme and the computing power output information to generate trading information, wherein the trading information comprises:
decrypting the computing power output information by adopting a private key corresponding to the public key of the demand node;
and executing a preset intelligent contract based on the decrypted calculation force output information and the calculation force transaction scheme to generate transaction information.
In an alternative implementation, after the transaction information is generated, the transaction information is uploaded to the block chain, and the current computing power of the processing node and the demand node is obtained to update the stored computing power of each node of the network.
The aforementioned communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Since the implementation manner and the beneficial effects of the problem solving of each device of the electronic device in the above embodiment can be realized by referring to each step in the embodiment shown in fig. 4, detailed working processes and beneficial effects of the electronic device provided by the embodiment of the present invention are not described herein again.
In yet another embodiment of the present invention, a computer-readable storage medium is provided, which stores instructions that, when executed on a computer, cause the computer to perform the computer-aided circulation method described in any one of the above embodiments.
In yet another embodiment, a computer program product containing instructions is provided, which when run on a computer, causes the computer to perform the computational fluid method of any of the above embodiments.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, 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 embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present embodiments have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present application.
It is apparent that those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the embodiments of the present application and their equivalents, the embodiments of the present application are also intended to include such modifications and variations.

Claims (12)

1. A computing power circulation method based on block chains in a distributed network is characterized by comprising the following steps:
the proving node stores computing power and computing power reference quotations of each node of the network, wherein each node of the network comprises a processing node and a demand node;
the proving node receives a calculation power transaction request issued by a demand node, wherein the calculation power transaction request comprises a transaction type, calculation power to be transacted and a demand node identifier, and is generated by the demand node based on the acquired calculation power demand; the computing power of the proving node is greater than that of the demand node; the transaction type comprises a buying calculation capacity type or a selling calculation capacity type, and the calculation capacity to be traded is the amount of the calculation capacity to be bought or the calculation capacity to be sold;
determining a calculation power trading scheme based on the calculation power trading request and stored calculation power of each node of the network, wherein the calculation power trading scheme comprises the trading type, the calculation power to be traded, the requirement node identification and node information of processing nodes, the processing nodes are at least one node for processing the calculation power to be traded in each node of the network, and the node information of the processing nodes comprises the node identification of the processing nodes and the calculation power of the processing nodes; determining a calculation power trading scheme based on the calculation power trading request and the stored calculation power of each node of the network, which specifically comprises the following steps: if the credit level of the demand node is verified to meet the preset credit level, the computing power to be transacted is verified to be in the computing power sum range of the stored processing nodes, and the account amount of the demand node meets the computing power reference quotation, searching a combination scheme of the processing nodes meeting the computing power to be transacted from all the stored nodes of the network based on the computing power transaction request, and selecting the processing node combination scheme with the least resource waste from the processing node combination schemes meeting the computing power to be transacted as the computing power transaction scheme;
broadcasting the computing power transaction scheme to enable the processing node to receive the computing power transaction scheme, acquiring computing power output information based on the node identification, executing a preset intelligent contract based on the computing power transaction scheme and the computing power output information, and generating transaction information, wherein the transaction information comprises transaction data and a transaction result, the computing power output information is a computing power output interface of the processing node, and the executing the preset intelligent contract based on the computing power transaction scheme and the computing power output information specifically comprises: based on the calculation output interface, the processing node and the demand node establish a calculation circulation channel, and the calculation transaction scheme and the preset intelligent contract are executed on the calculation circulation channel.
2. The method of claim 1, wherein after determining the computing power trading scheme, the method further comprises:
and uploading the computing power transaction scheme to a block chain for storage.
3. The method of claim 1, wherein the effort transaction scheme further comprises a public key of the demand node.
4. A calculation power circulation method based on block chains in a distributed network is characterized by comprising the following steps:
the processing node stores computing power and computing power reference quotations of each node of the network, wherein each node of the network comprises a processing node and a demand node;
the processing node receives a calculation power transaction scheme, wherein the calculation power transaction scheme comprises a transaction type, calculation power to be transacted, a demand node identifier and node information of the processing node, and the node information of the processing node comprises the node identifier of the processing node and the calculation power of the processing node; the computing power trading scheme is determined based on a computing power trading request issued by a proving node and stored computing power of each node of a network, wherein the computing power trading request comprises the trading type, the computing power to be traded and the requirement node identification, and is generated by the requirement node based on the acquired computing power requirement; the computing power of the proving node is greater than that of the demand node; the transaction type comprises a buying calculation capacity type or a selling calculation capacity type, and the calculation capacity to be traded is the amount of the calculation capacity to be bought or the calculation capacity to be sold; wherein the computing power trading scheme is determined by the attestation node by: if the credit level of the demand node is verified to meet the preset credit level, the computing power to be transacted is verified to be in the computing power sum range of the stored processing nodes, and the account amount of the demand node meets the computing power reference quotation, searching a combination scheme of the processing nodes meeting the computing power to be transacted from all the stored nodes of the network based on the computing power transaction request, and selecting a processing node combination scheme with least resource waste from the processing node combination schemes meeting the computing power to be transacted as the computing power transaction scheme;
acquiring computing power output information based on the node identification;
executing a preset intelligent contract based on the computing power trading scheme and the computing power output information to generate trading information, wherein the trading information comprises trading data and trading results, and the computing power output information is a computing power output interface of the processing node;
executing a preset intelligent contract based on the calculation force trading scheme and the calculation force output information, and specifically comprising the following steps: and establishing a calculation power circulation channel with the demand node based on the calculation power output interface, and executing the calculation power transaction scheme and the preset intelligent contract on the calculation power circulation channel.
5. The method of claim 4, wherein the computing power trading scheme further comprises a public key of the demand node; the computing power output information is the information encrypted by the public key;
executing a preset intelligent contract based on the calculation force trading scheme and the calculation force output information to generate trading information, wherein the trading information comprises:
decrypting the computing power output information by adopting a private key corresponding to the public key of the demand node;
and executing a preset intelligent contract based on the decrypted calculation force output information and the calculation force trading scheme to generate trading information.
6. The method of claim 4, wherein after generating the transaction information, the method further comprises:
and uploading the transaction information to a block chain, and acquiring the current computing power of the processing node and the demand node to update the stored computing power of each node of the network.
7. A blockchain-based computational power distribution system in a distributed network, the system comprising: the system comprises a transaction issuing subsystem, a transaction connecting subsystem, a transaction executing subsystem and a transaction confirming subsystem;
the transaction issuing subsystem is used for issuing a calculation power transaction request of a demand node based on the calculation power demand of the demand node, the calculation power transaction request comprises a transaction type, a calculation power to be transacted and a demand node identifier, and the transaction issuing subsystem is arranged in the demand node; the transaction type comprises a buying calculation capacity type or a selling calculation capacity type, and the calculation capacity to be transacted is the amount of the calculation capacity to be bought or sold;
the transaction connection subsystem is used for determining a calculation power transaction scheme based on the calculation power transaction request and the stored calculation power of each node of the network, wherein the calculation power transaction scheme comprises the transaction type, the calculation power to be transacted, the requirement node identification and node information of a processing node, the processing node is at least one node for processing the calculation power to be transacted in each node of the network, and the transaction connection subsystem is arranged in a proving node; the computing power of the proving node is greater than that of the demand node;
the transaction connection subsystem is specifically configured to, if it is verified that the credit level of the demand node meets a preset credit level, verify that the computing power to be transacted is within a stored computing power sum range of the processing nodes, and verify that the account amount of the demand node meets a computing power reference offer, search, based on the computing power transaction request, a combination scheme of the processing nodes meeting the computing power to be transacted from the stored nodes of the network, and select, as the computing power transaction scheme, a processing node combination scheme with the least resource waste from among the processing node combination schemes meeting the computing power to be transacted;
the transaction execution subsystem is used for acquiring 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 configured to execute a preset intelligent 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 a transaction result, and the transaction connection subsystem is disposed in the processing node, where the computing power output information is a computing power output interface of the processing node, and execute the preset intelligent contract based on the computing power transaction scheme and the computing power output information, and specifically includes: based on the calculation output interface, the processing node and the demand node establish a calculation circulation channel, and the calculation transaction scheme and the preset intelligent contract are executed on the calculation circulation channel;
the system also comprises a calculation force monitoring subsystem which is arranged in the demand node, the proving node and the processing node;
the computing power monitoring subsystem is used for storing computing power and computing power reference quotations of each node of a network before the trading issuing subsystem issues a computing power trading request of a demand node, wherein each node of the network comprises the processing node and the demand node;
acquiring the computing power requirement of the demand node, wherein the computing power requirement comprises a transaction type, the computing power to be transacted of the demand node and the account amount of the demand node;
and when the computing power to be traded is within the computing power sum range of the processing node and the account amount of the demand node meets the computing power reference quotation, issuing a computing power trading request of the demand node.
8. The system of claim 7, wherein the transaction connection subsystem is further configured to upload the computing power transaction plan to a blockchain for storage after determining the computing power transaction plan.
9. The system of claim 7, wherein the effort transaction scheme further comprises a public key of the demand node; the computing power output information is the information encrypted by the public key;
the transaction confirmation subsystem is specifically configured to decrypt the computing power output information by using a private key corresponding to the public key of the demand node;
and executing a preset intelligent contract based on the decrypted computing power output information and the computing power trading scheme to generate trading information.
10. The system of claim 9, wherein the transaction confirmation subsystem is further configured to upload the transaction information to a blockchain after the transaction confirmation subsystem generates the transaction information;
and the computing power monitoring subsystem is also used for acquiring the current computing power of the processing nodes and the demand nodes so as to update the stored computing power of each node of the network.
11. The client is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing the communication between the processor and the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-6 when executing a program stored on a memory.
12. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 6.
CN201810852715.8A 2018-07-30 2018-07-30 Calculation power circulation method and system based on block chain in distributed network Active CN110782343B (en)

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 CN110782343A (en) 2020-02-11
CN110782343B true 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)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN111869303B (en) * 2020-06-03 2023-10-17 北京小米移动软件有限公司 Resource scheduling method, device, communication equipment and storage medium
CN111506932A (en) * 2020-06-18 2020-08-07 海南安迈云网络技术有限公司 Block chain calculation uplink implementation method
CN112132447B (en) * 2020-09-21 2024-01-16 江苏省未来网络创新研究院 Block chain-based algorithm for evaluating and guaranteeing trust of computing power network
CN112488563B (en) * 2020-12-11 2023-06-06 中国联合网络通信集团有限公司 Method and device for determining calculation force parameters
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
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 中国联合网络通信集团有限公司 Calculation power transaction method, device and system
CN116385164B (en) * 2023-04-06 2024-02-06 沈阳工业大学 Block chain-based carbon asset transaction system and method
CN116305298B (en) * 2023-05-23 2023-08-04 之江实验室 Method and device for managing computing power resources, storage medium and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
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
CN107392608B (en) * 2017-07-11 2020-07-07 北京博晨技术有限公司 Block chain system-based digital asset transaction method and block chain 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
WO2019144353A1 (en) * 2018-01-25 2019-08-01 深圳前海达闼云端智能科技有限公司 Blockchain-based data training method and device, storage medium and blockchain node

Also Published As

Publication number Publication date
CN110782343A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
CN110782343B (en) Calculation power circulation method and system based on block chain in distributed network
CN107423945B (en) Intelligent energy transaction management system and method based on block chain technology
CN107808345B (en) Information processing method and device, terminal and server
US20200286132A1 (en) Second-hand vehicle transaction method and server
US20190034892A1 (en) Hierarchical data, information, knowledge and wisdom markets
CN108512939B (en) Block chain consensus method, device and related equipment
CN108154050B (en) Vehicle condition data management method and device
CN102655515B (en) Information distribution method, system and equipment
CN109272386A (en) The sharing method and device of battery status data based on block chain
WO2021139467A1 (en) Federated learning method and system, and computer device and storage medium
CN115114658B (en) Verifiable data transaction method, device, equipment and medium based on blockchain
CN109189812A (en) A kind of index querying method, computer readable storage medium and server
CN114401268A (en) Cross-link data sharing method, system, equipment and readable storage medium
CN111489164A (en) Electric power transaction method and device based on Internet of things identification and block chain and electronic equipment
CN107025591A (en) Data trade platform
CN113706312A (en) Photovoltaic electricity transaction method and device based on block chain
CN114358766A (en) Method, equipment and blockchain system for trading green electric certificates
CN111538999A (en) Excitation energy-saving system based on block chain
CN113626765A (en) Energy data processing method, device, equipment and storage medium
CN111652486B (en) Method and device for calculating service index
CN115374175A (en) Method and device for tracking task execution progress based on micro-service architecture
CN105791963A (en) Order processing method and device, television and intelligent server
CN111652477B (en) Order processing and similarity calculation model obtaining method and device and electronic equipment
Ma et al. A blockchain based privacy-preserving incentive mechanism for internet of vehicles in satellite-terrestrial crowdsensing
CN114254370B (en) Method and device for improving transaction matching degree based on multiparty security privacy calculation

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