Method and device for file storage of embedded system

The invention provides a method for file storage of an embedded system. The method comprises the steps that a virtual file system is established on a file in a file system of the embedded system, wherein the virtual file system comprises a file catalog item and stored file data, logic-physical block...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WAN LAIMIN, LIU SHAOHAI, LAI ZHEFENG, WANG HONGTAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a method for file storage of an embedded system. The method comprises the steps that a virtual file system is established on a file in a file system of the embedded system, wherein the virtual file system comprises a file catalog item and stored file data, logic-physical block mapping, as well as log and cache management; and when a file is updated in the virtual file system, the name, size and file initial block number of the updated file can be recorded by the file catalog item. Through dynamic increase of the file catalog item, the quantity of films supported by the same is not limited any longer and the requirement for applying multiple shared libraries in the embedded system can be satisfied better. By a logic-physical block mapping and log system, data safety of the virtual file system can be ensured, and performance of the file system can be enhanced through caching. 本发明提供了种嵌入式系统的文件存储方法,所述方法包括:在嵌入式系统的文件系统中的文件上创建虚拟的文件系统,所述虚拟的文件系统包括文件目录项和存储的文件数据,逻辑-物理块映射,日志和缓存管理;当在所述虚拟的文件系统中更新文件时,通