Alarm data query method and device, equipment and storage medium
The invention provides a data query method, device and equipment and a storage medium. Alarm data is stored in each storage partition, a query request of a predetermined condition is received, statistical query is performed in each storage partition according to the predetermined condition, sorting...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a data query method, device and equipment and a storage medium. Alarm data is stored in each storage partition, a query request of a predetermined condition is received, statistical query is performed in each storage partition according to the predetermined condition, sorting is performed according to the number of statistical query results, and a query result is obtained; the method comprises the following steps of: performing first-time sorting on a plurality of fragmented query results, returning a threshold number of statistical query results ranked in the front, performing second-time sorting on the threshold number of statistical query results ranked in the front, returned by each storage partition, returning a range number of statistical query results ranked in the front, and performing second-time sorting on the statistical query results ranked in the front under the condition of meeting a query request. The problem of resource waste caused by obtaining a large amount of data in |
---|