CN109829718B - Block chain multi-level framework based on storage application scene and operation method thereof - Google Patents

Block chain multi-level framework based on storage application scene and operation method thereof Download PDF

Info

Publication number
CN109829718B
CN109829718B CN201910090775.5A CN201910090775A CN109829718B CN 109829718 B CN109829718 B CN 109829718B CN 201910090775 A CN201910090775 A CN 201910090775A CN 109829718 B CN109829718 B CN 109829718B
Authority
CN
China
Prior art keywords
storage
contract
chain
node
certification
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
CN201910090775.5A
Other languages
Chinese (zh)
Other versions
CN109829718A (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.)
Pioneer Cloud Computing Shanghai Co ltd
Original Assignee
Pplabs Network Technology Shanghai 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 Pplabs Network Technology Shanghai Co ltd filed Critical Pplabs Network Technology Shanghai Co ltd
Priority to CN201910090775.5A priority Critical patent/CN109829718B/en
Publication of CN109829718A publication Critical patent/CN109829718A/en
Application granted granted Critical
Publication of CN109829718B publication Critical patent/CN109829718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a block chain multi-level framework based on a storage application scene, which comprises the following steps: registering a contract chain on the main block chain to enable the contract chain to be attached to the lower part of the main chain; registering a certificate chain on the contract chain so as to attach to the contract chain: transaction contracts are stored and maintained on the contract chain, settlement is carried out in the transaction contracts by receiving storage certification events from the certification chain, and a multi-level architecture scheme is proposed for decentralized distributed storage service scenes on the basis of the original single-chain block chain technology, so that the functions of high concurrent storage tasks and high-reliability data storage are realized, and the problem of performance delay of the existing block chain technology in storage application scenes is solved.

Description

