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

范波, 王帅

集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (12) : 19-22.

PDF(1115 KB)
PDF(1115 KB)
集成电路与嵌入式系统 ›› 2023, Vol. 23 ›› Issue (12) : 19-22.
专题论述

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

  • 范波, 王帅
作者信息 +

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

  • Fan Bo, Wang Shuai
Author information +
文章历史 +

摘要

嵌入式设备通常基于Flash存储器和TFFS文件系统构建数据存储方案,本文针对其存储性能和可靠性问题,提出了一种基于掉电中断的数据存储优化方案。该方案将频繁变化的数据缓存于内存中,仅在设备下电时将缓存数据写入文件,最大程度降低Flash擦写次数,避免设备掉电引起文件系统元数据不一致导致无法访问文件的可能,提高了设备存储可靠性,延长了Flash芯片使用寿命。

Abstract

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文件系统

Key words

embedded devices / Flash / TFFS file system

引用本文

导出引用
范波, 王帅. 掉电中断的嵌入式设备高可靠存储方案[J]. 集成电路与嵌入式系统. 2023, 23(12): 19-22
Fan Bo, Wang Shuai. High Reliability Storage Scheme for Embedded Devices Based on Power-off Interrupt[J]. Integrated Circuits and Embedded Systems. 2023, 23(12): 19-22
中图分类号: TP311   

参考文献

[1] 孙文杰.基于功能综合的模块化通信导航识别系统总体设计[J].电讯技术,2016,56(1):67-70.
[2] 薛原.基于VxWorks的文件系统的研究与实现[J].电子设计工程,2009,17(8):107-109.
[3] 石改辉,武静,李兵.基于VxWorks的Flash之文件系统TFFS分析[J].电光与控制,2013,20(12):80-83.
[4] 邵富杰,徐云宽.用NOR FLASH建立VxWorks TrueFFS文件系统[J].单片机与嵌入式系统应用,2012(4):19-21,28.
[5] 周翔.非2的n次幂大小的TrueFFS文件系统的构建[J].微型机与应用,2017,36(6):19-21.
[6] 郑良辰,孙玉芳.日志文件系统在嵌入式存储设备上的实现[J].计算机科学,2002,29(1):72-74,52.
[7] 朱艳萍.VxWorks操作系统中TFFS快速格式化方法的实现[J].电声技术,2011,35(12):47-29,53.
[8] 乔峰,林平分.YU John.基于VxWorks的Flash文件系统[J].北京工业大学学报,2005,31(5):543-548.
[9] 石改辉,李晓庆.浅析记录设备的异常掉电保护设计方法[J].信息系统工程,2020(8):12-13.
[10] 唐晓平,何峰,梁甸农.基于VxWorks的多中断处理设计[J].计算机工程,2009,35(13):249-251.

PDF(1115 KB)

Accesses

Citation

Detail

段落导航
相关文章

/