首页> 外国专利> HARDWARE ACCELERATOR BASED METHOD AND DEVICE FOR STRING SEARCHING

HARDWARE ACCELERATOR BASED METHOD AND DEVICE FOR STRING SEARCHING

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

摘要

A method (300) for searching within a data block for a data chunk having a predefined value, the method includes: fetching (310), by a processor, a data block search instruction; fetching (330), a data unit that includes multiple data chunks; wherein at least one data chunk within the data unit belongs to the data block; deciding (340) whether to use a mask for data chunk level masking; searching (350), 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 (360) whether to update the value of the mask and whether to fetch a new data unit that belongs to the data block.
机译:一种用于在数据块内搜索具有预定值的数据块的方法(300),该方法包括:处理器获取(310)数据块搜索指令;获取(330),包括多个数据块的数据单元;其中,数据单元内的至少一个数据块属于该数据块;决定(340)是否将掩码用于数据块级掩码;通过硬件加速器在所获取的数据单元内搜索(350)具有预定值的有效数据块;其中所述搜索包括施加掩模;其中,非屏蔽数据块中属于该数据块的有效数据块;确定(360)是否更新掩码的值以及是否获取属于该数据块的新数据单元。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号