CN109684883A - A kind of flash disk storage appts and method - Google Patents

A kind of flash disk storage appts and method Download PDF

Info

Publication number
CN109684883A
CN109684883A CN201811599485.5A CN201811599485A CN109684883A CN 109684883 A CN109684883 A CN 109684883A CN 201811599485 A CN201811599485 A CN 201811599485A CN 109684883 A CN109684883 A CN 109684883A
Authority
CN
China
Prior art keywords
flash disk
power
data
period
environmental temperature
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
CN201811599485.5A
Other languages
Chinese (zh)
Other versions
CN109684883B (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.)
Sage Microelectronics Corp
Original Assignee
Sage Microelectronics Corp
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 Sage Microelectronics Corp filed Critical Sage Microelectronics Corp
Priority to CN201811599485.5A priority Critical patent/CN109684883B/en
Publication of CN109684883A publication Critical patent/CN109684883A/en
Application granted granted Critical
Publication of CN109684883B publication Critical patent/CN109684883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/79Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/81Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer by operating on the power supply, e.g. enabling or disabling power-on, sleep or resume operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The application discloses a kind of flash disk storage appts, comprising: temperature sensor module, for obtaining current environmental temperature;Controller module, for calculating the power on/off period of flash disk according to the current environmental temperature;Power module, for being powered to the flash disk when the power-off time of the flash disk reaches the power on/off period;The controller module is also used to when the power-off time of the flash disk reaches the power on/off period, carries out data maintenance processing to the data in the flash disk.Above scheme can solve long-time no power and temperature is excessively high leads to flash disk error in data or even the problem of lose.

Description

