技术领域technical field
本发明涉及通信技术领域,尤其涉及一种网络连接方法及移动终端。The invention relates to the field of communication technology, in particular to a network connection method and a mobile terminal.
背景技术Background technique
目前手机的很多使用场景是会进行基站网络间的切换或者是不同的频段的切换。而实际上大多数人的生活轨迹是比较固定的,对于大部分人来说,生活中会发生信号切换的地方比较固定。比如说,某一用户是湖北人,那么他从广东去湖北的火车路途中经过的路线基本是固定的几条线路,也就是说在固定线路上固定的位置会发生信号的切换。At present, many usage scenarios of mobile phones are switching between base station networks or switching between different frequency bands. In fact, the life trajectory of most people is relatively fixed. For most people, the place where signal switching occurs in life is relatively fixed. For example, if a certain user is from Hubei, then the route he passes on the train journey from Guangdong to Hubei is basically a few fixed lines, that is to say, signal switching will occur at a fixed position on the fixed line.
再比如,某用户家里是信号较差或者是数个基站的信号交界处,那么在生活中,他从公司回到家里,网络的切换也是固定的某些频段。或者说从特定地方的电梯出来时,本来无信号的手机搜到的网络也是固定的一些网络。在很多使用场景下,信号网络的切换和地理位置是密切相关的。但是搜索到的这些网络或者切换后的网络往往不是该地段网络信号质量最优的网络,网络的接通率,掉线率,以及搜网速度均会影响用户的使用体验。For another example, if a user's home has a poor signal or the signal junction of several base stations, then in life, when he returns home from the company, the network switching is also fixed in certain frequency bands. In other words, when you get out of the elevator in a specific place, the network that the mobile phone with no signal originally found is also a fixed network. In many usage scenarios, the switching of the signal network is closely related to the geographical location. However, the searched networks or the switched networks are often not the network with the best network signal quality in the area. The network connection rate, disconnection rate, and network search speed will all affect the user experience.
发明内容Contents of the invention
本发明实施例提供一种网络连接方法及移动终端,以解决现有技术中移动终端用户由于位置的切换导致联网受限,影响用户使用体验的问题。Embodiments of the present invention provide a network connection method and a mobile terminal, so as to solve the problem in the prior art that mobile terminal users are limited in networking due to location switching, which affects user experience.
第一方面,本发明实施例提供一种网络连接方法,包括:In a first aspect, an embodiment of the present invention provides a network connection method, including:
检测移动终端当前所处的第一地理位置;Detecting the first geographic location where the mobile terminal is currently located;
根据预先建立的网络列表与地理位置的对应关系,确定与第一地理位置对应的第一网络列表,其中网络列表中记录有至少一个网络以及该网络的优先级;Determining a first network list corresponding to the first geographic location according to the pre-established correspondence between the network list and the geographic location, wherein at least one network and the priority of the network are recorded in the network list;
按照网络的优先级的高低顺序,对第一网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络。Search and connect to the networks in the first network list in sequence according to the priority order of the networks until one of the networks is successfully connected.
第二方面,本发明实施例还提供一种移动终端,包括:In the second aspect, the embodiment of the present invention also provides a mobile terminal, including:
检测模块,用于检测移动终端当前所处的第一地理位置;A detection module, configured to detect the first geographic location where the mobile terminal is currently located;
第一确定模块,用于根据预先建立的网络列表与地理位置的对应关系,确定与第一地理位置对应的第一网络列表,其中网络列表中记录有至少一个网络以及该网络的优先级;The first determination module is configured to determine a first network list corresponding to the first geographic location according to the pre-established correspondence between the network list and the geographic location, wherein at least one network and the priority of the network are recorded in the network list;
第一处理模块,用于按照网络的优先级的高低顺序,对第一网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络。The first processing module is configured to sequentially search for and connect to the networks in the first network list according to the order of priority of the networks until one of the networks is successfully connected.
本发明实施例技术方案的有益效果至少包括:The beneficial effects of the technical solutions of the embodiments of the present invention at least include:
本发明技术方案,通过检测移动终端所处的第一地理位置,在获取移动终端的第一地理位置之后,根据网络列表与地理位置的对应关系,确定第一地理位置对应的第一网络列表,根据第一网络列表中网络优先级由高到低的顺序对各个网络依次进行搜索、连接,直至移动终端连接网络成功,可以实现通过结合地理位置信息的方式,保存不同地理位置对应的网络信号,并对搜网时的网络信号进行优先级的排序,以此加速搜网速度,提高用户的使用体验。In the technical solution of the present invention, by detecting the first geographic location where the mobile terminal is located, after obtaining the first geographic location of the mobile terminal, according to the corresponding relationship between the network list and the geographic location, determine the first network list corresponding to the first geographic location, According to the order of network priority in the first network list from high to low, each network is searched and connected in sequence until the mobile terminal successfully connects to the network, and the network signals corresponding to different geographical locations can be saved by combining the geographical location information. And prioritize the network signals when searching the Internet, so as to speed up the search speed and improve the user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1表示本发明实施例一提供的网络连接方法示意图;FIG. 1 shows a schematic diagram of a network connection method provided by Embodiment 1 of the present invention;
图2表示本发明实施例二提供的网络连接方法示意图;FIG. 2 shows a schematic diagram of a network connection method provided by Embodiment 2 of the present invention;
图3表示本发明实施例三提供的移动终端示意图一;FIG. 3 shows a first schematic diagram of a mobile terminal provided by Embodiment 3 of the present invention;
图4表示本发明实施例三提供的移动终端示意图二;FIG. 4 shows the second schematic diagram of the mobile terminal provided by the third embodiment of the present invention;
图5表示本发明实施例三提供的移动终端示意图三;FIG. 5 shows a third schematic diagram of a mobile terminal provided by Embodiment 3 of the present invention;
图6表示本发明实施例三提供的移动终端示意图四;FIG. 6 shows a fourth schematic diagram of a mobile terminal provided by Embodiment 3 of the present invention;
图7表示本发明实施例四提供的移动终端框图;FIG. 7 shows a block diagram of a mobile terminal provided by Embodiment 4 of the present invention;
图8表示本发明实施例五提供的移动终端框图。FIG. 8 shows a block diagram of a mobile terminal provided by Embodiment 5 of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
实施例一Embodiment one
如图1所示,本发明实施例一提供的网络连接方法,包括:As shown in Figure 1, the network connection method provided by Embodiment 1 of the present invention includes:
步骤101、检测移动终端当前所处的第一地理位置。Step 101. Detect the first geographic location where the mobile terminal is currently located.
移动终端首先检测当前所处的第一地理位置,具体的检测方式可以为:通过GPS(Global Positioning System,全球定位系统)进行定位,来实时获取当前的第一地理位置。也可以根据移动终端的某些应用中的定位功能来获取当前的第一地理位置。在获取移动终端当前所处的第一地理位置之后,执行步骤102。The mobile terminal first detects the current first geographic location, and a specific detection method may be: positioning through a GPS (Global Positioning System, Global Positioning System) to acquire the current first geographic location in real time. The current first geographic location can also be acquired according to the positioning function in some applications of the mobile terminal. After the first geographic location where the mobile terminal is currently located is acquired, step 102 is executed.
步骤102、根据预先建立的网络列表与地理位置的对应关系,确定与第一地理位置对应的第一网络列表,其中网络列表中记录有至少一个网络以及该网络的优先级。Step 102: Determine a first network list corresponding to the first geographic location according to the pre-established correspondence between the network list and the geographic location, where at least one network and the priority of the network are recorded in the network list.
在获取移动终端所处的第一地理位置之后,根据预先建立的地理位置与网络列表的对应关系,获取与第一地理位置对应的第一网络列表。需要说明的是,与地理位置对应的网络列表中包括至少一个网络,以及网络的优先级。After acquiring the first geographic location where the mobile terminal is located, the first network list corresponding to the first geographic location is acquired according to the pre-established correspondence between the geographic location and the network list. It should be noted that the network list corresponding to the geographical location includes at least one network and the priority of the network.
在确定第一网络列表之后,根据第一网络列表中所包含的至少一网络以及每一网络对应的优先级来确定此时移动终端可以连接到的网络,然后执行步骤103。After determining the first network list, determine the network that the mobile terminal can connect to at this time according to at least one network included in the first network list and the corresponding priority of each network, and then perform step 103 .
步骤103、按照网络的优先级的高低顺序,对第一网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络。Step 103: Search and connect to the networks in the first network list in sequence according to the priority order of the networks until one of the networks is successfully connected.
在移动终端进行网络连接过程中,按照第一网络列表中各个网络优先级由高到低的排列顺序,对各个网络依次进行搜索和连接。During the network connection process of the mobile terminal, each network is searched for and connected to in turn according to the arrangement order of each network priority in the first network list from high to low.
例如:移动终端首先对优先级最高的网络A进行搜索,在搜索到网络A之后进行连接,但如果出现无法连接成功的情况,则需要继续搜索优先级低于网络A的网络B,在搜索到网络B之后,如果仍然无法连接成功,则需要继续按照优先级由高到低的顺序进行搜索。当搜索到优先级低于网络B的网络C之后,进行网络连接,直至连接成功。其中网络A、网络B、网络C优先级由高到低的排列顺序依次为网络A、网络B、网络C。For example: the mobile terminal first searches for network A with the highest priority, and then connects after searching for network A, but if the connection fails, it needs to continue searching for network B with a lower priority than network A. After network B, if you still cannot connect successfully, you need to continue to search in order of priority from high to low. After searching for network C with a lower priority than network B, perform network connection until the connection is successful. Among them, network A, network B, and network C are arranged in order of priority from high to low as network A, network B, and network C.
网络优先级由高到低的排序可以是按照网络信号的强度由高到低的顺序进行排序,也可以是按照网络的连接频率由高到低的顺序进行排序。The ordering of network priorities from high to low may be based on the order of network signal strength from high to low, or according to the order of network connection frequencies from high to low.
本发明实施例一,首先检测移动终端所处的第一地理位置,在获取移动终端的第一地理位置之后,根据网络列表与地理位置的对应关系,确定第一地理位置对应的第一网络列表,根据第一网络列表中网络优先级由高到低的顺序对各个网络依次进行搜索、连接,直至移动终端连接网络成功,可以实现通过结合地理位置信息的方式,保存不同地理位置对应的网络信号,并对搜网时的网络信号进行优先级的排序,以此加速搜网速度,提高用户的使用体验。Embodiment 1 of the present invention, first detect the first geographic location where the mobile terminal is located, and after obtaining the first geographic location of the mobile terminal, determine the first network list corresponding to the first geographic location according to the correspondence between the network list and the geographic location According to the order of network priority in the first network list from high to low, each network is searched and connected in sequence until the mobile terminal successfully connects to the network, and the network signals corresponding to different geographical locations can be saved by combining geographical location information. , and prioritize the network signals when searching the Internet, so as to speed up the search speed and improve the user experience.
实施例二Embodiment two
如图2所示,本发明实施例二提供的网络连接方法,包括:As shown in Figure 2, the network connection method provided by Embodiment 2 of the present invention includes:
步骤201、检测移动终端当前所处的第一地理位置。Step 201. Detect the first geographic location where the mobile terminal is currently located.
移动终端首先通过GPS进行定位,来实时获取当前的第一地理位置。或者根据移动终端安装的某些应用中的定位功能来获取当前的第一地理位置。The mobile terminal first performs positioning through GPS to acquire the current first geographic location in real time. Or obtain the current first geographic location according to the positioning function in some applications installed on the mobile terminal.
步骤202、根据预先建立的网络列表与地理位置的对应关系,确定与第一地理位置对应的第一网络列表,其中网络列表中记录有至少一个网络以及该网络的优先级。Step 202: Determine a first network list corresponding to the first geographic location according to the pre-established correspondence between the network list and the geographic location, where at least one network and the priority of the network are recorded in the network list.
在获取移动终端所处的第一地理位置之后,根据预先建立的地理位置与网络列表的对应关系,获取与第一地理位置对应的第一网络列表。在确定第一网络列表之后,根据第一网络列表中所包含的至少一网络以及每一网络对应的优先级来确定此时移动终端可以连接到的网络。After acquiring the first geographic location where the mobile terminal is located, the first network list corresponding to the first geographic location is acquired according to the pre-established correspondence between the geographic location and the network list. After the first network list is determined, the network that the mobile terminal can connect to at this time is determined according to at least one network included in the first network list and the priority corresponding to each network.
步骤203、按照网络的优先级的高低顺序,对第一网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络。Step 203: Search and connect to the networks in the first network list in sequence according to the order of priority of the networks, until one of the networks is successfully connected.
在移动终端进行网络连接过程中,按照第一网络列表中各个网络优先级由高到低的排列顺序,对各个网络依次进行搜索和连接。网络优先级由高到低的排序可以是按照网络信号的强度由高到低的顺序进行排序,也可以是按照网络的连接频率由高到低的顺序进行排序。当网络优先级由高到低的排序是按照网络的连接频率由高到低的顺序进行排序的,则执行步骤204。During the network connection process of the mobile terminal, each network is searched for and connected to in turn according to the arrangement order of each network priority in the first network list from high to low. The ordering of network priorities from high to low may be based on the order of network signal strength from high to low, or according to the order of network connection frequencies from high to low. When the network priorities are sorted from high to low according to the order of network connection frequencies from high to low, step 204 is performed.
步骤204、根据移动终端当前连接的第一网络,更新第一地理位置处的网络连接历史记录,网络连接历史记录中记录有在预设时间区间内,移动终端在第一地理位置处成功连接的各个网络的连接次数。Step 204: According to the first network currently connected to the mobile terminal, update the network connection history record at the first geographic location. The network connection history record records the number of successful connections of the mobile terminal at the first geographic location within a preset time interval. The number of connections to each network.
当移动终端在第一地理位置时,与第一网络列表中的第一网络连接之后,需要对第一地理位置处的网络连接历史记录进行更新。例如:移动终端与第一网络列表中的网络A连接之后,对第一网络列表中的各个网络的连接次数进行更新。When the mobile terminal is in the first geographic location, after connecting to the first network in the first network list, the network connection history record at the first geographic location needs to be updated. For example: after the mobile terminal is connected to network A in the first network list, the connection times of each network in the first network list are updated.
针对网络A,将移动终端与网络A在预设时间区间内成功连接的次数,由原来的4次更新为5次,针对网络B,保留移动终端与网络B在预设时间区间内成功连接的次数4次,针对网络C,保留移动终端与网络C在预设时间区间内成功连接的次数3次,此时的第一网络为网络A,其中第一网络也可以是网络B或者网络C。For network A, the number of successful connections between the mobile terminal and network A within the preset time interval is updated from 4 times to 5 times, and for network B, the number of successful connections between the mobile terminal and network B within the preset time interval is retained The number of times is 4. For network C, the number of successful connections between the mobile terminal and network C within a preset time interval is reserved for 3 times. The first network at this time is network A, and the first network can also be network B or network C.
其中,在统计第一网络列表中各个网络在预设时间区间内连接成功的次数之后,完成第一地理位置处的网络连接历史记录的更新。在完成对第一地理位置处的网络连接历史记录的更新之后,执行步骤205。Wherein, after counting the number of successful connections of each network in the first network list within a preset time interval, the update of the network connection history record at the first geographic location is completed. After the update of the network connection history record at the first geographic location is completed, step 205 is executed.
步骤205、根据更新后的第一地理位置处的网络连接历史记录,更新第一网络列表中的网络的优先级。Step 205: Update the priorities of the networks in the first network list according to the updated network connection history at the first geographic location.
在完成第一地理位置处的网络连接历史记录的更新后,即完成第一网络列表中各个网络在预设时间区间内连接成功的次数的更新后,根据更新后的第一地理位置处的网络连接历史记录,按照连接次数由高到低的顺序对各个网络进行优先级由高到低的排序。具体为:根据当前第一网络列表中的各个网络在预设时间区间内连接成功次数由高到低的排序,进行第一网络列表中各个网络优先级由高到低的排序。After completing the update of the network connection history record at the first geographic location, that is, after completing the update of the number of successful connections of each network within the preset time interval in the first network list, according to the updated network at the first geographic location Connection history records, according to the order of the number of connections from high to low, the priority of each network is sorted from high to low. Specifically, according to the ranking of the number of successful connections of each network in the current first network list within the preset time interval from high to low, the priority of each network in the first network list is sorted from high to low.
其中,该方法还包括:Wherein, the method also includes:
建立各个地理位置之间的相邻关系,根据移动终端的运动轨迹以及预先建立的各个地理位置之间的相邻关系,预测移动终端将进入的第二地理位置;根据预先存储的网络列表与地理位置的对应关系,确定与第二地理位置对应的第二网络列表;在检测到移动终端进入第二地理位置时,按照网络的优先级的高低顺序,对第二网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络。Establish the adjacent relationship between each geographic location, predict the second geographic location that the mobile terminal will enter according to the trajectory of the mobile terminal and the pre-established adjacent relationship between each geographic location; according to the pre-stored network list and geographic location The corresponding relationship between the positions determines the second network list corresponding to the second geographic location; when it is detected that the mobile terminal enters the second geographic location, the networks in the second network list are searched sequentially according to the priority order of the networks and connect until you successfully connect to one of these networks.
当第一地理位置和第二地理位置相邻,在移动终端处于第一地理位置时,根据移动终端的运动轨迹以及第一地理位置与第二地理位置的关系,判定移动终端将进入的第二地理位置。然后确定与第二地理位置对应的第二网络列表,在确定第二网络列表之后,在移动终端处于第二地理位置时,按照网络优先级由高到低的顺序,依次对第二网络列表中的网络进行搜索和连接,直至搜索并连接至第二网络。When the first geographic location is adjacent to the second geographic location, when the mobile terminal is in the first geographic location, according to the movement track of the mobile terminal and the relationship between the first geographic location and the second geographic location, it is determined that the mobile terminal will enter the second geographic location. geographic location. Then determine the second network list corresponding to the second geographic location, after determining the second network list, when the mobile terminal is in the second geographic location, according to the order of network priority from high to low, sequentially select the network list in the second network list search and connect to the existing network until it searches and connects to the second network.
例如:移动终端的用户在乘火车时,在隧道的一侧为第一地理位置,第一地理位置对应的为第一网络列表,第一网络列表中优先级最高的网络为网络D,在隧道的另一侧为第二地理位置,第二地理位置对应的为第二网络列表,第二网络列表中优先级最高的网络为网络E。当火车在穿行隧道时,根据火车的运行轨迹,确定火车即将到达的第二地理位置,在火车到达第二地理位置,即移动终端到达第二地理位置之后,在第二网络列表中确定网络E,然后移动终端从网络D切换到网络E,这样可以比其它设备更快的搜索到网络。For example: when a user of a mobile terminal takes a train, the first geographic location is on one side of the tunnel, and the first geographic location corresponds to the first network list. The network with the highest priority in the first network list is network D. The other side of is the second geographic location, and the second geographic location corresponds to the second network list, and the network with the highest priority in the second network list is network E. When the train is passing through the tunnel, according to the running track of the train, determine the second geographic location that the train will arrive at, and after the train arrives at the second geographic location, that is, after the mobile terminal arrives at the second geographic location, determine the network E in the second network list , and then the mobile terminal switches from network D to network E, so that the network can be searched faster than other devices.
需要说明的是,本发明实施例还包括:在检测到移动终端当前连接的网络的信号质量劣于预设的质量门限时,获取当前的第三地理位置,并将第三地理位置标记为需要增加发射功率的地理位置。It should be noted that the embodiment of the present invention also includes: when it is detected that the signal quality of the network currently connected to the mobile terminal is worse than the preset quality threshold, acquiring the current third geographic location, and marking the third geographic location as a required Geographic location for increased transmit power.
在对当前的地理位置进行检测之前,移动终端当前连接的网络的信号质量参数低于预设的质量门限参数时,此时表明当前移动终端所处的地理位置无符合要求的网络,需要获取当前移动终端所处的第三地理位置,然后对第三地理位置进行标记,在对第三地理位置进行标记的过程中,对第三地理位置进行需增加发射功率的标记。Before detecting the current geographic location, if the signal quality parameter of the network currently connected to the mobile terminal is lower than the preset quality threshold parameter, it indicates that there is no network that meets the requirements in the current geographic location of the mobile terminal, and it is necessary to obtain the current The third geographic location where the mobile terminal is located is then marked. In the process of marking the third geographic location, the third geographic location needs to be marked with increased transmission power.
在检测到移动终端再次进入第三地理位置之后,根据预先设置的标记,增加移动终端的发射功率。使得移动终端可以搜索范围更广的网络信号,在搜索到信号质量参数高于预设的质量门限参数的网络时,对该网络进行连接。After detecting that the mobile terminal enters the third geographic location again, the transmit power of the mobile terminal is increased according to the preset flag. The mobile terminal can search for network signals in a wider range, and connect to the network when the network whose signal quality parameter is higher than the preset quality threshold parameter is found.
本发明实施例二,首先检测移动终端所处的第一地理位置,在获取移动终端的第一地理位置之后,根据网络列表与地理位置的对应关系,确定第一地理位置对应的第一网络列表,根据第一网络列表中网络优先级由高到低的顺序对各个网络依次进行搜索、连接,在移动终端连接网络成功后,更新第一地理位置处的网络连接历史记录以及网络优先级,可以实现通过结合地理位置信息的方式,保存不同地理位置对应的网络信号,并对搜网时的网络信号进行优先级的排序,以此加速搜网速度,提高用户的使用体验。In the second embodiment of the present invention, the first geographic location of the mobile terminal is first detected, and after the first geographic location of the mobile terminal is acquired, the first network list corresponding to the first geographic location is determined according to the correspondence between the network list and the geographic location , search and connect to each network sequentially according to the order of network priority in the first network list from high to low, after the mobile terminal successfully connects to the network, update the network connection history record and network priority at the first geographic location, you can By combining the geographical location information, the network signals corresponding to different geographical locations are saved, and the network signals are prioritized when searching the Internet, so as to speed up the search speed and improve the user experience.
实施例三Embodiment three
以下为本发明实施例三提供的一种移动终端的实施例,移动终端的实施例中未详尽描述的细节内容,可以参考上述方法实施例。The following is an embodiment of a mobile terminal provided by Embodiment 3 of the present invention. For details not described in detail in the embodiment of the mobile terminal, reference may be made to the foregoing method embodiment.
如图3所示,移动终端300包括:As shown in Figure 3, the mobile terminal 300 includes:
检测模块301,用于检测移动终端当前所处的第一地理位置;A detection module 301, configured to detect the first geographic location where the mobile terminal is currently located;
第一确定模块302,用于根据预先建立的网络列表与地理位置的对应关系,确定与第一地理位置对应的第一网络列表,其中网络列表中记录有至少一个网络以及该网络的优先级;The first determining module 302 is configured to determine a first network list corresponding to the first geographic location according to the pre-established correspondence between the network list and the geographic location, where at least one network and the priority of the network are recorded in the network list;
第一处理模块303,用于按照网络的优先级的高低顺序,对第一网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络。The first processing module 303 is configured to sequentially search for and connect to the networks in the first network list according to the priority order of the networks until one of the networks is successfully connected.
其中,如图4所示,移动终端300还包括:Wherein, as shown in FIG. 4, the mobile terminal 300 also includes:
第一更新模块304,用于在第一处理模块303按照网络的优先级的高低顺序,对第一网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络之后,根据移动终端当前连接的第一网络,更新第一地理位置处的网络连接历史记录,网络连接历史记录中记录有在预设时间区间内,移动终端在第一地理位置处成功连接的各个网络的连接次数;The first update module 304 is configured to search and connect to the networks in the first network list in sequence according to the priority order of the networks in the first processing module 303 until one of the networks is successfully connected, according to the mobile terminal For the currently connected first network, update the network connection history record at the first geographic location, where the network connection history record records the number of connections to each network that the mobile terminal successfully connects to at the first geographic location within a preset time interval;
第二更新模块305,用于根据更新后的第一地理位置处的网络连接历史记录,更新第一网络列表中的网络的优先级。The second updating module 305 is configured to update the priorities of the networks in the first network list according to the updated network connection history at the first geographic location.
其中,第二更新模块305进一步用于:Wherein, the second updating module 305 is further used for:
根据更新后的第一地理位置处的网络连接历史记录,按照连接次数由高到低的顺序对各个网络进行优先级由高到低的排序。According to the updated network connection history records at the first geographic location, the priority of each network is sorted in descending order of connection times.
其中,如图5所示,移动终端300还包括:Wherein, as shown in FIG. 5, the mobile terminal 300 also includes:
建立模块306,用于建立各个地理位置之间的相邻关系;Establishment module 306, is used for establishing the adjacency relationship between each geographic location;
预测模块307,用于根据移动终端的运动轨迹以及预先建立的各个地理位置之间的相邻关系,预测移动终端将进入的第二地理位置;A prediction module 307, configured to predict a second geographic location that the mobile terminal will enter according to the trajectory of the mobile terminal and the pre-established adjacency relationship between the various geographic locations;
第二确定模块308,用于根据预先存储的网络列表与地理位置的对应关系,确定与第二地理位置对应的第二网络列表;The second determining module 308 is configured to determine a second network list corresponding to the second geographic location according to the pre-stored correspondence between the network list and the geographic location;
第二处理模块309,用于在检测到移动终端进入第二地理位置时,按照网络的优先级的高低顺序,对第二网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络。The second processing module 309 is configured to search and connect to the networks in the second network list in sequence according to the priority order of the networks when it is detected that the mobile terminal enters the second geographic location, until it successfully connects to one of them network.
其中,如图6所示,移动终端300还包括:Wherein, as shown in FIG. 6, the mobile terminal 300 also includes:
标记模块310,用于在检测到移动终端当前连接的网络的信号质量劣于预设的质量门限时,获取当前的第三地理位置,并将第三地理位置标记为需要增加发射功率的地理位置。The marking module 310 is configured to obtain the current third geographic location when it is detected that the signal quality of the network to which the mobile terminal is currently connected is worse than a preset quality threshold, and mark the third geographic location as a geographic location that needs to increase transmission power .
其中,移动终端300还包括:Wherein, the mobile terminal 300 also includes:
调节模块311,用于在检测到移动终端再次进入第三地理位置时,根据预先设置的标记,增加移动终端的发射功率。The adjustment module 311 is configured to increase the transmission power of the mobile terminal according to a preset flag when it is detected that the mobile terminal enters the third geographic location again.
本发明实施例三,首先检测移动终端所处的第一地理位置,在获取移动终端的第一地理位置之后,根据网络列表与地理位置的对应关系,确定第一地理位置对应的第一网络列表,根据第一网络列表中网络优先级由高到低的顺序对各个网络依次进行搜索、连接,在移动终端连接网络成功后,更新第一地理位置处的网络连接历史记录以及网络优先级,可以实现通过结合地理位置信息的方式,保存不同地理位置对应的网络信号,并对搜网时的网络信号进行优先级的排序,以此加速搜网速度,提高用户的使用体验。Embodiment 3 of the present invention, first detect the first geographic location where the mobile terminal is located, and after obtaining the first geographic location of the mobile terminal, determine the first network list corresponding to the first geographic location according to the correspondence between the network list and the geographic location , search and connect to each network sequentially according to the order of network priority in the first network list from high to low, after the mobile terminal successfully connects to the network, update the network connection history record and network priority at the first geographic location, you can By combining the geographical location information, the network signals corresponding to different geographical locations are saved, and the network signals are prioritized when searching the Internet, so as to speed up the search speed and improve the user experience.
实施例四Embodiment Four
图7是本发明另一个实施例的移动终端的框图。图7所示的移动终端700包括:至少一个处理器701、存储器702、至少一个网络接口704和其他用户接口703。移动终端700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为总线系统705。FIG. 7 is a block diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal 700 shown in FIG. 7 includes: at least one processor 701 , a memory 702 , at least one network interface 704 and other user interfaces 703 . Various components in the mobile terminal 700 are coupled together through a bus system 705 . It can be understood that the bus system 705 is used to realize connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 705 in FIG. 7 .
其中,用户接口703可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 703 may include a display, a keyboard or a pointing device (for example, a mouse, a trackball (trackball), a touch panel or a touch screen, and the like.
可以理解,本发明实施例中的存储器702可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本文描述的系统和方法的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 702 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data RateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct memory bus random access memory (DirectRambus RAM, DRRAM). Memory 702 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器702存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统7021和应用程序7022。In some implementations, the memory 702 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 7021 and an application program 7022 .
其中,操作系统7021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序7022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序7022中。Among them, the operating system 7021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 7022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 7022 .
在本发明实施例中,通过调用存储器702存储的程序或指令,具体的,可以是应用程序7022中存储的程序或指令,处理器701用于:检测移动终端当前所处的第一地理位置;根据预先建立的网络列表与地理位置的对应关系,确定与第一地理位置对应的第一网络列表,其中网络列表中记录有至少一个网络以及该网络的优先级;按照网络的优先级的高低顺序,对第一网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络。In the embodiment of the present invention, by calling the program or instruction stored in the memory 702, specifically, the program or instruction stored in the application program 7022, the processor 701 is configured to: detect the first geographic location where the mobile terminal is currently located; According to the corresponding relationship between the pre-established network list and the geographic location, determine the first network list corresponding to the first geographic location, wherein at least one network and the priority of the network are recorded in the network list; according to the order of priority of the network , search for and connect to the networks in the first network list in sequence until one of the networks is successfully connected.
上述本发明实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 701 or implemented by the processor 701 . The processor 701 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or instructions in the form of software. The above-mentioned processor 701 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702, and completes the steps of the above method in combination with its hardware.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
可选的,在按照网络的优先级的高低顺序,对第一网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络之后,处理器701还用于:根据移动终端当前连接的第一网络,更新第一地理位置处的网络连接历史记录,网络连接历史记录中记录有在预设时间区间内,移动终端在第一地理位置处成功连接的各个网络的连接次数;根据更新后的第一地理位置处的网络连接历史记录,更新第一网络列表中的网络的优先级。Optionally, after searching and connecting to the networks in the first network list in sequence according to the priority order of the networks until one of the networks is successfully connected, the processor 701 is further configured to: according to the current connection of the mobile terminal update the network connection history record at the first geographic location, the network connection history record records the number of connections to each network that the mobile terminal successfully connects to at the first geographic location within a preset time interval; according to the updated After the network connection history record at the first geographic location, the priority of the network in the first network list is updated.
可选的,在根据更新后的第一地理位置处的网络连接历史记录,更新第一网络列表中的网络的优先级时,处理器701还用于:根据更新后的第一地理位置处的网络连接历史记录,按照连接次数由高到低的顺序对各个网络进行优先级由高到低的排序。Optionally, when updating the priorities of the networks in the first network list according to the updated network connection history records at the first geographic location, the processor 701 is further configured to: Network connection history records, according to the order of the number of connections from high to low, the priority of each network is sorted from high to low.
可选的,处理器701还用于:建立各个地理位置之间的相邻关系;根据移动终端的运动轨迹以及预先建立的各个地理位置之间的相邻关系,预测移动终端将进入的第二地理位置;根据预先存储的网络列表与地理位置的对应关系,确定与第二地理位置对应的第二网络列表;在检测到移动终端进入第二地理位置时,按照网络的优先级的高低顺序,对第二网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络。Optionally, the processor 701 is further configured to: establish an adjacency relationship between various geographic locations; predict the second location that the mobile terminal will enter according to the movement track of the mobile terminal and the pre-established adjacency relationship between various geographic locations. Geographic location; according to the correspondence between the pre-stored network list and the geographic location, determine the second network list corresponding to the second geographic location; when the mobile terminal is detected to enter the second geographic location, according to the priority order of the network, The networks in the second network list are searched and connected in sequence until one of the networks is successfully connected.
可选的,处理器701还用于:在检测到移动终端当前连接的网络的信号质量劣于预设的质量门限时,获取当前的第三地理位置,并将第三地理位置标记为需要增加发射功率的地理位置。Optionally, the processor 701 is further configured to: when it is detected that the signal quality of the network to which the mobile terminal is currently connected is worse than a preset quality threshold, obtain the current third geographic location, and mark the third geographic location as needing to be added Geographical location of transmit power.
可选的,处理器701还用于:在检测到移动终端再次进入第三地理位置时,根据预先设置的标记,增加移动终端的发射功率。Optionally, the processor 701 is further configured to: increase the transmit power of the mobile terminal according to a preset flag when detecting that the mobile terminal enters the third geographic location again.
移动终端700能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 700 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.
本发明实施例四,首先检测移动终端所处的第一地理位置,在获取移动终端的第一地理位置之后,根据网络列表与地理位置的对应关系,确定第一地理位置对应的第一网络列表,根据第一网络列表中网络优先级由高到低的顺序对各个网络依次进行搜索、连接,直至移动终端连接网络成功,可以实现通过结合地理位置信息的方式,保存不同地理位置对应的网络信号,并对搜网时的网络信号进行优先级的排序,以此加速搜网速度,提高用户的使用体验。Embodiment 4 of the present invention, first detect the first geographic location where the mobile terminal is located, and after obtaining the first geographic location of the mobile terminal, determine the first network list corresponding to the first geographic location according to the correspondence between the network list and the geographic location According to the order of network priority in the first network list from high to low, each network is searched and connected in sequence until the mobile terminal successfully connects to the network, and the network signals corresponding to different geographical locations can be saved by combining geographical location information. , and prioritize the network signals when searching the Internet, so as to speed up the search speed and improve the user experience.
实施例五Embodiment five
图8是本发明另一个实施例的移动终端的结构示意图。具体地,图8中的移动终端800可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。Fig. 8 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 800 in FIG. 8 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.
图8中的移动终端800包括射频(Radio Frequency,RF)电路810、存储器820、输入单元830、显示单元840、处理器860、音频电路870、WiFi(Wireless Fidelity)模块880和电源890。The mobile terminal 800 in FIG. 8 includes a radio frequency (Radio Frequency, RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a processor 860, an audio circuit 870, a WiFi (Wireless Fidelity) module 880 and a power supply 890.
其中,输入单元830可用于接收用户输入的数字或字符信息,以及产生与移动终端800的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元830可以包括触控面板831。触控面板831,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板831上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板831可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器860,并能接收处理器860发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板831。除了触控面板831,输入单元830还可以包括其他输入设备832,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 830 can be used for receiving number or character information input by the user, and generating signal input related to the user setting and function control of the mobile terminal 800 . Specifically, in the embodiment of the present invention, the input unit 830 may include a touch panel 831 . The touch panel 831, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 831 using any suitable object or accessory such as a finger or a stylus), and based on preset The specified program drives the corresponding connected device. Optionally, the touch panel 831 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 860, and can receive and execute commands sent by the processor 860. In addition, the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 831, the input unit 830 may also include other input devices 832, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.
其中,显示单元840可用于显示由用户输入的信息或提供给用户的信息以及移动终端800的各种菜单界面。显示单元840可包括显示面板841,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板841。Wherein, the display unit 840 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 800 . The display unit 840 may include a display panel 841, and optionally, the display panel 841 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
应注意,触控面板831可以覆盖显示面板841,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器860以确定触摸事件的类型,随后处理器860根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 831 can cover the display panel 841 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 860 to determine the type of the touch event, and then the processor The 860 provides corresponding visual output on the touch display screen according to the type of the touch event.
触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.
其中处理器860是移动终端800的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器821内的软件程序和/或模块,以及调用存储在第二存储器822内的数据,执行移动终端800的各种功能和处理数据,从而对移动终端800进行整体监控。可选的,处理器860可包括一个或多个处理单元。Wherein the processor 860 is the control center of the mobile terminal 800, utilizes various interfaces and lines to connect the various parts of the whole mobile phone, by running or executing the software programs and/or modules stored in the first memory 821, and calling the software programs and/or modules stored in the second memory 821. The data in the memory 822 executes various functions of the mobile terminal 800 and processes data, so as to monitor the mobile terminal 800 as a whole. Optionally, the processor 860 may include one or more processing units.
在本发明实施例中,通过调用存储该第一存储器821内的软件程序和/或模块和/或该第二存储器822内的数据,处理器860用于:检测移动终端当前所处的第一地理位置;根据预先建立的网络列表与地理位置的对应关系,确定与第一地理位置对应的第一网络列表,其中网络列表中记录有至少一个网络以及该网络的优先级;按照网络的优先级的高低顺序,对第一网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络。In the embodiment of the present invention, by calling the software programs and/or modules stored in the first memory 821 and/or the data in the second memory 822, the processor 860 is used to: detect the first Geographic location; according to the correspondence between the pre-established network list and the geographic location, determine the first network list corresponding to the first geographic location, wherein at least one network and the priority of the network are recorded in the network list; according to the priority of the network Search and connect to the networks in the first network list in sequence until you successfully connect to one of them.
可选的,在按照网络的优先级的高低顺序,对第一网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络之后,处理器860还用于:根据移动终端当前连接的第一网络,更新第一地理位置处的网络连接历史记录,网络连接历史记录中记录有在预设时间区间内,移动终端在第一地理位置处成功连接的各个网络的连接次数;根据更新后的第一地理位置处的网络连接历史记录,更新第一网络列表中的网络的优先级。Optionally, after searching and connecting to the networks in the first network list in sequence according to the priority order of the networks until one of the networks is successfully connected, the processor 860 is further configured to: according to the current connection of the mobile terminal update the network connection history record at the first geographic location, the network connection history record records the number of connections to each network that the mobile terminal successfully connects to at the first geographic location within a preset time interval; according to the updated After the network connection history record at the first geographic location, the priority of the network in the first network list is updated.
可选的,在根据更新后的第一地理位置处的网络连接历史记录,更新第一网络列表中的网络的优先级时,处理器860还用于:根据更新后的第一地理位置处的网络连接历史记录,按照连接次数由高到低的顺序对各个网络进行优先级由高到低的排序。Optionally, when updating the priorities of the networks in the first network list according to the updated network connection history records at the first geographic location, the processor 860 is further configured to: Network connection history records, according to the order of the number of connections from high to low, the priority of each network is sorted from high to low.
可选的,处理器860还用于:建立各个地理位置之间的相邻关系;根据移动终端的运动轨迹以及预先建立的各个地理位置之间的相邻关系,预测移动终端将进入的第二地理位置;根据预先存储的网络列表与地理位置的对应关系,确定与第二地理位置对应的第二网络列表;在检测到移动终端进入第二地理位置时,按照网络的优先级的高低顺序,对第二网络列表中的网络依次进行搜索和连接,直至成功连接到其中的一个网络。Optionally, the processor 860 is further configured to: establish an adjacent relationship between various geographic locations; predict the second location that the mobile terminal will enter according to the movement track of the mobile terminal and the pre-established adjacent relationship between various geographic locations. Geographic location; according to the correspondence between the pre-stored network list and the geographic location, determine the second network list corresponding to the second geographic location; when the mobile terminal is detected to enter the second geographic location, according to the priority order of the network, The networks in the second network list are searched and connected in sequence until one of the networks is successfully connected.
可选的,处理器860还用于:在检测到移动终端当前连接的网络的信号质量劣于预设的质量门限时,获取当前的第三地理位置,并将第三地理位置标记为需要增加发射功率的地理位置。Optionally, the processor 860 is further configured to: when it is detected that the signal quality of the network currently connected to the mobile terminal is worse than a preset quality threshold, obtain the current third geographic location, and mark the third geographic location as needing to be added Geographical location of transmit power.
可选的,处理器860还用于:在检测到移动终端再次进入第三地理位置时根据预先设置的标记,增加移动终端的发射功率。Optionally, the processor 860 is further configured to: increase the transmit power of the mobile terminal according to a preset flag when detecting that the mobile terminal enters the third geographic location again.
本发明实施例五,首先检测移动终端所处的第一地理位置,在获取移动终端的第一地理位置之后,根据网络列表与地理位置的对应关系,确定第一地理位置对应的第一网络列表,根据第一网络列表中网络优先级由高到低的顺序对各个网络依次进行搜索、连接,直至移动终端连接网络成功,可以实现通过结合地理位置信息的方式,保存不同地理位置对应的网络信号,并对搜网时的网络信号进行优先级的排序,以此加速搜网速度,提高用户的使用体验。Embodiment 5 of the present invention, first detect the first geographic location where the mobile terminal is located, and after obtaining the first geographic location of the mobile terminal, determine the first network list corresponding to the first geographic location according to the correspondence between the network list and the geographic location According to the order of network priority in the first network list from high to low, each network is searched and connected in sequence until the mobile terminal successfully connects to the network, and the network signals corresponding to different geographical locations can be saved by combining geographical location information. , and prioritize the network signals when searching the Internet, so as to speed up the search speed and improve the user experience.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述的原理前提下还可以作出若干改进和润饰,这些改进和润饰也在本发明的保护范围内。What has been described above is a preferred embodiment of the present invention. It should be pointed out that for those skilled in the art, some improvements and modifications can be made without departing from the principles described in the present invention. within the scope of protection of the invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710055019.XACN106714251B (en) | 2017-01-24 | 2017-01-24 | A kind of method for connecting network and mobile terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710055019.XACN106714251B (en) | 2017-01-24 | 2017-01-24 | A kind of method for connecting network and mobile terminal |
| Publication Number | Publication Date |
|---|---|
| CN106714251Atrue CN106714251A (en) | 2017-05-24 |
| CN106714251B CN106714251B (en) | 2019-04-12 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710055019.XAActiveCN106714251B (en) | 2017-01-24 | 2017-01-24 | A kind of method for connecting network and mobile terminal |
| Country | Link |
|---|---|
| CN (1) | CN106714251B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107318091A (en)* | 2017-06-21 | 2017-11-03 | 维沃移动通信有限公司 | The control method and mobile terminal of a kind of network connection |
| CN108668341A (en)* | 2018-04-20 | 2018-10-16 | Oppo广东移动通信有限公司 | Antenna control method and related products |
| CN108811080A (en)* | 2018-05-31 | 2018-11-13 | 北京小米移动软件有限公司 | The method, apparatus and storage medium of cell registration |
| CN109548103A (en)* | 2018-12-19 | 2019-03-29 | 连尚(新昌)网络科技有限公司 | Method and apparatus for handover network |
| CN110035185A (en)* | 2019-04-22 | 2019-07-19 | 联想(北京)有限公司 | A kind of control method, device and electronic equipment |
| CN110062448A (en)* | 2019-04-30 | 2019-07-26 | 努比亚技术有限公司 | Method, terminal and the storage medium of power-saving control |
| WO2020038401A1 (en)* | 2018-08-22 | 2020-02-27 | 华为技术有限公司 | Network reselection method and apparatus |
| CN111010732A (en)* | 2020-01-07 | 2020-04-14 | 宇龙计算机通信科技(深圳)有限公司 | Network registration method, device, electronic equipment and medium |
| CN111163503A (en)* | 2019-03-14 | 2020-05-15 | 广东小天才科技有限公司 | Network searching method of mobile terminal and mobile terminal |
| CN112333028A (en)* | 2020-11-20 | 2021-02-05 | 南京创维信息技术研究院有限公司 | Dynamic processing method, device, terminal and medium for multi-network coexistence |
| CN113038573A (en)* | 2019-12-25 | 2021-06-25 | Oppo广东移动通信有限公司 | Network search control method, device, mobile terminal and storage medium |
| CN113556790A (en)* | 2020-04-24 | 2021-10-26 | 深圳市万普拉斯科技有限公司 | Network type switching method and device, computer equipment and storage medium |
| CN113973335A (en)* | 2021-11-02 | 2022-01-25 | 广东电网有限责任公司 | Operator signal detection method and device |
| CN114339677A (en)* | 2021-12-15 | 2022-04-12 | 北京交通大学 | Vehicle network switching method, device, server and storage medium |
| CN115134907A (en)* | 2022-06-29 | 2022-09-30 | 高新兴物联科技有限公司 | Vehicle-mounted communication network registration method, equipment and computer readable storage medium |
| US11910264B2 (en) | 2018-08-22 | 2024-02-20 | Huawei Technologies Co., Ltd. | Network reselection method and apparatus |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101345981A (en)* | 2007-07-13 | 2009-01-14 | 华为技术有限公司 | A network selection method, communication system and mobile terminal |
| CN101616463B (en)* | 2008-06-27 | 2011-11-16 | 华为技术有限公司 | Method, device and system for realizing pre-certification |
| CN102480763A (en)* | 2010-11-26 | 2012-05-30 | 国际商业机器公司 | Method and device for providing data to mobile equipment |
| CN101686474B (en)* | 2008-09-24 | 2012-07-04 | 上海摩波彼克半导体有限公司 | Method for realizing rapid cell selection for mobile station in wireless cellular network |
| CN103906180A (en)* | 2012-12-28 | 2014-07-02 | 联芯科技有限公司 | Method for quickly searching for public land mobile networks |
| CN104717610A (en)* | 2015-03-04 | 2015-06-17 | 惠州Tcl移动通信有限公司 | Wireless data network automatic shift method and mobile terminal based on LBS |
| CN104869615A (en)* | 2015-04-30 | 2015-08-26 | 广东欧珀移动通信有限公司 | Network access method and mobile communication terminal |
| CN105554697A (en)* | 2015-09-29 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Network access method and terminal |
| CN105848253A (en)* | 2016-04-28 | 2016-08-10 | 努比亚技术有限公司 | Smart network searching method, device and mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101345981A (en)* | 2007-07-13 | 2009-01-14 | 华为技术有限公司 | A network selection method, communication system and mobile terminal |
| CN101616463B (en)* | 2008-06-27 | 2011-11-16 | 华为技术有限公司 | Method, device and system for realizing pre-certification |
| CN101686474B (en)* | 2008-09-24 | 2012-07-04 | 上海摩波彼克半导体有限公司 | Method for realizing rapid cell selection for mobile station in wireless cellular network |
| CN102480763A (en)* | 2010-11-26 | 2012-05-30 | 国际商业机器公司 | Method and device for providing data to mobile equipment |
| CN103906180A (en)* | 2012-12-28 | 2014-07-02 | 联芯科技有限公司 | Method for quickly searching for public land mobile networks |
| CN104717610A (en)* | 2015-03-04 | 2015-06-17 | 惠州Tcl移动通信有限公司 | Wireless data network automatic shift method and mobile terminal based on LBS |
| CN104869615A (en)* | 2015-04-30 | 2015-08-26 | 广东欧珀移动通信有限公司 | Network access method and mobile communication terminal |
| CN105554697A (en)* | 2015-09-29 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Network access method and terminal |
| CN105848253A (en)* | 2016-04-28 | 2016-08-10 | 努比亚技术有限公司 | Smart network searching method, device and mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107318091A (en)* | 2017-06-21 | 2017-11-03 | 维沃移动通信有限公司 | The control method and mobile terminal of a kind of network connection |
| CN107318091B (en)* | 2017-06-21 | 2020-05-22 | 维沃移动通信有限公司 | A kind of network connection control method and mobile terminal |
| CN108668341A (en)* | 2018-04-20 | 2018-10-16 | Oppo广东移动通信有限公司 | Antenna control method and related products |
| CN108668341B (en)* | 2018-04-20 | 2020-12-22 | Oppo广东移动通信有限公司 | Antenna control method and related products |
| CN108811080B (en)* | 2018-05-31 | 2021-10-26 | 北京小米移动软件有限公司 | Method, device and storage medium for cell registration |
| CN108811080A (en)* | 2018-05-31 | 2018-11-13 | 北京小米移动软件有限公司 | The method, apparatus and storage medium of cell registration |
| WO2020038401A1 (en)* | 2018-08-22 | 2020-02-27 | 华为技术有限公司 | Network reselection method and apparatus |
| US11910264B2 (en) | 2018-08-22 | 2024-02-20 | Huawei Technologies Co., Ltd. | Network reselection method and apparatus |
| CN109548103A (en)* | 2018-12-19 | 2019-03-29 | 连尚(新昌)网络科技有限公司 | Method and apparatus for handover network |
| CN109548103B (en)* | 2018-12-19 | 2022-05-20 | 上海尚往网络科技有限公司 | Method and apparatus for switching networks |
| CN111163503A (en)* | 2019-03-14 | 2020-05-15 | 广东小天才科技有限公司 | Network searching method of mobile terminal and mobile terminal |
| CN110035185A (en)* | 2019-04-22 | 2019-07-19 | 联想(北京)有限公司 | A kind of control method, device and electronic equipment |
| CN110062448A (en)* | 2019-04-30 | 2019-07-26 | 努比亚技术有限公司 | Method, terminal and the storage medium of power-saving control |
| CN113038573A (en)* | 2019-12-25 | 2021-06-25 | Oppo广东移动通信有限公司 | Network search control method, device, mobile terminal and storage medium |
| CN111010732A (en)* | 2020-01-07 | 2020-04-14 | 宇龙计算机通信科技(深圳)有限公司 | Network registration method, device, electronic equipment and medium |
| CN113556790A (en)* | 2020-04-24 | 2021-10-26 | 深圳市万普拉斯科技有限公司 | Network type switching method and device, computer equipment and storage medium |
| CN113556790B (en)* | 2020-04-24 | 2024-05-14 | 深圳市万普拉斯科技有限公司 | Network type switching method, device, computer equipment and storage medium |
| CN112333028A (en)* | 2020-11-20 | 2021-02-05 | 南京创维信息技术研究院有限公司 | Dynamic processing method, device, terminal and medium for multi-network coexistence |
| CN113973335A (en)* | 2021-11-02 | 2022-01-25 | 广东电网有限责任公司 | Operator signal detection method and device |
| CN113973335B (en)* | 2021-11-02 | 2023-07-14 | 广东电网有限责任公司 | Operator signal detection method and device |
| CN114339677A (en)* | 2021-12-15 | 2022-04-12 | 北京交通大学 | Vehicle network switching method, device, server and storage medium |
| CN115134907A (en)* | 2022-06-29 | 2022-09-30 | 高新兴物联科技有限公司 | Vehicle-mounted communication network registration method, equipment and computer readable storage medium |
| CN115134907B (en)* | 2022-06-29 | 2023-10-13 | 高新兴物联科技股份有限公司 | Vehicle-mounted communication network registration method, device and computer readable storage medium |
| Publication number | Publication date |
|---|---|
| CN106714251B (en) | 2019-04-12 |
| Publication | Publication Date | Title |
|---|---|---|
| CN106714251A (en) | Network connection method and mobile terminal | |
| CN107466077B (en) | A kind of network switching method and mobile terminal | |
| CN107171874B (en) | A voice engine switching method, mobile terminal and server | |
| CN106535100B (en) | Method for locating mobile terminal, mobile terminal and server | |
| CN106775898B (en) | A kind of update method and mobile terminal of application program | |
| CN107360601A (en) | A kind of method for switching network, mobile terminal and computer-readable recording medium | |
| US20100321323A1 (en) | Method and apparatus for reducing multi-touch input error in portable communication system | |
| CN107567046A (en) | A kind of cell accessing method and mobile terminal | |
| CN107333325A (en) | A kind of network search method and mobile terminal | |
| CN105573770B (en) | Application program downloading and installing method and device | |
| CN111307171A (en) | Navigation processing method and terminal | |
| CN108377581A (en) | A kind of configuration method, mobile terminal and the base station of discontinuous reception DRX parameters | |
| CN107277213B (en) | Contact classification processing method, cloud device and mobile terminal | |
| CN105959971A (en) | WiFi password sharing method and mobile terminal | |
| CN106453953A (en) | A method for connecting a wireless access point and a mobile terminal | |
| CN106454735A (en) | Method for processing WIFI information and mobile terminal | |
| CN105898705A (en) | Method for controlling scanning frequency of wireless local area network and mobile terminal | |
| CN105828397A (en) | Wireless access point switching method and mobile terminal | |
| CN106332199B (en) | Method for mobile terminal to access LTE network and mobile terminal | |
| CN107318091A (en) | The control method and mobile terminal of a kind of network connection | |
| CN107509238A (en) | Method for searching network of mobile terminal and mobile terminal | |
| CN105843643B (en) | Method for upgrading version of mobile terminal software and mobile terminal | |
| CN106332217A (en) | A wireless routing method and mobile terminal | |
| CN107612595A (en) | A kind of antenna switching method and mobile terminal | |
| CN107484148A (en) | A network search method and mobile terminal |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right | Effective date of registration:20171107 Address after:283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue Applicant after:VIVO MOBILE COMMUNICATION CO., LTD. Applicant after:Wewo Mobile Communication Co. Ltd. Beijing branch Address before:283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue Applicant before:VIVO MOBILE COMMUNICATION CO., LTD. | |
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20200520 Address after:283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue Patentee after:VIVO MOBILE COMMUNICATION Co.,Ltd. Address before:283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue Co-patentee before:Wewo Mobile Communication Co. Ltd. Beijing branch Patentee before:VIVO MOBILE COMMUNICATION Co.,Ltd. |