The present invention provides a solid-state hard disk power down protection method and device, including: power monitoring module, the main power for the detection of SSD and second power supply is out of power; switching module for main power to the power monitoring module detects the power down, by the main power supply switch to second power solid-state hard drive power supply, if the voltage the detection power detection module to the second power supply is lower than the threshold voltage, the second switch to a backup power source for solid-state hard power, after the power supply time set, cut off the power supply of ssd. When the power supply monitoring module detects that the power supply is restored to power supply, the second power supply and the standby power supply are switched to the main power supply for the solid state hard disk power supply. The technical scheme based on the implementation of this law cases, when the main power supply is abnormal after power off, the SSD power supply standby power, solves the main power supply is normal shutdown or abnormal power down to distinguish the problem. In the normal shutdown, no need to open the standby power supply to protect the standby power supply life.
【技术实现步骤摘要】
本专利技术涉及一种固态硬盘掉电保护方法及装置。
技术介绍
掉电保护技术上指在正常供电电源掉电时,迅速用备用电源为存储设备供电,以保证在一段时间内存储设备的数据不会丢失,当主电源回复供电时,又自动切换为主电源供电。对于固态硬盘来说,需要掉电保护的数据往往是写入数据,对数据具有高可靠性要求的系统在主电源异常掉电后,需要使用不间断电源(Uninterruptible Power Supply,检测UPS)继续为系统供电。例如,主电源异常掉电后由备用电源为内存控制器及非易失性内存供电,从而避免内存数据丢失。在现有技术中,中国专利申请号201010180476.X专利技术公开了一种固态硬盘掉电保护方法及装置,该方法包括:检测到固态硬盘掉电,并由工作电源切换到预先设置的储能装置为固态硬盘供电;在储能装置为固态硬盘供电期间,将固态硬盘正在读写的数据保存到硬盘;检测到工作电源恢复供电,并由储能装置切换到工作电源为固态硬盘供电。中国专利申请号200910091174.2专利技术公开了另一种固态硬盘掉电保护方法、装置及系统,包括:获取第一超级电容模块的自行放电时间;当所述自行放电时间小于预设值时,发送第二超级电容放电至充放电电路以接通第二超级模块放电回路,由第二超级电容模块为固态硬盘供电。现有技术均采用超级电容作为备用电源的储能设备,但是没有对固态硬盘正常关机和异常掉电进行区分,这就导致每次开关机都会对超级电容进行充放电,这样会大大缩短超级电容的使用寿命;另外,对于固态硬盘掉电保护,要求的时间只要足够将固态硬盘缓存中的数据写入flash中即可,所以掉电保护的时间应该可调,以 ...
【技术保护点】
本专利技术提供一种固态硬盘掉电保护方法及装置,用以解决现有技术对超级电容多次反复充放电而严重影响超级电容寿命的问题。
【技术特征摘要】
1.本发明提供一种固态硬盘掉电保护方法及装置,用以解决现有技术对超级电容多次反复充放电而严重影响超级电容寿命的问题。2.本发明提供一种固态硬盘掉电保护方法,包括:检测到固态硬盘的主电源电压低于设定阈值电压时,由主电源切换到第二电源为固态硬盘供电,经过设定的供电时间后,切断第二电源给固态硬盘供电。检测到第二电源电压低于设定阈值电压时,切换至备用电源为固态硬盘供电,经过设定的供电时间后,切断备用电源给固态硬盘供电。在第二电源和备用电源为固态硬盘供电期间,将固态硬盘正在读写的数据保存到flash...
【专利技术属性】
技术研发人员:白琮,
申请(专利权)人:苏州韦科韬信息技术有限公司,
类型:发明
国别省市:江苏;32
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。