Block chain multi-level framework based on storage application scene and operation method thereof
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain multi-level framework based on a storage application scene and an operation method thereof.
Background
In this application, the term "blockchain" is used to encompass all forms of electronic, computer-based distributed ledgers, including but not limited to consensus-based blockchain and transaction chain techniques, licensed and unlicensed ledgers, shared ledgers, and variations thereof.
The most widely known application of blockchain technology is the bitcoin ledger, but other blockchain implementations have been developed based on their architecture in the prior art. Although illustrated herein with reference to bitcoin for purposes of convenience and explanation, those skilled in the art will appreciate that the present invention is not limited to use with bitcoin blockchains, and thus any alternative blockchain implementation and protocol that results based on this "blockchain" technique and its concepts fall within the scope of the present disclosure.
A blockchain, as an electronic ledger, is implemented as a computer-based decentralized, distributed system consisting of a plurality of blocks, which in turn consist of a plurality of transactions. Each transaction is a data structure encoding a transfer of control of a digital asset between participants in the blockchain system, and each transaction includes at least one input and at least one output. Each chunk contains a hash of the previous chunk, so that the chunks become linked together to create a record that all transactions written to the chunk chain since the beginning of the chunk chain, can never be changed.
In order to write a transaction to the blockchain, the transaction must be "verified". The network node (miners) must perform work to ensure that each transaction is valid and to make invalid transactions denied to the network. That is, the software client installed on the node performs this verification work on the Unspent Transaction (UTXO) by executing its lock script and unlock script. If the execution of the lock script and unlock script evaluates to TRUE (TRUE), the transaction is valid and the transaction is written to the blockchain. Thus, in order to write a transaction to a blockchain, the transaction must: 1 is verified by a first node receiving the transaction, and if the transaction is verified, the node relays the transaction to other nodes in the network; 2 to a new block built by the miners; and; 3 mined, i.e. added to a public ledger of past transactions.
Although blockchain technology is well known for its application to cryptocurrency implementations, digital entrepreneurs have begun exploring cryptosecurity systems on which bitcoins are based and the application of data that can be stored on blockchains to implement new systems. It would be advantageous if blockchains could be used for automation tasks and processes that are not limited to the field of cryptocurrency. Such a solution would enable existing business network solutions to be upgraded with the advantages of blockchains (e.g., permanence of events, tamper-resistant logging, distributed processing, etc.).
One aspect of current state-of-the-art research is the application of blockchains in the implementation of "intelligent contracts". These intelligent contracts are computer programs designed to automatically execute machine-readable contracts or terms of an agreement. Unlike traditional contracts that will be written in natural language, intelligent contracts are machine-executable programs that include rules that can process input to produce results, and can then cause actions to be performed depending on those results.
The present invention combines various prior art concepts in order to provide an infrastructure for blockchain mechanism based storage services that can be provided between different parties. The technical problem faced in the art is that the current blockchain design cannot be directly applied in the storage service application scenario, and even if the blockchain design is reluctant to be adopted, the problem of serious performance delay still exists, thereby troubling those skilled in the art.
Disclosure of Invention
The invention mainly aims to provide a block chain multi-level framework based on a storage application scene and an operation method thereof, and provides a multi-level framework scheme for a decentralized distributed storage service scene on the basis of the original single-chain block chain technology so as to realize the functions of high concurrent storage tasks and high-reliability data storage, thereby solving the problem of performance delay of the existing block chain technology in the storage application scene.
To achieve the above object, according to one aspect of the present invention, there is provided a blockchain multi-hierarchy architecture based on storage application scenarios, comprising: registering a contract chain on the main block chain to enable the contract chain to be attached to the lower part of the main chain; registering a certification chain on the contract chain to enable the certification chain to be attached to the lower part of the contract chain; the chain of contracts is stored and maintained with trading contracts, and settlement is performed in the trading contracts by receiving a storage certification event from the certification chain.
Preferably, the blockchain multi-hierarchy architecture based on storage application scenarios further includes: the user node and the storage node initiate registration on the contract chain to form a supply and demand party, when the user node initiates a trade contract, the task scheduler matches the storage node meeting the conditions to trade, and a corresponding certification chain is designated for the storage node so that the storage node can give out a storage certification event for executing a storage task.
Preferably, wherein the execution of the contract chain according to the transaction contract is performed according to the storage certification event uploaded by the certification chain comprises: at least one of a trade contract task, a trade contract hold task, a trade contract rescheduling task, a trade contract termination task, and a trade contract settlement task is signed, and the trade contract is updated.
Preferably, wherein the trading contract comprises: recording an intelligent contract of storage targets of user nodes which are responsible for each storage node, wherein the intelligent contract comprises the following steps: storing at least one of ID of the target, storage time, storage price, user node ID and storage node ID.
Preferably, wherein storing the attestation event comprises: the storage target data is at least one of copy success, storage target persistence certification, content storage failure, storage node friendly departure, hard disk damage and storage node offline.
In order to achieve the above object, according to another aspect of the present invention, there is provided an operating method using the blockchain multi-hierarchy architecture based on storage application scenarios, the executing steps when executing a task of signing a transaction contract include: s1, a user node creates a transaction contract on a contract chain and initiates a storage demand offer, wherein the storage demand offer comprises the conditions of the size, the duration and the payable fee of the storage demand; s2, the task scheduler matches the existing storage nodes meeting the storage requirement size, duration and payable fee conditions according to the transaction contract requirements, updates the storage transaction contract after the matching is successful, puts the payment fee of the user node and the mortgage fee of the storage node into the transaction contract, and updates the address information of the storage node to the transaction contract; s3, the user node sends a storage target to the matched storage node according to the address information of the storage node; s4, after the storage node finishes receiving the storage target, sending a storage target certificate to the certificate chain, and sending a storage target copy success event to the contract chain by the certificate chain; and S5, after receiving the storage certification event of successful replication of the storage target, the contract chain modifies the corresponding trading contract to take effect.
In order to achieve the above object, according to another aspect of the present invention, there is provided an operation method using the blockchain multi-hierarchy architecture based on storage application scenarios, the executing step when executing a transaction contract saving task includes: s1, during the existence period of a transaction contract of a user node, a storage node continuously provides a storage target existence certification event for a certification chain so as to prove that the storage node continues to perform; s2, the proof chain sends the storage target continuous proof event to a contract chain; and S3, after the contract chain receives the storage target continuous proving event, continuously maintaining the validity of the corresponding trading contract.
In order to achieve the above object, according to another aspect of the present invention, there is provided an operating method using the blockchain multi-hierarchy architecture based on storage application scenarios, wherein the executing step when executing a trading contract rescheduling task comprises: s1, when a transaction contract of a user node is in a storage period, a storage node cannot continuously provide a storage proving event in a normal state, the transaction contract is rescheduled, and the mortgage cost of the storage node is penalized; s2, the dispatcher re-matches the existing storage nodes meeting the storage requirement size, duration and payable fee conditions according to the transaction contract requirements, updates the transaction contract after successful matching, and puts the mortgage fee of the newly matched storage nodes into the contract; s3, the newly matched storage node selects a mode from the former storage node or other storage nodes storing the storage target to obtain the storage target; s4, after the newly matched storage node finishes receiving the storage target, a storage target replication success event is sent to the proof chain, and the proof chain sends the storage target replication success storage proof event to the contract chain; and S5, after the contract chain receives the storage proving event of successful copying of the storage target, the corresponding trading contract is changed and is enabled to take effect again.
In order to achieve the above object, according to another aspect of the present invention, there is provided an operating method using the blockchain multi-hierarchy architecture based on storage application scenarios, wherein when executing a transaction contract termination task, the executing step includes: s1, the transaction contract of the user node is actively stopped by the user in the storage period, and after a contract chain is settled according to the storage period, the residual charge is returned to the account of the user node; s2, after the trading contract of the user node is expired, the trading contract is naturally terminated, and the storage node obtains contract benefits; s3, the storage node sends the friendly departure event to the contract chain through the certification chain, so that the trading contract is scheduled again, and the mortgage cost part of the storage node is penalized.
To achieve the above object, according to another aspect of the present invention, there is provided an operating method using a blockchain multi-hierarchy architecture based on storage application scenarios, the performing steps when performing a transaction contract settlement task include: the storage node continuously provides storage target existence certification events to the certification chain during the existence period of the trading contract, the certification chain reports to the contract chain so as to ask for income from the trading contract during the existence period, and the income is extracted in any one of a regular mode, an irregular mode or a one-time mode.
According to the block chain multi-level framework based on the storage application scene and the operation method thereof, provided by the invention, the functions of high concurrent storage tasks and high-reliability data storage can be realized, so that the problem of performance delay of the existing block chain technology in the storage application scene is solved, and compared with the centralized management of cloud storage in the prior art, the block chain multi-level framework based on the storage application scene has more flexibility and anti-risk property.
The system framework can provide distributed storage service in a network, so that corresponding storage nodes are adapted through a contract chain according to the storage requirements of users, storage transaction is automatically facilitated, and meanwhile, in order to ensure storage reliability, an intelligent contract is triggered through the change events of the storage nodes, so that the storage targets are automatically adapted and transferred under a preset mechanism.
Therefore, the trading contract of the user is continuously and reliably executed to form decentralized storage efficacy, vacant storage resources in the network are fully utilized to obtain benefits, the focus attack risk stored in a certain centralized storage is avoided, the storage loss risk can be reduced, and a high-reliability distributed storage resource allocation trading framework is formed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a block chain multi-hierarchy architecture based on storage application scenarios of the present invention;
FIG. 2 is a block chain multi-hierarchy architecture based on storage application scenarios of the present invention;
FIG. 3 is a schematic diagram illustrating the task of executing a contract signing transaction based on a blockchain multi-hierarchy architecture of a storage application scenario;
FIG. 4 is a block chain multi-hierarchy architecture execution transaction contract persistent task step diagram based on a storage application scenario of the present invention;
FIG. 5 is a block chain multi-hierarchy architecture based storage application scenario illustrating the steps of executing a transaction contract rescheduling task according to the present invention;
FIG. 6 is a block chain multi-hierarchy architecture based on storage application scenarios to perform a transaction contract termination task in accordance with the present invention.
Detailed Description
It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of the present invention.
It should be noted that the terms "S1", "S2" and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
To address the deficiencies of the prior art, embodiments of the present invention provide a blockchain multi-tier architecture based on storage application scenarios that employs a P2P network architecture design to form a distributed architecture that shares work and tasks among interconnected computing devices in "nodes" or "peers" to form a decentralized network, enabling no individual computer to be designated as "hosting".
As shown in fig. 1 to fig. 2, in the block chain multi-hierarchy architecture based on the storage application scenario provided by the embodiment of the present invention, an existing block chain, such as a bitcoin chain, is used as a main chain, and two layers of side chains are designed, that is, a contract chain: managing a blockchain of intelligent contracts, and certifying the chains: and managing the block chain for storing the certificate so as to carry out capacity expansion storage on the intelligent contract and corresponding certificate information required to be stored in the main block chain transaction.
Specifically, the contract chain is attached to the main chain, and a plurality of contract chains can be formed according to business requirements initiated by user nodes, so that the contract chains correspond to all blocks on the main chain, and therefore, according to the growth and distribution conditions of storage tasks, the contract chains can be expanded flexibly and transversely, and high-concurrency storage tasks are borne. Further, the contract chain is used for maintaining and storing intelligent contracts and simultaneously carries a settlement task of storing the intelligent contracts, and the settlement is carried out in the trading contract by receiving the storage certification event from the certification chain.
And the proof strand, i.e., the side chain of the contract strand. Where there may be several chains of certificates under each contract chain, the number of chains of certificates depending on the number of storage nodes on the contract chain. Therefore, the storage task can be flexibly and transversely expanded according to the increase and distribution conditions of the storage task. Wherein after a storage node is assigned to a given chain of credentials, storage nodes under the same chain of contracts can only provide credentials on the given chain of credentials to form an ordered management. The certification chain is also responsible for recording the target certification information stored on the storage node and monitoring the stored target state change event, namely storing the certification event.
The change event comprises a content copy success or failure event, or an abnormal event such as off-line of a storage node and damage of a hard disk. These change events are reported to the contract chain, and trigger the intelligent contract on the contract chain to perform corresponding processing actions.
On the other hand, the chain of certification is tasked with verification services and monitoring services in the design. The authentication service responds to a storage attestation request of the storage node and stores a storage attestation result on an attestation chain. The monitoring service is used for monitoring the online state of the storage node, and if the storage node is offline, the offline event also needs to be stored on a certification chain, so that information is collected on any execution trend of a transaction executing party, and high reliability of the storage service is ensured.
Specifically, the invention provides a block chain multi-hierarchy architecture scheme based on a storage application scenario, which is based on a P2P network architecture and provides a distributed storage architecture based on a block chain technology, wherein the architecture can allow a network node (user node) initiating a storage demand and a network node (storage node) meeting the storage demand of the user node to perform node registration on a contract chain and form a supplier and a demander, so that a storage demand offer is initiated on the contract chain through the user node, a task scheduler calls the storage node meeting the storage demand to perform matching and transaction under the rule of an intelligent contract, and the certification chain is used for storing a storage certification event of a completed storage task given by the storage node, so that the intelligent contract can be verified and updated, corresponding information is recorded on each corresponding block chain, or a change event is reported to the contract chain, and a processing action of the intelligent contract on the contract chain is triggered, so as to ensure the stability and sustainability of the whole transaction.
Therefore, it can be seen that each independent contract chain and corresponding plural certification chains can be derived from the transaction contract of the storage service initiated by each user, so as to meet the requirement of the storage user for high concurrent storage tasks and form a stable, efficient and reliable transaction flow.
It should be noted that, in the design of the block chain, the block chain mainly serves the requirements of a user storage service scene, and depends on the main block chain as an economic foundation/support, so that the user node/storage node actually having storage requirements/supply performs node registration on the contract chain, and initiates storage requirement transaction on the contract chain, and the contract chain performs node registration on the main block chain and obtains a corresponding account, thereby forming a system framework in which the contract chain proxies the user node/storage node to initiate transaction and record to the main block chain, and finally each contract chain reports the main block chain to complete and record the balance transaction, thereby forming a third party transaction and payment management mode depending on the main block chain financial system.
In addition, since the blockchain technology is based on a transaction and verification system, in this embodiment, the contract chain requires a user node/storage node to perform a pre-charging operation to perform a matching use of the storage transaction service on the contract chain. And simultaneously, the user node and the storage node can also recharge the node account of the appointed contract chain on the main module chain through the node account of the user node and the storage node on the main module chain, the recharged assets can be transferred to the accounts of each user node and the storage node on the corresponding contract chain, and then the transaction and the consumption are carried out on the contract chain. Similarly, the assets earned by the user nodes or the storage nodes on the contract chain can also be brought up through the reverse operation, and are transferred back to the accounts of the user nodes or the storage nodes on the main block chain, so that the framework has higher commercial value.
To better explain the operation method under the framework, the transaction contract and the storage certification event are first defined under the embodiment:
wherein the transaction contract initiated by the user node comprises: recording an intelligent contract of storage targets of user nodes which are responsible for each storage node, wherein the intelligent contract further comprises: storing the target ID, the storage duration, the storage price, the user node ID, the storage node ID and the like. Meanwhile, the trading contract is recorded on a contract chain and cannot be freely altered.
And the storage attestation events given by the storage node to the chain of attestation include: successful replication of the storage target, persistent certification of the storage target, failure of content storage, friendly departure of the storage node, offline of the storage node and other changing events. These events need to be reported by the chain of storage certificates to the chain of contracts for corresponding processing.
For example, referring to fig. 3 to 6, in a preferred embodiment, the specific operation method of the blockchain multi-level architecture based on the storage application scenario includes:
1) And (3) signing a transaction contract:
s1, a user node creates a trading contract on a contract chain and initiates a storage demand offer, wherein conditions such as the size, the duration and the payable fee of the storage demand are given.
And S2, the task scheduler matches the existing storage nodes meeting the storage requirement size, duration and payable fee conditions according to the transaction contract requirements, updates the transaction contract after the matching is successful, puts the payment fee of the user node and the mortgage fee of the storage node into the transaction contract, and updates the address information of the storage node to the transaction contract.
And S3, the user node sends the storage target to the matched storage node according to the address information of the storage node.
And S4, after the storage node finishes receiving the storage target, sending the storage target certification to the certification chain, and sending the storage target replication success event to the contract chain by the certification chain.
And S5, after the contract chain receives the storage proving event of successful copying of the storage target, the corresponding trading contract is changed to take effect.
2) Transaction contract retention:
s1, the transaction contract of the user node needs the storage node to continuously provide a storage target existence certification event to prove that the storage node continues to perform during the existence period.
S2, the storage node sends a storage target storage certification event to the certification chain, and the certification chain sends the storage target continuous certification event to the contract chain.
And S3, after the contract chain receives the storage target continuous proving event, continuously maintaining the validity of the corresponding trading contract.
3) Transaction contract rescheduling:
s1, if the storage node can not continuously provide the storage evidence to prove that the storage node continues to perform during the existence period of the transaction contract of the user node, the transaction contract is rescheduled, and the mortgage charge of the storage node is penalized.
Specifically, when the certification chain sends a failure event of the storage target to the contract chain, or an abnormal change event such as the storage node being offline, the contract chain will arrange the contract to enter a rescheduling state.
And S2, the dispatcher re-matches the existing storage nodes meeting the storage requirement size, duration and payable fee conditions according to the transaction contract requirements, updates the transaction contract after successful matching, and puts the mortgage fee of the newly matched storage nodes into the contract.
S3, the newly matched storage node selects a mode from the former storage node or other storage nodes stored with the storage target to obtain the storage target.
S4, after the newly matched storage node receives the storage target, the storage target certification is sent to the certification chain, and the certification chain sends the storage target replication success event to the contract chain.
And S5, after the contract chain receives the storage proving event of successful copying of the storage target, the corresponding trading contract is changed and is enabled to take effect again.
4) Transaction contract termination:
s1, the trading contract of the user node can be actively stopped by the user during the existence period, and the residual charge is returned to the account of the user node after the contract chain is settled according to the existence period.
S2, after the trading contract of the user node is expired, the trading contract is naturally terminated, and the storage node can obtain all income.
S3 the storage node cannot terminate the trading contract on its own initiative, but can send a friendly departure event to the contract chain through the certification chain, so that the trading contract is scheduled again, with the mortgage charge portion of the storage node penalized.
5) Trading contract revenue:
the S1 storage node can obtain the income obtained by the period of the existence as long as the normally stored storage proving event can be provided regularly during the existence period of the trading contract.
The S2 storage node may periodically or aperiodically extract available revenue from the trading contract, or may wait for a one-time extraction after contract fulfillment is complete.
In summary, according to the disclosure of the block chain multi-level architecture based on the storage application scenario and the operation method thereof, it can be seen that the scheme of the present invention has more flexibility and risk resistance compared with the centralized management of cloud storage in the prior art. The system framework can provide distributed storage service in a network, so that corresponding storage nodes are adapted through a contract chain according to the storage requirements of users to automatically facilitate storage transaction, meanwhile, in order to ensure the storage reliability, an intelligent contract is triggered through the change events of the storage nodes to ensure that the storage targets are automatically adapted and transferred under a preset mechanism, so that the transaction contracts of the users are continuously and reliably executed to form decentralized storage efficacy, spare storage resources in the network are fully utilized to obtain benefits, the focus attack risk stored in a certain centralized storage is avoided, the storage loss risk which can be met is reduced, and a high-reliability distributed storage resource allocation transaction framework is formed.
The scheme of the invention is attached to the derivative transaction service framework and the business mode of the existing master blockchain financial system and technology, has higher business realizability and economic value, and solves the problem of performance delay of the existing single master blockchain technology oriented to the storage application scene. Based on the original single-chain block chain technology, a multi-level architecture scheme is provided for a decentralized distributed storage service scene, and the functions of high concurrent storage tasks and high-reliability data storage are realized.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best understand the invention for and utilize the invention. The invention is to be limited only by the following claims, and their full scope and equivalents, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.
Those skilled in the art will understand that all or part of the steps in the method according to the above embodiments may be implemented by a program, which is stored in a storage medium and includes several instructions to enable a single chip, a chip, or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, any combination of various different implementation manners of the embodiments of the present invention is also possible, and the embodiments of the present invention should be considered as disclosed in the embodiments of the present invention as long as the combination does not depart from the spirit of the embodiments of the present invention.

