[go: up one dir, main page]

CN107484230B - Multi-network positioning method, storage medium and mobile terminal - Google Patents

Multi-network positioning method, storage medium and mobile terminal Download PDF

Info

Publication number
CN107484230B
CN107484230B CN201710910154.8A CN201710910154A CN107484230B CN 107484230 B CN107484230 B CN 107484230B CN 201710910154 A CN201710910154 A CN 201710910154A CN 107484230 B CN107484230 B CN 107484230B
Authority
CN
China
Prior art keywords
network
positioning
data
signal
network signal
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.)
Active
Application number
CN201710910154.8A
Other languages
Chinese (zh)
Other versions
CN107484230A (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.)
Ankang Chuangying Intelligent Technology Co.,Ltd.
Original Assignee
Huizhou TCL Mobile Communication Co 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201710910154.8A priority Critical patent/CN107484230B/en
Publication of CN107484230A publication Critical patent/CN107484230A/en
Application granted granted Critical
Publication of CN107484230B publication Critical patent/CN107484230B/en
Active 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/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

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

Abstract

本发明公开了一种多网络定位方法、存储介质及移动终端,并通过在所述多网络定位方法中执行所述步骤:搜索网络信号并根据搜索到的网络信号依次设置网络1,网络2,…,网络n;根据网络定位数据选择定位网络m,其中m<n;重新排列各个网络信号为网络11、网络12,…,网络1m;再次搜索网络时,只搜索网络11、网络12,…,网络1m。从而使得移动终端在连续搜索网络时,可使一些信号质量较差的网络被移动终端忽略,防止其干扰移动终端的网络搜索过程,提高移动终端搜索网络的速度并减少其搜索网络而产生的功耗。

Figure 201710910154

The invention discloses a multi-network positioning method, a storage medium and a mobile terminal, and by performing the steps in the multi-network positioning method: searching for network signals and sequentially setting network 1, network 2, ..., network n; select positioning network m according to network positioning data, where m<n; rearrange each network signal as network 11, network 12, ..., network 1m; when searching the network again, only search for network 11, network 12, ... , network 1m. Therefore, when the mobile terminal continuously searches for the network, some networks with poor signal quality can be ignored by the mobile terminal, preventing them from interfering with the network search process of the mobile terminal, improving the speed of the mobile terminal searching for the network and reducing the function of searching the network. consumption.

Figure 201710910154

Description

一种多网络定位方法、存储介质及移动终端A multi-network positioning method, storage medium and mobile terminal

技术领域technical field

本发明涉及网络定位技术领域,特别涉及一种移动终端的多网络快速定位方法。The invention relates to the technical field of network positioning, in particular to a multi-network fast positioning method of a mobile terminal.

背景技术Background technique

当用户点开如手机、平板等移动终端的WiFi网络设置时,此时在当前环境中可能存在多个网络,并且在其中一般只有部分网络是用户需要的可用网络,而其余一些网络则是不可用网络。当前环境中的网络数量较多时,移动终端可查找的网络数量也将相应增加,造成移动终端搜索网络的过程中可能花费较长时间,并在连续搜索网络的过程还将增加不必要的功耗,从而不利于用户快速直接的得到其需要的网络,给用户的使用过程中带来不便之处。When the user clicks on the WiFi network settings of mobile terminals such as mobile phones and tablets, there may be multiple networks in the current environment, and generally only some of the networks are available networks that the user needs, while the rest of the networks are unavailable. use the network. When the number of networks in the current environment is large, the number of networks that can be searched by the mobile terminal will also increase accordingly, which may take a long time in the process of searching for the network by the mobile terminal, and will increase unnecessary power consumption in the process of continuously searching for the network. , which is not conducive to the user to quickly and directly obtain the required network, and brings inconvenience to the user in the use process.

因而现有技术还有待改进和提高。Therefore, the existing technology still needs to be improved and improved.

发明内容SUMMARY OF THE INVENTION

鉴于上述现有技术的不足之处,本发明的目的在于提供一种多网络定位方法、存储介质及移动终端,可以实现移动终端提高网络搜索的速度,并降低连续搜索网络所产生功耗的目的。In view of the deficiencies of the above-mentioned prior art, the purpose of the present invention is to provide a multi-network positioning method, a storage medium and a mobile terminal, which can realize the purpose of improving the speed of network search and reducing the power consumption generated by the continuous search of the network by the mobile terminal. .

