CN109829718A - A kind of block chain multi-layer framework and its operation method based on storage application scenarios - Google Patents

A kind of block chain multi-layer framework and its operation method based on storage application scenarios Download PDF

Info

Publication number
CN109829718A
CN109829718A CN201910090775.5A CN201910090775A CN109829718A CN 109829718 A CN109829718 A CN 109829718A CN 201910090775 A CN201910090775 A CN 201910090775A CN 109829718 A CN109829718 A CN 109829718A
Authority
CN
China
Prior art keywords
contract
chain
storage
transaction
memory node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910090775.5A
Other languages
Chinese (zh)
Other versions
CN109829718B (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
Suchu 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 Suchu Network Technology (shanghai) Co Ltd filed Critical Suchu 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

Landscapes

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

Abstract

The present invention provides a kind of block chain multi-layer frameworks based on storage application scenarios comprising: contract chain is registered on main block chain, depends on it under main chain;The registration certificate chain on contract chain, make its depend on under contract chain: stored on the contract chain and safeguarded transaction contract, by receiving from the storage proof event for proving chain, to be settled accounts in transaction contract, on former single-stranded block chain technical foundation, towards decentralization distributed storage business scenario, it is proposed multi-level architecture scheme, take this to realize high concurrent store tasks, the function of highly reliable storing data, solves the problems, such as performance delays of existing block chain technology when towards storage application scenarios.

Description

A kind of block chain multi-layer framework and its operation method based on storage application scenarios
Technical field
The present invention relates to block chain technical fields, more particularly to based on storage application scenarios block chain multi-layer framework and Its operation method.
Background technique
In this application, using " block chain " technical term to cover form of ownership based on electronics, computer Distributed account book, i.e. the block chain including but not limited to based on common recognition and chain transaction technology, license and unlicensed account book are shared Account book and its modification.
The wherein most well-known application of block chain technology is bit coin account book, but existing in currently available technology is based on Its framework develops other block chain implementations.Although carrying out example for convenient and explanation purpose reference bit coin herein Illustrate, however, it will be appreciated by those skilled in the art that the present invention is not limited to be used together with bit coin block chain, therefore any is based on The block chain implementation and agreement substituted caused by " block chain " technology of being somebody's turn to do and its concept, each falls within announcement model of the invention In enclosing.
Block chain is implemented as the distributed system of computer based decentralization as a kind of electronics account book, should System is made of multiple blocks, and these blocks are made of more transactions.Every transaction is to the participation in block catenary system The data structure that the transfer of the control of digital asset between person is encoded, and every transaction include at least one input and At least one output.Each block includes the hash of previous block, so that these blocks become linking together, certainly with creation From the All Activity of block start of chain written block chain, and the record that can never change again.
And for the write-in block chain that will trade, it is necessary to carry out " verifying " to transaction.Network node (miner) has to carry out work Make to ensure that every transaction is effective, and invalidates transaction and refused in network.The software client being mounted on node is logical It crosses and executes its locking script and unlock script, this verifying work is executed to the transaction (UTXO) not spent.If lock script and The execution of unlock script is assessed as true (TRUE), then trading effectively and trading is written block chain.Therefore, it is write to trade Enter block chain, the transaction is necessary: 1 first node by receiving transaction is verified, if transaction is verified, node will be in the transaction After to other nodes in network;2 are added to the new block built by miner;And;3 are produced, that is, are added to and trade in the past Public account book.
Although block chain technology is well-known to encrypt the application of currency implementation, Digital Business man is had begun Explore the encryption safe system and be storable in the application that the data of new system are realized on block chain that bit coin is based on.Such as Fruit block chain can be used for being not limited to encrypting the automation task and processing in currency field, that will be very favorable.It is such Solution will utilize the advantages of block chain (such as permanent, the anti-tamper record of event, distributed treatment etc.), to rise The existing commercial network scheme of grade.
Currently available technology area research is application of the block chain in terms of implementation " intelligent contract " on one side.These Intelligent contract is to be designed at the computer program for executing machine readable contract or terms of agreement automatically.With will be write with natural language Traditional contract it is different, intelligent contract is a kind of machine-executable program, which includes that can handle input To generate the rule of result, then can to execute movement depending on these results.
And the present invention then combines the design of the various prior arts, to provide can be provided between not Tongfang based on area The architecture of the storage service of block chain mechanism.And the technical problem that this field is faced is, the design of current block chain exists It can not be directly applicable in when in face of storage service application scenarios, even if use also has serious performance delays problem reluctantly, thus Annoying those skilled in the art always.
Summary of the invention
The main purpose of the present invention is to provide a kind of block chain multi-layer frameworks and its fortune based on storage application scenarios Row method, towards decentralization distributed storage business scenario, to propose multi-layer on former single-stranded block chain technical foundation Architectural schemes, to realize the function of high concurrent store tasks, highly reliable storing data, to solve existing block chain technology in face To storage application scenarios when performance delays problem.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of area based on storage application scenarios Block chain multi-layer framework comprising: contract chain is registered on main block chain, depends on it under main chain;It is infused on contract chain Volume proof chain, make its depend on under contract chain: transaction contract is stored and safeguarded on the contract chain, by receive from card The storage of bright chain proves event, to be settled accounts in transaction contract.
It preferably, should be based on the block chain multi-layer framework of storage application scenarios, further includes: user node and memory node Registration is initiated on contract chain, forms supply and demand side, after user node initiates transaction contract, is brought together by task dispatcher and is met item The memory node of part is traded, and is the specified corresponding proof chain of memory node, so that memory node provides execution store tasks Storage prove event.
Preferably, wherein contract chain is made according to the storage proof event foundation transaction contract for proving that chain uploads and executes packet It includes: signing transaction contract task, transaction contract survival task, transaction contract and reschedule task, transaction termination of contract task, hand over At least one of easy contract clearing task task, and more New Transaction contract.
Preferably, wherein transaction contract includes: the intelligence for recording the storage target for the user node that each memory node is responsible for Can contract, which includes: storage target ID, storage duration, stores price, user node ID, in memory node ID At least one data.
Preferably, wherein storage proof event include: storage target replicate successfully, store target Certificate of Good Standing, interior store Storage failure, memory node close friend, which are left the theatre, hard disk corruptions and memory node are at least one of offline changes event data.
To achieve the goals above, according to another aspect of the present invention, providing a kind of use should be based on storage application The operation method of the block chain multi-layer framework of scene, executing step when executing and signing transaction contract task includes: S1 user Node creates transaction contract on contract chain, initiates storage demand offer, including provides storage demand size, duration and payable Fee condition;S2 task dispatcher meets storage demand size, duration and payable expense according to transaction contractual requirement, matching The existing memory node of condition after successful match, updates storage transaction contract, by the payment expense and memory node of user node Mortgage expense be put into transaction contract, and the address information of memory node is updated to transaction contract;S3 user node is according to depositing Storage address of node information sends storage target and is given to the memory node matched;S4 memory node is completed to receive storage target Later, sending storage target to proof chain proves, it was demonstrated that storage target duplication success events are sent to contract chain by chain;S5 After contract chain receives the successful storage proof event of storage target duplication, corresponding transaction contract is changed, it is made to come into force.
To achieve the goals above, according to another aspect of the present invention, providing a kind of use should be based on storage application The operation method of the block chain multi-layer framework of scene, executing step when executing transaction contract survival task includes: S1 user In the duration, memory node continues to chain offer storage target Certificate of Good Standing event is proved, to prove the transaction contract of node Memory node is continuing to honour an agreement;S2 proves that the storage target Certificate of Good Standing event is sent to contract chain by chain;S3 contract chain receives After storing target Certificate of Good Standing event, corresponding transaction contract validity is continued to.
To achieve the goals above, according to another aspect of the present invention, providing a kind of use should be based on storage application The operation method of the block chain multi-layer framework of scene, executing step when executing transaction contract and rescheduling task includes: S1 When the transaction contract of user node is in the duration, memory node can not continue offer state and normally store proof event, The transaction contract will be rescheduled, and the mortgage expense of memory node will be by fine and confiscation;S2 scheduler is according to transaction contractual requirement, weight New matching meets the existing memory node of storage demand size, duration and payable fee condition, after successful match, more New Transaction Contract, and the mortgage expense of new matched memory node is put into contract;S3 newly matched memory node from former memory node, Or has and select a mode on other memory nodes of the storage target and obtain the storage target;S4 newly complete by matched memory node After receiving storage target, storage target is sent to proof chain and replicates success events, it was demonstrated that chain replicates the storage target successfully Storage proof event is sent to contract chain;After S5 contract chain receives the successful storage proof event of storage target duplication, change pair The transaction contract answered, makes it come into force again.
To achieve the goals above, according to another aspect of the present invention, providing a kind of use should be based on storage application The operation method of the block chain multi-layer framework of scene, executing step when executing and trading termination of contract task includes: S1 user The transaction contract of node in the duration by user's active termination, after contract chain is settled accounts according to duration, by remaining cost It returns into the account of user node;After the transaction contract of S2 user node expires, natural termination, memory node is closed About income;S3 memory node gives contract chain by proving that chain sends close friend's event of leaving the theatre, so that the transaction contract is scheduled again , the mortgage cost components of memory node are by fine and confiscation.
To achieve the goals above, according to another aspect of the present invention, it provides a kind of using based on storage applied field The operation method of the block chain multi-layer framework of scape, executing step when executing transaction contract clearing task includes: memory node In the transaction contract duration, continue to be reported to chain offer storage target Certificate of Good Standing event is proved from proof chain to contract chain, To ask for duration deserved income to transaction contract, and is extracted and received with regular, irregular or disposable middle either type Benefit.
It provides through the invention, it should be based on the block chain multi-layer framework and its operation method of storage application scenarios, energy It enough realizes high concurrent store tasks, the function of highly reliable storing data, is answered to solve existing block chain technology towards storage The centralized management of the cloud storage of performance delays problem compared with prior art when with scene, with more flexibility and anti-risk Property.
The system framework can provide distributed storage service in a network, to pass through conjunction according to the storage demand of user About chain is adapted to corresponding memory node, facilitates store transaction automatically, while in order to ensure memory reliability, then passing through memory node Variation event trigger intelligent contract, to ensure under default mechanism, automatic adaptation simultaneously shifts storage target.
Net is made full use of to continue reliably to execute the transaction contract of user to form the storage efficiency of decentralization Vacant storage resource in network obtains interests, and avoids the focus risk of attacks being stored on a certain centralization memory, reduces The memory loss risk that can be encountered forms the distributed storage resource allocation Transaction Framework of high reliability.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the block chain multi-layer frame construction schematic diagram of the invention based on storage application scenarios;
Fig. 2 is the block chain multi-layer frame construction schematic diagram of the invention based on storage application scenarios;
Fig. 3 is that the block chain multi-layer framework execution signing transaction contract task step of the invention based on storage application scenarios shows It is intended to;
Fig. 4 is that the block chain multi-layer framework execution transaction contract survival task step of the invention based on storage application scenarios shows It is intended to;
Fig. 5 is that the block chain multi-layer framework execution transaction contract of the invention based on storage application scenarios reschedules task step Rapid schematic diagram;
Fig. 6 is that the block chain multi-layer framework execution transaction termination of contract task step of the invention based on storage application scenarios shows It is intended to.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, in ordinary skill Personnel do not make every other embodiment obtained under the premise of creative work, and protection model of the invention all should belong to It encloses.
It should be noted that term " S1 ", " S2 " in description and claims of this specification and above-mentioned attached drawing and Etc. being to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that use in this way Data are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein can be in addition to illustrating herein or retouching Sequence other than those of stating is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that covering Non-exclusive includes.
It is provided in an embodiment of the present invention to be somebody's turn to do the block chain multilayer based on storage application scenarios for the defect for solving the prior art Grade framework, uses P2P network architecture to design, and is shared between the calculating equipment with the interconnection of " node " or " equity point " with being formed The distributed structure/architecture of work and task realizes that no independent computer is appointed as " administering " to form decentralization network.
As shown in Figure 1 to Figure 2, provided in an embodiment of the present invention to be somebody's turn to do the block chain multi-layer structure based on storage application scenarios Frame devises two layers of side chain, i.e. contract chain using existing block chain such as bit coin chain as main chain: managing the block of intelligent contract Chain, and prove chain: the block chain that management storage proves, thus the intelligent contract and corresponding card that are stored needed for trading to main block chain Bright information carries out dilatation storage.
Specifically, which depends under main chain, the business demand that can be initiated according to user node, if being formed Dry contract chain takes this growth and distribution situation according to store tasks, elasticity to be formed with each block on main chain corresponding Lateral dilatation, and bear high concurrent store tasks.Furthermore, it is understood that the contract chain is used to safeguard and store intelligent contract, and same When carrying store the clearing task of intelligent contract, by receiving from proving that the storage of chain proves event, in transaction contract In settled accounts.
And the proof chain, the i.e. side chain of contract chain.Wherein there can be several proof chains under each contract chain, the proof chain Quantity depends on the quantity of memory node on the contract chain.So as to according to the growth and distribution situation of store tasks, elasticity Lateral dilatation.Wherein after memory node is assigned on specified proof chain, memory node under same contract chain can only be Offer on specified proof chain proves, to form orderly management.And the proof chain is also responsible for being stored on record storage node The proof information of target, and the state of the stored target of monitoring change event, i.e. storage proof event.
Wherein the variation event include content replicate successfully or turkey or memory node it is offline, hard disk corruptions etc. Anomalous event.These, which change event, to report to contract chain, trigger intelligent contract on contract chain and perform corresponding processing movement.
On the other hand, which is endowed the service for checking credentials and monitoring service task in the design.Service for checking credentials response The storage of memory node proves request, and storage is proved that result is stored on proof chain.The monitoring service is used to monitor storage The presence of node, if memory node is offline, which is also required in storage to proof chain, to execute to transaction Any execution trend of side carries out information search, to ensure the high reliability of storage service.
Specifically, block chain multi-layer framework scheme of this of the invention based on storage application scenarios is based on P2P net Network framework, proposes the distributed storage framework based on block chain technology, which can allow for initiating the network of storage demand Node (user node) and the network node (memory node) for meeting user node storage demand carry out node note on contract chain Volume, and supplier and party in request are formed, so that storage demand offer is initiated on the contract chain by user node, by task schedule Device transfers the memory node for meeting storage demand, and to be matched and be traded under the rule of intelligent contract, and the proof chain is then Event is proved for storing the storage that store tasks are completed that the memory node provides, so that intelligent contract is able to carry out verifying And update, and corresponding information is recorded on each respective block chain, or event will be changed and reported to contract chain, trigger intelligence on contract chain The processing movement of energy contract, with the stabilization and sustainability for ensuring integrally to trade.
Therefore, it can be seen that the transaction contract of each Client-initiated storage service, can all derive each independent conjunction About chain and corresponding plural number proves chain, to meet the demand of the high concurrent store tasks of storage user, and forms stability and high efficiency And reliable transaction flow.
Wherein it should be noted that the block chain in design, serves primarily in the demand of user's storage service scene, and Main block chain is leaned on as economic base/support, therefore there is reality storage demand/supply user node/memory node to be Node registry is carried out on contract chain, and storage demand transaction is initiated on contract chain, and the contract chain is then in main block chain On registered and obtained in proper account, sent out to be formed from contract chain proxy user node/memory node to main block chain The system architecture of transaction and record is played, and finally reports main block chain to complete by each contract chain and records revenue and expenditure transaction, forms one Kind relies on the third party transaction and payment management mode of main block chain financial system.
Additionally due to block chain technology is based on trading and verifies system, therefore in the present embodiment, which needs user Node/memory node is supplemented with money in advance, and the matching that store transaction service could be carried out on the contract chain uses.The use simultaneously Family node and memory node can also be by its own node accounts on main block chain, the specified contract on main block chain The node account of chain is supplemented with money, and the assets supplemented with money can be transferred to each user node and memory node on corresponding contract chain Account in, then traded and consumed on contract chain.Equally, user node or memory node are earned on contract chain Assets can also be withdrawn deposit by above-mentioned contrary operation, be transferred back to user node or memory node on main block chain In account, so that such framework has higher commercial value.
Below in order to better illustrate the operation method under the framework, exist first to the transaction contract and storage proof event It is defined under the present embodiment:
The transaction contract that wherein user node is initiated includes: the storage target for recording the user node that each memory node is responsible for Intelligent contract, which further comprises: storage target ID, store duration, store price, user node ID, storage Node ID etc..The transaction contract is recorded on contract chain simultaneously, can not arbitrarily be altered.
And memory node to prove the storage that provides of chain prove event include: storage target replicate successfully, store target and deposit Continuous proof, content storage failure, memory node close friend leaves the theatre and memory node waits variations event offline.These events need Prove that chain is reported to contract chain and does corresponding processing by storage.
For example, Fig. 3 to Fig. 6 is please referred to, it, should be more based on the block chain for storing application scenarios under preferred embodiment The carrying out practically method of level framework are as follows:
1) transaction contract is signed:
S1 user node creates transaction contract on contract chain, initiates storage demand offer, including provide storage demand size, The conditions such as duration and payable expense.
S2 task dispatcher meets storage demand size, duration and payable expense item according to transaction contractual requirement, matching The existing memory node of part, after successful match, more New Transaction contract, and by the payment expense of user node and supporting for memory node Signature expense is put into transaction contract, and the address information of memory node is updated to transaction contract.
S3 user node sends storage target and is given to the memory node matched according to the address information of memory node.
S4 memory node is completed after receiving storage target, and sending storage target to proof chain proves, it was demonstrated that chain deposits this Storage target duplication success events are sent to contract chain.
After S5 contract chain receives the successful storage proof event of storage target duplication, corresponding transaction contract is changed, it is made It comes into force.
2) transaction contract survival:
The transaction contract of S1 user node needs memory node persistently to provide storage target Certificate of Good Standing event in the duration To prove that memory node is continuing to honour an agreement.
S2 memory node sends storage target to proof chain and stores proof event, it was demonstrated that the storage target is survived card by chain Bright event is sent to contract chain.
After S3 contract chain receives storage target Certificate of Good Standing event, corresponding transaction contract validity is continued to.
3) transaction contract reschedules:
The transaction contract of S1 user node is in the duration, if memory node cannot continue to provide storage proof to prove to deposit Storage node is continuing to honour an agreement, which will be rescheduled, and the mortgage expense of memory node will be by fine and confiscation.
Specifically, when prove chain to contract chain send storage target turkey or memory node offline it is equal extremely Variation event, contract chain will arrange the contract enter reschedule state.
S2 scheduler is according to transaction contractual requirement, and matching meets storage demand size, duration and payable expense item again The existing memory node of part, after successful match, more New Transaction contract, and the mortgage expense of new matched memory node is put into conjunction About.
Newly matched memory node or has and selects on other memory nodes of the storage target from former memory node S3 One mode obtains the storage target.
S4 newly complete after receiving storage target by matched memory node, and sending storage target to proof chain proves, it was demonstrated that Storage target duplication success events are sent to contract chain by chain.
After S5 contract chain receives the successful storage proof event of storage target duplication, corresponding transaction contract is changed, again It is made to come into force.
4) transaction termination of contract:
The transaction contract of S1 user node can be settled accounts by user's active termination, contract chain according to duration in the duration Afterwards, remaining cost is returned into the account of user node.
After the transaction contract of S2 user node expires, natural termination, memory node can obtain all deserved incomes.
S3 memory node is unable to active termination transaction contract, but can leave the theatre event to conjunction by proving that chain sends close friend About chain, so that the transaction contract is scheduled again, the mortgage cost components of memory node are by fine and confiscation.
5) transaction contract income:
S1 memory node proves event, energy in the transaction contract duration, as long as the storage of normal storage can be provided periodically Enough obtain this section of survival phase income obtained.
S2 memory node periodically or non-periodically can extract obtainable income to transaction contract, or until contract is carried out It is disposable after the completion of row to extract.
In conclusion according to above-mentioned based on the storage block chain multi-layer framework of application scenarios and its taking off for operation method Show, it is known that the solution of the present invention, the centralized management of cloud storage compared with prior art are dangerous with more flexibility and wind resistance. The system framework can provide distributed storage service in a network, be adapted to by contract chain according to the storage demand of user Corresponding memory node facilitates store transaction automatically, while in order to ensure memory reliability, then passes through the variation thing of memory node Part triggers intelligent contract, and to ensure under default mechanism, automatic adaptation simultaneously shifts storage target, to continue reliably to execute use The transaction contract at family makes full use of the vacant storage resource in network to obtain interests to form the storage efficiency of decentralization, and The focus risk of attacks being stored on a certain centralization memory is avoided, the memory loss risk that can be encountered is reduced, is formed high The distributed storage resource allocation Transaction Framework of reliability.
And the solution of the present invention depends on derivative transactional services framework and the quotient of existing main block chain financial system and technology Industry mode, business realizability and economic value with higher, and solve existing single main block chain technology towards storage Performance delays problem when application scenarios.With on former single-stranded block chain technical foundation, towards decentralization distributed storage Business scenario provides multi-level architecture scheme, realizes the function of high concurrent store tasks, highly reliable storing data.
Present invention disclosed above preferred embodiment is only intended to help to illustrate the present invention.There is no detailed for preferred embodiment All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification, It can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is in order to better explain the present invention Principle and practical application, so that skilled artisan be enable to better understand and utilize the present invention.The present invention is only It is limited by claims and its full scope and equivalent, it is all within the spirits and principles of the present invention, made any Modification, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
It will be appreciated by those skilled in the art that implementing the method for the above embodiments is that can pass through Program is completed to instruct relevant hardware, which is stored in a storage medium, including some instructions are used so that single Piece machine, chip or processor (processor) execute all or part of the steps of each embodiment the method for the application.And it is preceding The storage medium stated includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk.
In addition, any combination can also be carried out between a variety of different embodiments of the embodiment of the present invention, as long as it is not The thought of the embodiment of the present invention is violated, equally should be considered as disclosure of that of the embodiment of the present invention.

