首页>
外国专利>
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.
展开▼