为了达到上述目的,本发明采取了以下技术方案:In order to achieve the above object, the present invention has adopted the following technical solutions:

一种多网络的定位方法,包括如下步骤:A multi-network positioning method, comprising the following steps:

第一次搜索网络时,搜索全部网络信号;When searching the network for the first time, search all network signals;

根据搜索得到的网络信号依次设置网络1,网络2,…,网络n;Set up network 1, network 2, ..., network n in sequence according to the network signal obtained by searching;

根据网络定位数据选择定位网络m,其中m<n;Select the positioning network m according to the network positioning data, where m<n;

重新排列各个网络信号为网络11、网络12,…,网络1m;Rearrange each network signal as network 11, network 12, ..., network 1m;

再次搜索网络时,只搜索网络11、网络12,…,网络1m。When searching the network again, only network 11, network 12, ..., network 1m is searched.

所述的多网络的定位方法中,所述根据网络定位数据选择定位网络m,其中m<n的步骤具体包括:In the multi-network positioning method, the positioning network m is selected according to the network positioning data, wherein the step of m<n specifically includes:

获取各个网络信号的定位数据;Obtain the positioning data of each network signal;

根据与定位数据相关的预设规则选择定位网络m,其中m<n。The positioning network m is selected according to preset rules related to positioning data, where m<n.

所述的多网络的定位方法中,所述获取各个网络信号的定位数据的步骤具体包括:In the multi-network positioning method, the step of acquiring the positioning data of each network signal specifically includes:

检测并得到各个网络信号的网络信号检测数据;Detect and obtain the network signal detection data of each network signal;

处理各个网络信号的网络信号检测数据,得到各个网络信号的定位数据。The network signal detection data of each network signal is processed to obtain the positioning data of each network signal.

所述的多网络的定位方法中,所述检测并得到各个网络信号的网络信号检测数据的步骤之后,还包括:In the multi-network positioning method, after the step of detecting and obtaining the network signal detection data of each network signal, the method further includes:

重复多次检测各个网络的网络信号,得到各个被检测网络的若干组网络信号检测数据。The network signals of each network are detected repeatedly for many times, and several groups of network signal detection data of each detected network are obtained.

所述的多网络的定位方法中,所述处理各个网络信号的网络信号检测数据,得到各个网络信号的定位数据的步骤具体包括:In the multi-network positioning method, the step of processing the network signal detection data of each network signal to obtain the positioning data of each network signal specifically includes:

处理各个网络的若干组网络信号检测数据,得到各个网络信号的若干组定位数据;Process several groups of network signal detection data of each network, and obtain several groups of positioning data of each network signal;

算出各个网络信号的若干组定位数据的平均值。Calculate the average value of several sets of positioning data for each network signal.

所述的多网络的定位方法中,所述处理各个网络的若干组网络信号检测数据,得到各个网络信号的若干组定位数据的步骤中,所述若干组为至少10组。In the multi-network positioning method, in the step of processing several groups of network signal detection data of each network to obtain several groups of positioning data of each network signal, the several groups are at least 10 groups.

所述的多网络的定位方法中,所述定位数据为网络信号的速率数据。In the multi-network positioning method, the positioning data is rate data of network signals.

所述的多网络的定位方法中,所述网络信号检测数据为网络信号的信号强度数据和干扰数据。In the multi-network positioning method, the network signal detection data is signal strength data and interference data of the network signal.

一种非暂态计算机可读存储介质,其存储有计算机可执行指令,所述计算机可执行指令设置为执行上述的多网络的定位方法。A non-transitory computer-readable storage medium storing computer-executable instructions, the computer-executable instructions being configured to execute the above-mentioned multi-network positioning method.

一种移动终端,所述移动终端包括:A mobile terminal, the mobile terminal includes:

处理器;以及processor; and

与所述处理器通信连接的存储器;其中,a memory communicatively coupled to the processor; wherein,

所述存储器存储有可被所述处理器执行的指令,所述指令被所述处理器执行,以使所述处理器执行上述的多网络的定位方法。The memory stores instructions executable by the processor, where the instructions are executed by the processor, so that the processor executes the above-mentioned multi-network positioning method.

