Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Pending Publication Date: 2022-07-08
GUANGDONG SOUTH DIGITAL TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The second object of the present invention is to provide a business data processing method based on double buffering, which can solve the problem that the existing business data processing cannot meet the needs of massive data
[0005] The third object of the present invention is to provide a business data processing device based on double buffering, which can solve the problem that the existing business data processing cannot meet the needs of massive data

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Business data processing system, method and device based on double caches and storage medium
  • Business data processing system, method and device based on double caches and storage medium
  • Business data processing system, method and device based on double caches and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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; ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a business data processing system based on double caches. The business data processing system comprises a database, a cache module and a micro-service module, the micro-service module is used for receiving a data query instruction, querying required data from the cache module, obtaining the required business data from the cache module when the required business data exists in the cache module, and feeding back the required business data to a user; and when the required business data does not exist in the cache modules, acquiring the acquired business data from the database, feeding back the queried business data to the user, and storing the business data queried from the database in the corresponding cache modules according to different business data. According to the invention, under the condition that the data accuracy is ensured, the cache module is arranged between the database and the micro-service module, so that the quick response of the data is realized, and the requirement of mass data is met. The invention further discloses a service data processing method and device based on the double caches and a storage medium.

Description

technical field [0001] The present invention relates to the processing of business data, in particular to a system, method, device and storage medium for business data processing based on double buffering. Background technique [0002] For government affairs systems, in order to ensure the accuracy of data, two most robust ways are usually chosen to store and transmit business data: First, all business data is obtained directly from the database, regardless of the amount of data Both are queried and returned from the database in real time; the second is to transmit the data running in the system in a serial manner, and each piece of data is transmitted in sequence. Although the security of obtaining data from the database is high, and the serial operation system can also ensure that the business data will not contaminate each other, but with the increase in the complexity of business data and the increase in the amount of data in the database, any of the above The method wi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/2455G06F16/2453
CPCG06F16/24552G06F16/2455G06F16/2453Y02D10/00
Inventor 邓赟吴上海周大千张乐吴嘉烺程俊愉刘惠瑜肖佳佳
Owner GUANGDONG SOUTH DIGITAL TECH