Method and device for tcp flow backup and smoothing in tcp hot standby architecture

A technology of backup and smooth processing, applied in the field of data communication, can solve the problems of unreceived TCP stream, difficult to transmit reliably, unknowable, etc., to achieve the effect of improving availability, smoothing cache stream, and realizing uninterrupted business

Active Publication Date: 2022-04-15
FENGHUO COMM SCI & TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These implementation methods can only partially meet the scenario where there is no TCP flow sent and received between protocol components during a fault, and large-scale router protocol components may send and receive TCP flows all the time, and failures may occur in any link of sending and receiving TCP flows. Therefore, the above The implementation process of TCP hot backup is difficult to solve the following problems:
[0008] (1) Reliable backup of the TCP stream cannot be guaranteed before backup to the master, and since the backup buffer cannot be infinitely large, the deletion time of the backup TCP stream has a greater impact;
[0009] (2) After backup, although both the protocol component and the TCP component have backup TCP streams, in the sending direction, the protocol component cannot know which TCP streams in its sending buffer have been sent to the TCP component, and which TCP streams have not been sent To the TCP component; in the receiving direction, the protocol component has no way of knowing which TCP streams have been received from the TCP component and which TCP streams have not been received
[0010] Therefore, it is difficult for the aforementioned implementation to guarantee the reliable transmission of TCP streams sent and received between the protocol components and TCP, so that the TCP streams sent and received between the protocol components and the protocol components of the remote device will not lose or repeat some bytes, so that it is difficult to cause NSR failure

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
  • Method and device for tcp flow backup and smoothing in tcp hot standby architecture
  • Method and device for tcp flow backup and smoothing in tcp hot standby architecture
  • Method and device for tcp flow backup and smoothing in tcp hot standby architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0067] see figure 1 As shown, the embodiment of the present invention provides a method for TCP flow backup and smooth processing in a TCP hot standby architecture, including:

[0068] S1. When sending and receiving TCP data streams, the first active component close to the source buffers the stream first, and backs it up to the first backup component. After success, the length of the sending and receiving stream is updated and then transmitted to the second active component far away from the source (in the embodiment of the present invention Among them, the first main component is a protocol component in the sending direction, and a TCP component in the receiving direction; correspondingly, the second main component is a TCP component in the sending direction, and a protocol component in the receiving direction); the second main component rece...

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 method and device for backing up and smoothing TCP streams in a TCP hot standby architecture, relating to the field of data communication, including that when sending and receiving, the first active component close to the source first caches the stream, and then backs up the stream to the first standby component after success And update the length of the sending and receiving stream and then transmit it to the second active component; the second active component buffers the stream after receiving it, and after it is successfully backed up to the second standby component, it updates the length of the sending and receiving stream and transmits it to the next active component or remote End device; after receiving the confirmation of the next component based on the length of the sending and receiving flow or the confirmation of the remote device based on the TCP sequence number, the cache flow of the active and standby components can be deleted; after the standby is upgraded to the master, the protocol component is implemented based on the length of the sending and receiving flow Smoothing of buffered streams between and TCP components. The method and device for TCP stream backup and smoothing in the TCP hot backup framework of the present invention improve the recovery probability of the TCP-based MPLS / routing protocol after the backup is upgraded to the master, and improve the usability of the device.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a method and device for backing up and smoothing TCP streams in a TCP hot-backup architecture. Background technique [0002] NSR (None Stop Routing, non-stop routing) refers to the configuration of two main control disks in the network communication equipment, one is the main control disk (hereinafter referred to as the active disk), and the other is the standby main control disk (hereinafter referred to as standby disk), in the event of a physical / software failure of the active disk or an active-standby switchover command, the neighbor does not perceive the failure and does not need to provide GR assistance, and the standby disk takes over the work of the active disk to restore the protocol neighbor status and routing labels and other business data, Technology that does not cause protocol and business interruption. [0003] Based on the MPLS / routing protocol component of the 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 Patents(China)
IPC IPC(8): H04L69/163H04L69/40H04L41/0663H04L1/22H04L1/16H04L45/28H04L45/50
CPCH04L69/163H04L69/40H04L41/0663H04L1/22H04L1/1607H04L45/28H04L45/50
Inventor 付华楷马红斌
Owner FENGHUO COMM SCI & 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