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

Caching method and device based on distributed database, medium and electronic equipment

A database and distributed technology, applied in the direction of database distribution/replication, digital data processing, structured data retrieval, etc., can solve problems such as the decline of database operation efficiency, and achieve the effect of improving storage and reading efficiency and ensuring operation efficiency.

Pending Publication Date: 2021-06-25
CCB FINTECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to network bandwidth, network delay and other issues, the efficiency of remote access to data is significantly lower than the traditional local storage mode, which leads to a decline in database operating efficiency

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
  • Caching method and device based on distributed database, medium and electronic equipment
  • Caching method and device based on distributed database, medium and electronic equipment
  • Caching method and device based on distributed database, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] figure 1 It is a flow chart of the caching method based on the distributed database provided in the first embodiment of the application. This embodiment can be applied to the data caching of the distributed database separated from the calculation and storage. The method can be provided by the embodiment of the application based on The caching device of the distributed database is implemented, and the device can be realized by software and / or hardware, and can be integrated into devices such as intelligent terminals used for caching data of the distributed database.

[0023] Such as figure 1 As shown, the cache method based on the distributed database includes:

[0024] S110. Responding to the data reading request sent by the computing module of the computing layer.

[0025] In this solution, the distributed database system usually uses a smaller computer system, each computer can be placed in a separate place, and each computer may have a complete copy of the DBMS (Da...

Embodiment 2

[0067] figure 2 It is a schematic diagram of the caching process based on the distributed database in the second embodiment of the present invention, and the second embodiment is further optimized on the basis of the first embodiment. The specific optimization is: after the cache service module preset by the computing layer transmits the target data to the computing module, the method further includes: detecting the cached data volume of the cache service module, and obtaining the cached Data volume: perform cache cleaning on the cache service module according to the cache data volume. Wherein, details that are not described in detail in this embodiment can be found in Embodiment 1. Such as figure 2 As shown, the method includes the following steps:

[0068] S210. Respond to a data read request sent by the computing module of the computing layer.

[0069] S220. The cache service module preset by the computing layer transmits the target data to the computing module, so th...

Embodiment 3

[0091] image 3 It is a schematic structural diagram of a cache device based on a distributed database provided in Embodiment 3 of the present application, such as image 3 As shown, the caching device based on the distributed database includes:

[0092] A data read request response unit 310, configured to respond to the data read request sent by the computing module of the computing layer;

[0093] The target data transmission unit 320 is configured to transmit the target data to the computing module by the cache service module preset in the computing layer, so that the computing module can process the target data.

[0094] In this technical solution, optionally, the target data transmission unit 320 includes:

[0095] a target data judging subunit, configured to judge whether the cache service module contains target data;

[0096] The target data transmission subunit is configured to, if included, transmit the target data to the calculation module by the cache service mod...

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 embodiment of the invention discloses a caching method and device based on a distributed database, a medium and electronic equipment. The method comprises the following steps: responding to a data reading request sent by a calculation module of a calculation layer; and transmitting the target data to the calculation module by a cache service module preset by the calculation layer, so that the calculation module processes the target data. According to the technical scheme, the data can be accurately and effectively cached in the calculation layer in the distributed database, the data storage and reading efficiency is improved, and the operation efficiency of the database is guaranteed.

Description

technical field [0001] The embodiments of the present application relate to the field of data storage, and in particular to a caching method, device, medium and electronic equipment based on a distributed database. Background technique [0002] With the development of big data computing, the separation of computing and storage has become the mainstream direction of distributed database development. [0003] By separating the computing layer from the storage layer, the flexibility of computing resource expansion is greatly improved; at the same time, different computing services can share the same data, reducing data redundancy and solving various problems caused by data islands. Data islands refer to the fact that data are stored and maintained independently in different departments, and are isolated from each other, forming physical islands. [0004] However, since the data is not stored locally, the computing layer needs to request data from the storage layer through the ...

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/27
CPCG06F16/24552G06F16/27Y02D10/00
Inventor 吕文栋陈晓新蔡雅琼邓宇
Owner CCB FINTECH CO LTD