首页> 外国专利> Method for encoding and decoding acyclic, linked-list data structures for efficient storage, retrieval and searching

Method for encoding and decoding acyclic, linked-list data structures for efficient storage, retrieval and searching

机译:编码和解码非循环链表数据结构以有效存储,检索和搜索的方法

摘要

To encode hierarchial information the invention recognizes that there is implicit information which must be made explicit. Thus the hierarchial information is annotated by selectively adding to it two spatial representing characters, each instance of a first spatial representing character corresponds to a unit step to the right, each instance of a second spatial representing character represents a unit identation to the left, and the first instance of the second spatial representing character in a string of the second spatial representing characters also represents a carriage return and line feed. The annotated hierarchial information is then scanned to produce two byproduct strings. The first byproduct string is merely the sequence of first and second spatial representing characters, in the order in which they appear, to which is added two place holding characters, one representing an alpha- numeric string, and the second representing a string of one or more blank or null characters. The second byproduct string is merely the concatenation of the alpha- numeric strings appearing in the hierarchial information. The first and second byproduct strings are then stored. The method is reversible so tht the encoded and stored hierarchial data structure (including its contents) can be retrieved and reconstituted. The encoded stored hierarchy (and its contents) can also be rapidly searched in its encoded form.
机译:为了编码分层信息,本发明认识到存在必须被显式化的隐式信息。因此,通过向其选择性地添加两个空间表示字符来对层次信息进行注释,第一个空间表示字符的每个实例对应于右侧的一个单元步,第二个空间表示字符的每个实例对应于左侧的一个单元标识,并且第二空间表示字符的字符串中的第二空间表示字符的第一实例还表示回车和换行。然后扫描带注释的层次结构信息,以产生两个副产品字符串。第一个副产品字符串只是第一和第二个空间表示字符的顺序,按照它们出现的顺序,向其添加了两个占位符,一个表示字母数字字符串,第二个表示一个或多个字符串更多空白或空字符。第二个副产品字符串只是出现在层次结构信息中的字母数字字符串的串联。然后存储第一和第二副产品字符串。该方法是可逆的,因此可以检索和重构编码和存储的分层数据结构(包括其内容)。编码的存储层次结构(及其内容)也可以以其编码形式快速搜索。

著录项

  • 公开/公告号US4803651A

    专利类型

  • 公开/公告日1989-02-07

    原文格式PDF

  • 申请/专利权人 IBM CORPORATION;

    申请/专利号US19860827690

  • 发明设计人 JAN T. GALKOWSKI;

    申请日1986-02-10

  • 分类号G06F9/40;G06F15/40;G06F12/08;

  • 国家 US

  • 入库时间 2022-08-22 06:28:35

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号