发明授权
- 专利标题: Variable-length compression technique for encoding or decoding a sequence of integers
- 专利标题(中): 用于编码或解码整数序列的可变长度压缩技术
-
申请号: US12042981申请日: 2008-03-05
-
公开(公告)号: US07609000B1公开(公告)日: 2009-10-27
- 发明人: Arun Sharma
- 申请人: Arun Sharma
- 申请人地址: US CA Mountain View
- 专利权人: Google Inc.
- 当前专利权人: Google Inc.
- 当前专利权人地址: US CA Mountain View
- 代理机构: Park, Vaughan & Fleming LLP
- 主分类号: H03M7/40
- IPC分类号: H03M7/40
摘要:
A system that encodes a sequence of integers using a variable-length compression technique is described. During operation, the system scans the sequence of integers and observes the sizes of the integers to determine a threshold value K from the observed sizes. For a given integer which is N bits in length, if N−K is greater than or equal to zero, the system generates a tag for the encoded integer which comprises a sequence of N−K zeros followed by a one, and generates a set of remaining bits for the encoded integer as a sequence of the N bits which make up the integer. Otherwise, if N−K is less than zero, the system generates a tag for the encoded integer as a single one, and generates a set of remaining bits for the encoded integer by padding the N bits which make up the integer with zeros so that the set of remaining bits is K bits in length.
信息查询
IPC分类: