Invention Grant
- Patent Title: Data storage method and apparatus
- Patent Title (中): 数据存储方法及装置
-
Application No.: US14652002Application Date: 2013-12-02
-
Publication No.: US09377959B2Publication Date: 2016-06-28
- Inventor: Zheng Chen , Dafu Deng
- Applicant: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Applicant Address: KR Shenzhen, Guangdong
- Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee Address: KR Shenzhen, Guangdong
- Agency: Harness, Dickey & Pierce, P.L.C.
- Priority: CN201210541207 20121214
- International Application: PCT/CN2013/088286 WO 20131202
- International Announcement: WO2014/090097 WO 20140619
- Main IPC: G06F17/30
- IPC: G06F17/30 ; G06F3/06

Abstract:
Implementation manners of the present invention provide a data storage method and apparatus. A fixed-length key and a value thereof are stored into a first data block, where the storing a fixed-length key includes: uniformly storing a common prefix of each fixed-length key, and separately storing a remainder part of each fixed-length key after the common prefix is removed; and a variable-length key and a length thereof are stored into a second data block, where the storing a variable-length key includes: storing a variable-length key of a base-key type in a full storage manner, and performing prefix compression on a variable-length key of a prefix-compressed key type.
Public/Granted literature
- US20150331619A1 DATA STORAGE METHOD AND APPARATUS Public/Granted day:2015-11-19
Information query