相较于现有技术,本发明提供了一种多网络定位方法、存储介质及移动终端,并通过在所述多网络定位方法中执行所述步骤:搜索网络信号并根据搜索到的网络信号依次设置网络1,网络2,…,网络n;根据网络定位数据选择定位网络m,其中m<n;重新排列各个网络信号为网络11、网络12,…,网络1m;再次搜索网络时,只搜索网络11、网络12,…,网络1m。从而使得移动终端在连续搜索网络时,可使一些信号质量较差的网络被移动终端忽略,防止其干扰移动终端的网络搜索过程,提高移动终端搜索网络的速度并减少其搜索网络而产生的功耗。Compared with the prior art, the present invention provides a multi-network positioning method, a storage medium and a mobile terminal, and by performing the steps in the multi-network positioning method: searching for network signals and sequentially according to the searched network signals. Set network 1, network 2, ..., network n; select positioning network m according to the network positioning data, where m<n; rearrange each network signal as network 11, network 12, ..., network 1m; when searching the network again, only search Network 11, Network 12, ..., Network 1m. Therefore, when the mobile terminal continuously searches for the network, some networks with poor signal quality can be ignored by the mobile terminal, preventing them from interfering with the network search process of the mobile terminal, improving the speed of the mobile terminal searching for the network and reducing the function of searching the network. consumption.

附图说明Description of drawings

图1为本发明提供的多网络的定位方法的流程图;1 is a flowchart of a multi-network positioning method provided by the present invention;

图2为本发明提供的多网络的定位方法的步骤S200的流程图;2 is a flowchart of step S200 of the multi-network positioning method provided by the present invention;

图3为本发明提供的多网络的定位方法的步骤S210的流程图;3 is a flowchart of step S210 of the multi-network positioning method provided by the present invention;

图4为本发明提供的多网络的定位方法的步骤S212的流程图;4 is a flowchart of step S212 of the multi-network positioning method provided by the present invention;

图5为本发明提供的装置的较佳实施例的模块结构示意图;5 is a schematic structural diagram of a module of a preferred embodiment of the device provided by the present invention;

图6为本发明提供的移动终端的较佳实施例的的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of a preferred embodiment of a mobile terminal provided by the present invention.

具体实施方式Detailed ways

鉴于上述现有技术的不足之处,本发明的目的在于提供一种多网络定位方法、存储介质及移动终端,可以实现移动终端提高网络搜索的速度,并降低连续搜索网络所产生功耗的目的。In view of the deficiencies of the above-mentioned prior art, the purpose of the present invention is to provide a multi-network positioning method, a storage medium and a mobile terminal, which can realize the purpose of improving the speed of network search and reducing the power consumption generated by the continuous search of the network by the mobile terminal. .

为使本发明的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and effects of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

请参阅图1,为本发明提供的多网络定位方法的流程图,应当说明的是,在本发明中所述多网络定位方法是基于如手机、iPad等移动终端上运行的,其包括如下运行步骤:Please refer to FIG. 1 , which is a flowchart of the multi-network positioning method provided by the present invention. It should be noted that the multi-network positioning method described in the present invention is based on running on mobile terminals such as mobile phones and iPads, and includes the following operations: step:

S100、搜索网络信号并根据搜索到的网络信号依次设置网络1,网络2,…,网络n;S100, searching for network signals and sequentially setting network 1, network 2, . . . , network n according to the searched network signals;

S200、根据网络定位数据选择定位网络m,其中m<n;S200, selecting a positioning network m according to the network positioning data, where m<n;

S300、重新排列各个网络信号为网络11、网络12,…,网络1m;S300, rearrange each network signal into network 11, network 12, . . . , network 1m;

S400、再次搜索网络时,只搜索网络11、网络12,…,网络1m。S400 , when searching the network again, only the network 11 , the network 12 , . . . , and the network 1m are searched.

当每次在移动终端上点开网络设置时,移动终端都将重新查找全部n个网络。而通过本申请的上述步骤后,当在同一地点再次查找网络时,只需要查找m个网络,所述m个网络以外的n-m个网络将直接被移动终端忽略,从而其不会干扰搜索过程,减少不必要的搜索功耗并加快搜索网络的速度。优选的,为了适应同一地点的网络变化,可设置移动终端定时的重新搜索网络并及时设置新的定位网络m。当然还可在移动终端上增加手动更新或切换为现有默认的网络查找方案的功能,当用户搜索不到满意的网络时,可选择进行更新定位网络m或直接查找全部网络的操作,防止一些可用网络被错过。Each time the network setting is clicked on the mobile terminal, the mobile terminal will search for all n networks again. After the above steps of the present application, when searching for a network again at the same location, only m networks need to be searched, and n-m networks other than the m networks will be directly ignored by the mobile terminal, so that they will not interfere with the search process, Reduce unnecessary search power and speed up searching the web. Preferably, in order to adapt to network changes at the same location, the mobile terminal may be set to re-search the network regularly and set a new positioning network m in time. Of course, the function of manually updating or switching to the existing default network search solution can also be added to the mobile terminal. When the user cannot search for a satisfactory network, he can choose to update the location network m or directly search for all networks, preventing some Available networks were missed.

