发明名称 DATA READING AND WRITING METHOD, DEVICE AND SYSTEM
摘要 Embodiments of the present invention provide a method, an apparatus, and a system for reading and writing data, which relate to the computer field, can resolve a problem in the prior art that different algorithms need to be configured for write operations on storage devices of different optimization granularities, and improve flexibility of the write operations on storage devices. The method includes: acquiring first data to be written into a storage device and an address for the first data; acquiring, according to the address, second data that has been written into the storage device; acquiring configuration information, where the configuration information includes a data bit width, a bit quantity of a data flag, and a preset stepping algorithm; generating, according to the bit quantity of the data flag and the bit width of the first data and by using the preset stepping algorithm, a candidate data set corresponding to the first data; comparing data in the candidate data set with the second data, so as to acquire third data that is in the candidate data set and meets a preset rule; and writing the third data into the storage device according to the address, so as to calculate and read the first data, when the first data needs to be read from the storage device.
申请公布号 EP2996046(A4) 申请公布日期 2016.06.15
申请号 EP20130884061 申请日期 2013.12.03
申请人 HUAWEI TECHNOLOGIES CO., LTD. 发明人 TAO, YIDONG;CHEN, SHAOJIE;DAI, YIPING
分类号 G06F3/06;G06F13/16;G11C13/00 主分类号 G06F3/06
代理机构 代理人
主权项
地址