CN109634932A - A kind of intelligence contract storage method and storage system - Google Patents

A kind of intelligence contract storage method and storage system Download PDF

Info

Publication number
CN109634932A
CN109634932A CN201811457208.0A CN201811457208A CN109634932A CN 109634932 A CN109634932 A CN 109634932A CN 201811457208 A CN201811457208 A CN 201811457208A CN 109634932 A CN109634932 A CN 109634932A
Authority
CN
China
Prior art keywords
data block
intelligent
storage
data
stored
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
CN201811457208.0A
Other languages
Chinese (zh)
Other versions
CN109634932B (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.)
Beijing Brilliant Hi Tech Development Co Ltd
Original Assignee
Beijing Brilliant Hi Tech Development 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 Beijing Brilliant Hi Tech Development Co Ltd filed Critical Beijing Brilliant Hi Tech Development Co Ltd
Priority to CN201811457208.0A priority Critical patent/CN109634932B/en
Publication of CN109634932A publication Critical patent/CN109634932A/en
Application granted granted Critical
Publication of CN109634932B publication Critical patent/CN109634932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of intelligent contract storage method and storage systems, which includes: that intelligent obligating document is cut into multiple data blocks;Obtain each data block number;The map index table for establishing data block and data block number, is stored in block chain;All data blocks are distributed into multiple given subregions;Data block in each given subregion is stored in the corresponding multiple storage equipment of each given subregion.Intelligent contract storage method of the invention and storage system only store the map index table of intelligent contract on block chain, a intelligent contract is stored by distributed storage mode outside chain, it is not take up block chain data space, there is no data redundancy problems caused by a large amount of intelligent contracts of storage, and ensure that safety and the privacy of storage, it ensure that each node executes the consistency of the result of intelligent contract.

Description

