Data storage method and system based on block chain technology

文档序号:1627678 发布日期:2020-01-14 浏览:6次 中文

阅读说明:本技术 一种基于区块链技术的数据存储方法及系统 (Data storage method and system based on block chain technology ) 是由 梁伟 于 2018-07-06 设计创作,主要内容包括:本申请提供一种数据存储系统,所述系统包括:多个数据存储设备,且多个传输设备之间彼此相连;一个或多个智能终端设备;互联网设备,智能终端设备与数据存储设备之间通过互联网设备相连接。本申请还提供一种数据存储方法,所述方法包括:上传数据信息;对所述数据信息进行共识验证;对通过共识验证的数据信息进行加密;存储加密后的数据信息;分发加密后的数据信息。该系统基于区块链技术,去除中心服务器,有效降低运营成。(The present application provides a data storage system, the system comprising: a plurality of data storage devices, and a plurality of transmission devices are connected with each other; one or more intelligent terminal devices; the intelligent terminal device is connected with the data storage device through the internet device. The application also provides a data storage method, which comprises the following steps: uploading data information; performing consensus verification on the data information; encrypting the data information passing the consensus verification; storing the encrypted data information; and distributing the encrypted data information. The system is based on the block chain technology, a central server is removed, and the operation cost is effectively reduced.)

1. A method of data storage, the method comprising:

uploading data information;

performing consensus verification on the data information;

encrypting the data information passing the consensus verification;

storing the encrypted data information;

and distributing the encrypted data information.

2. The method of claim 1, further comprising:

sending a request for downloading data information;

after receiving the application, acquiring the data information, and comparing and verifying the data information with the data information stored by the data information;

and sending the data information after the comparison result is consistent.

3. The method according to claim 1, wherein the intelligent terminal device performs data transmission with the data storage device through an internet device.

4. A data storage system, the system comprising:

a plurality of data storage devices, and a plurality of transmission devices are connected with each other;

one or more intelligent terminal devices;

the intelligent terminal device is connected with the data storage device through the internet device.

5. The system of claim 1, wherein the plurality of data storage devices communicate data information to each other.

6. The system of claim 1, wherein the data storage device comprises a consensus device, an encryption device, a storage device, and a distribution device.

7. The system of claim 1, wherein the data storage device comprises an authentication device, a transmission device.

8. The system of claim 1, wherein the intelligent terminal device performs data transmission with the data storage device through an internet device.

Technical Field

The present application relates to the field of data storage technologies, and in particular, to a data storage method and system based on a block chain technology.

Background

With the development of science and technology, the storage requirement of mass information is getting larger and larger, and the storage is generally performed on a network cloud disk, that is, on a large-scale server provided by a network cloud disk service provider. And the large-scale server has large investment amount, complex management and high operation and maintenance cost.

Disclosure of Invention

In view of the above, the present application provides a data storage method, including: uploading data information; performing consensus verification on the data information; encrypting the data information passing the consensus verification; storing the encrypted data information; and distributing the encrypted data information.

Further, the method further comprises: sending a request for downloading data information; after receiving the application, acquiring the data information, and comparing and verifying the data information with the data information stored by the data information; and sending the data information after the comparison result is consistent.

Furthermore, the intelligent terminal device performs data transmission with the data storage device through the internet device.

The present application provides a data storage system based on a block chain technique, the system including: a plurality of data storage devices, and a plurality of transmission devices are connected with each other; one or more intelligent terminal devices; the intelligent terminal device is connected with the data storage device through the internet device.

Further, the data storage devices communicate data information with each other.

Further, the data storage device comprises a consensus device, an encryption device, a storage device, a profit device and a distribution device.

Further, the data storage device comprises a verification device and a transmission device.

Furthermore, the intelligent terminal device performs data transmission with the data storage device through the internet device.

