CN113038573B - Network search control method, device, mobile terminal and storage medium - Google Patents
Network search control method, device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN113038573B CN113038573B CN201911357785.7A CN201911357785A CN113038573B CN 113038573 B CN113038573 B CN 113038573B CN 201911357785 A CN201911357785 A CN 201911357785A CN 113038573 B CN113038573 B CN 113038573B
- Authority
- CN
- China
- Prior art keywords
- network
- mobile terminal
- network search
- cell
- position information
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0212—Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
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 application discloses a network search control method, a network search control device, a mobile terminal and a storage medium, and relates to the technical field of mobile terminals. The method is applied to the mobile terminal, and comprises the following steps: when the mobile terminal carries out network search, the current position information of the mobile terminal is obtained, a network search order corresponding to the current position information is obtained as a current network search order according to a preset mapping relation, wherein the preset mapping relation comprises the corresponding relation between a plurality of position information and a plurality of network search orders, and the mobile terminal is controlled to carry out network search on a plurality of networks according to the current network search order. The network search control method, the device, the mobile terminal and the storage medium provided by the embodiment of the application carry out network search according to the network search order corresponding to the position information by establishing the mapping relation between the position information and the network search order, so that the network search speed can be increased to reduce the power consumption of the mobile terminal.
Description
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a network search control method and apparatus, a mobile terminal, and a storage medium.
Background
With the development of science and technology, mobile terminals are widely used and have more functions, and the mobile terminals become one of the necessary things in daily life of people. At present, a mobile terminal generally performs network search according to a default network search order, and the network search success rate is low and the speed is slow, so that the power consumption of the mobile terminal is high.
Disclosure of Invention
In view of the foregoing problems, the present application provides a network search control method, apparatus, mobile terminal and storage medium to solve the foregoing problems.
In a first aspect, an embodiment of the present application provides a network search control method, which is applied to a mobile terminal, and the method includes: when the mobile terminal carries out network search, current position information of the mobile terminal is obtained; acquiring a network searching order corresponding to the current position information as a current network searching order according to a preset mapping relation, wherein the preset mapping relation comprises a corresponding relation between a plurality of position information and a plurality of network searching orders; and controlling the mobile terminal to search a plurality of networks according to the current network searching sequence.
In a second aspect, an embodiment of the present application provides a network search control apparatus, which is applied to a mobile terminal, and the apparatus includes: a current position information obtaining module, configured to obtain current position information of the mobile terminal when the mobile terminal performs network search; a current network search order obtaining module, configured to obtain, according to a preset mapping relationship, a network search order corresponding to the current location information as a current network search order, where the preset mapping relationship includes a correspondence between multiple location information and multiple network search orders; and the network search control module is used for controlling the mobile terminal to search a plurality of networks according to the current network search sequence.
In a third aspect, an embodiment of the present application provides a mobile terminal, including a memory and a processor, where the memory is coupled to the processor, and the memory stores instructions, and when the instructions are executed by the processor, the processor executes the above method.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
According to the network search control method, the network search control device, the mobile terminal and the storage medium, when the mobile terminal carries out network search, the current position information of the mobile terminal is obtained, the network search sequence corresponding to the current position information is obtained as the current network search sequence according to the preset mapping relation, the preset mapping relation comprises the corresponding relation between a plurality of position information and the plurality of network search sequences, the mobile terminal is controlled to carry out network search on a plurality of networks according to the current network search sequence, and therefore the network search is carried out according to the network search sequence corresponding to the position information by establishing the mapping relation between the position information and the network search sequence, the network search speed can be increased, and the power consumption of the mobile terminal can be reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an application environment that can be used in the network search control method provided by the embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a network search control method according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a network search control method according to another embodiment of the present application;
fig. 4 is a flowchart illustrating step S204 of the network search control method illustrated in fig. 3 of the present application;
fig. 5 shows a block diagram of a network search control apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of a mobile terminal according to an embodiment of the present application for executing a network search control method according to an embodiment of the present application;
fig. 7 illustrates a storage unit for storing or carrying program codes for implementing the network search control method according to the embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
A communication base station, i.e. a common mobile communication base station, is a form of radio station, which refers to a radio sending station for information transfer between mobile phone terminals through a mobile communication interaction center in a limited radio coverage area. The base station is a basic unit forming a cell in mobile communication, and completes communication and management functions between a mobile communication network and mobile communication users. At present, the number of base stations and the signal coverage area thereof are limited, and in some remote areas, such as forests, suburbs, etc., the signal quality received by the mobile terminal becomes poor, and even the signal cannot be received, and in addition, under the shelter of some buildings or in some relatively closed spaces, the signal quality of the mobile terminal is also reduced, and even the signal cannot be received at all. However, currently, the default network search order is still at the initial stage of 5G base station construction, the coverage of the 5G base station is less, and the network search order of the mobile terminal generally is to search the 5G network first and then search the 4G network, if the current environment of the mobile terminal is not covered by the 5G base station, the search of the 4G network can be performed only when the search of the 5G network fails, which causes that the network search speed is slower and useless network search power consumption is wasted after the mobile terminal is restarted and the network is dropped.
In view of the above problems, the inventors have found through long-term research and have proposed a network search control method, apparatus, mobile terminal and storage medium according to embodiments of the present application, which can increase the network search speed and reduce the power consumption of the mobile terminal by establishing a mapping relationship between location information and a network search order and performing network search according to the network search order corresponding to the location information. The specific network search control method is described in detail in the following embodiments.
The following description will be made with respect to an application environment that can be used in the network search control method provided by the embodiment of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment of a network search control method according to an embodiment of the present application. Which includes a mobile terminal 100 and a plurality of base stations 200, wherein the mobile terminal 100 can be connected with any one of the base stations 200 to implement network connection of the mobile terminal 100 through communication between the mobile terminal 100 and the base station 200. The plurality of base stations 200 may include a 5G base station, a 4G base station, a 3G base station, or a 2G base station, and when the mobile terminal 100 is located within the coverage of the 5G base station, the 4G base station, the 3G base station, and the 2G base station, the mobile terminal 100 may perform a search of a 5G network, a search of a 4G network, a search of a 3G network, or a search of a 2G network, which is not limited herein. When the mobile terminal 100 is connected to a 5G base station and only other 5G base stations are covered around the connected 5G base station, the mobile terminal is switched from the connected 5G base station to other 5G base stations adjacent to the connected 5G base station; when the mobile terminal 100 is connected to a 5G base station and the periphery of the connected 5G base station covers a 4G base station and a 3G base station, the mobile terminal may be handed over from the connected 5G base station to a 4G base station or a 3G base station adjacent to the connected 5G base station.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a network search control method according to an embodiment of the present application. The network search control method is used for carrying out network search according to the network search order corresponding to the position information by establishing the mapping relation between the position information and the network search order, and can accelerate the network search speed so as to reduce the power consumption of the mobile terminal. In a specific embodiment, the network search control method is applied to the network search control apparatus 300 shown in fig. 5 and the mobile terminal 100 (fig. 6) configured with the network search control apparatus 300. The following will describe a specific process of this embodiment by taking a mobile terminal as an example, and it is understood that the mobile terminal applied in this embodiment may be a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited herein. As will be described in detail with respect to the flow shown in fig. 2, the network search control method may specifically include the following steps:
step S101: and when the mobile terminal carries out network search, acquiring the current position information of the mobile terminal.
In this embodiment, when the mobile terminal performs network search, the current location information of the mobile terminal may be acquired. In some embodiments, the current location information of the mobile terminal may be obtained when the network search is performed after the mobile terminal is restarted; the current position information of the mobile terminal can be acquired when the mobile terminal is started to perform network search; the current position information of the mobile terminal can be acquired when the mobile terminal is disconnected from the network and is subjected to network search; the current location information of the mobile terminal and the like may be obtained when the mobile terminal performs network search after a network drop, which is not limited herein.
When the mobile terminal carries out network search, the current position information of the mobile terminal can be acquired in real time; when the mobile terminal carries out network search, the current position information of the mobile terminal can be obtained according to a preset time interval; when the mobile terminal searches a network, the current position information of the mobile terminal can be obtained according to the preset time; when the mobile terminal performs network search, the current location information of the mobile terminal and the like may be obtained in other preset manners, which is not limited herein.
In some embodiments, when the mobile terminal performs network search after a network is disconnected or disconnected, base station information of a base station connected before the mobile terminal is disconnected or disconnected can be acquired, and current position information of the mobile terminal is acquired based on the base station information; when the mobile terminal performs a network search, current location information of the mobile terminal may be acquired through a Global Positioning System (GPS) of the mobile terminal; when the mobile terminal performs network search, the current location information of the mobile terminal may be obtained through a BeiDou Navigation Satellite System (BDS) of the mobile terminal, and the like, which is not limited herein.
In this embodiment, when the mobile terminal performs network search and the 5G network connection function of the mobile terminal is turned on, the current location information of the mobile terminal may be acquired. The mobile terminal may have a network connection function and may be correspondingly configured with a switch for controlling the network connection function, that is, based on the switch for controlling the network connection function, the network connection function of the mobile terminal may be controlled to be turned on or the network connection function of the mobile terminal may be controlled to be turned off.
In some embodiments, the network connection function of the mobile terminal may include a 5G network connection function, the switch for controlling the network connection function may include a switch for controlling the 5G network connection function, and then the 5G network connection function of the mobile terminal may be controlled to be turned on or the 5G network connection function of the mobile terminal may be controlled to be turned off based on the switch for controlling the 5G network connection function. Therefore, in this embodiment, the user may control the 5G network connection function of the mobile terminal to be turned on or the 5G network connection function of the mobile terminal to be turned off by operating the switch of the 5G network connection function of the mobile terminal. It can be understood that when the 5G network connection function of the mobile terminal is turned on, the mobile terminal may perform a search of a 5G network when performing a network search; when the 5G network connection function of the mobile terminal is closed, the mobile terminal does not search the 5G network when the mobile terminal searches the network. Therefore, if the 5G network connection function of the mobile terminal is turned on, the mobile terminal is characterized to be capable of searching for the 5G network, and then the current location information of the mobile terminal can be obtained, and if the 5G network connection function of the mobile terminal is turned off, the mobile terminal is characterized not to be capable of searching for the 5G network, and if the coverage of the 4G base station is enough, then the current location information of the mobile terminal can not be obtained.
Step S102: and acquiring a network searching order corresponding to the current position information as a current network searching order according to a preset mapping relation, wherein the preset mapping relation comprises corresponding relations of a plurality of position information and a plurality of network searching orders.
In some embodiments, the mobile terminal may preset and store a mapping table as a preset mapping relationship, where the preset mapping relationship may include a correspondence between a plurality of location information and a plurality of network search orders, and in the preset mapping relationship, the plurality of location information and the plurality of network search orders may correspond to one another, the plurality of location information may correspond to one network search order, and the like, which is not limited herein. The plurality of network search orders may include a network search order of 5G- >4G- >3G- >2G, a network search order of 4G- >5G- >3G- >2G, a network search order of 4G- >3G- >5G- >2G, and the like, which are not limited herein.
For example, as shown in table 1, the plurality of location information may include first location information, second location information, third location information, and fourth location information, the plurality of network search orders may include a first network search order, a second network search order, a third network search order, and a fourth network search order, and the first location information corresponds to the first network search order, the second location information corresponds to the second network search order, the third location information corresponds to the third network search order, and the fourth location information corresponds to the fourth network search order. For example, the first network search order can be 5G- >4G- >3G- >2G, the second network search order can be 4G- >5G- >3G- >2G, the third network search order can be 4G- >3G- >5G- >2G, and the fourth network search order can be 5G-3G- >4G- >2G.
TABLE 1
Location information | Network search order |
First position information | First network search order |
Second position information | Second network search order |
Third position information | Third network search order |
Fourth position information | Fourth network search order |
In some embodiments, after the current location information of the mobile terminal is obtained, a network search order corresponding to the current location information may be obtained as the current network search order according to a preset mapping relationship. Specifically, after the current location information of the mobile terminal is obtained, the current location information of the mobile terminal may be compared with a plurality of location information in the preset mapping relationship to determine location information matching the current location information of the mobile terminal from the plurality of location information in the preset mapping relationship, then a network search order corresponding to the location information matching the current location information of the mobile terminal in the preset mapping relationship is obtained, and the network search order corresponding to the obtained location information matching the current location information of the mobile terminal is used as the current network search order, so that the current network search order corresponding to the current location information may be obtained.
For example, when it is determined that the current location information of the mobile terminal matches the first location information in the preset mapping relationship after comparing the current location information of the mobile terminal with the plurality of location information in the preset mapping relationship, a first network search order corresponding to the first location information in the preset mapping relationship may be obtained, and the first network search order may be determined as the network search order corresponding to the current location information of the mobile terminal. For another example, when the current location information of the mobile terminal is determined to match the second location information in the preset mapping relationship after comparing the current location information of the mobile terminal with the plurality of location information in the preset mapping relationship, a second network search order corresponding to the second location information in the preset mapping relationship may be obtained, and the second network search order may be determined as the network search order corresponding to the current location information of the mobile terminal.
In this embodiment, when the current location information is within a preset range, a network search order corresponding to the current location information may be obtained as the current network search order according to a preset mapping relationship, where the preset range is covered with a 5G network. In some embodiments, the mobile terminal may obtain and store a range covered with a 5G network in advance as a preset range, where the preset range is used as a determination basis for determining current location information of the mobile terminal, and therefore, in this embodiment, after obtaining the current location information of the mobile terminal, the current location information of the mobile terminal may be compared with the preset range to determine whether the current location information of the mobile terminal is within the preset range, where, when a determination result represents that the current location information of the mobile terminal is within the preset range, the position where the mobile terminal is located is represented by the 5G network, and a signal of the 5G network may be better or worse, and therefore, a network search order corresponding to the current location information may be obtained according to a preset mapping relationship as the current network search order; and when the judgment result indicates that the current position information of the mobile terminal is out of the preset range and the position of the mobile terminal does not cover the 5G network, the current network searching sequence corresponding to the current position can not be acquired any more so as to reduce the power consumption of the mobile terminal.
Step S103: and controlling the mobile terminal to search a plurality of networks according to the current network searching sequence.
In some embodiments, after the current network search order corresponding to the current location information of the mobile terminal is obtained, the mobile terminal may be controlled to perform network search on multiple networks according to the current network search order, so that an effective network may be preferentially searched by establishing a preset mapping relationship of network search, and especially, the speed of network search may be increased at the initial stage of 5G base station construction, and the power consumption of network search performed by the mobile terminal may be reduced.
For example, when the current network search order corresponding to the current location information of the mobile terminal is obtained as a first network search order, the mobile terminal may be controlled to perform network search on a plurality of networks according to the first network search order, where when the first network search order is 5G- >4G- >3G- >2G, the mobile terminal may be controlled to preferentially perform search on the 5G network, perform search on the 4G network when the 5G network search fails, perform search on the 3G network when the 4G network search fails, and perform search on the 2G network when the 3G network search fails.
For another example, when the current network search order obtained corresponding to the current location information of the mobile terminal is the second network search order, the mobile terminal may be controlled to perform network searches on the multiple networks according to the second network search order, where when the second network search order is 4G- >5G- >3G- >2G, the mobile terminal may be controlled to perform a 4G network search preferentially, perform a 5G network search when the 4G network search fails, perform a 3G network search when the 5G network search fails, and perform a 2G network search when the 3G network search fails.
According to the network search control method provided by one embodiment of the application, when the mobile terminal performs network search, current position information of the mobile terminal is obtained, and a network search order corresponding to the current position information is obtained as a current network search order according to a preset mapping relation, wherein the preset mapping relation comprises corresponding relations between a plurality of position information and a plurality of network search orders, and the mobile terminal is controlled to perform network search on a plurality of networks according to the current network search order, so that the network search is performed according to the network search order corresponding to the position information by establishing the mapping relation between the position information and the network search order, and the network search speed can be increased to reduce the power consumption of the mobile terminal.
Referring to fig. 3, fig. 3 is a flowchart illustrating a network search control method according to another embodiment of the present application. The method is applied to the mobile terminal, and will be described in detail with reference to the flow shown in fig. 3, where the network search control method may specifically include the following steps:
step S201: and acquiring a first cell accessed by the mobile terminal, and respectively acquiring first connection duration of the mobile terminal in a plurality of networks of the first cell.
In this embodiment, base station information connected to the mobile terminal and cell information corresponding to the base station information may be recorded and acquired, the acquired cell information may be used as a first cell accessed by the mobile terminal, and after the first cell accessed by the mobile terminal is acquired, connection durations of the mobile terminal in multiple networks of the first cell may be respectively acquired, and the acquired connection durations may be used as first connection durations of the mobile terminal in the multiple networks of the first cell. In some embodiments, after acquiring a first cell into which a mobile terminal enters, a plurality of networks in the first cell may be acquired, and then first connection durations of the plurality of networks in the first cell of the mobile terminal are respectively acquired. For example, when the plurality of networks in the first cell are acquired to include a 5G network and a 4G network, the first connection duration of the mobile terminal in the 5G network of the first cell and the first connection duration of the mobile terminal in the 4G network of the first cell may be acquired respectively. For another example, when the plurality of networks in the first cell are acquired to include a 5G network, a 4G network, and a 3G network, the first connection duration of the mobile terminal in the 5G network of the first cell, the first connection duration of the mobile terminal in the 4G network of the first cell, and the first connection duration of the mobile terminal in the 3G network of the first cell may be acquired respectively.
In some embodiments, a first cell accessed by the mobile terminal within a preset historical time period may be recorded and obtained, and first connection durations of multiple networks of the first cell within the preset historical time period may be respectively obtained for the mobile terminal. For example, a first cell accessed by the mobile terminal within the latest m days may be recorded and acquired, and first connection durations of multiple networks of the first cell within the latest m days may be acquired respectively, and the number exceeding m days may be discarded, so as to improve accuracy of the acquired data.
Step S202: and acquiring the adjacent cell of the first cell as a second cell, and respectively acquiring second connection durations of the mobile terminal in a plurality of networks of the second cell.
In this embodiment, after acquiring a first cell to which a mobile terminal accesses, a neighboring cell of the first cell may be acquired, and the neighboring cell of the first cell is used as a second cell, and after acquiring the second cell, connection durations of the mobile terminal in multiple networks of the second cell may be respectively acquired, and the acquired connection durations are used as connection durations of the mobile terminal in the multiple networks of the second cell. After the mobile terminal accesses the first cell, if the network signal of the first cell is poor and the network signal of the second cell adjacent to the first cell is good, the mobile terminal may be switched from the accessed first cell to the second cell, so that the mobile terminal may also have connection records in multiple networks of the second cell, and may respectively obtain second connection durations of the mobile terminal in the multiple networks of the second cell. The number of the second cells may be one or multiple, and is not limited herein.
In some embodiments, after acquiring the second cell, the plurality of networks in the second cell may be acquired, and then the second connection durations of the mobile terminal in the plurality of networks of the second cell may be respectively acquired. For example, when the plurality of networks in the second cell are acquired to include a 5G network and a 4G network, the second connection duration of the mobile terminal in the 5G network of the second cell and the second connection duration of the mobile terminal in the 4G network of the second cell may be acquired respectively. For another example, when the plurality of networks in the second cell are acquired to include a 5G network, a 4G network, and a 3G network, the second connection duration of the mobile terminal in the 5G network of the second cell, the second connection duration of the mobile terminal in the 4G network of the second cell, and the second connection duration of the mobile terminal in the 3G network of the second cell may be acquired respectively.
In some embodiments, a second cell, which is a neighboring cell of the first cell and accessed by the mobile terminal within the preset historical time period, may be recorded and obtained, and second connection durations of multiple networks of the second cell within the preset historical time period may be respectively obtained for the mobile terminal. For example, the second cells adjacent to the first cell accessed by the mobile terminal within the latest m days may be recorded and obtained, the second connection durations of the multiple networks of the second cell within the latest m days may be respectively obtained, and the number exceeding m days may be discarded, so as to improve the accuracy of the obtained data.
Step S203: determining location information of the mobile terminal based on the first cell and the second cell.
In this embodiment, after acquiring a first cell accessed by a mobile terminal and a second cell adjacent to the first cell, the location information of the mobile terminal may be determined based on the first cell and the second cell. In some embodiments, unique location information (location ID) may be established based on a first cell accessed by a mobile terminal and a second cell adjacent to the first cell, where each location information represents a block of area where the mobile terminal is located, that is, a block of area representing user activity. Specifically, assume that the first cell accessed by the mobile terminal is C 1 First cell C 1 Comprises C 2 、C 3 82309; \ 8230; (C) 1 、C 2 、C 3 8230 \ 8230;) is mapped to one location information, thereby determining location information of the mobile terminal.
Step S204: and determining the network searching order of the mobile terminal on the plurality of networks in the position information based on the first connection duration and the second connection duration.
In some embodiments, after obtaining the first connection duration of the mobile terminal in the plurality of networks of the first cell and the second connection duration of the mobile terminal in the plurality of networks of the second cell, the network search order of the mobile terminal in the plurality of networks at the location information may be determined based on the first connection duration of the mobile terminal in the plurality of networks of the first cell and the second connection duration of the mobile terminal in the plurality of networks of the second cell. The longer the first connection time and the second connection time of the mobile terminal in a certain network are, the more the network search order of the mobile terminal in the network by the position information is in front of the network, and the shorter the first connection time and the second connection time of the mobile terminal in the certain network are, the more the network search order of the mobile terminal in the network by the position information is in the back of the network. For example, when the first connection duration and the second connection duration of the mobile terminal in the 4G network > the first connection duration and the second connection duration in the 5G network > the first connection duration and the second connection duration in the 3G network > the first connection duration and the second connection duration in the 2G network, it is determined that the network search order of the mobile terminal for multiple networks in the location information is: 4G- >5G- >3G- >2G.
Referring to fig. 4, fig. 4 is a flowchart illustrating a step S204 of the network search control method illustrated in fig. 3 according to the present application. As will be explained in detail with respect to the flow shown in fig. 4, the method may specifically include the following steps:
step S2041: and determining the search weight of the mobile terminal on the plurality of networks in the position information based on the first connection time length and the second connection time length.
In this embodiment, after obtaining the first connection duration of the mobile terminal in the multiple networks of the first cell and the second connection duration of the mobile terminal in the multiple networks of the second cell, the search right of the mobile terminal for the multiple networks in the location information may be determined based on the first connection duration of the mobile terminal in the multiple networks of the first cell and the second connection duration of the mobile terminal in the multiple networks of the second cellAnd (4) heavy. In some embodiments, may be based onDetermining search weights of the mobile terminal for the plurality of networks at the location information, wherein w s Characterizing the search weight of the mobile terminal on the s network at the location information, t s The connection duration, Σ t, of the mobile terminal to the s network at the position information is represented i And representing the sum of the connection duration of the mobile terminal in the position information to the plurality of networks, namely the stay duration of the user corresponding to the mobile terminal in the position information.
Step S2042: and determining the network searching order of the mobile terminal on the plurality of networks in the position information based on the searching weight.
In some embodiments, after determining the search weights of the mobile terminal for the plurality of networks at the location information, the network search order of the mobile terminal for the plurality of networks at the location information may be determined based on the search weights of the mobile terminal for the plurality of networks at the location. In this embodiment, the network search order of the mobile terminal for the plurality of networks at the location information may be determined according to the order of the search weight from large to small. That is, the larger the search weight of the mobile terminal on the network at the location information is, the earlier the network search order of the mobile terminal on the network at the location information is, and the smaller the search weight of the mobile terminal on the network at the location information is, the later the network search order of the mobile terminal on the network at the location information is.
Step S205: and establishing a corresponding relation between the position information and the network searching sequence, and storing the corresponding relation as a preset mapping relation.
In some embodiments, after determining the location information and the network search order of the mobile terminal for multiple networks at the location information, the corresponding relationship between the location information and the network search order may be established, and after the establishment of the corresponding relationship between the location information and the network search order is completed, the corresponding relationship may be stored locally at the mobile terminal as the preset mapping relationship.
Step S206: and when the mobile terminal searches for the network after the network is disconnected, acquiring the base station information of the base station connected before the network is disconnected.
In some embodiments, when the mobile terminal performs network search after a network drop or a network disconnection, base station information of a base station to which the mobile terminal is connected before the network drop or the network disconnection may be acquired. In some embodiments, when the mobile terminal performs network search after a network is disconnected or disconnected, a moving distance of the mobile terminal after the network is disconnected or disconnected can be detected, and whether the moving distance is greater than a distance threshold or not can be judged, wherein when a judgment result indicates that the moving distance is greater than the distance threshold, current position information of the mobile terminal can be acquired through a GPS, a BDS and the like; and when the judgment result represents that the moving distance is not greater than the distance threshold, the base station information of the base station connected with the mobile terminal in a network dropping or network money breaking way can be acquired.
Step S207: and acquiring the current position information of the mobile terminal based on the base station information.
In some embodiments, after obtaining base station information of a base station to which the mobile terminal is connected before a network disconnection or network drop, current location information of the mobile terminal may be obtained by calculation based on the base station information.
Step S208: and acquiring a network searching order corresponding to the current position information as a current network searching order according to a preset mapping relation, wherein the preset mapping relation comprises corresponding relations of a plurality of position information and a plurality of network searching orders.
Step S209: and controlling the mobile terminal to search a plurality of networks according to the current network searching sequence.
For the detailed description of step S208 to step S209, refer to step S102 to step S103, which are not described herein again.
Step S210: and when the preset mapping relation does not comprise a network searching sequence corresponding to the current position information, controlling the mobile terminal to search a plurality of networks according to a default network searching sequence.
In some embodiments, when the preset mapping relationship does not include a network search order corresponding to the current location information, for example, when a plurality of location information in the preset mapping relationship does not include location information matching the current location information of the mobile terminal, it may be determined that the preset mapping relationship does not include a network search order corresponding to the current location information, and the mobile terminal may be controlled to perform network search on a plurality of networks according to a default network search order, for example, the mobile terminal is controlled to perform network search according to a network search order of 5G- >4G- >3G- >2G.
Step S211: obtaining a target network searched from the plurality of networks based on the default network search order.
In some embodiments, after controlling the mobile terminal to perform network search on the plurality of networks in the default network search order, a target network searched from the plurality of networks in the default network search order may be acquired. For example, if the mobile terminal is controlled to perform network search according to the network search sequence of 5G- >4G- >3G- >2G, the mobile terminal may be controlled to perform search of the 5G network first, when the search of the 5G network is successful, the 5G network may be determined as the target network, when the search of the 5G network is failed, the mobile terminal may be controlled to perform search of the 4G network, when the search of the 4G network is successful, the 4G network may be determined as the target network, when the search of the 4G network is failed, the mobile terminal may be controlled to perform search of the 3G network, when the search of the 3G network is successful, the 3G network may be determined as the target network, when the search of the 3G network is failed, the mobile terminal may be controlled to perform search of the 2G network, and when the search of the 2G network is successful, the 2G network may be determined as the target network.
Step S212: and generating a target network searching order based on the target network and other networks except the target network in the plurality of networks, wherein in the target network searching order, the target network is arranged at the head of the plurality of networks, and the other networks are sequentially arranged behind the target network according to a default order.
In some embodiments, when searching for a target network from a plurality of networks, the mobile terminal may establish a connection with the target network and generate a target network search order based on the target network and other networks of the plurality of networks except the target network, wherein in the generated target network search order, the searched target network may be arranged at the head of the plurality of networks, and the other networks except the target network are arranged in a default order. For example, the default ordering is 5G- >4G- >3G- >2G, and when a 4G network of the 5G network, the 4G network, the 3G network, and the 2G network is determined to be the target network, then the generated target network search order may be 4G- >5G- >3G- >2G.
Step S213: and establishing a mapping relation between the current position information and the target network searching sequence.
In some embodiments, after determining the current location information and the target network search order of the mobile terminal for multiple networks in the current location information, a corresponding relationship between the current location information and the target network search order may be established, and after the establishment of the corresponding relationship between the current location information and the target network search order is completed, the corresponding relationship is stored locally at the mobile terminal as a preset mapping relationship, so as to continuously enrich and improve the preset mapping relationship.
A network search control method according to still another embodiment of the present application obtains a first cell accessed by a mobile terminal, and obtains first connection durations of multiple networks of the mobile terminal in the first cell, respectively, obtains a neighboring cell of the first cell as a second cell, and obtains second connection durations of the multiple networks of the mobile terminal in the second cell, respectively, determines location information of the mobile terminal based on the first cell and the second cell, determines a network search order of the mobile terminal for the multiple networks at the location information based on the first connection duration and the second connection duration, establishes a corresponding relationship between the location information and the network search order, and stores the corresponding relationship as a preset mapping relationship. When the mobile terminal searches for the network after the network is disconnected, acquiring base station information of a base station connected before the mobile terminal is disconnected, acquiring current position information of the mobile terminal based on the base station information, acquiring a network searching sequence corresponding to the current position information as a current network searching sequence according to a preset mapping relation, and controlling the mobile terminal to search for the network of a plurality of networks according to the current network searching sequence. And when the preset relation does not include a network searching order corresponding to the current position information, controlling the mobile terminal to search the networks according to the default network searching order, acquiring a target network searched from the networks based on the default network searching order, generating a target network searching order based on the target network and other networks except the target network in the networks, and establishing a mapping relation between the current position information and the target network order. Compared with the network search control method shown in fig. 2, in this embodiment, the network search order of the mobile terminal at different positions is determined and the corresponding relationship is established according to the connection duration of the mobile terminal in multiple networks of different cells, so as to obtain the preset mapping relationship, and improve the accuracy of the preset mapping relationship. In addition, in this embodiment, when the preset mapping relationship does not include the network search order corresponding to the current location information, the corresponding relationship between the current location information and the target network search order is established and stored as the preset mapping relationship, so as to enrich and perfect the preset mapping relationship.
Referring to fig. 5, fig. 5 is a block diagram illustrating a network search control apparatus 200 according to an embodiment of the present disclosure. The network search control device 200 is applied to the mobile terminal, and will be explained with reference to a block diagram shown in fig. 5, where the network search control device 200 includes: a current location information obtaining module 210, a current network search order obtaining module 220, and a network search control module 230, wherein:
a current location information obtaining module 210, configured to obtain current location information of the mobile terminal when the mobile terminal performs network search.
Further, the current position obtaining module 210 includes: a base station information obtaining submodule and a first current position information obtaining submodule, wherein:
and the base station information acquisition submodule is used for acquiring the base station information of the base station connected before the mobile terminal is disconnected when the mobile terminal is disconnected from the network and then carries out network search.
And the first current position information acquisition submodule is used for acquiring the current position information of the mobile terminal based on the base station information.
Further, the current position obtaining module 210 includes: a second current position information acquisition sub-module, wherein:
and the second current position information acquisition submodule is used for acquiring the current position information of the mobile terminal when the mobile terminal carries out network search and the 5G network connection function of the mobile terminal is started.
A current network search order obtaining module 220, configured to obtain, according to a preset mapping relationship, a network search order corresponding to the current location information as a current network search order, where the preset mapping relationship includes a correspondence between multiple location information and multiple network search orders.
Further, the current network search order obtaining module 220 includes: a current network search order acquisition sub-module, wherein:
and the current network searching order obtaining sub-module is used for obtaining the network searching order corresponding to the current position information as the current network searching order according to the preset mapping relation when the current position information is in a preset range, wherein the preset range is covered by a 5G network.
A network search control module 230, configured to control the mobile terminal to perform network search on multiple networks according to the current network search order.
Further, the network search control apparatus 200 further includes: the system comprises a search control module, a target network acquisition module, a target network search order generation module and a mapping relation establishment module, wherein:
and the search control module is used for controlling the mobile terminal to search the networks according to a default network search order when the preset mapping relation does not include the network search order corresponding to the current position information.
A target network obtaining module, configured to obtain a target network searched from the multiple networks based on the default network search order.
And the target network searching order generating module is used for generating a target network searching order based on the target network and other networks except the target network in the plurality of networks, wherein in the target network searching order, the target network is arranged at the head of the plurality of networks, and the other networks are sequentially arranged behind the target network according to a default sequence.
And the mapping relation establishing module is used for establishing the mapping relation between the current position information and the target network searching sequence.
Further, the network search control apparatus 200 further includes: the device comprises a first connection duration acquisition module, a second connection duration acquisition module, a position information determination module, a network search order determination module and a corresponding relation storage module, wherein:
the first connection duration acquisition module is configured to acquire a first cell to which the mobile terminal accesses, and respectively acquire first connection durations of the mobile terminal in multiple networks of the first cell.
And a second connection duration obtaining module, configured to obtain a neighboring cell of the first cell as a second cell, and obtain second connection durations of multiple networks of the mobile terminal in the second cell, respectively.
A location information determining module, configured to determine location information of the mobile terminal based on the first cell and the second cell.
And the network searching sequence determining module is used for determining the network searching sequence of the mobile terminal on the plurality of networks in the position information based on the first connection time length and the second connection time length.
Further, the network search order determination module includes: a search weight determination sub-module and a network search order determination sub-module, wherein:
and the search weight determining submodule is used for determining the search weight of the mobile terminal on the plurality of networks in the position information based on the first connection time length and the second connection time length.
And the network searching order determining submodule is used for determining the network searching order of the mobile terminal on the plurality of networks in the position information based on the searching weight.
And the corresponding relation storage module is used for establishing the corresponding relation between the position information and the network searching sequence and storing the corresponding relation as a preset mapping relation.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In several embodiments provided in the present application, the coupling of the modules to each other may be electrical, mechanical or other forms of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 6, a block diagram of a mobile terminal 100 according to an embodiment of the present disclosure is shown. The mobile terminal 100 may be a smart phone, a tablet computer, an electronic book, or other mobile terminal capable of running an application. The mobile terminal 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the mobile terminal 100 in use, such as a phonebook, audio-video data, chat log data, and the like.
Referring to fig. 7, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 300 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 300 includes a non-volatile computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. Program code 310 may be compressed, for example, in a suitable form.
To sum up, according to the network search control method, the network search control apparatus, the mobile terminal, and the storage medium provided in the embodiments of the present application, when the mobile terminal performs network search, current location information of the mobile terminal is obtained, and a network search order corresponding to the current location information is obtained as a current network search order according to a preset mapping relationship, where the preset mapping relationship includes correspondence between a plurality of location information and a plurality of network search orders, and the mobile terminal is controlled to perform network search on a plurality of networks according to the current network search order, so that by establishing the mapping relationship between the location information and the network search order, the network search is performed according to the network search order corresponding to the location information, and a network search speed can be increased to reduce power consumption of the mobile terminal.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (9)
1. A network search control method is applied to a mobile terminal, and comprises the following steps:
when the mobile terminal carries out network search after network disconnection or network disconnection, detecting the moving distance of the mobile terminal after the network disconnection or network disconnection;
if the moving distance is larger than a distance threshold, acquiring current position information of the mobile terminal through a positioning system;
if the moving distance is not greater than the distance threshold, acquiring base station information of a base station connected before the mobile terminal is disconnected from the network or the network is disconnected, and acquiring current position information of the mobile terminal based on the base station information;
acquiring a network search order corresponding to the current position information as a current network search order according to a preset mapping relationship, wherein the preset mapping relationship comprises a corresponding relationship between a plurality of position information and a plurality of network search orders, the plurality of network search orders are positively correlated with connection duration of a plurality of networks, the position information is unique position information established based on a first cell and a second cell, the first cell is a cell corresponding to the base station information connected by the mobile terminal before network drop or network break, and the second cell is a neighboring cell of the first cell;
and controlling the mobile terminal to search the networks according to the current network searching sequence.
2. The method of claim 1, further comprising:
when the preset mapping relation does not include a network searching sequence corresponding to the current position information, controlling the mobile terminal to search a plurality of networks according to a default network searching sequence;
obtaining a target network searched from the plurality of networks based on the default network search order;
generating a target network search order based on the target network and other networks except the target network in the plurality of networks, wherein in the target network search order, the target network is arranged at the head of the plurality of networks, and the other networks are arranged behind the target network in sequence according to a default order;
and establishing a mapping relation between the current position information and the target network searching sequence.
3. The method according to claim 1, further comprising, before obtaining the current location information of the mobile terminal:
acquiring a first cell accessed by the mobile terminal, and respectively acquiring first connection duration of the mobile terminal in a plurality of networks of the first cell;
acquiring a neighboring cell of the first cell as a second cell, and respectively acquiring second connection durations of the mobile terminal in a plurality of networks of the second cell;
determining location information of the mobile terminal based on the first cell and the second cell;
determining a network searching order of the mobile terminal on the plurality of networks in the position information based on the first connection duration and the second connection duration;
and establishing a corresponding relation between the position information and the network searching sequence, and storing the corresponding relation as a preset mapping relation.
4. The method according to claim 3, wherein the determining the network search order of the mobile terminal for the plurality of networks at the location information based on the first connection duration and the second connection duration comprises:
determining the search weight of the mobile terminal on the plurality of networks in the position information based on the first connection duration and the second connection duration;
and determining a network searching order of the mobile terminal on the plurality of networks in the position information based on the searching weight.
5. The method according to any one of claims 1 to 4, wherein the obtaining, according to a preset mapping relationship, a network search order corresponding to the current location information as a current network search order comprises:
and when the current position information is in a preset range, acquiring a network searching order corresponding to the current position information as a current network searching order according to the preset mapping relation, wherein the preset range is covered by a 5G network.
6. The method according to any of claims 1-4, wherein the obtaining the current location information of the mobile terminal when the mobile terminal performs the network search comprises:
and when the mobile terminal carries out network search and the 5G network connection function of the mobile terminal is started, acquiring the current position information of the mobile terminal.
7. A network search control apparatus, applied to a mobile terminal, the apparatus comprising:
the current position information acquisition module is used for detecting the moving distance of the mobile terminal after the network is disconnected or disconnected when the mobile terminal carries out network search after the network is disconnected or disconnected; if the moving distance is larger than a distance threshold value, acquiring current position information of the mobile terminal through a positioning system; if the moving distance is not greater than the distance threshold, acquiring base station information of a base station connected before the mobile terminal is disconnected from the network or the network, and acquiring current position information of the mobile terminal based on the base station information;
a current network search order obtaining module, configured to obtain, according to a preset mapping relationship, a network search order corresponding to the current location information as a current network search order, where the preset mapping relationship includes a corresponding relationship between multiple location information and multiple network search orders, the multiple network search orders are positively correlated with connection durations of multiple networks, the location information is unique location information established based on a first cell and a second cell, the first cell is a cell corresponding to the base station information to which the mobile terminal is connected before a network drop or a network disconnection, and the second cell is a neighboring cell of the first cell;
and the network search control module is used for controlling the mobile terminal to search the networks according to the current network search sequence.
8. A mobile terminal comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-6.
9. A computer-readable storage medium, characterized in that a program code is stored in the computer-readable storage medium, which program code can be called by a processor to execute the method according to any of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911357785.7A CN113038573B (en) | 2019-12-25 | 2019-12-25 | Network search control method, device, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911357785.7A CN113038573B (en) | 2019-12-25 | 2019-12-25 | Network search control method, device, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113038573A CN113038573A (en) | 2021-06-25 |
CN113038573B true CN113038573B (en) | 2023-01-06 |
Family
ID=76458255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911357785.7A Active CN113038573B (en) | 2019-12-25 | 2019-12-25 | Network search control method, device, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113038573B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1045609A1 (en) * | 1999-04-16 | 2000-10-18 | Nokia Networks Oy | Location dependent sevices in mobile communications system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104902457B (en) * | 2015-04-30 | 2017-07-18 | 广东欧珀移动通信有限公司 | A kind of method for network access and mobile communication terminal |
CN106413041A (en) * | 2015-07-31 | 2017-02-15 | 展讯通信(上海)有限公司 | Mobile terminal cell dwelling method and apparatus |
CN106102130B (en) * | 2016-06-07 | 2019-10-22 | 华为技术有限公司 | Search for network method and wireless terminal |
CN106714251B (en) * | 2017-01-24 | 2019-04-12 | 维沃移动通信有限公司 | A kind of method for connecting network and mobile terminal |
-
2019
- 2019-12-25 CN CN201911357785.7A patent/CN113038573B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1045609A1 (en) * | 1999-04-16 | 2000-10-18 | Nokia Networks Oy | Location dependent sevices in mobile communications system |
Also Published As
Publication number | Publication date |
---|---|
CN113038573A (en) | 2021-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111050378B (en) | Network searching method and device and electronic equipment | |
CN106888495B (en) | Network access method and terminal | |
CN107222914B (en) | Application control method and related product | |
CN111328082B (en) | Base station planning method, device, equipment and storage medium | |
CN106454968B (en) | A kind of caller method and device based on CSFB | |
CN112752316A (en) | Electronic equipment networking control method and device, electronic equipment and storage medium | |
CN115600002A (en) | Personalized recommendation method and system and electronic equipment | |
CN111050398B (en) | Paging method, paging device, paging equipment and storage medium | |
CN113038573B (en) | Network search control method, device, mobile terminal and storage medium | |
CN110797014A (en) | Voice recognition method and device and computer storage medium | |
CN111343703A (en) | Transmission power control method, device, mobile terminal and storage medium | |
CN113194521B (en) | Network searching method and device for 5G communication module, computer equipment and storage medium | |
CN115422203A (en) | Data management method, device, equipment and medium for block chain distributed system | |
CN106899733B (en) | Intelligent terminal and system address book telephone number processing method and device | |
CN112866983B (en) | Control method, control device and electronic equipment | |
EP3883300B1 (en) | Wi-fi network processing method and apparatus, electronic device and storage medium | |
CN110913346B (en) | SIM card configuration method, terminal and storage medium | |
CN110989819B (en) | Doze mode control method, device, mobile terminal and storage medium | |
CN108668341B (en) | Antenna control method and related product | |
CN101951699A (en) | Method and system for matching network for multi-mode terminal and multi-mode terminal | |
CN116761230B (en) | Equipment network access method and device, electronic equipment and computer readable storage medium | |
CN112770372B (en) | Method, device, equipment and storage medium for scanning wireless access point | |
CN113068245B (en) | Multi-antenna network searching method and device, storage medium and electronic equipment | |
CN113329476B (en) | Network searching method, terminal and storage medium | |
CN112333688B (en) | Determination method and device |
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 |