首页> 外国专利> High-speed single-pass textual search processor for locating exact and inexact matches of a search pattern in a textual stream

High-speed single-pass textual search processor for locating exact and inexact matches of a search pattern in a textual stream

机译:高速单程文本搜索处理器,用于定位文本流中搜索模式的精确和不精确匹配

摘要

A high speed search processor capable of performing a wide variety of search functions, including simple and complex searches, either within an entire text stream or within predefined fixed or sliding windows in the text stream. The processor is made up of multiple interconnected cells, each of which has a pattern register for storing part of a pattern to be searched for, a character register for storing a character of the data stream to be searched, a match register for storing a match value indicative of a match between the search pattern and the text stream, and match logic for modifying an incoming match value in accordance with conditions within the cell. The data stream and the search pattern are oppositely oriented, such that a first character of the search pattern is first encountered by a first character in the data stream, and the pattern is successively compared with an equal number of characters in the data stream as it is moved through the search pattern. The match logic includes means for detecting missing and extra characters in the data stream. The processor can therefore tolerate incorrect, missing or extra characters in the text stream, and can handle multiple levels of nesting and arbitrary boolean expressions within the search pattern. Another novel aspect of the processor is its ability to locate an enumerated subset of search terms or patterns within fixed or sliding windows.
机译:一种高速搜索处理器,能够在整个文本流内或文本流中预定义的固定或滑动窗口内执行多种搜索功能,包括简单和复杂的搜索。该处理器由多个互连的单元组成,每个单元具有一个模式寄存器,用于存储要搜索的模式的一部分;一个字符寄存器,用于存储要搜索的数据流的字符;一个匹配寄存器,用于存储匹配项表示搜索模式和文本流之间匹配的值;以及用于根据单元内条件修改输入匹配值的匹配逻辑。数据流和搜索模式的方向相反,以使搜索模式的第一个字符首先被数据流中的第一个字符遇到,并且将模式与数据流中相同数量的字符相继进行比较在搜索模式中移动。匹配逻辑包括用于检测数据流中丢失和多余字符的装置。因此,处理器可以容忍文本流中的错误,丢失或多余的字符,并且可以处理搜索模式内的多层嵌套和任意布尔表达式。处理器的另一个新颖方面是它能够在固定或滑动窗口内找到搜索项或模式的枚举子集。

著录项

  • 公开/公告号US5051947A

    专利类型

  • 公开/公告日1991-09-24

    原文格式PDF

  • 申请/专利权人 TRW INC.;

    申请/专利号US19850807903

  • 发明设计人 CHARLES H. MESSENGER;ROBERT E. HEISS JR.;

    申请日1985-12-10

  • 分类号G06F15/40;

  • 国家 US

  • 入库时间 2022-08-22 05:45:54

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号