US 12,175,100 B1
Data processing in memory system
Hua Tan, Hubei (CN); Xing Wang, Hubei (CN); Yaolong Gao, Hubei (CN); Fanya Bi, Hubei (CN); Zhe Sun, Hubei (CN); and Bo Yu, Hubei (CN)
Assigned to Yangtze Memory Technologies Co., Ltd., Wuhan (CN)
Filed by Yangtze Memory Technologies Co., Ltd., Hubei (CN)
Filed on Jul. 24, 2023, as Appl. No. 18/357,827.
Claims priority of application No. 202310706197.X (CN), filed on Jun. 13, 2023.
Int. Cl. G06F 3/06 (2006.01); G06F 11/00 (2006.01)
CPC G06F 3/0625 (2013.01) [G06F 3/0659 (2013.01); G06F 3/0673 (2013.01); G06F 11/00 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for a memory system comprising a memory device, the method comprising:
receiving data that is to be written into the memory device, the memory device including memory cells, each memory cell having a first state and a second state, the data including bits each corresponding to one of the first state and the second state;
counting a first bit number of the bits corresponding to the first state and a second bit number of the bits corresponding to the second state in the received data;
in response to the second bit number of the bits corresponding to the second state being larger than the first bit number of the bits corresponding to the first state, performing a first flipping operation to flip the bits in the received data; and
storing the received data with the flipped bits to the memory device.