CN114244856B - Block chain-based network storage method, device and system and operator platform - Google Patents

Block chain-based network storage method, device and system and operator platform Download PDF

Info

Publication number
CN114244856B
CN114244856B CN202010942605.8A CN202010942605A CN114244856B CN 114244856 B CN114244856 B CN 114244856B CN 202010942605 A CN202010942605 A CN 202010942605A CN 114244856 B CN114244856 B CN 114244856B
Authority
CN
China
Prior art keywords
block
user terminals
blocks
downloading
download
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
CN202010942605.8A
Other languages
Chinese (zh)
Other versions
CN114244856A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010942605.8A priority Critical patent/CN114244856B/en
Publication of CN114244856A publication Critical patent/CN114244856A/en
Application granted granted Critical
Publication of CN114244856B publication Critical patent/CN114244856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure provides a network storage method, device and system based on a blockchain, an operator platform, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring routing information of a plurality of first user terminals which are screened by an operator platform and meet preset requirements; packaging data to be stored into a plurality of blocks, encrypting each block based on the routing information, and uploading each block to a storage space provided by each of the plurality of first user terminals for storage; and downloading each block from the plurality of first user terminals one by one based on the routing information, decrypting after all the blocks are downloaded, and splicing the decrypted blocks in sequence. According to the embodiment of the disclosure, the data to be stored is stored on some user terminals in an encrypted mode by adopting the blockchain technology, when the stored data needs to be downloaded, the stored data can be directly downloaded from the user terminals, and compared with the existing scheme of storing the data by using a large-scale data center, the cost is lower.

Description

