论文部分内容阅读
智能设备的flash存储系统中,基于会话的日志型文件系统一般为并行系统,由此导致同一个目标区域的会话中包含大量冗余备份,并占据flash的日志存储空间,对此,提出一种简单的两阶段冗余备份日志信息失效算法。首先,在文件系统中增加2个链表,一个是有效备份链表,另一个是无效备份链表。然后在日志会话的检查点态与提交态对无效备份链表的数据作失效处理,从而实现不将无效备份提交至日志存储区域中,以此减少了flash的写操作与擦除操作。最终基于开发板进行对比试验,结果表明,本方案有效地降低了写操作与擦除操作的次数,提高了flash存储系统的整体性能。
In the flash memory system of an intelligent device, a session-based log file system is generally a parallel system, which causes a large number of redundant backups in a session of the same target area and takes up flash log storage space. In this regard, a Simple two-stage redundant backup log information invalidation algorithm. First of all, in the file system to add two linked list, one is a valid backup list, the other is invalid backup list. Then invalidates the data in the checkback state and the submitted state of the invalid backup linked list in the log session, so as to avoid submitting invalid backups to the log storage area, thereby reducing flash write and erase operations. Finally, based on the development board comparison test, the results show that the program effectively reduces the number of write operations and erase operations, improve the overall performance of the flash memory system.