CN110765042A - Adaptive Nand Flash read-write speed adjusting method - Google Patents

Adaptive Nand Flash read-write speed adjusting method Download PDF

Info

Publication number
CN110765042A
CN110765042A CN201911005407.2A CN201911005407A CN110765042A CN 110765042 A CN110765042 A CN 110765042A CN 201911005407 A CN201911005407 A CN 201911005407A CN 110765042 A CN110765042 A CN 110765042A
Authority
CN
China
Prior art keywords
read
speed
write
temperature
control 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.)
Granted
Application number
CN201911005407.2A
Other languages
Chinese (zh)
Other versions
CN110765042B (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.)
Tianjin Jinhang Computing Technology Research Institute
Original Assignee
Tianjin Jinhang Computing Technology Research Institute
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 Tianjin Jinhang Computing Technology Research Institute filed Critical Tianjin Jinhang Computing Technology Research Institute
Priority to CN201911005407.2A priority Critical patent/CN110765042B/en
Publication of CN110765042A publication Critical patent/CN110765042A/en
Application granted granted Critical
Publication of CN110765042B publication Critical patent/CN110765042B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • 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/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention belongs to the technical field of memories, and particularly relates to a self-adaptive Nand Flash read-write speed adjusting method. Compared with the prior art, the method has the advantages that the read-write speed can be adjusted according to the external environment, the read-write speed and the correctness are guaranteed to the maximum extent, and the method is more suitable for the application of severe environment with large temperature change compared with the commonly adopted Nand-flash read-write method with single set speed. Therefore, the invention provides a method for dynamically adjusting the read-write speed of the Nand-flash along with the temperature change, which can ensure the correctness of data and the read-write efficiency to a certain extent.

Description