Block chain-based network storage method, device and system and operator platform
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a network storage method based on a blockchain, a network storage device based on a blockchain, an operator platform, a network storage system based on a blockchain, a computer device, and a computer readable storage medium.
Background
Currently, network storage services mainly use hundred-degree clouds and ali clouds, and all use a large data center to store data. Specifically, the server room divides a certain disk space for users, provides functions of file management such as storage, access, backup, sharing and the like of files for the users free or at a charge, and has advanced disaster recovery backup all over the world.
However, existing network storage services require maintenance of large data centers at a relatively high cost. Therefore, it is a problem to be solved at present to propose a network storage scheme capable of reducing cost.
Disclosure of Invention
The present disclosure has been made in order to at least partially solve the technical problems occurring in the prior art.
According to an aspect of the disclosed embodiments, there is provided a blockchain-based network storage method applied to a second user terminal, the method including:
acquiring route information of a plurality of first user terminals which are screened by an operator platform and meet preset requirements, wherein the first user terminals are terminals for providing storage space;
Packaging data to be stored into a plurality of blocks, encrypting each block based on the routing information, and uploading each block to a storage space provided by each of the plurality of first user terminals for storage; and
And downloading each block from the first user terminals one by one based on the routing information, decrypting after all the blocks are downloaded, and splicing the decrypted blocks in sequence.
According to another aspect of the embodiments of the present disclosure, there is provided a blockchain-based network storage method applied to an operator platform, the method including:
screening a plurality of first user terminals meeting preset requirements, wherein the first user terminals are terminals providing storage space;
acquiring the route information of the plurality of first user terminals; and
The routing information of the plurality of first user terminals is sent to a second user terminal, so that the second user terminal packages data to be stored into a plurality of blocks, encrypts each block based on the routing information and then uploads each block to a storage space provided by each of the plurality of first user terminals for storage; and downloading each block from the plurality of first user terminals one by one based on the routing information, decrypting after all the blocks are downloaded, and splicing the decrypted blocks in sequence.
According to yet another aspect of an embodiment of the present disclosure, there is provided a blockchain-based network storage device, including:
The first acquisition module is used for acquiring route information of a plurality of first user terminals which are screened by the operator platform and meet preset requirements, wherein the first user terminals are terminals for providing storage space;
The uploading module is used for packaging data to be stored into a plurality of blocks, encrypting each block based on the routing information and uploading the encrypted block to the storage space provided by each of the plurality of first user terminals for storage; and
And the downloading module is used for downloading each block from the plurality of first user terminals one by one based on the routing information, decrypting after all the blocks are downloaded, and splicing the decrypted blocks in sequence.
According to yet another aspect of the embodiments of the present disclosure, there is provided an operator platform, comprising:
the screening module is used for screening out a plurality of first user terminals meeting preset requirements, wherein the first user terminals are terminals providing storage space;
the second acquisition module is used for acquiring the route information of the plurality of first user terminals; and
The sending module is configured to send the routing information of the plurality of first user terminals to a second user terminal, so that the second user terminal packages data to be stored into a plurality of blocks, encrypts each block based on the routing information and then uploads each block to a storage space provided by each of the plurality of first user terminals for storage; and downloading each block from the plurality of first user terminals one by one based on the routing information, decrypting after all the blocks are downloaded, and splicing the decrypted blocks in sequence.
According to yet another aspect of an embodiment of the present disclosure, there is provided a blockchain-based network storage system including: an operator platform, a first user terminal, and a second user terminal, wherein,
The operator platform is configured to screen out a plurality of first user terminals meeting preset requirements, obtain routing information of the plurality of first user terminals and send the routing information to the second user terminal, wherein the first user terminals are terminals providing storage space;
The second user terminal is configured to package the data to be stored into a plurality of blocks, encrypt each block based on the routing information, upload each block to a storage space provided by each of the plurality of first user terminals for storage, download each block from each of the plurality of first user terminals based on the routing information, decrypt each block after all the blocks are downloaded, and splice each decrypted block in sequence.
According to yet another aspect of embodiments of the present disclosure, there is provided a computer device including a memory and a processor, the memory having stored therein a computer program, which when executed by the processor performs the aforementioned blockchain-based network storage method.
According to yet another aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the aforementioned blockchain-based network storage method.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
according to the network storage method based on the blockchain, firstly, the routing information of a plurality of user terminals meeting the conditions is acquired from the operator platform, then the data to be stored are stored on the user terminals in an encrypted mode through the blockchain technology, when the stored data need to be downloaded, the stored data can be directly downloaded from the user terminals, and therefore safe network storage is achieved, and compared with the existing scheme of storing the data by using a large-scale data center, the cost is low.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the disclosure. The objectives and other advantages of the disclosure will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosed embodiments and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain, without limitation, the disclosed embodiments.
Fig. 1 is a schematic flow chart of a network storage method based on a blockchain according to an embodiment of the disclosure;
FIG. 2 is a flowchart of another block chain based network storage method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a block chain based network storage device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an operator platform according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a block chain based network storage system according to an embodiment of the present disclosure;
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the following detailed description of the specific embodiments of the present disclosure will be given with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order; moreover, embodiments of the present disclosure and features of embodiments may be arbitrarily combined with each other without conflict.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present disclosure, and are not of specific significance per se. Thus, "module," "component," or "unit" may be used in combination.
Fig. 1 is a flowchart of a network storage method based on a blockchain according to an embodiment of the disclosure. The method is applied to a second user terminal, as shown in fig. 1, and comprises the following steps S101 to S103.
S101, acquiring route information of a plurality of first user terminals which are screened by an operator platform and meet preset requirements, wherein the first user terminals are terminals for providing storage space;
S102, packaging data to be stored into a plurality of blocks, encrypting each block based on the routing information, and uploading each block to a storage space provided by each of the plurality of first user terminals for storage;
S103, downloading each block from the first user terminals one by one based on the routing information, decrypting after all the blocks are downloaded, and splicing the decrypted blocks in sequence, so that the data stored before are obtained.
The terminal may be a smart phone. The first user may be referred to as a storage user, i.e. a user providing his terminal storage space; the second user may be referred to as a network disk user, i.e. a user who wishes to store his own data in a "storage user" terminal. Moreover, the first user terminal and the second user terminal are nodes in a blockchain.
In a specific embodiment, in step S101, the plurality of first user terminals meeting the preset requirements are specifically:
and the first user terminals are not powered off and voluntarily provide storage space within a preset period.
In the embodiment of the disclosure, the period of non-shutdown may be dynamically adjusted according to the traffic volume stored in the network, for example, "non-shutdown in one week", "non-shutdown in one month", or "non-shutdown from 8 early to 8 late", etc.
Furthermore, a first user (storage user) may set an upper limit of storage space reserved for network storage on its terminal, e.g. the upper limit of storage space may be set to 1G, i.e. the user indicates that at most 1G of storage space within the terminal is provided for a second user (i.e. a network disk user) to store data.
In step S102, the second ue may sequentially package the data to be stored into a plurality of blocks, and for each block, encrypt the data and upload the encrypted data to N first ues, where N may be adjusted according to the service requirement; and the first user terminal stores the blocks sent by the second user terminal in the storage space appointed by the first user terminal after receiving the blocks.
For example, the second ue packages the data to be stored into 10 blocks, encrypts the 10 blocks respectively, and then uploads each encrypted block to 5 first ues, which is equivalent to storing the 10 blocks in each of the 5 first ues.
In a specific embodiment, each block is downloaded from the plurality of first user terminals in step S103 one by one, including the following steps S1031 to S1033.
S1031, selecting one terminal from the plurality of first user terminals and downloading a first block from the terminal;
S1032, judging whether the first block fails to download or whether the download rate of the first block is lower than a preset threshold, if the first block fails to download or the download rate of the first block is lower than the preset threshold, selecting another terminal from the plurality of first user terminals to download the first block until the first block is downloaded;
s1033, downloading the rest blocks according to the steps S1031 and S1032 until all blocks are downloaded.
The preset threshold may be set by those skilled in the art according to actual situations. The terminal selection manner from the plurality of first user terminals may be random selection, or may be selected according to a preset priority order.
In the embodiment of the present disclosure, the downloading manner for a single block is: and selecting one terminal from the N first user terminals to download, switching to the next terminal to download if the downloading fails or the downloading rate is lower than a preset threshold, and continuing to switch to the next terminal to download if the downloading fails or the downloading rate is lower than the preset threshold until the downloading is completed.
In a specific embodiment, when a block is downloaded in step S103, the method further includes the following step S1034:
S1034 if the rate of downloading the block from each of the plurality of first user terminals is lower than a preset threshold value, selecting the terminal with the largest downloading rate from the plurality of first user terminals to download the block.
When downloading a block, if the downloading speeds of the N first user terminals are lower than a preset threshold value, selecting a terminal with the largest downloading speed from the N first user terminals to download the block.
According to the network storage method based on the blockchain, firstly, the routing information of a plurality of user terminals meeting the conditions is acquired from the operator platform, then the data to be stored are stored on the user terminals in an encrypted mode through the blockchain technology, when the stored data need to be downloaded, the stored data can be directly downloaded from the user terminals, and therefore safe network storage is achieved, and compared with the existing scheme of storing the data by using a large-scale data center, the cost is low.
Fig. 2 is a flowchart of another network storage method based on blockchain according to an embodiment of the disclosure. The method is applied to an operator platform, as shown in fig. 2, and comprises the following steps S201 to S203.
S201, screening out a plurality of first user terminals meeting preset requirements, wherein the first user terminals are terminals providing storage space;
s202, obtaining the route information of the plurality of first user terminals;
S203, sending the route information of the plurality of first user terminals to a second user terminal so that the second user terminal packages data to be stored into a plurality of blocks, and respectively encrypting each block based on the route information and then uploading each block to a storage space provided by each of the plurality of first user terminals for storage; and downloading each block from the plurality of first user terminals one by one based on the routing information, decrypting after all the blocks are downloaded, and splicing the decrypted blocks in sequence to obtain the data stored before.
The terminal may be a smart phone. The first user may be referred to as a storage user, i.e. a user providing his terminal storage space; the second user may be referred to as a network disk user, i.e. a user who wishes to store his own data in a "storage user" terminal. Moreover, the first user terminal and the second user terminal are nodes in a blockchain.
In one specific embodiment, step S201 specifically includes:
And screening terminals of a plurality of users which are not powered off and voluntarily provide storage space within a preset period of time as first user terminals.
In the embodiment of the disclosure, when screening the user who does not shut down in the preset period, the network operator can directly screen the user on-off data, and the period of not shutting down can be dynamically adjusted according to the traffic volume stored in the network, for example, "not shutting down in a week", "not shutting down in a month", or "not shutting down in 8 points from 8 points in the morning to 8 points in the evening", etc. After screening out the users who do not turn off in the preset period, the user terminal which is selected as the storage user voluntarily only needs to be used as the first user terminal.
Furthermore, a first user (storage user) may set an upper limit of storage space reserved for network storage on its terminal, e.g. the upper limit of storage space may be set to 1G, i.e. the user indicates that at most 1G of storage space within the terminal is provided for a second user (i.e. a network disk user) to store data.
In a specific embodiment, the method further includes the following step S204:
s204, setting a network of a first user (storage user), wherein the network comprises setting data traffic and network speed of uploading/downloading without expense every month.
In a specific embodiment, the method further comprises the following step S205:
S205, setting a network of a second user (network disk user), wherein the setting of data traffic and network speed of the monthly fee-free uploading/downloading is performed.
In the embodiment of the disclosure, the first user terminal and the second user terminal are respectively used as nodes to construct the blockchain, and by setting the network of the first user/the second user, in particular setting the data flow and the network speed of the first user/the second user which are free from uploading/downloading monthly, the function of encouraging more users to join the blockchain can be played, and the more the nodes in the blockchain are, the more the total amount of available storage space is, and the larger the network storage traffic is.
According to the network storage method based on the blockchain, the operator platform screens out a plurality of first user terminals meeting the conditions, and then obtains the route information of the first user terminals and sends the route information to the second user terminal, so that the second user terminal can encrypt and store the data to be stored on the first user terminals by adopting the blockchain technology, when the stored data needs to be downloaded, the stored data can be directly downloaded from the first user terminals, and therefore safe network storage is achieved.
Fig. 3 is a schematic structural diagram of a network storage device based on a blockchain according to an embodiment of the disclosure. As shown in fig. 3, the apparatus 3 (i.e., the aforementioned second user terminal) includes: a first acquisition module 31, an upload module 32 and a download module 33.
The first obtaining module 31 is configured to obtain route information of a plurality of first user terminals screened by the operator platform and meeting a preset requirement, where the first user terminals are terminals that provide a storage space; the uploading module 32 is configured to package the data to be stored into a plurality of blocks, encrypt each block based on the routing information, and upload each block to the storage space provided by each of the plurality of first user terminals for storage; the downloading module 33 is configured to download each block from the plurality of first user terminals one by one based on the routing information, decrypt all the blocks after the downloading is completed, and splice the decrypted blocks in sequence.
In a specific embodiment, the plurality of first user terminals meeting the preset requirements acquired by the first acquiring module 31 are specifically:
and the first user terminals are not powered off and voluntarily provide storage space within a preset period.
In one embodiment, the download module 33 includes: the device comprises a selection unit, a downloading unit and a judging unit.
Wherein the selection unit is arranged to select one terminal from the plurality of first user terminals; the downloading unit is arranged to download the first block from the terminal selected by the selecting unit; the judging unit is configured to judge whether the first block fails to download or whether the download rate of the first block is lower than a preset threshold; the selecting unit is further configured to select another terminal from the plurality of first user terminals when the judging unit judges that the first block fails to download or the download rate of the first block is lower than a preset threshold; the downloading unit is further configured to download the first block from the other terminal selected by the selecting unit until the downloading of the first block is completed;
the selecting unit, the judging unit and the downloading unit complete the downloading of the rest blocks according to the operation until all the blocks are downloaded.
In a specific embodiment, the selecting unit is further configured to, when the downloading unit downloads a block, select, from the plurality of first user terminals, a terminal with a largest download rate if the judging unit determines that the rate of downloading the block from each of the plurality of first user terminals is lower than a preset threshold; the download unit is further configured to download the block from the terminal with the largest download rate selected by the selection unit.
According to the network storage device based on the blockchain, the routing information of a plurality of user terminals meeting the conditions is firstly obtained from the operator platform, then the data to be stored are stored on the user terminals in an encrypted mode through the blockchain technology, when the stored data need to be downloaded, the stored data can be directly downloaded from the user terminals, and therefore safe network storage is achieved, and compared with the existing scheme of storing the data by using a large-scale data center, the cost is lower.
Fig. 4 is a schematic structural diagram of an operator platform according to an embodiment of the present disclosure. As shown in fig. 4, the operator platform 4 includes: a screening module 41, a second acquisition module 42 and a sending module 43.
The screening module 41 is configured to screen a plurality of first user terminals that meet a preset requirement, where the first user terminals are terminals that provide a storage space; the second obtaining module 42 is configured to obtain routing information of the plurality of first user terminals; the sending module 43 is configured to send the routing information of the plurality of first user terminals to a second user terminal, so that the second user terminal packages the data to be stored into a plurality of blocks, encrypts each block based on the routing information, and uploads each block to a storage space provided by each of the plurality of first user terminals for storage; and downloading each block from the plurality of first user terminals one by one based on the routing information, decrypting after all the blocks are downloaded, and splicing the decrypted blocks in sequence.
In one embodiment, the screening module 41 is specifically configured to screen, as the first user terminal, terminals of several users who do not shut down and voluntarily provide the storage space within a preset period.
In a specific embodiment, the operator platform 4 further comprises: a first setting module 44.
The first setting module 44 is configured to set up the network of the first user, including setting up monthly no-load/download data traffic and network speed.
In a specific embodiment, the operator platform 4 further comprises: a second setting module 45.
The second setting module 45 is configured to set the network of the second user, including setting the monthly free upload/download data traffic and the network speed.
In the embodiment of the present disclosure, only the first setting module 44, only the second setting module 45, or both the first setting module 44 and the second setting module 45 may be employed. Also, the first setting module 44 and the second setting module 45 may be the same hardware device.
The operator platform provided by the embodiment of the disclosure screens out a plurality of first user terminals meeting the conditions, acquires the routing information of the first user terminals and sends the routing information to the second user terminal, so that the second user terminal can encrypt and store the data to be stored on the first user terminals by adopting a blockchain technology, and can directly download the stored data from the first user terminals when the stored data is required to be downloaded, thereby realizing safe network storage.
Fig. 5 is a schematic structural diagram of a network storage system based on blockchain according to an embodiment of the present disclosure. As shown in fig. 5, the system includes: an operator platform 4, a first user terminal 2 and a second user terminal 3.
The operator platform 4 is configured to screen out a plurality of first user terminals 2 meeting a preset requirement, obtain routing information of the plurality of first user terminals 2, and send the routing information to the second user terminal 3, where the first user terminals 2 are terminals that provide a storage space;
The second ue 3 is configured to package the data to be stored into a plurality of blocks, encrypt each block based on the routing information, upload each block to the storage space provided by each of the plurality of first ues 2 for storage, download each block from the plurality of first ues 2 based on the routing information one by one, decrypt each block after all the blocks are downloaded, and splice each decrypted block sequentially.
Since the second user terminal 3 and the operator platform 4 have been described in detail in the foregoing, reference is made to the foregoing embodiments for relevant features, and details are not repeated here.
The network storage system based on the blockchain provided by the embodiment of the disclosure, an operator platform screens out a plurality of first user terminals meeting the conditions, and then obtains the route information of the first user terminals and sends the route information to a second user terminal; the second user terminal encrypts and stores the data to be stored on the first user terminals by adopting a blockchain technology, and when the stored data needs to be downloaded, the stored data can be directly downloaded from the first user terminals, so that the safe network storage is realized, and compared with the existing scheme for storing the data by utilizing a large-scale data center, the cost is lower.
Based on the same technical concept, the embodiments of the present disclosure correspondingly further provide a computer device, as shown in fig. 6, where the computer device 6 includes a memory 61 and a processor 62, where the memory 61 stores a computer program, and when the processor 62 runs the computer program stored in the memory 61, the processor 62 executes the aforementioned blockchain-based network storage method.
Based on the same technical concept, the embodiments of the present disclosure correspondingly further provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor, performs the aforementioned blockchain-based network storage method.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present disclosure, and not for limiting the same; although the present disclosure has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present disclosure.

