Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A fat file storage method in an embedded system

An embedded system and file storage technology, which is applied in the direction of instruments, computing, and electrical digital data processing, etc., can solve problems such as slow response time, long time-consuming creation of file directory items, and affecting real-time performance of the system, so as to reduce time and save The effect of time spent

Active Publication Date: 2017-02-08
XIAMEN YAXON NETWORKS CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, since it takes a long time to create file directory items when exporting files, it will slow down the response time of other programs in the system and affect the real-time performance of the system.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A fat file storage method in an embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be further described in conjunction with the accompanying drawings and specific embodiments.

[0031] like figure 1 Shown, a kind of FAT file storage method in the embedded system, the hardware used comprises embedded system host computer, external storage device, and described embedded system host computer supports USB HOST, and the file system of described external storage device is FAT file system format, the embedded system host and the external storage device are connected and communicated via USB, and the method includes the following steps:

[0032] Step 1: After the embedded system host detects the external storage device connected through the USB interface, the information of the connected external storage device is obtained through the enumeration process, including related information such as capacity, cluster, sector, FAT file directory table;

[0033] Step 2: The embedded system host judges whether the connected external storage ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a FAT (file allocation table) file storage method in an embedded system. Hardware used by the invention comprises an embedded system host and an external storage device, wherein the embedded system host supports USBHOST; the file system of the external storage device is a FAT file system format; and the embedded system host and external storage device are connected and communicate with each other in a USB mode. In the invention, idle clusters and deleted directory entries are simultaneously searched; and once any of the idle clusters and deleted directory entries is searched, a directory entry is created, thereby shortening the time for creating the FAT file directory entry. The invention is applicable to the field of FAT file storage in an embedded system.

Description

technical field [0001] The invention relates to a method for storing FAT files in an embedded system, in particular to a method for storing data in an embedded system using a FAT file system. Background technique [0002] With the development of electronic technology, more and more electronic products use embedded systems. With the expansion of user needs, it is necessary to store the data of these electronic products on a storage device outside the device. The more common storage devices include U disk, SD card, etc. At the same time, if it is necessary to identify and read the data stored in these storage devices through devices with operating systems such as PCs, these embedded systems need to store the exported data in the current mainstream file format, such as the FAT file system format. [0003] The principle of the FAT file system can be simply described as mapping storage space blocks into a table, so as to achieve flexible control of storage space. Each block in ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
Inventor 蔡蓝图姚亮张鹏黄运峰叶德焰
Owner XIAMEN YAXON NETWORKS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products