请参阅图2,在本实施例中,所述步骤S200具体包括:Referring to FIG. 2, in this embodiment, the step S200 specifically includes:

S210、获取各个网络信号的定位数据;S210, acquiring positioning data of each network signal;

S220、根据与定位数据相关的预设规则选择定位网络m,其中m<n。S220. Select a positioning network m according to a preset rule related to positioning data, where m<n.

较佳的,所述定位数据为网络信号的速率数据。因评价网络信号质量最重要的指标即为网络信号的速率,故在本实施例中,通过获取各个网络信号的速率,并选择定位网络m的速率标准,直接筛除速率低于网络m的网络信号,从而减少移动终端在网络搜索过程中的搜索量。并且,选择定位网络m时,可设置网络m的速率高于某一速率标准,或者直接设置其速率排列所有网络中的前若干名,如设置m为5,再次搜索时,只搜索网络信号速率排列前五的网络,即只搜索网络11、网络12,…,网络15。Preferably, the positioning data is rate data of network signals. Because the most important indicator for evaluating network signal quality is the rate of the network signal, in this embodiment, by acquiring the rate of each network signal and selecting the rate standard for locating network m, networks with a rate lower than network m are directly screened out. signal, thereby reducing the search volume of the mobile terminal in the network search process. Moreover, when selecting the positioning network m, you can set the rate of the network m to be higher than a certain rate standard, or directly set its rate to rank the top names in all networks, such as setting m to 5, when searching again, only the network signal rate is searched. Rank the top five networks, that is, only search for network 11, network 12, ..., network 15.

具体的,请参阅图3,所述步骤S210具体包括:Specifically, please refer to FIG. 3, the step S210 specifically includes:

S211、检测并得到各个网络信号的网络信号检测数据;S211. Detect and obtain network signal detection data of each network signal;

S212、处理各个网络信号的网络信号检测数据,得到各个网络信号的定位数据。S212: Process the network signal detection data of each network signal to obtain positioning data of each network signal.

更具体的,所述网络信号检测数据为网络信号的信号强度数据和干扰数据。当网络信号速率较低时,其主要原因一般是由于网络信号的强度较弱或者干扰较大,所述本实施例中可通过移动终端检测网络信号的强度数据和干扰数据,并对其进行处理后预估出网络信号的速率,从而选择对搜索到的各个网络信号进行合适的排列。当然,现有的评估预测信号的速率的方式有多种,在其他实施例中也可通过其他方式预估出各个网络信号的速率,本申请在此不做赘述。More specifically, the network signal detection data is signal strength data and interference data of the network signal. When the network signal rate is low, the main reason is generally that the strength of the network signal is weak or the interference is large. In this embodiment, the strength data and interference data of the network signal can be detected by the mobile terminal and processed. Then, the rate of the network signal is estimated, so as to select an appropriate arrangement for each searched network signal. Of course, there are many existing methods for evaluating the rate of the predicted signal. In other embodiments, the rate of each network signal may also be estimated by other methods, which will not be described in detail in this application.

此外,在本实施例中,为了使得到的网络信号检测信号更加准确,在步骤S211之后,还包括步骤:重复多次检测各个网络的网络信号,得到各个被检测网络的若干组网络信号检测数据。并请参阅图4,所述步骤S212具体包括:In addition, in this embodiment, in order to make the obtained network signal detection signal more accurate, after step S211, the step further includes the step of repeating the detection of the network signals of each network for several times to obtain several groups of network signal detection data of each detected network . Referring to FIG. 4 , the step S212 specifically includes:

S2121、处理各个网络的若干组网络信号检测数据,得到各个网络信号的若干组定位数据;S2121, processing several groups of network signal detection data of each network to obtain several groups of positioning data of each network signal;

S2122、算出各个网络信号的若干组定位数据的平均值。S2122: Calculate the average value of several sets of positioning data of each network signal.

