掉电中断的嵌入式设备高可靠存储方案  

High Reliability Storage Scheme for Embedded Devices Based on Power-off Interrupt

在线阅读下载全文

作  者:范波 王帅 Fan Bo;Wang Shuai(10th Research Institute of China Electronics Technology Group Corporation,Chengdu 610036,China)

机构地区:[1]中国电子科技集团公司第十研究所,成都610036

出  处:《单片机与嵌入式系统应用》2023年第12期19-22,共4页Microcontrollers & Embedded Systems

摘  要:嵌入式设备通常基于Flash存储器和TFFS文件系统构建数据存储方案,本文针对其存储性能和可靠性问题,提出了一种基于掉电中断的数据存储优化方案。该方案将频繁变化的数据缓存于内存中,仅在设备下电时将缓存数据写入文件,最大程度降低Flash擦写次数,避免设备掉电引起文件系统元数据不一致导致无法访问文件的可能,提高了设备存储可靠性,延长了Flash芯片使用寿命。Embedded devices typically build data storage solutions based on Flash memory and TFFS file systems.This article proposes a data storage optimization scheme based on power outage interrupt to address their storage performance and reliability issues.This scheme caches frequently changing data in memory and only writes cached data to files when the device is powered down,minimizing the number of Flash writes and avoiding the possibility of inconsistent file system metadata caused by device power failure,thereby improving device storage reliability and extending the lifespan of the Flash chip.

关 键 词:嵌入式设备 FLASH TFFS文件系统 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象