主权项 |
1. A method for accessing webpages based on a transit mode, comprising:
receiving, by a crawler route server, a webpage access request sent from a client, wherein the webpage access request contains identification of a target website to be accessed; obtaining, by the crawler route server, a target crawler server which has the fastest speed for accessing the target website corresponding to the identification of the target website to be accessed from at least one crawler server; and returning, by the crawler route server, the identification of the target crawler server to the client, wherein the client accesses the target website through the target crawler server corresponding to the identification of the target crawler server; wherein before the crawler route server obtains the target crawler server which has the fastest speed, the method further includes: receiving, by the crawler route server, network speed for accessing the target website last time reported by each crawler server among the at least one crawler server, wherein the network speed for accessing the target website last time is a reciprocal of connection time that each crawler server connects to the target website when accessing the target website last time; and storing, by the crawler route server, the network speed for accessing the target website last time reported by each crawler server. |