State switching method and device

A state switching and standby state technology, applied in the field of communication, can solve the problems of long server state detection and switching process, unable to meet the service or business switching requirements with higher time precision, etc., to avoid business operation termination or abnormality, and improve reliability. performance and stability, and the effect of improving user experience

Active Publication Date: 2022-05-10
CHENGDU ZHONGHANG XINHONG TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Each server in the existing redundant backup system is based on the vrrp protocol (Virtual Router Redundancy Protocol, Virtual Router Redundancy Protocol) to achieve server high availability solutions, thereby avoiding single point failures, such as once the main server fails or goes down , the standby server needs to be switched to the main service state to take over the virtual IP (Internet Protocol, Internet Protocol) and continue to provide services to the client, but the existing server state detection and switching process is too long, resulting in the inability to meet some higher time precision requirements. Service or business switching requirements

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
  • State switching method and device
  • State switching method and device
  • State switching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Such as figure 1 As shown, it is a schematic diagram of a data interaction scene between a redundant backup system and a client (Client) in the prior art. The redundant backup system may include a master server (Master) and a backup server (Backup), and the master server A keepalived application implemented based on the vrrp protocol runs in the backup server and the backup server, so as to avoid a single point of failure.

[0043] exist figure 1 In the data interaction scenario shown in , for the client, the virtual IP (VIP, VirtualIP) address can be used to log in to the redundant backup system for service access or business use, and as long as one server in the redundant backup system can work normally Operation can ensure the normal operation of the corresponding service or business. For the redundant backup system, the redundant backup system appears as a VIP to the outside, that is, during the actual operation of the redundant backup system, the main server in 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

Embodiments of the present invention provide a state switching method and device, the state switching method includes receiving multicast packets sent by each of the second servers; for each multicast packet, extracting and sending the group The priority of the second server broadcasting the message; comparing its own priority with the extracted priorities in each of the multicast messages, and performing state switching when the comparison result meets the state switching condition. The present invention realizes the state switching of the server based on the way of multicast synchronization, and can effectively shorten the state switching time.

Description

technical field [0001] The present invention relates to the technical field of communications, and in particular, to a state switching method and device. Background technique [0002] Each server in the existing redundant backup system is based on the vrrp protocol (Virtual Router Redundancy Protocol, Virtual Router Redundancy Protocol) to achieve server high availability solutions, thereby avoiding single point failures, such as once the main server fails or goes down , the standby server needs to be switched to the main service state to take over the virtual IP (Internet Protocol, Internet Protocol) and continue to provide services to the client, but the existing server state detection and switching process is too long, resulting in the inability to meet some higher time precision requirements. Service or business switching requirements. Contents of the invention [0003] In view of this, the purpose of the embodiments of the present invention is to provide a method and...

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): H04L41/0663H04L41/0681
CPCH04L41/0663H04L41/0681
Inventor 李松
Owner CHENGDU ZHONGHANG XINHONG TECH CO LTD
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