会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 4. 发明公开
    • DATE QUERY METHOD AND DEVICE
    • EP3736705A1
    • 2020-11-11
    • EP18903433.3
    • 2018-02-05
    • HUAWEI TECHNOLOGIES CO., LTD.
    • GAO, XiangDU, WeiCHEN, Chun YenWANG, Ning
    • G06F16/00
    • A data query method and apparatus are disclosed. The data query method and apparatus relate to the field of computer technologies, to resolve a problem of comparatively low efficiency for querying a to-be-accessed file name. 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, where the current first set includes x consecutive file names in the m file names, the current second set includes the x file names, a first file name, and a second file name, and m ≥ x≥ 1; determining a first common prefix between the 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.