A Transmission Control Protocol, TCP, link configuration method, comprising: acquiring (S101) data information in a data packet transmitted on a target TCP link or transmission information generated in a process of transmitting the data packet; determining (S102), according to the data information or the transmission information, a target network type of a network on which the target TCP link is located; searching (S103) a pre-established configuration library for a target TCP configuration file corresponding to the target network type, wherein the configuration library comprises a correspondence between a network type and a TCP configuration file, and each network type corresponds to one TCP configuration file; and configuring the target TCP link by using the searched target TCP configuration file that includes at least a congestion control algorithm for the target TCP link according to the network type corresponding to the searched target TCP confirmation file, wherein the data information comprises: a destination IP address and a source IP address that are carried in the data packet transmitted on the target TCP link; and the determining, according to the data information, a target network type of a network on which the target TCP link is located comprises: determining whether the destination IP address or the source IP address is an IP address of a server that runs a TCP service; determining that the target network type is a local area network when the destination IP address is the IP address of the server that runs the TCP service; or determining that the target network type is a wide area network when the source IP address is the IP address of the server that runs the TCP service. acquiring (S101) data information in a data packet transmitted on a target TCP link or transmission information generated in a process of transmitting the data packet; determining (S102), according to the data information or the transmission information, a target network type of a network on which the target TCP link is located; searching (S103) a pre-established configuration library for a target TCP configuration file corresponding to the target network type, wherein the configuration library comprises a correspondence between a network type and a TCP configuration file, and each network type corresponds to one TCP configuration file; and configuring the target TCP link by using the searched target TCP configuration file that includes at least a congestion control algorithm for the target TCP link according to the network type corresponding to the searched target TCP confirmation file, wherein the data information comprises: a destination IP address and a source IP address that are carried in the data packet transmitted on the target TCP link; and the determining, according to the data information, a target network type of a network on which the target TCP link is located comprises: determining whether the destination IP address or the source IP address is an IP address of a server that runs a TCP service; determining that the target network type is a local area network when the destination IP address is the IP address of the server that runs the TCP service; or determining that the target network type is a wide area network when the source IP address is the IP address of the server that runs the TCP service. determining whether the destination IP address or the source IP address is an IP address of a server that runs a TCP service; determining that the target network type is a local area network when the destination IP address is the IP address of the server that runs the TCP service; or determining that the target network type is a wide area network when the source IP address is the IP address of the server that runs the TCP service. <EOS>