Claims (9)

1. A blockchain multi-hierarchy architecture based on storage application scenarios, comprising:
registering a contract chain on the main block chain to enable the contract chain to be attached to the lower part of the main chain;
registering a certification chain on the contract chain to enable the certification chain to be attached to the lower part of the contract chain;
the contract chain is stored and maintained with trade contracts, and settlement is carried out in the trade contracts by receiving storage certification events from the certification chain; the user node and the storage node initiate registration on the contract chain to form a supply and demand party, when the user node initiates a trade contract, the task scheduler matches the storage node meeting the conditions to trade, and a corresponding certification chain is designated for the storage node so that the storage node can give out a storage certification event for executing a storage task.
2. The storage application scenario-based blockchain multi-hierarchy architecture of claim 1, wherein the execution of the contract chain according to the storage certification event uploaded by the certification chain according to the transaction contract comprises: at least one of a trade contract task, a trade contract hold task, a trade contract rescheduling task, a trade contract termination task, and a trade contract settlement task is signed, and the trade contract is updated.
3. The storage application scenario-based blockchain multi-hierarchy architecture of claim 1, wherein a trading contract comprises: recording an intelligent contract of storage targets of user nodes which are responsible for each storage node, wherein the intelligent contract comprises the following steps: and storing at least one of the target ID, the storage duration, the storage price, the user node ID and the storage node ID.
4. The storage application scenario-based blockchain multi-tier architecture of claim 1, wherein storing attestation events comprises: the storage target is copied successfully, the storage target is proved to be persistent, the storage target is failed to store, the storage node is friendly to leave, the hard disk of the storage node is damaged, and the storage node is offline.
5. An operating method using the blockchain multi-hierarchy architecture based on storage application scenarios as claimed in claim 1, the steps performed when executing a task of signing a trade contract comprising:
s1, a user node creates a transaction contract on a contract chain and initiates a storage demand offer, wherein the storage demand offer comprises the conditions of the size, the duration and the payable fee of the storage demand;
s2, the task scheduler matches the existing storage nodes meeting the storage requirement size, duration and payable fee conditions according to the transaction contract requirements, updates the transaction contract after the matching is successful, puts the payment fee of the user node and the mortgage fee of the storage node into the transaction contract, and updates the address information of the storage node to the transaction contract;
s3, the user node sends a storage target to the matched storage node according to the address information of the storage node;
s4, after the storage node finishes receiving the storage target, sending a storage target certificate to the certificate chain, and sending a storage target copy success event to the contract chain by the certificate chain;
and S5, after the contract chain receives the event that the storage target is successfully copied, changing the corresponding trading contract to take effect.
6. A method of operating with the blockchain multi-hierarchy architecture based on storage application scenarios as claimed in claim 1, the steps performed when executing a transaction contract persistent task comprising:
s1, during the existence period of a transaction contract of a user node, a storage node continuously provides a storage target existence certification event for a certification chain so as to prove that the storage node continues to perform;
s2, the proof chain sends the storage target continuous proof event to a contract chain;
and S3, after receiving the storage target continuous proving event, the contract chain continuously maintains the validity of the corresponding trading contract.
7. A method of operating with the storage application scenario based blockchain multi-tier architecture of claim 3, the performing steps when executing a trading contract rescheduling task comprising:
s1, when a transaction contract of a user node is in a storage period, a storage node cannot continuously provide a storage proving event with a normal state, the transaction contract is rescheduled, and the mortgage cost of the storage node is penalized;
s2, the dispatcher re-matches the existing storage nodes meeting the storage requirement size, duration and payable fee conditions according to the transaction contract requirements, updates the transaction contract after successful matching, and puts the mortgage fee of the newly matched storage nodes into the contract;
s3, selecting a newly matched storage node from the former storage node or other storage nodes with the storage target to acquire the storage target;
s4, after the newly matched storage node finishes receiving the storage target, a storage target replication success event is sent to the proof chain, and the proof chain sends the storage target replication success event to the contract chain;
and S5, after the contract chain receives the storage proving event of successful copying of the storage target, the corresponding trading contract is changed and is enabled to take effect again.
8. A method of operation employing the storage application scenario based blockchain multi-hierarchy architecture of claim 1, the performing steps when executing a trading contract termination task comprising:
s1, transaction contract of a user node is actively stopped by a user in a storage period, and after a contract chain is settled according to the storage period, the residual charge is returned to an account of the user node;
s2, after the trading contract of the user node is expired, the trading contract is naturally terminated, and the storage node obtains contract benefits;
and S3, the storage node sends the friendly departure event to the contract chain through the certification chain, so that the trading contract is scheduled again, and the mortgage fee part of the storage node is penalized.
9. A method of operating with the blockchain multi-hierarchy architecture based on storage application scenarios as claimed in claim 1, the steps performed when executing a transaction contract settlement task comprising:
the storage node continuously provides storage target existence certification events to the certification chain during the existence period of the trading contract, the certification chain reports to the contract chain so as to ask for income from the trading contract during the existence period, and the income is extracted in any one of a regular mode, an irregular mode or a one-time mode.
CN201910090775.5A 2019-01-30 2019-01-30 Block chain multi-level framework based on storage application scene and operation method thereof Active CN109829718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910090775.5A CN109829718B (en) 2019-01-30 2019-01-30 Block chain multi-level framework based on storage application scene and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910090775.5A CN109829718B (en) 2019-01-30 2019-01-30 Block chain multi-level framework based on storage application scene and operation method thereof