According to the technical scheme, the data can be stored in a distributed storage mode by utilizing common data storage equipment, namely a common computer or a small server, a large amount of data information can be stored due to the fact that the number of the data storage equipment is large, the prices of the common computer and the small server are relatively low, and cost can be effectively saved.

Drawings

FIG. 1 is a diagram of an exemplary network architecture provided herein;

FIG. 2 is a flowchart illustrating an intelligent terminal device uploading data information to a data storage device;

fig. 3 is a flowchart illustrating the process of downloading data information from the intelligent terminal to the data storage device.

Detailed Description

In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.

Referring to fig. 1, the plurality of data storage devices may be general computers or general mini servers, which are connected to each other. Since there are a plurality of data storage devices, there are also a plurality of connection methods. For example, all the data storage devices are placed together and connected to each other by a network cable, or a plurality of data storage devices are placed in different places and connected to each other by a network.

The data storage device is connected with the intelligent terminal device through the internet device, and the intelligent terminal device comprises electronic devices such as a mobile phone, a computer and a tablet personal computer.

How the intelligent terminal device uploads and downloads data information to and from the data storage device and how the data storage device stores data is described below with reference to the drawings.

Referring to fig. 2, the process of uploading data information to the data storage device by the intelligent terminal device is as follows.

Step 101, intelligent terminal equipment uploads data information to data storage equipment through internet equipment;

the data information referred to herein generally refers to information such as pictures, video, audio, and the like. In general, the intelligent terminal device is installed with client software, and a user can upload or download various data information to the data storage device through the client software. Of course, the user can also upload or download data information through the web page.

102, performing consensus verification on the data information by a consensus device;

103, encrypting the data information passing the consensus verification by an encryption device;

104, the storage device stores the encrypted data information on the data storage equipment;

and 105, the distribution device distributes the encrypted data information to other data storage equipment connected with the data storage equipment.

The data storage device comprises a consensus device, an encryption device, a storage device and a distribution device. The consensus device needs to perform consensus verification on the equipment uploaded by the intelligent terminal. The consensus verification is based on the requirement of a consensus mechanism, and the consensus mechanism is an algorithm for establishing trust and obtaining rights and interests among different nodes in a blockchain system.

After the consensus verification is completed, the encryption device encrypts the uploaded data information, and an encryption algorithm used in encryption is preset, so that the intelligent terminal device uploading the data information has a decryption algorithm corresponding to the encryption algorithm.

The storage device stores the encrypted data information. At the same time, the distribution means distributes the encrypted data information to other data storage devices connected thereto.

The process of downloading data information on the data storage device by the intelligent terminal device is shown in fig. 3.

Step 201, the intelligent terminal device sends a request for downloading data information to the data storage device through the internet device;

step 202, after receiving the application, the verifying device obtains the data information through other connected data storage devices, and compares the data information with the data information stored by the verifying device;

and 203, after the comparison result is consistent, the transmission device sends the data information to the intelligent terminal equipment through the internet equipment.

The data storage device comprises a verification device and a transmission device. After receiving a request for downloading data information sent by the intelligent terminal device, the data storage device can acquire data information on other data storage devices connected with the data storage device, wherein the data information is the data information requested to be downloaded by the intelligent terminal. Since the data storage device that first obtained the data information will distribute this data information to other data storage devices connected to it when uploading the data information (see step 105), the data information will be stored on all interconnected data storage devices. Therefore, the data storage system can take the data information stored in other data storage systems for comparison and verification, and the data information stored in the data storage system can be prevented from being tampered by others.

After the comparison result is consistent, it is proved that the data information is not tampered, and the data information can be sent to the intelligent terminal device, where the intelligent terminal device is the intelligent terminal device that sends the request for downloading the data information in step 201.

According to the above (page 3, lines 7-9 of the specification), the intelligent terminal device receives the encrypted data information, and the intelligent terminal device has a corresponding decryption algorithm, so that the intelligent terminal device can safely obtain the required data information.

The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:固态储存装置及其电源失效时的数据处理方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类