Claims (10)

1. a kind of block chain multi-layer framework based on storage application scenarios comprising:
Contract chain is registered on main block chain, depends on it under main chain;
The registration certificate chain on contract chain, make its depend on under contract chain:
Transaction contract is stored and safeguarded on the contract chain, by receiving from the storage proof event for proving chain, to hand over It is settled accounts in easy contract.
2. the block chain multi-layer framework according to claim 1 based on storage application scenarios, further includes: user node and deposit Storage node initiates registration on contract chain, forms supply and demand side, after user node initiates transaction contract, is brought together by task dispatcher Qualified memory node is traded, and is the specified corresponding proof chain of memory node, is deposited so that memory node provides execution The storage of storage task proves event.
3. the block chain multi-layer framework according to claim 1 based on storage application scenarios, wherein contract chain is according to proof The storage that chain uploads proves event according to contract of trading, and making execution includes: to sign transaction contract task, transaction contract survival times Business, transaction contract reschedule at least one of task, transaction termination of contract task, transaction contract clearing task task, and More New Transaction contract.
4. the block chain multi-layer framework according to claim 1 based on storage application scenarios, wherein transaction contract includes: note The intelligent contract of the storage target for the user node that each memory node is responsible for is recorded, which includes: storage target ID, deposits Store up at least one of duration, storage price, user node ID and memory node ID data.
5. the block chain multi-layer framework according to claim 1 based on storage application scenarios, wherein storage proves event package Include: storage target replicate successfully, storage target Certificate of Good Standing, storage target content store fail, memory node close friend leaves the theatre, deposits At least one of storage node hard disk corruptions and memory node are offline variation event data.
6. a kind of operation method using the block chain multi-layer framework as described in claim 1 based on storage application scenarios, when Executing execution step when signing transaction contract task includes:
S1 user node creates transaction contract on contract chain, initiates storage demand offer, including provide storage demand size, when Long and payable fee condition;
S2 task dispatcher meets storage demand size, duration and payable fee condition according to transaction contractual requirement, matching Existing memory node, after successful match, more New Transaction contract, by the mortgage expense of the payment expense of user node and memory node It is put into transaction contract, and the address information of memory node is updated to transaction contract;
S3 user node sends storage target according to the address information of memory node and is given to the memory node matched;
S4 memory node is completed after receiving storage target, and sending storage target to proof chain proves, it was demonstrated that chain marks the storage Duplication success events be sent to contract chain;
After S5 contract chain receives the successful event of storage target duplication, corresponding transaction contract is changed, it is made to come into force.
7. a kind of operation method using the block chain multi-layer framework as described in claim 1 based on storage application scenarios, when Executing step when executing transaction contract survival task includes:
In the duration, memory node continues to provide storage target Certificate of Good Standing to proof chain the transaction contract of S1 user node Event, to prove that memory node is continuing to honour an agreement;
S2 proves that the storage target Certificate of Good Standing event is sent to contract chain by chain;
After S3 contract chain receives storage target Certificate of Good Standing event, corresponding transaction contract validity is continued to.
8. a kind of operation method using the block chain multi-layer framework as described in claim 1 based on storage application scenarios, when Executing execution step when transaction contract reschedules task includes:
When the transaction contract of user node is in the duration, memory node can not continue offer state and normally store proof thing S1 Part, which will be rescheduled, and the mortgage expense of memory node will be by fine and confiscation;
S2 scheduler is according to transaction contractual requirement, and matching meets storage demand size, duration and payable fee condition again Existing memory node, after successful match, more New Transaction contract, and the mortgage expense of new matched memory node is put into contract;
Newly matched memory node from former memory node or has and selects an acquisition on other memory nodes of the storage target S3 The storage target;
S4 newly complete after receiving storage target by matched memory node, sends storage target to proof chain and replicates success events, Prove that storage target duplication success events are sent to contract chain by chain;
After S5 contract chain receives the successful storage proof event of storage target duplication, corresponding transaction contract is changed, makes it again It comes into force.
9. a kind of operation method using the block chain multi-layer framework as described in claim 1 based on storage application scenarios, when Executing step when executing transaction termination of contract task includes:
The transaction contract of S1 user node in the duration by user's active termination, after contract chain is settled accounts according to duration, Remaining cost is returned into the account of user node;
After the transaction contract of S2 user node expires, natural termination, memory node obtains contract income;
S3 memory node gives contract chain by proving that chain sends close friend's event of leaving the theatre, so that the transaction contract is scheduled again, The mortgage cost components of memory node are by fine and confiscation.
10. a kind of operation method using the block chain multi-layer framework as described in claim 1 based on storage application scenarios, when Executing step when executing transaction contract clearing task includes:
Memory node continues in the transaction contract duration to chain offer storage target Certificate of Good Standing event is proved, by proof chain It is reported to contract chain, to ask for duration deserved income to transaction contract, and to appoint in regular, irregular or disposable One mode extracts income.
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 true CN109829718A (en) 2019-05-31
CN109829718B 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)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110210845A (en) * 2019-06-11 2019-09-06 网易(杭州)网络有限公司 For the method, apparatus of block chain Data Migration, medium and calculate equipment
CN110414263A (en) * 2019-06-28 2019-11-05 深圳市先河系统技术有限公司 Control method, system and the relevant apparatus of decentralization storage
CN110706104A (en) * 2019-09-12 2020-01-17 杭州秘猿科技有限公司 Method and system for constructing proprietary chain
CN111126977A (en) * 2019-12-27 2020-05-08 深圳大学 Transaction processing method of block chain system
CN111210223A (en) * 2019-12-17 2020-05-29 广东文储区块链科技有限公司 Method and system for clearing block chain of decentralized storage area
CN111769946A (en) * 2020-05-08 2020-10-13 贵阳信息技术研究院(中科院软件所贵阳分部) Large-scale node capacity expansion method for alliance chain
CN112529460A (en) * 2020-12-23 2021-03-19 城云科技(中国)有限公司 Material scheduling method, scheduling system, electronic device and storage medium
CN112783722A (en) * 2021-01-12 2021-05-11 深圳大学 Block chain safety monitoring method and device, electronic equipment and storage medium
FR3112627A1 (en) * 2020-07-20 2022-01-21 Jiangsu Aowei Holdings Co., Ltd. Electronic evidence escrow system
FR3112624A1 (en) * 2020-07-20 2022-01-21 Jiangsu Aowei Holdings Co., Ltd. Method and system for collecting electronic contract evidence based on the smart contract
FR3112626A1 (en) * 2020-07-20 2022-01-21 Jiangsu Aowei Holdings Co., Ltd. Method and system for collecting electronic contract evidence based on transaction mode
CN115883661A (en) * 2022-11-25 2023-03-31 缀初网络技术(上海)有限公司 Request dynamic scheduling method in cloud-edge collaborative cloud game scene
CN116506452A (en) * 2023-06-16 2023-07-28 中国联合网络通信集团有限公司 Multi-cloud data storage method, device, equipment and storage medium

