Server and double-link backup method thereof

A server, dual-link technology, applied in the computer field, can solve the problem of UDP data packets being sent or discarded incorrectly, and achieve the effect of improving reliability indicators

CN101789855BActive Publication Date: 2013-08-07BEIJING TOPSEC TECH
4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2013-08-07

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a server and a double-link backup method thereof. In the method, one or more long-time online addresses are selected as reliable link addresses by the server, and double-link IP addresses supported by the server are set as a master address and a slave address; when the server arrives at preset time, a link request is initiated to a reliable link address based on the primary address, if the link succeeds, the primary address external service is bound, and a gateway correspondent to the master address is set as a default gateway; otherwise, the server initiates a connection request to a reliable link address based on the slave address, if the link succeeds, the slave address external service is bound, and a gateway correspondent to the slave address is set as a default gateway; and if the link fails, external service is not provided. The method realizes double-link hot backup of servers on Windows platform to greatly improve reliability index of servers.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of computers, in particular to a server and a dual-link backup method thereof. Background technique

[0002] Most of the Windows-based server programs will run on the Windows XP / 2000 / 2003 platform. When some applications need to meet the following requirements, the Windows operating system will not be able to meet: (1) the server uses dual links (such as two ISP (Internet Service Provider, Internet Service Provider) links) access, as long as If a link is normal, the server will be able to provide services to the outside world normally; (2) the client connects to the server through the source NAT (Network Address Translation, Network Address Translation) device; (3) the communication process between the server and the client includes using UDP ( User Datagram Protocol (User Datagram Protocol) protocol two-way interaction, and UDP communication is initiated by the client and the server responds.

[0003] like figure ...

Examples

Embodiment Construction

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0031] In order to solve the problem in the prior art that UDP data packets may be wrongly sent due to the configuration of two default gateways after dual-link configuration under the Windows operating system, the present invention provides a server dual-link backup method, which In the method, the dual links supported by the server can only work in active / standby mode, that is, only one link can work at the same time, and when one link fails, it can automatic...