CN113256277A - Resource management method of block chain, electronic device and storage medium - Google Patents

Resource management method of block chain, electronic device and storage medium Download PDF

Info

Publication number
CN113256277A
CN113256277A CN202010085318.XA CN202010085318A CN113256277A CN 113256277 A CN113256277 A CN 113256277A CN 202010085318 A CN202010085318 A CN 202010085318A CN 113256277 A CN113256277 A CN 113256277A
Authority
CN
China
Prior art keywords
digital currency
party
blockchain
management platform
participant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010085318.XA
Other languages
Chinese (zh)
Inventor
张日和
王银
谭长生
楼颖飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ars Advanced River System Technology Co ltd
Original Assignee
Shenzhen Ars Advanced River System 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 Shenzhen Ars Advanced River System Technology Co ltd filed Critical Shenzhen Ars Advanced River System Technology Co ltd
Priority to CN202010085318.XA priority Critical patent/CN113256277A/en
Publication of CN113256277A publication Critical patent/CN113256277A/en
Pending legal-status Critical Current

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • 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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • 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/3825Use of electronic signatures
    • 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
    • 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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

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)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application discloses a resource management method of a block chain, an electronic device and a storage medium, wherein the management method comprises the following steps: the management platform receiving digital currency of a first participant of the blockchain; the management platform is used for managing the digital currency of the block chain; at least part of the digital currency of the first party is paid to or destroyed by a second party of the blockchain. Through the mode, the digital currency on the block chain can be effectively managed, and the healthy, stable and sustainable development of the block chain is promoted.

Description

