A storage method and system for edge computing gateway data
An edge computing and data technology, applied in the field of data management, can solve the problems of slow persistent storage and update, difficulty in ensuring the consistency of data in the same cycle, and low efficiency of data query, so as to facilitate addition, deletion, management and query, and realize fast Query, the effect of improving the efficiency of retrieval query
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] combine figure 1 As shown, an edge computing gateway data storage method of the present invention is applied to various industrial devices in the industrial system, and the edge computing gateway collects data of each industrial device. The present invention can store various devices in the edge computing gateway The data is stored synchronously to ensure the cycle consistency of the data of each device. Method concrete steps of the present invention are:
[0025] (1) Store data to memory
[0026] First, establish n linked lists in the memory according to the number of devices, each linked list has m nodes, and n and m are both integers; further, linked lists are associated with devices one by one, that is, a linked list is set for each device Used to store data. For data storage in the memory cache, the specific process is as follows:
[0027] Transfer the real-time data of n devices acquired at the same time to the memory cache, specifically, synchronously store t...
Embodiment 2
[0042] The content of this embodiment is basically the same as that of Embodiment 1. The specific process of storing data in the persistent storage space in this embodiment is as follows:
[0043] Real-time data includes configuration information. When the configuration information of a certain device changes at time t, the data of n devices stored in memory during the period from the last change time t0 to time t is saved to the persistent storage space, where t0 ∈[0,1,2...t]. That is, whenever the configuration information of a certain device changes, the data of all devices in the corresponding period stored in the memory is stored in the persistent storage space.
[0044] Specifically, a time wheel is established in the persistent storage space. When there is a change in the configuration information of the device, a grid is added to the time wheel according to the change in configuration information; that is, when there are L configurations in the total time period corres...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