因为一些干扰因素,同一网络信号可能在某一时间内出现波动,通过连续检测各个网络的若干组网络信号检测数据,并算出其平均值,可以减少各个网络的网络信号检测数据的误差,从而更加准确的得出各个网络信号的速率。并且,在步骤S2122中,所述若干组为至少10组,保证有足够的样本数量使算出的平均值更准确,误差值更小。当然,为了避免检测时间过长以及处理数据过多给移动终端带来不必要的资源负担,连续检测各组网络信号的组数也不宜过多,优选为10~20组。Due to some interference factors, the same network signal may fluctuate within a certain period of time. By continuously detecting several groups of network signal detection data of each network, and calculating the average value, the error of the network signal detection data of each network can be reduced, thereby making it easier to Accurately get the rate of each network signal. Moreover, in step S2122, the number of groups is at least 10 groups, which ensures that there are enough samples to make the calculated average value more accurate and the error value smaller. Of course, in order to avoid excessive detection time and excessive processing data to bring unnecessary resource burden to the mobile terminal, the number of groups for continuously detecting each group of network signals should not be too many, preferably 10-20 groups.

另外,当成功设置合适的定位网络m,并在用户具体选择连接网络11、网络12,…,网络1m中的某一网络时,移动终端还将计算反馈该网络的网络信号速率。并在某一网络的网络信号速率不符合要求时,在下次搜索过程中将该网络忽略,并及时更新定位网络m。In addition, when a suitable positioning network m is successfully set, and when the user specifically selects to connect to a certain network in the network 11, network 12, ..., network 1m, the mobile terminal will also calculate and feed back the network signal rate of the network. And when the network signal rate of a certain network does not meet the requirements, the network is ignored in the next search process, and the positioning network m is updated in time.

基于上述的多网络的定位方法,本发明还提供一种实现所述多网络的定位方法的装置,请参阅图5,该装置包括如下模块:Based on the above multi-network positioning method, the present invention also provides a device for implementing the multi-network positioning method, please refer to FIG. 5 , the device includes the following modules:

搜索模块10,用于搜索当前环境中的网络信号;A search module 10, used to search for network signals in the current environment;

检测模块20,用于检测并得到各个网络信号的网络信号检测数据;The detection module 20 is used to detect and obtain the network signal detection data of each network signal;

处理模块30,用于处理各个网络信号的网络信号检测数据,得到各个网络信号的定位数据;The processing module 30 is used for processing the network signal detection data of each network signal to obtain the positioning data of each network signal;

设置模块40,用于根据各个网络信号的定位数据设置定位网络m。The setting module 40 is configured to set the positioning network m according to the positioning data of each network signal.

所述装置可以在多个网络中,通过搜索模块10先搜索得到网络1,网络2,…,网络n,之后通过检测模块20检测并得到各个网络的网络信号数据,即网络信号数据1,网络信号数据2,…,网络信号数据n,此时检测模块20还将使这些网络的网络信号数据以数据脉冲信号的方式发送到处理模块30。The device can firstly obtain network 1, network 2, . Signal data 2, . . . , network signal data n. At this time, the detection module 20 will also send the network signal data of these networks to the processing module 30 in the form of data pulse signals.

处理模块30接收到检测模块20发送的各个网络的数据脉冲信号时,对网络信号数据1,网络信号数据2,…,网络信号数据n进行运算处理,得到各个网络的定位数据,即网络定位数据1,网络定位数据2,…,网络定位数据n,设置模块40依据各个网络的定位数据的值选择合适的定位网络m,并按照各个网络的定位数据的值的大小重新选择排列网络信号为网络11、网络12,…,网络1m。When the processing module 30 receives the data pulse signals of each network sent by the detection module 20, it performs arithmetic processing on the network signal data 1, the network signal data 2, . 1, network positioning data 2, ..., network positioning data n, the setting module 40 selects an appropriate positioning network m according to the value of the positioning data of each network, and re-selects and arranges the network signals as the network according to the value of the positioning data of each network. 11. Network 12, ..., Network 1m.

此时,在搜索模块10重新搜索网络时,将忽略掉网络1m+1,…,网络1n,只搜索网络11、网络12,…,网络1m,使搜索模块10的搜索速度得到提高,并减少搜索模块10在搜索过程中所产生的功耗。此外,该装置还包括反馈模块50,其可及时的反馈被选择用于连接的网络的真实速率,并在该网络的真实速率低于网络m的速率时,使搜索模块10下一次搜索网络时忽略该网络,并且及时更新和选择网络m。At this time, when the search module 10 searches the network again, the network 1m+1, . The power consumption generated by the search module 10 during the search process. In addition, the device also includes a feedback module 50, which can timely feedback the real rate of the network selected for connection, and when the real rate of the network is lower than the rate of the network m, the search module 10 will search the network next time. This network is ignored, and network m is updated and selected in time.

