CN106714277B - Network connection method and terminal - Google Patents

Network connection method and terminal Download PDF

Info

Publication number
CN106714277B
CN106714277B CN201611120988.0A CN201611120988A CN106714277B CN 106714277 B CN106714277 B CN 106714277B CN 201611120988 A CN201611120988 A CN 201611120988A CN 106714277 B CN106714277 B CN 106714277B
Authority
CN
China
Prior art keywords
preset
unit
subunit
weight
networks
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201611120988.0A
Other languages
Chinese (zh)
Other versions
CN106714277A (en
Inventor
蒋世民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201611120988.0A priority Critical patent/CN106714277B/en
Publication of CN106714277A publication Critical patent/CN106714277A/en
Application granted granted Critical
Publication of CN106714277B publication Critical patent/CN106714277B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a network connection method and a terminal. The method comprises the following steps: locating a current geographic location; if the current geographic position belongs to a preset geographic position set, determining the signal intensity of the currently connected Wi-Fi and the number of networks with the same frequency in a preset range; calculating a first weight corresponding to the signal intensity of the currently connected Wi-Fi and a second weight corresponding to the number of networks with the same frequency in the preset range according to a preset mode; and if the sum of the first weight and the second weight is less than a preset threshold value, trying to connect Wi-Fi of another frequency. Therefore, by implementing the technical scheme provided by the invention, the network with another frequency can be automatically searched and accessed under the condition that the current location belongs to the preset location set and the current signal is poor, so that the network with another frequency with a good signal can be accessed under the condition of no manual participation.

Description

一种网络连接的方法及终端A method and terminal for network connection

技术领域technical field

本发明涉及终端领域,具体涉及了一种网络连接的方法及终端。The present invention relates to the field of terminals, in particular to a method and terminal for network connection.

背景技术Background technique

随着宽带行业蓬勃发展及智能终端的普及,越来越多的用户通过智能终端Wi-Fi接入网关,以享受网络服务。With the vigorous development of the broadband industry and the popularization of smart terminals, more and more users access the gateway through Wi-Fi of smart terminals to enjoy network services.

需要指出的是,在一些公共场合,可能会存在多个网络接入点,如果此时用户接入的接入点信号较弱或者上网速度较慢时,还需要手动的重新连接其他接入点以尝试寻找信号较强或者上网速度较快网络。It should be pointed out that in some public places, there may be multiple network access points. If the signal of the access point accessed by the user is weak or the Internet speed is slow, it is necessary to manually reconnect to other access points. Try to find a network with a stronger signal or a faster Internet connection.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种网络连接的方法及终端,能够在当前地点属于预设地点集合且当前信号较差的情况下,自动搜索另一频率的网络并进行接入,从而在无需人工参与的情况下,接入到信号较好的另一频率的网络。Embodiments of the present invention provide a method and terminal for network connection, which can automatically search for a network of another frequency and access it when the current location belongs to a preset location set and the current signal is poor, so that manual participation is not required. In the case of , access to the network of another frequency with better signal.

本发明实施例第一方面公开了网络连接的方法,所述方法包括:A first aspect of the embodiments of the present invention discloses a method for network connection, and the method includes:

定位当前的地理位置;locate the current geographic location;

若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量;If the current geographic location belongs to a preset geographic location set, determine the signal strength of the currently connected Wi-Fi and the number of networks with the same frequency within the preset range;

按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重;Calculate the first weight corresponding to the signal strength of the currently connected Wi-Fi and calculate the second weight corresponding to the number of networks of the same frequency within the preset range according to a preset method;

若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。If the sum of the first weight and the second weight is less than a preset threshold, try to connect to Wi-Fi of another frequency.

本发明第二方面公开了一种终端,所述终端包括:A second aspect of the present invention discloses a terminal, the terminal comprising:

定位单元,用于定位当前的地理位置;Positioning unit, used to locate the current geographic location;

确定单元,用于若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量;a determining unit, configured to determine the signal strength of the currently connected Wi-Fi and the number of networks of the same frequency within a preset range if the current geographic location belongs to a preset geographic location set;

计算单元,用于按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重;a calculation unit, configured to calculate a first weight corresponding to the signal strength of the currently connected Wi-Fi in a preset manner and a second weight corresponding to the number of networks of the same frequency within the preset range;

连接单元,用于若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。A connection unit, configured to attempt to connect to Wi-Fi of another frequency if the sum of the first weight and the second weight is less than a preset threshold.

本发明第三方面公开了一种终端,所述终端包括:A third aspect of the present invention discloses a terminal, the terminal comprising:

存储有可执行程序代码的存储器;a memory in which executable program code is stored;

与所述存储器耦合的处理器;a processor coupled to the memory;

所述处理器调用所述存储器中存储的所述可执行程序代码,执行如第一方面所述的方法。The processor invokes the executable program code stored in the memory to execute the method according to the first aspect.

本发明实施例的方案中,定位当前的地理位置;若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量;按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重;若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。从而可知,通过实施本发明提供的技术方案,能够在当前地点属于预设地点集合且当前信号较差的情况下,自动搜索另一频率的网络并进行接入,从而在无需人工参与的情况下,接入到信号较好的另一频率的网络。In the solution of the embodiment of the present invention, the current geographic location is located; if the current geographic location belongs to a preset geographic location set, the signal strength of the currently connected Wi-Fi and the number of networks with the same frequency within the preset range are determined. ; Calculate the first weight corresponding to the signal strength of the currently connected Wi-Fi and calculate the second weight corresponding to the number of networks of the same frequency within the preset range according to the preset method; If the sum of the second weights is less than the preset threshold, try to connect to Wi-Fi of another frequency. It can be seen that, by implementing the technical solution provided by the present invention, when the current location belongs to the preset location set and the current signal is poor, the network of another frequency can be automatically searched and accessed, so that there is no need for manual participation. , access to the network of another frequency with better signal.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.

图1为本发明实施例提供的一种网络连接的方法的流程示意图;1 is a schematic flowchart of a method for network connection according to an embodiment of the present invention;

图2为本发明实施例提供的另一种网络连接的方法的流程示意图;2 is a schematic flowchart of another method for network connection provided by an embodiment of the present invention;

图3为本发明实施例提供的另一种网络连接的方法的流程示意图;3 is a schematic flowchart of another method for network connection provided by an embodiment of the present invention;

图4为本发明实施例提供的一种终端的结构示意图;FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention;

图5为本发明实施例提供的另一种终端的结构示意图;FIG. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention;

图6为本发明实施例提供的另一种终端的结构示意图;FIG. 6 is a schematic structural diagram of another terminal provided by an embodiment of the present invention;

图7为本发明实施例提供的一种终端的实体装置结构示意图;FIG. 7 is a schematic structural diagram of a physical device of a terminal according to an embodiment of the present invention;

图8为本发明实施例提供的一种手机的实体装置结构示意图。FIG. 8 is a schematic structural diagram of a physical device of a mobile phone according to an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提供了一种网络连接的方法及终端,能够在当前地点属于预设地点集合且当前信号较差的情况下,自动搜索另一频率的网络并进行接入,从而在无需人工参与的情况下,接入到信号较好的另一频率的网络。Embodiments of the present invention provide a method and terminal for network connection, which can automatically search for a network of another frequency and access it when the current location belongs to a preset location set and the current signal is poor, so that manual participation is not required. In the case of , access to the network of another frequency with better signal.

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order for those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are of the present invention. Some examples, but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明说明书、权利要求书和附图中出现的术语“第一”、“第二”和“第三”等是用于区别不同的对象,而并非用于描述特定的顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" appearing in the specification, claims and drawings of the present invention are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.

在本发明的一个实施例中公开了一种网络连接的方法,所述方法包括:定位当前的地理位置;若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量;按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重;若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。An embodiment of the present invention discloses a method for network connection. The method includes: locating a current geographic location; if the current geographic location belongs to a preset geographic location set, determining a currently connected Wi-Fi and the number of networks of the same frequency within the preset range; calculate the first weight corresponding to the signal strength of the currently connected Wi-Fi and calculate the number of networks of the same frequency within the preset range according to the preset method The corresponding second weight; if the sum of the first weight and the second weight is less than a preset threshold, try to connect to Wi-Fi of another frequency.

请参阅图1,图1是本发明一个实施例提供的一种网络连接的方法。其中,如图1所示,本发明的一个实施例提供的一种网络连接的方法包括以下内容:Please refer to FIG. 1. FIG. 1 is a method for network connection provided by an embodiment of the present invention. Wherein, as shown in FIG. 1 , a method for network connection provided by an embodiment of the present invention includes the following contents:

S101、定位当前的地理位置;S101, locate the current geographic location;

其中,需要指出的是,该方法的执行主体是终端。所述终端包括但不限于智能手机、平板电脑、计算机以及穿戴式设备等可通过网络进行数据传输业务的电子设备。Among them, it should be pointed out that the execution body of the method is the terminal. The terminals include, but are not limited to, electronic devices such as smart phones, tablet computers, computers, and wearable devices that can perform data transmission services through a network.

其中,该终端可以通过全球定位系统(GPS)、伽利略定位系统或北斗星定位系统进行定位。Wherein, the terminal can be positioned through a global positioning system (GPS), a Galileo positioning system or a Big Dipper positioning system.

其中,该终端也可以通过与基站交互进行定位。The terminal may also perform positioning by interacting with the base station.

其中,需要指出的是,所述定位当前的地理位置之前,所述方法还包括:提示用户设置地理位置集合;接收用户输入的关键词;搜索与所述关键词相匹配的地理位置;根据所述地理位置生成所述预设地理位置集合。Wherein, it should be pointed out that before the current geographic location is located, the method further includes: prompting the user to set a geographic location set; receiving a keyword input by the user; searching for a geographic location matching the keyword; generating the preset geographic location set from the geographic location.

举例来说,可以通过语音、信息或者震动的方式向用户发送提示,以使得用户根据提示进行地理位置集合进行设置。For example, a prompt can be sent to the user by means of voice, information or vibration, so that the user can set the geographic location set according to the prompt.

比如,用户输入的是商场,那么定位当前用户所在的位置所对应的行程区域(比如市、县或区等等),然后搜索该行政区域内的所有商场的地理位置,然后根据所述地理位置生成所述预设地理位置集合。For example, if the user inputs a shopping mall, locate the itinerary area corresponding to the current user's location (such as a city, county or district, etc.) The preset geographic location set is generated.

S102、若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量;S102. If the current geographic location belongs to a preset geographic location set, determine the signal strength of the currently connected Wi-Fi and the number of networks with the same frequency within a preset range;

举例来说,如果当前终端的位置在机场,并且当前地理位置属于预设地理位置集合,那么终端就需要确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量。For example, if the current location of the terminal is at an airport and the current geographic location belongs to a preset geographic location set, the terminal needs to determine the signal strength of the currently connected Wi-Fi and the number of networks with the same frequency within the preset range.

其中,Wi-Fi目前常见的频率为2.4GHz和5GHz,其中,2.4GHz较为常用。因为,2.4G穿透性好,传输距离近;而5G穿透性差,传输距离远。另外,2.4G频段室内环境中抗衰减能力强,但是由于许多设备用的都是2.4GHz,所以干扰很多,不能保障足够的稳定性。而5GHz频段最大的优势是目前应用较少所以干扰非常小,能保障传输的质量;但是缺点也很明显,室内的抗衰减能力弱。Among them, the current common frequencies of Wi-Fi are 2.4GHz and 5GHz, and 2.4GHz is more commonly used. Because 2.4G has good penetration and short transmission distance; while 5G has poor penetration and long transmission distance. In addition, the 2.4G frequency band has strong anti-attenuation ability in the indoor environment, but since many devices use 2.4GHz, there is a lot of interference, which cannot guarantee sufficient stability. The biggest advantage of the 5GHz frequency band is that there are few applications at present, so the interference is very small, and the quality of transmission can be guaranteed; but the disadvantage is also obvious, the indoor anti-attenuation ability is weak.

具体的,所述确定当前连接的Wi-Fi的信号强度,包括:获取终端屏幕上显示的Wi-Fi的信号格数;统计预设时间内网络上行和下行的速度;根据所述信号格数、网络上行和下行的速度计算信号强度。Specifically, the determining the signal strength of the currently connected Wi-Fi includes: acquiring the number of Wi-Fi signal bars displayed on the screen of the terminal; counting the uplink and downlink speeds of the network within a preset time; , the network uplink and downlink speed to calculate the signal strength.

具体的,所述确定预设范围内同一频率的网络的数量,包括:确定所述当前连接的Wi-Fi的覆盖范围;根据所述覆盖范围确定预设范围;扫描所述预设范围内的接入点;对扫描到的接入点的属性进行分析以确定同一频率的网络的数量。Specifically, the determining the number of networks of the same frequency within a preset range includes: determining the coverage range of the currently connected Wi-Fi; determining a preset range according to the coverage range; scanning the network within the preset range Access Points; the properties of the scanned access points are analyzed to determine the number of networks on the same frequency.

S103、按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重;S103. Calculate a first weight corresponding to the signal strength of the currently connected Wi-Fi in a preset manner and calculate a second weight corresponding to the number of networks with the same frequency within the preset range;

需要指出的是,比如信号强度的权重是50%,预设范围内同一频率的网络的数量的权重是50%。在此不对权重的分配做限制。It should be pointed out that, for example, the weight of the signal strength is 50%, and the weight of the number of networks with the same frequency within the preset range is 50%. The distribution of weights is not restricted here.

举例来说,权重的总值为100。信号强度满格数是5格,那么一个对应的就是10;同一频率的网络的数量0-2时对应的是50,2-4时对应的是40,4-6时对应的是30,6-8时对应的是20,8-10时对应的是10,后续不再一一例举。For example, the total value of the weights is 100. The full number of signal strength grids is 5 grids, then one corresponds to 10; when the number of networks with the same frequency is 0-2, it corresponds to 50, when 2-4 corresponds to 40, and when 4-6 corresponds to 30, 6 -8 corresponds to 20, 8-10 corresponds to 10, and will not be listed one by one in the future.

S104、若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。S104. If the sum of the first weight and the second weight is less than a preset threshold, try to connect to Wi-Fi of another frequency.

例如当前的预设阈值为60,如果当前为2格信号,且同一频率的网络的数量为6个那么,那么所述第一权重与所述第二权重之和就是50,因此小于预设阈值60。For example, the current preset threshold is 60, if the current signal is 2 grids and the number of networks with the same frequency is 6, then the sum of the first weight and the second weight is 50, so it is less than the preset threshold 60.

如果当前连接的网络是2.4GHz网络那么就尝试连接5GHz的网络。如果当前连接的网络是5GHz网络那么就尝试连接2.4GHz的网络。If the currently connected network is a 2.4GHz network, then try to connect to a 5GHz network. If the currently connected network is a 5GHz network then try to connect to a 2.4GHz network.

具体的,尝试连接另一频率的Wi-Fi,包括:启动Wi-Fi扫描功能以进行Wi-Fi扫描;读取扫描到的Wi-Fi属性以确定是否为所述另一频率的Wi-Fi;当所述扫描到的Wi-Fi确定为所述另一频率的Wi-Fi时,尝试通过互联网获取扫描到的Wi-Fi密码;根据所述扫描到的Wi-Fi以及与所述Wi-Fi对应的密码进行网络连接。Specifically, trying to connect to Wi-Fi of another frequency includes: starting the Wi-Fi scanning function to perform Wi-Fi scanning; reading the scanned Wi-Fi attribute to determine whether it is Wi-Fi of the other frequency ; When the scanned Wi-Fi is determined to be the Wi-Fi of the other frequency, try to obtain the scanned Wi-Fi password through the Internet; The password corresponding to Fi is used to connect to the network.

可以看出,本发明实施例的方案中,定位当前的地理位置;若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量;按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重;若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。从而可知,通过实施本发明提供的技术方案,能够在当前地点属于预设地点集合且当前信号较差的情况下,自动搜索另一频率的网络并进行接入,从而在无需人工参与的情况下,接入到信号较好的另一频率的网络。It can be seen that, in the solution of the embodiment of the present invention, the current geographic location is located; if the current geographic location belongs to the preset geographic location set, the signal strength of the currently connected Wi-Fi and the same frequency within the preset range are determined. The number of networks in the preset range; calculate the first weight corresponding to the signal strength of the currently connected Wi-Fi and calculate the second weight corresponding to the number of networks of the same frequency within the preset range according to the preset method; The sum of the first weight and the second weight is less than a preset threshold, and attempts to connect to Wi-Fi of another frequency. It can be seen that, by implementing the technical solution provided by the present invention, when the current location belongs to the preset location set and the current signal is poor, the network of another frequency can be automatically searched and accessed, so that there is no need for manual participation. , access to the network of another frequency with better signal.

请参阅图2,图2是本发明一个实施例提供的一种网络连接的方法。其中,如图2所示,本发明的一个实施例提供的一种网络连接的方法包括以下内容:Please refer to FIG. 2. FIG. 2 is a method for network connection provided by an embodiment of the present invention. Wherein, as shown in FIG. 2 , a method for network connection provided by an embodiment of the present invention includes the following contents:

S201、定位当前的地理位置;S201, locate the current geographic location;

其中,需要指出的是,该方法的执行主体是终端。所述终端包括但不限于智能手机、平板电脑、计算机以及穿戴式设备等可通过网络进行数据传输业务的电子设备。Among them, it should be pointed out that the execution body of the method is the terminal. The terminals include, but are not limited to, electronic devices such as smart phones, tablet computers, computers, and wearable devices that can perform data transmission services through a network.

其中,该终端可以通过全球定位系统(GPS)、伽利略定位系统或北斗星定位系统进行定位。Wherein, the terminal can be positioned through a global positioning system (GPS), a Galileo positioning system or a Big Dipper positioning system.

其中,该终端也可以通过与基站交互进行定位。The terminal may also perform positioning by interacting with the base station.

其中,需要指出的是,所述定位当前的地理位置之前,所述方法还包括:提示用户设置地理位置集合;接收用户输入的关键词;搜索与所述关键词相匹配的地理位置;根据所述地理位置生成所述预设地理位置集合。Wherein, it should be pointed out that before the current geographic location is located, the method further includes: prompting the user to set a geographic location set; receiving a keyword input by the user; searching for a geographic location matching the keyword; generating the preset geographic location set from the geographic location.

举例来说,可以通过语音、信息或者震动的方式向用户发送提示,以使得用户根据提示进行地理位置集合进行设置。For example, a prompt can be sent to the user by means of voice, information or vibration, so that the user can set the geographic location set according to the prompt.

比如,用户输入的是商场,那么定位当前用户所在的位置所对应的行程区域(比如市、县或区等等),然后搜索该行政区域内的所有商场的地理位置,然后根据所述地理位置生成所述预设地理位置集合。For example, if the user inputs a shopping mall, locate the itinerary area corresponding to the current user's location (such as a city, county or district, etc.) The preset geographic location set is generated.

S202、若所述当前的地理位置属于预设地理位置集合,获取终端屏幕上显示的Wi-Fi的信号格数。S202. If the current geographic location belongs to a preset geographic location set, acquire the number of Wi-Fi signal bars displayed on the screen of the terminal.

其中,可以理解的是,wifi信号呈伞状显示,有从弱到强四种状态:无,1格,2格,3格。Among them, it is understandable that the wifi signal is displayed in an umbrella shape, and there are four states from weak to strong: none, 1 grid, 2 grid, and 3 grid.

S203、统计预设时间内网络上行和下行的速度。S203. Statistics of the network uplink and downlink speeds within a preset time period.

其中,可以理解的是,所述预设时间可以为终端默认的时间,也可以为用户预先设置存储的时间,其中,所述预设时间例如可以为5分钟、10分钟、15分钟、20分钟等或其他时间长度。Wherein, it can be understood that the preset time may be the default time of the terminal, or may be preset and stored by the user, wherein the preset time may be, for example, 5 minutes, 10 minutes, 15 minutes, 20 minutes wait or other length of time.

其中,所述网络上行速度是指用户通过网络上传东西的速度,比如用户发邮件、上传照片的速度等。所述下行速度只要是指用户通过网络下载东西的速度,比如用户看电影、下载东西的速度等。The network uplink speed refers to the speed at which the user uploads things through the network, such as the speed at which the user sends emails, uploads photos, and the like. The downlink speed only refers to the speed at which the user downloads things through the network, such as the speed at which the user watches movies and downloads things.

S204、根据所述信号格数、网络上行和下行的速度计算信号强度。S204. Calculate the signal strength according to the signal grid number and the network uplink and downlink speeds.

其中,可以理解的是,若所述信号格数多且网络上行和下行的速度快则说明信号强度强,反之,若所述信号格数少且网络上行和下行的速度慢则说明信号强度弱。It can be understood that if the number of signal grids is large and the network uplink and downlink speeds are fast, the signal strength is strong. On the contrary, if the signal grid number is small and the network uplink and downlink speeds are slow, the signal strength is weak. .

S205、确定所述当前连接的Wi-Fi的覆盖范围。S205. Determine the coverage of the currently connected Wi-Fi.

其中,所述wifi的覆盖范围主要由无线发射功率以及障碍物的多少来决定的。根据IEEE802.11标准,一般无线路由器所能覆盖的最大距离通常为100米至300米,不过覆盖的范围主要应视环境的开放与否、建筑物或其他障碍物多少以及信号干扰程度有关。Wherein, the coverage of the wifi is mainly determined by the wireless transmission power and the number of obstacles. According to the IEEE802.11 standard, the maximum distance that a general wireless router can cover is usually 100 meters to 300 meters, but the coverage range mainly depends on the openness of the environment, the number of buildings or other obstacles, and the degree of signal interference.

S206、根据所述覆盖范围确定预设范围。S206. Determine a preset range according to the coverage range.

其中,可以理解的是,所述预设范围小于或者等于所述覆盖范围。Wherein, it can be understood that the preset range is less than or equal to the coverage range.

S207、扫描所述预设范围内的接入点。S207. Scan for access points within the preset range.

S208、对扫描到的接入点的属性进行分析以确定同一频率的网络的数量。S208. Analyze the attributes of the scanned access points to determine the number of networks of the same frequency.

S209、按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重。S209. Calculate a first weight corresponding to the signal strength of the currently connected Wi-Fi in a preset manner and calculate a second weight corresponding to the number of networks with the same frequency within the preset range.

需要指出的是,比如信号强度的权重是50%,预设范围内同一频率的网络的数量的权重是50%。在此不对权重的分配做限制。It should be pointed out that, for example, the weight of the signal strength is 50%, and the weight of the number of networks with the same frequency within the preset range is 50%. The distribution of weights is not restricted here.

举例来说,权重的总值为100。信号强度满格数是5格,那么一个对应的就是10;同一频率的网络的数量0-2时对应的是50,2-4时对应的是40,4-6时对应的是30,6-8时对应的是20,8-10时对应的是10,后续不再一一例举。For example, the total value of the weights is 100. The full number of signal strength grids is 5 grids, then one corresponds to 10; when the number of networks with the same frequency is 0-2, it corresponds to 50, when 2-4 corresponds to 40, and when 4-6 corresponds to 30, 6 -8 corresponds to 20, 8-10 corresponds to 10, and will not be listed one by one in the future.

S210、若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。S210. If the sum of the first weight and the second weight is less than a preset threshold, try to connect to Wi-Fi of another frequency.

例如当前的预设阈值为60,如果当前为2格信号,且同一频率的网络的数量为6个那么,那么所述第一权重与所述第二权重之和就是50,因此小于预设阈值60。For example, the current preset threshold is 60, if the current signal is 2 grids and the number of networks with the same frequency is 6, then the sum of the first weight and the second weight is 50, so it is less than the preset threshold 60.

如果当前连接的网络是2.4GHz网络那么就尝试连接5GHz的网络。如果当前连接的网络是5GHz网络那么就尝试连接2.4GHz的网络。If the currently connected network is a 2.4GHz network, then try to connect to a 5GHz network. If the currently connected network is a 5GHz network then try to connect to a 2.4GHz network.

具体的,尝试连接另一频率的Wi-Fi,包括:启动Wi-Fi扫描功能以进行Wi-Fi扫描;读取扫描到的Wi-Fi属性以确定是否为所述另一频率的Wi-Fi;当所述扫描到的Wi-Fi确定为所述另一频率的Wi-Fi时,尝试通过互联网获取扫描到的Wi-Fi密码;根据所述扫描到的Wi-Fi以及与所述Wi-Fi对应的密码进行网络连接。Specifically, trying to connect to Wi-Fi of another frequency includes: starting the Wi-Fi scanning function to perform Wi-Fi scanning; reading the scanned Wi-Fi attribute to determine whether it is Wi-Fi of the other frequency ; When the scanned Wi-Fi is determined to be the Wi-Fi of the other frequency, try to obtain the scanned Wi-Fi password through the Internet; The password corresponding to Fi is used to connect to the network.

可以看出,本发明实施例的方案中扩展了确定当前连接的Wi-Fi的信号强度和确定预设范围内同一频率的网络的数量的步骤,从而能够在当前地点属于预设地点集合且当前信号较差的情况下,自动搜索另一频率的网络并进行接入,从而在无需人工参与的情况下,接入到信号较好的另一频率的网络。It can be seen that the solution of the embodiment of the present invention extends the steps of determining the signal strength of the currently connected Wi-Fi and determining the number of networks of the same frequency within the preset range, so that the current location belongs to the preset location set and the current location When the signal is poor, it will automatically search for a network of another frequency and access it, so as to access the network of another frequency with a better signal without manual participation.

请参阅图3,图3是本发明一个实施例提供的一种网络连接的方法。其中,如图3所示,本发明的一个实施例提供的一种网络连接的方法包括以下内容:Please refer to FIG. 3 , which is a method for network connection provided by an embodiment of the present invention. Wherein, as shown in FIG. 3 , a method for network connection provided by an embodiment of the present invention includes the following contents:

S301、提示用户设置地理位置集合。S301. Prompt the user to set a geographic location set.

S302、接收用户输入的关键词。S302. Receive a keyword input by a user.

S303、搜索与所述关键词相匹配的地理位置。S303. Search for a geographic location matching the keyword.

S304、根据所述地理位置生成所述预设地理位置集合。S304. Generate the preset geographic location set according to the geographic location.

S305、定位当前的地理位置。S305, locate the current geographic location.

S306、若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量。S306. If the current geographic location belongs to a preset geographic location set, determine the signal strength of the currently connected Wi-Fi and the number of networks with the same frequency within a preset range.

S307、按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重。S307. Calculate a first weight corresponding to the signal strength of the currently connected Wi-Fi and calculate a second weight corresponding to the number of networks with the same frequency within the preset range in a preset manner.

S308、若所述第一权重与所述第二权重之和小于预设阈值,启动Wi-Fi扫描功能以进行Wi-Fi扫描。S308. If the sum of the first weight and the second weight is less than a preset threshold, enable a Wi-Fi scan function to perform Wi-Fi scan.

S309、读取扫描到的Wi-Fi属性以确定是否为所述另一频率的Wi-Fi。S309: Read the scanned Wi-Fi attribute to determine whether it is the Wi-Fi of the other frequency.

S310、当所述扫描到的Wi-Fi确定为所述另一频率的Wi-Fi时,尝试通过互联网获取扫描到的Wi-Fi密码。S310. When the scanned Wi-Fi is determined to be the Wi-Fi of the other frequency, try to obtain the scanned Wi-Fi password through the Internet.

S311、根据所述扫描到的Wi-Fi以及与所述Wi-Fi对应的密码进行网络连接。S311. Perform network connection according to the scanned Wi-Fi and the password corresponding to the Wi-Fi.

可以看出,本发明实施例的方案中扩展了生成预设地理位置集合和连接另一频率的Wi-Fi的步骤,从而使得终端能够在当前地点属于预设地点集合且当前信号较差的情况下,自动搜索另一频率的网络并进行接入,在无需人工参与的情况下,接入到信号较好的另一频率的网络。It can be seen that, in the solution of the embodiment of the present invention, the steps of generating a preset geographic location set and connecting to another frequency of Wi-Fi are expanded, so that the terminal can be used when the current location belongs to the preset location set and the current signal is poor. In this case, it automatically searches for a network of another frequency and accesses it, and accesses a network of another frequency with better signal without manual participation.

请参阅图4,图4是本发明的一个实施例提供的一种终端的结构示意图。其中,如图4所示,本发明的一个实施例提供的一种终端400,其中,该终端可以是为智能手机、平板电脑、智能穿戴式设备等电子设备。该终端400包括定位单元401、确定单元402、计算单元403以及连接单元404。Please refer to FIG. 4 , which is a schematic structural diagram of a terminal provided by an embodiment of the present invention. As shown in FIG. 4 , an embodiment of the present invention provides a terminal 400 , where the terminal may be an electronic device such as a smart phone, a tablet computer, and a smart wearable device. The terminal 400 includes a positioning unit 401 , a determination unit 402 , a calculation unit 403 and a connection unit 404 .

定位单元401,用于定位当前的地理位置;A positioning unit 401, used to locate the current geographic location;

确定单元402,用于若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量;A determining unit 402, configured to determine the signal strength of the currently connected Wi-Fi and the number of networks of the same frequency within a preset range if the current geographic location belongs to a preset geographic location set;

计算单元403,用于按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重;A calculation unit 403, configured to calculate a first weight corresponding to the signal strength of the currently connected Wi-Fi in a preset manner and a second weight corresponding to the number of networks with the same frequency within the preset range;

连接单元404,用于若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。The connecting unit 404 is configured to attempt to connect to Wi-Fi of another frequency if the sum of the first weight and the second weight is less than a preset threshold.

其中,定位单元401、确定单元402、计算单元403以及连接单元404可以用于执行实施例1中步骤S101至S104所述的方法,具体描述详见实施例1对所述方法的描述,在此不再赘述。The positioning unit 401, the determining unit 402, the calculating unit 403, and the connecting unit 404 may be used to execute the method described in steps S101 to S104 in Embodiment 1. For details, please refer to the description of the method in Embodiment 1, here No longer.

请参阅图5,图5是本发明的一个实施例提供的一种终端的结构示意图。其中,如图5所示,本发明的一个实施例提供的另一种终端500,其中,该终端可以是为智能手机、平板电脑、智能穿戴式设备等电子设备。该终端500包括定位单元501、确定单元502、计算单元503以及连接单元504。Please refer to FIG. 5, which is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 5 , another terminal 500 is provided by an embodiment of the present invention, where the terminal may be an electronic device such as a smart phone, a tablet computer, and a smart wearable device. The terminal 500 includes a positioning unit 501 , a determination unit 502 , a calculation unit 503 and a connection unit 504 .

定位单元501,用于定位当前的地理位置;A positioning unit 501, used to locate the current geographic location;

确定单元502,用于若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量;A determining unit 502, configured to determine the signal strength of the currently connected Wi-Fi and the number of networks of the same frequency within a preset range if the current geographic location belongs to a preset geographic location set;

其中,所述确定单元502包括获取子单元5021、统计子单元5022以及计算子单元5023。The determining unit 502 includes an obtaining subunit 5021 , a statistics subunit 5022 and a calculation subunit 5023 .

所述获取子单元5021,用于获取终端屏幕上显示的Wi-Fi的信号格数;The acquisition subunit 5021 is used to acquire the number of Wi-Fi signal bars displayed on the terminal screen;

所述统计子单元5022,用于统计预设时间内网络上行和下行的速度;The statistics subunit 5022 is used to count the speed of network uplink and downlink within a preset time;

所述计算子单元5023,用于根据所述信号格数、网络上行和下行的速度计算信号强度。The calculation subunit 5023 is configured to calculate the signal strength according to the signal grid number and the network uplink and downlink speeds.

其中,所述确定单元502还包括确定子单元5024、分析子单元5025和扫描子单元5026。The determining unit 502 further includes a determining subunit 5024 , an analyzing subunit 5025 and a scanning subunit 5026 .

所述确定子单元5024,用于确定所述当前连接的Wi-Fi的覆盖范围;根据所述覆盖范围确定预设范围。The determining subunit 5024 is configured to determine the coverage range of the currently connected Wi-Fi; and determine a preset range according to the coverage range.

所述扫描子单元5025,用于扫描所述预设范围内的接入点。The scanning subunit 5025 is configured to scan for access points within the preset range.

所述分析子单元5026,用于对扫描到的接入点的属性进行分析以确定同一频率的网络的数量。The analyzing subunit 5026 is configured to analyze the attributes of the scanned access points to determine the number of networks of the same frequency.

计算单元503,用于按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重;a calculation unit 503, configured to calculate a first weight corresponding to the signal strength of the currently connected Wi-Fi in a preset manner and a second weight corresponding to the number of networks with the same frequency within the preset range;

连接单元504,用于若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。The connecting unit 504 is configured to attempt to connect to Wi-Fi of another frequency if the sum of the first weight and the second weight is less than a preset threshold.

其中,接收单元501、连接单元502、检测单元503以及获取单元504可以用于执行实施例2中步骤S201至S210所述的方法,具体描述详见实施例2对所述方法的描述,在此不再赘述。The receiving unit 501, the connecting unit 502, the detecting unit 503 and the obtaining unit 504 may be used to execute the method described in steps S201 to S210 in Embodiment 2. For details, please refer to the description of the method in Embodiment 2, here No longer.

请参阅图6,图6是本发明的一个实施例提供的一种终端的结构示意图。其中,如图6所示,本发明的一个实施例提供的另一种终端600,其中,该终端可以是为智能手机、平板电脑、智能穿戴式设备等电子设备。该终端600包括终端600包括定位单元601、确定单元602、计算单元603、连接单元604、提示单元605、接收单元606、搜索单元607以及生成单元608。Please refer to FIG. 6, which is a schematic structural diagram of a terminal provided by an embodiment of the present invention. As shown in FIG. 6 , another terminal 600 is provided by an embodiment of the present invention, where the terminal may be an electronic device such as a smart phone, a tablet computer, and a smart wearable device. The terminal 600 includes a terminal 600 including a positioning unit 601 , a determining unit 602 , a calculating unit 603 , a connecting unit 604 , a prompting unit 605 , a receiving unit 606 , a searching unit 607 and a generating unit 608 .

提示单元605,用于提示用户设置地理位置集合。The prompting unit 605 is used for prompting the user to set the geographic location set.

接收单元606,用于接收用户输入的关键词。The receiving unit 606 is configured to receive the keyword input by the user.

搜索单元607,用于搜索与所述关键词相匹配的地理位置。A search unit 607, configured to search for geographic locations matching the keyword.

生成单元608,用于根据所述地理位置生成所述预设地理位置集合。A generating unit 608, configured to generate the preset geographic location set according to the geographic location.

定位单元601,用于定位当前的地理位置。The positioning unit 601 is used to locate the current geographic location.

确定单元602,用于若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量;A determining unit 602, configured to determine the signal strength of the currently connected Wi-Fi and the number of networks of the same frequency within a preset range if the current geographic location belongs to a preset geographic location set;

计算单元603,用于按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重;A calculation unit 603, configured to calculate a first weight corresponding to the signal strength of the currently connected Wi-Fi in a preset manner and a second weight corresponding to the number of networks with the same frequency within the preset range;

连接单元604,用于若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。The connecting unit 604 is configured to attempt to connect to Wi-Fi of another frequency if the sum of the first weight and the second weight is less than a preset threshold.

其中,所述连接单元604包括启动子单元6041、访问子单元6042、获取子单元6043以及连接子单元6044。The connection unit 604 includes a promoter unit 6041 , an access subunit 6042 , an acquisition subunit 6043 and a connection subunit 6044 .

启动子单元6041,用于启动Wi-Fi扫描功能以进行Wi-Fi扫描;A starter unit 6041, used to start the Wi-Fi scanning function to perform Wi-Fi scanning;

访问子单元6042,用于读取扫描到的Wi-Fi属性以确定是否为所述另一频率的Wi-Fi;Access subunit 6042, used to read the scanned Wi-Fi attribute to determine whether it is the Wi-Fi of the other frequency;

获取子单元6043,用于当所述扫描到的Wi-Fi确定为所述另一频率的Wi-Fi时,尝试通过互联网获取扫描到的Wi-Fi密码;An acquisition subunit 6043, configured to attempt to acquire the scanned Wi-Fi password through the Internet when the scanned Wi-Fi is determined to be the Wi-Fi of the other frequency;

连接子单元6044,用于根据所述扫描到的Wi-Fi以及与所述Wi-Fi对应的密码进行网络连接。The connection subunit 6044 is configured to perform network connection according to the scanned Wi-Fi and the password corresponding to the Wi-Fi.

其中,接收单元601、连接单元602、检测单元603以及获取单元604可以用于执行实施例3中步骤S301至S306所述的方法,具体描述详见实施例3对所述方法的描述,在此不再赘述。The receiving unit 601, the connecting unit 602, the detecting unit 603, and the obtaining unit 604 may be used to execute the method described in steps S301 to S306 in Embodiment 3. For details, please refer to the description of the method in Embodiment 3, here No longer.

请参阅图7,在本发明的另一个实施例中,提供一种第二终端。所述第二终端700包括CPU701、存储器702、总线703。其中,该终端700可以是智能手机、平板电脑、智能穿戴设备等具有通话功能的电子设备。Referring to FIG. 7, in another embodiment of the present invention, a second terminal is provided. The second terminal 700 includes a CPU 701 , a memory 702 , and a bus 703 . The terminal 700 may be an electronic device with a call function, such as a smart phone, a tablet computer, and a smart wearable device.

其中,CPU701执行预先存储在存储器702中的程序,该执行过程具体包括:The CPU 701 executes a program pre-stored in the memory 702, and the execution process specifically includes:

定位当前的地理位置;locate the current geographic location;

若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量;If the current geographic location belongs to a preset geographic location set, determine the signal strength of the currently connected Wi-Fi and the number of networks with the same frequency within the preset range;

按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重;Calculate the first weight corresponding to the signal strength of the currently connected Wi-Fi and calculate the second weight corresponding to the number of networks of the same frequency within the preset range according to a preset method;

若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。If the sum of the first weight and the second weight is less than a preset threshold, try to connect to Wi-Fi of another frequency.

可选的,所述确定当前连接的Wi-Fi的信号强度,包括:Optionally, the determining the signal strength of the currently connected Wi-Fi includes:

获取终端屏幕上显示的Wi-Fi的信号格数;Get the number of Wi-Fi signal bars displayed on the terminal screen;

统计预设时间内网络上行和下行的速度;Statistics of the network uplink and downlink speed within the preset time;

根据所述信号格数、网络上行和下行的速度计算信号强度。Calculate the signal strength according to the signal grid number and the network uplink and downlink speeds.

可选的,所述确定预设范围内同一频率的网络的数量,包括:Optionally, the determining the number of networks of the same frequency within the preset range includes:

确定所述当前连接的Wi-Fi的覆盖范围;determining the coverage of the currently connected Wi-Fi;

根据所述覆盖范围确定预设范围;determining a preset range according to the coverage;

扫描所述预设范围内的接入点;scan for access points within the preset range;

对扫描到的接入点的属性进行分析以确定同一频率的网络的数量。The properties of the scanned access points are analyzed to determine the number of networks on the same frequency.

可选的,所述定位当前的地理位置之前,所述执行过程还包括:Optionally, before the positioning of the current geographic location, the execution process further includes:

提示用户设置地理位置集合;Prompt the user to set the geographic location set;

接收用户输入的关键词;Receive keywords entered by the user;

搜索与所述关键词相匹配的地理位置;search for geographic locations that match the keyword;

根据所述地理位置生成所述预设地理位置集合。The preset geographic location set is generated according to the geographic location.

可选的,尝试连接另一频率的Wi-Fi,包括:Optionally, try connecting to another frequency of Wi-Fi, including:

启动Wi-Fi扫描功能以进行Wi-Fi扫描;Start the Wi-Fi scan function for Wi-Fi scan;

读取扫描到的Wi-Fi属性以确定是否为所述另一频率的Wi-Fi;Read the scanned Wi-Fi attribute to determine whether it is the Wi-Fi of the other frequency;

当所述扫描到的Wi-Fi确定为所述另一频率的Wi-Fi时,尝试通过互联网获取扫描到的Wi-Fi密码;When the scanned Wi-Fi is determined to be the Wi-Fi of the other frequency, try to obtain the scanned Wi-Fi password through the Internet;

根据所述扫描到的Wi-Fi以及与所述Wi-Fi对应的密码进行网络连接。Perform network connection according to the scanned Wi-Fi and the password corresponding to the Wi-Fi.

可以看出,本发明实施例的方案中,定位当前的地理位置;若所述当前的地理位置属于预设地理位置集合,则确定当前连接的Wi-Fi的信号强度以及预设范围内同一频率的网络的数量;按照预设方式计算所述当前连接的Wi-Fi的信号强度对应的第一权重以及计算所述预设范围内同一频率的网络的数量对应的第二权重;若所述第一权重与所述第二权重之和小于预设阈值,尝试连接另一频率的Wi-Fi。从而可知,通过实施本发明提供的技术方案,能够在当前地点属于预设地点集合且当前信号较差的情况下,自动搜索另一频率的网络并进行接入,从而在无需人工参与的情况下,接入到信号较好的另一频率的网络。It can be seen that, in the solution of the embodiment of the present invention, the current geographic location is located; if the current geographic location belongs to the preset geographic location set, the signal strength of the currently connected Wi-Fi and the same frequency within the preset range are determined. The number of networks in the preset range; calculate the first weight corresponding to the signal strength of the currently connected Wi-Fi and calculate the second weight corresponding to the number of networks of the same frequency within the preset range according to the preset method; The sum of the first weight and the second weight is less than a preset threshold, and attempts to connect to Wi-Fi of another frequency. It can be seen that, by implementing the technical solution provided by the present invention, when the current location belongs to the preset location set and the current signal is poor, the network of another frequency can be automatically searched and accessed, so that there is no need for manual participation. , access to the network of another frequency with better signal.

请参阅图8,图8是本发明的一个实施例提供的终端相关的手机的部分结构的框图。参考图8,手机包括:射频(Radio Frequency,RF)电路810、存储器820、输入单元830、显示单元840、传感器850、音频电路860、无线保真(Wireless Fidelity,Wi-Fi)模块870、处理器880、以及电源890等部件。本领域技术人员可以理解,图8中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 8 , which is a block diagram of a partial structure of a terminal-related mobile phone provided by an embodiment of the present invention. 8, the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a sensor 850, an audio circuit 860, a wireless fidelity (Wireless Fidelity, Wi-Fi) module 870, processing 880, and the power supply 890 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 8 does not constitute a limitation on the mobile phone, and may include more or less components than the one shown, or combine some components, or arrange different components.

下面结合图8对手机的各个构成部件进行具体的介绍:The following is a detailed introduction to each component of the mobile phone with reference to Figure 8:

RF电路810可用于信息的接收和发送。通常,RF电路810包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路810还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。RF circuitry 810 may be used for the reception and transmission of information. Typically, the RF circuit 810 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 810 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS) and the like.

