US 11,706,301 B2
Server node selection method and terminal device
Zhongxian Chen, Shenzhen (CN); Lianxi Liu, Shenzhen (CN); and Bo Jiang, Shenzhen (CN)
Assigned to PETAL CLOUD TECHNOLOGY CO., LTD., Dongguan (CN)
Appl. No. 17/264,878
Filed by PETAL CLOUD TECHNOLOGY CO., LTD., Dongguan (CN)
PCT Filed Aug. 28, 2018, PCT No. PCT/CN2018/102804
§ 371(c)(1), (2) Date Feb. 1, 2021,
PCT Pub. No. WO2020/041988, PCT Pub. Date Mar. 5, 2020.
Prior Publication US 2021/0250408 A1, Aug. 12, 2021
Int. Cl. H04L 29/08 (2006.01); H04L 67/141 (2022.01); H04L 61/4511 (2022.01); H04L 61/5007 (2022.01)
CPC H04L 67/141 (2013.01) [H04L 61/4511 (2022.05); H04L 61/5007 (2022.05)] 12 Claims
OG exemplary drawing
 
1. A server node selection method, comprising:
sending, by a terminal device, a domain name resolution request to a DNS server, wherein the domain name resolution request carries a domain name, and the domain name resolution request requests an IP address corresponding to the domain name;
receiving, by the terminal device, a plurality of IP addresses fed back by the DNS server in response to the domain name resolution request, wherein each of the plurality of IP addresses corresponds to a server node in a plurality of server nodes;
sending, by the terminal device, a connection request to one server node in the plurality of server nodes at a first moment;
determining whether the terminal device receives, before a second moment, response information fed back by the one server node in response to the connection request;
upon determination that the terminal device receives, before the second moment, the response information fed back by the one server node, establishing, by the terminal device, a connection to the one server node;
upon determination that the terminal device does not receive, before the second moment, the response information fed back by the one server node, sending, by the terminal device, another connection request to another server node in the plurality of server nodes at the second moment;
receiving, by the terminal device, first response information at a fourth moment, the fourth moment being a moment between the second moment and a third moment; and
establishing, by the terminal device, a connection to a server node that sends the first response information, wherein the server node that sends the first response information is the one server node or the another server node,
wherein the method further comprises:
sending, by the terminal device, a network resource request to the server node that sends the first response information, wherein the network resource request requests a network resource;
determining whether the terminal device does not receive, within a second preset duration, the network resource fed back by the server node that sends the first response information in response to the network resource request; and
upon determination that the terminal device does not receive, within the second preset duration, the network resource fed back by the server node that sends the first response information, sending, by the terminal device, a network resource request to the server node that sends second response information.