Citations (7)

* 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
US20190018887A1 (en) * 2017-04-12 2019-01-17 Vijay K. Madisetti Method and System for Tuning Blockchain Scalability, Decentralization, and Security for Fast and Low-Cost Payment and Transaction Processing
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190018887A1 (en) * 2017-04-12 2019-01-17 Vijay K. Madisetti Method and System for Tuning Blockchain Scalability, Decentralization, and Security for Fast and Low-Cost Payment and Transaction Processing
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

Cited By (18)

* 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
CN110210845A (en) * 2019-06-11 2019-09-06 网易(杭州)网络有限公司 For the method, apparatus of block chain Data Migration, medium and calculate equipment
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
CN110706104A (en) * 2019-09-12 2020-01-17 杭州秘猿科技有限公司 Method and system for constructing proprietary chain
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
CN111769946A (en) * 2020-05-08 2020-10-13 贵阳信息技术研究院(中科院软件所贵阳分部) Large-scale node capacity expansion method for alliance chain
CN111769946B (en) * 2020-05-08 2022-08-19 贵阳信息技术研究院(中科院软件所贵阳分部) Large-scale node capacity expansion method for alliance chain
FR3112624A1 (en) * 2020-07-20 2022-01-21 Jiangsu Aowei Holdings Co., Ltd. Method and system for collecting electronic contract evidence based on the smart contract
FR3112627A1 (en) * 2020-07-20 2022-01-21 Jiangsu Aowei Holdings Co., Ltd. Electronic evidence escrow system
FR3112626A1 (en) * 2020-07-20 2022-01-21 Jiangsu Aowei Holdings Co., Ltd. Method and system for collecting electronic contract evidence based on transaction mode
CN112529460A (en) * 2020-12-23 2021-03-19 城云科技(中国)有限公司 Material scheduling method, scheduling system, electronic device and storage medium
CN112529460B (en) * 2020-12-23 2024-02-23 城云科技(中国)有限公司 Material scheduling method, scheduling system, electronic equipment and storage medium
CN112783722A (en) * 2021-01-12 2021-05-11 深圳大学 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
CN116506452A (en) * 2023-06-16 2023-07-28 中国联合网络通信集团有限公司 Multi-cloud data storage method, device, equipment and storage medium
CN116506452B (en) * 2023-06-16 2023-09-19 中国联合网络通信集团有限公司 Multi-cloud data storage method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109829718B (en) 2022-12-23