存储器820可用于存储软件程序以及模块,处理器880通过运行存储在存储器820的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器820可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如地理位置定位功能、wifi信号强度计算功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如预设地理位置集合等)等。此外,存储器820可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 820 can be used to store software programs and modules, and the processor 880 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 820 . The memory 820 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a geographic location positioning function, a WiFi signal strength calculation function, etc.), etc.; the storage data area Data created according to the use of the mobile phone (such as a preset geographic location set, etc.) and the like can be stored. Additionally, memory 820 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

输入单元830可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元830可包括指纹模组831以及其他输入设备832。指纹模组831,可采集用户在其上的指纹数据。可选的,指纹模组831可包括光学式指纹模块、电容式指纹模块以及射频式指纹模块。以指纹模组831为电容式指纹模组为例,具体包括感应电极(n1个异常感应电极和n2个正常感应电极)和与所述感应电极连接的信号处理电路(如放大电路、噪声抑制电路、模数转化电路,等等)。除了指纹模组831,输入单元830还可以包括其他输入设备832。具体地,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 830 may be used for receiving inputted numerical or character information, and generating key signal input related to user setting and function control of the mobile phone. Specifically, the input unit 830 may include a fingerprint module 831 and other input devices 832 . The fingerprint module 831 can collect the fingerprint data of the user on it. Optionally, the fingerprint module 831 may include an optical fingerprint module, a capacitive fingerprint module and a radio frequency fingerprint module. Taking the fingerprint module 831 as an example of a capacitive fingerprint module, it specifically includes sensing electrodes (n1 abnormal sensing electrodes and n2 normal sensing electrodes) and a signal processing circuit (such as an amplifier circuit, a noise suppression circuit) connected to the sensing electrodes , analog-to-digital conversion circuits, etc.). Besides the fingerprint module 831 , the input unit 830 may also include other input devices 832 . Specifically, other input devices 832 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元840可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元840可包括显示屏841,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏841。虽然在图8中,指纹模组831与显示屏841是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将指纹模组831与显示屏841集成而实现手机的输入和输出功能。The display unit 840 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 840 may include a display screen 841. Optionally, the display screen 841 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Although in FIG. 8 , the fingerprint module 831 and the display screen 841 are used as two independent components to realize the input and input functions of the mobile phone, but in some embodiments, the fingerprint module 831 and the display screen 841 can be integrated to form Realize the input and output functions of the mobile phone.