Claims (11)

1. A blockchain-based network storage method, applied to a second user terminal, the method comprising:
acquiring route information of a plurality of first user terminals which are screened by an operator platform and meet preset requirements, wherein the first user terminals are terminals for providing storage space;
Packaging data to be stored into a plurality of blocks, encrypting each block based on the routing information, and uploading the encrypted blocks to storage spaces provided by all first user terminals screened by an operator platform for storage, so that all the blocks formed by packaging the data to be stored are stored in each first user terminal; and
Downloading each block from the first user terminals one by one based on the routing information, decrypting after all the blocks are downloaded, and splicing the decrypted blocks in sequence;
The downloading each block from the plurality of first user terminals one by one comprises:
Selecting one terminal from the plurality of first user terminals according to a preset priority order and downloading a first block from the terminal;
Judging whether the first block fails to download or whether the download rate of the first block is lower than a preset threshold, if the first block fails to download or the download rate of the first block is lower than the preset threshold, selecting another terminal from the plurality of first user terminals to download the first block according to a preset priority order until the first block is downloaded; and
And downloading the rest blocks according to the previous two steps until all the blocks are downloaded.
2. The method according to claim 1, wherein the plurality of first user terminals meeting preset requirements specifically are:
and the first user terminals are not powered off and voluntarily provide storage space within a preset period.
3. The method as recited in claim 1, further comprising:
when downloading a block, if the speed of downloading the block from each of the plurality of first user terminals is lower than a preset threshold value, selecting the terminal with the largest downloading speed from the plurality of first user terminals to download the block.
4. A blockchain-based network storage method, applied to an operator platform, the method comprising:
screening a plurality of first user terminals meeting preset requirements, wherein the first user terminals are terminals providing storage space;
acquiring the route information of the plurality of first user terminals; and
The routing information of the plurality of first user terminals is sent to a second user terminal, so that the second user terminal packages data to be stored into a plurality of blocks, each block is encrypted based on the routing information and then uploaded to a storage space provided by each first user terminal screened by an operator platform for storage, and all the blocks packaged by the data to be stored are stored in each first user terminal; and selecting one terminal from the plurality of first user terminals according to a preset priority order based on the routing information, downloading a first block from the plurality of first user terminals, judging whether the first block is failed to download or whether the downloading rate of the first block is lower than a preset threshold, if the first block is failed to download or the downloading rate of the first block is lower than the preset threshold, selecting another terminal from the plurality of first user terminals according to the preset priority order to download the first block until the first block is downloaded, downloading other blocks according to the same mode until all blocks are downloaded, decrypting after all the blocks are downloaded, and splicing all decrypted blocks in sequence.
5. The method of claim 4, wherein the screening the plurality of first user terminals meeting the preset requirements comprises:
And screening terminals of a plurality of users which are not powered off and voluntarily provide storage space within a preset period of time as first user terminals.
6. The method as recited in claim 4, further comprising:
Setting data flow and network speed of the first user which are free from uploading/downloading monthly;
And/or the number of the groups of groups,
And setting the data flow and the network speed of the second user which are free from uploading/downloading monthly.
7. A blockchain-based network storage device, comprising:
The first acquisition module is used for acquiring route information of a plurality of first user terminals which are screened by the operator platform and meet preset requirements, wherein the first user terminals are terminals for providing storage space;
the uploading module is used for packaging data to be stored into a plurality of blocks, encrypting each block based on the routing information and uploading the encrypted block to a storage space provided by each first user terminal screened by an operator platform for storage, so that all the blocks formed by packaging the data to be stored are stored in each first user terminal; and
The downloading module is used for downloading each block from the first user terminals one by one based on the routing information, decrypting after all the blocks are downloaded, and splicing the decrypted blocks in sequence;
The download module comprises:
a selecting unit configured to select one terminal from the plurality of first user terminals in a preset priority order;
a download unit configured to download the first block from the terminal selected by the selection unit;
A judging unit configured to judge whether the first block fails to download or whether the download rate of the first block is lower than a preset threshold;
The selecting unit is further configured to select another terminal from the plurality of first user terminals according to a preset priority order when the judging unit judges that the first block fails to download or the download rate of the first block is lower than a preset threshold;
The downloading unit is further configured to download the first block from the other terminal selected by the selecting unit until the downloading of the first block is completed;
the selecting unit, the judging unit and the downloading unit complete the downloading of the rest blocks according to the operation until all the blocks are downloaded.
8. An operator platform, comprising:
the screening module is used for screening out a plurality of first user terminals meeting preset requirements, wherein the first user terminals are terminals providing storage space;
the second acquisition module is used for acquiring the route information of the plurality of first user terminals; and
The sending module is configured to send the routing information of the plurality of first user terminals to a second user terminal, so that the second user terminal packages the data to be stored into a plurality of blocks, encrypts each block based on the routing information and uploads the encrypted block to a storage space provided by each first user terminal screened by an operator platform for storage, so that all the blocks packaged by the data to be stored are stored in each first user terminal; and selecting one terminal from the plurality of first user terminals according to a preset priority order based on the routing information, downloading a first block from the plurality of first user terminals, judging whether the first block is failed to download or whether the downloading rate of the first block is lower than a preset threshold, if the first block is failed to download or the downloading rate of the first block is lower than the preset threshold, selecting another terminal from the plurality of first user terminals according to the preset priority order to download the first block until the first block is downloaded, downloading other blocks according to the same mode until all blocks are downloaded, decrypting after all the blocks are downloaded, and splicing all decrypted blocks in sequence.
9. A blockchain-based network storage system, comprising: an operator platform, a first user terminal, and a second user terminal, wherein,
The operator platform is configured to screen out a plurality of first user terminals meeting preset requirements, obtain routing information of the plurality of first user terminals and send the routing information to the second user terminal, wherein the first user terminals are terminals providing storage space;
The second user terminal is configured to package the data to be stored into a plurality of blocks, upload each block to a storage space provided by each first user terminal screened by the operator platform after encrypting based on the routing information, so that each first user terminal stores all the blocks packaged by the data to be stored, select one terminal from the plurality of first user terminals according to a preset priority order based on the routing information and download the first block from the plurality of first user terminals, judge whether the first block fails to download or the download rate of the first block is lower than a preset threshold, if the first block fails to download or the download rate of the first block is lower than the preset threshold, download the first block from the plurality of first user terminals according to the preset priority order until the first block is downloaded, select other blocks according to the same mode until all the blocks are downloaded, decrypt all the blocks after the downloading of all the blocks is completed, and splice the blocks according to the decryption order.
10. A computer device comprising a memory and a processor, the memory having a computer program stored therein, the processor performing the blockchain-based network storage method of any of claims 1-6 when the processor runs the computer program stored in the memory.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, performs the blockchain-based network storage method according to any of claims 1 to 6.
CN202010942605.8A 2020-09-09 2020-09-09 Block chain-based network storage method, device and system and operator platform Active CN114244856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010942605.8A CN114244856B (en) 2020-09-09 2020-09-09 Block chain-based network storage method, device and system and operator platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010942605.8A CN114244856B (en) 2020-09-09 2020-09-09 Block chain-based network storage method, device and system and operator platform

