发明名称 Method and device for reading and writing a memory card
摘要 The present invention discloses a method and device for reading a memory card comprising a primary partition and at least one backup partition. The method comprises the following steps that: after writing a first file into the primary partition of the memory card, a read/write device writes the first file into the at least one back partition; and when reading a second file from the memory card, the read/write device reads the second file from the at least one backup partition or from the primary partition if an error occurs in the reading of the second file from the backup partition. The method and device provided herein address the problems existing in the prior art that an embedded system is unstable because of the low error tolerance of a memory card.
申请公布号 US8775866(B2) 申请公布日期 2014.07.08
申请号 US201013375741 申请日期 2010.05.25
申请人 ZTE Corporation 发明人 Sun Shiyou
分类号 G06F11/00 主分类号 G06F11/00
代理机构 Knobbe, Martens, Olson & Bear, LLP 代理人 Knobbe, Martens, Olson & Bear, LLP
主权项 1. A method for reading and writing a memory card, wherein the memory card comprises a primary partition and at least one backup partition, and the method comprises the following steps: when a read/write device writing a first file into the memory card, after writing the first file into the primary partition of the memory card, writing the first file into the at least one backup partition; and when reading a second file from the memory card, the read/write device reading the second file from the at least one backup partition; if the reading of the second file from the backup partition being erroneous, then reading the second file from the primary partition, wherein if a hardware error occurs in the reading of the second file from the backup partition, reading the second file from the primary partition comprises: reporting a severe alarm when a hardware error occurs in the reading of the second file from the primary partition.
地址 Shenzhen CN