CN109521956B - Cloud storage method, device, equipment and storage medium based on block chain - Google Patents

Cloud storage method, device, equipment and storage medium based on block chain Download PDF

Info

Publication number
CN109521956B
CN109521956B CN201811214266.0A CN201811214266A CN109521956B CN 109521956 B CN109521956 B CN 109521956B CN 201811214266 A CN201811214266 A CN 201811214266A CN 109521956 B CN109521956 B CN 109521956B
Authority
CN
China
Prior art keywords
data
node
stored
block chain
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811214266.0A
Other languages
Chinese (zh)
Other versions
CN109521956A (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.)
Shanghai Dajiaying Information Technology Co Ltd
Original Assignee
Shanghai Dajiaying Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Dajiaying Information Technology Co Ltd filed Critical Shanghai Dajiaying Information Technology Co Ltd
Priority to CN201811214266.0A priority Critical patent/CN109521956B/en
Publication of CN109521956A publication Critical patent/CN109521956A/en
Application granted granted Critical
Publication of CN109521956B publication Critical patent/CN109521956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • G06F3/0622Securing storage systems in relation to access
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed 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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a cloud storage method, a device, equipment and a storage medium based on a block chain, wherein the method comprises the following steps: receiving data to be stored sent by a client or an auxiliary node and query identification information corresponding to the data to be stored; generating browsing data corresponding to the data to be stored, encrypting the data to be stored and generating encrypted data; generating storage processing data corresponding to the data to be stored according to the encrypted data, the browsing data and the query identification information, and transmitting the storage processing data in a block chain network; storing the storage processing data according to the node attribute of the computer, wherein the node attribute comprises: a full network node attribute or a light node attribute. According to the technical scheme of the embodiment of the invention, the decentralized distributed cloud platform is realized through the block chain technology, the safety of data storage is ensured by the non-tampering characteristic of the block chain technology, and the storage utilization rate of the cloud platform is improved.

Description