Publications (2)

Publication Number Publication Date
CN114244856A CN114244856A (en) 2022-03-25
CN114244856B true CN114244856B (en) 2024-05-10

Family

ID=80742715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010942605.8A Active CN114244856B (en) 2020-09-09 2020-09-09 Block chain-based network storage method, device and system and operator platform

Country Status (1)

Country Link
CN (1) CN114244856B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534317A (en) * 2016-11-17 2017-03-22 杭州云象网络技术有限公司 Disaster recovery cloud storage system construction method based on block chain technology
WO2018157858A1 (en) * 2017-03-03 2018-09-07 腾讯科技(深圳)有限公司 Information storage method, device, and computer-readable storage medium
CN110012108A (en) * 2019-04-15 2019-07-12 深圳市网心科技有限公司 Data copy storage method, method for down loading, cloud storage system and relevant apparatus
CN110099114A (en) * 2019-04-30 2019-08-06 普华云创科技(北京)有限公司 Block chain and the file memory method of IPFS agreement, system, terminal and storage medium
CN110300170A (en) * 2019-06-28 2019-10-01 杭州复杂美科技有限公司 Block chain distributed storage method for down loading, equipment and storage medium
CN111104386A (en) * 2019-11-04 2020-05-05 北京海益同展信息科技有限公司 File storage method, terminal and storage medium
CN111198862A (en) * 2018-11-19 2020-05-26 中移(杭州)信息技术有限公司 File storage method and device based on block chain, terminal equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10325107B2 (en) * 2015-09-23 2019-06-18 Salesforce.Com, Inc. Systems and methods for securing data using encryption

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534317A (en) * 2016-11-17 2017-03-22 杭州云象网络技术有限公司 Disaster recovery cloud storage system construction method based on block chain technology
WO2018157858A1 (en) * 2017-03-03 2018-09-07 腾讯科技(深圳)有限公司 Information storage method, device, and computer-readable storage medium
CN111198862A (en) * 2018-11-19 2020-05-26 中移(杭州)信息技术有限公司 File storage method and device based on block chain, terminal equipment and medium
CN110012108A (en) * 2019-04-15 2019-07-12 深圳市网心科技有限公司 Data copy storage method, method for down loading, cloud storage system and relevant apparatus
CN110099114A (en) * 2019-04-30 2019-08-06 普华云创科技(北京)有限公司 Block chain and the file memory method of IPFS agreement, system, terminal and storage medium
CN110300170A (en) * 2019-06-28 2019-10-01 杭州复杂美科技有限公司 Block chain distributed storage method for down loading, equipment and storage medium
CN111104386A (en) * 2019-11-04 2020-05-05 北京海益同展信息科技有限公司 File storage method, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于云存储实现商业秘密的保护;贾大智;黄玉飞;邵卫军;陈晓武;;信息安全与技术(第09期);全文 *