手机还可包括至少一种传感器850,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏841的亮度,接近传感器可在手机移动到耳边时,关闭显示屏841和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The cell phone may also include at least one sensor 850, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 841 according to the brightness of the ambient light, and the proximity sensor may turn off the display screen 841 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Repeat.

音频电路860、扬声器881,传声器882可提供用户与手机之间的音频接口。音频电路860可将接收到的音频数据转换后的电信号,传输到扬声器881,由扬声器881转换为声音信号输出;另一方面,传声器882将收集的声音信号转换为电信号,由音频电路860接收后转换为音频数据,再将音频数据输出处理器880处理后,经RF电路810以发送给比如另一手机,或者将音频数据输出至存储器820以便进一步处理。The audio circuit 860, the speaker 881, and the microphone 882 can provide an audio interface between the user and the mobile phone. The audio circuit 860 can convert the received audio data into an electrical signal, and transmit it to the speaker 881, and the speaker 881 converts it into a sound signal for output; on the other hand, the microphone 882 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 860 After receiving, it is converted into audio data, and then the audio data is output to the processor 880 for processing, and then sent to, for example, another mobile phone through the RF circuit 810, or the audio data is output to the memory 820 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块870可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了WiFi模块870,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 870. It provides users with wireless broadband Internet access. Although FIG. 8 shows the WiFi module 870, it can be understood that it is not a necessary component of the mobile phone, and can be completely omitted as required within the scope of not changing the essence of the invention.

