US 11,914,895 B2
Method for updating stored information and apparatus
Wai Kong Raymond Leung, Shenzhen (CN); Dongyu Geng, Shenzhen (CN); Qinhui Huang, Shenzhen (CN); and Huixiao Ma, Shenzhen (CN)
Assigned to HUAWEI TECHNOLOGIES CO. LTD., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Apr. 14, 2021, as Appl. No. 17/230,056.
Application 17/230,056 is a continuation of application No. PCT/CN2020/078768, filed on Mar. 11, 2020.
Claims priority of application No. 201910436048.X (CN), filed on May 23, 2019.
Prior Publication US 2021/0232341 A1, Jul. 29, 2021
Int. Cl. G06F 11/10 (2006.01); G06F 3/06 (2006.01)
CPC G06F 3/0659 (2013.01) [G06F 3/0611 (2013.01); G06F 3/0619 (2013.01); G06F 3/0625 (2013.01); G06F 3/0673 (2013.01); G06F 11/1076 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A method for updating stored information, comprising:
performing, based on data information and error correction code (ECC) check information, ECC decoding on the data information to generate an error-corrected codeword, wherein the error-corrected codeword comprises error-corrected data information and error-corrected ECC check information;
generating candidate to-be-written data information based on the error-corrected data information and a data update indication;
updating the data information to generate updated data information;
performing ECC encoding on the updated data information to generate updated ECC check information;
generating candidate to-be-written ECC check information based on the error-corrected ECC check information and the updated ECC check information;
performing a mask operation on the candidate to-be-written data information based on the data information;
writing first unmasked content in the candidate to-be-written data information into a memory;
performing a second mask operation on the candidate to-be-written ECC check information based on the ECC check information; and
writing second unmasked content in the candidate to-be-written ECC check information into the memory.