首页> 外国专利> Hardware Accelerator Based Method and Device for String Searching

Hardware Accelerator Based Method and Device for String Searching

机译:基于硬件加速器的字符串搜索方法及装置

摘要

A method for searching within a data block for a data chunk having a predefined value, the method includes: fetching, by a processor, a data block search instruction; fetching, a data unit that includes multiple data chunks; wherein at least one data chunk within the data unit belongs to the data block; deciding whether to use a mask for data chunk level masking; searching, by a hardware accelerator, for a valid data chunk within the fetched data unit that has the predefined value; wherein the searching comprising applying a mask; wherein a valid data chunk in an non-masked data chunk that belongs to the data block; and determining whether to update the value of the mask and whether to fetch a new data unit that belongs to the data block.
机译:一种用于在数据块内搜索具有预定值的数据块的方法,该方法包括:处理器获取数据块搜索指令;以及获取,包括多个数据块的数据单元;其中,数据单元内的至少一个数据块属于该数据块;决定是否使用掩码进行数据块级掩码;通过硬件加速器在获取的数据单元中搜索具有预定值的有效数据块;其中所述搜索包括施加掩模;其中,非屏蔽数据块中属于该数据块的有效数据块;确定是否更新掩码的值以及是否获取属于该数据块的新数据单元。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号