Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed cluster database synchronization method and device, equipment and storage medium

A distributed cluster and database technology, applied in the direction of database update, database distribution/replication, structured data retrieval, etc., can solve the problems of unknown abnormality, loss of management nodes, and inability to synchronize database records in time.

Active Publication Date: 2021-03-09
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] A distributed storage cluster system is generally composed of multiple servers to provide unified external services. In this paper, the server is represented by a "node". The traditional distributed cluster has its own web management system, including the client (Client) and the server (Server) It runs on the management node, so the database (DB) it maintains is usually updated on the management node and synchronized to other nodes periodically (for example, in a period of 30s); There will also be one or more standby management nodes. When the main management node fails (such as sudden power failure, downtime, etc.), it needs to switch to the standby management node immediately. However, the time of power failure is usually random and cannot be determined. At this time It may happen that the management node database has stopped running before it is synchronized. If the latest updated database information of the main management node before the power failure has not been synchronized to the standby management node, it has failed, and these database records may be lost due to inability to synchronize in time , leading to some unknown exceptions may occur after the management node is switched, causing some management flow risks, so the existing database synchronization method of distributed storage needs to be improved urgently

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
  • Distributed cluster database synchronization method and device, equipment and storage medium
  • Distributed cluster database synchronization method and device, equipment and storage medium
  • Distributed cluster database synchronization method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0039] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0040] In one example, please refer to figure 1 As shown, the present invention provides a method for synchronizing distributed cluster databases, specifically the method includes the following steps:

[0041] S100, the main management node persist...

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 distributed cluster database synchronization method and device, equipment and a storage medium. The method comprises the steps that a main management node persists database information to a local system disk and backs up the database information to a main management node BMC system in an in-band communication mode; in response to the fact that the main management node BMCsystem detects that the main management node fails or is switched, backup database information in the main management node BMC system is sent to a standby management node; and the backup management node updates a database of the backup management node by using the backup database information. According to the scheme, the database information of the main management node is backed up to the main management node BMC system, and the backup management node updates the database of the backup management node by adopting the backup database information of the main management node BMC system, so thatthe database information is prevented from being lost, the reliability and integrity of the database information of each node in a cluster are effectively ensured, manual intervention synchronizationis reduced, and maintenance cost is reduced.

Description

technical field [0001] The present invention relates to the field of distributed storage, and more particularly relates to a method, device, computer equipment and storage medium for synchronizing a distributed cluster database. Background technique [0002] A distributed storage cluster system is generally composed of multiple servers to provide unified external services. In this paper, the server is represented by a "node". The traditional distributed cluster has its own web management system, including the client (Client) and the server (Server) It runs on the management node, so the database (DB) it maintains is usually updated on the management node and synchronized to other nodes periodically (for example, in a period of 30s); There will also be one or more standby management nodes. When the main management node fails (such as sudden power failure, downtime, etc.), it needs to switch to the standby management node immediately. However, the time of power failure is usua...

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): G06F11/14G06F16/23G06F16/27
CPCG06F11/1448G06F11/1469G06F16/27G06F16/2365
Inventor 张大帅
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products