处理器880是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器820内的软件程序和/或模块,以及调用存储在存储器820内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器880可包括一个或多个处理单元;优选的,处理器880可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器880中。The processor 880 is the control center of the mobile phone, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 820, and calling the data stored in the memory 820. Various functions of the mobile phone and processing data, so as to monitor the mobile phone as a whole. Optionally, the processor 880 may include one or more processing units; preferably, the processor 880 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 880.

手机还包括给各个部件供电的电源890(比如电池),优选的,电源可以通过电源管理系统与处理器880逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 890 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 880 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, and the like, which will not be repeated here.

前述图1、图2以及图3所示的实施例中,各步骤方法流程可以基于该手机的结构实现。In the foregoing embodiments shown in FIG. 1 , FIG. 2 and FIG. 3 , the method flow of each step can be implemented based on the structure of the mobile phone.

前述图4、图5以及图6所示的实施例中,各单元功能可以基于该手机的结构实现。In the aforementioned embodiments shown in FIG. 4 , FIG. 5 and FIG. 6 , the functions of each unit can be implemented based on the structure of the mobile phone.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or Integration into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or 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 for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes .

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A method for network connection, which is used for a terminal, and is characterized in that the method comprises the following steps:
locating a current geographic location;
if the current geographic position belongs to a preset geographic position set, determining the signal intensity of the currently connected Wi-Fi and the number of networks which belong to the same frequency as the currently connected Wi-Fi in a preset range;
calculating a first weight corresponding to the signal intensity of the currently connected Wi-Fi and a second weight corresponding to the number of networks of the currently connected Wi-Fi belonging to the same frequency within the preset range according to a preset mode, wherein the first weight is positively correlated with the signal intensity, and the second weight is negatively correlated with the number of networks belonging to the same frequency;
if the sum of the first weight and the second weight is smaller than a preset threshold value, trying to connect Wi-Fi of another frequency;
before said locating the current geographic location, the method further comprises:
prompting a user to set a geographical location set;
receiving a keyword input by a user;
searching for a geographic location matching the keyword;
and generating the preset geographic position set according to the geographic position.
2. The method of claim 1, wherein the determining the signal strength of the currently connected Wi-Fi comprises:
acquiring the number of signal lattices of Wi-Fi displayed on a terminal screen;
counting the uplink and downlink speeds of the network within a preset time;
and calculating the signal intensity according to the signal lattice number and the upstream and downstream speeds of the network.
3. The method of claim 2, wherein the determining the number of networks with the same frequency in the preset range comprises:
determining a coverage of the currently connected Wi-Fi;
determining a preset range according to the coverage range;
scanning access points in the preset range;
the attributes of the scanned access points are analyzed to determine the number of networks of the same frequency.
4. A method according to any of claims 1-3, wherein attempting to connect to Wi-Fi of another frequency comprises:
starting a Wi-Fi scanning function to perform Wi-Fi scanning;
reading the scanned Wi-Fi attribute to determine whether the Wi-Fi attribute is Wi-Fi of the other frequency;
attempting to acquire a scanned Wi-Fi password through the Internet when the scanned Wi-Fi is determined to be Wi-Fi of the other frequency;
and performing network connection according to the scanned Wi-Fi and the password corresponding to the Wi-Fi.
5. A terminal, characterized in that the terminal comprises:
a positioning unit for positioning a current geographical position;
the determining unit is used for determining the signal intensity of the currently connected Wi-Fi and the number of networks which belong to the same frequency as the currently connected Wi-Fi in a preset range if the current geographical position belongs to a preset geographical position set;
the calculating unit is used for calculating a first weight corresponding to the signal intensity of the currently connected Wi-Fi in a preset mode and calculating a second weight corresponding to the number of networks of the same frequency of the currently connected Wi-Fi in the preset range, wherein the first weight is positively correlated with the signal intensity, and the second weight is negatively correlated with the number of the networks of the same frequency;
the connection unit is used for trying to connect Wi-Fi of another frequency if the sum of the first weight and the second weight is smaller than a preset threshold value;
the terminal also comprises a prompting unit, a receiving unit, a searching unit and a generating unit:
the prompting unit is used for prompting a user to set a geographical position set;
the receiving unit is used for receiving keywords input by a user;
the search unit is used for searching the geographic position matched with the keyword;
the generating unit is used for generating the preset geographic position set according to the geographic position.
6. The terminal of claim 5, wherein the determining unit comprises an acquiring subunit, a counting subunit, and a calculating subunit;
the acquisition subunit is used for acquiring the number of signal lattices of Wi-Fi displayed on a terminal screen;
the statistical subunit is used for counting the uplink and downlink speeds of the network within a preset time;
and the calculating subunit is used for calculating the signal strength according to the signal lattice number and the uplink and downlink speeds of the network.
7. The terminal of claim 6, wherein the determining unit further comprises a determining subunit, an analyzing subunit, and a scanning subunit;
the determining subunit is configured to determine a coverage of the currently connected Wi-Fi; determining a preset range according to the coverage range;
the scanning subunit is configured to scan access points within the preset range;
and the analysis subunit is used for analyzing the scanned attributes of the access points to determine the number of networks of the same frequency.
8. A terminal according to any of claims 5 to 7, wherein the linking element comprises a promoter element, an access element, an acquisition element and a linker element;
the starting sub-unit is used for starting a Wi-Fi scanning function to carry out Wi-Fi scanning;
the access subunit is used for reading the scanned Wi-Fi attribute to determine whether the attribute is Wi-Fi of the other frequency;
the acquisition subunit is configured to attempt to acquire the scanned Wi-Fi password via the internet when the scanned Wi-Fi is determined to be the Wi-Fi of the other frequency;
and the connection subunit is used for performing network connection according to the scanned Wi-Fi and the password corresponding to the Wi-Fi.
9. A terminal, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the method of any one of claims 1 to 4.
CN201611120988.0A 2016-12-07 2016-12-07 Network connection method and terminal Expired - Fee Related CN106714277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611120988.0A CN106714277B (en) 2016-12-07 2016-12-07 Network connection method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611120988.0A CN106714277B (en) 2016-12-07 2016-12-07 Network connection method and terminal