A kind of flash disk storage appts and method
Technical field
This application involves field of data storage more particularly to a kind of flash disk storage appts and methods.
Background technique
Flash disk, such as USB disk, SATA solid state hard disk, PCIe solid state hard disk, SAS solid state hard disk, have been widely used at present In the markets such as military project, industry control, civilian, with the storage mode of flash media instead of original electromagnetism storage mode, shockproof anti- It falls, storage speed, power consumption etc. have significant achievement.But the working mechanism based on flash disk is applied to and saves Environment suffers from certain requirement.Since flash media is when reading data, need by judging that (flash memory is basic to be deposited each lattice Storage unit) in whether have electricity, to read the binary data of " 0 " or " 1 ", the electricity in long-time no power, in lattice Son may overflow, and influence the voltage in lattice, so that " 1 " data of script be made to be erroneously identified into data " 0 ", ultimately cause number According to loss or damage, therefore flash disk cannot long-time no power.If ambient enviroment is ideal, the solid state hard disk of consumer level is not Data can be kept for 2 years in the case where energization;But if being enterprise-level solid state hard disk, the validity period of data just only has 4 Month.And as temperature increases, electrons are quickly fled from from floating gate, and the voltage status for eventually resulting in lattice element changes Become, causes data unreadable, data retention over time can shorten again.If being powered off suddenly in addition, flash disk is met in use, Also result in the loss of data.
The prior art carries out energy storage by increasing super capacitor or battery module on solid state hard disk mainboard, avoids disconnected suddenly Conductance causes loss of data;By optimizing the voltage detecting and data error correction algorithm (such as flash algorithm) of hard disk master control, in short-term The interior hard disk being not powered on carries out internal maintenance when re-powering;For needing to carry out the data of cold storage usually only for a long time It is saved with mechanical hard disk, or periodically flash disk is safeguarded by artificial, to ensure the integrality of flash disk internal data.
However, there are still many problems for the above-mentioned prior art: in normally switching on and shutting down in use, flash algorithm can be protected Voltage stabilization in lattice is demonstrate,proved, is not powered in the short time (a few weeks), after powered up, hard disk master control also may be implemented to lattice voltage Intelligent measurement and error correction algorithm, but work as hard disk in (several months or even several years) cold situation for a long time, data entanglement The original error correcting capability of hard disk can be exceeded, to cause the irreversible mistake of hard disc data;Manually periodically to the maintenance of flash disk Additional human resources are needed, the human cost of maintenance flash disk is increased;And the power supply system of existing control hard disk power-on and power-off System usually requires connection computer, and increases the hardware cost of maintenance flash disk.
Summary of the invention
The application provides a kind of flash disk storage appts, periodically powers automatically to flash disk and carries out data maintenance, simultaneously The power on/off period can be adjusted according to environment temperature, to solve long-time no power and temperature is excessively high causes flash disk data wrong The problem of accidentally even losing.
To solve the above-mentioned problems, the application adopts the following technical solutions:
A kind of flash disk storage appts, comprising: temperature sensor module, for obtaining current environmental temperature;Controller mould Block, for calculating the power on/off period of flash disk according to the current environmental temperature;Power module, for when the flash disk When power-off time reaches the power on/off period, the flash disk is powered;The controller module is also used to when described When the power-off time of flash disk reaches the power on/off period, data maintenance processing is carried out to the data in the flash disk.
Preferably, the controller module, for calculating the power on/off period of flash disk according to the current environmental temperature, It include: to shorten the power on/off period when the current environmental temperature is higher;When the current environmental temperature is lower, prolong The long power on/off period.
Preferably, the controller module, for when the power-off time of the flash disk reaches the power on/off period, Data maintenance processing is carried out to the data in the flash disk, comprising: read the data in the flash disk, then by the data Re-write the flash disk.
Preferably, the power module, it is right for when the power-off time of the flash disk reaches the power on/off period The flash disk is powered, comprising: external power supply power supply or internal battery power supply.
Preferably, the controller module, is also used to monitoring duty;Described device further includes indicating lamp module, is used In the display working condition.
A kind of flash disk keeping method characterized by comprising obtain current environmental temperature;According to the current environment The power on/off period of temperature computation flash disk;When the power-off time of the flash disk reaches the power on/off period, to described Flash disk is powered, and carries out data maintenance processing to the data in the flash disk.
Preferably, the power on/off period that flash disk is calculated according to the current environmental temperature, comprising: when described current When environment temperature is higher, shorten the power on/off period;When the current environmental temperature is lower, extend the power on/off week Phase.
Preferably, the data in the flash disk carry out data maintenance processing, comprising: read in the flash disk Data, then the data are re-write into the flash disk.
Preferably, described that the flash disk is powered, comprising: external power supply power supply or internal battery power supply.
Preferably, the method also includes monitoring duties;Show the working condition.
The application use at least one above-mentioned technical solution can reach it is following the utility model has the advantages that
Flash disk storage appts disclosed in the present application and method, by periodically powering to flash disk and periodic maintenance number According to realizing the power on/off of flash disk and the automation of data maintenance, saved human resources, ensured that the data of flash disk can By property;The power on/off period is calculated according to Current Temperatures, realizes and varies with temperature the adjustment power on/off period, avoid temperature It increases and influences data preservation, while having saved energy consumption when temperature is lower.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is the structural schematic diagram of flash disk storage appts provided by the embodiments of the present application;
Fig. 2 is the flow diagram of flash disk keeping method provided by the embodiments of the present application.
Description of symbols:
1- flash disk storage appts, 2- flash disk, 101- temperature sensor module, 102- controller module, 103- power supply Module, 104- Timer module, 105- indicating lamp module, 106- interface module.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
Referring to FIG. 1, a kind of structural schematic diagram of flash disk storage appts 1 disclosed in the embodiment of the present application, comprising:
Temperature sensor module 101, for obtaining current environmental temperature;
Controller module 102, for calculating the power on/off period of flash disk according to the current environmental temperature;
Specifically, the power on/off period is calculated according to the current environmental temperature, comprising: when the current environmental temperature is higher When, shorten the power on/off period;When the current environmental temperature is lower, extend the power on/off period.
Power module 103, for when the power-off time of the flash disk reaches the power on/off period, to the flash memory Disk is powered;
The controller module 102, also when the power-off time of the flash disk reaches the power on/off period, to described Data in flash disk carry out data maintenance processing.
Specifically, described device can also include Timer module 104, carry out for the power-off time to the flash disk Timing;
Specifically, it includes: to read in the flash disk that the data in the flash disk, which carry out data maintenance processing, Data, then the data are re-write into the flash disk.
Flash disk storage appts 1 can also include interface module 106, and controller module 102 is read by interface module 106 Data in the flash disk, then the data are re-write by the flash disk by interface module 106.Interface module 106 Including one or more data-interfaces, support the reading data to one or more flash disks and re-write, ensure one or The data reliability of multiple flash disks.
Specifically, the flash disk is powered, including external power supply power supply or internal battery power supply.
Power module 103 may include internal battery, power supply circuit and voltage conversion circuit, and power module 103 further includes External power source interface.When external power supply (such as alternating current 220V) can power, external power supply is turned by power supply circuit and voltage The pressure stabilizing and voltage conversion for changing circuit, are powered flash disk;When external power supply can not power, internal battery passes through power supply The pressure stabilizing of circuit and voltage conversion circuit and voltage conversion, are powered flash disk.In this way, not being only the data dimension of flash disk Shield provides power supply and ensures, also effectively prevents corrupted data or loss caused by powering off suddenly.
Power module 103 can be powered flash disk by interface module 106, and interface module 106 can also include One or more power supply interfaces support the power supply to one or more flash disks.
Controller module 102, is also used to monitoring duty;The flash disk storage appts can also include indicator light mould Block 105, for showing the working condition.The working condition may include: the charged state of battery, the electricity feelings of battery Whether condition, flash disk are powered, by showing that corresponding state carries out human-computer interaction.
Referring to FIG. 2, the embodiment of the present application discloses a kind of flow diagram of flash disk keeping method.The flash memory of the application Disk keeping method supports a variety of flash memory disc-types, such as USB disk, SATA solid state hard disk, SAS solid state hard disk, PCIe solid state hard disk. Described method includes following steps:
Step S11 obtains current environmental temperature;
Step S12 calculates the power on/off period of flash disk according to the current environmental temperature;
Since high temperature can accelerate electronics the fleeing from from floating gate in flash media, the voltage status of lattice element is caused to change Become, keeps data unreadable, therefore temperature is higher, the data retention over time in flash disk is shorter.To solve the above-mentioned problems, this Shen The power on/off period please is calculated according to Current Temperatures, specifically: when the current environmental temperature is higher, shortening the power on/off week Phase;When the current environmental temperature is lower, extend the power on/off period.
Step S13 supplies the flash disk when the power-off time of the flash disk reaches the power on/off period Electricity, and data maintenance processing is carried out to the data in the flash disk.
Specifically, the data in the flash disk carry out data maintenance processing, comprising: read in the flash disk Data, then the data are re-write into the flash disk.
Specifically, described that the flash disk is powered, including external power supply power supply or internal battery power supply.When external When power supply can not power, powered by internal battery to flash disk, the data maintenance of only flash disk does not provide power supply and ensures, Also corrupted data or loss caused by powering off suddenly are effectively prevented.
The flash disk keeping method of the application can support the power supply and data maintenance to one or more flash disks, ensure The data reliability of one or more flash disks.
The flash disk keeping method of the application can also include step S14, monitoring duty;Show the work shape State.The working condition may include: whether the charged state of battery, the charge condition of battery, flash disk are powered, by aobvious Show that corresponding state carries out human-computer interaction.
Herein, as long as the technical characteristic non-contradiction in each preferred embodiment can combine to form scheme, these schemes In range disclosed in the present application.
Herein, only emphasis describes the difference with other preferred embodiments, each preferred embodiment to each preferred embodiment As long as not conflicting, can any combination, embodiment is formed by after combination also within scope disclosed in this specification, is examined It is succinct to consider text, is individually described with regard to being no longer formed by embodiment to combination herein.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (10)

