Unlock instant, AI-driven research and patent intelligence for your innovation.

A design method based on fat file system and its applied data acquisition device

A file system and design method technology, applied in the direction of input/output to the record carrier, etc., can solve the problems of small capacity, occupation, and shortening the life of FLASH.

Active Publication Date: 2020-07-07
NANJING QINHENG MICROELECTRONICS CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] As far as the FAT system is concerned, the FAT table needs to be applied for every time the file record is filled with a cluster, which also involves the continuous modification and addition of FAT. However, for the memory with small capacity, slow single operation and tight local resources, take FLASH as an example. , the erasing unit at a time is relatively large, rewriting the sector content requires a 4K cache, and the operation of the FLASH file occupies a large amount of RAM and ROM resources. In addition, frequent erasing also greatly reduces the life of the FLASH

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 design method based on fat file system and its applied data acquisition device
  • A design method based on fat file system and its applied data acquisition device
  • A design method based on fat file system and its applied data acquisition device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] Such as figure 1 Shown, a kind of design method based on FAT file system, the step comprises:

[0030] 101 virtualizing the FAT area in the FAT file system;

[0031] 102 divide the DATA area, the file directory entry and the DBR area in the FAT file system on the FLASH storage in turn;

[0032] 103 virtualize a storage address mapping layer, and convert the request address of the external device into the data corresponding to the FLASH physical address or the temporarily constructed FAT area data.

[0033] Among them, the DBR area can only occupy one sector, and the storage address mapping layer can convert the request of the external device for the address data of the first sector into the content of the last sector, and can convert the data request of the data area of ​​the external device into the content of the first sector According to the request about the FAT area of ​​the external device, the file size of the file directory item area can be found, and then the...

Embodiment 2

[0042] Such as image 3 As shown, a data acquisition device based on the FAT file system design method application includes a serial port 301, MCU303, real-time clock RTC302 and FLASH304, the serial port 301 is connected to the MCU303 for receiving and inputting data, and the MCU303 and the FLASH304 are bidirectional connected, the FLASH304 is used to store data in the form of files, the real-time clock RTC302 is connected to the MCU303, and the MCU303 has a USB interface for connecting to a PC, and the files in the FLASH304 can be read and written by the PC. The design method based on the FAT file system is applied on the FLASH304, and the steps include:

[0043] 1) Virtualize the FAT area in the FAT file system, and then perform step 2);

[0044] 2) Divide the DATA area, file directory entry and DBR area in the FAT file system on the FLASH storage in turn, and then perform step 3);

[0045] 3) Virtualize a storage address mapping layer to convert the request address of the...

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 discloses a design method based on a FAT file system and a data collecting device in which the design method based on the FAT file system is applied. The data collecting device comprisesa data interface, a single chip microcomputer, a real-time clock RTC and a FLASH; the data interface is connected to the single chip microcomputer and used for receiving and inputting data; the single chip microcomputer is bi-directionally connected with the FLASH, and the FLASH is used for storing file-form data; the real-time clock RTC is connected to the single chip microcomputer, the single chip microcomputer comprises a USB interface and is used for being connected with a PC. The design method applied to the FLASH based on the FAT file system includes the following steps that a FAT areain the FAT file system is virtualized, a DATA area, a file directory item and a DBR area in the FAT file system are sequentially partitioned on a FLASH storage, a memory address mapping layer is virtualized, a request address of an external device is converted into data corresponding to a FLASH physical address or casually-established FAT area data. According to the design method based on the FATfile system and the data collecting device in which the design method based on the FAT file system is applied, the service life of the FLASH is prolonged, and RAM resources and ROM resources occupiedby operation of a FLASH file are reduced.

Description

technical field [0001] The invention relates to a FAT file system, in particular to a design method based on the FAT file system and a data acquisition device for its application. Background technique [0002] Files stored on disk need to be organized in some way so that they can be shared across platforms. This form of organization includes common NTFS, FAT, etc. However, these organizational forms themselves will inevitably consume a large amount of RAM and ROM resources. For computers, of course, this part of resource occupation can be ignored, but it becomes particularly important for microprocessors with few resources. [0003] CN02108017.8 discloses a control device applicable to a flash memory card and a construction method thereof, which is characterized in that: after the control device is turned on and the physical block address (PBA) of each data block of the memory card has been completed ) after scanning one by one, the control device will plan and divide the ...

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): G06F3/06
Inventor 刘帅高杰蔡亮
Owner NANJING QINHENG MICROELECTRONICS CO LTD