Hot spare method and system for TCP (transmission control protocol)
A hot backup and backup technology, applied in the field of communication, can solve the problems of large amount of messages in hot backup, consume the bandwidth of the main board and the backup board, and implement complex problems, so as to achieve the effect of saving bandwidth, reducing complexity, and reducing the amount of messages
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] This embodiment provides a processing flow of a TCP hot backup method such as figure 1 As shown, the following processing steps are included:
[0041] Step 11, the main board sends an acknowledgment message to the opposite end of the TCP connection to the data that the TCP application layer protocol process has read, wherein the opposite end is the common opposite end of the node where the main board and the backup board are located;
[0042] Before sending the confirmation message, it includes: the TCP application layer protocol process sends a message to the TCP application layer protocol process of the standby board, and backs up the state of the TCP application layer protocol process to the standby board;
[0043] The TCP application layer protocol process of the standby board receives the message of the TCP application layer protocol process of the main board, and backs up the state of the TCP application layer protocol process.
[0044] Among them, before the TCP...
Embodiment 2
[0051] This embodiment provides a processing flow of a TCP hot backup method such as figure 2 As shown, the following processing steps are included:
[0052] In this embodiment, the BGP protocol is used as an example of the TCP application layer protocol for further description.
[0053] Step 21, the TCP application layer protocol process on the mainboard reads the TCP receiving buffer data, but does not delete the data from the receiving buffer;
[0054] Take the BGP process as an example. The BGP process reads the data in the TCP receiving buffer. If the BGP passes in the flag bit MSG_PEEK, the flag bit MSG_PEEK is used to mark the data in the TCP receiving buffer that the BGP process has read. The TCP connection is not modified. The serial number that should be read once, and read the data but do not delete the data from the receiving buffer, nor send a confirmation message to the opposite end; in this embodiment, the BGP process on the main board sends a message to the BGP...
Embodiment 3
[0071] This embodiment provides a kind of TCP hot backup system, and its concrete realization structure is as follows Figure 4 As shown, specifically, the following modules may be included: a sending module 32 and a retransmission module 34, wherein,
[0072] Sending module 32: it is used for the main board to send confirmation message to the opposite end of TCP connection to the data that TCP application layer protocol process has read;
[0073] Retransmission module 34: it is used for retransmitting the data not confirmed by the confirmation message to the standby board when the standby board is switched to become the main board.
[0074] A TCP hot backup system, comprising:
[0075] Update component 33: it is used for after sending described confirmation message, makes standby board update and preserves the first sequence number of the data that TCP application layer protocol process on mainboard does not read at present, and expects to receive the next sequence number T...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com