Resource management method of block chain, electronic device and storage medium
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a method for managing resources of a blockchain, an electronic device, and a storage medium.
Background
With the rise of blockchain technology, more and more blockchain projects are developed. Blockchain technology significantly reduces transaction costs with machine code trust, and many blockchain projects employ a Token (incentive) mechanism to encourage participants to enter the blockchain project.
Token, which may be referred to in the computer context as a Token, may be interpreted in the blockchain domain as a Token, a digital currency, etc., and may be used as a measure of value in a blockchain item, as an endogenous currency for the blockchain item, for settlement of transactions in the blockchain.
Disclosure of Invention
The technical problem that this application mainly solved is: the resource management method, the electronic device and the storage medium of the block chain are provided, so that the digital currency on the block chain can be effectively managed, and the healthy, stable and sustainable development of the block chain is promoted.
In order to solve the technical problem, the application adopts a technical scheme that: a method for resource management of a block chain is provided, which comprises: the management platform receiving digital currency of a first participant of the blockchain; the management platform is used for managing the digital currency of the block chain; at least part of the digital currency of the first party is paid to or destroyed by a second party of the blockchain.
Optionally, the managing platform receiving the digital currency of the first participant of the blockchain comprises: receiving at least a portion of the digital currency in the account of the first party; or receiving at least a portion of the digital currency sent by a third party to the first party from the blockchain.
Optionally, paying at least part of the digital currency of the first party to a second party of the blockchain comprises: at least a portion of the digital currency of the first party is used by a second party administering the blockchain.
Optionally, the management platform receiving the digital currency of the first participant of the blockchain comprises before: setting a set of intelligent accounts and intelligent contracts; the intelligent account is used for receiving or paying digital currency, and the intelligent contract is used for standardizing rules for receiving, paying or destroying the digital currency; the intelligent contract is associated with an intelligent account.
Optionally, the management platform after receiving the digital currency of the first participant of the blockchain comprises: the management platform executing the smart contract to transfer the digital currency of the first party to the smart account; paying at least part of the digital currency of the first party to a second party of the blockchain comprises: the management platform executes the smart contract to pay at least a portion of the digital currency in the smart account to a second participant of the blockchain.
Optionally, paying at least part of the digital currency of the first party to a second party of the blockchain comprises: the management platform executes the smart contract to pay at least a portion of the first party's digital currency to a second party of the blockchain and to pay the remaining portion of the first party's digital currency to the smart account.
Optionally, the smart account includes at least one set of public and private key pairs; paying or destroying at least a portion of the digital currency of the first party to a second party of the blockchain includes: signing the operation of payment or destruction by using a public and private key; the intelligent contract is executed to pay or destroy at least part of the first party's digital currency to a second party of the blockchain.
Optionally, signing the operation of payment or destruction with a public and private key further comprises: judging whether the signature meets the signature condition required for paying or destroying the digital currency of the first participant; the signature condition comprises a signature of a preset public and private key pair and/or a signature with a preset number or weight; if so, the intelligent contract is executed to pay or destroy at least part of the first party's digital currency to a second party of the blockchain.
In order to solve the above technical problem, another technical solution adopted by the present application is: an electronic device is provided that includes a processor, a memory, and communication circuitry, the processor coupling the memory and the communication circuitry; the communication circuit is used for communicating the electronic equipment and the block link point equipment; the memory is used for storing program instructions; the processor is used for executing program instructions to realize the resource management method of the block chain.
In order to solve the above technical problem, the present application adopts another technical solution: there is provided a computer storage medium for storing program instructions executable by a processor to implement the above-described resource management method for a blockchain.
The beneficial effect of this application is:
the management platform receives the digital currency of the first participant of the block chain to redistribute, so that effective management of the digital currency can be realized, the cost of the management platform for managing the block chain network can be continuous, the management platform can not only go out but also go in, and the worry about fund exhaustion is avoided; the collected digital currency may be used to pay the second participant in order to incentivize the participants in the blockchain and maintain proper functioning of the blockchain network; the management platform can also destroy the collected digital currency to maintain the stable development of the digital currency in the block chain system, reduce the expansion and dispersion speed of the digital currency in the block chain and be beneficial to the sustainable development of the block chain economic system.
Drawings
FIG. 1 is a schematic structural diagram of an embodiment of a management platform of the present application;
FIG. 2 is a flowchart illustrating a first embodiment of a method for resource management of a blockchain according to the present application;
FIG. 3 is a flowchart illustrating a second embodiment of a method for resource management of a blockchain according to the present application;
FIG. 4 is a flowchart illustrating a third embodiment of a method for resource management of a blockchain according to the present application;
FIG. 5 is a schematic structural diagram of a first embodiment of an electronic device of the present application;
FIG. 6 is a schematic structural diagram of a second embodiment of an electronic device of the present application;
FIG. 7 is a schematic structural diagram of an embodiment of a storage medium according to the present application.
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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first", "second" and "third" in this application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any indication of the number of technical features indicated.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The inventors of the present application have found, through long-term research: currently blockchain items have endogenous digital currencies that are defined at the time of blockchain item creation, but that do not become actual digital currencies. In the implementation process of the blockchain project, the blockchain members can make contributions and the like, and the endogenous digital currency can be converted into actual negotiable digital currency, so that the intrinsic digital currency can be used for reward of block chain link points for accounting and blockchain network maintenance. As blockchains evolve, more and more digital currency is mined out to distribute to booked blockchain nodes, making digital currency more and more decentralized. In order to ensure the value of the digital currency, the digital currency of the blockchain cannot be increased endlessly, which results in that the digital currency which can be used for maintaining the blockchain network is less and less, which is not only unfavorable for the development of the blockchain network, but also can cause the breakdown of the blockchain network. To solve these problems, the present application proposes at least the following embodiments.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an embodiment of the management platform of the present application. The management platform 10 in this embodiment is, for example, a blockchain node in a blockchain network or an organization thereof, or may also be a service in a blockchain system. The management platform 10 may manage digital currency of the blockchain, such as performing transfer, collection, payment, verification, destruction, etc. management operations to maintain stable development of digital currency in the blockchain system.
The management platform 10 may preset a set of smart accounts 11 and smart contracts 12. The smart account 11 may be used to receive or pay for digital currency. The smart account 11 may include an account address, a private key, and the like. In this embodiment, the smart account 11 may include one or more. The smart accounts 11 may be categorized by the use of digital currency in the blockchain to implement different functions. For example, the management platform 10 may place digital money for payment into a first smart account and digital money for destruction into a second smart account. Or each smart account 11 may perform the same function. In some embodiments, a corresponding administrator node may also be configured in the blockchain system for performing management and maintenance on the smart account 11.
The smart contracts 12 of the management platform 10 may be used to specify rules for receiving, paying for, or destroying digital currency. The intelligent contracts 12 may also be associated with respective intelligent accounts 11 to facilitate execution of the respective intelligent contracts 12 to allocate digital currency in the blockchain to the associated intelligent accounts 11 or to withdraw digital currency from the associated intelligent accounts 11 for administration and maintenance of the blockchain network.
Intelligent contracts 12 may also include system contracts and dynamic contracts. The system is commonly agreed by all nodes in the block chain network firstly during each deployment, and then the block chain nodes are updated and upgraded synchronously without being changed randomly. The dynamic contract can be dynamically deployed according to the treatment under the chain, the project budget and the like, corresponding signature authorization needs to be obtained in each deployment, and corresponding records are reserved on the block chain so as to be convenient for checking.
The management platform 10 may also interact with blockchain participants. Blockchain participants may be principals participating in blockchain transactions, including users, node devices or organizations thereof that enable user interaction with blockchain networks, and the like. A blockchain participant may be the subject of participating in a blockchain transaction, or a blockchain participant may also be the subject of participating in other things of the blockchain, such as participating in endorsements, sorting, packaging blocks, communication or billing, among other things. The management platform 10 may receive digital money from the blockchain participants and may also pay the blockchain participants for the digital money to effect redistribution of the digital money in the blockchain.
The management platform 10 may also include the content of blockchain underlying services including, for example, an application layer, a contract layer, an incentive layer, a consensus layer, a network layer, and a data layer. The participants of the blockchain may trade through the management platform 10, and the management platform 10 may also implement the trade between the intelligent account 11 and the participants of the blockchain by executing the intelligent contract 12.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a resource management method for a block chain according to the present application. The embodiment comprises the following steps:
s101: the management platform receives digital currency of the first participant.
In this embodiment, the first party may be a subject participating in the blockchain transaction, such as a subject participating in a transaction, endorsement of a transaction, ordering of transactions, packaging of blocks, communication or accounting, and the like.
The management platform may receive digital currency of a first participant of the blockchain. For example, the management platform may receive digital currency generated by the first participant while participating in the blockchain transaction, including digital currency paid or received by the first participant; or may receive digital currency that the first party transfers directly to the management platform or that is temporarily stored on the management platform. Digital currency received by the management platform may be used for transactions in the blockchain in exchange for corresponding resources or services.
In some implementations, the digital currency of the first participant may be a digital currency that the first participant spends from the account while participating in the blockchain transaction. For example, S101 may further include: at least a portion of the digital currency in the account of the first party is received.
The first party can draw the digital currency stored in the account to exchange for the corresponding resource or service while participating in the blockchain transaction. For example, when the first party performs the blockchain transaction, the first party may pay a corresponding commission fee from the account to the billing node, and the management platform may collect a part of the commission fee according to the corresponding rule. Alternatively, the management platform may collect the corresponding digital money from the account of the first party under the condition of obtaining the authorization.
In other embodiments, the digital currency of the first participant may also be the digital currency sent to the first participant by a third participant in the blockchain. For example, S101 may further include: at least a portion of the digital currency sent by the third party to the first party from the blockchain is received.
The third party may also be a principal participating in the blockchain thing. The third party may provide the corresponding digital currency to the first party when obtaining the resource or service provided by the first party. The management platform may collect at least a portion of the digital currency from the digital currency sent by the third party to the first party. For example, the first party may receive a digital currency award provided by the third party when accounting for transactions in the blockchain, and the management platform may collect a portion of the digital currency from the award and the remainder of the digital currency may be allocated to the first party.
S102: the management platform pays or destroys at least part of the digital currency of the first party to the second party.
After the management platform receives the digital currency of the first participant, the management platform can perform corresponding processing on the digital currency. For example, the management platform may pay at least a portion of the digital currency of the first participant to a second participant of the blockchain in exchange for a corresponding resource or service or to incentivize the second participant to promote liveness of the blockchain network. In this embodiment, at least a portion of the digital currency of the first participant may include a portion of the digital currency or the entire digital currency.
The second party may be a principal participating in the blockchain thing. In this embodiment, the second participant may also be the subject of maintaining normal operation of the blockchain network. For example, the second participant is an administrator node or an organization thereof in the blockchain network, and participates in the management of the blockchain network, such as network communication, security protection, daily operation things, and the like. The management platform may pay the second participant the corresponding digital currency to maintain normal operation and steady development of the blockchain network.
In some embodiments, the management platform paying at least a portion of the first party's digital currency to the second party of the blockchain may further comprise: at least a portion of the digital currency of the first party is used by a second party administering the blockchain.
The management platform uses the digital currency to administer the second participant, for example, pay the digital currency to the second participant so that the second participant can obtain the corresponding resource or service, or exchange the favorable resource or service with the digital currency to provide the second participant, so that the second participant can be effectively stimulated to participate in the block chain thing, and the stable development of the block chain is promoted. The management platform uses the received digital currency to manage the second participating node, and can feed back the obtained digital currency to the blockchain network in other forms, so that fairness of the digital currency in the blockchain network is guaranteed, and sustainable development of the blockchain digital currency is maintained.
In this embodiment, the management platform may also destroy at least part of the digital currency of the first party. Digital currency loses value after being destroyed and is not allowed to be reused in the blockchain. In some embodiments, the management platform may remove the destroyed digital currency from the blockchain ledger, or the management platform may establish a destruction catalog in which the digital currency recorded in the destruction catalog is not reusable. The management platform can reduce the expansion speed of the digital currency in the block chain by destroying a proper amount of digital currency, and is beneficial to the sustainable development of a block chain economic system.
In this embodiment, the management platform receives the digital money of the first participant of the block chain to redistribute the digital money, so that effective management of the digital money can be realized, and the cost of the management platform for managing the block chain network can be continuous without going out and worrying about the exhaustion of funds; the collected digital currency may be used to pay the second participant in order to incentivize the participants in the blockchain and maintain proper functioning of the blockchain network; the management platform can also destroy the collected digital currency to maintain the stable development of the digital currency in the block chain system, reduce the expansion and dispersion speed of the digital currency in the block chain and be beneficial to the sustainable development of the block chain economic system.
Referring to fig. 3, fig. 3 is a flowchart illustrating a resource management method for a block chain according to a second embodiment of the present application. This embodiment is further described on the basis of the first embodiment of the resource management method for a block chain in the present application, and the same steps as those in the first embodiment of the resource management method for a block chain in the present embodiment are not described herein again. The embodiment comprises the following steps:
s201: the management platform receives digital currency of the first participant.
In this embodiment, the management platform may further set a set of smart accounts and smart contracts before receiving the digital money of the first participant of the blockchain. The smart account may be used to receive or pay for digital currency. There may be multiple intelligent accounts for digital currency received by the sub-management platform. After receiving the digital currency of the first participant, the management platform may also transfer the digital currency to a corresponding smart account. Smart contracts may be used to specify rules for receiving, paying for, or destroying digital currency. The intelligent contract can also be associated with a corresponding intelligent account, and the management platform can execute the corresponding intelligent contract to transfer the digital currency to the associated intelligent account or to draw or destroy the digital currency in the corresponding intelligent account.
In this embodiment, the digital currency that the management platform receives the first party may be digital currency from the first party account or digital currency that the third party sends to the first party. After receiving the digital money, the management platform may transfer and redistribute the received digital money to the smart account, for example, execute step S202.
S202: the management platform executes the smart contract to transfer the digital currency of the first participant to the smart account.
In this embodiment, the management platform may execute the smart contract to transfer the digital currency of the first party to the smart account after receiving the digital currency of the first party. The digital currency collected by the smart account may be used for reassignment to maintain the continued development of digital currency in the blockchain.
Optionally, when there are multiple intelligent accounts, the management platform may execute a corresponding intelligent contract to transfer the digital money of the first participant to the corresponding account according to the triggering condition. The trigger condition may include a category of the first party, a source of the digital currency, a type of the digital currency, and the like. For example, the triggering condition may include a source of digital currency, which when in the account of the first party, the management platform may transfer the digital currency to the first smart account; and for digital currency sent by a third party to the first party, the management platform may transfer it to a second smart account.
In some embodiments, the management platform may also transfer the digital currency of the first party to a different smart account depending on the purpose of the received digital currency. For example, the management platform may transfer digital money for payment to a first smart account and digital money for destruction to a second smart account, so that the management platform may perform classification management on digital money for different purposes.
S203: the management platform pays or destroys at least part of the digital currency of the first party to the second party of the blockchain.
In this embodiment, after the management platform transfers the digital money of the first party to the intelligent account, the digital money in the intelligent account may be redistributed. For example, the management platform may execute a respective smart contract to pay at least a portion of the digital currency in the associated smart account to a second participant of the blockchain. Alternatively, the management platform may also destroy the received digital currency of the first party.
The management platform may pay some or all of the digital currency of the first party currently received in the smart account to the second party when executing the smart contract to pay the digital currency to the second party. Alternatively, the management platform may also reserve the currently received digital money of the first participant and pay the second participant from the original digital money in the smart account, and the digital money of the first participant currently received by the management platform may be used for other purposes such as additional payment or destruction, so as to facilitate the coordinated allocation of different amounts or different types of digital money.
In some embodiments, the management platform may not perform step S202 after receiving the digital money of the first party, and may directly dispense the digital money of the first party. For example, the management platform paying at least a portion of the first party's digital currency to the second party of the blockchain may further include: the management platform executes the respective smart contract to pay at least a portion of the first participant's digital currency to a second participant of the blockchain and to pay the remaining portion of the first participant's digital currency to the smart account. The management platform directly distributes the digital currency of the first participant, so that operation steps can be saved, and the efficiency of digital currency redistribution is improved.
The management platform of the embodiment can improve the credibility and the safety degree of the digital currency distribution in the block chain by executing the corresponding intelligent contract to redistribute or destroy the received digital currency; the collected digital money can be directly transferred to the associated intelligent account and then distributed in the intelligent account, so that coordinated distribution of different amounts or different types of digital money is facilitated, and the digital money distribution effectiveness of the management platform is improved; the management platform can also directly distribute the received digital currency, so that the distribution efficiency of the digital currency is improved; the collected digital currency can be destroyed to maintain the stable development of the digital currency in the blockchain system, reduce the expansion and dispersion speed of the digital currency in the blockchain, and be beneficial to the sustainable development of the blockchain economic system.
In this embodiment, the sequence of steps S201 to S203 is the description sequence in this embodiment, and is not limited to the sequence of the transaction method of the block chain in this embodiment in the execution process.
Referring to fig. 4, fig. 4 is a flowchart illustrating a resource management method for a block chain according to a third embodiment of the present application. This embodiment is further described on the basis of the first embodiment of the resource management method for a block chain in the present application, and the same steps as those in the first embodiment of the resource management method for a block chain in the present embodiment are not described herein again. The embodiment comprises the following steps:
s301: the management platform receives digital currency of the first participant.
In this embodiment, the management platform may further set a set of smart accounts and smart contracts before receiving the digital currency of the first participant of the blockchain. The smart account is used for receiving or paying digital currency, and the smart contract is used for standardizing rules for receiving, paying or destroying the digital currency. The smart contracts may be associated with respective smart accounts. The smart account of the management platform may include at least one set of public and private key pairs. The public-private key pair of the smart account can be used for signature authorization of blockchain things in which the smart account participates, such as signature authorization of transactions, destruction and the like of digital currency. And the blockchain things participated in by the intelligent account are validated after corresponding signature and authority verification are passed.
In this embodiment, the management platform, upon receiving the digital currency of the first party, may pay or destroy at least a portion of the digital currency of the first party to a second party of the blockchain. For example, the management platform may perform the following steps of S302-S304.
S302: the management platform signs an operation of paying or destroying digital currency of the first party with a public and private key.
In this embodiment, before the management platform pays for or destroys the received digital currency, the management platform may also perform signature authorization on the payment or destruction operation, so as to improve the security and credibility of the redistribution of the digital currency. For example, the management platform may sign authorize the received digital currency of the first party for a payment to the second party using a public-private key pair when paying the second party.
In this embodiment, the intelligent account of the management platform may include a plurality of sets of public and private key pairs, so as to implement multiple signatures for operations of paying or destroying digital currency, and improve the security of the intelligent account. In some embodiments, the multiple sets of public and private key pairs of the smart account further have corresponding key values or weights, respectively, and the management platform may also obtain signatures of the public and private key pairs satisfying corresponding thresholds in advance when using digital currency in the smart account.
S303: the management platform determines whether the signature satisfies a signature condition required to pay for or destroy the digital currency of the first party.
Before paying or destroying the digital currency, the management platform can judge whether the signing condition is met or not, namely whether the operation of paying or destroying the digital currency obtains correct signing authorization or not is verified. The management platform can set corresponding signature conditions for operations of paying or destroying digital currency in advance. For example, the management platform may set different signature conditions for payment and destruction of digital currency. Or, the management platform may also set a plurality of sub-signature conditions for payment or destruction, respectively, and when at least part of the sub-signature conditions are met, the signature conditions are met.
In this embodiment, the signature condition may include a signature of a preset public-private key pair and/or a signature of a preset number or weight. The preset public and private key pair includes at least one group of public and private key pairs of the smart account. The preset public and private key pair may be one or more sets. The management platform can set different, same or partially same preset public and private key pairs for payment and destruction respectively. In this embodiment, the preset number is at least one, and the management platform may preset the same or different preset number of signatures for payment and destruction. Each set of public-private key pairs of a smart account may also be provided with a corresponding signature weight. The signature weight of the management platform for signing the operation of paying and destroying the digital currency is the sum of the signature weights of the public and private key pairs corresponding to all the signatures of the operation. The management platform can determine the operation of the digital currency in advance, namely the required signature condition, so as to correctly judge whether the signature meets the corresponding signature condition.
The management platform can judge whether the signature meets the signature of a preset public and private key pair. For example, when the management platform performs payment operation using digital currency, the signature condition required by the payment operation is the signature of a preset public and private key pair, and after the management platform performs signature on the payment, whether the signature includes the signature of the public and private key pair required by the signature condition corresponding to the payment operation can be judged; if yes, the signature condition is met; and if the signature of at least one group of preset public and private key pairs is lacked, the signature condition is not met. Similarly, when the management platform performs an operation of destroying the digital currency, it may also determine whether the signature includes a signature of a public-private key pair required by a signature condition corresponding to the operation of destroying.
The management platform can also determine whether the signatures satisfy a preset number or weight of signatures. For example, when the management platform performs payment operation using digital currency, the signature condition required by the payment operation is a signature with a preset weight, and after the management platform performs signature on the payment, the management platform can calculate the sum of the weights of all signatures and determine whether the sum of the weights is greater than or equal to the preset weight required by the signature condition; if yes, the signature condition is met; if not, the signature condition is not satisfied. Similarly, when the signature condition is a preset number of signatures, the management platform may also calculate the sum of the number of signatures, so as to determine whether the preset number of signatures is satisfied. When the management platform performs an operation of destroying the digital currency, it may also determine whether the signature includes a signature of a preset number or weight required by a signature condition corresponding to the operation of destroying.
In this implementation, the signature condition may also include a signature of a preset public and private key pair and a signature of a preset number or weight. When the management platform judges that the signature simultaneously meets the signature of a preset public and private key pair and the signature of a preset number or weight, the signature condition is determined to be met, so that the safety of the digital currency in the intelligent account can be further improved.
In this embodiment, if the management platform determines that the signature satisfies the signature condition required for paying or destroying the digital money of the first party, the step of S304 may be executed; if it is determined that the signature condition is not satisfied, the step of S304 is not executed, or the management platform may execute the step of S302 and perform the signature again.
S304: the management platform executes the smart contract to pay or destroy at least part of the first party's digital currency to a second party of the blockchain.
When the management platform judges that the signature of the master or the operation of destroying the digital currency meets the corresponding signature condition, the management platform can execute a corresponding intelligent contract to pay at least part of the digital currency of the first participant to the second participant of the blockchain or destroy the digital currency of the first participant.
In this embodiment, the management platform may execute the smart contract to transfer the digital currency of the first participant to the smart account first, and then redistribute the digital currency in the smart account, including paying or destroying at least part of the digital currency of the first participant to the second participant of the blockchain. Alternatively, the management platform may also directly redistribute the digital money of the first participant, such as executing a smart contract to pay at least part of the digital money of the first participant to a second participant of the blockchain and the rest to the smart account; alternatively, the smart contract is executed to destroy the digital currency of the first party.
In this embodiment, the sequence of steps S301 to S304 is the description sequence in this embodiment, and is not limited to the sequence of the resource management method of the block chain in this embodiment in the execution process. This embodiment may be combined with the second embodiment of the resource management method of the block chain in the present application.
Referring to fig. 5, fig. 5 is a schematic structural diagram of the electronic device according to the first embodiment of the present application. The electronic device 50 of the present embodiment includes a processor 51, a memory 52, and a communication circuit 53, and the processor 51 is coupled to the memory 52 and the communication circuit 53.
In this embodiment, the communication circuit 53 is used for the electronic device 50 to communicate with the block link point device. The memory 52 is used to store program instructions. The processor 51 is configured to execute the program instructions to implement the steps of the first to third embodiments of the block chain resource management method of the present application.
In the present embodiment, the processor 51 may also be referred to as a CPU (Central Processing Unit). The processor 51 may be an integrated circuit chip having signal processing capabilities. The processor 51 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
For more execution processes and functions of the electronic device 50 in this embodiment, reference may be made to the description of the first to third embodiments of the block chain resource management method in this application, and details are not described herein again.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a second embodiment of the electronic device of the present application. The electronic device 60 of the present embodiment includes a receiving module 61 and a payment module 62.
The receiving module 61 is for receiving digital currency of a first participant of the blockchain. The payment module 62 is used to pay or destroy at least part of the first party's digital currency to a second party of the blockchain.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional module in this embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
In this embodiment, for more functions of each functional module of the electronic device 60, reference may be made to the description of the first to third embodiments of the resource management method of the block chain in this application, and details are not repeated here.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an embodiment of a computer storage medium according to the present application. The storage medium 70 in this embodiment is used to store program instructions 71. The program instructions 71 can be executed by a processor to implement the steps of the first to third embodiments of the block chain resource management method described above. Reference may be specifically made to the description of the first embodiment to the third embodiment of the method for managing resources of a block chain in the present application, which is not described herein again.
The method for managing resources of a blockchain according to the present invention according to the first to third embodiments may be stored in a computer-readable storage medium if the method is implemented in the form of a software functional unit and sold or used as an independent product. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium 70 includes: various media capable of storing program codes, such as a usb disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or other devices, such as a mobile terminal including a storage medium.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A method for resource management of a block chain, comprising:
the management platform receiving digital currency of a first participant of the blockchain; wherein the management platform is used for managing the digital currency of the block chain;
paying or destroying at least a portion of the first party's digital currency to a second party of the blockchain.
2. The method of claim 1,
the managing platform receiving digital currency of a first participant of the blockchain comprises:
receiving at least a portion of the digital currency in the account of the first party; or
Receiving at least a portion of the digital currency sent by a third party to the first party from the blockchain.
3. The method of claim 1,
said paying at least part of said first party's digital currency to a second party of said blockchain comprises:
using at least a portion of the digital currency of the first party to administer a second party to the blockchain.
4. The method of claim 1,
the management platform prior to receiving digital currency for a first participant of the blockchain comprises:
setting a set of intelligent accounts and intelligent contracts; the intelligent account is used for receiving or paying digital currency, and the intelligent contract is used for standardizing rules for receiving, paying or destroying the digital currency; the smart contract is associated with the smart account.
5. The method of claim 4,
after receiving the digital currency of the first participant of the blockchain, the management platform includes:
the management platform executing the smart contract to transfer digital currency of the first party to the smart account;
said paying at least part of said first party's digital currency to a second party of said blockchain comprises:
the management platform executes the smart contract to pay at least a portion of the digital currency in the smart account to a second participant of the blockchain.
6. The method of claim 4,
said paying at least part of said first party's digital currency to a second party of said blockchain comprises:
the management platform executes the smart contract to pay at least a portion of the first party's digital currency to a second party of the blockchain and to pay the remaining portion of the first party's digital currency to the smart account.
7. The method of claim 4,
the intelligent account comprises at least one group of public and private key pairs;
said paying or destroying at least a portion of the first party's digital currency to a second party of the blockchain comprises:
signing the operation of payment or destruction by using the public and private key;
executing the smart contract to pay or destroy at least part of the first party's digital currency to a second party of the blockchain.
8. The method of claim 7, further comprising:
the signing the operation of payment or destruction by the public and private key further comprises:
determining whether the signature meets a signature condition required to pay for or destroy the digital currency of the first party; the signature condition comprises a signature of a preset public and private key pair and/or a signature with a preset number or weight;
if so, the step of executing the smart contract to pay or destroy at least part of the first party's digital currency to a second party of the blockchain is performed.
9. An electronic device comprising a processor, a memory, and communication circuitry, the processor coupling the memory and the communication circuitry; wherein the content of the first and second substances,
the communication circuit is used for the electronic equipment to communicate with the block link point equipment;
the memory is to store program instructions;
the processor is configured to execute the program instructions to implement the method according to any one of claims 1 to 8.
10. A computer storage medium for storing program instructions executable by a processor to perform the method of any one of claims 1 to 8.
CN202010085318.XA 2020-02-10 2020-02-10 Resource management method of block chain, electronic device and storage medium Pending CN113256277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010085318.XA CN113256277A (en) 2020-02-10 2020-02-10 Resource management method of block chain, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010085318.XA CN113256277A (en) 2020-02-10 2020-02-10 Resource management method of block chain, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN113256277A true CN113256277A (en) 2021-08-13

