主权项 |
1. A method comprising:
receiving, by a user device and from a user of the user device, configuration information identifying one or more factors relating to selecting an access network; detecting, by the user device, an attempt to access a wireless network of a plurality of wireless networks available to the user device; identifying, by the user device, the configuration information identifying the one or more factors, based on detecting the attempt; obtaining, by the user device and based on the configuration information identifying the one or more factors, at least one of:
a signal strength measurement of each wireless network of the plurality of wireless networks, orinformation identifying a level of congestion of each wireless network of the plurality of wireless networks; accessing, by the user device, a data structure using information identifying an access point name (APN) type associated with the detected attempt,
the data structure storing information identifying a plurality of APN types and information identifying a respective wireless network, of the plurality of wireless networks, associated with each of the plurality of APN types,the plurality of APN types relating to browsing the Internet, placing a voice call, and running an application,the plurality of APN types including the APN type associated with the detected attempt; selecting, by the user device, one wireless network, of the plurality of wireless networks, based on accessing the data structure and the at least one of the signal strength measurement of each wireless network of the plurality of wireless networks, or the information identifying the level of congestion of each wireless network of the plurality of wireless networks; and connecting, by the user device, to the one wireless network. |