文件分配表文件系统读写方法及装置

File distribution list file system read-write method and device

Abstract

本发明公开了一种FAT文件系统读写方法与装置,首先读取FAT表,并提取出存储文件的簇链结构信息,根据该文件的簇链结构信息,确定其中的连续簇的第一簇的位置信息与该连续簇的长度信息,然后依序将连续簇的第一簇的位置信息与该连续簇的长度信息存储到缓冲区中,以形成该FAT表的替代信息,最后根据该替代信息对文件进行读写。本发明只需要较少的缓冲区缓存FAT表中的簇链结构,且对于每个文件的访问,主处理器只需要发送一次命令,因而减少了主处理器的负担。
First, the method reads FAT table, and picks up information of cluster chain structure of stored file. Based on the said information, the method determines position information of first cluster of continuous clusters and information of length of the continuous clusters. Then, the method stores the said position information of first cluster and information of length of the continuous clusters into buffer area to form information for replacing the FAT table. Finally, based on the replaced information, reading / writing operation is carried out for files. Advantages are: less buffer area needed for storing cluster chain structure in FAT table, reducing burden on main processor since only needed for sending commands for once to access each file.

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (0)

    Publication numberPublication dateAssigneeTitle

NO-Patent Citations (0)

    Title

Cited By (10)

    Publication numberPublication dateAssigneeTitle
    CN-100485681-CMay 06, 2009北京握奇数据系统有限公司Smart card storage system and managing method for file creation in the system
    CN-100533443-CAugust 26, 2009北京中星微电子有限公司利用文件分配表进行磁盘数据簇链接及寻道的方法
    CN-101908050-BApril 24, 2013晨星软件研发(深圳)有限公司, 晨星半导体股份有限公司档案格式转换方法
    CN-101996250-AMarch 30, 2011中国科学院计算技术研究所Hadoop-based mass stream data storage and query method and system
    CN-101996250-BJuly 25, 2012中国科学院计算技术研究所一种基于Hadoop的海量流数据存储和查询方法及系统
    CN-104394371-AMarch 04, 2015北京理工大学System for large amount continuous image collection and quick storage
    CN-104394371-BSeptember 29, 2017北京理工大学一种适合大量连续图像采集和快速存储的系统
    US-8255706-B2August 28, 2012Beijing Watch Data System Co., Ltd.Dual usage smart card of CPU and logical encryption and its data synchronization method
    US-8266619-B2September 11, 2012Beijing Watch Data System Co., Ltd.Embedded operating system architecture for smart card
    WO-2007107073-A1September 27, 2007Beijing Watch Data System Co., Ltd.Système de mémoire sur carte à puce, et son procédé de gestion de fichier