Business data processing system, method and device based on double caches and storage medium
A business data and processing system technology, applied in the direction of electronic digital data processing, special data processing applications, digital data information retrieval, etc., can solve the problem that business data processing cannot satisfy massive data, and achieve data accuracy, fast response, The effect of improving query efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] The invention provides a service data processing system based on double cache, which can respond instantaneously in the case of ensuring the accuracy of the data in the massive service data, can quickly return the required service data, and meet the demand of the massive service data.
[0051] The present invention provides a preferred embodiment, a service data processing system based on double buffering, such as figure 1 As shown, it includes three parts: microservice module, cache module and database.
[0052] Among them, the microservice module is the data processing center of the entire system, and all business data is processed by the microservice module and fed back to the user.
[0053] Both the cache module and the database in the present invention are used to store data. Among them, the business data stored in the cache module is stored in the memory in the form of key-value pairs, and the stored business data is hot data, which is temporary. The business da...
Embodiment 2
[0068] Based on the first embodiment, the present invention provides a method for processing service data based on double buffering, such as image 3 shown, including the following steps:
[0069] Step S1, obtaining a data query instruction. The data query instruction sent by the user is obtained through the microservice module, so that the microservice module implements the data query according to the data query instruction.
[0070] Step S2, query the memory cache module and / or the database cache module according to the data query instruction to determine whether the required service data exists in the cache module, if yes, go to step S3; if not, go to step S4.
[0071] When data needs to be queried, first query the cache module to see if the required business data exists, if so, obtain the business data directly from the cache module to achieve a fast response to the data; if not, query the business data from the database. Since part of the business data is stored in the ca...
Embodiment 3
[0097] Based on the second embodiment, the present invention also provides a double-buffer-based service data processing device, which includes a memory and a processor, the memory stores a service data processing program running on the processor, and the service data processing program is a computer program, the processor implements the following steps when executing the service data processing program:
[0098] Instruction acquisition step: acquire data query instructions;
[0099] Cache query step: query the memory cache module and / or the database cache module according to the data query instruction to determine whether the required business data exists in the memory cache module and / or the database cache module, and if so, execute the cache module query step; if not, execute database query step;
[0100] The step of querying the cache module: obtaining the required business data from the memory cache module or the database cache module, and performing the feedback step; ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