Publications (2)

Publication Number Publication Date
CN106714277A CN106714277A (en) 2017-05-24
CN106714277B true CN106714277B (en) 2020-02-07

Family

ID=58936330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611120988.0A Expired - Fee Related CN106714277B (en) 2016-12-07 2016-12-07 Network connection method and terminal

Country Status (1)

Country Link
CN (1) CN106714277B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076427B (en) * 2017-12-12 2021-04-27 洛阳理工学院 A method, device and network adapter for connecting to a network
CN108271142A (en) * 2018-01-04 2018-07-10 广东欧珀移动通信有限公司 Wireless fidelity Wi-Fi scanning method and related products
CN109125987A (en) * 2018-08-14 2019-01-04 安徽速飞航空航天科技有限公司 A kind of 4G intelligent fire fighting rescue system and 4G intelligent fire fighting relief car
MX2021007838A (en) * 2018-12-27 2021-10-13 Arris Entpr Llc Network connection management across a multi-band wireless network.
CN114286404B (en) * 2021-12-18 2023-03-17 珠海格力电器股份有限公司 Multi-operator signal transmission control method, system and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4302617B2 (en) * 2004-12-13 2009-07-29 インターナショナル・ビジネス・マシーンズ・コーポレーション Wireless station
CN102647771B (en) * 2012-04-10 2016-05-25 华为技术有限公司 The discovery of WLAN and system of selection, equipment and system and terminal
CN103889011A (en) * 2014-04-09 2014-06-25 上海斐讯数据通信技术有限公司 Wireless bandwidth selecting method and system based on WLAN wireless bandwidth assessment
CN105101330B (en) * 2015-06-25 2020-02-28 小米科技有限责任公司 Connection switching method and device
CN105873184A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Network connection method and device
CN105898813A (en) * 2016-03-31 2016-08-24 乐视控股(北京)有限公司 Frequency band switching method based on wireless device and wireless device