Similar Documents

Publication Publication Date Title
CN109829718A (en) A kind of block chain multi-layer framework and its operation method based on storage application scenarios
US11188977B2 (en) Method for creating commodity assets from unrefined commodity reserves utilizing blockchain and distributed ledger technology
US20230153769A1 (en) Method and system of mining blockchain transactions provided by a validator node
US20190164150A1 (en) Using Blockchain Ledger for Selectively Allocating Transactions to User Accounts
CN109314643A (en) Transacter, transaction methods and the program for it
US11593321B2 (en) Systems and methods of self-administered protocols on a blockchain platform
CN106897902A (en) Service transacting method, system and trading server based on block chain technology
CN109785136A (en) A kind of transaction processing method of block chain, client and block chain network
CN109697606A (en) The distributed network and the ecosystem of common recognition agreement are proved based on innovative prestige
US20230283473A1 (en) Computer-implemented systems and methods relating to a binary blockchain comprising a pair of coupled blockchains
CN109003185B (en) Intelligent contract establishing method and device, computing equipment and storage medium
CN107169865A (en) Asset data processing system based on block chain technology
CN110163753A (en) Houseclearing based on block chain deposits card, application method and device
US20220156837A1 (en) Distributed ledger implementation for entity formation and monitoring system
KR102201468B1 (en) A method of operating Crowdfunding system for game production based on Blockchain and a system for implementing the service environment
CN110033377A (en) Assets classifying method and device, electronic equipment based on block chain
CN107392610A (en) A kind of implementation method in the authentic data source of distributed network
CN110020936A (en) Assets management method and device, electronic equipment based on block chain
CN110188572A (en) A kind of verification method and device for consuming voucher applied to block chain
CN108701326A (en) Interim common recognition network in resource transfers system
US20230360029A1 (en) Non-fungible tokens for stadium seats and tickets
CN112070498B (en) Ownership processing system and method
Toffano et al. E-shekels across borders: a distributed ledger system to settle payments between Israel and the West Bank
Andriamanalimanana et al. Tango: the beginning-a semi-synchronous Iota-Tangle type distributed ledger with periodic pulsed entries
CN109872187A (en) A kind of merchandise income distribution method, ether mill service platform 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
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.