CN108762974A - A kind of blank page checking system for flash memory correlation main control end control device - Google Patents

A kind of blank page checking system for flash memory correlation main control end control device Download PDF

Info

Publication number
CN108762974A
CN108762974A CN201810395345.XA CN201810395345A CN108762974A CN 108762974 A CN108762974 A CN 108762974A CN 201810395345 A CN201810395345 A CN 201810395345A CN 108762974 A CN108762974 A CN 108762974A
Authority
CN
China
Prior art keywords
flash memory
blank page
memory storage
main control
detection module
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.)
Pending
Application number
CN201810395345.XA
Other languages
Chinese (zh)
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.)
Jiangsu Hua Cun Electronic Technology Co Ltd
Original Assignee
Jiangsu Hua Cun Electronic Technology 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 Jiangsu Hua Cun Electronic Technology Co Ltd filed Critical Jiangsu Hua Cun Electronic Technology Co Ltd
Priority to CN201810395345.XA priority Critical patent/CN108762974A/en
Priority to PCT/CN2018/105885 priority patent/WO2019205453A1/en
Publication of CN108762974A publication Critical patent/CN108762974A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1068Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in sector programmable memories, e.g. flash disk
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1012Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error
    • G06F11/1032Simple parity
    • 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

Abstract

The invention discloses a kind of blank page checking systems for flash memory correlation main control end control device, including main control chip and flash memory storage assembly, flash memory storage controller is equipped in main control chip, writing unit and reading unit are equipped in flash memory storage controller, writing unit and reading unit are separately connected flash memory storage assembly, the present invention does detection in advance using blank page detection module and tells blank page data, give up or omit normal post code or data transmission flow to appropriateness, to save the use of master control resource, reaches and improve master control overall data process efficiency purpose.

Description

A kind of blank page checking system for flash memory correlation main control end control device
Technical field
The present invention relates to flash memory technology field, specially a kind of blank page for flash memory correlation main control end control device is examined System.
Background technology
Flash memory is depositing for a kind of non-volatile (the remaining to keep stored data information under power blackout situation) of long-life Reservoir, data deletion is not as unit of single byte but as unit of fixed block, and block size is generally 256KB To 20MB.Flash memory is the mutation of Electrical Erasable read-only memory (EEPROM), and flash memory is unlike EEPROM, EEPROM energy It is deleted and is rewritten in byte-level rather than entire chip is erasable, and most of chip of flash memory needs block to wipe.By Remain to preserve data when it is powered off, flash memory is usually used to preservation setting information, such as the BIOS of computer (basic program), Preservation data etc. in PDA (personal digital assistant), digital camera.
Master control is needed according to ordinary procedure by transmission " post code " " distribution " " sequence " etc. from the data of flash memory reading Program can send host side but if it is empty page data back to, need to sequentially carry out above-mentioned steps according to normal flow, can send Host side is returned, causes working efficiency low.
Invention content
The purpose of the present invention is to provide a kind of blank page checking systems for flash memory correlation main control end control device, with solution Certainly the problems mentioned above in the background art.
To achieve the above object, the present invention provides the following technical solutions:One kind being used for flash memory correlation main control end control device Blank page checking system, including main control chip and flash memory storage assembly are equipped with flash memory storage controller, institute in the main control chip It states and is equipped with writing unit and reading unit in flash memory storage controller, said write unit and reading unit are separately connected flash memory storage Deposit component.
Preferably, further include blank page detection module, the blank page detection module is arranged in flash memory storage controller, described Blank page detection module connects reading unit.
Preferably, the blank page detection module detection method is as follows:
A, reading unit reads the content of flash memory storage assembly;By flash memory storage controller at least one yard of the flash memory storage group Word carries out low-density parity inspection decoding and obtains decoded code word and inspection result vector;
B, when the low-density parity inspection of an at least code word is decoded as successfully, by the judgement flash memory storage of flash memory storage controller Component is not blank page;
C, it when the low-density parity inspection of an at least code word is decoded as unsuccessfully, is counted in the inspection by flash memory storage controller Look into the bit quantity or count the bit quantity that position is 0 in the inspection result vector that position in result vector is 1;And according at this The bit quantity that position is 1 in inspection result vector, or according to the bit quantity that position is 0 in the inspection result vector, by flash memory Storage control judges whether flash memory storage assembly is blank page.
Preferably, include the following steps:
A, blank page detection module is sent to after the content of reading unit reading flash memory storage assembly to be detected;
If B, blank page detection module detects blank page, host side is replied after rapid generation corresponding informance;
C, if it is detected that not being blank page, carry out data transmission after carrying out error-correcting decoding;
D, final data is transmitted to host side.
Compared with prior art, the beneficial effects of the invention are as follows:The present invention does detection point in advance using blank page detection module Blank page data are discerned, gives up or omits normal post code or data transmission flow to appropriateness, used, reached with saving master control resource At raising master control overall data process efficiency purpose.
Description of the drawings
Fig. 1 is principle of the invention block diagram;
Fig. 2 is flow chart of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
- 2 are please referred to Fig.1, the present invention provides a kind of technical solution:A kind of sky for flash memory correlation main control end control device Page checking system, including main control chip 1 and flash memory storage assembly 2, the main control chip 1 is interior to be equipped with flash memory storage controller 3, institute It states and is equipped with writing unit 4 and reading unit 5 in flash memory storage controller 3, said write unit 4 and reading unit 5 are separately connected Flash memory storage assembly 2;Further include blank page detection module 6, the blank page detection module 6 is arranged in flash memory storage controller 3, institute It states blank page detection module 6 and connects reading unit 5.
In the present invention, blank page detection module detection method is as follows:
A, reading unit reads the content of flash memory storage assembly;By flash memory storage controller at least one yard of the flash memory storage group Word carries out low-density parity inspection decoding and obtains decoded code word and inspection result vector;
B, when the low-density parity inspection of an at least code word is decoded as successfully, by the judgement flash memory storage of flash memory storage controller Component is not blank page;
C, it when the low-density parity inspection of an at least code word is decoded as unsuccessfully, is counted in the inspection by flash memory storage controller Look into the bit quantity or count the bit quantity that position is 0 in the inspection result vector that position in result vector is 1;And according at this The bit quantity that position is 1 in inspection result vector, or according to the bit quantity that position is 0 in the inspection result vector, by flash memory Storage control judges whether flash memory storage assembly is blank page.
The blank page detection module that the present invention uses avoids wasting time to carry out with resource to recognize blank page data Normal data post code, and largely reduce the time loss for replying host side.
The application method of the present invention includes the following steps:
A, blank page detection module is sent to after the content of reading unit reading flash memory storage assembly to be detected;
If B, blank page detection module detects blank page, host side is replied after rapid generation corresponding informance;
C, if it is detected that not being blank page, carry out data transmission after carrying out error-correcting decoding;
D, final data is transmitted to host side.
In conclusion the present invention does detection in advance using blank page detection module tells blank page data, to appropriate house Normal post code or data transmission flow are abandoned or omitted, to save the use of master control resource, reaches and improves master control overall data process effect Rate purpose.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with Understanding without departing from the principles and spirit of the present invention can carry out these embodiments a variety of variations, modification, replace And modification, the scope of the present invention is defined by the appended.