Adaptive Nand Flash read-write speed adjusting method
Technical Field
The invention belongs to the technical field of memories, and particularly relates to a self-adaptive Nand Flash read-write speed adjusting method.
Background
The Nand-Flash memory is one of Flash memories, adopts a nonlinear macro-unit mode inside the Nand-Flash memory, and provides a cheap and effective solution for realizing a solid-state large-capacity memory. The Nand-flash memory has the advantages of large capacity, high rewriting speed and the like, is suitable for storing a large amount of data, and is widely applied to the civil and military fields.
In some engineering test projects, besides the severe test environment, the test cost is very high, so that in order to save the test cost, the requirements on the reliability of test equipment are severe, and particularly, the requirements on the integrity and the correctness of test data are very high. The Nand-flash is the best choice for such applications due to its advantages of high speed, high storage density, shock resistance, etc. However, due to the structural characteristics and the manufacturing process limitations, errors exist in the Nand-flash application, and the data of the whole block or page is generally not invalid when an error occurs, but a single-bit or multi-bit error occurs in one page. In addition, the read-write performance of the Nand-flash is affected by environmental factors, the response speed of the Nand-flash after operation becomes slow along with the increase or decrease of the temperature, and if the Nand-flash is still read and written at a high speed, large-scale data errors may occur. Data of a single bit or a plurality of bits can be corrected through a corresponding error correction algorithm, but large-scale errors cannot be reasonably processed. Therefore, under the condition of high temperature or low temperature, in order to ensure the correctness of reading and writing, the corresponding reading and writing speed must be reduced. That is, in a relatively severe environment, the temperature change is relatively large, and the corresponding read-write speed needs to be adjusted according to the external temperature to ensure the correctness of data.
At the present stage, in order to maintain the correctness of data reading and writing under the conditions of low temperature and high temperature, when the Nand-flash reading and writing speed is set, a lower reading and writing speed which does not make mistakes under the high and low temperature environment is generally selected to ensure the correctness of reading and writing. However, the speed adopted at this time is only the speed under the ideal experiment condition, and the experiment condition and the environment condition in the practical application have a certain difference, and there is still a possibility that an error occurs when the actual reading and writing is performed under the speed condition.
Disclosure of Invention
Technical problem to be solved
The technical problem to be solved by the invention is as follows: how to provide a self-adaptive Nand Flash read-write speed adjusting method.
(II) technical scheme
In order to solve the technical problem, the invention provides a self-adaptive Nand Flash read-write speed adjusting method, which is implemented based on a read-write speed adjusting system, wherein the read-write speed adjusting system comprises: the device comprises a core control module, a read-write control module and a speed adjusting module; the read-write speed adjusting method comprises the following steps:
step 1: the read-write control module controls the Nand-flash to be read and written according to a conventional speed, and if the core control module detects that an error occurs, the current temperature is obtained through a temperature sensing device of the core control module;
step 2: if the temperature is unchanged, error correction algorithm is used for correcting data of single bit or a plurality of bits;
and step 3: if the temperature is changed indeed, the speed adjusting module adjusts the corresponding reading and writing speed to avoid large-scale data errors;
and 4, step 4: if the core control module still detects that a large-scale error occurs after the speed is adjusted, the speed adjusting module continues to reduce the reading and writing speed;
and 5: after a block of data is read/written, the core control module acquires the current temperature again to see whether the normal temperature is recovered, if the normal temperature is recovered, the speed is adjusted to be the conventional speed by the speed adjusting module, and if the normal temperature is still in the high-temperature or low-temperature environment, the current reading and writing speed is kept unchanged.
The core control module is used for sensing temperature change and detecting and correcting errors.
The read-write control module is used for completing normal read-write control.
The speed adjusting module is used for completing the adjusting function of the reading and writing speed along with the temperature change.
The plurality of modules are matched with each other, the read-write speed of the Nand-flash is adjusted according to the change of the external temperature, and correct and efficient read-write is guaranteed.
In step 1, after a page is read/written, the core control module performs error detection on corresponding data.
In the step 3, the speed is correspondingly reduced by 0.5M/S according to the regulation rule of the speed regulation module when the temperature is increased or reduced by ten degrees.
In step 4, after the speed adjustment is completed, the read-write control module starts to read and write according to the adjusted speed, after one page of read and write is completed, the core control module detects whether a large-scale error still occurs again, and if the large-scale error occurs, the speed is continuously reduced by the error adjustment module.
Wherein the continuing to decrease by the fault adjustment module decreases at intervals of 0.5M/S.
In step 5, if the temperature is still at a high temperature or a low temperature, the reading and writing are continued at the adjusted current speed, and the core control module performs the re-detection of the temperature after reading/writing one block of data each time.
(III) advantageous effects
Compared with the prior art, the method has the advantages that the read-write speed can be adjusted according to the external environment, the read-write speed and the correctness are guaranteed to the maximum extent, and the method is more suitable for the application of severe environment with large temperature change compared with the commonly adopted Nand-flash read-write method with single set speed. Therefore, the invention provides a method for dynamically adjusting the read-write speed of the Nand-flash along with the temperature change, which can ensure the correctness of data and the read-write efficiency to a certain extent.
Drawings
FIG. 1 is a flow chart of the technical solution of the present invention.
Detailed Description
In order to make the objects, contents, and advantages of the present invention clearer, the following detailed description of the embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.
In order to solve the technical problem, the invention provides a self-adaptive Nand Flash read-write speed adjusting method, which is implemented based on a read-write speed adjusting system, wherein the read-write speed adjusting system comprises: the device comprises a core control module, a read-write control module and a speed adjusting module; the read-write speed adjusting method comprises the following steps:
step 1: the read-write control module controls the Nand-flash to be read and written according to a conventional speed, and if the core control module detects that an error occurs, the current temperature is obtained through a temperature sensing device of the core control module;
step 2: if the temperature is unchanged, error correction algorithm is used for correcting data of single bit or a plurality of bits;
and step 3: if the temperature is changed indeed, the speed adjusting module adjusts the corresponding reading and writing speed to avoid large-scale data errors;
and 4, step 4: if the core control module still detects that a large-scale error occurs after the speed is adjusted, the speed adjusting module continues to reduce the reading and writing speed;
and 5: after a block of data is read/written, the core control module acquires the current temperature again to see whether the normal temperature is recovered, if the normal temperature is recovered, the speed is adjusted to be the conventional speed by the speed adjusting module, and if the normal temperature is still in the high-temperature or low-temperature environment, the current reading and writing speed is kept unchanged.
The core control module is used for sensing temperature change and detecting and correcting errors.
The read-write control module is used for completing normal read-write control.
The speed adjusting module is used for completing the adjusting function of the reading and writing speed along with the temperature change.
The plurality of modules are matched with each other, the read-write speed of the Nand-flash is adjusted according to the change of the external temperature, and correct and efficient read-write is guaranteed.
In step 1, after a page is read/written, the core control module performs error detection on corresponding data.
In the step 3, the speed is correspondingly reduced by 0.5M/S according to the regulation rule of the speed regulation module when the temperature is increased or reduced by ten degrees.
In step 4, after the speed adjustment is completed, the read-write control module starts to read and write according to the adjusted speed, after one page of read and write is completed, the core control module detects whether a large-scale error still occurs again, and if the large-scale error occurs, the speed is continuously reduced by the error adjustment module.
Wherein the continuing to decrease by the fault adjustment module decreases at intervals of 0.5M/S.
In step 5, if the temperature is still at a high temperature or a low temperature, the reading and writing are continued at the adjusted current speed, and the core control module performs the re-detection of the temperature after reading/writing one block of data each time.
Example 1
As shown in fig. 1, the embodiment of the present embodiment is as follows:
(1) after starting, firstly, the read-write control module reads and writes the Nand-flash at a conventional speed;
(2) after reading/writing one page, the core control module detects the error of the corresponding data;
(3) if the error occurs, the current temperature is obtained by a temperature sensing device of the core control module;
(4) if the temperature does not change, the core control module adopts an error correction algorithm to correct the error of a single bit or a plurality of bits;
(5) if the temperature changes, the reading and writing speed is adjusted by the speed adjusting module, and the speed is correspondingly reduced by 0.5M/S according to the adjusting rule when the temperature is increased or reduced by ten degrees;
(6) after the speed adjustment is finished, the read-write control module starts to read and write according to the adjusted speed, after one page of read-write is finished, the core control module detects whether large-scale errors still occur again, if the large-scale errors occur, the speed is continuously reduced by the error adjustment module, and the speed is reduced at an interval of 0.5M/S;
(7) if no error exists, reading and writing are carried out according to the current speed, if only single bit or a plurality of bit errors occur, error correction is carried out by the core control module, and reading and writing are carried out according to the current speed;
(8) after a block of data is read/written, the core control module detects the current temperature;
(9) if the temperature is recovered, the speed adjusting module changes the reading and writing speed to the conventional speed again for reading and writing;
(10) if the temperature is still at high temperature or low temperature, reading and writing are continuously carried out according to the speed, and the core control module carries out temperature re-detection after reading/writing one block of data each time.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A self-adaptive Nand Flash read-write speed adjusting method is characterized in that the read-write speed adjusting method is implemented based on a read-write speed adjusting system, and the read-write speed adjusting system comprises: the device comprises a core control module, a read-write control module and a speed adjusting module; the read-write speed adjusting method comprises the following steps:
step 1: the read-write control module controls the Nand-flash to be read and written according to a conventional speed, and if the core control module detects that an error occurs, the current temperature is obtained through a temperature sensing device of the core control module;
step 2: if the temperature is unchanged, error correction algorithm is used for correcting data of single bit or a plurality of bits;
and step 3: if the temperature is changed indeed, the speed adjusting module adjusts the corresponding reading and writing speed to avoid large-scale data errors;
and 4, step 4: if the core control module still detects that a large-scale error occurs after the speed is adjusted, the speed adjusting module continues to reduce the reading and writing speed;
and 5: after a block of data is read/written, the core control module acquires the current temperature again to see whether the normal temperature is recovered, if the normal temperature is recovered, the speed is adjusted to be the conventional speed by the speed adjusting module, and if the normal temperature is still in the high-temperature or low-temperature environment, the current reading and writing speed is kept unchanged.
2. The adaptive Nand Flash read-write speed adjustment method as claimed in claim 1, wherein the core control module is used for sensing temperature change and detecting and correcting errors.
3. The adaptive Nand Flash read-write speed adjustment method as claimed in claim 2, wherein the read-write control module is used for completing normal read-write control.
4. The adaptive Nand Flash read-write speed adjustment method as claimed in claim 3, wherein the speed adjustment module is used for completing the adjustment function of the read-write speed along with the temperature change.
5. The adaptive Nand Flash read-write speed adjustment method as claimed in claim 4, wherein the modules cooperate with each other to adjust the Nand-Flash read-write speed according to the change of the external temperature, thereby ensuring correct and efficient read-write.
6. The adaptive Nand Flash read-write speed adjustment method as claimed in claim 1, wherein in step 1, after a page is read/written, error detection of corresponding data is performed by a core control module.
7. The adaptive Nand Flash read-write speed adjustment method as claimed in claim 1, wherein in the step 3, the adjustment rule of the speed adjustment module is correspondingly reduced by 0.5M/S every time the temperature is increased or reduced by ten degrees.
8. The adaptive Nand Flash read-write speed adjustment method as claimed in claim 1, wherein in the step 4, after the speed adjustment is completed, the read-write control module starts to perform read-write according to the adjusted speed, after the read-write of one page is completed, the core control module detects again whether a large-scale error still occurs, and if the large-scale error occurs, the speed is continuously reduced by the error adjustment module.
9. The adaptive Nand Flash read-write speed adjustment method as claimed in claim 8, wherein the continuing to decrease the speed by the error adjustment module is at an interval of 0.5M/S.
10. The adaptive Nand Flash read-write speed adjustment method as claimed in claim 1, wherein in the step 5, if the temperature is still at high temperature or low temperature, the read-write is continued according to the adjusted current speed, and the core control module performs the re-detection of the temperature after reading/writing one block of data each time.
CN201911005407.2A 2019-10-22 2019-10-22 Self-adaptive Nand Flash read-write speed adjusting method Active CN110765042B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911005407.2A CN110765042B (en) 2019-10-22 2019-10-22 Self-adaptive Nand Flash read-write speed adjusting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911005407.2A CN110765042B (en) 2019-10-22 2019-10-22 Self-adaptive Nand Flash read-write speed adjusting method

