端口复用方法、装置、电子设备、介质和计算机程序产品

By adjusting the FIN packet sequence number retention time and initial sequence number in the load balancer, the port multiplexing failure problem was solved, and the port multiplexing success rate was improved.

CN120614336BActive Publication Date: 2026-07-17SANGFOR TECH INC

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SANGFOR TECH INC
Filing Date
2025-05-30
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In load balancing devices, during port reuse, port reuse may fail because the initial sequence number of the next communication session is less than the FIN sequence number of the previous communication session. This is especially true in scenarios involving long connections or high-speed uploading of large files, where successful port reuse cannot be guaranteed.

Method used

By obtaining the FIN packet sequence number of the first communication session, the retention period is determined based on a preset relationship, and the initial sequence number of the second communication session is adjusted within this period to be greater than the sequence number of the first communication session, thus ensuring successful port multiplexing.

Benefits of technology

This effectively avoids port reuse failures, improves the port reuse success rate, and ensures normal handshakes and data transmission between different client devices and the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120614336B_ABST
    Figure CN120614336B_ABST
Patent Text Reader

Abstract

本实施例公开了一种端口复用方法、装置、电子设备、介质和计算机程序产品,其中,端口复用方法包括:获取第一通信会话对应的第一序列号;所述第一序列号是所述第一通信会话对应的FIN数据包的序列号;基于预设关系,确定第一时刻对应的第二序列号;所述第一时刻是所述第一通信会话待确定的保留时长的初始时刻;基于所述第一序列号与所述第二序列号的大小关系,确定所述保留时长,使在所述保留时长之后,基于所述第二序列号递增得到的序列号大于所述第一序列号;在复用时刻位于所述保留时长内的情况下,基于所述第一序列号确定第二通信会话的初始序列号;所述复用时刻表示所述第二通信会话需要与所述第一通信会话进行端口复用的时刻。
Need to check novelty before this filing date? Find Prior Art