Check patentability & draft patents in minutes with Patsnap Eureka AI!

Master and standby storage node switching method and system

A storage node and switching system technology, which is applied in the switching method and system field of active and standby storage nodes, can solve problems such as incomplete service functions, inability to ensure strong consistency, and inability to enable write service functions of standby storage nodes, so as to ensure strong consistency sexual effect

Active Publication Date: 2015-05-13
SHENZHEN TENCENT COMP SYST CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, there are some defects in the currently formed storage layer active-standby switchover scheme
For some services that are highly sensitive to write data, the data in the database needs to be updated in time, such as monthly subscription services, recharge services, etc. After the master / standby switchover, the write service function should continue to ensure that users can continue to open monthly subscriptions and provide services for the game. Account recharge, etc., but in this way, it is impossible to ensure that the data provided by the backup storage node is completely consistent with the data of the primary storage node, that is, the strong consistency of "no difference" cannot be guaranteed, which may easily lead to data confusion
For some data services that require high accuracy, if the strong consistency after the master-standby switchover cannot be guaranteed, usually after switching to the standby storage node, in order to avoid data confusion, the write service function of the standby storage node cannot be enabled, that is, for Guaranteed strong consistency at the expense of writing services after switching to the standby storage node, resulting in incomplete service functions

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
  • Master and standby storage node switching method and system
  • Master and standby storage node switching method and system
  • Master and standby storage node switching method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0028] This example refers to the following names:

[0029] Active-standby switchover: When the primary storage node is down or cannot provide services for other reasons, it will automatically and quickly switch to the standby storage node to ensure the sustainability of external services.

[0030] Strong consistency: During and after the switchover process, ensure that the data that the standby storage node can provide external services is completely consistent with the primary storage node, avoiding data confusion caused by data synchronization problems during the switchover process.

[0031] Write service: Similar to the data update operations in the operational database, for data with high accuracy requirements, if the strong consistency of the master-standby switchover cannot be guaranteed, write services cannot ...

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

A method and advice for handing over between master and standby storage nodes and a storage medium are disclosed by the embodiments of the present invention, and the method includes: a master storage node sends service request data to a consistency control center for registration and synchronizes a standby storage node with the service request data if the registration is successful; when the consistency control center determines that the synchronization of the registered standby storage node with the service request data from the master storage node is failed, the consistency control center stores a key value corresponding to the registered service request data involved in the failed synchronization into a blacklist; the standby storage node obtains the blacklist from the consistency control center after the handing over; and when the standby storage node receives new service request data that corresponds to a key value the same as one stored in the blacklist, refusing, by the standby storage node, to provide a data writing service for the new service request data; otherwise, allowing, by the standby storage node, to provide the data writing service for the new service request data. In the embodiments of the present disclosure, the high consistency between the service request data on the master storage node and that on the standby storage node is ensured and the data writing service function is maintained on the standby storage node.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a method and a system for switching primary and secondary storage nodes. Background technique [0002] With the continuous development of network technology, there are more and more network service businesses, such as membership business, game currency account and so on. In order to ensure the sustainability of external services, there are usually primary storage nodes and backup storage nodes. When the primary storage node is working normally, the primary storage node provides business services to users. When the primary storage node is down or cannot provide services for other reasons In the case of service, it will usually automatically and quickly switch to the standby storage node. [0003] However, there are some defects in the current active / standby switchover scheme of the storage layer. For some services that are highly sensitive to write data, the data in the databas...

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): H04L12/24H04L29/06
CPCH04L67/1095H04L67/1034H04L69/40H04L63/10G06F11/20G06F16/2365G06F11/1662G06F11/2028G06F11/2048H04L67/1001
Inventor 张云龙雷海林王铁波潘安群吕明阳李纲鲍春健
Owner SHENZHEN TENCENT COMP SYST 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