CN111050389B - Network searching method, mobile terminal and computer readable storage medium - Google Patents
Network searching method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN111050389B CN111050389B CN201911277699.5A CN201911277699A CN111050389B CN 111050389 B CN111050389 B CN 111050389B CN 201911277699 A CN201911277699 A CN 201911277699A CN 111050389 B CN111050389 B CN 111050389B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- network
- network searching
- searching
- electric quantity
- 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
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000012544 monitoring process Methods 0.000 claims abstract description 13
- 238000004590 computer program Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 claims description 8
- 230000008859 change Effects 0.000 claims description 6
- 238000004891 communication Methods 0.000 abstract description 4
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- 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/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
-
- 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/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0287—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level changing the clock frequency of a controller in the equipment
-
- 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)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a network searching method, a mobile terminal and a computer readable storage medium, and relates to the technical field of communication. The method comprises the following steps: when the network of the mobile terminal is interrupted or the network signal is lower than a preset threshold value, monitoring the electric quantity information of the mobile terminal in real time; dynamically adjusting a network searching strategy of the mobile terminal according to the electric quantity information of the mobile terminal, and executing network searching according to the adjusted network searching strategy; the network searching strategy comprises a time interval of network searching and a number of network searching, wherein the time interval of network searching is inversely related to the electric quantity information, and the number of network searching is positively related to the electric quantity information. The embodiment of the invention can save network searching power consumption and prolong the endurance time of the battery of the mobile terminal.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a network searching method, a mobile terminal and a computer readable storage medium.
Background
With the development of the mobile internet, the types of application programs and sensor devices on the mobile terminal are more and more, so that the power consumption of the mobile terminal is also more and more, and due to the continuous development of the manufacturing process, the volume of the mobile terminal is becoming smaller and thinner, so that the battery capacity is also becoming smaller and smaller, and therefore, how to effectively improve the endurance time of the mobile terminal and save the energy consumption of the mobile terminal are becoming a challenge for the mobile terminal gradually.
Network searching, which is one of the most basic services of a mobile terminal, occupies a great deal of resources and power consumption. At present, when the mobile terminal is in a weak signal or no service state, the mobile terminal can frequently perform network searching operation according to a fixed frequency, however, in some special application scenarios, the network is frequently searched, so that the purpose of normally connecting the network cannot be achieved, the electric quantity of the mobile terminal is wasted, and the duration time in movement is shortened.
Disclosure of Invention
Accordingly, an objective of the embodiments of the present invention is to provide a network searching method, a mobile terminal and a computer readable storage medium, so as to solve the problems that the network is frequently searched for, which not only can not achieve the purpose of normally connecting to the network, but also can waste the electric quantity of the mobile terminal and shorten the duration time during movement under some special application scenarios.
The technical scheme adopted by the invention for solving the technical problems is as follows:
according to a first aspect of an embodiment of the present invention, there is provided a network searching method applied to a mobile terminal, the network searching method including:
when the network of the mobile terminal is interrupted or the network signal is lower than a preset threshold value, monitoring the electric quantity information of the mobile terminal in real time;
dynamically adjusting a network searching strategy of the mobile terminal according to the electric quantity information of the mobile terminal, and executing network searching according to the adjusted network searching strategy;
the network searching strategy comprises a time interval of network searching and a number of network searching, wherein the time interval of network searching is inversely related to the electric quantity information, and the number of network searching is positively related to the electric quantity information.
Wherein, before the monitoring of the electric quantity information of the mobile terminal in real time, the method further comprises:
monitoring whether the current position of the mobile terminal changes relative to the position of the mobile terminal when the mobile terminal is registered for the first time;
determining a network searching strategy of the mobile terminal according to whether the current position of the mobile terminal changes relative to the position of the mobile terminal when the mobile terminal is registered for the first time; the network searching strategies comprise a full network segment searching strategy and a historical frequency point network searching strategy.
Wherein monitoring whether the current position of the mobile terminal changes relative to the position of the mobile terminal when the mobile terminal is registered for the first time comprises:
in the first network registration process of the mobile terminal, recording the searched cell frequency point IDs and the number of the cell frequency points; recording the searched cell frequency point ID and the number of the cell frequency points in the process of searching the network again under the condition that the network of the mobile terminal is interrupted or the network signal is lower than a preset threshold value;
comparing the cell frequency point ID and the cell frequency point number recorded twice, and if the cell frequency point ID and the cell frequency point number recorded twice change beyond a preset change range, indicating that the current position of the mobile terminal is changed relative to the position of the mobile terminal when the mobile terminal is registered for the first time.
The method for determining the network searching strategy of the mobile terminal according to whether the current position of the mobile terminal changes relative to the position of the mobile terminal when the mobile terminal is registered for the first time comprises the following steps:
if the current position of the mobile terminal changes relative to the position where the mobile terminal is registered for the first time, adopting a historical frequency point network searching strategy;
and if the current position of the mobile terminal is unchanged relative to the position where the first network registration of the mobile terminal is located, adopting a full-frequency-band network searching strategy.
When the network of the mobile terminal is interrupted or the network signal is lower than a preset threshold value, the method further comprises the following steps of:
configuring a corresponding relation between the electric quantity information of the mobile terminal and the time interval of network searching and the number of network searching times in the full-band network searching strategy; and/or the number of the groups of groups,
and configuring the corresponding relation between the electric quantity information of the mobile terminal and the time interval of network searching and the number of network searching times in the history frequency point network searching strategy.
Wherein the configuring the corresponding relation between the electric quantity information of the mobile terminal and the time interval of network searching and the number of network searching in the full-band network searching strategy comprises the following steps of
Setting the electric quantity of the mobile terminal battery to a plurality of intervals { A1, A2, & gt, an }, and setting corresponding network search time intervals { P) for the electric quantity intervals { A1, A2, A3, & gt, an }, respectively t1 、P t2 、......、P tn The number of corresponding network searches { M1, M2, &..once., mn }; wherein A1>A2......>An,P t1 <P t2 <......<P tn ,M1>M2>......>Mn; n is a positive integer greater than or equal to 2;
and/or, the corresponding relation between the electric quantity information of the mobile terminal and the time interval of network searching and the number of network searching times in the configuration history frequency point network searching strategy comprises the following steps:
the mobile terminalThe electric quantity of the end battery is set to a plurality of intervals { A1, A2, & gt, an }, and corresponding network search time intervals { Q } are set for the electric quantity intervals { A1, A2, A3, & gt, an }, respectively t1 、Q t2 、......、Q tn The number of corresponding network searches { N1, N2, &..once., nn }; wherein A1>A2......>An,Q t1 <Q t2 <......<Q tn ,N1>N2>......>Nn; n is a positive integer greater than or equal to 2.
Wherein n is equal to 5, { A1, A2,..once., A5} the interval threshold ranges are: a1 = [80%,100 ]]A2= [60%, 80%), a3= [40%, 60%), a4= [20%, 40%), a5= [0%, 20%); and Q is t5 <P t1 。
Wherein the dynamically adjusting the network searching policy of the mobile terminal according to the electric quantity information of the mobile terminal, and executing the network searching according to the adjusted network searching policy comprises:
according to the electric quantity information of the mobile terminal and the corresponding relation between the electric quantity information of the mobile terminal and the time interval and the network searching times of the network searching in the pre-configured full-frequency-band network searching strategy, dynamically adjusting the network searching strategy of the mobile terminal, and executing the network searching according to the adjusted network searching strategy; or,
and dynamically adjusting the network searching strategy of the mobile terminal according to the electric quantity information of the mobile terminal and the corresponding relation between the electric quantity information of the mobile terminal and the time interval and the network searching times of network searching in the preconfigured historical frequency point network searching strategy, and executing network searching according to the adjusted network searching strategy.
According to a second aspect of an embodiment of the present invention, there is provided a mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program implementing the steps of the network searching method according to any one of the first aspects above when being executed by the processor.
According to a third aspect of embodiments of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the network searching method according to any of the first aspects described above.
According to the network searching method, the mobile terminal and the computer readable storage medium provided by the embodiment of the invention, when the network of the mobile terminal is interrupted or the network signal is lower than the preset threshold value, the electric quantity information of the mobile terminal is monitored in real time, then the network searching strategy of the mobile terminal is dynamically adjusted according to the electric quantity information of the mobile terminal, and the network searching is executed according to the adjusted network searching strategy; the network searching strategy comprises a time interval of network searching and a network searching frequency, wherein the time interval of network searching is inversely related to the electric quantity information, and the network searching frequency is positively related to the electric quantity information, so that when the electric quantity of a mobile terminal battery is low, the time interval of network searching is increased, the network searching frequency is reduced, and the purposes of saving the battery power consumption of the mobile terminal and prolonging the endurance time of the mobile terminal battery are achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flowchart of a specific implementation of a network searching method according to a first embodiment of the present invention;
fig. 2 is a schematic flowchart of a specific implementation of a network searching method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a mobile terminal according to a third embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects to be solved more clear and obvious, the invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the particular embodiments described herein are illustrative only and are not limiting upon the invention.
Example 1
Fig. 1 is a schematic flow chart of a specific implementation of a network searching method according to an embodiment of the present invention, where an execution body of the method is a mobile terminal. Referring to fig. 1, the network searching method provided in this embodiment may include the following steps:
step S101, when the network of the mobile terminal is interrupted or the network signal is lower than a preset threshold, the electric quantity information of the mobile terminal is monitored in real time.
In this embodiment, after the mobile terminal successfully registers to the network, if the network environment changes, and the mobile terminal drops off the network or the network signal is reduced below a preset threshold, the mobile terminal is triggered to read the electric quantity information of the battery according to the preset frequency, so as to dynamically adjust the network searching policy according to the electric quantity information of the battery.
Step S102, dynamically adjusting a network searching strategy of the mobile terminal according to the electric quantity information of the mobile terminal, and executing network searching according to the adjusted network searching strategy;
the network searching strategy comprises a time interval of network searching and a number of network searching, wherein the time interval of network searching is inversely related to the electric quantity information, and the number of network searching is positively related to the electric quantity information.
In this embodiment, before step S102, the method further includes:
the corresponding relation between the mobile terminal electric quantity and the time interval of network searching and the network searching times in the network searching strategy are pre-configured, wherein the time interval of network searching is increased along with the reduction of the mobile terminal electric quantity, and the network searching times are reduced along with the reduction of the mobile terminal electric quantity.
For example, in a specific implementation example, the mobile terminal power may be divided into several intervals { A1, A2, &..Setting a corresponding network search time interval { P } for the power intervals { A1, A2, A3, &.. t1 、P t2 、......、P tn The number of corresponding network searches { M1, M2, &..once., mn }; wherein A1>A2......>An,P t1 <P t2 <......<P tn ,M1>M2>......>Mn; n is a positive integer greater than or equal to 2.
Wherein the dynamically adjusting the network searching policy of the mobile terminal according to the electric quantity information of the mobile terminal comprises:
and dynamically adjusting the network searching strategy of the mobile terminal according to the electric quantity information of the mobile terminal and the corresponding relation between the electric quantity of the mobile terminal and the time interval of network searching and the number of network searching times in the pre-configured network searching strategy.
For example, in a specific implementation example, if it is detected that the current power of the mobile terminal is within the range of the interval A1, the time interval of the network search in the network search policy of the mobile terminal is set to P t1 Setting the searching times in the network searching strategy as M1; when detecting that the current electric quantity of the mobile terminal is reduced from the interval A1 to the interval A2 or the network searching times in the interval A1 reach M1, updating the network searching time interval in the network searching strategy of the mobile terminal to P t2 Updating the searching times in the network searching strategy to M2; and so on, when detecting that the current electric quantity of the mobile terminal is reduced to the interval An or the network searching times in the interval An-1 reach Mn-1, updating the network searching time interval in the network searching strategy of the mobile terminal to P tn And updating the searching times in the network searching strategy to Mn.
As can be seen from the above, in the network searching method provided in this embodiment, when the network of the mobile terminal is interrupted or the network signal is lower than the preset threshold, the electric quantity information of the mobile terminal is monitored in real time, then the network searching policy of the mobile terminal is dynamically adjusted according to the electric quantity information of the mobile terminal, and the network searching is executed according to the adjusted network searching policy; the network searching strategy comprises a time interval of network searching and a network searching frequency, wherein the time interval of network searching is inversely related to the electric quantity information, and the network searching frequency is positively related to the electric quantity information, so that when the electric quantity of a mobile terminal battery is low, the time interval of network searching is increased, the network searching frequency is reduced, and the purposes of saving the battery power consumption of the mobile terminal and prolonging the endurance time of the mobile terminal battery are achieved.
Example two
Fig. 2 is a schematic flow chart of a specific implementation of a network searching method according to a second embodiment of the present invention, where an execution body of the method is a mobile terminal. Referring to fig. 2, the network searching method provided in this embodiment includes:
step S201, when the network of the mobile terminal is interrupted or the network signal is lower than a preset threshold, monitoring whether the current location of the mobile terminal changes relative to the location of the mobile terminal when the mobile terminal is first network registered.
Wherein monitoring whether the current position of the mobile terminal changes relative to the position of the mobile terminal when the mobile terminal is registered for the first time comprises:
in the first network registration process of the mobile terminal, recording the searched cell frequency point IDs and the number of the cell frequency points; recording the searched cell frequency point ID and the number of the cell frequency points in the process of searching the network again under the condition that the network of the mobile terminal is interrupted or the network signal is lower than a preset threshold value;
comparing the cell frequency point ID and the cell frequency point number recorded twice, and if the cell frequency point ID and the cell frequency point number recorded twice change beyond a preset change range, indicating that the current position of the mobile terminal is changed relative to the position of the mobile terminal when the mobile terminal is registered for the first time.
In one specific implementation example, for example, during the first network registration of the mobile terminal, recording the searched cell frequency point ID and the number of cell frequency points as la= { LA1, LA2, &..lanum }; in the course of searching for a network again in case the network terminal or network signal of the mobile terminal is below a preset threshold,the searched cell frequency point ID and number of cell frequency points are recorded as lb= { LB1, LB2, &..once, LBnum }, ifThe position of the mobile terminal is changed relative to the position of the mobile terminal when the mobile terminal is registered for the first time; otherwise, the position of the mobile terminal is unchanged relative to the position of the first network registration.
Step S202, determining a network searching strategy of the mobile terminal according to whether the current position of the mobile terminal changes relative to the position of the mobile terminal when the mobile terminal is registered for the first time; the network searching strategies comprise a full network segment searching strategy and a historical frequency point network searching strategy.
The mobile terminal searches all network frequency points in the full network segment searching strategy, and the searching times of all the frequency points are ordered according to the frequency sequence of the frequency points; in the history frequency point network searching strategy, the mobile terminal can preferentially search the network frequency points which are registered by the mobile terminal in a history mode, and search other network frequency points when none of the network frequency points which are registered by the mobile terminal in the history mode are searched.
In this embodiment, when the mobile terminal registers a network for the first time, network searching is performed according to a full-band network searching policy, and then when the service-free state or the network signal is lower than a preset threshold, the network searching policy of the mobile terminal is determined according to whether the current location of the mobile terminal changes relative to the first network registration location of the mobile terminal. Further, the determining the network searching policy of the mobile terminal according to whether the current location of the mobile terminal changes relative to the location of the mobile terminal when the mobile terminal is first network registered includes:
if the current position of the mobile terminal changes relative to the position where the mobile terminal is registered for the first time, adopting a historical frequency point network searching strategy;
and if the current position of the mobile terminal is unchanged relative to the position where the first network registration of the mobile terminal is located, adopting a full-frequency-band network searching strategy.
In this embodiment, when the current location of the mobile terminal changes relative to the location of the first network registration of the mobile terminal during the network registration of the non-first time, the history frequency point network searching policy is adopted to search the history registration network frequency point preferentially, so that the network connection efficiency can be improved, and the electric quantity of the battery of the mobile terminal can be further saved.
Step S203, monitoring the electric quantity information of the mobile terminal in real time, dynamically adjusting the network searching strategy of the mobile terminal according to the electric quantity information of the mobile terminal, and executing network searching according to the adjusted network searching strategy;
the network searching strategy comprises a time interval of network searching and a number of network searching, wherein the time interval of network searching is inversely related to the electric quantity information, and the number of network searching is positively related to the electric quantity information.
Preferably, in this embodiment, before step S203, the method further includes:
configuring a corresponding relation between the electric quantity information of the mobile terminal and the time interval of network searching and the number of network searching times in the full-band network searching strategy; and/or the number of the groups of groups,
and configuring the corresponding relation between the electric quantity information of the mobile terminal and the time interval of network searching and the number of network searching times in the history frequency point network searching strategy.
Wherein the configuring the corresponding relation between the electric quantity information of the mobile terminal and the time interval of network searching and the number of network searching in the full-band network searching strategy comprises the following steps of
Setting the electric quantity of the mobile terminal battery to a plurality of intervals { A1, A2, & gt, an }, and setting corresponding network search time intervals { P) for the electric quantity intervals { A1, A2, A3, & gt, an }, respectively t1 、P t2 、......、P tn The number of corresponding network searches { M1, M2, &..once., mn }; wherein A1>A2......>An,P t1 <P t2 <......<P tn ,M1>M2>......>Mn; n is a positive integer greater than or equal to 2.
The corresponding relation between the electric quantity information of the mobile terminal and the time interval of network searching and the number of network searching times in the configuration history frequency point network searching strategy comprises the following steps:
setting the electric quantity of the mobile terminal battery to a plurality of intervals { A1, A2, & gt, an }, and setting corresponding network search time intervals { Q for the electric quantity intervals { A1, A2, A3, & gt, an }, respectively t1 、Q t2 、......、Q tn The number of corresponding network searches { N1, N2, &..once., nn }; wherein A1>A2......>An,Q t1 <Q t2 <......<Q tn ,N1>N2>......>Nn; n is a positive integer greater than or equal to 2.
Further, in this embodiment, dynamically adjusting the network searching policy of the mobile terminal according to the power information of the mobile terminal, and executing the network searching according to the adjusted network searching policy includes:
according to the electric quantity information of the mobile terminal and the corresponding relation between the electric quantity information of the mobile terminal and the time interval and the network searching times of the network searching in the pre-configured full-frequency-band network searching strategy, dynamically adjusting the network searching strategy of the mobile terminal, and executing the network searching according to the adjusted network searching strategy; or,
and dynamically adjusting the network searching strategy of the mobile terminal according to the electric quantity information of the mobile terminal and the corresponding relation between the electric quantity information of the mobile terminal and the time interval and the network searching times of network searching in the preconfigured historical frequency point network searching strategy, and executing network searching according to the adjusted network searching strategy.
For example, in a specific implementation example, if the network search policy selected in step S202 is the historical frequency point network search policy, if it is detected that the current power of the mobile terminal is within the interval A1, the network search time interval in the network search policy is set to Q t1 Setting the searching times in the network searching strategy as N1; when detecting that the current electric quantity of the mobile terminal is reduced from the interval A1 to the intervalWhen A2 or the number of network searching times in the interval A1 reaches N1, updating the network searching time interval in the network searching strategy of the mobile terminal to Q t2 Updating the searching times in the network searching strategy to N2; and so on, when detecting that the current electric quantity of the mobile terminal is reduced to An interval An or the network searching times in the interval An-1 reach Nn-1, updating the network searching time interval in the network searching strategy of the mobile terminal to Q tn And updating the searching times in the network searching strategy to be Nn.
In specific implementation, P tn And Q is equal to tn May be equal or unequal; similarly, mn and Nn may be equal or unequal. Preferably, in a preferred implementation example, P tn And Q is equal to tn Are not equal, and Mn and Nn are also not equal, and Q tn <P t1 。
Preferably, in a specific implementation example, n is equal to 5, { A1, a 2..the range of interval thresholds of A5}, respectively: a1 = [80%,100 ]]A2= [60%, 80%), a3= [40%, 60%), a4= [20%, 40%), a5= [0%, 20%); and Q is t5 <P t1 。
Compared with the previous embodiment, in the present embodiment, when the mobile terminal is in the no-service state or the network signal is lower than the preset threshold, whether the position of the mobile terminal is changed relative to the position of the mobile terminal when the mobile terminal registers the network for the first time is further determined, if so, the network searching is performed by adopting the historical frequency point network searching strategy, so that the successful efficiency of the network searching can be improved, the energy consumption of the battery of the mobile terminal is further saved, and the duration of the mobile terminal is prolonged.
Example III
Fig. 3 is a schematic structural diagram of a mobile terminal according to a third embodiment of the present invention. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 3, the mobile terminal 100 provided in this embodiment includes a memory 101, a processor 102, and a computer program 103 stored in the memory 101 and capable of running on the processor 102, where the computer program 103 implements the steps of the network searching method described in the first embodiment or the second embodiment when executed by the processor 102.
The mobile terminal in the embodiment of the present invention belongs to the same concept as the network searching method in the first embodiment and the second embodiment, and the specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are correspondingly applicable in the present embodiment, which is not repeated herein.
Example IV
An embodiment four of the present invention provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the network searching method described in the first embodiment or the second embodiment.
The computer readable storage medium of the embodiment of the present invention belongs to the same concept as the network searching method of the first embodiment and the second embodiment, and the specific implementation process is detailed in the method embodiment, and the technical features of the method embodiment are correspondingly applicable in the present embodiment, which is not repeated herein.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and thus do not limit the scope of the claims of the present invention. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the present invention shall fall within the scope of the appended claims.
Claims (8)
1. A network searching method applied to a mobile terminal, the network searching method comprising:
when the network of the mobile terminal is interrupted or the network signal is lower than a preset threshold value, monitoring the electric quantity information of the mobile terminal in real time;
dynamically adjusting a network searching strategy of the mobile terminal according to the electric quantity information of the mobile terminal, and executing network searching according to the adjusted network searching strategy;
the network searching strategy comprises a time interval of network searching and a number of network searching, wherein the time interval of network searching is inversely related to the electric quantity information, and the number of network searching is positively related to the electric quantity information;
the real-time monitoring of the electric quantity information of the mobile terminal also comprises the following steps:
monitoring whether the current position of the mobile terminal changes relative to the position of the mobile terminal when the mobile terminal is registered for the first time;
determining a network searching strategy of the mobile terminal according to whether the current position of the mobile terminal changes relative to the position of the mobile terminal when the mobile terminal is registered for the first time; the network searching strategies comprise a full network segment searching strategy and a historical frequency point network searching strategy;
wherein,,
in the full network segment searching strategy, the mobile terminal searches all network frequency points, and the searching times of all the frequency points are ordered according to the frequency order of the frequency points;
in the history frequency point network searching strategy, the mobile terminal preferentially searches the network frequency points which are registered by the mobile terminal in a history mode, and searches other network frequency points when none of the network frequency points which are registered in the history mode are searched;
when the mobile terminal registers a network for the first time, network searching is carried out according to a full-band network searching strategy, and then when no service state exists or a network signal is lower than a preset threshold value, the network searching strategy of the mobile terminal is determined according to whether the current position of the mobile terminal changes relative to the position of the mobile terminal when the mobile terminal registers the network for the first time;
the determining the network searching strategy of the mobile terminal according to whether the current position of the mobile terminal changes relative to the position of the mobile terminal when the mobile terminal is registered for the first time, comprises the following steps:
if the current position of the mobile terminal changes relative to the position where the mobile terminal is registered for the first time, adopting a historical frequency point network searching strategy;
and if the current position of the mobile terminal is unchanged relative to the position where the first network registration of the mobile terminal is located, adopting a full-frequency-band network searching strategy.
2. The network searching method of claim 1, wherein monitoring whether the current location of the mobile terminal changes relative to the location of the mobile terminal at the time of first network registration comprises:
in the first network registration process of the mobile terminal, recording the searched cell frequency point IDs and the number of the cell frequency points; recording the searched cell frequency point ID and the number of the cell frequency points in the process of searching the network again under the condition that the network of the mobile terminal is interrupted or the network signal is lower than a preset threshold value;
comparing the cell frequency point ID and the cell frequency point number recorded twice, and if the cell frequency point ID and the cell frequency point number recorded twice change beyond a preset change range, indicating that the current position of the mobile terminal is changed relative to the position of the mobile terminal when the mobile terminal is registered for the first time.
3. The network searching method of claim 1, wherein before monitoring the power information of the mobile terminal in real time when the network of the mobile terminal is interrupted or the network signal is lower than a preset threshold value, further comprising:
configuring a corresponding relation between the electric quantity information of the mobile terminal and the time interval of network searching and the number of network searching times in the full-band network searching strategy; and/or the number of the groups of groups,
and configuring the corresponding relation between the electric quantity information of the mobile terminal and the time interval of network searching and the number of network searching times in the history frequency point network searching strategy.
4. The network searching method of claim 3, wherein configuring the correspondence between the power information of the mobile terminal and the time interval and the number of network searches in the full-band network searching policy includes
Setting the electric quantity of the mobile terminal battery to a plurality of intervals { A1, A2, & gt, an }, and setting corresponding network search time intervals { P) for the electric quantity intervals { A1, A2, A3, & gt, an }, respectively t1 、P t2 、......、P tn The number of corresponding network searches { M1, M2, &..once., mn }; wherein A1>A2......>An,P t1 <P t2 <......<P tn ,M1>M2>......>Mn; n is a positive integer greater than or equal to 2;
and/or, the corresponding relation between the electric quantity information of the mobile terminal and the time interval of network searching and the number of network searching times in the configuration history frequency point network searching strategy comprises the following steps:
setting the electric quantity of the mobile terminal battery to a plurality of intervals { A1, A2, & gt, an }, and setting corresponding network search time intervals { Q for the electric quantity intervals { A1, A2, A3, & gt, an }, respectively t1 、Q t2 、......、Q tn The number of corresponding network searches { N1, N2, &..once., nn }; wherein A1>A2......>An,Q t1 <Q t2 <......<Q tn ,N1>N2>......>Nn; n is a positive integer greater than or equal to 2.
5. The network search method of claim 4, wherein n is equal to 5, { A1, A2,..once., A5} each have a range of interval thresholds: a1 = [80%,100 ]]A2= [60%, 80%), a3= [40%, 60%), a4= [20%, 40%), a5= [0%, 20%); and Q is t5 <P t1 。
6. The network searching method of claim 4, wherein dynamically adjusting the network searching policy of the mobile terminal according to the power information of the mobile terminal, and performing the network searching according to the adjusted network searching policy comprises:
according to the electric quantity information of the mobile terminal and the corresponding relation between the electric quantity information of the mobile terminal and the time interval and the network searching times of the network searching in the pre-configured full-frequency-band network searching strategy, dynamically adjusting the network searching strategy of the mobile terminal, and executing the network searching according to the adjusted network searching strategy; or,
and dynamically adjusting the network searching strategy of the mobile terminal according to the electric quantity information of the mobile terminal and the corresponding relation between the electric quantity information of the mobile terminal and the time interval and the network searching times of network searching in the preconfigured historical frequency point network searching strategy, and executing network searching according to the adjusted network searching strategy.
7. A mobile terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the network search method according to any one of claims 1 to 6.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the network searching method according to any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911277699.5A CN111050389B (en) | 2019-12-11 | 2019-12-11 | Network searching method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911277699.5A CN111050389B (en) | 2019-12-11 | 2019-12-11 | Network searching method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111050389A CN111050389A (en) | 2020-04-21 |
CN111050389B true CN111050389B (en) | 2023-05-09 |
Family
ID=70235950
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911277699.5A Active CN111050389B (en) | 2019-12-11 | 2019-12-11 | Network searching method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111050389B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112243278A (en) * | 2020-10-16 | 2021-01-19 | Oppo广东移动通信有限公司 | Cell search method, device, chip, mobile terminal and storage medium |
CN112333744B (en) * | 2020-11-25 | 2023-04-07 | Oppo(重庆)智能科技有限公司 | Cell registration method, device, equipment and storage medium |
CN112738882A (en) * | 2021-03-31 | 2021-04-30 | 四川创智联恒科技有限公司 | NR network registration method and system based on 5G communication and NR system terminal |
CN113115409B (en) * | 2021-04-30 | 2023-06-30 | 南京大鱼半导体有限公司 | Network searching method, device, medium and electronic equipment |
CN113316227B (en) * | 2021-05-21 | 2023-06-27 | Oppo广东移动通信有限公司 | Network searching method, terminal and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012191548A (en) * | 2011-03-14 | 2012-10-04 | Nec Saitama Ltd | Mobile terminal, control method, and program |
WO2015139417A1 (en) * | 2014-03-21 | 2015-09-24 | 中兴通讯股份有限公司 | Automatic network finding method and apparatus for terminal |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100544493C (en) * | 2007-03-13 | 2009-09-23 | 北京天碁科技有限公司 | A kind of method for searching network of portable terminal |
US20090017838A1 (en) * | 2007-07-10 | 2009-01-15 | Qualcomm Incorporated | Methods and apparatus for selecting a communications band based on location information |
US9179401B2 (en) * | 2012-03-14 | 2015-11-03 | Apple Inc. | Methods and apparatus for dynamically configuring search operations in a multi-mode device |
CN104581881A (en) * | 2013-10-16 | 2015-04-29 | 中兴通讯股份有限公司 | Processing method for network searching and terminal |
CN105704783B (en) * | 2014-11-24 | 2019-06-14 | 中国移动通信集团公司 | A kind of sweep interval is determining and terminal frequency sweeping method, device and terminal |
CN105792121A (en) * | 2014-12-23 | 2016-07-20 | 中兴通讯股份有限公司 | Access processing method and apparatus |
CN110087287B (en) * | 2019-04-23 | 2023-08-11 | 努比亚技术有限公司 | Control method and device for terminal network searching, mobile terminal and storage medium |
CN110446243A (en) * | 2019-06-28 | 2019-11-12 | 努比亚技术有限公司 | Web search control method, terminal and computer readable storage medium |
-
2019
- 2019-12-11 CN CN201911277699.5A patent/CN111050389B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012191548A (en) * | 2011-03-14 | 2012-10-04 | Nec Saitama Ltd | Mobile terminal, control method, and program |
WO2015139417A1 (en) * | 2014-03-21 | 2015-09-24 | 中兴通讯股份有限公司 | Automatic network finding method and apparatus for terminal |
Also Published As
Publication number | Publication date |
---|---|
CN111050389A (en) | 2020-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111050389B (en) | Network searching method, mobile terminal and computer readable storage medium | |
US20190289537A1 (en) | Optimization for priority-based network identifier scans | |
US20130331118A1 (en) | Performing enhanced background location scans to facilitate location-based geo-fencing | |
US10389147B2 (en) | Method for charging battery and electronic device thereof | |
WO2015197000A1 (en) | Method and apparatus for controlling hardware state of mobile terminal | |
KR20210068091A (en) | Wake-up signal transmission and reception method, apparatus, base station, terminal and storage medium | |
WO2016183918A1 (en) | Method and device for processing storage space | |
CN105723347A (en) | Inexpensive solid-state storage through write throttling | |
CN112015347A (en) | Data migration method and device and related equipment | |
CN111263434B (en) | Network registration method, device, terminal and storage medium | |
CN115723628A (en) | Energy recovery based overvoltage control method, system, device and medium | |
EP3962180A1 (en) | Network-based control method for power consumption of applications, terminal and storage medium | |
US20200344575A1 (en) | Indication method for system broadcast information, network device, and terminal device | |
US9204396B2 (en) | Systems and methods for adapting a network search algorithm | |
CN107548121B (en) | Method and device for determining access network | |
US9110652B2 (en) | System and method for electronic device charging | |
CN109164990B (en) | Memory data updating method, device, equipment and storage medium | |
CN111221790A (en) | Log file processing method and device and computer readable storage medium | |
KR101118883B1 (en) | Methods and apparatus for out of service processing with varied behaviors | |
CN113708959B (en) | Rule base updating method, device and equipment | |
US8971944B2 (en) | Method and devices of communicating physical cell identifier information to mobile stations | |
US20130297779A1 (en) | Electronic device and method for detecting network connection between the electronic device and network | |
US10175907B2 (en) | Storage device, file writing method, and non-transitory computer readable storage medium | |
CN111383125A (en) | Community division method, system, terminal device and storage medium | |
EP3809675A1 (en) | Big-data-based business logic learning method and protection method and apparatuses thereof |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 518000 606, block a, sharing building, No. 78, Keyuan North Road, songpingshan community, Xili street, Nanshan District, Shenzhen, Guangdong Applicant after: Gosuncn IOT Technology Co.,Ltd. Address before: 518000 Guangdong, Shenzhen, Nanshan District, Guangdong Province, Nanshan District high tech Industrial Park, South Korea 12 road, MINDRAY Building 2 floor B area, zone 12 Applicant before: Gaoxing Wulian Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |