一种数据写入的方法和装置制造方法及图纸

技术编号:17352102 阅读:36 留言:0更新日期:2018-02-25 22:44
一种数据写入的方法和装置,属于计算机技术领域。所述方法包括:当检测到电子设备的工作模式发生切换后,确定电子设备当前的工作模式,工作模式包括待机模式和运行模式(501);根据预先存储的工作模式与电子设备的非易失性存储器NVM的数据写入参数的对应关系,确定电子设备当前的工作模式对应的目标数据写入参数,其中,以待机模式对应的数据写入参数写入NVM的数据在NVM中的数据保持时长大于以运行模式对应的数据写入参数写入NVM的数据在NVM中的数据保持时长(502);以目标数据写入参数,将待写入数据写入NVM中(503)。采用所述方法,可以降低NVM的功耗。

A method and device for data writing

A method and device for writing data, which belongs to the field of computer technology. The method includes: when the detected electronic equipment working mode switch, determine the working mode of electronic equipment at present, work mode includes a standby mode and operation mode; (501) according to the working mode of electronic equipment and the corresponding relationship between the pre stored non volatile memory NVM data to determine the target data parameters. The working mode of electronic equipment corresponding to current writing parameters, the data in the standby mode corresponding to the data write write parameters to the NVM data in the NVM to keep longer than that in the operation mode corresponding to the parameter data is written to write data into the NVM data in NVM keep long (502); write parameters to target data and the writing data to be written into the NVM (503). Using the method described, the power consumption of NVM can be reduced.

【技术实现步骤摘要】
【国外来华专利技术】PCT国内申请,说明书已公开。

【技术保护点】
PCT国内申请,权利要求书已公开。

【技术特征摘要】
【国外来华专利技术】PCT国内申请,...

【专利技术属性】
技术研发人员:方运潭王元钢徐君
申请(专利权)人:华为技术有限公司
类型:发明
国别省市:广东,44

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1