A kind of intelligence contract storage method and storage system
Technical field
The present invention relates to block chain technical field more particularly to a kind of intelligent contract storage methods and storage system.
Background technique
Intelligent contract refers to that a set of promise defined in digital form, including contract participant can execute these above The agreement of promise.Block chain technology have many characteristics, such as data decentralization, it is transparent can not distort and high reliability, to realize and propping up The efficient operation for supportting intelligent contract provides ideal basis.
From technical standpoint and the method for operation, intelligent contract is considered as a agreement recorded in the form of digital code, together When save agreement in include trigger condition.When trigger condition meets, intelligent contract can automatic identification trigger condition and hair Preset data resource out, according to scheduled program implementing result.
The block chain data that the repetition of intelligent contract is generally saved as to each node at present, that is, be stored directly on block chain Or store some related informations (Hash, path etc.) of intelligent contract.
The storage mode of intelligence contract has the following defects at present, first is that each node intelligent contract bulk redundancy, and increase The memory space for having added block chain data to occupy;Second is that if there is situations such as damage is lost in respective nodes intelligence contract, it will The problem for causing each node intelligent contract implementing result inconsistent occurs.
Therefore it provides a kind of intelligence contract storage method and storage system.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind The intelligent contract storage method and storage system for stating problem, are able to solve data redundancy and each node intelligent contract implementing result Inconsistent problem.
According to an aspect of the present invention, a kind of intelligent contract storage method is provided, comprising the following steps:
Intelligent obligating document is cut into multiple data blocks;
Obtain each data block number;
The map index table for establishing data block and data block number, is stored in block chain;
All data blocks are distributed into multiple given subregions;
Data block in each given subregion is stored in the corresponding multiple storage equipment of each given subregion.
Further, the multiple storage equipment includes multiple copies, and multiple copy is distributed in different failure domains;
After data block in each given subregion is stored in the corresponding multiple storage equipment of each given subregion, also wrap It includes:
The data block stored in the multiple storage equipment is backuped in the multiple copy.
Further, above-mentioned intelligent contract storage method, further includes: according to where host, host where each storage equipment Computer room where rack and rack draws tree structure, and it is equipment tree-shaped to be generated storage to tree structure for fault-tolerant rule filling Logical construction;
Include: by the step that the data block in each given subregion is stored in the corresponding multiple storage equipment of each given subregion
Given subregion Location Request is sent to database, successively selects each given point according to the positioning result of Database Feedback Rack in the corresponding computer room in area, computer room stores equipment in server and server in rack;
Data block in each given subregion is stored in the storage equipment of selection.
Further, the step of obtaining each data block number include:
Obtain the cryptographic Hash of intelligent obligating document;
The generation serial number of each data block when obtaining to intelligent obligating document cutting;
The generation serial number of the cryptographic Hash of the intelligent obligating document and each data block is combined into each data block to number.
Further, described the step of intelligent obligating document is cut into multiple data blocks, includes:
According to it is multiple storage equipment in can storing data full-size, intelligent obligating document is cut into multiple data Block.
According to another aspect of the present invention, a kind of intelligent contract storage system of above method is provided, comprising:
Intelligent obligating document cutting module, for intelligent obligating document to be cut into multiple data blocks;
Data block number obtains module, for obtaining each data block number;
Map index table establishes module, for establishing the map index table of data block and data block number, is stored in block In chain;
Data block distribution module, for distributing all data blocks into multiple given subregions;
Data block memory module, for the data block in each given subregion to be stored in, each given subregion is corresponding multiple to be deposited It stores up in equipment.
Further, in data block memory module, the multiple storage equipment includes multiple copies, multiple copy point Cloth is in different failure domains;
Data block memory module is also used to the data block stored in the multiple storage equipment backuping to the multiple pair In this.
Further, above-mentioned intelligent contract storage system, further includes: store equipment tree-shaped logical construction generation module, use Computer room where rack and rack where according to host, host where each storage equipment draws tree structure, and by fault-tolerant rule Then filling generates to tree structure and stores equipment tree-shaped logical construction;
In data block memory module, comprising:
Selecting unit, for sending given subregion Location Request to database, according to the positioning result of Database Feedback according to Rack in the corresponding computer room of secondary each given subregion of selection, computer room stores equipment in server and server in rack;
Storage unit, for the data block in each given subregion to be stored in the storage equipment of selection.
Further, data block number acquisition module includes:
Cryptographic Hash acquiring unit, for obtaining the cryptographic Hash of intelligent obligating document;
Cutting serial number acquiring unit, the generation serial number of each data block when for obtaining to intelligent obligating document cutting;
Each data block number acquiring unit, for by the generation sequence of the cryptographic Hash of the intelligent obligating document and each data block Number it is combined into each data block number.
Further, in intelligent obligating document cutting module, intelligent obligating document cutting module is specifically used for according to more In a storage equipment can storing data full-size, intelligent obligating document is cut into multiple data blocks.
The present invention has the advantage that compared with prior art
1. intelligent contract storage method of the invention and the storage system only storage mapping concordance list on block chain, pass through chain External storage intelligence contract is not take up block chain data space, and there is no data redundancy problems caused by a large amount of intelligent contracts of storage;
2. intelligent contract storage method of the invention and storage system ensure that intelligent contract using distributed storage technology Safety and privacy, and be not tampered;
3. intelligent contract storage method of the invention and storage system make each node on block chain pass through map index table A intelligent contract is read and executed, once intelligent contract can not be read, all nodes can all fail, and each node executes intelligence and closes Result about is consistent.
Detailed description of the invention
Below in conjunction with drawings and examples, the invention will be further described.
Fig. 1 is the flow chart of intelligent contract storage method provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of intelligent contract storage system provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless otherwise will not be explained in an idealized or overly formal meaning by specific definitions.
The hashed value of intelligent contract is recorded on block chain by the present invention, and using with hashed value is the distributed storage indexed Network saves complete intelligent contract code.Block chain network only saves the copy of a intelligent contract, therefore there is no big Measure intelligent contract data redundancy.
Fig. 1 is the flow chart of the intelligent contract storage method of the embodiment of the present invention, shown in Figure 1, the embodiment of the present invention The intelligent contract storage method of offer, comprising the following steps:
Step 101, intelligent obligating document is cut into multiple data blocks;
Step 102, each data block number is obtained;
Step 103, the map index table for establishing data block and data block number, is stored in block chain;
Step 104, all data blocks are distributed into multiple given subregions;
Step 105, the data block in each given subregion is stored in the corresponding multiple storage equipment of each given subregion.
Wherein, block chain node, given subregion and memory device form are at store path.
The intelligent contract storage method of the embodiment of the present invention only storage mapping concordance list on block chain, passes through chain external storage Intelligent contract is not take up block chain data space, and there is no data redundancy problems caused by a large amount of intelligent contracts of storage, in addition, The present invention ensure that safety and the privacy of intelligent contract using distributed storage technology, and not be tampered, further, area Each node can read and execute a intelligent contract by map index table on block chain, once intelligent contract can not be read, institute There is node that can all fail, the result that each node executes intelligent contract is consistent.
Wherein, multiple storage equipment can be all or a certain range of network node.It is required at this time in block link network Copy is only saved to same a intelligent contract in network, and the copy is divided into multiple data blocks, distribution is stored in institute Have or a certain range of network node on.When needing to be implemented intelligent contract, in generation, is loaded outside chain by unified method Code.
Intelligence contract storage method provided in an embodiment of the present invention, it is multiple the data block on each given subregion to be stored in Before storing in equipment, further includes: obtain storage list of devices according to given subregion serial number.
It in practical applications, can by crush algorithm, (crush algorithm be distributed storage according to given subregion serial number A kind of distributed hash algorithm for controlled copying that system Ceph is used) obtain a storage list of devices.Then by screening, Satisfactory storage equipment, which is found out, according to number of copies carries out data storage.There are two advantages for this method, first is that data store Position fully achieves the distributed storage of decentralization without removing query metadata server by being calculated;Secondly Common hash algorithm bring data migration problems when processing stores equipment additions and deletions have been effectively relieved.
It is worth noting that, the distributed storage technology based on IPFS can also be used, the chain external memory of intelligent contract is realized Storage.
Specifically, subregion is given to be used to carry out the storage of data block in tissue and position mapping.
For backup database, the multiple storage equipment includes multiple copies, and multiple copy is distributed in different events Hinder domain, so that multiple copies are mutually isolated, it is ensured that data block will not lead to intelligence due to storing the damage of equipment in a copy Contract can not be read, and improve the storage security of intelligent contract.
After data block in each given subregion is stored in the corresponding multiple storage equipment of each given subregion, also wrap It includes:
The data block stored in the multiple storage equipment is backuped in the multiple copy.
Above-mentioned intelligence contract storage method, further includes: according to rack and machine where host, host where each storage equipment Computer room where frame draws tree structure, and generates to tree structure and store equipment tree-shaped logical construction fault-tolerant rule filling;Its In, the step that the data block in each given subregion is stored in the corresponding multiple storage equipment of each given subregion includes: to number Given subregion Location Request is sent according to library, the corresponding machine of each given subregion is successively selected according to the positioning result of Database Feedback Rack in room, computer room stores equipment in server and server in rack;Data block in each given subregion is stored in choosing In the storage equipment selected.It stores equipment tree-shaped logical construction and implies fault zone, such as the different machines using different electrical power Frame belongs to different failure domains, enable crush according to certain rule by Replica placement in different failure domains.
Specifically, the map of equipment tree-shaped logical structure description current system resource status, the i.e. logic of hard disk distribution are stored Position.All hardware resource is formed into a tree, generates tree structure in logic according still further to fault-tolerant rule.Wherein, Child node is real storage equipment, and each equipment has a number and weight, and intermediate node is the container of equipment, such as one Cabinet one rack, one computer room etc..Secondly, it is also necessary to storage rule is specified for crush, such as the distribution restrictive condition of data With backup request etc..Each rule represents sequence of operations, such as selection container and submission.
Further, the step of obtaining each data block number include:
Obtain the cryptographic Hash of intelligent obligating document;
The generation serial number of each data block when obtaining to intelligent obligating document cutting;
The generation serial number of the cryptographic Hash of the intelligent obligating document and each data block is combined into each data block to number.
The step of obtaining each data block number can ensure that each data block number is different, to ensure the accuracy indexed.
Further, described the step of intelligent obligating document is cut into multiple data blocks, includes:
According to it is multiple storage equipment in can storing data full-size, intelligent obligating document is cut into multiple data Block.
Specifically, file is subjected to cutting, pair generated after each cutting according to the size for the largest object that can store As that will obtain unique number, object and object number carry out Linear Mapping.Each object is independently mapped to one Given subregion.The static Hashing function such as leaving remainder method specified according to system obtains the cryptographic Hash of object number, by object Number is mapped to the pseudo-random values of approaches uniformity distribution, then with mask step-by-step phase with obtain given subregion serial number.Pass through Given subregion serial number acquires storage list of devices.These storage equipment are collectively responsible for one given subregion of storage and maintenance In all storage object.Wherein satisfactory storage equipment is found, the storage and reading of object data can be carried out.
The intelligent contract storage method of the embodiment of the present invention only storage mapping concordance list on block chain, passes through chain external storage Intelligent contract is not take up block chain data space, and there is no data redundancy problems caused by a large amount of intelligent contracts of storage, in addition, The present invention ensure that safety and the privacy of intelligent contract using distributed storage technology, and not be tampered, further, area Each node can read and execute a intelligent contract by map index table on block chain, once intelligent contract can not be read, institute There is node that can all fail, the result that each node executes intelligent contract is consistent.
For embodiment of the method, for simple description, therefore, it is stated as a series of action combinations, but this field Technical staff should be aware of, and embodiment of that present invention are not limited by the describe sequence of actions, because implementing according to the present invention Example, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that, specification Described in embodiment belong to preferred embodiment, the actions involved are not necessarily necessary for embodiments of the present invention.
Fig. 2 is the intelligent contract storage system block diagram of the embodiment of the present invention, shown in Figure 2, and the embodiment of the present invention provides Intelligent contract storage system, comprising:
Intelligent obligating document cutting module 201, for intelligent obligating document to be cut into multiple data blocks;
Data block number obtains module 202, for obtaining each data block number;
Map index table establishes module 203, for establishing the map index table of data block and data block number, is stored in area In block chain;
Data block distribution module 204, for distributing all data blocks into multiple given subregions;
Data block memory module 205 is corresponding more for the data block in each given subregion to be stored in each given subregion In a storage equipment.
The intelligent contract storage system of the embodiment of the present invention only storage mapping concordance list on block chain, passes through chain external storage Intelligent contract is not take up block chain data space, and there is no data redundancy problems caused by a large amount of intelligent contracts of storage, in addition, The present invention ensure that safety and the privacy of intelligent contract using distributed storage technology, and not be tampered, further, area Each node can read and execute a intelligent contract by map index table on block chain, once intelligent contract can not be read, institute There is node that can all fail, the result that each node executes intelligent contract is consistent.
Further, in data block memory module, the multiple storage equipment includes multiple copies, multiple copy point Cloth is in different failure domains;
Data block memory module is also used to the data block stored in the multiple storage equipment backuping to the multiple pair In this.
Further, above-mentioned intelligent contract storage system, further includes: store equipment tree-shaped logical construction generation module, use Computer room where rack and rack where according to host, host where each storage equipment draws tree structure, and by fault-tolerant rule Then filling generates to tree structure and stores equipment tree-shaped logical construction;
In data block memory module, comprising:
Selecting unit, for sending given subregion Location Request to database, according to the positioning result of Database Feedback according to Rack in the corresponding computer room of secondary each given subregion of selection, computer room stores equipment in server and server in rack;
Storage unit, for the data block in each given subregion to be stored in the storage equipment of selection.
Further, data block number acquisition module includes:
Cryptographic Hash acquiring unit, for obtaining the cryptographic Hash of intelligent obligating document;
Cutting serial number acquiring unit, the generation serial number of each data block when for obtaining to intelligent obligating document cutting;
Each data block number acquiring unit, for by the generation sequence of the cryptographic Hash of the intelligent obligating document and each data block Number it is combined into each data block number.
Further, in intelligent obligating document cutting module, intelligent obligating document cutting module is specifically used for according to more In a storage equipment can storing data full-size, intelligent obligating document is cut into multiple data blocks.
For system embodiments, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
The present invention is stored and is read to intelligent contract using a kind of distributed storage technology, reduces the same of data redundancy When raising efficiency and consistency.It is required that only saving copy to same a intelligent contract in block chain network, and this is copied Shellfish is divided into multiple data blocks, and distribution is stored on all or a certain range of network node.Need to be implemented intelligent contract When, by unified method outside chain loading code.
One embodiment of the invention additionally provides a kind of intelligent contract execution system, including processor, memory are stored in On reservoir and the computer program that can run on the processor, following step is realized when which is executed by processor It is rapid:
Intelligent obligating document is cut into multiple data blocks;
Obtain each data block number;
The map index table for establishing data block and data block number, is stored in block chain;
All data blocks are distributed into multiple given subregions;
Data block in each given subregion is stored in the corresponding multiple storage equipment of each given subregion.
Optionally, the multiple storage equipment includes multiple copies, and multiple copy is distributed in different failure domains;The meter Calculation machine program also realizes following steps when being executed by processor:
The data block stored in the multiple storage equipment is backuped in the multiple copy.
Optionally, following steps are also realized when which is executed by processor:
Tree structure is drawn according to computer room where rack where host, host where each storage equipment and rack, and will Fault-tolerant rule filling generates to tree structure and stores equipment tree-shaped logical construction;Given subregion Location Request is sent to database, The corresponding computer room of each given subregion, rack in computer room, server in rack are successively selected according to the positioning result of Database Feedback And equipment is stored in server;Data block in each given subregion is stored in the storage equipment of selection.
Optionally, following steps are also realized when which is executed by processor:
Obtain the cryptographic Hash of intelligent obligating document;The generation serial number of each data block when obtaining to intelligent obligating document cutting; The generation serial number of the cryptographic Hash of the intelligent obligating document and each data block is combined into each data block to number.
Optionally, following steps are also realized when which is executed by processor:
According to it is multiple storage equipment in can storing data full-size, intelligent obligating document is cut into multiple data Block.
One embodiment of the invention provides a kind of computer readable storage medium, is stored thereon with computer program, above-mentioned It realizes that above-mentioned intelligent contract executes each process of embodiment of the method when computer program is executed by processor, and can reach identical Technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disk Or CD etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these modification or Replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of intelligence contract storage method, which comprises the following steps:
Intelligent obligating document is cut into multiple data blocks;
Obtain each data block number;
The map index table for establishing data block and data block number, is stored in block chain;
All data blocks are distributed into multiple given subregions;
Data block in each given subregion is stored in the corresponding multiple storage equipment of each given subregion.
2. intelligence contract storage method according to claim 1, which is characterized in that the multiple storage equipment includes multiple Copy, multiple copy are distributed in different failure domains;
After data block in each given subregion is stored in the corresponding multiple storage equipment of each given subregion, further includes:
The data block stored in the multiple storage equipment is backuped in the multiple copy.
3. intelligence contract storage method according to claim 2, which is characterized in that further include: according to each storage equipment institute Tree structure is drawn in computer room where rack where host, host and rack, and by fault-tolerant rule filling to tree structure, it is raw At the equipment tree-shaped logical construction of storage;
Include: by the step that the data block in each given subregion is stored in the corresponding multiple storage equipment of each given subregion
Given subregion Location Request is sent to database, each given subregion pair is successively selected according to the positioning result of Database Feedback Rack in the computer room answered, computer room stores equipment in server and server in rack;
Data block in each given subregion is stored in the storage equipment of selection.
4. intelligence contract storage method according to claim 1, which is characterized in that the step of obtaining each data block number packet It includes:
Obtain the cryptographic Hash of intelligent obligating document;
The generation serial number of each data block when obtaining to intelligent obligating document cutting;
The generation serial number of the cryptographic Hash of the intelligent obligating document and each data block is combined into each data block to number.
5. intelligence contract storage method according to claim 1, which is characterized in that described to be cut into intelligent obligating document The step of multiple data blocks includes:
According to it is multiple storage equipment in can storing data full-size, intelligent obligating document is cut into multiple data blocks.
6. a kind of intelligent contract storage system for realizing claim 1 the method characterized by comprising
Intelligent obligating document cutting module, for intelligent obligating document to be cut into multiple data blocks;
Data block number obtains module, for obtaining each data block number;
Map index table establishes module, for establishing the map index table of data block and data block number, is stored in block chain;
Data block distribution module, for distributing all data blocks into multiple given subregions;
Data block memory module is set for the data block in each given subregion to be stored in the corresponding multiple storages of each given subregion In standby.
7. intelligence contract storage system according to claim 6, which is characterized in that described in data block memory module Multiple storage equipment include multiple copies, and multiple copy is distributed in different failure domains;
Data block memory module is also used to backup to the data block stored in the multiple storage equipment in the multiple copy.
8. intelligence contract storage system according to claim 7, which is characterized in that further include: store equipment tree-shaped logic Structural generation module, it is tree-like for being drawn according to computer room where rack where host, host where each storage equipment and rack Structure, and fault-tolerant rule filling is generated to tree structure and stores equipment tree-shaped logical construction;
In data block memory module, comprising:
Selecting unit is successively selected for sending given subregion Location Request to database according to the positioning result of Database Feedback It selects the corresponding computer room of each given subregion, rack in computer room, store equipment in server and server in rack;
Storage unit, for the data block in each given subregion to be stored in the storage equipment of selection.
9. intelligence contract storage system according to claim 6, which is characterized in that data block number obtains module and includes:
Cryptographic Hash acquiring unit, for obtaining the cryptographic Hash of intelligent obligating document;
Cutting serial number acquiring unit, the generation serial number of each data block when for obtaining to intelligent obligating document cutting;
Each data block number acquiring unit, for by the generation serial number group of the cryptographic Hash of the intelligent obligating document and each data block Synthesize each data block number.
10. intelligence contract storage system according to claim 6, which is characterized in that in intelligent obligating document cutting module In, intelligent obligating document cutting module be specifically used for according to it is multiple storage equipment in can storing data full-size, will be intelligent Obligating document is cut into multiple data blocks.
CN201811457208.0A 2018-11-30 2018-11-30 Intelligent contract storage method and storage system Active CN109634932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811457208.0A CN109634932B (en) 2018-11-30 2018-11-30 Intelligent contract storage method and storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811457208.0A CN109634932B (en) 2018-11-30 2018-11-30 Intelligent contract storage method and storage system