Also Published As

Publication number Publication date
CN114244856A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
US10177993B2 (en) Event-based data transfer scheduling using elastic network optimization criteria
CN110896355B (en) Network slice selection method and device
CN108268211B (en) Data processing method and device
CN107395659A (en) A kind of method and device of service handling and common recognition
CN104104971A (en) Video file processing method and system
CN110740188B (en) Mirror image file uploading method, device, equipment and computer readable storage medium
CN103685373A (en) Data uploading device and data uploading method
CN110213620B (en) Bandwidth allocation method and device
CN103780707B (en) A kind of method and device of data transfer
CN111163130A (en) Network service system and data transmission method thereof
CN109982034B (en) Access request processing method and device in video monitoring system
CN110753005A (en) Speed limiting method, device and system, electronic equipment and computer readable storage medium
EP3657429A1 (en) Api billing system, api billing management method, and api billing program
CN103685426A (en) An information processing method and an information processing apparatus used for an electronic device
CN110515728B (en) Server scheduling method and device, electronic equipment and machine-readable storage medium
CN109614345B (en) Memory management method and device for communication between protocol layers
CN114244856B (en) Block chain-based network storage method, device and system and operator platform
CN105577734A (en) Information backup method, device, server and terminal
CN104580359A (en) Method for encrypting, storing, backuping and downloading file segments in router with storage function
WO2021014267A1 (en) Cognitively controlling data delivery
CN115378878B (en) CDN scheduling method, device, equipment and storage medium
US11595471B1 (en) Method and system for electing a master in a cloud based distributed system using a serverless framework
US11973687B2 (en) Multilayer decentralized server network
CN112616143B (en) Method and device for distributing communication numbers, electronic equipment and storage medium
CN103607347A (en) A method and a controller for establishing a transmission channel

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