本发明还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述实施例中的多网络的定位方法。The present invention also provides a non-transitory computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the multi-network positioning method in the foregoing embodiments.

本发明还提供了一种移动终端。该移动终端可以执行相应的方法步骤。如图6所示,该移动终端(如智能手机,ipad等)包括:The present invention also provides a mobile terminal. The mobile terminal may perform corresponding method steps. As shown in Figure 6, the mobile terminal (such as a smart phone, ipad, etc.) includes:

至少一个处理器(processor)60,图5中以一个处理器60为例;显示屏61;以及存储器(memory)62,还可以包括通信接口(Communications Interface)63和总线64。其中,处理器60、显示屏61、存储器62和通信接口63可以通过总线64完成相互间的通信。显示屏61设置为显示网络搜索模式中预设的用户引导界面。通信接口63可以传输信息,处理器60可以调用存储器62中的逻辑指令,以执行上述实施例中的多网络定位的方法。At least one processor (processor) 60 , a processor 60 is taken as an example in FIG. 5 ; a display screen 61 ; The processor 60 , the display screen 61 , the memory 62 and the communication interface 63 can communicate with each other through the bus 64 . The display screen 61 is set to display a user guide interface preset in the network search mode. The communication interface 63 can transmit information, and the processor 60 can invoke the logic instructions in the memory 62 to execute the method for multi-network positioning in the above embodiment.

此外,上述的存储器62中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above-mentioned logic instructions in the memory 62 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

存储器62作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令或模块。处理器60通过运行存储在存储器62中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的多网络定位的方法。As a computer-readable storage medium, the memory 62 may be configured to store software programs and computer-executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 60 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 62, that is, to implement the method for multi-network positioning in the above embodiments.

存储器62可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器62可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 62 may 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; the storage data area may store data created according to the use of the terminal device, and the like. Additionally, memory 62 may include high-speed random access memory, and may also include non-volatile memory.

上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,该程序可以存储于一计算机可读存储介质中,存储介质可以是非暂态存储介质,包括U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、磁盘或光盘等等多种可以存储程序代码的介质,也可以是暂态存储介质。All or part of the steps in the above-mentioned embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can be a non-transitory storage medium, including a USB flash drive. , removable hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes, and can also be a temporary storage medium.

综上所述,本发明公开了一种多网络定位方法、存储介质及移动终端,并通过在所述多网络定位方法中执行所述步骤:搜索网络信号并根据搜索到的网络信号依次设置网络1,网络2,…,网络n;根据网络定位数据选择定位网络m,其中m<n;重新排列各个网络信号为网络11、网络12,…,网络1m;再次搜索网络时,只搜索网络11、网络12,…,网络1m。从而使得移动终端在连续搜索网络时,可使一些信号质量较差的网络被移动终端忽略,防止其干扰移动终端的网络搜索过程,提高移动终端搜索网络的速度并减少其搜索网络而产生的功耗。In summary, the present invention discloses a multi-network positioning method, a storage medium and a mobile terminal, and by performing the steps in the multi-network positioning method: searching for network signals and sequentially setting networks according to the searched network signals 1, network 2, ..., network n; select the positioning network m according to the network positioning data, where m<n; rearrange each network signal as network 11, network 12, ..., network 1m; when searching the network again, only search for network 11 , network 12, ..., network 1m. Therefore, when the mobile terminal continuously searches for the network, some networks with poor signal quality can be ignored by the mobile terminal, preventing them from interfering with the network search process of the mobile terminal, improving the speed of the mobile terminal searching for the network and reducing the function of searching the network. consumption.

可以理解的是,对本领域普通技术人员来说,可以根据本发明的技术方案及其发明构思加以等同替换或改变,而所有这些改变或替换都应属于本所附的权利要求的保护范围。It can be understood that for those of ordinary skill in the art, equivalent replacements or changes can be made according to the technical solutions of the present invention and the inventive concept thereof, and all these changes or replacements should belong to the protection scope of the appended claims.

Claims (6)

