Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2019-07-30
安捷中科(北京)数据科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Finally, the archiving process is completed only when the data is written from the cache to the disk. This process often becomes a time bottleneck, because the read and write efficiency of the disk is much lower than that of the cache, and this writing process is limited. For the write performance of the disk, it is certainly a feasible solution to use solid-state hard disks, but mechanical hard disks are basically still used in actual scenarios, so if we want to improve efficiency based on the actual situation, we still need to design a method to minimize the mechanical hard disk. Seek time, so that write performance is as high as possible

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An Efficient Method for Archiving Sensor History Data
  • An Efficient Method for Archiving Sensor History Data
  • An Efficient Method for Archiving Sensor History Data

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an efficient sensor historical data archiving method. The method comprises the following steps: 1) establishing two levels of caches on a server to cache historical data records generated by a sensor, wherein each level of ache comprises a plurality of cache blocks; 2) firstly caching to-be-cached historical data records in the currently used and unfilled cache block of a first level of cache, and extracting data from the first level of cache in real time, and compressing and caching the data in a second level of cache; in the second level of cache, storing the historical data records generated by the same sensor in the cache block of the same serial number according to the sources of the historical data records; and 3) extracting a plurality of unfilled cache blocks from the second level of cache, and determining the writing positions of these extracted cache blocks in a file according to a filling time sequence; and then writing these extracted cache blocks in the file according to the determined writing positions, and clearing these extracted cache blocks. The method has the advantages of high efficiency for the archiving of sensor historical data.

Description

technical field [0001] The invention relates to the technical field of information processing, in particular to a technical method adopted for archiving historical data generated by sensors, which can be applied to the technical field of software development for the research and development of historical data management systems under the Internet of Things environment, and belongs to the field of information technology. Background technique [0002] The Internet of Things (IoT), also known as the sensor network, is an important part of the new generation of information technology, and it is also a research hotspot for researchers and industry circles in various countries in the information age. [0003] According to the latest statistics released by market research firm ABI Research, the total number of wirelessly connected devices on the Internet of Things has exceeded 10 billion, and it expects this figure to triple again to 30 billion by 2020. With such a huge number of d...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06G06F16/13
Inventor 王永炎晏琪秦远辉周林宏罗雄飞王盖亓卓然周海光陈超
Owner 安捷中科(北京)数据科技有限公司