Claims (4)

1. a kind of blank page checking system for flash memory correlation main control end control device, including main control chip(1)It is stored with flash memory Component(2), it is characterised in that:The main control chip(1)It is interior to be equipped with flash memory storage controller(3), the flash memory storage controller (3)It is interior to be equipped with writing unit(4)And reading unit(5), said write unit(4)And reading unit(5)It is separately connected flash memory storage Deposit component(2).
2. a kind of blank page checking system for flash memory correlation main control end control device according to claim 1, feature It is:It further include blank page detection module(6), the blank page detection module(6)It is arranged in flash memory storage controller(3)In, it is described Blank page detection module(6)Connect reading unit(5).
3. a kind of blank page checking system for flash memory correlation main control end control device according to claim 2, feature It is:The blank page detection module detection method is as follows:
A, reading unit reads the content of flash memory storage assembly;By flash memory storage controller at least one yard of the flash memory storage group Word carries out low-density parity inspection decoding and obtains decoded code word and inspection result vector;
B, when the low-density parity inspection of an at least code word is decoded as successfully, by the judgement flash memory storage of flash memory storage controller Component is not blank page;
C, it when the low-density parity inspection of an at least code word is decoded as unsuccessfully, is counted in the inspection by flash memory storage controller Look into the bit quantity or count the bit quantity that position is 0 in the inspection result vector that position in result vector is 1;And according at this The bit quantity that position is 1 in inspection result vector, or according to the bit quantity that position is 0 in the inspection result vector, by flash memory Storage control judges whether flash memory storage assembly is blank page.
4. realizing a kind of user of blank page checking system for flash memory correlation main control end control device described in claim 1 Method, it is characterised in that:Include the following steps:
A, blank page detection module is sent to after the content of reading unit reading flash memory storage assembly to be detected;
If B, blank page detection module detects blank page, host side is replied after rapid generation corresponding informance;
C, if it is detected that not being blank page, carry out data transmission after carrying out error-correcting decoding;
D, final data is transmitted to host side.
CN201810395345.XA 2018-04-27 2018-04-27 A kind of blank page checking system for flash memory correlation main control end control device Pending CN108762974A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810395345.XA CN108762974A (en) 2018-04-27 2018-04-27 A kind of blank page checking system for flash memory correlation main control end control device
PCT/CN2018/105885 WO2019205453A1 (en) 2018-04-27 2018-09-15 Blank page inspection system for flash memory related master control terminal control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810395345.XA CN108762974A (en) 2018-04-27 2018-04-27 A kind of blank page checking system for flash memory correlation main control end control device

