Search International and National Patent Collections

1. (WO2018218504) METHOD AND DEVICE FOR DATA QUERY

Pub. No.:    WO/2018/218504    International Application No.:    PCT/CN2017/086600
Publication Date: Fri Dec 07 00:59:59 CET 2018 International Filing Date: Thu Jun 01 01:59:59 CEST 2017
IPC: G06F 17/30
Applicants: HUAWEI TECHNOLOGIES CO., LTD.
华为技术有限公司
Inventors: GAO, Zijuan
高紫娟
WANG, Tieying
王铁英
Title: METHOD AND DEVICE FOR DATA QUERY
Abstract:
A method and device for data query. The method comprises: acquiring a query statement, the query statement being used for querying N layers of data in a data hierarchical structure of a data set to acquire target data to be queried, the data hierarchical structure being a hierarchical structure in which the data in the data set is stored, the data set being stored in K files according to a descending order of hierarchy in the data hierarchical structure, the K files comprising a first file and a second file, the first file being the earliest created file among the K files, and the second file being the latest created file among the K files, where N and K are positive integers greater than 1 (310); and if the query statement satisfies preset criteria, then querying the K files according to the querying order from the second file to the first file, the preset criteria comprising a filtering criterion in the first sub-statement used for querying the data set being null, a filtering criterion in the second sub-statement used for querying the data set not being null, the first sub-statement being used for querying top layer data in the N layers of data, and the second sub-statement being used for querying bottom layer data in the N layers of data (320). The method favors increased efficiency of data query.