1. a kind of flash disk storage appts characterized by comprising temperature sensor module, for obtaining current environmental temperature; Controller module, for calculating the power on/off period of flash disk according to the current environmental temperature;Power module, for when described When the power-off time of flash disk reaches the power on/off period, the flash disk is powered;The controller module, is also used In when the power-off time of the flash disk reaches the power on/off period, data maintenance is carried out to the data in the flash disk Processing.
2. device as described in claim 1, which is characterized in that the controller module, for according to the current environment temperature Degree calculates the power on/off period of flash disk, comprising: when the current environmental temperature is higher, shortens the power on/off period;When When the current environmental temperature is lower, extend the power on/off period.
3. device as described in claim 1, which is characterized in that the controller module, for working as the power-off of the flash disk When time reaches the power on/off period, data maintenance processing is carried out to the data in the flash disk, comprising: read the sudden strain of a muscle Data in deposit, then the data are re-write into the flash disk.
4. device as described in claim 1, which is characterized in that the power module, for when the power-off of the flash disk Between when reaching the power on/off period, the flash disk is powered, comprising: external power supply power supply or internal battery power supply.
5. device as described in claim 1, which is characterized in that the controller module is also used to monitoring duty;It is described Device further includes indicating lamp module, for showing the working condition.
6. a kind of flash disk keeping method characterized by comprising
Obtain current environmental temperature;The power on/off period of flash disk is calculated according to the current environmental temperature;
When the power-off time of the flash disk reaches the power on/off period, the flash disk is powered, and to described Data in flash disk carry out data maintenance processing.
7. method as claimed in claim 6, which is characterized in that described to calculate the logical of flash disk according to the current environmental temperature Power off periods, comprising: when the current environmental temperature is higher, shorten the power on/off period;When the current environmental temperature When lower, extend the power on/off period.
8. method as claimed in claim 6, which is characterized in that the data in the flash disk carry out at data maintenance Reason, comprising: read the data in the flash disk, then the data are re-write into the flash disk.
9. method as claimed in claim 6, which is characterized in that described to be powered to the flash disk, comprising: external power supply Power supply or internal battery power supply.
10. method as claimed in claim 6, which is characterized in that further include: monitoring duty;Show the working condition.
CN201811599485.5A 2018-12-26 2018-12-26 Flash disk storage device and method Active CN109684883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811599485.5A CN109684883B (en) 2018-12-26 2018-12-26 Flash disk storage device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811599485.5A CN109684883B (en) 2018-12-26 2018-12-26 Flash disk storage device and method

