摘要 |
Embodiments of the present invention disclose a data index query method including: after performing Gray encoding on an index attribute, shuffling and encoding, by a server side, a Gray code corresponding to the index attribute to generate at least one index key value and storing the index key value; generating, by the server side according to query condition information carried in a query request, an index key value set or interval corresponding to the query condition information; obtaining an indicator set or interval used for indicating data and corresponding to the index key value set or interval according to the index key value set or interval; generating an intermediate data set corresponding to the indicator set or interval; and finally obtaining, from the intermediate data set, a target data set corresponding to the query condition information according to the query condition information carried in the query request.
|