1.一种多网络的定位方法,其特征在于,包括如下步骤:1. a multi-network positioning method, is characterized in that, comprises the steps: 搜索网络信号并根据搜索到的网络信号依次设置网络1,网络2,…,网络n;Search for network signals and set network 1, network 2, ..., network n in turn according to the searched network signals; 根据网络定位数据选择定位网络m,其中m<n;Select the positioning network m according to the network positioning data, where m<n; 重新排列各个网络信号为网络11、网络12,…,网络1m;Rearrange each network signal as network 11, network 12, ..., network 1m; 再次搜索网络时,只搜索网络11、网络12,…,网络1m;When searching the network again, only search network 11, network 12, ..., network 1m; 所述根据网络定位数据选择定位网络m,其中m<n的步骤具体包括:The selecting of the positioning network m according to the network positioning data, wherein the step of m<n specifically includes: 获取各个网络信号的定位数据;Obtain the positioning data of each network signal; 所述获取各个网络信号的定位数据的步骤具体包括:The step of obtaining the positioning data of each network signal specifically includes: 检测并得到各个网络信号的网络信号检测数据;Detect and obtain the network signal detection data of each network signal; 处理各个网络信号的网络信号检测数据,得到各个网络信号的定位数据;Process the network signal detection data of each network signal to obtain the positioning data of each network signal; 所述网络信号检测数据为网络信号的信号强度数据和干扰数据;The network signal detection data is signal strength data and interference data of the network signal; 检测网络信号的强度数据和干扰数据,对其进行处理后预估出网络信号的速率,对搜索到的各个网络信号进行合适的排列;Detect the strength data and interference data of the network signal, estimate the speed of the network signal after processing it, and arrange the searched network signals appropriately; 根据与定位数据相关的预设规则选择定位网络m,其中m<n;The positioning network m is selected according to the preset rules related to the positioning data, where m<n; 所述定位数据为网络信号的速率数据;The positioning data is rate data of network signals; 获取各个网络信号的速率,选择定位网络m的速率标准;Obtain the rate of each network signal, and select the rate standard of the positioning network m; 及时反馈被选择用于连接的网络的真实速率,并在该网络的真实速率低于网络m的速率时,下一次搜索网络时忽略该网络,及时更新和选择网络m。The real rate of the network selected for connection is fed back in time, and when the real rate of the network is lower than the rate of the network m, the network is ignored when the network is searched next time, and the network m is updated and selected in time. 2.根据权利要求1所述的多网络的定位方法,其特征在于,所述检测并得到各个网络信号的网络信号检测数据的步骤之后,还包括:2. The multi-network positioning method according to claim 1, wherein after the step of detecting and obtaining the network signal detection data of each network signal, the method further comprises: 重复多次检测各个网络的网络信号,得到各个被检测网络的若干组网络信号检测数据。The network signals of each network are detected repeatedly for many times, and several groups of network signal detection data of each detected network are obtained. 3.根据权利要求2所述的多网络的定位方法,其特征在于,所述处理各个网络信号的网络信号检测数据,得到各个网络信号的定位数据的上步骤具体包括:3. The multi-network positioning method according to claim 2, wherein the above step of processing the network signal detection data of each network signal and obtaining the positioning data of each network signal specifically comprises: 处理各个网络的若干组网络信号检测数据,得到各个网络信号的若干组定位数据;Process several groups of network signal detection data of each network, and obtain several groups of positioning data of each network signal; 算出各个网络信号的若干组定位数据的平均值。Calculate the average value of several sets of positioning data for each network signal. 4.根据权利要求3所述的多网络的定位方法,其特征在于,所述处理各个网络的若干组网络信号检测数据,得到各个网络信号的若干组定位数据的步骤中,所述若干组为至少104. The multi-network positioning method according to claim 3, wherein in the step of processing several groups of network signal detection data of each network to obtain several groups of positioning data of each network signal, the several groups are at least 10 组。Group. 5.一种非暂态计算机可读存储介质,其特征在于,其存储有计算机可执行指令,所述计算机可执行指令设置为执行权利要求1-4中任意一项所述的多网络的定位方法。5. A non-transitory computer-readable storage medium, characterized in that it stores computer-executable instructions, the computer-executable instructions being configured to perform the positioning of multiple networks according to any one of claims 1-4 method. 6.一种移动终端,其特征在于,所述移动终端包括:6. A mobile terminal, wherein the mobile terminal comprises: 处理器;以及processor; and 与所述处理器通信连接的存储器;其中,a memory communicatively coupled to the processor; wherein, 所述存储器存储有可被所述处理器执行的指令,所述指令被所述处理器执行,以使所述处理器执行权利要求1-4中任意一项所述的多网络的定位方法。The memory stores instructions executable by the processor, and the instructions are executed by the processor to cause the processor to execute the multi-network positioning method according to any one of claims 1-4.
CN201710910154.8A 2017-09-29 2017-09-29 Multi-network positioning method, storage medium and mobile terminal Active CN107484230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710910154.8A CN107484230B (en) 2017-09-29 2017-09-29 Multi-network positioning method, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710910154.8A CN107484230B (en) 2017-09-29 2017-09-29 Multi-network positioning method, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN107484230A CN107484230A (en) 2017-12-15
CN107484230B true CN107484230B (en) 2021-08-10

