Invention Grant
- Patent Title: Metadata querying method and apparatus
- Patent Title (中): 元数据查询方法和装置
-
Application No.: US14094156Application Date: 2013-12-02
-
Publication No.: US09529912B2Publication Date: 2016-12-27
- Inventor: Qiang Liu , Chengwei Zhang
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Agency: Leydig, Voit & Mayer, Ltd.
- Priority: CN201210102935 20120410
- Main IPC: G06F17/30
- IPC: G06F17/30 ; G06F7/00

Abstract:
Embodiments of the present invention provide a metadata querying method and apparatus. The method includes: sampling at least one piece of first metadata from to-be-searched-for metadata; using at least a part of feature values in each piece of the sampled first metadata as an index, and searching a sparse index table preset in a memory for a corresponding container identifier; selecting, according to the number of times that a same container identifier is found, a container corresponding to a container identifier that meets a set condition; loading metadata in the selected container into a metadata cache; and searching the metadata cache for a data block that is the same as the to-be-searched-for metadata. In the embodiments of the present invention, querying performance can be improved and occupied memory space can be reduced.
Public/Granted literature
- US20140089318A1 METADATA QUERYING METHOD AND APPARATUS Public/Granted day:2014-03-27
Information query