Gateway disaster recovery method and device and memory medium

A gateway and gateway equipment technology, applied in the field of communications, can solve problems such as business loss and service unavailability, and achieve the effect of reducing business loss

Active Publication Date: 2017-10-20
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in some cases, due to frequent failure of some gateway devices in the gateway device cluster, the service is unavailable, resulting in a large amount of business 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
  • Gateway disaster recovery method and device and memory medium
  • Gateway disaster recovery method and device and memory medium
  • Gateway disaster recovery method and device and memory medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0042] Example one

[0043] This embodiment will be described from the perspective of a gateway disaster tolerance device. The gateway disaster tolerance device is specifically a gateway device in a gateway device cluster. The gateway device may be a device that provides a gateway function, such as a server that provides a gateway function.

[0044] A gateway disaster recovery method, applicable to gateway devices in a gateway device cluster, includes: sending heartbeat packets to other gateway devices and switches in the gateway device cluster, and receiving heartbeat packets sent by the other gateway devices, when in a preset time period When the heartbeat packet sent by the other gateway device is not received, it is determined that the other gateway device is faulty, the first network egress address configured on the other gateway device is obtained, and the first network egress address is assigned to the gateway device cluster The normal gateway device takes over.

[0045] Such as

Example Embodiment

[0099] Embodiment two

[0100] According to the method described in the first embodiment, further detailed description will be given below.

[0101] Such as Figure 2a As shown, this embodiment provides a network data interaction system, which includes: a gateway device cluster, a first network switch, and a second network switch; wherein the gateway device cluster includes multiple gateway devices, and the gateway device can provide a gateway device For functional devices, such as a server (LD) that provides a NAT gateway function, the gateway device cluster is connected to a first network switch through a first network, and is connected to a second network switch through a second network.

[0102] The following will be based on Figure 2a The shown network data interaction system will further describe the gateway disaster recovery method of the present invention.

[0103] Such as Figure 2b As shown, a gateway disaster recovery method, the specific process can be as follows:

[0104] 20

Example Embodiment

[0149] Embodiment three

[0150] In order to better implement the above method, the embodiment of the present invention also provides a gateway disaster tolerance device, which is suitable for gateway devices in a gateway device cluster, such as Figure 3a As shown, the gateway disaster recovery device includes: a heartbeat sending unit 301, a heartbeat receiving unit 302, a fault determination unit 303, an address acquisition unit 304, and an allocation unit 305, as follows:

[0151] (1) Heartbeat sending unit 301;

[0152] The heartbeat sending unit 301 is used to send heartbeat packets to other gateway devices and switches in the gateway device cluster.

[0153] In this embodiment, the gateway device may include a device that provides a NAT (Network Address Translation, network address translation) gateway function, for example, an LD (a server that provides a NAT gateway function).

[0154] Among them, the way of sending the heartbeat packet may include multicast sending, for example,

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 embodiment of the invention discloses a gateway disaster recovery method and device and a memory medium. According to the embodiment of the invention, heartbeat packets are sent to other gateway devices in a gateway device cluster and switches; the heartbeat packets sent by the other gateway devices are received; when the heartbeat packets sent by the other gateway devices are not received in a preset time period, it is determined that faults occur in the other gateway devices; first network exit addresses configured on the other gateway devices are obtained; and the first network exit addresses are allocated to and are taken over by the normal gateway devices in the gateway device cluster. According to the scheme, the heartbeat packets are mutually sent by the gateway devices in the gateway device cluster, thereby detecting the fault gateway devices in the cluster; when the fault gateway devices are detected, the first network exit addresses on the fault gateway devices can be taken over by the normal gateway devices in the cluster; the problem that service is unavailable due to gateway device faults can be solved; and business losses are greatly reduced.

Description

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

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
Owner TENCENT TECH (SHENZHEN) 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