![一种有限存储空间内存储历史趋势数据的方法及装置](/CN/2016/1/164/images/201610822002.jpg)
基本信息:
- 专利标题: 一种有限存储空间内存储历史趋势数据的方法及装置
- 专利标题(英):Method and device for storing historical trend data in limited memory space
- 申请号:CN201610822002.8 申请日:2016-09-13
- 公开(公告)号:CN106469027A 公开(公告)日:2017-03-01
- 发明人: 彭晓林 , 陈锋 , 邓智炜
- 申请人: 深圳市鼎阳科技有限公司
- 申请人地址: 广东省深圳市宝安区68区留仙三路安通达工业园4栋三楼
- 专利权人: 深圳市鼎阳科技有限公司
- 当前专利权人: 深圳市鼎阳科技有限公司
- 当前专利权人地址: 广东省深圳市宝安区68区留仙三路安通达工业园4栋三楼
- 代理机构: 深圳鼎合诚知识产权代理有限公司
- 代理人: 郭燕
- 主分类号: G06F3/06
- IPC分类号: G06F3/06
The invention discloses a method and device for storing historical trend data in limited memory space. The method comprises the steps of judging, subtracting, comparing, and deleting. In the judging step, judgment is made to the remained space of the memory. In the subtracting step, when the result in the judging step is negative, subtraction is done in a manner that all the data in the memory space minus the adjacent data respectively to get the difference value, wherein the adjacent data is the data which is adjacent when the data storage occurs. In the step of comparing, comparison is made between all the difference values to acquire the smallest difference value. In the step of deleting, one of two mutually adjacent data corresponding to the smallest difference value is deleted, thus leaving space for storage. According to the method, when the memory space is determined to be inadequate, through the deletion of either one of the two mutually adjacent data corresponding to the smallest difference value, memory space can be vacated for storing new data, at the same time the data variation trend in the memory space can be preserved to the maximum.
IPC结构图谱:
G | 物理 |
--G06 | 计算;推算;计数 |
----G06F | 电数字数据处理 |
------G06F3/00 | 用于将所要处理的数据转变成为计算机能够处理的形式的输入装置;用于将数据从处理机传送到输出设备的输出装置,例如,接口装置 |
--------G06F3/06 | .来自记录载体的数字输入,或者到记录载体上去的数字输出 |