Publications (2)

Publication Number Publication Date
CN109829718A CN109829718A (en) 2019-05-31
CN109829718B true CN109829718B (en) 2022-12-23

Family

ID=66863017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910090775.5A Active CN109829718B (en) 2019-01-30 2019-01-30 Block chain multi-level framework based on storage application scene and operation method thereof

Country Status (1)

Country Link
CN (1) CN109829718B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210845B (en) * 2019-06-11 2021-06-18 网易(杭州)网络有限公司 Method, apparatus, medium, and computing device for blockchain data migration
CN110414263A (en) * 2019-06-28 2019-11-05 深圳市先河系统技术有限公司 Control method, system and the relevant apparatus of decentralization storage
CN110706104B (en) * 2019-09-12 2022-07-15 杭州秘猿科技有限公司 Proprietary chain construction method and system
CN111210223A (en) * 2019-12-17 2020-05-29 广东文储区块链科技有限公司 Method and system for clearing block chain of decentralized storage area
CN111126977A (en) * 2019-12-27 2020-05-08 深圳大学 Transaction processing method of block chain system
CN111769946B (en) * 2020-05-08 2022-08-19 贵阳信息技术研究院(中科院软件所贵阳分部) Large-scale node capacity expansion method for alliance chain
CN112035894A (en) * 2020-07-20 2020-12-04 江苏傲为控股有限公司 Electronic evidence trusteeship system
CN112035895A (en) * 2020-07-20 2020-12-04 江苏傲为控股有限公司 Electronic contract evidence obtaining method and system based on transaction mode
CN112035863B (en) * 2020-07-20 2024-05-03 傲为有限公司 Electronic contract evidence obtaining method and system based on intelligent contract mode
CN112529460B (en) * 2020-12-23 2024-02-23 城云科技(中国)有限公司 Material scheduling method, scheduling system, electronic equipment and storage medium
CN112783722B (en) * 2021-01-12 2021-12-24 深圳大学 Block chain safety monitoring method and device, electronic equipment and storage medium
CN115883661A (en) * 2022-11-25 2023-03-31 缀初网络技术(上海)有限公司 Request dynamic scheduling method in cloud-edge collaborative cloud game scene
CN116506452B (en) * 2023-06-16 2023-09-19 中国联合网络通信集团有限公司 Multi-cloud data storage method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108564372A (en) * 2018-03-07 2018-09-21 青岛华山油品有限公司 A method of the storage guest room based on block chain and intelligent contract and order data
CN108694669A (en) * 2018-07-18 2018-10-23 矩阵元技术(深圳)有限公司 A kind of block chain intelligence contract implementation method and device
CN108881187A (en) * 2018-05-31 2018-11-23 杭州秘猿科技有限公司 A kind of across chain data transferring method and equipment suitable for permitting chain scene
CN108881459A (en) * 2018-07-02 2018-11-23 甘肃山呼信息技术有限公司 A kind of public block catenary system of Highly Scalable towards practical application
CN108898389A (en) * 2018-06-26 2018-11-27 阿里巴巴集团控股有限公司 Based on the content verification method and device of block chain, electronic equipment
CN109286685A (en) * 2018-11-21 2019-01-29 北京蓝石环球区块链科技有限公司 The system architecture of the more subchains of main chain adduction row of subchain can be expanded

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10255342B2 (en) * 2017-04-12 2019-04-09 Vijay K. Madisetti Method and system for tuning blockchain scalability, decentralization, and security for fast and low-cost payment and transaction processing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108564372A (en) * 2018-03-07 2018-09-21 青岛华山油品有限公司 A method of the storage guest room based on block chain and intelligent contract and order data
CN108881187A (en) * 2018-05-31 2018-11-23 杭州秘猿科技有限公司 A kind of across chain data transferring method and equipment suitable for permitting chain scene
CN108898389A (en) * 2018-06-26 2018-11-27 阿里巴巴集团控股有限公司 Based on the content verification method and device of block chain, electronic equipment
CN108881459A (en) * 2018-07-02 2018-11-23 甘肃山呼信息技术有限公司 A kind of public block catenary system of Highly Scalable towards practical application
CN108694669A (en) * 2018-07-18 2018-10-23 矩阵元技术(深圳)有限公司 A kind of block chain intelligence contract implementation method and device
CN109286685A (en) * 2018-11-21 2019-01-29 北京蓝石环球区块链科技有限公司 The system architecture of the more subchains of main chain adduction row of subchain can be expanded