Publications (2)

Publication Number Publication Date
CN109684883A true CN109684883A (en) 2019-04-26
CN109684883B CN109684883B (en) 2021-07-20

Family

ID=66188389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811599485.5A Active CN109684883B (en) 2018-12-26 2018-12-26 Flash disk storage device and method

Country Status (1)

Country Link
CN (1) CN109684883B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339802A (en) * 2007-07-06 2009-01-07 深圳市研祥智能科技股份有限公司 Electronic hard disc and electronic apparatus
US7694188B2 (en) * 2007-02-05 2010-04-06 Microsoft Corporation Disk failure prevention and error correction
CN201607686U (en) * 2010-03-15 2010-10-13 浪潮电子信息产业股份有限公司 Device for permanently protecting data
CN102289414A (en) * 2010-06-17 2011-12-21 中兴通讯股份有限公司 Memory data protection device and method
CN102646176A (en) * 2011-02-17 2012-08-22 宏碁股份有限公司 Hard disk data protection system and protection method thereof
CN204461635U (en) * 2015-03-11 2015-07-08 河南师范大学 Based on solar powered high voltage bus wireless temperature monitoring device
CN104898480A (en) * 2015-04-30 2015-09-09 广州杰赛科技股份有限公司 Environment detection apparatus and power control method thereof, and emergency monitoring system
CN105511807A (en) * 2015-11-30 2016-04-20 杭州华澜微电子股份有限公司 Data storage management method and system based on storage equipment
CN107480526A (en) * 2017-07-31 2017-12-15 苏州巴吉特信息咨询有限公司 A kind of intelligent safety-type hard disk and its method of work
CN108777156A (en) * 2018-05-31 2018-11-09 郑州云海信息技术有限公司 A kind of flash memory data processing method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7694188B2 (en) * 2007-02-05 2010-04-06 Microsoft Corporation Disk failure prevention and error correction
CN101339802A (en) * 2007-07-06 2009-01-07 深圳市研祥智能科技股份有限公司 Electronic hard disc and electronic apparatus
CN201607686U (en) * 2010-03-15 2010-10-13 浪潮电子信息产业股份有限公司 Device for permanently protecting data
CN102289414A (en) * 2010-06-17 2011-12-21 中兴通讯股份有限公司 Memory data protection device and method
CN102646176A (en) * 2011-02-17 2012-08-22 宏碁股份有限公司 Hard disk data protection system and protection method thereof
CN204461635U (en) * 2015-03-11 2015-07-08 河南师范大学 Based on solar powered high voltage bus wireless temperature monitoring device
CN104898480A (en) * 2015-04-30 2015-09-09 广州杰赛科技股份有限公司 Environment detection apparatus and power control method thereof, and emergency monitoring system
CN105511807A (en) * 2015-11-30 2016-04-20 杭州华澜微电子股份有限公司 Data storage management method and system based on storage equipment
CN107480526A (en) * 2017-07-31 2017-12-15 苏州巴吉特信息咨询有限公司 A kind of intelligent safety-type hard disk and its method of work
CN108777156A (en) * 2018-05-31 2018-11-09 郑州云海信息技术有限公司 A kind of flash memory data processing method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HARRY Q. PON等: "《Reliability issues studied in Solid-State Drives》", 《2014 IEEE 6TH INTERNATIONAL MEMORY WORKSHOP (IMW)》 *
刘海銮: "《商密SM4在固态硬盘的应用研究》", 《中国优秀硕士学位论文全文数据库》 *
骆建军等: "《固态硬盘(SSD)控制器片上系统芯片(SOC)》", 《科技成果》 *

