发明名称 VARIABLE LENGTH ENCODING AND DECODING OF ASCENDING NUMERICAL SEQUENCES
摘要 An ascending numerical sequence, such as an index of word position values within a file, is variable length binary encoded, and subsequently decoded to derive the original sequence. Encoding involves obtaining certain properties of the sequence, including the first and last element values and the maximum and minimum gaps. Unless the maximum and minimum gaps are equal, each element value between the first and last element of the sequence is reduced and the reduced sequence is further encoded, all according to various rules. Reduction involves stripping the leading 0 bit's and the first 1 bit. Further encoding involves dropping repeating leading bits and storing the resulting binary values in a body having a bitstream format if an element value has the same number of bits as the number of bits in the preceding element value. If an element value has one more bit than the preceding element value and if the value of the first N bits are greater than the value of the previous N bits then a bump code is added before the resulting binary value is stored. If the value of the first N bits are less than the value of the previous N bits and the resulting binary value has N leading 0 bits then a bump code is added before the resulting binary value is stored. In most other circumstances, the resulting binary value is simply stored in the bitstream. If the maximum and minimum gaps are the same then the first and last values and the minimum and maximum gaps are simply stored in the header and no body is stored as the sequence is fully defined. When the length of the body is known then a header is stored that contains the properties of the sequence that permit the sequence to be decoded from the header and body. Corresponding rules permit the decoding of the sequence from the header and body.
申请公布号 US2003122694(A1) 申请公布日期 2003.07.03
申请号 US20020210354 申请日期 2002.07.31
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 GREEN ROBIN A.R.
分类号 H03M7/40;(IPC1-7):H03M7/30 主分类号 H03M7/40
代理机构 代理人
主权项
地址