Publications (1)

Publication Number Publication Date
CN108762974A true CN108762974A (en) 2018-11-06

Family

ID=64012462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810395345.XA Pending CN108762974A (en) 2018-04-27 2018-04-27 A kind of blank page checking system for flash memory correlation main control end control device

Country Status (2)

Country Link
CN (1) CN108762974A (en)
WO (1) WO2019205453A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020118941A1 (en) * 2018-12-09 2020-06-18 江苏华存电子科技有限公司 Method used for main flash memory hardware automatically and quickly generating flash memory interface signal sequence

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150124A (en) * 2013-01-29 2013-06-12 深圳市硅格半导体有限公司 Method and device for solving SD (Secure Digital) protocol overtime problem
CN103226528A (en) * 2012-01-31 2013-07-31 上海华虹集成电路有限责任公司 Multi-channel Nandflash controller
CN104299637A (en) * 2013-07-17 2015-01-21 慧荣科技股份有限公司 Flash memory device and operation method thereof
CN106847342A (en) * 2016-03-28 2017-06-13 威盛电子股份有限公司 Nonvolatile memory device and empty page detection method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103226528A (en) * 2012-01-31 2013-07-31 上海华虹集成电路有限责任公司 Multi-channel Nandflash controller
CN103150124A (en) * 2013-01-29 2013-06-12 深圳市硅格半导体有限公司 Method and device for solving SD (Secure Digital) protocol overtime problem
CN104299637A (en) * 2013-07-17 2015-01-21 慧荣科技股份有限公司 Flash memory device and operation method thereof
CN106847342A (en) * 2016-03-28 2017-06-13 威盛电子股份有限公司 Nonvolatile memory device and empty page detection method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020118941A1 (en) * 2018-12-09 2020-06-18 江苏华存电子科技有限公司 Method used for main flash memory hardware automatically and quickly generating flash memory interface signal sequence

Also Published As

Publication number Publication date
WO2019205453A1 (en) 2019-10-31

Similar Documents

Publication Publication Date Title
CN104583977B (en) The compression of the memory block of main frame auxiliary
US8560926B2 (en) Data writing method, memory controller and memory storage apparatus
US9324435B2 (en) Data transmitting method, memory control circuit unit and memory storage apparatus
US9208021B2 (en) Data writing method, memory storage device, and memory controller
US8732385B2 (en) Non-volatile memory, controller controlling next access
CN102375788A (en) Dynamic allocation of power budget for a system having non-volatile memory
US20120173955A1 (en) Data writing and reading method, and memory controller and memory storage apparatus using the same
CN103699344A (en) Nonvolatile memory device and method of operating the same
TWI495998B (en) Data management method, memory controller and memory storage device
CN106920575B (en) Data storage device and operation method thereof
US9164837B2 (en) Transfer unit management
US20110271032A1 (en) Access device and memory controller
CN111880749B (en) Data reading method, memory storage device and memory control circuit unit
CN110333770A (en) Storage management method, memory storage apparatus and memorizer control circuit unit
CN109117383A (en) Method for managing flash memory module and flash memory controller
CN105308575A (en) Method and device for error correcting code (ECC) error handling
CN108073364A (en) Data method in a kind of array of data protection and reparation flash memory
CN103064800A (en) Power failure protection system and implementation method thereof
CN104182293A (en) Data writing method, memory storage device and memory controller
CN109710546A (en) A kind of multi-bank flash-memory controller based on field programmable gate array
CN108762974A (en) A kind of blank page checking system for flash memory correlation main control end control device
US20200125285A1 (en) Memory system and operating method thereof
US20140223076A1 (en) Controlling method, connector, and memory storage device
CN110277124A (en) Storage system and its operating method with hybrid decoding scheme
TW202205084A (en) Data reading method, memory storage device and memory control circuit unit

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106

RJ01 Rejection of invention patent application after publication