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

A method for synchronizing operation logs in a database, a mobile terminal, and a computer-readable storage medium

A database and operation day technology, applied in the field of mobile communication, can solve the problem of low efficiency when synchronizing data, and achieve the effect of improving user experience and improving efficiency

Inactive Publication Date: 2020-08-07
宁波图灵奇点智能科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The main purpose of the present invention is to propose a method for synchronizing operation logs in a database, a mobile terminal, and a computer-readable storage medium, aiming at solving the problem of low efficiency in synchronizing data in asynchronous replication and semi-synchronous replication in related technologies

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
  • A method for synchronizing operation logs in a database, a mobile terminal, and a computer-readable storage medium
  • A method for synchronizing operation logs in a database, a mobile terminal, and a computer-readable storage medium
  • A method for synchronizing operation logs in a database, a mobile terminal, and a computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0099] Based on the above-mentioned mobile terminal, an embodiment of the present invention provides a method for synchronizing operation logs in a database, image 3 is the flow of the operation log synchronization method in the database according to the embodiment of the present invention Figure 1 ,like image 3 As shown, the method includes the following steps:

[0100] Step S301, storing the operation log of the master database in the Redis cluster;

[0101] Step S302, reading the operation log from the Redis cluster;

[0102] Step S303, analyzing the write operations in the operation log, and synchronizing the write operations to one or more slave databases.

[0103] Through the above steps, the operation log of the master database is stored in the Redis cluster; the operation log is read from the Redis cluster; the write operation in the operation log is parsed, and the write operation is synchronized to one or more The slave database solves the problem of low effic...

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 synchronization method for an operation log in databases. According to the method, the operation log of a master database is stored in a Redis cluster; the operation log is read from the Redis cluster; write operation in the operation log is parsed and synchronized to one or more slave databases. The invention further discloses a mobile terminal and a computer-readable storage medium. The problem is solved that in related technologies, asynchronous replication and semi-synchronous replication are both low in efficiency during data synchronization; by synchronizing the operation log in the master database to the Redis cluster, the slave databases all read the operation log of the master database from the Redis cluster uniformly, parse the write operation in the log and synchronize the write operation into their own databases, and therefore the data synchronization is achieved, the synchronization efficiency is improved, and the user experiences are improved.

Description

technical field [0001] The invention relates to the technical field of mobile communication, in particular to a method for synchronizing operation logs in a database, a mobile terminal and a computer-readable storage medium. Background technique [0002] With the development of the Internet and the popularization of terminals, the user base of terminals is getting bigger and bigger, and at the same time, there are more intelligent and humanized requirements for software. [0003] In the existing technology, in fact, although the terminal is used as a game console or a TV by the user, it may also be a learning machine, or a paradise for babies, etc., bringing more fun to our lives. With the upgrading of communication products, mobile terminals (such as mobile phones, personal digital assistants, PDAs, etc.) have become necessary communication tools for people. Various functions that are convenient for people's lives can be realized on mobile terminals, such as mobile TV, GPS...

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 Patents(China)
IPC IPC(8): G06F16/27G06F16/2458
CPCG06F16/2471G06F16/273
Inventor 倪秉炬
Owner 宁波图灵奇点智能科技有限公司
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