Query service response method and device based on data cache, equipment and medium

The invention relates to the field of data caching, and discloses a query service response method and device based on data caching, equipment and a medium, firstly, a data access request is intercepted, SQL operation in the data access request is analyzed to obtain data items associated with the SQL...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LU CHANGJIN, TAO LIU, YUAN JIANKUN, HU SANMEI, HOU YONGTAO, RUAN XUEFEI, JIANG WENKUAN, LIU CUN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the field of data caching, and discloses a query service response method and device based on data caching, equipment and a medium, firstly, a data access request is intercepted, SQL operation in the data access request is analyzed to obtain data items associated with the SQL operation, and then according to the data items associated with the SQL operation, the query service response method and device based on the data caching are obtained. Judging whether the data cache version corresponding to the data access request is valid or not, directly returning the data cache to the client when the data cache version corresponding to the data access request is valid, and initiating query operation on the data item associated with the SQL operation and returning the query operation to the client when the data cache version corresponding to the data access request is invalid. According to the method, passive updating of the data cache is realized, the consistency and timeliness of the data cach