首页> 外国专利> Minimum identical consecutive run length data units compression method by searching consecutive data pair comparison results stored in a string

Minimum identical consecutive run length data units compression method by searching consecutive data pair comparison results stored in a string

机译:通过搜索存储在字符串中的连续数据对比较结果的最小相同连续游程长度数据单元压缩方法

摘要

A method of detecting certain runs of data, such as identical consecutive runs of data, is disclosed. The logical operation exclusive OR (XOR) is performed on each pair of adjacent bytes in a source string of data bytes in a single machine instruction, resulting in a comparison data string of bytes. The comparison data string is then sequentially searched for a byte which matches a predetermined byte. In the case of a search, the predetermined byte may be any value, which value is determined by the XOR of two adjacent bytes that are to be found. In the case of compression, as used in this invention, the predetermined byte has a value of zero, indicating that two adjacent bytes in the source string are identical. The sequential search occurs in a single Translate and Test (TRT) machine instruction. Once an all-zero byte is located, the subsequent byte in the comparision data string is examined. If the subsequent byte is also an all-zero byte, three identical, consecutive bytes in the source string have been located and are considered to be compressible. Additional bytes in the identical, consecutive run of bytes are located by further searching. If the subsequent byte in the comparison data string is not also an all-zero byte, the search for an all-zero byte is restarted with the byte following the subsequent byte in the comparison data string.
机译:公开了一种检测某些数据运行的方法,例如相同的连续数据运行。在单个机器指令中,对数据字节的源字符串中的每对相邻字节执行逻辑异或运算(XOR),从而得到字节的比较数据字符串。然后顺序地在比较数据串中搜索与预定字节匹配的字节。在搜索的情况下,预定字节可以是任何值,该值由要找到的两个相邻字节的XOR决定。在压缩的情况下,如本发明中所使用的,预定字节的值为零,表示源字符串中的两个相邻字节是相同的。顺序搜索在单个翻译和测试(TRT)机器指令中进行。找到全零字节后,将检查比较数据字符串中的下一个字节。如果后续字节也是全零字节,则已在源字符串中找到三个相同的连续字节,并认为它们是可压缩的。通过进一步搜索,可以找到同一连续连续字节中的其他字节。如果比较数据字符串中的后续字节也不是全零字节,则从比较数据字符串中后续字节之后的字节重新开始全零字节搜索。

著录项

  • 公开/公告号US5179711A

    专利类型

  • 公开/公告日1993-01-12

    原文格式PDF

  • 申请/专利权人 INTERNATIONAL BUSINESS MACHINES CORPORATION;

    申请/专利号US19890456890

  • 发明设计人 ALBERT P. VREELAND;

    申请日1989-12-26

  • 分类号G06F7/04;G06F5/00;

  • 国家 US

  • 入库时间 2022-08-22 04:58:56

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号