The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Nov. 22, 2022

Filed:

Feb. 05, 2018
Applicant:

Huawei Technologies Co., Ltd., Shenzhen, CN;

Inventors:

Xiang Gao, Shenzhen, CN;

Wei Du, Shanghai, CN;

Chun Yen Chen, Shenzhen, CN;

Ning Wang, Shenzhen, CN;

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 16/14 (2019.01); G06F 16/17 (2019.01);
U.S. Cl.
CPC ...
G06F 16/148 (2019.01); G06F 16/1727 (2019.01);
Abstract

A data query method and apparatus are disclosed. The method includes: determining a target directory block including m directory entries and m file names, where the m directory entries one-to-one correspond to the m file names, and the m directory entries and the m file names are sequentially arranged according to a preset rule; determining a current first set and a current second set based on a binary search algorithm and the target directory block; determining a first common prefix between a to-be-accessed file name and a file name in the current second set; comparing the to-be-accessed file name with a third file name character by character from a first character after the first common prefix; and if the to-be-accessed file name is the same as the third file name, obtaining data of a to-be-accessed file based on a directory entry corresponding to the third file name.


Find Patent Forward Citations

Loading…