CN109521956A - A kind of cloud storage method, apparatus, equipment and storage medium based on block chain - Google Patents
A kind of cloud storage method, apparatus, equipment and storage medium based on block chain Download PDFInfo
- Publication number
- CN109521956A CN109521956A CN201811214266.0A CN201811214266A CN109521956A CN 109521956 A CN109521956 A CN 109521956A CN 201811214266 A CN201811214266 A CN 201811214266A CN 109521956 A CN109521956 A CN 109521956A
- Authority
- CN
- China
- Prior art keywords
- data
- block chain
- stored
- storage
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/062—Securing storage systems
- G06F3/0622—Securing storage systems in relation to access
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/067—Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a kind of cloud storage method, apparatus, equipment and storage mediums based on block chain, which comprises receives the data to be stored of client or auxiliary node transmission, and inquiry identification information corresponding with data to be stored;Browsing data corresponding with data to be stored are generated, and data to be stored is encrypted, generate encryption data;It according to encryption data, browsing data and inquiry identification information, generates storage corresponding with data to be stored and handles data, and storage processing data are transmitted in block chain network;According to the nodal community of the machine, storage processing data are stored, nodal community includes: the whole network nodal community or light nodal community.The technical solution of the embodiment of the present invention realizes the distributed cloud platform of decentralization by block chain technology, guarantees the safety of data storage with the characteristic that can not distort of block chain technology, and improve the space utilisation of cloud platform.
Description
Technical field
The present embodiments relate to block chain technical field more particularly to a kind of cloud storage methods based on block chain, dress
It sets, equipment and storage medium.
Background technique
Cloud storage is a kind of Network storage technology, can pass through cluster application, network technology or distributed file system
Etc. functions, externally provide data storage and business access function.
The existing cloud platform for realizing cloud storage technology is constructed by the server or server cluster of centralization,
Excessively centralization is configured, is easy to cause data to be stolen and modify if by attack, causes the safety of data lower
Problem.Simultaneously as every server all stores complete data, to the more demanding of memory space, and there are bulk redundancy,
Waste storage resource.
Summary of the invention
The embodiment of the present invention provides a kind of cloud storage method, apparatus, equipment and storage medium based on block chain, passes through area
Block chain technology realizes the distributed cloud platform of decentralization, guarantees data storage with the characteristic that can not distort of block chain technology
Safety, and improve the space utilisation of cloud platform.
In a first aspect, being applied to block chain link the embodiment of the invention provides a kind of cloud storage method based on block chain
Point, comprising:
The data to be stored of client or auxiliary node transmission is received, and inquiry corresponding with the data to be stored is known
Other information;
Browsing data corresponding with the data to be stored are generated, and the data to be stored is encrypted, generates and adds
Ciphertext data;
According to the encryption data, the browsing data and the inquiry identification information, generate and the number to be stored
Data are handled according to corresponding storage, and storage processing data are transmitted in block chain network;
According to the nodal community of the machine, storage processing data are stored, the nodal community includes: the whole network section
Point attribute or light nodal community.
Second aspect, the embodiment of the invention also provides a kind of cloud storage methods based on block chain, are applied to block chain
Node, comprising:
It receives and data is handled by the storage that block chain network is transmitted, wherein the storage processing data include: to treat to deposit
Store up the encryption data obtained after data are encrypted, browsing data corresponding with the data to be stored and with described wait store
The corresponding inquiry identification information of data;The data to be stored and corresponding inquiry identification information are uploaded by client;
According to the nodal community of the machine, storage processing data are stored, the nodal community includes: the whole network section
Point attribute or light nodal community.
The third aspect, the embodiment of the invention also provides a kind of cloud storage devices based on block chain, are configured at block chain
Node, comprising:
First data reception module, the data to be stored sent for receiving client or auxiliary node, and with it is described
The corresponding inquiry identification information of data to be stored;
First data generation module, for generating browsing data corresponding with the data to be stored, and to described wait deposit
Storage data are encrypted, and encryption data is generated;
Second data generation module is believed for being identified according to the encryption data, the browsing data and the inquiry
Breath generates storage corresponding with the data to be stored and handles data, and by storage processing data in block chain network
It is transmitted;
First data memory module stores storage processing data, institute for the nodal community according to the machine
Stating nodal community includes: the whole network nodal community or light nodal community.
Fourth aspect, the embodiment of the invention also provides a kind of cloud storage devices based on block chain, are configured at block chain
Node, comprising:
Second data reception module handles data by the storage that block chain network is transmitted for receiving, wherein described to deposit
Storage processing data include: the encryption data obtained after being encrypted to data to be stored, it is corresponding with the data to be stored clear
Look at data and inquiry identification information corresponding with the data to be stored;The data to be stored and corresponding inquiry identification letter
Breath is uploaded by client;
Second data memory module stores storage processing data, institute for the nodal community according to the machine
Stating nodal community includes: the whole network nodal community or light nodal community.
5th aspect, the embodiment of the invention also provides a kind of computer equipment, the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the cloud storage method provided by any embodiment of the invention based on block chain.
6th aspect, the embodiment of the invention also provides a kind of computer storage mediums, are stored thereon with computer program,
The program realizes the cloud storage method provided by any embodiment of the invention based on block chain when being executed by processor.
The data to be stored that the embodiment of the present invention is sent by reception client or auxiliary node, and and data to be stored
Corresponding inquiry identification information generates browsing data corresponding with data to be stored, and encrypts to data to be stored, generates
Encryption data;According to encryption data, browsing data and inquiry identification information, storage processing corresponding with data to be stored is generated
Data, and storage processing data are transmitted in block chain network, then storage is handled according to the nodal community of the machine
Data are stored, other block chain nodes for receiving storage processing data are also needed according to the nodal community of the machine to depositing
Storage processing data are stored, solve data existing for existing cloud storage technology safety is lower and storage resource waste
Problem realizes the distributed cloud platform of decentralization by block chain technology, is protected with the characteristic that can not distort of block chain technology
The safety of data storage is demonstrate,proved, and improves the space utilisation of cloud platform.
Detailed description of the invention
Fig. 1 is a kind of flow chart for cloud storage method based on block chain that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of cloud storage method based on block chain provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of schematic diagram for cloud storage device based on block chain that the embodiment of the present invention three provides;
Fig. 4 is a kind of schematic diagram for cloud storage device based on block chain that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention five provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than
Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail
At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart,
It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again
It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing.
The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart for cloud storage method based on block chain that the embodiment of the present invention one provides, the present embodiment
It is applicable to the case where realizing cloud storage using block chain technology, this method can be by holding based on the cloud storage device of block chain
Row, which can be realized by the mode of software and/or hardware, and can be generally integrated in computer equipment, the computer
Equipment can be the equipment for having block chain nodal function.Correspondingly, as shown in Figure 1, this method includes following operation:
S110, the data to be stored for receiving client or auxiliary node transmission, and it is corresponding with the data to be stored
Inquire identification information.
Wherein, auxiliary node can be one of block chain node in block chain network, can be used as in one
Trochanterion receives the data to be stored that client is sent and inquiry identification information, and data to be stored and inquiry identification information are turned
It is sent in the target block chain node for handling data to be stored.Data to be stored can be the number such as text, picture or video
According to any data that can be used for storing can be used as data to be stored, and the embodiment of the present invention is to this and is not limited.It looks into
Ask identification information can be it is one-to-one with data to be stored, for data to be stored carry out identity information.
In embodiments of the present invention, the cloud platform based on block chain can be set up by multiple block chain nodes in block chain
And externally provide cloud service.Wherein, block chain can be publicly-owned chain or alliance's chain, and cloud service is cloud storage service.Cloud platform
It is equivalent to server-side, the terminal for accessing cloud platform is equivalent to client.Client can be sent to the cloud platform based on block chain
Data to be stored, any node in block chain can receive data to be stored and directly handle.Alternatively, being received by auxiliary node
Data to be stored and inquiry identification information are simultaneously forwarded to target block chain link point and are handled.Correspondingly, client can also be to
Cloud platform send with the matched inquiry identification information of data to be stored, with for data to be stored classified and stored and inquiry etc..
In an alternate embodiment of the present invention where, the inquiry identification information may include: storing data mark and visitor
Family end mark, alternatively, the inquiry identification information may include: storing data mark.
Wherein, it is client formulation for identifying client and correspondence that storing data mark, which can be according to setting rule,
Data to be stored character string, alternatively, storing data mark can be served only for mark data to be stored.Wherein, setting rule
It can be number, letter or symbol etc. to be arranged according to rule, for example, setting rule can be preceding 3 character numbers and be used for
Client-side information is identified, rear three bit digitals number does not advise setting for identifying data to be stored information, the embodiment of the present invention
Particular content then is defined.Client identification can be the information for unique identification client, for example, client
(Media Access Control, the media access control) address MAC or IMEI (International Mobile
Equipment Identity, international mobile equipment identification number) etc. can be used as client identification.
In embodiments of the present invention, optionally, inquiry identification information may include storing data mark and client identification,
Alternatively, inquiry identification information can only include storing data mark.When inquiry identification information simultaneously include storing data mark and
When client identification, client identification can be used to identify client, storing data mark can be served only for identifying wait store
Data.When inquiry identification information only includes storing data mark, storing data mark needs while identifying client and correspondence
Data to be stored information, to realize the corresponding storage of client and data to be stored.Illustratively, when inquiry identification information
When including storing data mark, preceding 3 information of storing data mark for identifying client, rear 3 information for identify to
Storing data.
S120, browsing data corresponding with the data to be stored are generated, and the data to be stored is encrypted, it is raw
At encryption data.
Wherein, browsing data can be what block chain node was generated according to data to be stored, for data to be stored letter
The data singly summarized.
In embodiments of the present invention, it after block chain node receives data to be stored, needs at data to be stored
Subsequent storage operation is just carried out after reason.Specifically, block chain generation node can be corresponding clear according to data to be stored generation
Look at data.Wherein, browsing data may include size, content summary or uplink time of data to be stored etc., specifically can root
It is set according to actual demand, the embodiment of the present invention is to this and is not limited.Browsing data can be used for later period client and look into
When asking the data stored in the cloud platform based on block chain, the summary info of each storing data is shown for client.Then, block
Chain node can encrypt data to be stored to generate corresponding encryption data.Wherein, Encryption Algorithm can use existing
Any one of Encryption Algorithm, such as rivest, shamir, adelman, the embodiment of the present invention is to this and is not limited.Block chain node
Data to be stored is encrypted, it is ensured that safety of the data to be stored in the transmission process of block chain network.
S130, according to the encryption data, the browsing data and the inquiry identification information, generate with described wait deposit
It stores up the corresponding storage of data and handles data, and storage processing data are transmitted in block chain network.
It carries out after handling generation browsing data and encryption data, can incite somebody to action correspondingly, block chain node treats storing data
Encryption data, browsing data and inquiry identification information pass it as storage processing data in block chain network
It is defeated, so that other block chain nodes receive storage processing data and are locally stored in the cloud platform based on block chain.
S140, the nodal community according to the machine store storage processing data, and the nodal community includes:
The whole network nodal community or light nodal community.
It should be noted that in embodiments of the present invention, the block chain node in the cloud platform based on block chain can be drawn
Be divided into two types: one is the whole network nodes, have biggish memory space and utilizable flow, such as large-scale storage server
Or the nodes such as work station, it can be used for storing complete storage processing data;Another is light node, such as PC
(Personal Computer, personal computer) or intelligent terminal (mobile phone or tablet computer etc.), has smaller memory space
And utilizable flow, it needs to store again after handling storage processing data.Correspondingly, the whole network node has the whole network node
Attribute, light node have light nodal community.Block chain node is needed when handling storage processing data according to the machine
Nodal community carries out different storages to storage processing data and operates, to make full use of the memory space of node.It can be seen that
The embodiment of the present invention realizes cloud storage by block chain technology, and the characteristic that can not modify that can use block chain technology guarantees data
The safety of storage, to prevent distorting for storing data.Meanwhile block chain node is handled storage according to the nodal community of the machine
Data are stored, and the space utilisation of cloud platform can be improved, and block chain cloud platform is added for common terminal node and mentions
Feasibility and convenience are supplied.
In an alternate embodiment of the present invention where, the nodal community according to the machine handles data to the storage
Stored, may include: the whole network nodal community according to the machine, directly using the storage processing data as the first storage at
Reason data are stored;Alternatively, deleting the encryption for including in the storage processing data according to the light nodal community of the machine
Data are stored as the second storage processing data.
Correspondingly, if the nodal community of block chain node the machine is the whole network nodal community, it can directly will be at storage
Reason data are stored in local block chain as the first storage processing data, at this point, the first of the storage of block chain node deposits
Storage processing data include complete encryption data, browsing data and inquiry identification information.If the section of block chain node the machine
Point attribute is light nodal community, then needs to delete the encryption data for including in storage processing data and form the second storage processing data
It is stored in local block chain.At this point, block chain node storage second storage processing data only include browsing data and
Inquire identification information.
In an alternate embodiment of the present invention where, the method in the block chain network with the client by meeting
The target block chain node of set distance condition executes;Wherein, the target block chain node is by the block chain network
Auxiliary node determines that the auxiliary node is used to receive the data to be stored that the client is sent according to built-in intelligent contract
With inquiry identification information;Or, the network that the target block chain node is parsed by the client by home domain name
Location determines.
Wherein, set distance condition can be nearest apart from client.
In embodiments of the present invention, can by the target block chain node nearest apart from client to client send to
Storing data and inquiry identification information are handled.Specifically, can determine the mesh nearest apart from client by two ways
Mark block chain node: first, first by being firstly received data to be stored in block chain and inquiring the arbitrary node of identification information
As auxiliary node, the network address of client is analyzed according to built-in intelligent contract by the auxiliary node, for it
It determines apart from nearest block chain node as target block chain node, and data to be stored and inquiry identification information is transmitted to
Target block chain node.Second, can directly be parsed by client to home domain name to obtain local network address, tool
Body, network address can be obtained by local browser and is parsed, and determine distance recently according to the network address that parsing obtains
Block chain node as target block chain node.Wherein, network address can be IP address.
In a specific example, it is assumed that one shares ten node A-J in the cloud platform based on block chain, this ten sections
Point is distributed in different geographical locations, collectively constitutes the cloud platform based on block chain, which externally provides cloud storage service,
And be P2P (peer-to-peer, point-to-point transmission) relationship between each block chain node, each block chain node possesses depositing for oneself
Space is stored up, such as block chain node A-G is massive store server or work station, belongs to the whole network node, the storage of the whole network node
Space and utilizable flow are big.Block chain node H-J is personal terminal, belongs to light node, light node storage space and utilizable flow
It is relatively small, such as PC, mobile phone or tablet computer.The cloud platform based on block chain issues oneself token, and (wherein, token can
To be various digital cash popular in block chain network).Client can be accessed by browser or cloud platform APP complete with
Interoperability between cloud platform based on block chain.Illustratively, the platform generation of certain number can pre-purchase in client Z
Coin, to use the cloud service of block platform chain.That is, client Z can access APP by browser, cloud platform or third party hands over
Easy platform pays certain token, such as one token of payment, to enjoy the cloud service that the cloud platform based on block chain provides.
Specifically, client Z first can generate corresponding inquiry for data to be stored before sending data to be stored
Identification information.Wherein, inquiry identification information may include storing data mark and client identification, or only include storing data
Mark.Then, client Z will be uploaded to after data to be stored and corresponding inquiry identification information uniform packing based on block chain
Arbitrary node in cloud platform receives.Normally, it can be received simultaneously by the geographical location block chain node nearest apart from client Z
Handle data to be stored and corresponding inquiry identification information.For example, client wants to upload 10 pictures, client is in advance to 10 pictures
Edited (including picture name and content description etc.).The terminal iidentification of client Z used in client is the MAC of terminal
Location or IMEI connect digital sequence of characters string composition inquiry identification information after terminal iidentification.Client is complete to 10 picture editors
Cheng Hou, it is desirable to which 10 pictures are uploaded in the cloud platform based on block chain.At this point, client Z is using 10 pictures as wait deposit
Data are stored up, and accordingly generate corresponding inquiry identification information, it is assumed that inquiring identification information herein is ZZ-001, wherein ZZ can be with
It is client identification.Client Z passes through above-mentioned 10 picture as data to be stored and inquiry identification information ZZ-001 packing
Browser or cloud platform access APP upload to the cloud platform based on block chain.If block chain node A is as target block chain link
Point receives the data to be stored and inquiry identification information ZZ-001 of 10 pictures, then generates corresponding browsing according to 10 pictures
Data, size, summary (including picture name and picture description) including every picture, Periodical front cover information (seal when showing
Which picture face is) and specific uplink time etc., and encryption is carried out to 10 pictures using the public key of client Z and generates encryption
Data.Finally, block chain node A exists encryption data, corresponding browsing data and inquiry identification information as storage processing data
It is transmitted in block chain.Optionally, it can be transmitted by the way of broadcast.Other nodes B-J in block chain network
After receiving storage processing data, whether all storage processing data are stored according to the judgement of the nodal community of the machine at this time.Such as
Fruit is the whole network node A-G, then judging result is that can store total data, is directly handled using storage processing data as the first storage
Data are written in local block chain;If it is light node H-J, then judging result is not store total data, then deletes storage
The encryption data generation second handled in data stores processing data, only will include the second of browsing data and inquiry identification information
It is in distributed account book that local block chain, which is written, in storage processing data.
In an alternate embodiment of the present invention where, rule, which is added, by cloud platform in any type device node becomes described
Block chain node;Wherein, it may include: node of any type device node according to itself that rule, which is added, in the cloud platform
Performance information actively selects the nodal community, or, any type device node sends the joint behavior information of itself
Either block chain node is given, so that the block chain node for receiving the joint behavior information is according to the joint behavior information
Any type device node specifies the nodal community.
It should be noted that in embodiments of the present invention can in order to enrich the nodal function of the cloud platform based on block chain
Choosing, rule can be added as the block chain in the cloud platform based on block chain in any type device node by cloud platform
Node.So-called any type device, including but not limited to large server, work station or a plurality of types of personal terminal etc..
Rule, which can be added, by cloud platform in any equipment that can store data becomes block chain node, and the embodiment of the present invention is not
The device node type that cloud platform is added is defined.Wherein, cloud platform, which is added rule and can be, pre-establishes, for for
The reference rule when cloud platform based on block chain is added in any type device node.Illustratively, cloud platform addition rule can
To be: memory capacity is more than or equal to 500G and device node of the utilizable flow more than or equal to 10G can become the whole network node, storage
Capacity is less than 500G and device node of the utilizable flow less than 10G can become light node.
Correspondingly, device node can be according to cloud when the cloud platform based on block chain is added in a device node request
Platform is added rule and determines its nodal community in block chain.Optionally, device node can receive arbitrarily saves in block chain
Rule is added in the cloud platform that point is sent, and actively selects node category according to the joint behavior information that rule and itself is added in cloud platform
Property.Wherein, joint behavior information includes but is not limited to memory capacity and utilizable flow etc..Illustratively, device node request adds
When entering the cloud platform based on block chain, if actively selecting nodal community by device node, it can receive in block chain network
Rule is added in the cloud platform that arbitrary node is sent, and rule and itself memory capacity and utilizable flow is added according to cloud platform
Equal performance informations are selected to the whole network node or light node.If being that device node selects nodal community by block chain node,
The performance informations such as the memory capacity of itself and utilizable flow can be sent to the arbitrary node in block chain network by device node,
And rule is added according to the cloud platform itself stored for the block chain node by receiving performance information and performance information is equipment section
Point selection nodal community, and nodal community is fed back into device node.
In an alternate embodiment of the present invention where, the intelligent contract is also used to count depositing for each block chain node offer
Total amount and flow total amount are stored up, to reward according to the storage total amount and flow total amount the block chain link point.
It should be noted that in embodiments of the present invention, can use the intelligent contract pair being built in block chain node
Each node implements incentive mechanism in cloud platform based on block chain.Specifically, each block chain can be counted by intelligent contract
The storage total amount and flow total amount that node provides, to be encouraged according to storage total amount and flow total amount to block chain link point
It encourages.
Intelligent contract statistics in a specific example, built in the block chain node in the cloud platform based on block chain
The storage total amount and flow total amount of each block chain node contribution, and according to the storage total amount and flow total amount of node contribution to section
Point carries out token reward.Specifically, intelligent contract records and counts the storage that each block chain node is contributed in the regular period
Total amount and uplink traffic total amount, according to the final contribution margin of weighted calculation node of storage total amount and uplink traffic total amount, and root
Token reward is carried out to node according to contribution margin.Such as the weighting of storage total amount and uplink traffic total amount is compared for 0.8:0.2, the whole network section
Point A contributes to 10G storage and 20G uplink traffic in one week, then the contribution margin of the whole network node A is 10*0.8+20*0.2=12,
12 tokens can be rewarded to node A;Light node H contributes to 1G storage and 25G uplink traffic in one week, then light node H
Contribution margin is 1*0.8+25*0.2=5.8, rewards 5.8 tokens to node H.
The data to be stored that the embodiment of the present invention is sent by reception client or auxiliary node, and and data to be stored
Corresponding inquiry identification information generates browsing data corresponding with data to be stored, and encrypts to data to be stored, generates
Encryption data;According to encryption data, browsing data and inquiry identification information, storage processing corresponding with data to be stored is generated
Data, and storage processing data are transmitted in block chain network, then storage is handled according to the nodal community of the machine
Data are stored, other block chain nodes for receiving storage processing data are also needed according to the nodal community of the machine to depositing
Storage processing data are stored, solve data existing for existing cloud storage technology safety is lower and storage resource waste
Problem realizes the distributed cloud platform of decentralization by block chain technology, is protected with the characteristic that can not distort of block chain technology
The safety of data storage is demonstrate,proved, and improves the space utilisation of cloud platform.
Embodiment two
Fig. 2 is a kind of flow chart of cloud storage method based on block chain provided by Embodiment 2 of the present invention, the present embodiment
It is applicable to the case where realizing cloud storage using block chain technology, this method can be by holding based on the cloud storage device of block chain
Row, which can be realized by the mode of software and/or hardware, and can be generally integrated in computer equipment, the computer
Equipment can be the equipment for having block chain nodal function.Correspondingly, as shown in Fig. 2, this method includes following operation:
S210, the storage processing data transmitted by block chain network are received, wherein the storage handles data and includes:
The encryption data that is obtained after being encrypted to data to be stored, browsing data corresponding with the data to be stored and with it is described
The corresponding inquiry identification information of data to be stored;The data to be stored and corresponding inquiry identification information are uploaded by client.
In embodiments of the present invention, the storage processing data of generation are sent in block chain network by target block chain node
After being transmitted, other nodes in block chain network can receive storage processing data and carry out storage processing respectively, with reality
The distributed storage of existing multinode.Wherein, the inquiry identification information and encryption data for including in storage processing data are corresponding
Data to be stored is uploaded in block chain network by client.
S220, the nodal community according to the machine store storage processing data, and the nodal community includes:
The whole network nodal community or light nodal community.
Similarly, after other nodes in block chain network receive storage processing data, it is also desirable to according to the node of the machine
Attribute carries out different storages to storage processing data and operates.
In an alternate embodiment of the present invention where, the nodal community according to the machine handles data to the storage
It is stored, may include: the whole network nodal community according to the machine, directly storage processing data are stored;Alternatively,
According to the light nodal community of the machine, only the browsing data and the inquiry that include in the storage processing data are identified
Information is stored.
Correspondingly, if the nodal community of block chain node the machine is the whole network nodal community, it can directly will be at storage
Reason data are stored in local block chain as the first storage processing data, at this point, the first of the storage of block chain node deposits
Storage processing data include complete encryption data, browsing data and inquiry identification information.If the section of block chain node the machine
Point attribute is light nodal community, then needs to delete the encryption data for including in storage processing data and form the second storage processing data
It is stored in local block chain.At this point, block chain node storage second storage processing data only include browsing data and
Inquire identification information.
In an alternate embodiment of the present invention where, the block chain node includes built-in intelligent contract;The intelligence
Contract is used to count storage total amount and flow total amount that each block chain node provides, with according to the storage total amount and
Flow total amount rewards the block chain link point.
It should be noted that in embodiments of the present invention, can use the intelligent contract pair being built in block chain node
Each node implements incentive mechanism in cloud platform based on block chain.Specifically, each block chain can be counted by intelligent contract
The storage total amount and flow total amount that node provides, to be encouraged according to storage total amount and flow total amount to block chain link point
It encourages.
In an alternate embodiment of the present invention where, rule, which is added, by cloud platform in any type device node becomes described
Block chain node;Wherein, it includes: joint behavior of any type device node according to itself that rule, which is added, in the cloud platform
Information actively selects the nodal community, appoints or, the joint behavior information of itself is sent to by any type device node
One block chain node, so that it is described for receiving the block chain node of the joint behavior information according to the joint behavior information
Any type device node specifies the nodal community.
It should be noted that in embodiments of the present invention can in order to enrich the nodal function of the cloud platform based on block chain
Choosing, rule can be added as the block chain in the cloud platform based on block chain in any type device node by cloud platform
Node.So-called any type device, including but not limited to large server, work station or a plurality of types of personal terminal etc..
Rule, which can be added, by cloud platform in any equipment that can store data becomes block chain node, and the embodiment of the present invention is not
The device node type that cloud platform is added is defined.Wherein, cloud platform, which is added rule and can be, pre-establishes, for for
The reference rule when cloud platform based on block chain is added in any type device node.Illustratively, cloud platform addition rule can
To be: memory capacity is more than or equal to 500G and device node of the utilizable flow more than or equal to 10G can become the whole network node, storage
Capacity is less than 500G and device node of the utilizable flow less than 10G can become light node.
Correspondingly, device node can be according to cloud when the cloud platform based on block chain is added in a device node request
Platform is added rule and determines its nodal community in block chain.Optionally, device node can receive arbitrarily saves in block chain
Rule is added in the cloud platform that point is sent, and actively selects node category according to the joint behavior information that rule and itself is added in cloud platform
Property.Wherein, joint behavior information includes but is not limited to memory capacity and utilizable flow etc..Illustratively, device node request adds
When entering the cloud platform based on block chain, if actively selecting nodal community by device node, it can receive in block chain network
Rule is added in the cloud platform that arbitrary node is sent, and rule and itself memory capacity and utilizable flow is added according to cloud platform
Equal performance informations selection is known as the whole network node or light node.If being that device node selects nodal community by block chain node,
The performance informations such as the memory capacity of itself and utilizable flow can be sent to the arbitrary node in block chain network by device node,
And rule is added according to the cloud platform itself stored for the block chain node by receiving performance information and performance information is equipment section
Point selection nodal community, and nodal community is fed back into device node.
In an alternate embodiment of the present invention where, the inquiry identification information may include: storing data mark and visitor
Family end mark, alternatively, the inquiry identification information may include: storing data mark.
Wherein, it is client formulation for identifying client and correspondence that storing data mark, which can be according to setting rule,
Data to be stored character string, alternatively, storing data mark can be served only for mark data to be stored.Wherein, setting rule
It can be letter, number or symbol etc. to be arranged according to rule, for example, setting rule can be preceding 3 character numbers and be used for
Client-side information is identified, rear three bit digitals number does not advise setting for identifying data to be stored information, the embodiment of the present invention
Particular content then is defined.Client identification can be the information for unique identification client, for example, client
(Media Access Control, the media access control) address MAC or IMEI (International Mobile
Equipment Identity, international mobile equipment identification number) etc. can be used as client identification.
In embodiments of the present invention, optionally, inquiry identification information may include storing data mark and client identification,
Alternatively, inquiry identification information can only include storing data mark.When inquiry identification information simultaneously include storing data mark and
When client identification, client identification can be used to identify client, storing data mark can be served only for identifying wait store
Data.When inquiry identification information only includes storing data mark, storing data mark needs while identifying client and correspondence
Data to be stored information, to realize the corresponding storage of client and data to be stored.Illustratively, when inquiry identification information
When including storing data mark, preceding 3 information of storing data mark for identifying client, rear 3 information for identify to
Storing data.
By adopting the above technical scheme, data are handled by the storage that block chain network is transmitted by receiving, according to the machine
Nodal community, to storage processing data store, solve data existing for existing cloud storage technology safety it is lower and
The problem of storage resource wastes realizes the distributed cloud platform of decentralization, by block chain technology with block chain technology
Characteristic can not be distorted and guarantee the safety of data storage, and improve the space utilisation of cloud platform.
Embodiment three
Fig. 3 is a kind of schematic diagram for cloud storage device based on block chain that the embodiment of the present invention three provides, such as Fig. 3 institute
Show, described device is configured at block chain node, comprising: the first data reception module 310, the first data generation module 320, second
Data generation module 330 and the first data memory module 340, in which:
First data reception module 310, the data to be stored sent for receiving client or auxiliary node, and with institute
State the corresponding inquiry identification information of data to be stored;
First data generation module 320, for generating corresponding with data to be stored browsing data, and to it is described to
Storing data is encrypted, and encryption data is generated;
Second data generation module 330, for being identified according to the encryption data, the browsing data and the inquiry
Information generates storage corresponding with the data to be stored and handles data, and by storage processing data in block chain network
In transmitted;
First data memory module 340 deposits storage processing data for the nodal community according to the machine
Storage, the nodal community includes: the whole network nodal community or light nodal community.
The data to be stored that the embodiment of the present invention is sent by reception client or auxiliary node, and and data to be stored
Corresponding inquiry identification information generates browsing data corresponding with data to be stored, and encrypts to data to be stored, generates
Encryption data;According to encryption data, browsing data and inquiry identification information, storage processing corresponding with data to be stored is generated
Data, and storage processing data are transmitted in block chain network, then storage is handled according to the nodal community of the machine
Data are stored, other block chain nodes for receiving storage processing data are also needed according to the nodal community of the machine to depositing
Storage processing data are stored, solve data existing for existing cloud storage technology safety is lower and storage resource waste
Problem realizes the distributed cloud platform of decentralization by block chain technology, is protected with the characteristic that can not distort of block chain technology
The safety of data storage is demonstrate,proved, and improves the space utilisation of cloud platform.
Optionally, the first data memory module 340 directly will be described specifically for the whole network nodal community according to the machine
Storage processing data are stored as the first storage processing data;Or
According to the light nodal community of the machine, the encryption data for including in the storage processing data is deleted as second
Storage processing data are stored.
Optionally, the method with the client by meeting the target area of set distance condition in the block chain network
Block chain node executes;
Wherein, the target block chain node is by the auxiliary node in the block chain network according to built-in intelligent contract
It determines, the auxiliary node is used to receive the data to be stored that the client is sent and inquiry identification information;Or
The target block chain node is determined by the client by the network address that home domain name parses.
Optionally, rule, which is added, by cloud platform in any type device node becomes the block chain node;
Wherein, it includes: that any type device node is believed according to the joint behavior of itself that rule, which is added, in the cloud platform
Breath actively selects the nodal community, or
The joint behavior information of itself is sent to either block chain node by any type device node, so as to receive
Block chain node to the joint behavior information is specified for any type device node according to the joint behavior information
The nodal community.
Optionally, the inquiry identification information include: storing data mark and client identification, or
The inquiry identification information includes: storing data mark.
Optionally, the intelligent contract is also used to count storage total amount and flow total amount that each block chain node provides,
To be rewarded according to the storage total amount and flow total amount the block chain link point.
The cloud based on block chain provided by the embodiment of the present invention one can be performed in the above-mentioned cloud storage device based on block chain
Storage method has the corresponding functional module of execution method and beneficial effect.The technology of detailed description is not thin in the present embodiment
Section, reference can be made to the cloud storage method provided in an embodiment of the present invention based on block chain.
Example IV
Fig. 4 is a kind of schematic diagram for cloud storage device based on block chain that the embodiment of the present invention four provides, such as Fig. 4 institute
Show, described device is configured at block chain node, comprising: the second data reception module 410 and the second data memory module 420,
Wherein:
Second data reception module 410 handles data by the storage that block chain network is transmitted for receiving, wherein institute
State storage processing data include: the encryption data obtained after being encrypted to data to be stored, it is corresponding with the data to be stored
Browsing data and inquiry identification information corresponding with the data to be stored;The data to be stored and corresponding inquiry are known
Other information is uploaded by client;
Second data memory module 420 deposits storage processing data for the nodal community according to the machine
Storage, the nodal community includes: the whole network nodal community or light nodal community.
The embodiment of the present invention handles data by the storage that block chain network is transmitted by receiving, according to the node category of the machine
Property, to storage processing data store, solve data existing for existing cloud storage technology safety it is lower and storage money
The problem of source wastes realizes the distributed cloud platform of decentralization, by block chain technology with can not usurping for block chain technology
Change characteristic and guarantee the safety of data storage, and improves the space utilisation of cloud platform.
Optionally, the second data memory module 420, specifically for the whole network nodal community according to the machine, directly to described
Storage processing data are stored;Or
According to the light nodal community of the machine, only to the browsing data that include in the storage processing data and described
Inquiry identification information is stored.
Optionally, the block chain node includes built-in intelligent contract;The intelligence contract is for counting each area
Block chain node provide storage total amount and flow total amount, with according to the storage total amount and flow total amount to the block chain
Node is rewarded.
Optionally, rule, which is added, by cloud platform in any type device node becomes the block chain node;
Wherein, it includes: that any type device node is believed according to the joint behavior of itself that rule, which is added, in the cloud platform
Breath actively selects the nodal community, or
The joint behavior information of itself is sent to either block chain node by any type device node, so as to receive
Block chain node to the joint behavior information is specified for any type device node according to the joint behavior information
The nodal community.
Optionally, the inquiry identification information include: storing data mark and client identification, or
The inquiry identification information includes: storing data mark.
The cloud based on block chain provided by the embodiment of the present invention two can be performed in the above-mentioned cloud storage device based on block chain
Storage method has the corresponding functional module of execution method and beneficial effect.The technology of detailed description is not thin in the present embodiment
Section, reference can be made to the cloud storage method provided in an embodiment of the present invention based on block chain.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for computer equipment that the embodiment of the present invention five provides.Fig. 5, which is shown, to be suitable for being used to
Realize the block diagram of the computer equipment 512 of embodiment of the present invention.The computer equipment 512 that Fig. 5 is shown is only an example,
Should not function to the embodiment of the present invention and use scope bring any restrictions.Computer equipment 512 typically undertakes block
The calculating equipment of catenary system nodal function.
As shown in figure 5, computer equipment 512 is showed in the form of universal computing device.The component of computer equipment 512 can
To include but is not limited to: one or more processor 516, storage device 528 connect different system components (including storage dress
Set 528 and processor 516) bus 518.
Bus 518 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (Industry Standard
Architecture, ISA) bus, microchannel architecture (Micro Channel Architecture, MCA) bus, enhancing
Type isa bus, Video Electronics Standards Association (Video Electronics Standards Association, VESA) local
Bus and peripheral component interconnection (Peripheral Component Interconnect, PCI) bus.
Computer equipment 512 typically comprises a variety of computer system readable media.These media can be it is any can
The usable medium accessed by computer equipment 512, including volatile and non-volatile media, moveable and immovable Jie
Matter.
Storage device 528 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (Random Access Memory, RAM) 530 and/or cache memory 532.Computer equipment 512 can be into
One step includes other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, it deposits
Storage system 534 can be used for reading and writing immovable, non-volatile magnetic media, and (Fig. 5 do not show, commonly referred to as " hard drive
Device ").Although being not shown in Fig. 5, the disk for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided and driven
Dynamic device, and to removable anonvolatile optical disk (such as CD-ROM (Compact Disc-Read Only Memory, CD-
ROM), digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical mediums) read-write
CD drive.In these cases, each driver can pass through one or more data media interfaces and bus 518
It is connected.Storage device 528 may include at least one program product, which has one group of (for example, at least one) program
Module, these program modules are configured to perform the function of various embodiments of the present invention.
Program 536 with one group of (at least one) program module 526, can store in such as storage device 528, this
The program module 526 of sample includes but is not limited to operating system, one or more application program, other program modules and program
It may include the realization of network environment in data, each of these examples or certain combination.Program module 526 usually executes
Function and/or method in embodiment described in the invention.
Computer equipment 512 can also with one or more external equipments 514 (such as keyboard, sensing equipment, camera,
Display 524 etc.) communication, the equipment interacted with the computer equipment 512 communication can be also enabled a user to one or more,
And/or with any equipment (such as net that the computer equipment 512 is communicated with one or more of the other calculating equipment
Card, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 522.Also, computer
Equipment 512 can also pass through network adapter 520 and one or more network (such as local area network (Local Area
Network, LAN), wide area network Wide Area Network, WAN) and/or public network, such as internet) communication.As schemed
Show, network adapter 520 is communicated by bus 518 with other modules of computer equipment 512.Although should be understood that in figure not
It shows, other hardware and/or software module can be used in conjunction with computer equipment 512, including but not limited to: microcode, equipment
Driver, redundant processing unit, external disk drive array, disk array (Redundant Arrays of Independent
Disks, RAID) system, tape drive and data backup storage system etc..
The program that processor 516 is stored in storage device 528 by operation, thereby executing various function application and number
According to processing, such as realize the cloud storage method based on block chain provided by the above embodiment of the present invention.That is, the processing is single
Member is realized when executing described program: receive the data to be stored that client or auxiliary node are sent, and with the number to be stored
According to corresponding inquiry identification information;Generate corresponding with data to be stored browsing data, and to the data to be stored into
Row encryption, generates encryption data;According to the encryption data, the browsing data and the inquiry identification information, generate with
The corresponding storage of the data to be stored handles data, and the storage is handled data and is transmitted in block chain network;
According to the nodal community of the machine, storage processing data are stored, the nodal community include: the whole network nodal community or
The light nodal community of person.In another example realizing the cloud storage method based on block chain provided by the above embodiment of the present invention.That is, institute
It states realization when processing unit executes described program: receiving and data are handled by the storage that block chain network is transmitted, wherein is described to deposit
Storage processing data include: the encryption data obtained after being encrypted to data to be stored, it is corresponding with the data to be stored clear
Look at data and inquiry identification information corresponding with the data to be stored;The data to be stored and corresponding inquiry identification letter
Breath is uploaded by client;According to the nodal community of the machine, storage processing data are stored, the nodal community packet
It includes: the whole network nodal community or light nodal community.
Embodiment six
The embodiment of the present invention six also provides a kind of computer storage medium for storing computer program, the computer program
When being executed by computer processor for executing any cloud storage side based on block chain of the above embodiment of the present invention
Method.For example, the computer program is used to execute: receive the data to be stored that client or auxiliary node are sent, and with institute
State the corresponding inquiry identification information of data to be stored;Generate corresponding with data to be stored browsing data, and to it is described to
Storing data is encrypted, and encryption data is generated;It is identified and is believed according to the encryption data, the browsing data and the inquiry
Breath generates storage corresponding with the data to be stored and handles data, and by storage processing data in block chain network
It is transmitted;According to the nodal community of the machine, storage processing data are stored, the nodal community includes: the whole network
Nodal community or light nodal community.In another example the computer program is used to execute: what reception was transmitted by block chain network
Storage processing data, wherein the storage handle data include: the encryption data obtained after being encrypted to data to be stored,
And the corresponding browsing data of data to be stored and inquiry identification information corresponding with the data to be stored;It is described wait deposit
Storage data and corresponding inquiry identification information are uploaded by client;According to the nodal community of the machine, data are handled to the storage
It is stored, the nodal community includes: the whole network nodal community or light nodal community.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool
There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires
(Read Only Memory, ROM), erasable programmable read only memory ((Erasable Programmable Read
Only Memory, EPROM) or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic
Memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium, which can be, any includes
Or the tangible medium of storage program, which can be commanded execution system, device or device use or in connection make
With.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, radio frequency (Radio Frequency, RF) etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, also
Including conventional procedural programming language --- such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service
Quotient is connected by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (15)
1. a kind of cloud storage method based on block chain is applied to block chain node characterized by comprising
Receive the data to be stored of client or auxiliary node transmission, and inquiry corresponding with data to be stored identification letter
Breath;
Browsing data corresponding with the data to be stored are generated, and the data to be stored is encrypted, generate encryption number
According to;
According to the encryption data, the browsing data and the inquiry identification information, generate and the data to be stored pair
The storage processing data answered, and storage processing data are transmitted in block chain network;
According to the nodal community of the machine, storage processing data are stored, the nodal community includes: the whole network node category
Property or light nodal community.
2. the method according to claim 1, wherein the nodal community according to the machine, at the storage
Reason data are stored, comprising:
According to the whole network nodal community of the machine, directly deposited storage processing data as the first storage processing data
Storage;Or
According to the light nodal community of the machine, the encryption data for including in the storage processing data is deleted as the second storage
Processing data are stored.
3. the method according to claim 1, wherein the method by the block chain network with the client
The target block chain node that end meets set distance condition executes;
Wherein, the target block chain node is true according to built-in intelligent contract by the auxiliary node in the block chain network
Fixed, the auxiliary node is used to receive the data to be stored that the client is sent and inquiry identification information;Or
The target block chain node is determined by the client by the network address that home domain name parses.
4. method according to claim 1-3, which is characterized in that any type device node is added by cloud platform
Entering rule becomes the block chain node;
Wherein, it includes: joint behavior information master of any type device node according to itself that rule, which is added, in the cloud platform
The dynamic selection nodal community, or
The joint behavior information of itself is sent to either block chain node by any type device node, so as to receive institute
The block chain node for stating joint behavior information is specified described for any type device node according to the joint behavior information
Nodal community.
5. method according to claim 1-3, it is characterised in that:
The inquiry identification information include: storing data mark and client identification, or
The inquiry identification information includes: storing data mark.
6. according to the method described in claim 3, it is characterized in that, the intelligence contract is also used to count each block chain node and mentions
The storage total amount and flow total amount of confession, to be encouraged according to the storage total amount and flow total amount to the block chain link point
It encourages.
7. a kind of cloud storage method based on block chain is applied to block chain node characterized by comprising
It receives and data is handled by the storage that block chain network is transmitted, wherein the storage processing data include: to treat storage number
According to the encryption data obtained after being encrypted, browsing data corresponding with the data to be stored and with the data to be stored
Corresponding inquiry identification information;The data to be stored and corresponding inquiry identification information are uploaded by client;
According to the nodal community of the machine, storage processing data are stored, the nodal community includes: the whole network node category
Property or light nodal community.
8. the method according to the description of claim 7 is characterized in that the nodal community according to the machine, at the storage
Reason data are stored, comprising:
According to the whole network nodal community of the machine, directly storage processing data are stored;Or
According to the light nodal community of the machine, only to the browsing data and the inquiry for including in the storage processing data
Identification information is stored.
9. the method according to the description of claim 7 is characterized in that the block chain node includes built-in intelligent contract;Institute
Storage total amount and flow total amount that intelligent contract is provided for counting each block chain node are stated, with total according to the storage
Amount and flow total amount reward the block chain link point.
10. according to any method of claim 7-9, which is characterized in that any type device node is added by cloud platform
Entering rule becomes the block chain node;
Wherein, it includes: joint behavior information master of any type device node according to itself that rule, which is added, in the cloud platform
The dynamic selection nodal community, or
The joint behavior information of itself is sent to either block chain node by any type device node, so as to receive institute
The block chain node for stating joint behavior information is specified described for any type device node according to the joint behavior information
Nodal community.
11. according to any method of claim 7-9, which is characterized in that the inquiry identification information includes: storing data
Mark and client identification, or
The inquiry identification information includes: storing data mark.
12. a kind of cloud storage device based on block chain, is configured at block chain node characterized by comprising
First data reception module, the data to be stored sent for receiving client or auxiliary node, and with described wait deposit
Store up the corresponding inquiry identification information of data;
First data generation module, for generating browsing data corresponding with the data to be stored, and to the number to be stored
According to being encrypted, encryption data is generated;
Second data generation module, for according to the encryption data, the browsing data and the inquiry identification information, life
Data are handled at storage corresponding with the data to be stored, and storage processing data are passed in block chain network
It is defeated;
First data memory module stores storage processing data, the section for the nodal community according to the machine
Point attribute includes: the whole network nodal community or light nodal community.
13. a kind of cloud storage device based on block chain, is configured at block chain node characterized by comprising
Second data reception module handles data by the storage that block chain network is transmitted for receiving, wherein at the storage
Managing data includes: the encryption data obtained after encrypting to data to be stored, browsing number corresponding with the data to be stored
Accordingly and inquiry identification information corresponding with the data to be stored;The data to be stored and corresponding inquiry identification information by
Client uploads;
Second data memory module stores storage processing data, the section for the nodal community according to the machine
Point attribute includes: the whole network nodal community or light nodal community.
14. a kind of computer equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now cloud storage method based on block chain as described in any in claim 1-6 or 7-11.
15. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor
Cloud storage method based on block chain of the Shi Shixian as described in any in claim 1-6 or 7-11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811214266.0A CN109521956B (en) | 2018-10-18 | 2018-10-18 | Cloud storage method, device, equipment and storage medium based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811214266.0A CN109521956B (en) | 2018-10-18 | 2018-10-18 | Cloud storage method, device, equipment and storage medium based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109521956A true CN109521956A (en) | 2019-03-26 |
CN109521956B CN109521956B (en) | 2022-03-18 |
Family
ID=65772113
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811214266.0A Active CN109521956B (en) | 2018-10-18 | 2018-10-18 | Cloud storage method, device, equipment and storage medium based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109521956B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111047313A (en) * | 2020-03-12 | 2020-04-21 | 支付宝(杭州)信息技术有限公司 | Code scanning payment, information sending and key management method, device and equipment |
CN111147494A (en) * | 2019-12-27 | 2020-05-12 | 杭州趣链科技有限公司 | Multi-center access management method and device for block chain light nodes |
CN111399756A (en) * | 2019-09-29 | 2020-07-10 | 杭州海康威视***技术有限公司 | Data storage method, data downloading method and device |
CN111709041A (en) * | 2020-06-04 | 2020-09-25 | 江苏荣泽信息科技股份有限公司 | Data storage and export method based on block chain |
CN111767427A (en) * | 2019-04-02 | 2020-10-13 | 浙江宇视科技有限公司 | Video information storage method and data storage domain |
CN114697350A (en) * | 2020-12-31 | 2022-07-01 | 福建凯米网络科技有限公司 | Data storage method and storage medium based on block chain |
CN114880397A (en) * | 2022-04-28 | 2022-08-09 | 中国电信股份有限公司 | Decentralized data storage method and device, computer medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110208710A1 (en) * | 2011-04-29 | 2011-08-25 | Lesavich Zachary C | Method and system for creating vertical search engines with cloud computing networks |
CN107426170A (en) * | 2017-05-24 | 2017-12-01 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment based on block chain |
CN107862215A (en) * | 2017-09-29 | 2018-03-30 | 阿里巴巴集团控股有限公司 | A kind of date storage method, data query method and device |
-
2018
- 2018-10-18 CN CN201811214266.0A patent/CN109521956B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110208710A1 (en) * | 2011-04-29 | 2011-08-25 | Lesavich Zachary C | Method and system for creating vertical search engines with cloud computing networks |
CN107426170A (en) * | 2017-05-24 | 2017-12-01 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment based on block chain |
CN107862215A (en) * | 2017-09-29 | 2018-03-30 | 阿里巴巴集团控股有限公司 | A kind of date storage method, data query method and device |
Non-Patent Citations (1)
Title |
---|
沈鑫等: "区块链技术综述", 《网络与信息安全学报》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111767427A (en) * | 2019-04-02 | 2020-10-13 | 浙江宇视科技有限公司 | Video information storage method and data storage domain |
CN111767427B (en) * | 2019-04-02 | 2024-04-05 | 浙江宇视科技有限公司 | Video information storage method and data storage domain |
CN111399756A (en) * | 2019-09-29 | 2020-07-10 | 杭州海康威视***技术有限公司 | Data storage method, data downloading method and device |
CN111399756B (en) * | 2019-09-29 | 2024-01-02 | 杭州海康威视***技术有限公司 | Data storage method, data downloading method and device |
CN111147494A (en) * | 2019-12-27 | 2020-05-12 | 杭州趣链科技有限公司 | Multi-center access management method and device for block chain light nodes |
CN111147494B (en) * | 2019-12-27 | 2022-11-18 | 杭州趣链科技有限公司 | Multi-center access management method and device for block chain light nodes |
CN111047313A (en) * | 2020-03-12 | 2020-04-21 | 支付宝(杭州)信息技术有限公司 | Code scanning payment, information sending and key management method, device and equipment |
CN111709041A (en) * | 2020-06-04 | 2020-09-25 | 江苏荣泽信息科技股份有限公司 | Data storage and export method based on block chain |
CN111709041B (en) * | 2020-06-04 | 2022-07-22 | 江苏荣泽信息科技股份有限公司 | Data storage and export method based on block chain |
CN114697350A (en) * | 2020-12-31 | 2022-07-01 | 福建凯米网络科技有限公司 | Data storage method and storage medium based on block chain |
CN114880397A (en) * | 2022-04-28 | 2022-08-09 | 中国电信股份有限公司 | Decentralized data storage method and device, computer medium and electronic equipment |
CN114880397B (en) * | 2022-04-28 | 2024-04-26 | 中国电信股份有限公司 | Decentralised data storage method and device, computer medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109521956B (en) | 2022-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109521956A (en) | A kind of cloud storage method, apparatus, equipment and storage medium based on block chain | |
CN109522330A (en) | Cloud platform data processing method, device, equipment and medium based on block chain | |
US10976923B2 (en) | Enhanced virtual keyboard | |
US9904469B2 (en) | Keyboard stream logging | |
US9356895B2 (en) | Message transmission system and method for a structure of a plurality of organizations | |
CN103152337B (en) | A kind of method of Safety actuality transmission 2 D code information | |
CN104602238A (en) | Wireless network connecting method, device and system | |
CN104106241A (en) | System and Method to Generate Secure Name Records | |
CN109522462A (en) | A kind of cloud querying method, device, equipment and storage medium based on block chain | |
CN109154968B (en) | System and method for secure and efficient communication within an organization | |
US10768810B2 (en) | Enhanced keyboard including multiple application execution | |
US20150326513A1 (en) | Message transmission system and method suitable for individual and organization | |
US10893235B2 (en) | Conferencing apparatus and method for switching access terminal thereof | |
CN109600349A (en) | A kind of shared implementation method, device, equipment and the medium of business datum | |
CN105847853A (en) | Video content distribution method and device | |
CN106096927A (en) | The method of information updating, device and server | |
US20150327064A1 (en) | Message transmission system and method for a structure of a plurality of organizations | |
Rutenbeck | Tech terms: What every telecommunications and digital media professional should know | |
CN109613990A (en) | Soft keyboard safety input method, server, client, electronic equipment and medium | |
CN105450641A (en) | Verification method, verification device and verification system | |
CN109345242A (en) | Key storage, update method, device, equipment and medium based on block chain | |
CN110351276A (en) | Data processing method, equipment and computer readable storage medium | |
CN112150030A (en) | Account management method based on multiple units and multiple identities, terminal equipment and storage medium | |
CN106888213B (en) | Cloud ciphertext access control method and system | |
CN111404954A (en) | Hierarchical sharing 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 |