Also Published As

Publication number Publication date
CN109829718A (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN109829718B (en) Block chain multi-level framework based on storage application scene and operation method thereof
US10986177B2 (en) Systems and methods of self-forking blockchain protocol
US11669811B2 (en) Blockchain-based digital token utilization
US20220084020A1 (en) System and method for scaling blockchain networks with secure off-chain payment hubs
CN108009811B (en) Inter-cloud computing environment value exchange-oriented cross-chain communication method
CN110599181B (en) Data processing method, device and equipment based on block chain and storage medium
US20190354518A1 (en) Chain mesh network for decentralized transaction systems
WO2020059865A1 (en) Settlement system, settlement method, user device, and settlement program
CN108805627B (en) Media resource allocation method, device, system, medium and equipment
Wang et al. Inter-bank payment system on enterprise blockchain platform
US20190164150A1 (en) Using Blockchain Ledger for Selectively Allocating Transactions to User Accounts
CN109522362A (en) Incomplete markets synchronous method, system and equipment based on block chain data
EP4318362A1 (en) Blockchain-based data processing method, apparatus and device, and storage medium
US20230283473A1 (en) Computer-implemented systems and methods relating to a binary blockchain comprising a pair of coupled blockchains
CN111563786A (en) Virtual power plant regulation and control platform based on block chain and operation method
CN112907252B (en) Block chain transaction method and system based on multi-person chain lower channel
CN109510713A (en) A kind of shared motivational techniques of the flow based on block chain
JP2018535500A (en) Temporary consensus network in resource transfer system
CN116150260A (en) Data processing method, device, medium and electronic equipment of block chain system
CN109754321B (en) Data processing method and device, medium and terminal thereof
CN109711842B (en) Account book accounting method of block chain network with regularly converged parallel chains
CN111177262A (en) Block chain consensus method, related device and system
Andriamanalimanana et al. Tango: the beginning-a semi-synchronous Iota-Tangle type distributed ledger with periodic pulsed entries
CN114020847A (en) Network resource sharing method based on block chain technology
KR102130900B1 (en) Fast consensus method in block chain system

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Room 105, No. 81, Boxia Road, Pudong New Area, Shanghai 201203

Patentee after: Pioneer Cloud Computing (Shanghai) Co.,Ltd.

Address before: Room 105, No. 81, Boxia Road, Pudong New Area, Shanghai 201203

Patentee before: PPLABS NETWORK TECHNOLOGY (SHANGHAI) Co.,Ltd.