Also Published As

Publication number Publication date
CN109684883B (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN110058666B (en) Thermal monitoring of memory resources
KR101012445B1 (en) Semiconductor storage device
US9405356B1 (en) Temperature compensation in data storage device
US9372759B2 (en) Computing system with adaptive back-up mechanism and method of operation thereof
US8874839B2 (en) Electronic system and method and apparatus for saving data thereof
KR101952001B1 (en) Electronic system with storage drive life estimation mechanism and method of operation thereof
TW201135446A (en) Power management states
CN110488673B (en) Data processing module and data processing method in low power consumption mode
US10705901B2 (en) System and method to control memory failure handling on double-data rate dual in-line memory modules via suspension of the collection of correctable read errors
US20140233132A1 (en) Temperature-defined data-storage policy for a hybrid disk drive
CN110783970B (en) Charging method, device, charging terminal and computer readable storage medium
US11861186B2 (en) System and method for managing solid state storage devices in low temperature environment
US20150029032A1 (en) Ambient and processor temperature difference comparision
US20110093132A1 (en) Platform-independent thermal management of components in electronic devices
CN109684883A (en) A kind of flash disk storage appts and method
US10650879B2 (en) Device and method for controlling refresh cycles of non-volatile memories
US9904479B1 (en) Method for extending period of data retention of flash memory device and device for the same
US20190266036A1 (en) System and Method to Control Memory Failure Handling on Double-Data Rate Dual In-Line Memory Modules
CN103777893B (en) hard disk control method and device
US9520162B2 (en) DIMM device controller supervisor
CN112204514A (en) Techniques for preserving life expectancy of non-volatile memory
US10049957B2 (en) On-chip control of thermal cycling
US11847032B2 (en) Solid state drive, electronic device including solid state drive, and method of managing solid state drive
TWI692691B (en) Memory control device and memory control method
CN111158978A (en) Thermal protection system and method and memory

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