Method, device and system for restoring TCP connection sequence numbers
A connection sequence and sequence number technology, which is applied in the field of data communication, can solve the problems of TCP connection sequence number mismatch, message discarding, etc., and achieve the effect of avoiding overhead and saving system resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] The embodiment of the present invention provides a recovery TCP connection sequence number system, see figure 1 As shown, the main equipment 11 and the backup equipment 12 are included, and the main equipment 11 is connected with the backup equipment 12, wherein the main equipment 11 is used to establish a TCP connection with each peer equipment 13 (here figure 1 Only one peer device is drawn as a schematic diagram in the diagram, and in actual application, the master device 11 establishes a TCP connection with at least one peer device 13), and the TCP session data is backed up to the backup device 12; the backup device 12 is used to generate After the standby switchover, the new master device sends a notification message to each corresponding peer device 13 according to the backed up TCP connection data, and refreshes the serial number in the TCP connection according to the received response message sent by the peer device And the sequence number corresponding to the m...
Embodiment 2
[0053] An embodiment of the present invention provides an access authorization method, which is applied to figure 1 The recovery TCP connection sequence number system shown in, refer to figure 2 As shown in , the method includes:
[0054] S201. The master device establishes a TCP connection with the peer device, and backs up the TCP connection data to the backup device.
[0055] Specifically, the TCP connection data includes quintuples and status information.
[0056] S202, the backup device switches to a new master device after the master-standby switchover occurs, and sends a notification message to each corresponding peer device according to the backed up TCP connection data.
[0057] In this step, after the standby device is switched to a new master device, it traverses each TCP connection, uses the quintuple information in the TCP connection, and sends a notification message to the peer device to notify the peer device that a master has occurred at this end. Standby s...
Embodiment 3
[0065] The embodiment of the present invention provides another access authorization method, which is applied to figure 1 The peer device in the recovery TCP connection sequence number system shown in , refer to image 3 As shown in , the method includes:
[0066] S301, establish a TCP connection with the master device; receive a notification message sent by the new master device after switching;
[0067] S302. According to the notification message, update the sequence number in the local TCP connection and update the sequence number corresponding to the message that is expected to be received next time from the new master device to the initial value, and generate a response message and send it to the new master device.
[0068] In the embodiment of the present invention, by receiving the notification message, the result of matching the TCP sequence numbers at both ends of the communication is achieved; and then the TCP connection sequence numbers are restored.
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