Patent · US Active

Data query method and apparatus

US11507533B2 · kind B2 · utility

0Cited by
12References
17Claims
0Family size

Assignee

Inventors

Key dates

Filing dateFeb 5, 2018
Grant dateNov 22, 2022
Priority date
Expiry dateAug 9, 2038

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F3/0679
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.