WO2009103182A1 - Dispositif pour la mise en œuvre de fonction u-disk de mémoire flash nand de terminal mobile - Google Patents
Dispositif pour la mise en œuvre de fonction u-disk de mémoire flash nand de terminal mobile Download PDFInfo
- Publication number
- WO2009103182A1 WO2009103182A1 PCT/CN2008/000362 CN2008000362W WO2009103182A1 WO 2009103182 A1 WO2009103182 A1 WO 2009103182A1 CN 2008000362 W CN2008000362 W CN 2008000362W WO 2009103182 A1 WO2009103182 A1 WO 2009103182A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file system
- file
- disk
- flash memory
- unit
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0662—Virtualisation aspects
- G06F3/0664—Virtualisation aspects at device level, e.g. emulation of a storage device or system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
- G06F3/0607—Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
Definitions
- the present invention relates to the field of mobile terminal technologies, and in particular, to a non-linear flash memory of a mobile terminal.
- the present invention has been made in view of the above problems. Accordingly, it is a primary object of the present invention to provide an apparatus for implementing a U disk function on a non-linear flash memory of a mobile terminal, including a FAT file system, including: A file system transfer unit, located between the FAT file system and the non-linear flash memory, for storing files in non-linear flash memory in FAT format and managing files, and for external computers to access non-linear flash memory through file system transfer units U disk area on.
- the file system transmission unit may include: a file system transmission interface layer for providing an interface with the FAT file system; a file system transmission implementation layer for mapping the logical sector provided by the FAT file system to a physical fan on the non-linear flash memory And a non-linear flash interface layer for providing an interface to the non-linear flash memory to store files in a U disk area on the non-linear flash memory.
- the apparatus according to the present invention may further comprise: a device identification unit for identifying a USB mass storage standard class device before the external computer accesses the U disk area on the non-linear flash memory.
- the apparatus of the present invention may further comprise: a USB mass storage protocol unit for causing the file system transmission unit to communicate with an external computer via the USB mass storage protocol module.
- the apparatus may further include: a U disk packet processing unit, configured to provide data received by the external computer to the data exchange unit and transmit the data processed by the data exchange unit to the external computer; and a data exchange unit, It is used to extract a small computer interface transmission command set from the received data, and perform corresponding processing according to the small computer interface transmission command set.
- the received data and the transmitted data are in the form of command block packets. If the small computer interface transfers the command set to read and write operations, the logical sector of the FAT file system is read and written, and the logical sector is mapped to the physical sector of the non-linear flash memory by the file system transmission unit.
- the device of the present invention may further include: a multi-file system implementation unit, configured to: when the mobile terminal has multiple file systems including the U disk file system and the main file system, hang the U disk file in an empty space of the main file system In the directory, specify the starting address of the U disk area, and map the file written to the logical address of the FAT file system to the U disk area through the file system transport layer to perform multiple file systems through the interface layer of the non-linear flash memory. access.
- a multi-file system implementation unit configured to: when the mobile terminal has multiple file systems including the U disk file system and the main file system, hang the U disk file in an empty space of the main file system In the directory, specify the starting address of the U disk area, and map the file written to the logical address of the FAT file system to the U disk area through the file system transport layer to perform multiple file systems through the interface layer of the non-linear flash memory. access.
- the device of the present invention may further include: an application layer access unit, configured to: when the application layer of the mobile terminal accesses the U disk area, specify a hanging directory of the U disk file, if the U disk file system determines that the mounted directory is U
- the mount directory of the disk file is mapped to the physical address of the U extent i or the logical address of the file read and written by the file system transport layer in the FAT file system.
- FIG. 1 is a block diagram showing an apparatus for implementing a U disk function on a non-linear flash memory of a mobile terminal according to the present invention
- FIG. 2 is a diagram showing nonlinearity at a mobile terminal according to an embodiment of the present invention.
- a flowchart of a method of implementing a USB flash drive function on a flash memory FIG. 3 is a flow chart showing an implementation of a user equipment side file system according to an embodiment of the present invention.
- FIG. 4 is a diagram showing a PC in accordance with an embodiment of the present invention. Flowchart for data exchange with a USB flash drive;
- FIG. 5 is a diagram showing common management of multiple file systems according to an embodiment of the present invention;
- FIG. 6 is a flow chart showing a file operation of the U disk file system by the application layer in the embodiment of the present invention.
- an apparatus for implementing a u disk function on a non-linear flash memory of a mobile terminal including a FAT file system 101, including: a file system transmission unit 10 2 disposed in the FAT file system 101 and the non-linear flash memory 103 For storing the file in the FAT format into the non-linear flash memory 103 and managing the file, and causing the external computer to access the U disk area on the non-linear flash memory 103 through the file system transfer unit 102.
- the file system transmission unit 102 may include: a file system transmission interface layer for providing an interface with the FAT file system; a file system transmission implementation layer for mapping a logical sector provided by the FAT file system to a physics on the non-linear flash memory a sector; and a non-linear flash interface layer for providing an interface to the non-linear flash memory to store the file in a U disk area on the non-linear flash memory.
- the apparatus according to the present invention may further comprise: a device identification unit for identifying a USB mass storage standard class device before the external computer accesses the U disk area on the non-linear flash memory.
- the device may further comprise: a USB mass storage protocol unit for causing the file system transmission unit to communicate with an external computer through the USB mass storage protocol module.
- the apparatus of the present invention may further include: a U disk packet processing unit, configured to: provide data received by the external computer to the data exchange unit and transmit the data processed by the data exchange unit to the external computer; and a data exchange unit, A small computer interface transmission command set is extracted from the received data, and corresponding processing is performed according to the small computer interface transmission command set.
- the received data and the transmitted data are in the form of command block packets.
- the device may further include: a multi-file system implementation unit, configured to mount the U disk file in the main file system when the mobile terminal has multiple file systems including the U disk file system and the main file system In an empty directory, specify the starting address of the U disk i or the file, and map the file written to the logical address of the FAT file system to the U disk area through the file system transport layer to interface multiple layers through the non-linear flash memory.
- the file system is accessed in 4 pages.
- the device may further include: an application layer access unit, configured to: when the application layer of the mobile terminal accesses the U disk area, specify a hanging directory of the U disk file, if the U disk file system
- the system determines that the mount directory is the mount directory of the u disk file, and the logical address of the file read and written by the file system transport layer in the FAT file system is mapped to the physical address of the U disk area.
- 2 is a flow chart showing a method of implementing a u disk function on a non-linear flash memory of a mobile terminal in accordance with an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps: S202.
- the FAT file system mainly organizes and manages files according to the FAT format, and presents them to the FTL layer in the form of logical sectors.
- the FTL 4 bar logical sector is mapped into the physical sector of NANDFLASH, and at the same time, garbage collection, bad block detection, etc., read and write operations on NANDFLASH.
- FIG. 3 is a flow chart showing an implementation of a user equipment side file system according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
- the mobile terminal needs to store files and organizes them through the FAT file system.
- the specific implementation layer of FTL maps the logical block address provided by the file system to the actual physical address, garbage collection, bad block detection, etc., and 4 bar file information is stored in NANDFLASH.
- a flow chart of data exchange between a PC and a USB flash drive according to an embodiment of the present invention is shown. As shown in FIG. 4, the method includes the following steps: USB and PC are connected normally before implementing the following steps, USB The USB mass storage device is properly enumerated.
- the U disk data packet processing module receives the data from the PC on the one hand, and sends the processed result to the USB 4 mobile layer on the other hand.
- the data packet sent by the PC to the mobile terminal is presented in the form of a command block wrapper (CBW, Command Block Wrapper).
- CBW command Block Wrapper
- the CBW package is a command sent from the USB Host to the device, here the SCSI transfer command set.
- the USB device needs to extract the SCSI command from the CBW, execute the corresponding command, and send a response to the Host after completion.
- the terminal is transferred to the physical sector address through the FTL layer.
- NANDFLASH performs read and write operations.
- NANDFLASH reads and writes, returns the correct result. S416. If it is not a read or write operation, it returns the correct result after executing the command.
- FIG. 5 is a flow chart showing the common management of NAND FLASH by various file systems in accordance with an embodiment of the present invention. As shown in FIG. 5, the method includes the following steps: First, the U disk file system coexists with other file systems, so two logical devices are presented on the NANDFLASH, and the U disk file is mounted in an empty directory of the main file system. under.
- FIG. 6 is a flow chart showing a file operation of a U disk file system by an application layer according to an embodiment of the present invention.
- the application layer accesses the U disk through the file manager to perform related operations on the file.
- S602. When performing related operations on the file, you need to specify the mount directory of the USB flash drive. This directory is created by the primary file system.
- S604. The file system judges according to the path. If it is a hanging directory of the U disk, the file is organized and managed according to the FAT file system.
- the logical address of the FTL layer is read and converted into the actual physical address, and the information about the 4 bar file is stored in the NANDFLASH physical space.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
La présente invention concerne un dispositif pour la mise en œuvre de fonction U-DISK la mémoire NAND flash (disque mémoire flash USB) sur la mémoire flash NAND flash du terminal mobile. Le dispositif comporte un système de fichier FAT, et une unité de transport de système de fichier entre le système de fichier FAT et la mémoire flash NAND pour la sauvegarde de fichiers sur la mémoire flash NAND par le format FAT et la gestion des fichiers, et pour permettre un accès d'ordinateur externe à la zone U-DISK sur la mémoire flash NAND par l'unité de transport de système de fichier. Ainsi, l'efficacité de la mémoire flash NAND du terminal mobile est améliorée, et l'utilisation pratique du téléphone mobile est accrue.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2008/000362 WO2009103182A1 (fr) | 2008-02-18 | 2008-02-18 | Dispositif pour la mise en œuvre de fonction u-disk de mémoire flash nand de terminal mobile |
CN200880109710A CN101809544A (zh) | 2008-02-18 | 2008-02-18 | 在移动终端的非线性闪存上实现u盘功能的装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2008/000362 WO2009103182A1 (fr) | 2008-02-18 | 2008-02-18 | Dispositif pour la mise en œuvre de fonction u-disk de mémoire flash nand de terminal mobile |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2009103182A1 true WO2009103182A1 (fr) | 2009-08-27 |
Family
ID=40985034
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2008/000362 WO2009103182A1 (fr) | 2008-02-18 | 2008-02-18 | Dispositif pour la mise en œuvre de fonction u-disk de mémoire flash nand de terminal mobile |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101809544A (fr) |
WO (1) | WO2009103182A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109697030A (zh) * | 2018-12-12 | 2019-04-30 | 江西电力职业技术学院 | U盘还原方法 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1632765A (zh) * | 2004-12-31 | 2005-06-29 | 大唐微电子技术有限公司 | 一种闪存文件***管理方法 |
CN1300711C (zh) * | 2003-04-30 | 2007-02-14 | 日商.萩原科技股份有限公司 | 通用串行总线存储装置和控制装置 |
CN101002274A (zh) * | 2004-07-22 | 2007-07-18 | 赛普拉斯半导体公司 | 提高usb闪存写入性能的方法和器件 |
-
2008
- 2008-02-18 WO PCT/CN2008/000362 patent/WO2009103182A1/fr active Application Filing
- 2008-02-18 CN CN200880109710A patent/CN101809544A/zh active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1300711C (zh) * | 2003-04-30 | 2007-02-14 | 日商.萩原科技股份有限公司 | 通用串行总线存储装置和控制装置 |
CN101002274A (zh) * | 2004-07-22 | 2007-07-18 | 赛普拉斯半导体公司 | 提高usb闪存写入性能的方法和器件 |
CN1632765A (zh) * | 2004-12-31 | 2005-06-29 | 大唐微电子技术有限公司 | 一种闪存文件***管理方法 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109697030A (zh) * | 2018-12-12 | 2019-04-30 | 江西电力职业技术学院 | U盘还原方法 |
Also Published As
Publication number | Publication date |
---|---|
CN101809544A (zh) | 2010-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8521949B2 (en) | Data deleting method and apparatus | |
US7515500B2 (en) | Memory device performance enhancement through pre-erase mechanism | |
JP4155463B2 (ja) | 順次書き込みのみを用いるフラッシュ管理システムを有するシステム、及びその方法 | |
TWI594121B (zh) | 使用資料壓縮的快取技術 | |
CN101789019B (zh) | 一种可移动磁盘在Windows下的控制方法 | |
CN101297276A (zh) | 具有本地执行功能和存储功能的大容量存储设备 | |
US10585589B2 (en) | Data collation method, storage device, storage controller, and storage array | |
TWI459202B (zh) | 資料處理方法、記憶體控制器與記憶體儲存裝置 | |
JP5068754B2 (ja) | 改良されたホストインターフェイス | |
WO2008093961A1 (fr) | Système de traitement d'une demande lue | |
TW201329712A (zh) | 資料處理方法、記憶體控制器與記憶體儲存裝置 | |
KR20140093505A (ko) | 단말기의 메모리 확장 장치 및 방법 | |
CN112764669B (zh) | 一种硬件加速器 | |
CN112765055B (zh) | 存储设备的控制部件 | |
US8631166B2 (en) | Storage devices with bi-directional communication techniques and method of forming bi-directional communication layer between them | |
WO2009103181A1 (fr) | Dispositif pour la mise en œuvre de système de fichier sur mémoire flash nand de terminal mobile | |
US8275932B2 (en) | Method for transmitting special commands to flash storage device | |
TW201001421A (en) | Memory device and data storing method | |
WO2009103182A1 (fr) | Dispositif pour la mise en œuvre de fonction u-disk de mémoire flash nand de terminal mobile | |
TWI407327B (zh) | 資料處理方法、系統及儲存裝置控制器 | |
US11188511B2 (en) | Offloading file-indexing to memory card firmware | |
US8544424B2 (en) | System, controller and method thereof for transmitting and distributing data stream | |
US8656059B2 (en) | Methods for exchanging administrative information through a communication interface with limited administrative information exchange features | |
WO2018165950A1 (fr) | Procédé et dispositif de mise en œuvre d'emv | |
CN103186812B (zh) | 智能存储卡以及访问智能存储卡的方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 200880109710.0 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08706534 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 08706534 Country of ref document: EP Kind code of ref document: A1 |