Family

ID=60604699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710910154.8A Active CN107484230B (en) 2017-09-29 2017-09-29 Multi-network positioning method, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107484230B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090245133A1 (en) * 2008-03-31 2009-10-01 Intel Corporation Broadcast/multicast based network discovery
CN103118419A (en) * 2013-01-24 2013-05-22 中兴通讯股份有限公司 Terminal wireless access point reclosure method and device using the same
CN103209464A (en) * 2012-01-11 2013-07-17 联想(北京)有限公司 Wireless access method and electronic device using same
CN105933864A (en) * 2016-04-20 2016-09-07 努比亚技术有限公司 Method for controlling wireless LAN connection and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090245133A1 (en) * 2008-03-31 2009-10-01 Intel Corporation Broadcast/multicast based network discovery
CN103209464A (en) * 2012-01-11 2013-07-17 联想(北京)有限公司 Wireless access method and electronic device using same
CN103118419A (en) * 2013-01-24 2013-05-22 中兴通讯股份有限公司 Terminal wireless access point reclosure method and device using the same
CN105933864A (en) * 2016-04-20 2016-09-07 努比亚技术有限公司 Method for controlling wireless LAN connection and terminal

Also Published As

Publication number Publication date
CN107484230A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN106255137B (en) Method and system for improving LoRa network communication rate
US9866362B2 (en) Method and system for searching network in long term evolution slave mode
CN112114892A (en) Deep learning model obtaining method, loading method and selecting method
CN104575539A (en) Music playing control method and device
CN105430696B (en) Method for switching network, terminal and server
CN110913447B (en) Network control method, network control device, storage medium and electronic equipment
CN104486712A (en) Volume adjusting method and device of wireless loudspeaker box system
CN111866821A (en) A method and device for back-connection control of a bluetooth headset and a bluetooth headset
CN103218555A (en) Logging-in method and device for application program
US11502925B2 (en) Information processing terminal and control method
CN111148182A (en) Device control method, device, storage medium and electronic device
CN110785752A (en) Resource Search Methods and Related Products
CN107872533A (en) Information push method, device, server and storage medium
CN106559856B (en) A WIFI hotspot identification method and device
CN107820322B (en) Network access method, terminal and device with storage function
US20200183981A1 (en) Resource Search Method and Related Product
CN103533605A (en) Frequency sweeping method and device of user terminal
CN105550105A (en) Selecting method and system of application programs with same function in mobile terminal
CN107786869B (en) Method, device and storage medium for generating menu path of television equipment
CN107484230B (en) Multi-network positioning method, storage medium and mobile terminal
US20180321803A1 (en) Customizable autocomplete option
CN108882335A (en) Network connection method, device and electronic device
CN105813170A (en) Terminal and method for terminal to select network
CN105472705B (en) A kind of wireless network processing method and mobile terminal
WO2024239805A1 (en) Data query method, query table construction method, computing device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230625

Address after: Room 2103, Office Building 1, No. 213 Funing Road, Zumiao Street, Chancheng District, Foshan City, Guangdong Province, 528000, F008

Patentee after: Foshan Huayue Intellectual Property Operation Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20250402

Address after: 725000 12th Floor, No. 1 Diamond Road, High tech Industrial Development Zone, Ankang City, Shaanxi Province

Patentee after: Ankang Chuangying Intelligent Technology Co.,Ltd.

Country or region after: China

Address before: Room 2103, Office Building 1, No. 213 Funing Road, Zumiao Street, Chancheng District, Foshan City, Guangdong Province, 528000, F008

Patentee before: Foshan Huayue Intellectual Property Operation Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right