Publications (2)

Publication Number Publication Date
CN110765042A true CN110765042A (en) 2020-02-07
CN110765042B CN110765042B (en) 2023-06-09

Family

ID=69332567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911005407.2A Active CN110765042B (en) 2019-10-22 2019-10-22 Self-adaptive Nand Flash read-write speed adjusting method

Country Status (1)

Country Link
CN (1) CN110765042B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395145A (en) * 2020-11-16 2021-02-23 杭州安恒信息技术股份有限公司 Method and device for testing system stability

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101067968A (en) * 2007-04-29 2007-11-07 北京中星微电子有限公司 Apparatus and method for adaptive controlling flash storage interface reading and writing speed
US20100023678A1 (en) * 2007-01-30 2010-01-28 Masahiro Nakanishi Nonvolatile memory device, nonvolatile memory system, and access device
CN105824582A (en) * 2016-03-28 2016-08-03 联想(北京)有限公司 Information processing method and electronic equipment
CN107643955A (en) * 2016-07-27 2018-01-30 中电海康集团有限公司 A kind of method and Nonvolatile memory structure based on error correction write-back skill upgrading nonvolatile storage performance
CN108052414A (en) * 2017-12-28 2018-05-18 湖南国科微电子股份有限公司 A kind of method and system for promoting SSD operating temperature ranges
CN109358984A (en) * 2018-09-17 2019-02-19 至誉科技(武汉)有限公司 The storage device of data recovery is carried out using temperature equalization data reconstruction method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100023678A1 (en) * 2007-01-30 2010-01-28 Masahiro Nakanishi Nonvolatile memory device, nonvolatile memory system, and access device
CN101067968A (en) * 2007-04-29 2007-11-07 北京中星微电子有限公司 Apparatus and method for adaptive controlling flash storage interface reading and writing speed
CN105824582A (en) * 2016-03-28 2016-08-03 联想(北京)有限公司 Information processing method and electronic equipment
CN107643955A (en) * 2016-07-27 2018-01-30 中电海康集团有限公司 A kind of method and Nonvolatile memory structure based on error correction write-back skill upgrading nonvolatile storage performance
CN108052414A (en) * 2017-12-28 2018-05-18 湖南国科微电子股份有限公司 A kind of method and system for promoting SSD operating temperature ranges
CN109358984A (en) * 2018-09-17 2019-02-19 至誉科技(武汉)有限公司 The storage device of data recovery is carried out using temperature equalization data reconstruction method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112395145A (en) * 2020-11-16 2021-02-23 杭州安恒信息技术股份有限公司 Method and device for testing system stability

