Supercharge Your Innovation With Domain-Expert AI Agents!

Cache data synchronization method, server, application system and storage device

A technology for caching data and application systems, applied in the Internet field, can solve problems such as poor data consistency, transaction loss, and inability to ensure master-slave data consistency, and achieve the effect of ensuring consistency

Inactive Publication Date: 2019-05-24
GUANGZHOU HUYA INFORMATION TECH CO LTD
View PDF6 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, if the main library is down and needs failover, the consistency of master-slave data will not be ensured, and there is a risk of transaction loss
The consistency of the data is poor, and in the process of fault recovery, it is necessary to manually sort out the reconciliation results to confirm the missing transactions, and complete the corresponding 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
  • Cache data synchronization method, server, application system and storage device
  • Cache data synchronization method, server, application system and storage device
  • Cache data synchronization method, server, application system and storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to make the purpose, technical solution and effect of the present application more clear and definite, the present application will be further described in detail below with reference to the accompanying drawings and examples.

[0018] The present application provides a cache data synchronization method, which can be applied to at least high-concurrency application systems. see figure 1 , figure 1 It is a schematic flowchart of the first embodiment of the method for synchronizing cached data in the present invention. In this embodiment, the cache data synchronization method includes the following steps:

[0019] S101: The middleware server obtains a change log of the system database, and parses the change log to obtain data change information of the system database.

[0020] Wherein, the system database is a relational database, such as MySQL and other relational databases, and the system database is used to store important data of the application system. T...

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 cache data synchronization method, a server, an application system and a storage device, and the method comprises the steps: enabling a middleware server to obtain a change log of a system database, and analyzing the change log to obtain data change information of the system database; enabling the middleware server to acquire to-be-synchronized data from a data table by using the data change information; and enabling the middleware server to synchronize the to-be-synchronized data to the cache database according to the mapping relation between the data table and the cache key, and storing a mapping relation table between the data table and the cache key in the middleware server. In this way, the data consistency of the system database and the cache database can beguaranteed.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a cache data synchronization method, server, application system and storage device. Background technique [0002] At present, with the increase in the number of users of Internet applications, especially Internet applications with a large number of users, higher and higher requirements for high concurrency and high availability of application systems are put forward. In order to improve the performance of the application system and reduce the direct access to the system database, the cache database is usually used in the application system, and the data in the system database can be put into the cache database, and the data can be obtained directly from the cache database when the data is needed , to increase the data reading speed. When the data in the system database is cached in the cache database, it is necessary to ensure the consistency between the cache data in the c...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/27G06F16/23G06F16/28
Inventor 黄湘秦波
Owner GUANGZHOU HUYA INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More