Node switching method and system

A technology for switching systems and nodes, applied in the field of database clusters, can solve problems such as time-consuming and data loss, and achieve the effect of avoiding data loss

Inactive Publication Date: 2017-04-05
WEBANK (CHINA)
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to propose a node switching method and system, aiming to solve the technical problem of switching from the main central database downtime to the standby central database for data reading and writing, which takes a long time and easily leads to data loss

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
  • Node switching method and system
  • Node switching method and system
  • Node switching method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0046] The solution of the embodiment of the present invention is mainly: set the master node and standby node in the production cluster in the same city as the data synchronization mode, and when the master node with logic units in the production cluster in the same city goes down, first determine the The associated standby node, and then switch the logic unit from the primary node to the standby node, so that the standby node can update the primary node to provide data read and write services, without taking a long time to switch, even if the current When data is uploaded, it can also respond immediately, thus avoiding data loss.

[0047] The technical terms involved in the present invention include:

[0048] Relational database: A relational database is a database based on a relational model, which uses mathematic...

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 node switching method applied to a city-wide production colony. The city-wide production colony comprises a main node and an auxiliary node, and a data synchronism mode is set between the main node and the auxiliary node. The node switching method includes the steps that when the main node of a logical unit in the city-wide production colony is down, the auxiliary node correlated with the main node is determined; the logical unit is switched to the auxiliary node from the main node, so that the auxiliary node is updated into the main node to provide data read-write service. The invention further discloses a node switching system. Data synchronism is adopted between the main node and the auxiliary node in the city-wide production colony, even if the main node is down, the logical unit can be fast switched into the auxiliary node and continues to provide data read-write service, and data loss is avoided.

Description

technical field [0001] The invention relates to the technical field of database clusters, in particular to a node switching method and system. Background technique [0002] In the bank's traditional IT (Information Technology, information technology) architecture, the database architecture generally follows the architecture principle of two places and three centers, including the main center database in the same city, the backup center database in the same city, and the disaster recovery center database in the same city. Among them, the main central database in the same city is the database used for production, and the backup central database in the same city is the backup database of the main central database in the same city, which is used to back up the data of the main central database in the same city. In case of failure of the main central database in the same city, the request of the business system will be switched from the main central database in the same city to t...

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): G06F17/30G06F11/14
CPCG06F11/1479G06F16/275
Inventor 卢道和胡盼盼李靖张建华黄蔚
Owner WEBANK (CHINA)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products