首页> 外国专利> Compactly encoded stored string set and its use

Compactly encoded stored string set and its use

机译:紧凑编码的存储字符串集及其使用

摘要

A product includes a storage medium and string set data stored by the storage medium. The string set data can be accessed in a search to determine whether a string of characters is one of a set of strings. The string set data includes items of data (ADDRESSES 1-6) ordered in a sequence. Some of the items of data include label information (LABEL), next information (EOB), and alternative information (ALT). The label information (LABEL) indicates a character type. The next information (EOB) indicates whether the item of data has a next data item to which search continues if a current character in the string is an instance of the character type indicated by the label information (LABEL). The alternative information (ALT) indicates whether the item of data has an alternative data item to which search can continue if the current character in the string is not an instance of the character type indicated by the label information (LABEL). The item of data is positioned so that, if the next information (EOB) indicates that the first data item has a next data item, the next data item can be accessed (258;Fig. 11) based on the positions in the sequence of the first and next (EOB) data items. The item of data also is positioned in the sequence so that, if the alternative information (ALT) indicates that the first data item has an alternative data item, the alternative data item can be accessed (266;Fig. 11) based on the positions in the sequence of the first and alternative data items. The item of data can also include final information (FINAL) indicating whether a string of characters being matched is in the set of strings if its last character matches the label information. The item of data can be encoded in a byte (88;Fig. 5) and the string set data can also include a pointer (234;Fig. 9) to the item of data to reduce redundancy.
机译:产品包括存储介质和由该存储介质存储的字符串集数据。可以在搜索中访问字符串集数据,以确定字符串是否为一组字符串之一。字符串集数据包括按顺序排序的数据项(地址1-6)。某些数据项包括标签信息(LABEL),下一个信息(EOB)和替代信息(ALT)。标签信息(LABEL)指示字符类型。下一个信息(EOB)指示如果字符串中的当前字符是标签信息(LABEL)指示的字符类型的实例,则数据项是否具有下一个继续搜索的数据项。替代信息(ALT)指示数据项是否具有替代数据项,如果字符串中的当前字符不是标签信息(LABEL)指示的字符类型的实例,则可以继续搜索该替代数据项。定位数据项,以便如果下一个信息(EOB)指示第一个数据项具有下一个数据项,则可以基于序列中的位置访问下一个数据项(258;图11)。第一个和下一个(EOB)数据项。数据项也按顺序放置,因此,如果备用信息(ALT)指示第一个数据项具有备用数据项,则可以基于位置访问备用数据项(266;图11)。按照第一个和其他数据项的顺序。数据项还可以包括最终信息(FINAL),该信息指示如果字符串的最后一个字符与标签信息匹配,则匹配的字符串是否在字符串集中。数据项可以被编码为字节(88;图5),并且字符串集数据还可以包括指向数据项的指针(234;图9),以减少冗余。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号