Also Published As

Publication number Publication date
CN110765042B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
CN111381999B (en) Error correction in row hammer mitigation and target row refresh
US20240005988A1 (en) Nonvolatile memory and writing method
CN102165533B (en) Semiconductor memory device
US10459794B2 (en) Memory systems having extended product lifetime and methods of operating the same
US9817711B2 (en) Memory controller
US8935466B2 (en) Data storage system with non-volatile memory and method of operation thereof
US9886340B2 (en) Memory system and method for error correction of memory
KR101543245B1 (en) Error correcting device memory device and data processing system including the same
US10803919B2 (en) Memory controller for controlling refresh operation and memory system including the same
US9478298B2 (en) Memory system and method of reading data thereof
US20080181021A1 (en) Memory module and method employing a multiplexer to replace a memory device
US8996964B2 (en) Nonvolatile memory device and related read method using hard and soft decision decoding
CN104932951B (en) A kind of nand flash memory occur ECC can not error correction when data reconstruction method
CN110765041B (en) Self-adaptive Nand Flash read-write speed adjusting system
US20150310920A1 (en) Storage device, memory controller and memory control method
US8924774B2 (en) Semiconductor memory device and method for operating the same
CN110765042B (en) Self-adaptive Nand Flash read-write speed adjusting method
US20170052839A1 (en) Memory system
CN110058955B (en) Memory with error correction function and related memory system
US11733911B2 (en) Storage device and storage device management method
US11528038B2 (en) Content aware decoding using shared data statistics
US11557350B2 (en) Dynamic read threshold calibration
CN113625947B (en) Data error correction method, device, equipment and computer readable storage medium
CN116610254A (en) Method and system for reducing flash memory read time consumption
CN117912530A (en) Rereading realization method and device based on NAND failure and computer equipment

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
GR01 Patent grant
GR01 Patent grant