-
公开(公告)号:US10282293B2
公开(公告)日:2019-05-07
申请号:US15607200
申请日:2017-05-26
Applicant: Huawei Technologies Co., Ltd.
Inventor: Yidong Tao , Rui He , Xiaowen Dong
IPC: G06F13/16 , H04L12/54 , H04L12/721 , H04L12/741 , G06F12/0813 , G06F12/0815
Abstract: A memory access method includes: receiving, by the switch, a data packet; matching a flow table on the data packet, where the flow table includes at least one flow entry, where the flow entry includes a matching field and an action field, and the at least one flow entry includes a first flow entry, where a matching field of the first flow entry is used to match source node information, destination node information, and a protocol type in the data packet, and an action field of the first flow entry is used to indicate an operation command for a storage device embedded in the switch; and when the data packet successfully matches the first flow entry, performing an operation on the storage device according to the operation command in the action field of the successfully matched first flow entry.
-
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: 本发明的实施例提供了一种用于读取和写入数据的方法,装置和系统,其涉及计算机领域,可以解决现有技术中的问题,即不同的算法需要被配置用于对存储设备的写入操作 不同的优化粒度。 该方法包括:获取要写入存储设备的第一数据和第一数据的地址; 从存储设备的地址获取第二数据; 获取配置信息; 根据配置信息生成候选数据集; 将所述候选数据集中的数据与所述第二数据进行比较,以便获取候选数据集中的第三数据并满足预设规则; 以及根据所述地址将所述第三数据写入所述存储设备。
-
公开(公告)号:US20170262371A1
公开(公告)日:2017-09-14
申请号:US15607200
申请日:2017-05-26
Applicant: Huawei Technologies Co., Ltd.
Inventor: Yidong Tao , Rui He , Xiaowen Dong
IPC: G06F12/0813 , G06F13/16 , H04L12/54
CPC classification number: G06F12/0813 , G06F12/0815 , G06F13/1652 , G06F2211/005 , G06F2212/1024 , G06F2212/154 , H04L12/56 , H04L45/38 , H04L45/745
Abstract: A memory access method includes: receiving, by the switch, a data packet; matching a flow table on the data packet, where the flow table includes at least one flow entry, where the flow entry includes a matching field and an action field, and the at least one flow entry includes a first flow entry, where a matching field of the first flow entry is used to match source node information, destination node information, and a protocol type in the data packet, and an action field of the first flow entry is used to indicate an operation command for a storage device embedded in the switch; and when the data packet successfully matches the first flow entry, performing an operation on the storage device according to the operation command in the action field of the successfully matched first flow entry.
-
公开(公告)号: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.
-
-
-