The invention discloses a memory card power down protection method and device, the method includes terminal or interval to memory card memory card to send data; terminal send data feedback response data; terminal according to the response data to judge whether memory cards for storage terminal on working condition; in the work state of the continuous power supply card. The apparatus includes a storage terminal and terminal built-in card terminal includes a memory card for sending and receiving card feedback response data of the first data transceiver unit, according to the response data to determine whether memory cards for the working state of the judging unit and used to work in a state of continuous power supply unit of the memory card the memory card comprises a memory module; and the terminal for receiving the data sent to the terminal, feedback in response to the second data transceiver unit data. Through the technical proposal, the invention provides a more complete method and device for preventing the power loss of the memory card.
【技术实现步骤摘要】
一种存储卡防掉电方法及装置
本专利技术涉及存储卡领域,尤其涉及一种存储卡防掉电方法及装置。
技术介绍
手机、PAD、数码相机、音频播放器等终端的应用越来越广泛,终端本身的存储空间有限,为了扩展存储空间,通常在终端中设置SD、CF、TF等存储卡,以手机为例,手机在待机状态下,为了省电,通常以低功耗的模式运行必要的程序,关闭其它不必要程序,如内置存储卡,此时,内置存储卡处于掉电状态,存储卡的支付功能无法正常应用,给用户的支付应用带来不便。目前解决存储卡掉电问题的方法以下两种:其一,重新定制终端的电源管理方案,保证任何时刻终端给存储卡持续供电,该方法导致终端功耗较大,终端电池续航时间大大缩短,此外还可能增加终端的生产成本。其二,在终端休眠状态时,通过用户手动操作唤醒存储卡,如手机待机状态时,用户手动点亮手机屏幕,唤醒存储卡,该方法唤醒存储卡之后,终端也被唤醒,导致功耗较大,而且需要用户手动操作,不够智能。
技术实现思路
本专利技术提供一种更加完善的存储卡防掉电方法及装置。该存储卡防掉电方法包括:终端持续或间隔性向存储卡发送数据;存储卡对终端发送的数据反馈响应数据;终端根据该响应数据判断存储卡是否为工作状态;终端对处于工作状态的存储卡持续供电。进一步,终端持续或间隔性向存储卡发送数据的方法可以包括:终端预先在存储卡创建文件,终端持续或间隔性向该文件写入命令数据。进一步,存储卡对终端发送的数据反馈响应数据的方法可以包括:存储卡对终端持续或间隔性发送的数据进行识别;若该数据是终端专为防掉电而定义的数据,则存储卡省去将该数据写入存储模块的操作,直接向终端反馈响应数据;否则存 ...
【技术保护点】
一种存储卡防掉电方法,其特征在于,包括:终端持续或间隔性向存储卡发送数据;所述终端接收所述存储卡对所述数据反馈的响应数据;所述终端根据接收到所述响应数据,或者所述终端根据在预设时间阈值内接收到所述响应数据,判断所述存储卡处于工作状态;所述终端对处于工作状态的所述存储卡持续供电。
【技术特征摘要】
1.一种存储卡防掉电方法,其特征在于,包括:终端持续或间隔性向存储卡发送数据;所述终端接收所述存储卡对所述数据反馈的响应数据;所述终端根据接收到所述响应数据,或者所述终端根据在预设时间阈值内接收到所述响应数据,判断所述存储卡处于工作状态;所述终端对处于工作状态的所述存储卡持续供电。2.如权利要求1所述的方法,其特征在于,所述终端持续或间隔性向存储卡发送数据的方法包括:所述终端预先在所述存储卡创建文件,终端持续或间隔性向所述文件写入命令数据。3.如权利要求1所述的方法,其特征在于,所述终端接收所述存储卡对所述数据反馈的响应数据包括:所述终端接收所述存储卡对所述终端持续或间隔性发送的数据进行识别后反馈的响应数据;其中,若所述数据是所述终端专为防掉电而定义的数据,则所述响应数据是存储卡直接向终端反馈的数据,否则在反馈所述响应数据时,所述存储卡还将所述数据写入存储模块。4.如权利要求1至3任一项所述的方法,其特征在于,所述存储卡为SD、CF、TF中的一种。5.如权利要求1至3任一项所述的方法,其特征在于,所述终端为移动终端。6.一种存储卡防掉电装置,其特征在于,包括终端和内置于终端中的存储卡,其中,所述终端包括第一数据收发...
【专利技术属性】
技术研发人员:刘凤,赵云海,王建,
申请(专利权)人:国民技术股份有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。