CN107193751A - A kind of file information storage method of Nandflash arrays - Google Patents

A kind of file information storage method of Nandflash arrays Download PDF

Info

Publication number
CN107193751A
CN107193751A CN201710356958.8A CN201710356958A CN107193751A CN 107193751 A CN107193751 A CN 107193751A CN 201710356958 A CN201710356958 A CN 201710356958A CN 107193751 A CN107193751 A CN 107193751A
Authority
CN
China
Prior art keywords
file
pipelining
nandflash
stage
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710356958.8A
Other languages
Chinese (zh)
Other versions
CN107193751B (en
Inventor
尹超
赵鑫鑫
李朋
姜凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Science Research Institute Co Ltd
Original Assignee
Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jinan Inspur Hi Tech Investment and Development Co Ltd filed Critical Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority to CN201710356958.8A priority Critical patent/CN107193751B/en
Publication of CN107193751A publication Critical patent/CN107193751A/en
Application granted granted Critical
Publication of CN107193751B publication Critical patent/CN107193751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Read Only Memory (AREA)

Abstract

The present invention discloses a kind of file information storage method of Nandflash arrays, it is related to high-speed high capacity field of storage, log file number information is read from specified NOR FLASH addresses by NOR FLASH controllers, it is loaded into Nandflash array control units, the information of last file is loaded to Nandflash array control units according to file record number, the start information that Nandflash array control units determine to record next time according to the information of last file, when Nandflash array control units receive start recording order, start flowing water by the start information of last obtained file to store, record is completed, NOR FLASH controllers more new file number, this start information recorded is write by NOR FLASH corresponding address according to current file number information simultaneously.

Description

A kind of file information storage method of Nandflash arrays
Technical field
The present invention discloses a kind of file information storage method of Nandflash arrays, is related to high-speed high capacity field of storage.
Background technology
Nandflash internal memories are one kind of flash internal memories, and it is internal using non-linear macroelement pattern, is solid-state great Rong The realization for measuring internal memory provides cheap effective solution.Nandflash memories have capacity larger, and rewriting speed is fast etc. Advantage, it is adaptable to the storage of mass data, thus in the industry cycle obtained increasingly being widely applied, such as embedded product includes Digital camera, MP3 walkmans memory card, USB flash disk of compact etc..In the field such as radar and space flight, to the capacity of storage device And read-write rate requirement is harsher, single Nandflash can not meet requirement, therefore selection Nandflash arrays, due to Nandflash FTL algorithm comparisons are complicated, therefore the file system of Nandflash arrays is extremely complex, Nandflash arrays Controller log file is accomplished by regular hour and memory space, and the invention provides a kind of file of Nandflash arrays Information storage means, by NOR FLASH log file numbers during specific implementation, the information of file, when a system is powered up, automatically The initial logical address of load document number information and last file, stops logical address, originates pipelining-stage, stops stream Water level and stopping Page addresses etc., so that and then Nandflash array control units can be recorded next time, realize text The operations such as the read-write wiping of part, not only the saving record time, simplify the efficiency of the operations such as operation, and the read-write wiping of raising file.
The content of the invention
The present invention provides a kind of file information storage method of Nandflash arrays, with highly versatile, is easy to implement Feature, has broad application prospects.
Concrete scheme proposed by the present invention is:
A kind of file information storage method of Nandflash arrays:
Log file number information is read from specified NOR FLASH addresses by NOR FLASH controllers, is loaded into Nandflash array control units, the information of last file is loaded to Nandflash antenna array controls according to file record number Device,
The start information that Nandflash array control units determine to record next time according to the information of last file, when Nandflash array control units receive start recording order, and stream is started by the start information of last obtained file Water is stored,
Record is completed, NOR FLASH controllers more new file number, while being recorded this according to current file number information Start information write NOR FLASH corresponding address.
The start information includes the initial logical address of last file, stops logical address, originates pipelining-stage, stops Only pipelining-stage, Page addresses.
The start logical that Nandflash array control units determine to record next time according to the information of last file Location, originates pipelining-stage, and stops relation and Page address of the pipelining-stage with starting pipelining-stage by loading, determines next text The initial logical address of part, originates pipelining-stage, originates Page, carries out flowing water storage.
If the stopping pipelining-stage of the loading is equal to starting pipelining-stage and Page addresses are 0, of next file Beginning logical address is the stopping logical address of loading, and starting pipelining-stage is the stopping pipelining-stage of loading, and starting Page is 0, otherwise Initial logical address adds 1 to stop logical address, and starting pipelining-stage is the stopping pipelining-stage of loading, and starting page is 0.
It is described when Nandflash array control units receive erasing order, Nandflash array control units complete all After Nandflash BLOCK erasings, NOR FLASH controllers more new file number is 0, simultaneously erased NOR FLASH records text The corresponding SECTOR of part information.
When Nandflash array control units receive reading file command, NOR FLASH according to the file index of reading, from The initial logical address of file is read in NOR FLASH, pipelining-stage is originated, stops logical address, stops pipelining-stage, stops Page Information completes the read operation of file to Nandflash array control units.
Usefulness of the present invention is:
The invention provides a kind of file information storage method of Nandflash arrays, by NOR FLASH controllers from specifying NOR FLASH addresses read log file number information, Nandflash array control units are loaded into, according to file record Number loads the information of last file to Nandflash array control units,
The start information that Nandflash array control units determine to record next time according to the information of last file, when Nandflash array control units receive start recording order, and stream is started by the start information of last obtained file Water is stored,
Record is completed, NOR FLASH controllers more new file number, while being recorded this according to current file number information Start information write NOR FLASH corresponding address;
By NOR FLASH log file numbers during specific implementation, the information of file, when a system is powered up, automatic load document The initial logical address of number information and last file, stop logical address, originate pipelining-stage, stop pipelining-stage and Stop Page addresses etc., so that and then Nandflash array control units can be recorded next time, realize the read-write of file The operation such as wiping, not only the saving record time, simplifies the efficiency of the operations such as operation, and the read-write wiping of raising file.
Brief description of the drawings
Fig. 1 the inventive method schematic flow sheets.
Embodiment
The present invention provides a kind of file information storage method of Nandflash arrays, by NOR FLASH controllers from finger Log file number information is read in fixed NOR FLASH addresses, Nandflash array control units is loaded into, according to file record Number loads the information of last file to Nandflash array control units,
The start information that Nandflash array control units determine to record next time according to the information of last file, when Nandflash array control units receive start recording order, and stream is started by the start information of last obtained file Water is stored,
Record is completed, NOR FLASH controllers more new file number, while being recorded this according to current file number information Start information write NOR FLASH corresponding address.
With reference to accompanying drawing, the present invention will be further described.
Comprised the following steps that using the inventive method:
First, when a system is powered up, NOR FLASH controllers read log file number letter from specified NOR FLASH addresses Breath, is loaded into Nandflash array control units,
If wherein file record number is 0, fileinfo is not loaded with, upper electric LOAD processes terminate;Otherwise remembered according to file Record number loads the start information of last file, comprising initial logical address, stops logical address, originates pipelining-stage, stops Only pipelining-stage, stops the information such as Page addresses to Nandflash array control units;
The start logical that then, Nandflash array control units determine to record next time according to the information of last file Location, originates pipelining-stage;
If wherein the stopping pipelining-stage of loading is equal to starting pipelining-stage and Page addresses are 0, the starting of next file is patrolled Stopping logical address of the address for loading is collected, starting pipelining-stage is the stopping pipelining-stage loading, and starting Page is 0, is otherwise originated Logical address adds 1 to stop logical address, and starting pipelining-stage is the stopping pipelining-stage of loading, and starting page is 0;
Then, when Nandflash array control units receive start recording order, the start logical obtained using upper step Location, originates pipelining-stage, starting Page starts flowing water storage, after the completion of record, NOR FLASH controllers more new file number, The initial logical address for simultaneously being recorded this according to current file number information, originates pipelining-stage, stops logical address, stops Only pipelining-stage, stops the information such as Page addresses and writes NOR FLASH corresponding address.
In the storing process of the fileinfo of above-mentioned Nandflash arrays, when Nandflash array control units receive wiping During except order, Nandflash array control units are completed after whole Nandflash BLOCK erasings, and NOR FLASH controllers are more New file number is 0, the corresponding SECTOR of simultaneously erased NOR FLASH log file information;
Also, when Nandflash array control units receive reading file command, NOR FLASH according to the file index of reading, from The initial logical address of file is read in NOR FLASH, pipelining-stage is originated, stops logical address, stops pipelining-stage, stops Page Etc. information to Nandflash array control units, so as to complete the read operation of file.
Using the present invention realize Nandflash arrays fileinfo storage and realize file read-write wipe etc. operation, The record time is saved, simplifies operation, the efficiency of the operations such as the read-write wiping of file is improved.

Claims (6)

1. a kind of file information storage method of Nandflash arrays, it is characterized in that
Log file number information is read from specified NOR FLASH addresses by NOR FLASH controllers, is loaded into Nandflash array control units, the information of last file is loaded to Nandflash antenna array controls according to file record number Device,
The start information that Nandflash array control units determine to record next time according to the information of last file, when Nandflash array control units receive start recording order, and stream is started by the start information of last obtained file Water is stored,
Record is completed, NOR FLASH controllers more new file number, while being recorded this according to current file number information Start information write NOR FLASH corresponding address.
2. according to the method described in claim 1, it is characterized in that the start information includes the start logical of last file Address, stops logical address, originates pipelining-stage, stops pipelining-stage, Page addresses.
3. method according to claim 2, it is characterized in that letter of the Nandflash array control units according to last file Breath determines the initial logical address recorded next time, originates pipelining-stage, and stopping pipelining-stage and starting pipelining-stage by loading Relation and Page addresses, determine the initial logical address of next file, originate pipelining-stage, originate Page, carry out flowing water and deposit Storage.
4. method according to claim 3, if it is characterized in that the stopping pipelining-stage of the loading is equal to starting pipelining-stage simultaneously And Page addresses are 0, then the initial logical address of next file is the stopping logical address of loading, and starting pipelining-stage is loading Stopping pipelining-stage, starting Page be 0, otherwise initial logical address for stop logical address add 1, starting pipelining-stage for loading Stop pipelining-stage, starting page is 0.
5. according to any described methods of claim 1-4, it is characterized in that described when Nandflash array control units receive wiping During except order, Nandflash array control units are completed after whole Nandflash BLOCK erasings, and NOR FLASH controllers are more New file number is 0, the corresponding SECTOR of simultaneously erased NOR FLASH log file information.
6. method according to claim 5, it is characterized in that when Nandflash array control units receive reading file command When, NOR FLASH read the initial logical address of file according to the file index of reading from NOR FLASH, originate pipelining-stage, Stop logical address, stop pipelining-stage, stop Page information to Nandflash array control units, complete the read operation of file.
CN201710356958.8A 2017-05-19 2017-05-19 Method for storing file information of Nandflash array Active CN107193751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710356958.8A CN107193751B (en) 2017-05-19 2017-05-19 Method for storing file information of Nandflash array

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710356958.8A CN107193751B (en) 2017-05-19 2017-05-19 Method for storing file information of Nandflash array

Publications (2)

Publication Number Publication Date
CN107193751A true CN107193751A (en) 2017-09-22
CN107193751B CN107193751B (en) 2020-12-08

Family

ID=59874797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710356958.8A Active CN107193751B (en) 2017-05-19 2017-05-19 Method for storing file information of Nandflash array

Country Status (1)

Country Link
CN (1) CN107193751B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030206442A1 (en) * 2002-05-02 2003-11-06 Jerry Tang Flash memory bridiging device, method and application system
CN101149664A (en) * 2007-10-26 2008-03-26 华为技术有限公司 Solid state hard disc and method for processing its management data
CN101266573A (en) * 2008-04-29 2008-09-17 中国船舶重工集团公司第七〇九研究所 Covering allowable flash memory even wearing circulating queue technology
CN102819496A (en) * 2012-08-16 2012-12-12 无锡紫芯集成电路系统有限公司 Address translation method of flash FTL (Flash Translation Layer)
CN103577574A (en) * 2013-11-05 2014-02-12 中船重工(武汉)凌久电子有限责任公司 High-reliability linear file system based on nand flash
CN104133705A (en) * 2014-07-31 2014-11-05 武汉邮电科学研究院 System and method for loading PowerPC system guide file through serial port
CN104425018A (en) * 2013-08-23 2015-03-18 慧荣科技股份有限公司 Method for accessing storage unit in flash memory and device using the same
CN104899114A (en) * 2014-03-07 2015-09-09 中国科学院苏州纳米技术与纳米仿生研究所 Continuous time data protection method on solid state drive

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030206442A1 (en) * 2002-05-02 2003-11-06 Jerry Tang Flash memory bridiging device, method and application system
CN101149664A (en) * 2007-10-26 2008-03-26 华为技术有限公司 Solid state hard disc and method for processing its management data
CN101266573A (en) * 2008-04-29 2008-09-17 中国船舶重工集团公司第七〇九研究所 Covering allowable flash memory even wearing circulating queue technology
CN102819496A (en) * 2012-08-16 2012-12-12 无锡紫芯集成电路系统有限公司 Address translation method of flash FTL (Flash Translation Layer)
CN104425018A (en) * 2013-08-23 2015-03-18 慧荣科技股份有限公司 Method for accessing storage unit in flash memory and device using the same
CN103577574A (en) * 2013-11-05 2014-02-12 中船重工(武汉)凌久电子有限责任公司 High-reliability linear file system based on nand flash
CN104899114A (en) * 2014-03-07 2015-09-09 中国科学院苏州纳米技术与纳米仿生研究所 Continuous time data protection method on solid state drive
CN104133705A (en) * 2014-07-31 2014-11-05 武汉邮电科学研究院 System and method for loading PowerPC system guide file through serial port

Also Published As

Publication number Publication date
CN107193751B (en) 2020-12-08

Similar Documents

Publication Publication Date Title
US8131911B2 (en) Data writing method, and flash storage system and controller using the same
US10832779B2 (en) Apparatuses and methods for automated dynamic word line start voltage
CN107844431A (en) Map table updating method, memorizer control circuit unit and memory storage apparatus
KR102535627B1 (en) Memory controller and operating method thereof
US9811414B2 (en) Method for managing data stored in flash memory and associated memory device and controller
WO2010115332A1 (en) Method for using bad blocks of flash memory
KR102535104B1 (en) Storage device and operating method thereof
KR20090008766A (en) Solid state disk controller and data processing method thereof
US9552287B2 (en) Data management method, memory controller and embedded memory storage apparatus using the same
CN110389717A (en) Storage device and its operating method
CN103970669A (en) Method for accelerating physical-to-logic address mapping of recycling operation in solid-state equipment
KR20210055514A (en) Storage device and operating method thereof
CN106502586A (en) A kind of method for improving solid state hard disc order reading performance
CN106874220A (en) A kind of implementation method of NAND FLASH arrays two-level address mapping table
CN107329912A (en) A kind of power down process method of NAND FLASH arrays
CN103218308B (en) Buffer storage supervisory method, Memory Controller and memorizer memory devices
CN107193751A (en) A kind of file information storage method of Nandflash arrays
KR20210032222A (en) Memory controller and operating method thereof
KR20210033719A (en) Memory device and operating method thereof
US10282328B2 (en) Apparatus having direct memory access controller and method for accessing data in memory
CN107015919A (en) Nand flash storage array Mapping management methods
CN105868046A (en) Method for managing, writing and loading firmware code in storage device
CN107870738A (en) Data storage device and data writing method thereof
TWI508068B (en) Method for managing data stored in flash memory and associated memory device and controller
US20200310976A1 (en) Memory system, memory controller and operating method of memory controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201113

Address after: 250100 Ji'nan high tech Zone, Shandong, No. 1036 wave road

Applicant after: INSPUR GROUP Co.,Ltd.

Address before: 250100, Ji'nan province high tech Zone, Sun Village Branch Road, No. 2877, building, floor, building, on the first floor

Applicant before: JINAN INSPUR HIGH-TECH TECHNOLOGY DEVELOPMENT Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230417

Address after: 250000 building S02, No. 1036, Langchao Road, high tech Zone, Jinan City, Shandong Province

Patentee after: Shandong Inspur Scientific Research Institute Co.,Ltd.

Address before: No. 1036, Shandong high tech Zone wave road, Ji'nan, Shandong

Patentee before: INSPUR GROUP Co.,Ltd.

TR01 Transfer of patent right