-
公开(公告)号:US09632708B2
公开(公告)日:2017-04-25
申请号:US14933785
申请日:2015-11-05
Applicant: Huawei Technologies Co., Ltd.
Inventor: Yidong Tao , Shaojie Chen , Yiping Dai
CPC classification number: G06F3/061 , G06F3/0629 , G06F3/0679 , G06F13/1668 , G11C13/0004 , G11C13/004 , G11C13/0069 , G11C16/00
Abstract: 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. The method includes: acquiring first data to be written into a storage device and an address for the first data; acquiring, second data from the address of the storage device; acquiring configuration information; generating, according to the configuration information, a candidate data set; 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.
-
2.
公开(公告)号:US20160054919A1
公开(公告)日:2016-02-25
申请号:US14933785
申请日:2015-11-05
Applicant: Huawei Technologies Co., Ltd.
Inventor: Yidong Tao , Shaojie Chen , Yiping Dai
CPC classification number: G06F3/061 , G06F3/0629 , G06F3/0679 , G06F13/1668 , G11C13/0004 , G11C13/004 , G11C13/0069 , G11C16/00
Abstract: 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. The method includes: acquiring first data to be written into a storage device and an address for the first data; acquiring, second data from the address of the storage device; acquiring configuration information; generating, according to the configuration information, a candidate data set; 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.
Abstract translation: 本发明的实施例提供了一种用于读取和写入数据的方法,装置和系统,其涉及计算机领域,可以解决现有技术中的问题,即不同的算法需要被配置用于对存储设备的写入操作 不同的优化粒度。 该方法包括:获取要写入存储设备的第一数据和第一数据的地址; 从存储设备的地址获取第二数据; 获取配置信息; 根据配置信息生成候选数据集; 将所述候选数据集中的数据与所述第二数据进行比较,以便获取候选数据集中的第三数据并满足预设规则; 以及根据所述地址将所述第三数据写入所述存储设备。
-