Cloud storage method, device, equipment and storage medium based on block chain
Technical Field
The embodiment of the invention relates to the technical field of block chains, in particular to a cloud storage method, a cloud storage device, cloud storage equipment and a storage medium based on the block chains.
Background
Cloud storage is a network storage technology, and can provide data storage and service access functions to the outside through functions such as cluster application, network technology or distributed file system.
The existing cloud platform for realizing the cloud storage technology is constructed by a centralized server or a server cluster, the configuration is over centralized, once the cloud platform is attacked, data is easily stolen and modified, and the problem of low data security is caused. Meanwhile, each server stores complete data, so that the requirement on storage space is high, a large amount of redundancy exists, and storage resources are wasted.
Disclosure of Invention
The embodiment of the invention provides a block chain-based cloud storage method, a block chain-based cloud storage device and a block chain-based cloud storage medium, wherein a decentralized and distributed cloud platform is realized through a block chain technology, the safety of data storage is ensured by the non-falsifiable characteristic of the block chain technology, and the storage utilization rate of the cloud platform is improved.
In a first aspect, an embodiment of the present invention provides a block chain-based cloud storage method, which is applied to a block chain node, and includes:
receiving data to be stored sent by a client or an auxiliary node and query identification information corresponding to the data to be stored;
generating browsing data corresponding to the data to be stored, and encrypting the data to be stored to generate encrypted data;
generating storage processing data corresponding to the data to be stored according to the encrypted data, the browsing data and the query identification information, and transmitting the storage processing data in a block chain network;
storing the storage processing data according to the node attribute of the local computer, wherein the node attribute comprises: a full network node attribute or a light node attribute.
In a second aspect, an embodiment of the present invention further provides a block chain-based cloud storage method, which is applied to a block chain node, and includes:
receiving storage processing data transmitted through a blockchain network, wherein the storage processing data comprises: the method comprises the steps that encrypted data obtained after data to be stored are encrypted, browsing data corresponding to the data to be stored and query identification information corresponding to the data to be stored; the data to be stored and the corresponding query identification information are uploaded by the client;
storing the storage processing data according to the node attribute of the local computer, wherein the node attribute comprises: a full network node attribute or a light node attribute.
In a third aspect, an embodiment of the present invention further provides a cloud storage device based on a block chain, configured at a block chain node, including:
the first data receiving module is used for receiving data to be stored sent by a client or an auxiliary node and query identification information corresponding to the data to be stored;
the first data generation module is used for generating browsing data corresponding to the data to be stored, encrypting the data to be stored and generating encrypted data;
the second data generation module is used for generating storage processing data corresponding to the data to be stored according to the encrypted data, the browsing data and the query identification information, and transmitting the storage processing data in a block chain network;
the first data storage module is configured to store the storage processing data according to a node attribute of a local computer, where the node attribute includes: a full network node attribute or a light node attribute.
In a fourth aspect, an embodiment of the present invention further provides a cloud storage device based on a block chain, configured at a block chain node, including:
a second data receiving module, configured to receive storage processing data transmitted through a blockchain network, where the storage processing data includes: the method comprises the steps that encrypted data obtained after data to be stored are encrypted, browsing data corresponding to the data to be stored and query identification information corresponding to the data to be stored; the data to be stored and the corresponding query identification information are uploaded by the client;
a second data storage module, configured to store the storage processing data according to a node attribute of a local computer, where the node attribute includes: a full network node attribute or a light node attribute.
In a fifth aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the block chain based cloud storage method provided by any embodiment of the present invention.
In a sixth aspect, an embodiment of the present invention further provides a computer storage medium, where a computer program is stored on the computer storage medium, and when the computer program is executed by a processor, the method for block chain based cloud storage according to any embodiment of the present invention is implemented.
The embodiment of the invention generates browsing data corresponding to the data to be stored by receiving the data to be stored sent by a client or an auxiliary node and query identification information corresponding to the data to be stored, and encrypts the data to be stored to generate encrypted data; according to the encrypted data, the browsing data and the query identification information, storage processing data corresponding to the data to be stored are generated, the storage processing data are transmitted in a block chain network, the storage processing data are stored according to the node attributes of the storage processing data, other block chain nodes which receive the storage processing data also need to store the storage processing data according to the node attributes of the storage processing data, the problems of low data security and storage resource waste in the existing cloud storage technology are solved, the non-centralized distributed cloud platform is realized through the block chain technology, the data storage security is guaranteed through the non-tampering characteristic of the block chain technology, and the storage utilization rate of the cloud platform is improved.
Drawings
Fig. 1 is a flowchart of a block chain-based cloud storage method according to an embodiment of the present invention;
fig. 2 is a flowchart of a block chain-based cloud storage method according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a cloud storage device based on a block chain according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a cloud storage device based on a block chain according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a block chain based cloud storage method according to an embodiment of the present invention, where the present embodiment may be applied to a case where cloud storage is implemented by using a block chain technology, and the method may be implemented by a block chain based cloud storage apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a computer device, where the computer device may be a device having a function of block chain node. Accordingly, as shown in fig. 1, the method comprises the following operations:
s110, receiving data to be stored sent by a client or an auxiliary node, and query identification information corresponding to the data to be stored.
The auxiliary node may be one of the blockchain nodes in the blockchain network, and may serve as a relay node to receive the data to be stored and the query identification information sent by the client, and forward the data to be stored and the query identification information to a target blockchain node for processing the data to be stored. The data to be stored may be data such as text, pictures, or videos, and any data that can be used for storage may be used as the data to be stored, which is not limited in this embodiment of the present invention. The query identification information may be information that corresponds to the data to be stored one to one and is used to identify the data to be stored.
In the embodiment of the invention, the cloud platform based on the block chain can be constructed by a plurality of block chain nodes in the block chain and provides cloud services to the outside. The blockchain may be a public chain or a federation chain, and the cloud service is a cloud storage service. The cloud platform is equivalent to a server side, and the terminal accessing the cloud platform is equivalent to a client side. The client side can send the data to be stored to the cloud platform based on the block chain, and any node in the block chain can receive the data to be stored and directly process the data. Or the auxiliary node receives the data to be stored and the query identification information and forwards the data to the target block chain node for processing. Correspondingly, the client can also send query identification information matched with the data to be stored to the cloud platform for classified storage, query and the like of the data to be stored.
In an optional embodiment of the present invention, the query identification information may include: storing the data identification and the client identification, or the query identification information may include: and storing the data identification.
The storage data identifier may be a character string that is formulated for the client according to a set rule and is used for identifying the client and corresponding data to be stored, or the storage data identifier may be only used for identifying the data to be stored. The setting rule may be that numbers, letters, symbols, or the like are arranged according to a rule, for example, the setting rule may be that the first 3-bit character number is used to identify client information, and the last three-bit number is used to identify data information to be stored. The client identifier may be information for uniquely identifying the client, for example, a MAC (Media Access Control) address or an IMEI (International Mobile Equipment Identity) of the client may be used as the client identifier.
In the embodiment of the present invention, optionally, the query identification information may include the storage data identifier and the client identifier, or the query identification information may include only the storage data identifier. When the query identification information includes both the stored data identifier and the client identifier, the client identifier may be used to identify the client, and the stored data identifier may be used only to identify the data to be stored. When the query identification information only comprises the storage data identification, the storage data identification needs to identify the client and the corresponding data information to be stored at the same time so as to realize the corresponding storage of the client and the data to be stored. Illustratively, when the query identification information only includes the storage data identifier, the first 3 bits of information of the storage data identifier are used to identify the client, and the last 3 bits of information are used to identify the data to be stored.
And S120, generating browsing data corresponding to the data to be stored, encrypting the data to be stored, and generating encrypted data.
The browsing data can be generated by the block link points according to the data to be stored, and is used for simply summarizing the data to be stored.
In the embodiment of the invention, after the block link point receives the data to be stored, the subsequent storage operation is performed after the data to be stored is processed. Specifically, the blockchain generation node may generate corresponding browsing data according to the data to be stored. The browsing data may include a size of the data to be stored, a content summary or uploading time, and the like, and may be specifically set according to an actual requirement, which is not limited in the embodiment of the present invention. The browsing data can be used for displaying summary information of each stored data for the client when the client queries the data stored in the cloud platform based on the block chain in the later period. The chunk link points may then encrypt the data to be stored to generate corresponding encrypted data. The encryption algorithm may be any one of the existing encryption algorithms, such as an asymmetric encryption algorithm, which is not limited in the embodiment of the present invention. The block chain node encrypts the data to be stored, so that the safety of the data to be stored in the transmission process of the block chain network can be ensured.
S130, generating storage processing data corresponding to the data to be stored according to the encrypted data, the browsing data and the query identification information, and transmitting the storage processing data in a block chain network.
Correspondingly, after the block chain link points process the data to be stored to generate browsing data and encrypted data, the browsing data and the query identification information can be used as storage processing data and transmitted in the block chain network, so that other block chain nodes in the cloud platform based on the block chain receive the storage processing data and perform local storage.
S140, storing the storage processing data according to the node attribute of the local computer, wherein the node attribute comprises: a full network node attribute or a light node attribute.
It should be noted that, in the embodiment of the present invention, the block chain link points in the cloud platform based on the block chain may be divided into two types: one is a whole network node, which has a large storage space and available flow, for example, a large storage server or a workstation or other nodes, which can be used for storing complete storage processing data; another is a light node, such as a PC (Personal Computer) or a smart terminal (mobile phone or tablet Computer, etc.), which has a small storage space and available traffic and needs to store the processed data after processing. Correspondingly, the nodes of the whole network have the properties of the nodes of the whole network, and the light nodes have the properties of the light nodes. When the block chain node processes the storage processing data, different storage operations need to be performed on the storage processing data according to the node attribute of the local node, so that the storage space of the node is fully utilized. Therefore, the cloud storage is realized through the block chain technology, and the safety of data storage can be ensured by using the non-modifiable characteristic of the block chain technology so as to prevent the stored data from being tampered. Meanwhile, the block chain nodes store the storage processing data according to the node attributes of the local computer, so that the storage utilization rate of the cloud platform can be improved, and feasibility and convenience are provided for adding the common terminal nodes into the block chain cloud platform.
In an optional embodiment of the present invention, the storing the storage processing data according to the node attribute of the local node may include: according to the attribute of the whole network node of the local computer, directly storing the storage processing data as first storage processing data; or deleting the encrypted data included in the storage processing data according to the light node attribute of the local computer, and storing the encrypted data as second storage processing data.
Correspondingly, if the node attribute of the local block link point is the node attribute of the whole network, the storage processing data can be directly stored in the local block chain as the first storage processing data, and at this time, the first storage processing data stored by the block link point comprises complete encrypted data, browsing data and query identification information. If the node attribute of the local block chain node is a light node attribute, the encrypted data included in the storage processing data needs to be deleted to form second storage processing data to be stored in the local block chain. At this time, the second storage processing data stored by the block link point includes only the browsing data and the inquiry identification information.
In an optional embodiment of the present invention, the method is performed by a target block link point in the block chain network, which satisfies a set distance condition with the client; the target block chain node is determined by an auxiliary node in the block chain network according to a built-in intelligent contract, and the auxiliary node is used for receiving data to be stored and query identification information sent by the client; or, the target block chain node is determined by a network address obtained by the client through local domain name resolution.
Wherein, the set distance condition may be that the distance is closest to the client.
In the embodiment of the present invention, the target block link point closest to the client may process the data to be stored and the query identification information sent by the client. Specifically, the target block chain node closest to the client may be determined in two ways: firstly, any node in a block chain which firstly receives data to be stored and query identification information is used as an auxiliary node, the auxiliary node analyzes a network address of a client according to a built-in intelligent contract to determine a block chain link point which is closest to the auxiliary node as a target block chain node, and the data to be stored and the query identification information are forwarded to the target block chain node. Secondly, the local domain name can be directly analyzed by the client to obtain a local network address, specifically, the network address can be obtained and analyzed by a local browser, and the block chain link point closest to the local domain name is determined as the target block chain node according to the network address obtained by analysis. Wherein the network address may be an IP address.
In a specific example, it is assumed that there are ten nodes a-J in a cloud platform based on a block chain, the ten nodes are distributed at different geographic locations to form the cloud platform based on the block chain, the cloud platform provides cloud storage service to the outside, and the nodes of the block chain have a P2P (peer-to-peer) relationship, each node of the block chain has its own storage space, for example, the nodes a-G of the block chain are mass storage servers or workstations, and belong to nodes of a whole network, and the storage space and available traffic of the nodes of the whole network are large. The block chain nodes H-J are personal terminals and belong to light nodes, and the storage space and the available flow of the light nodes are relatively small, such as a PC, a mobile phone or a tablet computer. The blockchain based cloud platform issues its own tokens (where tokens may be various digital currencies prevalent in the blockchain network). The client can access the APP through the browser or the cloud platform to complete the interoperation between the client and the cloud platform based on the block chain. For example, client Z may purchase a certain amount of platform tokens in advance to use the cloud services of the blockchain platform. That is, the client Z may enjoy the cloud service provided by the cloud platform based on the blockchain by paying a certain token, for example, paying one token, through the browser, the cloud platform access APP, or the third party transaction platform.
Specifically, the client Z may generate corresponding query identification information for the data to be stored before sending the data to be stored. Wherein, the query identification information may comprise the storage data identification and the client identification, or only comprise the storage data identification. Then, the client Z uniformly packages the data to be stored and the corresponding query identification information and uploads the packaged data to any node in the cloud platform based on the block chain for receiving. Typically, the data to be stored and the corresponding query identification information may be received and processed by the blockchain node whose geographical location is closest to the client Z. For example, the customer wants to upload 10 pictures, and the customer edits the 10 pictures in advance (including picture naming, content description, and the like). The terminal identification of the client Z used by the client is the MAC address or IMEI of the terminal, and a number sequence character string is connected behind the terminal identification to form inquiry identification information. After the customer edits 10 pictures, the customer wants to upload the 10 pictures to a cloud platform based on a block chain. At this time, the client Z takes 10 pictures as data to be stored, and generates corresponding query identification information according to the 10 pictures, assuming that the query identification information is ZZ-001, where ZZ may be a client identifier. And the client Z packages the 10 pictures serving as data to be stored and query identification information ZZ-001 and uploads the packaged data and the query identification information ZZ-001 to a cloud platform based on a block chain by accessing the APP through a browser or the cloud platform. If the block chain node A serves as a target block chain node to receive data to be stored and query identification information ZZ-001 of 10 pictures, corresponding browsing data including the size, the summary (including picture name and picture description), cover page information (which picture a cover page is when being displayed), specific uploading time and the like of each picture are generated according to the 10 pictures, and the public key of the client Z is used for encrypting the 10 pictures to generate encrypted data. And finally, the block link point A transmits the encrypted data, the corresponding browsing data and the query identification information as storage processing data in the block chain. Alternatively, the transmission may be performed in a broadcast manner. After receiving the storage processing data, other nodes B-J in the block chain network judge whether all the storage processing data are stored at the moment according to the node attribute of the local node. If the node A-G is the whole network node A-G, the judgment result is that all data can be stored, and the stored and processed data is directly written into a local block chain as first stored and processed data; and if the node is the light node H-J, judging that all data are not stored, deleting encrypted data in the storage processing data to generate second storage processing data, and writing the second storage processing data comprising browsing data and query identification information into a local block chain, namely the distributed account book.
In an optional embodiment of the present invention, any type of device node becomes the block chain node through a cloud platform joining rule; wherein the cloud platform joining rule may include: the arbitrary type equipment node actively selects the node attribute according to the node performance information of the arbitrary type equipment node, or the arbitrary type equipment node sends the node performance information of the arbitrary type equipment node to any block chain node, so that the block chain node receiving the node performance information appoints the node attribute for the arbitrary type equipment node according to the node performance information.
It should be noted that, in order to enrich the node functions of the cloud platform based on the block chain, in the embodiment of the present invention, optionally, any type of device node may become a block chain link point in the cloud platform based on the block chain through a cloud platform joining rule. By any type of device, including but not limited to a large server, a workstation, or various types of personal terminals, etc. Any device capable of storing data can become a block chain node through a cloud platform joining rule, and the embodiment of the invention does not limit the type of the device node joining the cloud platform. The cloud platform joining rule can be preset and is used for a reference rule when the cloud platform based on the block chain is joined to any type of equipment node. For example, the cloud platform join rule may be: the device nodes with the storage capacity of more than or equal to 500G and the available flow of more than or equal to 10G can become the nodes of the whole network, and the device nodes with the storage capacity of less than 500G and the available flow of less than 10G can become the light nodes.
Accordingly, when a device node requests to join a cloud platform based on a blockchain, the device node may determine its node attribute in the blockchain according to a cloud platform joining rule. Optionally, the device node may receive a cloud platform join rule sent by any node in the block chain, and actively select the node attribute according to the cloud platform join rule and the node performance information of the device node. The node performance information includes, but is not limited to, storage capacity, available traffic, and the like. Illustratively, when a device node requests to join a cloud platform based on a block chain, if the device node actively selects a node attribute, a cloud platform joining rule sent by any node in a block chain network can be received, and the cloud platform joining rule and performance information such as self storage capacity and available flow are selected to be a whole network node or a light node. If the node attribute is selected for the equipment node by the block chain node, the equipment node can send performance information such as self storage capacity and available flow to any node in the block chain network, and the block chain node which receives the performance information selects the node attribute for the equipment node according to the self stored cloud platform joining rule and the performance information, and feeds the node attribute back to the equipment node.
In an optional embodiment of the present invention, the smart contract is further configured to count a total amount of storage and a total amount of traffic provided by each block link point, so as to reward the block link points according to the total amount of storage and the total amount of traffic.
It should be noted that, in the embodiment of the present invention, the excitation mechanism may be implemented on each node in the cloud platform based on the block chain by using an intelligent contract built in the block chain node. Specifically, the total storage amount and the total flow amount provided by each block link point can be counted through the intelligent contract, so that the block link points are rewarded according to the total storage amount and the total flow amount.
In a specific example, the total storage amount and the total flow amount of the contribution of each block link point are counted based on an intelligent contract built in the block link points in the cloud platform of the block chain, and the nodes are rewarded with tokens according to the total storage amount and the total flow amount of the contribution of the nodes. Specifically, the intelligent contract records and counts the total storage amount and the total uplink flow amount contributed by each block chain node in a certain period, calculates the final contribution value of the node according to the weighting of the total storage amount and the total uplink flow amount, and awards tokens to the node according to the contribution value. For example, the weighted ratio of the total amount of storage to the total amount of upstream traffic is 0.8: 0.2, the full-network node a contributes 10G of storage and 20G of upstream traffic in one week, so that the contribution value of the full-network node a is 10 × 0.8+20 × 0.2 ═ 12, and 12 tokens can be awarded to the node a; the light node H contributes 1G storage and 25G upstream traffic in one week, and the light node H is awarded 5.8 tokens at a contribution value of 1 × 0.8+25 × 0.2 — 5.8.
The embodiment of the invention generates browsing data corresponding to the data to be stored by receiving the data to be stored sent by a client or an auxiliary node and query identification information corresponding to the data to be stored, and encrypts the data to be stored to generate encrypted data; according to the encrypted data, the browsing data and the query identification information, storage processing data corresponding to the data to be stored are generated, the storage processing data are transmitted in a block chain network, the storage processing data are stored according to the node attributes of the storage processing data, other block chain nodes which receive the storage processing data also need to store the storage processing data according to the node attributes of the storage processing data, the problems of low data security and storage resource waste in the existing cloud storage technology are solved, the non-centralized distributed cloud platform is realized through the block chain technology, the data storage security is guaranteed through the non-tampering characteristic of the block chain technology, and the storage utilization rate of the cloud platform is improved.
Example two
Fig. 2 is a flowchart of a block chain based cloud storage method according to a second embodiment of the present invention, where this embodiment may be applied to a case where cloud storage is implemented by using a block chain technology, and the method may be implemented by a block chain based cloud storage apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in a computer device, where the computer device may be a device having a function of block chain node. Accordingly, as shown in fig. 2, the method includes the following operations:
s210, receiving storage processing data transmitted through a blockchain network, where the storage processing data includes: the method comprises the steps that encrypted data obtained after data to be stored are encrypted, browsing data corresponding to the data to be stored and query identification information corresponding to the data to be stored; and uploading the data to be stored and the corresponding query identification information by the client.
In the embodiment of the present invention, after the target blockchain node sends the generated storage processing data to the blockchain network for transmission, other nodes in the blockchain network may receive the storage processing data and perform storage processing respectively, so as to implement multi-node distributed storage. The query identification information included in the storage processing data and the data to be stored corresponding to the encrypted data are uploaded to the block chain network through the client.
S220, storing the storage processing data according to the node attribute of the local computer, wherein the node attribute comprises: a full network node attribute or a light node attribute.
Similarly, after receiving the storage processing data, other nodes in the blockchain network also need to perform different storage operations on the storage processing data according to the node attribute of the local node.
In an optional embodiment of the present invention, the storing the storage processing data according to the node attribute of the local node may include: directly storing the storage processing data according to the whole network node attribute of the local computer; or, according to the light node attribute of the local computer, only the browsing data and the query identification information included in the storage processing data are stored.
Correspondingly, if the node attribute of the local block link point is the node attribute of the whole network, the storage processing data can be directly stored in the local block chain as the first storage processing data, and at this time, the first storage processing data stored by the block link point comprises complete encrypted data, browsing data and query identification information. If the node attribute of the local block chain node is a light node attribute, the encrypted data included in the storage processing data needs to be deleted to form second storage processing data to be stored in the local block chain. At this time, the second storage processing data stored by the block link point includes only the browsing data and the inquiry identification information.
In an optional embodiment of the invention, the block link points comprise built-in smart contracts; the intelligent contracts are used for counting the total storage amount and the total flow amount provided by each block chain node so as to reward the block chain link points according to the total storage amount and the total flow amount.
It should be noted that, in the embodiment of the present invention, the excitation mechanism may be implemented on each node in the cloud platform based on the block chain by using an intelligent contract built in the block chain node. Specifically, the total storage amount and the total flow amount provided by each block link point can be counted through the intelligent contract, so that the block link points are rewarded according to the total storage amount and the total flow amount.
In an optional embodiment of the present invention, any type of device node becomes the block chain node through a cloud platform joining rule; wherein the cloud platform joining rule comprises: the arbitrary type equipment node actively selects the node attribute according to the node performance information of the arbitrary type equipment node, or the arbitrary type equipment node sends the node performance information of the arbitrary type equipment node to any block chain node, so that the block chain node receiving the node performance information appoints the node attribute for the arbitrary type equipment node according to the node performance information.
It should be noted that, in order to enrich the node functions of the cloud platform based on the block chain, in the embodiment of the present invention, optionally, any type of device node may become a block chain link point in the cloud platform based on the block chain through a cloud platform joining rule. By any type of device, including but not limited to a large server, a workstation, or various types of personal terminals, etc. Any device capable of storing data can become a block chain node through a cloud platform joining rule, and the embodiment of the invention does not limit the type of the device node joining the cloud platform. The cloud platform joining rule can be preset and is used for a reference rule when the cloud platform based on the block chain is joined to any type of equipment node. For example, the cloud platform join rule may be: the device nodes with the storage capacity of more than or equal to 500G and the available flow of more than or equal to 10G can become the nodes of the whole network, and the device nodes with the storage capacity of less than 500G and the available flow of less than 10G can become the light nodes.
Accordingly, when a device node requests to join a cloud platform based on a blockchain, the device node may determine its node attribute in the blockchain according to a cloud platform joining rule. Optionally, the device node may receive a cloud platform join rule sent by any node in the block chain, and actively select the node attribute according to the cloud platform join rule and the node performance information of the device node. The node performance information includes, but is not limited to, storage capacity, available traffic, and the like. Illustratively, when a device node requests to join a cloud platform based on a block chain, if the device node actively selects a node attribute, a cloud platform joining rule sent by any node in a block chain network may be received, and a node called a whole network node or a light node may be selected according to the cloud platform joining rule and performance information such as self storage capacity and available traffic. If the node attribute is selected for the equipment node by the block chain node, the equipment node can send performance information such as self storage capacity and available flow to any node in the block chain network, and the block chain node which receives the performance information selects the node attribute for the equipment node according to the self stored cloud platform joining rule and the performance information, and feeds the node attribute back to the equipment node.
In an optional embodiment of the present invention, the query identification information may include: storing the data identification and the client identification, or the query identification information may include: and storing the data identification.
The storage data identifier may be a character string that is formulated for the client according to a set rule and is used for identifying the client and corresponding data to be stored, or the storage data identifier may be only used for identifying the data to be stored. The setting rule may be that letters, numbers, or symbols are arranged according to a rule, for example, the setting rule may be that the first 3-bit character number is used to identify client information, and the last three-bit number is used to identify data information to be stored. The client identifier may be information for uniquely identifying the client, for example, a MAC (Media Access Control) address or an IMEI (International Mobile Equipment Identity) of the client may be used as the client identifier.
In the embodiment of the present invention, optionally, the query identification information may include the storage data identifier and the client identifier, or the query identification information may include only the storage data identifier. When the query identification information includes both the stored data identifier and the client identifier, the client identifier may be used to identify the client, and the stored data identifier may be used only to identify the data to be stored. When the query identification information only comprises the storage data identification, the storage data identification needs to identify the client and the corresponding data information to be stored at the same time so as to realize the corresponding storage of the client and the data to be stored. Illustratively, when the query identification information only includes the storage data identifier, the first 3 bits of information of the storage data identifier are used to identify the client, and the last 3 bits of information are used to identify the data to be stored.
By adopting the technical scheme, the storage processing data transmitted through the block chain network is received and stored according to the node attributes of the local cloud storage, so that the problems of low data security and storage resource waste in the existing cloud storage technology are solved, the decentralized distributed cloud platform is realized through the block chain technology, the data storage security is ensured by the non-falsifiable characteristic of the block chain technology, and the storage utilization rate of the cloud platform is improved.
EXAMPLE III
Fig. 3 is a schematic diagram of a block chain-based cloud storage apparatus according to a third embodiment of the present invention, and as shown in fig. 3, the apparatus is configured at a block chain node, and includes: a first data receiving module 310, a first data generating module 320, a second data generating module 330, and a first data storing module 340, wherein:
a first data receiving module 310, configured to receive data to be stored sent by a client or an auxiliary node, and query identification information corresponding to the data to be stored;
a first data generating module 320, configured to generate browsing data corresponding to the data to be stored, and encrypt the data to be stored to generate encrypted data;
a second data generating module 330, configured to generate storage processing data corresponding to the data to be stored according to the encrypted data, the browsing data, and the query identification information, and transmit the storage processing data in a blockchain network;
the first data storage module 340 is configured to store the storage processing data according to a node attribute of a local node, where the node attribute includes: a full network node attribute or a light node attribute.
The embodiment of the invention generates browsing data corresponding to the data to be stored by receiving the data to be stored sent by a client or an auxiliary node and query identification information corresponding to the data to be stored, and encrypts the data to be stored to generate encrypted data; according to the encrypted data, the browsing data and the query identification information, storage processing data corresponding to the data to be stored are generated, the storage processing data are transmitted in a block chain network, the storage processing data are stored according to the node attributes of the storage processing data, other block chain nodes which receive the storage processing data also need to store the storage processing data according to the node attributes of the storage processing data, the problems of low data security and storage resource waste in the existing cloud storage technology are solved, the non-centralized distributed cloud platform is realized through the block chain technology, the data storage security is guaranteed through the non-tampering characteristic of the block chain technology, and the storage utilization rate of the cloud platform is improved.
Optionally, the first data storage module 340 is specifically configured to directly store the storage processing data as first storage processing data according to the local full-network node attribute; or
And deleting the encrypted data included in the storage processing data according to the light node attribute of the local computer, and storing the encrypted data as second storage processing data.
Optionally, the method is executed by a target block link point in the block chain network, where the target block link point meets a set distance condition with the client;
the target block chain node is determined by an auxiliary node in the block chain network according to a built-in intelligent contract, and the auxiliary node is used for receiving data to be stored and query identification information sent by the client; or
And the target block chain node is determined by a network address obtained by the client through local domain name resolution.
Optionally, any type of device node becomes the block chain node through a cloud platform joining rule;
wherein the cloud platform joining rule comprises: the node attribute is actively selected by the any type of equipment node according to the node performance information of the node, or
And the any type of equipment node sends the node performance information of the any type of equipment node to any block chain node, so that the block chain node receiving the node performance information appoints the node attribute for the any type of equipment node according to the node performance information.
Optionally, the query identification information includes: store data identification and client identification, or
The query identification information includes: and storing the data identification.
Optionally, the intelligent contract is further configured to count a total amount of storage and a total amount of traffic provided by each block link point, so as to reward the block link points according to the total amount of storage and the total amount of traffic.
The cloud storage device based on the block chain can execute the cloud storage method based on the block chain provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technology that are not described in detail in this embodiment, reference may be made to the block chain-based cloud storage method provided in this embodiment of the present invention.
Example four
Fig. 4 is a schematic diagram of a cloud storage device based on a block chain according to a fourth embodiment of the present invention, and as shown in fig. 4, the device is configured at a block chain node, and includes: a second data receiving module 410 and a second data storing module 420, wherein:
a second data receiving module 410, configured to receive storage processing data transmitted through a blockchain network, where the storage processing data includes: the method comprises the steps that encrypted data obtained after data to be stored are encrypted, browsing data corresponding to the data to be stored and query identification information corresponding to the data to be stored; the data to be stored and the corresponding query identification information are uploaded by the client;
a second data storage module 420, configured to store the storage processing data according to a node attribute of the local node, where the node attribute includes: a full network node attribute or a light node attribute.
According to the embodiment of the invention, the storage processing data transmitted through the block chain network is received, and the storage processing data is stored according to the node attribute of the local computer, so that the problems of low data security and waste of storage resources in the existing cloud storage technology are solved, the decentralized distributed cloud platform is realized through the block chain technology, the data storage security is ensured by the non-tampering characteristic of the block chain technology, and the storage utilization rate of the cloud platform is improved.
Optionally, the second data storage module 420 is specifically configured to directly store the storage processing data according to the local full-network node attribute; or
And storing only the browsing data and the query identification information included in the storage processing data according to the light node attribute of the local computer.
Optionally, the block link point comprises a built-in intelligent contract; the intelligent contracts are used for counting the total storage amount and the total flow amount provided by each block chain node so as to reward the block chain link points according to the total storage amount and the total flow amount.
Optionally, any type of device node becomes the block chain node through a cloud platform joining rule;
wherein the cloud platform joining rule comprises: the node attribute is actively selected by the any type of equipment node according to the node performance information of the node, or
And the any type of equipment node sends the node performance information of the any type of equipment node to any block chain node, so that the block chain node receiving the node performance information appoints the node attribute for the any type of equipment node according to the node performance information.
Optionally, the query identification information includes: store data identification and client identification, or
The query identification information includes: and storing the data identification.
The cloud storage device based on the block chain can execute the cloud storage method based on the block chain provided by the second embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For details of the technology that are not described in detail in this embodiment, reference may be made to the block chain-based cloud storage method provided in this embodiment of the present invention.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a computer device according to a fifth embodiment of the present invention. FIG. 5 illustrates a block diagram of a computer device 512 suitable for use in implementing embodiments of the present invention. The computer device 512 shown in FIG. 5 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention. Computer device 512 is typically a computing device that assumes the functionality of a node of the blockchain system.
As shown in FIG. 5, computer device 512 is in the form of a general purpose computing device. Components of computer device 512 may include, but are not limited to: one or more processors 516, a storage device 528, and a bus 518 that couples the various system components including the storage device 528 and the processors 516.
Bus 518 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Computer device 512 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 512 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 528 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 530 and/or cache Memory 532. The computer device 512 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 534 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, and commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 518 through one or more data media interfaces. Storage 528 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 536 having a set (at least one) of program modules 526 may be stored, for example, in storage 528, such program modules 526 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination may include an implementation of a network environment. Program modules 526 generally perform the functions and/or methodologies of the described embodiments of the invention.
Computer device 512 may also communicate with one or more external devices 514 (e.g., keyboard, pointing device, camera, display 524, etc.), with one or more devices that enable a user to interact with computer device 512, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 512 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 522. Further, computer device 512 may also communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the internet) via Network adapter 520. As shown, the network adapter 520 communicates with the other modules of the computer device 512 via the bus 518. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the computer device 512, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 516 executes various functional applications and data processing by running programs stored in the storage device 528, for example, to implement the block chain based cloud storage method provided by the above-described embodiment of the present invention. That is, the processing unit implements, when executing the program: receiving data to be stored sent by a client or an auxiliary node and query identification information corresponding to the data to be stored; generating browsing data corresponding to the data to be stored, and encrypting the data to be stored to generate encrypted data; generating storage processing data corresponding to the data to be stored according to the encrypted data, the browsing data and the query identification information, and transmitting the storage processing data in a block chain network; storing the storage processing data according to the node attribute of the local computer, wherein the node attribute comprises: a full network node attribute or a light node attribute. For example, the cloud storage method based on the block chain provided by the above embodiment of the present invention is implemented. That is, the processing unit implements, when executing the program: receiving storage processing data transmitted through a blockchain network, wherein the storage processing data comprises: the method comprises the steps that encrypted data obtained after data to be stored are encrypted, browsing data corresponding to the data to be stored and query identification information corresponding to the data to be stored; the data to be stored and the corresponding query identification information are uploaded by the client; storing the storage processing data according to the node attribute of the local computer, wherein the node attribute comprises: a full network node attribute or a light node attribute.
EXAMPLE six
An embodiment of the present invention further provides a computer storage medium storing a computer program, where the computer program is used to execute the block chain based cloud storage method according to any one of the above embodiments of the present invention when executed by a computer processor. For example, the computer program is for executing: receiving data to be stored sent by a client or an auxiliary node and query identification information corresponding to the data to be stored; generating browsing data corresponding to the data to be stored, and encrypting the data to be stored to generate encrypted data; generating storage processing data corresponding to the data to be stored according to the encrypted data, the browsing data and the query identification information, and transmitting the storage processing data in a block chain network; storing the storage processing data according to the node attribute of the local computer, wherein the node attribute comprises: a full network node attribute or a light node attribute. For another example, the computer program is for executing: receiving storage processing data transmitted through a blockchain network, wherein the storage processing data comprises: the method comprises the steps that encrypted data obtained after data to be stored are encrypted, browsing data corresponding to the data to be stored and query identification information corresponding to the data to be stored; the data to be stored and the corresponding query identification information are uploaded by the client; storing the storage processing data according to the node attribute of the local computer, wherein the node attribute comprises: a full network node attribute or a light node attribute.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM) or flash Memory), an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (15)