Publications (2)

Publication Number Publication Date
CN109634932A true CN109634932A (en) 2019-04-16
CN109634932B CN109634932B (en) 2021-03-23

Family

ID=66070480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811457208.0A Active CN109634932B (en) 2018-11-30 2018-11-30 Intelligent contract storage method and storage system

Country Status (1)

Country Link
CN (1) CN109634932B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083606A (en) * 2019-04-25 2019-08-02 深圳市豪斯莱科技有限公司 Across chain storage method, terminal and storage medium
CN110188097A (en) * 2019-04-19 2019-08-30 阿里巴巴集团控股有限公司 The storage of intelligent contract, execution method and device and electronic equipment in block chain
CN110297812A (en) * 2019-06-13 2019-10-01 深圳市比比赞科技有限公司 File memory method, the method for file synchronization, computer equipment and storage medium
CN110489421A (en) * 2019-08-22 2019-11-22 腾讯科技(深圳)有限公司 Date storage method, device, computer readable storage medium and computer equipment
CN110737658A (en) * 2019-09-06 2020-01-31 平安国际智慧城市科技股份有限公司 Data fragment storage method, device, terminal and readable storage medium
CN111061698A (en) * 2019-12-30 2020-04-24 语联网(武汉)信息技术有限公司 Storage method and device of Ether house contract data
CN111222160A (en) * 2019-12-30 2020-06-02 联动优势(北京)数字科技有限公司 Intelligent contract execution method and system
CN111258725A (en) * 2020-01-17 2020-06-09 北京百度网讯科技有限公司 Data processing method, device, equipment and medium based on block chain
CN111541753A (en) * 2020-04-16 2020-08-14 深圳市网心科技有限公司 Distributed storage system, method, computer device and medium for block chain data
CN111835808A (en) * 2019-08-01 2020-10-27 北京骑胜科技有限公司 Data storage method and device, data reading method and device, and storage medium
CN111950025A (en) * 2020-08-21 2020-11-17 安徽高山科技有限公司 File distributed storage method based on block chain intelligent contract
CN113220505A (en) * 2021-05-26 2021-08-06 成都易我科技开发有限责任公司 Management method, device and system for backup mirror image data and storage medium
CN114091111A (en) * 2021-09-09 2022-02-25 深圳前海微众银行股份有限公司 Method and device for storing intelligent contracts of block chains

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779180A (en) * 2012-06-29 2012-11-14 华为技术有限公司 Operation processing method of data storage system and data storage system
US8862847B2 (en) * 2013-02-08 2014-10-14 Huawei Technologies Co., Ltd. Distributed storage method, apparatus, and system for reducing a data loss that may result from a single-point failure
CN106682215A (en) * 2016-12-30 2017-05-17 华为技术有限公司 Data processing method and management node
CN108062202A (en) * 2017-12-15 2018-05-22 中链科技有限公司 A kind of file block storage method and system
CN108256076A (en) * 2018-01-18 2018-07-06 广州大学 Distributed mass data processing method and processing device
CN108509514A (en) * 2018-03-09 2018-09-07 史玉成 A kind of big data analysis method and system based on block chain
CN108664223A (en) * 2018-05-18 2018-10-16 百度在线网络技术(北京)有限公司 A kind of distributed storage method, device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779180A (en) * 2012-06-29 2012-11-14 华为技术有限公司 Operation processing method of data storage system and data storage system
US8862847B2 (en) * 2013-02-08 2014-10-14 Huawei Technologies Co., Ltd. Distributed storage method, apparatus, and system for reducing a data loss that may result from a single-point failure
CN106682215A (en) * 2016-12-30 2017-05-17 华为技术有限公司 Data processing method and management node
CN108062202A (en) * 2017-12-15 2018-05-22 中链科技有限公司 A kind of file block storage method and system
CN108256076A (en) * 2018-01-18 2018-07-06 广州大学 Distributed mass data processing method and processing device
CN108509514A (en) * 2018-03-09 2018-09-07 史玉成 A kind of big data analysis method and system based on block chain
CN108664223A (en) * 2018-05-18 2018-10-16 百度在线网络技术(北京)有限公司 A kind of distributed storage method, device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SKDKJZZ: "《ceph存储 ceph中对crush算法的认知》", 《HTTPS://BLOG.CSDN.NET/SKDKJXY/ARTICLE/DETAILS/41513965》 *
边馥苓: "《时空大数据的存储》", 《时空大数据的技术与方法》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188097A (en) * 2019-04-19 2019-08-30 阿里巴巴集团控股有限公司 The storage of intelligent contract, execution method and device and electronic equipment in block chain
CN110083606A (en) * 2019-04-25 2019-08-02 深圳市豪斯莱科技有限公司 Across chain storage method, terminal and storage medium
CN110297812A (en) * 2019-06-13 2019-10-01 深圳市比比赞科技有限公司 File memory method, the method for file synchronization, computer equipment and storage medium
CN111835808B (en) * 2019-08-01 2023-11-14 北京骑胜科技有限公司 Data storage method and device, data reading method and device, and storage medium
CN111835808A (en) * 2019-08-01 2020-10-27 北京骑胜科技有限公司 Data storage method and device, data reading method and device, and storage medium
CN110489421A (en) * 2019-08-22 2019-11-22 腾讯科技(深圳)有限公司 Date storage method, device, computer readable storage medium and computer equipment
CN110489421B (en) * 2019-08-22 2023-11-14 腾讯科技(深圳)有限公司 Data storage method, apparatus, computer readable storage medium and computer device
CN110737658A (en) * 2019-09-06 2020-01-31 平安国际智慧城市科技股份有限公司 Data fragment storage method, device, terminal and readable storage medium
CN111222160A (en) * 2019-12-30 2020-06-02 联动优势(北京)数字科技有限公司 Intelligent contract execution method and system
CN111061698A (en) * 2019-12-30 2020-04-24 语联网(武汉)信息技术有限公司 Storage method and device of Ether house contract data
CN111222160B (en) * 2019-12-30 2022-07-29 联动优势科技有限公司 Intelligent contract execution method and system
CN111061698B (en) * 2019-12-30 2023-09-05 语联网(武汉)信息技术有限公司 Method and device for storing Ethernet contract data
CN111258725A (en) * 2020-01-17 2020-06-09 北京百度网讯科技有限公司 Data processing method, device, equipment and medium based on block chain
CN111541753A (en) * 2020-04-16 2020-08-14 深圳市网心科技有限公司 Distributed storage system, method, computer device and medium for block chain data
CN111541753B (en) * 2020-04-16 2024-02-27 深圳市迅雷网络技术有限公司 Distributed storage system, method, computer device and medium for block chain data
CN111950025A (en) * 2020-08-21 2020-11-17 安徽高山科技有限公司 File distributed storage method based on block chain intelligent contract
CN113220505A (en) * 2021-05-26 2021-08-06 成都易我科技开发有限责任公司 Management method, device and system for backup mirror image data and storage medium
CN114091111B (en) * 2021-09-09 2022-11-18 深圳前海微众银行股份有限公司 Method and device for storing intelligent contracts of block chains
CN114091111A (en) * 2021-09-09 2022-02-25 深圳前海微众银行股份有限公司 Method and device for storing intelligent contracts of block chains

