Cache-based data processing method and device

Embodiments of the invention provide a cache-based data processing method and device. The method comprises the following steps of judging whether data matched with a data processing request exists in a buffer according to the data processing request received from a client; if the data matched with t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: GAO SHUAICHAO
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:Embodiments of the invention provide a cache-based data processing method and device. The method comprises the following steps of judging whether data matched with a data processing request exists in a buffer according to the data processing request received from a client; if the data matched with the data processing request exists in the buffer, obtaining the matched data from the buffer, otherwise obtaining the data matched with the data processing request from a preset database and sending the data obtained from the database to the buffer in order to enable the buffer to store the received data; and sending the obtained matched data to the client. According to the embodiments of the invention, by adopting the technical scheme, the time for sending the data is saved and the response speed of the client is improved, and furthermore, the hardware resources can be also saved, so that the limited hardware resources can serve more users.