1. A cloud storage method based on a block chain is applied to a block chain node, and is characterized by comprising the following steps:
receiving data to be stored sent by a client or an auxiliary node and query identification information corresponding to the data to be stored; the query identification information corresponds to the data to be stored one by one and is used for carrying out identity identification on the data to be stored;
generating browsing data corresponding to the data to be stored, encrypting the data to be stored, and generating encrypted data corresponding to the data to be stored;
generating storage processing data corresponding to the data to be stored according to the encrypted data, the browsing data and the query identification information, and transmitting the storage processing data in a block chain network, so that other block chain nodes in the block chain network receive the storage processing data and respectively perform storage processing; after the block chain node processes data to be stored to generate browsing data and encrypted data corresponding to the data to be stored, the encrypted data, the browsing data and the query identification information are used as storage processing data;
storing the storage processing data according to the node attribute of the local computer; wherein the node attributes include: a full network node attribute or a light node attribute.
2. The method of claim 1, wherein storing the storage process data according to native node attributes comprises:
according to the attribute of the whole network node of the local computer, directly storing the storage processing data as first storage processing data; or
And deleting the encrypted data included in the storage processing data according to the light node attribute of the local computer, and storing the encrypted data as second storage processing data.
3. The method of claim 1, wherein the method is performed by a target block link point in the blockchain network that meets a set distance condition with the client;
the target block chain node is determined by an auxiliary node in the block chain network according to a built-in intelligent contract, and the auxiliary node is used for receiving data to be stored and query identification information sent by the client; or
And the target block chain node is determined by a network address obtained by the client through local domain name resolution.
4. The method according to any one of claims 1-3, wherein any type of device node becomes the blockchain node through a cloud platform joining rule;
wherein the cloud platform joining rule comprises: the node attribute is actively selected by the any type of equipment node according to the node performance information of the node, or
And the any type of equipment node sends the node performance information of the any type of equipment node to any block chain node, so that the block chain node receiving the node performance information appoints the node attribute for the any type of equipment node according to the node performance information.
5. A method according to any one of claims 1-3, characterized in that:
the query identification information includes: store data identification and client identification, or
The query identification information includes: and storing the data identification.
6. The method of claim 3, wherein the smart contracts are further used for counting the total amount of storage and the total amount of traffic provided by each block link point, so as to reward the block link points according to the total amount of storage and the total amount of traffic.
7. A cloud storage method based on a block chain is applied to other nodes except a target block chain link point in a block chain network, and is characterized by comprising the following steps:
receiving storage processing data transmitted by a target blockchain node through a blockchain network, wherein the storage processing data comprises: the method comprises the steps that encrypted data obtained after data to be stored are encrypted, browsing data corresponding to the data to be stored and query identification information corresponding to the data to be stored; the data to be stored and the corresponding query identification information are uploaded by a client, and the query identification information corresponds to the data to be stored one by one and is used for carrying out identity identification on the data to be stored;
storing the storage processing data according to the node attribute of the local computer; wherein the node attributes include: a full network node attribute or a light node attribute.
8. The method of claim 7, wherein storing the storage process data according to native node attributes comprises:
directly storing the storage processing data according to the whole network node attribute of the local computer; or
And storing only the browsing data and the query identification information included in the storage processing data according to the light node attribute of the local computer.
9. The method of claim 7, wherein the blockchain node comprises a built-in smart contract; the intelligent contracts are used for counting the total storage amount and the total flow amount provided by each block chain node so as to reward the block chain link points according to the total storage amount and the total flow amount.
10. The method according to any one of claims 7-9, wherein any type of device node becomes the blockchain node through a cloud platform joining rule;
wherein the cloud platform joining rule comprises: the node attribute is actively selected by the any type of equipment node according to the node performance information of the node, or
And the any type of equipment node sends the node performance information of the any type of equipment node to any block chain node, so that the block chain node receiving the node performance information appoints the node attribute for the any type of equipment node according to the node performance information.
11. The method of any of claims 7-9, wherein querying the identification information comprises: store data identification and client identification, or
The query identification information includes: and storing the data identification.
12. A cloud storage device based on a block chain, configured at a block chain node, comprising:
the first data receiving module is used for receiving data to be stored sent by a client or an auxiliary node and query identification information corresponding to the data to be stored; the query identification information corresponds to the data to be stored one by one and is used for carrying out identity identification on the data to be stored;
the first data generation module is used for generating browsing data corresponding to the data to be stored, encrypting the data to be stored and generating encrypted data corresponding to the data to be stored;
the second data generation module is used for generating storage processing data corresponding to the data to be stored according to the encrypted data, the browsing data and the query identification information, and transmitting the storage processing data in a block chain network, so that other block chain nodes in the block chain network receive the storage processing data and respectively perform storage processing; after the block chain node processes data to be stored to generate browsing data and encrypted data corresponding to the data to be stored, the encrypted data, the browsing data and the query identification information are used as storage processing data;
the first data storage module is used for storing the storage processing data according to the node attribute of the local computer; wherein the node attributes include: a full network node attribute or a light node attribute.
13. A cloud storage device based on a block chain, configured at other nodes except a target block chain link point in a block chain network, comprising:
a second data receiving module, configured to receive storage processing data transmitted by a target blockchain node through a blockchain network, where the storage processing data includes: the method comprises the steps that encrypted data obtained after data to be stored are encrypted, browsing data corresponding to the data to be stored and query identification information corresponding to the data to be stored; the data to be stored and the corresponding query identification information are uploaded by a client, and the query identification information corresponds to the data to be stored one by one and is used for carrying out identity identification on the data to be stored;
the second data storage module is used for storing the storage processing data according to the node attribute of the local computer; wherein the node attributes include: a full network node attribute or a light node attribute.
14. A computer device, the device comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the blockchain based cloud storage method of any of claims 1-6 or 7-11.
15. A computer storage medium on which a computer program is stored, the program, when executed by a processor, implementing the block chain based cloud storage method according to any of claims 1-6 or 7-11.
CN201811214266.0A 2018-10-18 2018-10-18 Cloud storage method, device, equipment and storage medium based on block chain Active CN109521956B (en)

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 CN109521956A (en) 2019-03-26
CN109521956B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767427B (en) * 2019-04-02 2024-04-05 浙江宇视科技有限公司 Video information storage method and data storage domain
CN111399756B (en) * 2019-09-29 2024-01-02 杭州海康威视系统技术有限公司 Data storage method, data downloading method and device
CN111147494B (en) * 2019-12-27 2022-11-18 杭州趣链科技有限公司 Multi-center access management method and device for block chain light nodes
CN111047313B (en) * 2020-03-12 2020-12-04 支付宝(杭州)信息技术有限公司 Code scanning payment, information sending and key management method, device and equipment
CN111709041B (en) * 2020-06-04 2022-07-22 江苏荣泽信息科技股份有限公司 Data storage and export method based on block chain
CN114697350B (en) * 2020-12-31 2023-06-27 福建凯米网络科技有限公司 Data storage method and storage medium based on blockchain
CN114880397B (en) * 2022-04-28 2024-04-26 中国电信股份有限公司 Decentralised data storage method and device, computer medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8463765B2 (en) * 2011-04-29 2013-06-11 Zachary C. LESAVICH Method and system for creating vertical search engines with cloud computing networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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)

