US 9,813,507 B2
Method for maintaining transmission control protocol connection and computer system using the method
Shu-Chun Liao, New Taipei (TW); Ching-Ho Tsai, New Taipei (TW); and Siang-Sheng Jheng, New Taipei (TW)
Assigned to Acer Incorporated, New Taipei (TW)
Filed by Acer Incorporated, New Taipei (TW)
Filed on Mar. 22, 2015, as Appl. No. 14/664,907.
Claims priority of application No. 104104520 A (TW), filed on Feb. 11, 2015.
Prior Publication US 2016/0234316 A1, Aug. 11, 2016
Int. Cl. H04L 29/08 (2006.01); G06F 1/32 (2006.01); H04L 29/06 (2006.01)
CPC H04L 67/142 (2013.01) [G06F 1/3209 (2013.01); H04L 67/10 (2013.01); H04L 69/16 (2013.01); Y02B 60/43 (2013.01)] 7 Claims
OG exemplary drawing
 
1. A method for maintaining transmission control protocol (TCP) connection, adapted to a computer system having a network card and a processor, wherein the processor executes an operating system, the method comprising:
establishing a first TCP connection with a remote server via the network card;
the operating system entering a power saving mode;
receiving a wake-up packet transmitted by the remote server through the first TCP connection to wake up the operating system; and
resetting a retransmission time of the remote server transmitting the wake-up packet when the operating system resumes a normal operation mode, comprising:
determining whether a system load of the computer system is greater than a critical value;
transmitting a data packet to the remote server through the first TCP connection if the system load is greater than the critical value to control the remote server to reset the retransmission time of the wake-up packet; and
reestablishing a second TCP connection with the remote server via the network card if the system load is not greater than the critical value to reset the retransmission time of the wake-up packet.