Also Published As

Publication number Publication date
CN109634932B (en) 2021-03-23

Similar Documents

Publication Publication Date Title
CN109634932A (en) A kind of intelligence contract storage method and storage system
US8671313B2 (en) Management apparatus and management method
US7734585B2 (en) Updateable fan-out replication with reconfigurable master association
JP6716727B2 (en) Streaming data distributed processing method and apparatus
CN108351806A (en) Database trigger of the distribution based on stream
CN105404679B (en) Data processing method and device
US20150178170A1 (en) Method and Apparatus for Recovering Data
US20140229936A1 (en) Method and apparatus for efficient provisioning of cloned virtual machine images using deduplication metadata
CN111031096A (en) Distributed storage system construction method based on mimicry defense
CN106649676A (en) Duplication eliminating method and device based on HDFS storage file
CN106776720A (en) A kind of document handling method and device
CN101103331A (en) Implementing application specific management policies on a content addressed storage device
US20230281179A1 (en) Load Balancing For A Storage System
CN111061741B (en) Power test data management method, system, terminal and storage medium
CN111966631A (en) Mirror image file generation method, system, equipment and medium capable of being rapidly distributed
CN107391039B (en) Data object storage method and device
CN103503388B (en) A kind of distributed queue's message read method and equipment, system
CN106980618B (en) File storage method and system based on MongoDB distributed cluster architecture
CN108304555A (en) Distributed maps data processing method
CN108363727A (en) A kind of date storage method and device based on ZFS file system
CN114513498B (en) File transmission verification method, device, computer equipment and storage medium
CN110442645A (en) Data index method and device
US11531642B2 (en) Synchronous object placement for information lifecycle management
CN110868340B (en) Testing method and device, reconfigurable tester and controller
CN113111074A (en) Block chain-based interactive data monitoring method and device

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