* Cited by examiner, † Cited by third party
Title
区块链技术综述;沈鑫等;《网络与信息安全学报》;20161115;第2卷(第11期);第1-8页 *

Also Published As

Publication number Publication date
CN109521956A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN109522330B (en) Cloud platform data processing method, device, equipment and medium based on block chain
CN109521956B (en) Cloud storage method, device, equipment and storage medium based on block chain
US11303623B2 (en) Authentication mechanism
US11050690B2 (en) Method for providing recording and verification service for data received and transmitted by messenger service, and server using method
US10957326B2 (en) Device identifier dependent operation processing of packet based data communication
US20200304562A1 (en) Instance backed mobile devices
CN109522462B (en) Cloud query method, device, equipment and storage medium based on block chain
US20140325391A1 (en) System and method for updating information in an instant messaging application
US20180047038A1 (en) Leveraging hashtags to dynamically scope a target audience for a social network message
US20170371625A1 (en) Content delivery method
CN102843366A (en) Network resource access permission control method and device
CN104539977A (en) Live broadcast previewing method and device
US10581804B2 (en) End-to-end caching of secure content via trusted elements
US20230216895A1 (en) Network-based media processing (nbmp) workflow management through 5g framework for live uplink streaming (flus) control
CN111814083B (en) Display result generation method, system, device, readable storage medium and equipment
CN110365587B (en) Inter-device communication method, device and storage medium
CN110705985B (en) Method and apparatus for storing information
US20230388120A1 (en) Client-Side Device Bloom Filter Mapping
CN112016280B (en) File editing method and device and computer readable medium
CN110781523B (en) Method and apparatus for processing information
CN109462868B (en) Method and equipment for inquiring target information by wireless access point
CN111752625A (en) Method and device for interface mock
CN112149019A (en) Method, apparatus, electronic device, and computer-readable medium for displaying information
US11201856B2 (en) Message security
CN110351222B (en) Data security processing method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant