| CPC H04L 45/121 (2013.01) [H04L 45/28 (2013.01)] | 20 Claims |

|
1. A method for network access, applied to a content delivery network, wherein the method comprises:
determining candidate nodes currently accessible to a client in response to that a predetermined routing condition is triggered;
determining response time consumption corresponding to the candidate nodes by determining a response time indicative of a duration from sending data from the client to receiving a first byte by the client from each of the candidate nodes;
measuring network response rates of the candidate nodes, and determining an optimal node among the candidate nodes based on the response time consumption and the network response rates, wherein a smaller response time corresponds to a faster network response rate; and
connecting the client to the optimal node for network communication;
wherein in response to a target routing mode being a first routing mode, the determining the optimal node among the candidate nodes comprises:
measuring the network response rates of all the candidate nodes simultaneously,
obtaining a routing weight corresponding to each candidate node, the routing weight characterizing a priority corresponding to the candidate node, wherein a smaller routing weight represents a higher priority corresponding to the candidate node,
determining a sum of the response time consumption and the routing weight corresponding to the candidate node as a routing score of the candidate node, wherein a lower routing score represents a better network experience corresponding to the candidate node, and
determining a candidate node with the lowest routing score as the optimal node.
|