Mass storage system and method based on Internet of Things
A mass storage and Internet of Things technology, applied in mass storage systems and storage fields, can solve problems such as limited processing capacity, does not support data horizontal expansion, and slow processing speed, so as to achieve simplicity, ensure real-time system performance, and ensure effectiveness Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] to combine Figure 1-Figure 2 , the present embodiment describes in detail the mass storage system based on the Internet of Things of the present invention, which includes: a plurality of Redis nodes, each Redis node implements host storage key-value for hot data storage; the client uses a consistent hash algorithm, Distribute the cached data to different nodes, and ensure that adding or reducing nodes does not affect the cached data. When the main machine is down, the standby machine will automatically start up, and its structure is as follows figure 1 As shown, two Redis nodes 1 are taken as an example here, which are respectively a first Redis node 11 and a second Redis node 12, wherein: the first Redis node 11 includes a first Redis master node 111 and a first Redis standby node 112; The two Redis nodes 12 include a second Redis master node 121 and a second Redis standby node 122 . The APP performs a consistent hash algorithm on the key, locates the specific Redis...
Embodiment 2
[0043] to combine Figure 1-Figure 3 storage solution, the present embodiment describes in detail the mass storage method based on the Internet of Things of the present invention, which includes the following processes:
[0044] F11: Hotspot data is stored in cache nodes.
[0045] F12: Gentle data is split horizontally through the gateway Id, and stored in one primary server and multiple standby servers in each database node;
[0046] F13: Cold data is stored in the distributed file system;
[0047] The above processes are not in any order, and can also be carried out at the same time.
[0048] in:
[0049] F11: Cache the latest status of each device, and cache the metadata of each device user;
[0050] F12: connect to the main server to read the binary log, extract the row insertion event and decode the event that occurred on the main server, extract the data, and append it to a text file in the distributed file system;
[0051] F13: Allocate the data in the previous per...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 