Also Published As

Publication number Publication date
CN106714277A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN106851780B (en) A method and terminal for network connection
CN107332757B (en) Method and related products for deleting push messages
CN106714277B (en) Network connection method and terminal
WO2020077485A1 (en) Geo-fence updating method, and communication device
CN106714275B (en) Wi-Fi connection method and mobile terminal
CN106888495B (en) Network access method and terminal
CN107277230B (en) Voice broadcasting method of message and related product
CN107302628B (en) Application function control method and related product
CN106507289A (en) A wireless network access method and mobile terminal
CN106095386A (en) Method for setting sound effect parameters and mobile terminal
CN107356261B (en) Navigation Methods and Related Products
CN106792993A (en) Channel scanning method and mobile terminal
CN107634952B (en) Brush amount resource determination method, device, service device, mobile terminal and storage medium
CN111611027A (en) A method for starting an application program, a terminal device and a readable storage medium
CN106294668B (en) Method and terminal for displaying information of lock screen picture
CN106793010B (en) Network access method and equipment
CN106961710B (en) A kind of network access method and terminal
CN106982459B (en) Network scanning method and terminal equipment
CN106604277B (en) A wireless network access method and mobile terminal
CN106454976B (en) A wireless network switching method, device and terminal
CN106507447A (en) A Wi-Fi hotspot connection method and mobile terminal
CN106851784B (en) network scanning method and terminal equipment
CN105744600B (en) Communication network access method and user equipment
CN106686704B (en) Terminal monitoring method and mobile terminal
CN106535229B (en) WiFi signal receiving sensitivity testing method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200207

CF01 Termination of patent right due to non-payment of annual fee