发明名称 |
HASH ALGORITHM-BASED METHOD AND APPARATUS FOR DATA STORAGE |
摘要 |
<p>Disclosed are a hash algorithm-based method and apparatus for data storage comprising: presetting L number of back end storage modules and the mapping relationship between the identifiers of the back end storage modules and modulo L operation; calculating, according to the hash algorithm, the main key value of the data to be stored; executing a modulo operation for the obtained main key value by using the number of back end storage modules as the modulo and, according to the mapping relationship between the identifiers of the back end storage modules and the modulo L operation, outputting the main key value of the executed modulo L operation and the corresponding data to the back end storage module with the corresponding identifier; and determining the preset Hash table in the back end storage modules does not contain data to be stored, then store the data to be stored and the corresponding main key value. The present invention can reduce storage device requirements and improve storage efficiency.</p> |
申请公布号 |
WO2012034470(A1) |
申请公布日期 |
2012.03.22 |
申请号 |
WO2011CN78564 |
申请日期 |
2011.08.18 |
申请人 |
TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED;YUAN, QING;ZHANG, JIANGUI |
发明人 |
YUAN, QING;ZHANG, JIANGUI |
分类号 |
G06F3/06 |
主分类号 |
G06F3/06 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|