An Efficient Method for Archiving Sensor History Data
A historical data and sensor technology, applied in the software development, information and information processing fields of historical data management system research and development, it can solve the problems of high writing performance and limited, and achieve the effect of improving efficiency, avoiding time delay and reducing the number of times.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment approach
[0063]1. Allocation and initialization of the first level cache
[0064] Open up n+1 blocks of the same size in the memory as the first-level cache, n is adjusted accordingly according to the actual situation, and the size of each cache block is adjusted accordingly according to the actual situation, and the n+1th cache block is an optimization operation , which is used to put data into the second-level cache, called a dedicated cache block. If a cache block i is full, first set the cache block n+1 to empty, and then set the pointer to the cache block i with The pointer to the cache block n+1 is exchanged, so that the full cache block is placed in the n+1th cache block, and the cache block i can continue to be used. The efficiency of pointer exchange is very high, allowing each A full cache block i can be used again as soon as possible. Set two more pointers, m_lFirstIndex points to the earliest cache block full of data (full data does not necessarily mean that the block is c...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