Family

ID=77219484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010085318.XA Pending CN113256277A (en) 2020-02-10 2020-02-10 Resource management method of block chain, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN113256277A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077675A (en) * 2016-12-30 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain based currency management method and system
CN110298643A (en) * 2019-08-22 2019-10-01 深圳市先河系统技术有限公司 Service charge distribution method, device and storage medium based on block chain

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077675A (en) * 2016-12-30 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain based currency management method and system
CN110298643A (en) * 2019-08-22 2019-10-01 深圳市先河系统技术有限公司 Service charge distribution method, device and storage medium based on block chain

Similar Documents

Publication Publication Date Title
JP7407895B2 (en) Blockchain for general calculations
US10986177B2 (en) Systems and methods of self-forking blockchain protocol
CN109767212B (en) Asset exchange method, system, terminal and storage medium based on blockchain
CN108885761B (en) Method for secure point-to-point communication on a blockchain
JP2019160316A (en) System, method and computer program for resource equity for blockchain
CN108197944B (en) Resource transaction method and device based on block chain technology
CN111899012B (en) Block chain-based money transfer method and device
JP6860067B2 (en) Resource management systems, management equipment, methods and programs
Shibata Proof-of-search: combining blockchain consensus formation with solving optimization problems
TW202013272A (en) A method and apparatus for allocating virtual resources
CN113421089A (en) Block chain-based available resource quota exchange method and device
CN110599323A (en) Resource processing method and processing equipment
CN111582844A (en) Block chain based commission fee distribution method, device and storage medium
KR102092850B1 (en) Profit sharing system for blockchain base cryptocurrency and method thereof
US20070168297A1 (en) Efficient method and system for secure business-to-business transaction
CN112015577B (en) Intelligent contract calling method and device
CN111815444A (en) Block chain transaction method, electronic device and storage medium
CN113256277A (en) Resource management method of block chain, electronic device and storage medium
CN111090694A (en) Block chain system based on mobile user weight
CN111815307A (en) Asset management method of block chain, electronic device and storage medium
CN112184460B (en) House maintenance fund management method, apparatus and storage medium
US20210350365A1 (en) Control method, data structure, server, and recording medium
CN109144675A (en) A kind of transaction methods and relevant apparatus
Pohl et al. Proof of Provision: Improving Blockchain Technology by Cloud Computing.
CN111815443A (en) Reward management method of block chain system, electronic device and storage medium

Legal Events

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

Application publication date: 20210813

RJ01 Rejection of invention patent application after publication