CN111491353B - Network searching method and device, storage medium and electronic equipment - Google Patents

Network searching method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111491353B
CN111491353B CN202010301953.7A CN202010301953A CN111491353B CN 111491353 B CN111491353 B CN 111491353B CN 202010301953 A CN202010301953 A CN 202010301953A CN 111491353 B CN111491353 B CN 111491353B
Authority
CN
China
Prior art keywords
public land
land mobile
mobile network
network
home public
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010301953.7A
Other languages
Chinese (zh)
Other versions
CN111491353A (en
Inventor
林进全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010301953.7A priority Critical patent/CN111491353B/en
Publication of CN111491353A publication Critical patent/CN111491353A/en
Application granted granted Critical
Publication of CN111491353B publication Critical patent/CN111491353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application discloses a network searching method, a network searching device, a storage medium and electronic equipment, wherein when the electronic equipment resides in a visiting public land mobile network and reaches a network searching period, the electronic equipment identifies a currently connectable public land mobile network; when the current connectable public land mobile network comprises the home public land mobile network, searching the home public land mobile network; and when the home public land mobile network is searched and the registration is successful, the mobile terminal is resided in the home public land mobile network. Therefore, the electronic equipment is limited to search the home public land mobile network only when the home public land mobile network is found, unnecessary search operation can be reduced, and the purpose of reducing network searching power consumption is achieved.

Description

Network searching method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of network technologies, and in particular, to a network searching method, apparatus, storage medium, and electronic device.
Background
A public land mobile network refers to a network established and operated by a government, or its approved operator, for the purpose of providing land mobile communications services to the public, and which is typically interconnected with a public switched telephone network to form a communications network of regional or national scale. By accessing the public land mobile network and utilizing the network service provided by the public land mobile network, the electronic equipment can provide functions of online video playing, audio playing and the like for users. However, in the related art, when the searching network accesses the public land mobile network, the power consumption of the searching network is high.
Disclosure of Invention
The embodiment of the application provides a network searching method, a network searching device, a storage medium and electronic equipment, which can reduce network searching power consumption.
The embodiment of the application provides a network searching method, which is applied to electronic equipment and comprises the following steps:
identifying a currently connectable public land mobile network when residing in a visited public land mobile network and a network searching period is reached;
when the current connectable public land mobile network comprises the home public land mobile network, searching the home public land mobile network;
when the home public land mobile network is searched and the registration is successful, the mobile terminal camps on the home public land mobile network.
The network searching device provided by the embodiment of the application is applied to electronic equipment, and comprises:
an identification module for identifying a currently connectable public land mobile network when the electronic device resides in a visited public land mobile network and a network searching period is reached;
a network searching module, configured to search for a home public land mobile network when a currently connectable public land mobile network includes the home public land mobile network;
and the residing module is used for residing in the home public land mobile network when the home public land mobile network is searched and the registration is successful.
The storage medium provided in the embodiments of the present application stores thereon a computer program, and when the computer program is loaded by a processor, the network searching method provided in any embodiment of the present application is executed.
The electronic device provided by the embodiment of the application comprises a processor, a memory, an application program module and a hardware abstraction module, wherein the memory stores a computer program, and the processor is used for executing the network searching method provided by any embodiment of the application by loading the computer program.
Compared with the related art, in the application, when the electronic device resides in the visited public land mobile network and reaches the network searching period, the electronic device identifies the currently connectable public land mobile network; when the current connectable public land mobile network comprises the home public land mobile network, searching the home public land mobile network; and when the home public land mobile network is searched and the registration is successful, the mobile terminal is resided in the home public land mobile network. Therefore, the electronic equipment is limited to search the home public land mobile network only when the home public land mobile network is found, unnecessary search operation can be reduced, and the purpose of reducing network searching power consumption is achieved.
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 flow chart of a network searching method according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a visited public land mobile network providing a network access service for an electronic device in an embodiment of the present application.
Fig. 3 is a schematic diagram of a network access service provided by a home public land mobile network for an electronic device in an embodiment of the present application.
Fig. 4 is another schematic flow chart of a network searching method according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a network searching apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
It should be noted that the following description is provided by way of illustrative examples of the present application and should not be construed as limiting the other examples of the present application which are not detailed herein.
The embodiment of the application provides a network searching method, a network searching device, a storage medium and electronic equipment. The execution main body of the network searching method may be the network searching device provided in the embodiment of the present application, or an electronic device integrated with the network searching device, where the network searching device may be implemented in a hardware or software manner. The electronic device may be a device with processing capability configured with a processor, such as a smart phone, a tablet computer, a palm computer, a notebook computer, or a desktop computer.
Referring to fig. 1, fig. 1 is a schematic flow chart of a network searching method provided in an embodiment of the present application, and a specific flow of the network searching method provided in the embodiment of the present application may be as follows:
in 101, when residing in a visited public land mobile network and reaching a network search period, a currently connectable public land mobile network is identified.
It should be noted that public land mobile networks are typically identified using a mobile country code and a mobile network number. The mobile country code is uniformly allocated and associated by the international telecommunications union, and is used for identifying the country to which the mobile subscriber belongs, for example, the mobile country code in china is 460, and the mobile country code in the united states is 310; the mobile network number is used to uniquely identify the mobile network to which the mobile user belongs, for example, the mobile network number of the TD network of china mobile is 00, the mobile network number of the GSM network of china unicom is 01, the mobile network number of the GSM network of china mobile is 02, the mobile network number of the CDMA network of china telecommunications is 03, and the like. For example, taking china as an example, a china mobile public land mobile network may use "46000" or "46002" for identification, a china connected public land mobile network may use "46001" for identification, and a china telecom public land mobile network may use "46003" for identification.
Based on the above related knowledge, the visited public land mobile network and the home public land mobile network to which the present application relates are briefly introduced. When the mobile country code and the mobile network number of the public land mobile network accessed by the electronic equipment are the same as the mobile country code and the mobile network number written in the user identification card of the electronic equipment, the public land mobile network is called as the attributive public land mobile network of the electronic equipment; when any one of the mobile country code and the mobile network number of the public land mobile network to which the electronic equipment is accessed is different from the mobile country code and the mobile network number written in the subscriber identity card of the electronic equipment, the public land mobile network is called as a visited public land mobile network of the electronic equipment, and the electronic equipment is considered to be in a roaming state at this moment.
In the related art, when the electronic device roams to the visited public land mobile network, the electronic device searches for the home public land mobile network according to a preset network searching period. The initial network search period is usually set to 6 minutes, when the network search period is reached, if the home public land mobile network cannot be searched, the public land mobile network is adjusted to 8 hours, and then the network search period is 8 hours, and periodic search is performed. It can be seen that the network searching efficiency of the network searching mode is low. Therefore, the application provides a network searching method which is suitable for searching the network of the home public land mobile terminal when the electronic equipment is in roaming.
In the embodiment of the present application, a network search period is preconfigured, a duration of the network search period is initially configured as an initial duration, and a value of the initial duration may be configured by a person skilled in the art according to an actual need, which is not specifically limited in the embodiment of the present application.
In addition, the electronic device can identify whether it resides in the visited public land mobile network in real time or periodically. When the electronic equipment is identified to be currently resident in the visited public land mobile network, namely in a roaming state, the electronic equipment configures a timer for timing. The timer may be a hardware timer or a software timer, which is not limited in this application. It will be appreciated that while roaming such a connection can increase the mobility and connectivity of the electronic device, it requires a greater financial cost to the user than to home to a public land mobile network.
When the timer times out to reach the network searching period, the electronic equipment identifies the currently connectable public land mobile network. For example, when the timer reaches the network searching period, the electronic device scans the currently connectable public land mobile network through the built-in modem to identify the currently connectable public land mobile network, and obtains the public land mobile network value of the currently connectable public land mobile network, which is characterized by the form of "mobile country code + mobile network number".
In 102, when the home public land mobile network is included in the currently connectable public land mobile network, a search for the home public land mobile network is performed.
After identifying the currently connectable public land mobile network, the electronic device further determines whether a home public land mobile network is included in the currently connectable public land mobile network.
For example, the electronic device may compare the identified public land mobile network value of the currently connectable public land mobile network with the public land mobile network value of the home public land mobile network written in the subscriber identity card one by one, and determine the public land mobile network corresponding to the public land mobile network value as the home public land mobile network when there is a public land mobile network value that matches the public land mobile network value of the home public land mobile network written in the subscriber identity card.
Accordingly, the electronic device performs a search for a home public land mobile network when the identified currently connectable public land mobile network includes the home public land mobile network.
In 103, when the home public land mobile network is searched and the registration is successful, the mobile terminal camps on the home public land mobile network.
The electronic equipment performs network registration when searching the home public land mobile network, and resides in the home public land mobile network if the registration is successful, so as to obtain the network access service provided by the home public land mobile network.
For example, referring to fig. 2, at some point in time the electronic device resides in a visited public land mobile network that provides network access services. When residing in the visited public land mobile network and the network searching period is reached, a currently connectable public land mobile network is identified. As shown in fig. 2, the electronic device is located within the overlay services of both the visited public land mobile network and the home public land mobile network. At this time, the electronic device recognizes that the currently connectable public land mobile network includes the home public land mobile network, and accordingly performs a search for the home public land mobile network. When the home public land mobile network is searched and the registration is successful, the electronic device will camp on the home public land mobile network, and the network access service is provided by the home public land mobile network, as shown in fig. 3.
As can be seen from the above, in the present application, when the electronic device resides in the visited public land mobile network and reaches the network searching period, the electronic device identifies the currently connectable public land mobile network; when the current connectable public land mobile network comprises the home public land mobile network, searching the home public land mobile network; and when the home public land mobile network is searched and the registration is successful, the mobile terminal is resided in the home public land mobile network. Therefore, the electronic equipment is limited to search the home public land mobile network only when the home public land mobile network is found, unnecessary search operation can be reduced, and the purpose of reducing network searching power consumption is achieved.
In one embodiment, when the home public land mobile network is searched and the registration is successful, the home public land mobile network is resided, comprising:
(1) when the home public land mobile network is searched, identifying whether the home public land mobile network meets a preset residence condition;
(2) if yes, registering to the home public land mobile network;
(3) when the registration is successful, the mobile terminal is resided in the home public land mobile network.
It should be noted that when the home public land mobile network is searched, the electronic device is not necessarily able to camp on the home public land mobile network to obtain the network access service provided by the home public land mobile network, for example, when the signal is too poor or the registration fails, the electronic device may not camp on the searched home public land mobile network.
Therefore, in the embodiment of the present application, in order to ensure stability of network access, when the electronic device searches for a home public land mobile network, the electronic device does not immediately perform network registration, but first identifies whether the home public land mobile network meets a preset camping condition. The electronic device registers with the home public land mobile network upon recognizing that the home public land mobile network satisfies a preset camping condition. When the registration is successful, the electronic device resides in the searched home public land mobile network.
The configuration of the residence condition in the embodiment of the present application is not particularly limited, and may be configured by a person of ordinary skill in the art according to actual needs. For example, in the embodiment of the present application, the threshold of the S criterion is increased according to experience knowledge, and when the searched home public land mobile network meets the increased S criterion, it is determined that the preset camping condition is met.
In an embodiment, after identifying whether the home public land mobile network satisfies the preset camping condition, the method further includes:
and when the fact that the home public land mobile network does not meet the preset residence condition is identified, adjusting the duration of the network searching period according to a preset duration adjusting strategy.
It can be understood that when the identified home public land mobile network does not satisfy the preset camping condition, stable network access service cannot be provided by the home public land mobile network even though the home public land mobile network is camped on. Therefore, when it is recognized that the home public land mobile network does not meet the preset residence condition, the electronic device does not reside in the home public land mobile network, but adjusts the duration of the network searching period according to the preset duration adjustment strategy, so as to perform the identification and the search of the home public land mobile network again.
In one embodiment, after identifying the currently connectable public land mobile network, the method further comprises:
and when the currently connectable public land mobile network does not comprise the home public land mobile network, adjusting the time length of the network searching period according to a preset time length adjusting strategy.
It will be appreciated that not all situations are possible where the electronic device is under coverage of the home public land mobile network and, accordingly, there may be situations where the home public land mobile network is not recognized.
In this embodiment, when the currently connectable public land mobile network does not include the home public land mobile network, that is, the home public land mobile network is not identified, the electronic device further adjusts the duration of the network search period according to the preset duration adjustment policy, so as to prepare for performing identification and search of the home public land mobile network again. The configuration of the preset duration adjustment policy is not particularly limited in the embodiment of the present application, and can be configured by a person skilled in the art according to actual needs.
For example, the preset duration adjustment policy may be configured to:
and increasing the duration of the network searching period according to a specific adjustment step length.
According to the method and the device, the duration of the network searching period is adjusted, so that the electronic equipment can perform network searching operation more flexibly.
In one embodiment, after the searching of the home public land mobile network, the method further includes:
and if the registration fails, adjusting the duration of the network searching period according to a preset duration adjustment strategy.
It is understood that even if the electronic device can search for the home public land mobile network and the home public land mobile network also meets the preset camping condition, there are some factors that cause registration failure, and at this time, the electronic device cannot camp on the searched home public land mobile network. Therefore, when the registration of the electronic equipment fails, the duration of the network searching period is adjusted according to the preset duration adjusting strategy so as to prepare for the equipment and the search of the home public land mobile network again.
In an embodiment, the preset duration adjustment policy includes:
T=2^n*t;
wherein, T represents the time length of the network searching period, n represents the identification times of the currently connectable public land mobile network, and T represents the preset unit time length.
In the embodiment of the present application, the preset duration adjustment policy is configured to adjust the duration of the network searching period in a progressive increase manner, and is expressed by the following formula:
T=2^n*t;
wherein, T represents the time length of the network searching period, n represents the identification times of the currently connectable public land mobile network, and T represents the preset unit time length.
It should be noted that, in the embodiment of the present application, the value of t is not specifically limited, and may be configured by a person of ordinary skill in the art according to actual needs, for example, t is configured to be 1 minute in the embodiment of the present application.
Thus, the initial duration of the network searching period is 2 minutes, and then the network searching period is adjusted to 4 minutes, 8 minutes, 16 minutes, and so on.
Optionally, in order to avoid adjusting the duration of the network search period to be too long, the maximum duration of the network search period may be limited, which may be represented as:
T=min(2^n,Tmax)*t;
tmax represents the maximum duration of the designated network searching period, and may be configured by a person of ordinary skill in the art according to actual needs, which is not specifically limited in the embodiment of the present application. For example, in the embodiment of the present application, Tmax is configured to be 720.
In one embodiment, before identifying the currently connectable public land mobile network, the method further comprises:
(1) judging whether the current position is in a preset position area or not;
(2) and if the current position is in the preset position area, identifying the currently connectable public land mobile network.
The preset location area is configured to be an area covered by a home public land mobile network corresponding to the electronic equipment. It will be appreciated that the home public land mobile network can only be identified when the electronic device is in the coverage area of the home public land mobile network.
Therefore, in the embodiment of the present application, to avoid the meaningless operation of identifying the plmn, the electronic device does not immediately identify the currently connectable plmn when residing in the visited plmn and reaching the network searching period, but acquires the current location information first. For example, the electronic device may acquire the current location information by using a base station positioning technology or a satellite positioning technology.
Then, the electronic device judges whether the electronic device is currently located in a preset location area according to the acquired current location information, if the electronic device is identified to be currently located in the preset location area, the electronic device is indicated to be located in an area covered by the home public land mobile network, and at this moment, the electronic device can identify the currently connectable public land mobile network.
In an embodiment, after determining whether the current location is in the preset location area, the method further includes:
and if the current time is not in the preset position area, adjusting the time length of the network searching period according to a preset time length adjusting strategy.
As described above, when the mobile device is not currently located in the preset location area, the identification of the home public land mobile network is meaningless, and at this time, the electronic device does not identify the currently connectable public land mobile network, but adjusts the duration of the network searching period according to the preset duration adjustment policy, so as to identify the location of the electronic device again, and further perform the identification and search of the home public land mobile network.
In an embodiment, after determining whether the current location is in the preset location area, the method further includes:
(1) if the current position is outside the preset position area, whether the current position is in a motion state is identified;
(2) and if the current state of motion is in a motion state and the current state of motion is towards the preset position area, identifying the currently connectable public land mobile network.
In the embodiment of the application, when recognizing that the current location area is outside the preset location area, the electronic device determines that the current location area is outside the set coverage area of the home public land mobile network. It will be appreciated that the actual coverage area of the home public land mobile network is typically larger than its set coverage area to ensure connection stability within its set coverage area.
Therefore, in the embodiment of the application, when the current position is identified to be outside the preset position area, whether the current position is in a motion state is further identified. For example, the electronic device may acquire acceleration data collected by an internal or external acceleration sensor, and identify whether the electronic device is currently in a motion state according to the acceleration data.
In addition, when the electronic device is in the motion state, the electronic device can acquire the motion direction according to the acceleration data of the electronic device, and judge whether the electronic device moves towards the preset position area or not according to the motion direction. Accordingly, the electronic device identifies the currently connectable public land mobile network when recognizing that the electronic device is currently in a moving state and moving toward the preset location area.
Optionally, when recognizing that the current device is in a motion state and moves towards the preset location area, the electronic device does not immediately recognize the current connectable public land mobile network, but first obtains a remaining time length for reaching the preset location area, and determines whether the remaining time length is less than the preset time length, and if so, recognizes the current connectable public land mobile network.
In one embodiment, after residing in the home public land mobile network, the method further comprises:
and resetting the duration of the network searching period.
In the embodiment of the application, after the electronic device resides in the home public land mobile network, the duration of the network searching period is reset to the initial duration.
For example, the initial duration of the network search period is configured to be two minutes, and after the electronic device searches for and resides in the home public land mobile network, the duration of the network search period is reset to two minutes, so as to trigger the identification and search of the home public land mobile network when the electronic device resides in the visited public land mobile network next time.
Referring to fig. 4, the process of the network searching method provided by the present application may further include:
in 201, the electronic device configures the duration of the network searching period as an initial duration, and identifies whether the electronic device currently resides in the visited public land mobile network, if so, the electronic device proceeds to 202, otherwise, the electronic device continues to identify.
The value of the initial duration may be configured by a person of ordinary skill in the art according to actual needs, and the embodiment of the present application does not specifically limit this.
For example, in the embodiment of the present application, a preset duration adjustment policy is configured, and is configured to adjust the duration of the network searching period in a progressive increase manner, and the preset duration adjustment policy is represented by the following formula:
T=2^n*t;
wherein, T represents the time length of the network searching period, n represents the identification times of the currently connectable public land mobile network, and T represents the preset unit time length.
It should be noted that, in the embodiment of the present application, the value of t is not specifically limited, and may be configured by a person of ordinary skill in the art according to actual needs, for example, in the embodiment of the present application, t is configured to be 1 minute, and accordingly, the initial duration of the network searching period is two minutes.
After configuring the duration of the network searching period, the electronic device can identify whether it resides in the visited public land mobile network in real time or periodically. When the current residence in the visiting public land mobile network is identified, namely in a roaming state, the process proceeds to 202, otherwise, the identification is continued.
In 202, the electronic device configures a timer to time.
When the electronic equipment is identified to be currently resident in the visited public land mobile network, namely in a roaming state, the electronic equipment configures a timer for timing. The timer may be a hardware timer or a software timer, which is not limited in this application. It will be appreciated that while roaming such a connection can increase the mobility and connectivity of the electronic device, it requires a greater financial cost to the user than to home to a public land mobile network.
In 203, the electronic device identifies a currently connectable public land mobile network when the timer counts to reach the network searching period, and if the currently connectable public land mobile network is identified to include the home public land mobile network, the electronic device proceeds to 204, otherwise, the electronic device proceeds to 208.
When the timer times out to reach the network searching period, the electronic equipment identifies the currently connectable public land mobile network. For example, when the timer reaches the network searching period, the electronic device scans the currently connectable public land mobile network through the built-in modem to identify the currently connectable public land mobile network, and obtains the public land mobile network value of the currently connectable public land mobile network, which is characterized by the form of "mobile country code + mobile network number".
After identifying the currently connectable public land mobile network, the electronic device further determines whether a home public land mobile network is included in the currently connectable public land mobile network.
For example, the electronic device may compare the identified public land mobile network value of the currently connectable public land mobile network with the public land mobile network value of the home public land mobile network written in the subscriber identity card one by one, and determine the public land mobile network corresponding to the public land mobile network value as the home public land mobile network when there is a public land mobile network value that matches the public land mobile network value of the home public land mobile network written in the subscriber identity card.
Accordingly, the electronic device transitions to 204 when the identified currently connectable public land mobile network includes a home public land mobile network, and transitions to 208 otherwise.
At 204, the electronic device conducts a search for a home public land mobile network.
The electronic device performs a search for a home public land mobile network when the identified currently connectable public land mobile network includes the home public land mobile network.
In 205, the electronic device identifies whether the searched home public land mobile network meets a preset camping condition, if yes, then proceeds to 206, otherwise proceeds to 208.
It should be noted that when the home public land mobile network is searched, the electronic device is not necessarily able to camp on the home public land mobile network to obtain the network access service provided by the home public land mobile network, for example, when the signal is too poor or the registration fails, the electronic device may not camp on the searched home public land mobile network.
Therefore, in the embodiment of the present application, in order to ensure stability of network access, when the electronic device searches for a home public land mobile network, the electronic device does not immediately perform network registration, but first identifies whether the home public land mobile network meets a preset camping condition.
The configuration of the residence condition in the embodiment of the present application is not particularly limited, and may be configured by a person of ordinary skill in the art according to actual needs. For example, in the embodiment of the present application, the threshold of the S criterion is increased according to experience knowledge, and when the searched home public land mobile network meets the increased S criterion, it is determined that the preset camping condition is met.
At 206, the electronic device registers with the home public land mobile network and identifies whether the registration was successful, if so, then step 207 is performed, otherwise, step 208 is performed.
When the electronic equipment recognizes that the home public land mobile network meets the preset residence condition, the electronic equipment registers to the home public land mobile network, and recognizes whether the registration is successful, if so, the electronic equipment is shifted to 207, otherwise, the electronic equipment is shifted to 208.
In 207, the electronic device resides in the home public land mobile network and resets the duration of the network search period to the initial duration.
When the registration is successful, the electronic equipment resides in the searched home public land mobile network, and the duration of the network searching period is reset to the initial duration. For example, in the embodiment of the present application, the initial duration of the network search period is configured to be two minutes, and after the electronic device searches for and resides in the home public land mobile network, the duration of the network search period is reset to two minutes, so as to trigger the identification and search of the home public land mobile network when the electronic device resides in the visited public land mobile network next time.
At 208, the electronic device adjusts the duration of the network searching period according to a preset duration adjustment strategy.
As described above, in the embodiment of the present application, a preset duration adjustment policy is configured. When the preset unit time period t is configured to be one minute, the initial time period is correspondingly configured to be two minutes. Thus, the duration of the subsequent network searching period is adjusted to 4 minutes, 8 minutes, 16 minutes, and so on.
Optionally, in order to avoid adjusting the duration of the network search period to be too long, the maximum duration of the network search period may be limited, which may be represented as:
T=min(2^n,Tmax)*t;
tmax represents the maximum duration of the designated network searching period, and may be configured by a person of ordinary skill in the art according to actual needs, which is not specifically limited in the embodiment of the present application. For example, in the embodiment of the present application, Tmax is configured to be 720.
In an embodiment, a network searching device is also provided. Referring to fig. 5, fig. 5 is a schematic structural diagram of a network searching apparatus according to an embodiment of the present disclosure. The network searching device is applied to electronic equipment, and comprises an identification module 301, a network searching module 302 and a residence module 303, and comprises the following components:
an identifying module 301, configured to identify a currently connectable public land mobile network when residing in a visited public land mobile network and a network searching period is reached;
a network searching module 302, configured to search for a home public land mobile network when a currently connectable public land mobile network includes the home public land mobile network;
and a camping module 303, configured to camp on the home public land mobile network when the home public land mobile network is searched and the registration is successful.
In an embodiment, when the home public land mobile network is searched and the registration is successful and the home public land mobile network is camped, the camping module 303 is configured to:
when the home public land mobile network is searched, identifying whether the home public land mobile network meets a preset residence condition;
if yes, registering to the home public land mobile network;
when the registration is successful, the mobile terminal is resided in the home public land mobile network.
In an embodiment, the network searching apparatus provided in the present application further includes an adjusting module, after identifying whether the home public land mobile network meets a preset camping condition, configured to:
and when the currently connectable public land mobile network does not comprise the home public land mobile network, or the registration fails, or the home public land mobile network does not meet the residence condition, adjusting the time length of the network searching period according to a preset time length adjusting strategy.
In an embodiment, the preset duration adjustment policy includes:
T=2^n*t;
wherein, T represents the time length of the network searching period, n represents the identification times of the currently connectable public land mobile network, and T represents the preset unit time length.
In an embodiment, the network searching apparatus provided by the present application further includes a resetting module, configured to reset a duration of a network searching period after camping on the home public land mobile network.
In an embodiment, before identifying the currently connectable public land mobile network, the identification module 301 is further configured to:
judging whether the current position is in a preset position area or not;
and if the current position is in the preset position area, identifying the currently connectable public land mobile network.
In an embodiment, after determining whether the current location area is in the preset location area, the identifying module 301 is further configured to:
if the current position is outside the preset position area, whether the current position is in a motion state is identified;
and if the current state of motion is in the motion state and the current state of motion is towards the preset position area, identifying the currently connectable public land mobile network.
It should be noted that the network searching apparatus provided in the embodiment of the present application and the network searching method in the foregoing embodiment belong to the same concept, and any method provided in the network searching method embodiment may be run on the network searching apparatus, and the specific implementation process thereof is described in the foregoing embodiment, and is not described herein again.
In an embodiment, an electronic device is further provided, and referring to fig. 6, the electronic device includes a processor 401 and a memory 402.
The processor 401 in the embodiment of the present application is a general-purpose processor, such as an ARM architecture processor.
The memory 402 stores a computer program, which may be a high speed random access memory, but also may be a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the computer programs in the memory 402 to implement the following functions:
identifying a currently connectable public land mobile network when residing in a visited public land mobile network and a network searching period is reached;
when the current connectable public land mobile network comprises the home public land mobile network, searching the home public land mobile network;
and when the home public land mobile network is searched and the registration is successful, the mobile terminal is resided in the home public land mobile network.
In an embodiment, when searching for a home public land mobile network and successfully registering while camped on the home public land mobile network, the processor 401 is configured to perform:
when the home public land mobile network is searched, identifying whether the home public land mobile network meets a preset residence condition;
if yes, registering to the home public land mobile network;
when the registration is successful, the mobile terminal is resided in the home public land mobile network.
In an embodiment, after identifying whether the aforementioned home public land mobile network satisfies the preset camping condition, the processor 401 is further configured to perform:
and when the currently connectable public land mobile network does not comprise the home public land mobile network, or the registration fails, or the home public land mobile network does not meet the residence condition, adjusting the time length of the network searching period according to a preset time length adjusting strategy.
In an embodiment, the preset duration adjustment policy includes:
T=2^n*t;
wherein, T represents the time length of the network searching period, n represents the identification times of the currently connectable public land mobile network, and T represents the preset unit time length.
In an embodiment, after camping on the home public land mobile network, the processor 401 is further configured to perform:
and resetting the duration of the network searching period.
In an embodiment, before identifying the currently connectable public land mobile network, the processor 401 is further configured to perform:
judging whether the current position is in a preset position area or not;
and if the current position is in the preset position area, identifying the currently connectable public land mobile network.
In an embodiment, after determining whether the current location area is in the preset location area, the processor 401 is further configured to:
if the current position is outside the preset position area, whether the current position is in a motion state is identified;
and if the current state of motion is in the motion state and the current state of motion is towards the preset position area, identifying the currently connectable public land mobile network.
It should be noted that the electronic device provided in the embodiment of the present application and the network searching method in the foregoing embodiments belong to the same concept, and any method provided in the network searching method embodiment may be run on the electronic device, and a specific implementation process thereof is described in detail in the feature extraction method embodiment, and is not described herein again.
It should be noted that, for the network searching method in the embodiment of the present application, it can be understood by a person skilled in the art that all or part of the process of implementing the network searching method in the embodiment of the present application may be implemented by controlling related hardware through a computer program, where the computer program may be stored in a computer-readable storage medium, such as a memory of an electronic device, and executed by a processor in the electronic device, and during the execution process, the process of the embodiment of the network searching method may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
The network searching method, the network searching device, the storage medium and the electronic device provided by the embodiment of the present application are introduced in detail, a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A network searching method is applied to electronic equipment and is characterized by comprising the following steps:
when the mobile terminal resides in a visited public land mobile network and reaches a network searching period, judging whether the mobile terminal is currently in a preset position area;
if the current position is outside the preset position area, identifying whether the current position is in a motion state; if the current mobile terminal is in a motion state and moves towards the preset position area, acquiring the residual time for reaching the preset position area, judging whether the residual time is less than the preset time, and if the residual time is less than the preset time, identifying the current connectable public land mobile network;
if the current position is in the preset position area, identifying a currently connectable public land mobile network;
when the current connectable public land mobile network comprises a home public land mobile network, searching the home public land mobile network, so that the electronic equipment searches the home public land mobile network when and only when the home public land mobile network is found;
when the home public land mobile network is searched and the registration is successful, the mobile terminal camps on the home public land mobile network.
2. The network searching method of claim 1, wherein the camping on the home public land mobile network when searching for the home public land mobile network and registering successfully comprises:
when the home public land mobile network is searched, identifying whether the home public land mobile network meets a preset residence condition;
if the home public land mobile network meets the residence condition, registering to the home public land mobile network;
and when the registration is successful, residing in the home public land mobile network.
3. The network searching method according to claim 2, wherein after identifying the currently connectable public land mobile network, further comprising:
and when the currently connectable public land mobile network does not comprise a home public land mobile network, or the registration fails, or the home public land mobile network does not meet the residence condition, adjusting the time length of the network searching period according to a preset time length adjusting strategy.
4. The network searching method according to claim 3, wherein the preset duration adjustment policy comprises:
T=2^n*t;
wherein, T represents the time length of the network searching period, n represents the identification times of the currently connectable public land mobile network, and T represents the preset unit time length.
5. The network searching method according to any of claims 1-4, wherein said residing after the home public land mobile network further comprises:
and resetting the duration of the network searching period.
6. The utility model provides a search for net device, is applied to electronic equipment, its characterized in that includes:
the identification module is used for judging whether the electronic equipment is currently in a preset position area or not when the electronic equipment resides in a visited public land mobile network and reaches a network searching period; if the current position is outside the preset position area, identifying whether the current position is in a motion state; if the current mobile terminal is in a motion state and moves towards the preset position area, acquiring the residual time for reaching the preset position area, judging whether the residual time is less than the preset time, and if the residual time is less than the preset time, identifying the current connectable public land mobile network; if the current position is in the preset position area, identifying a currently connectable public land mobile network;
a network searching module, configured to search for a home public land mobile network when a home public land mobile network is included in a currently connectable public land mobile network, so that the electronic device performs a search for the home public land mobile network only when the home public land mobile network is found;
and the residing module is used for residing in the home public land mobile network when the home public land mobile network is searched and the registration is successful.
7. A storage medium having stored thereon a computer program for performing the method of searching for networks according to any of claims 1 to 5 when the computer program is loaded by a processor.
8. An electronic device comprising a processor, a memory, an application module and a hardware abstraction module, wherein the memory stores a computer program, and wherein the processor is configured to execute the network searching method according to any one of claims 1 to 5 by loading the computer program.
CN202010301953.7A 2020-04-16 2020-04-16 Network searching method and device, storage medium and electronic equipment Active CN111491353B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010301953.7A CN111491353B (en) 2020-04-16 2020-04-16 Network searching method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010301953.7A CN111491353B (en) 2020-04-16 2020-04-16 Network searching method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111491353A CN111491353A (en) 2020-08-04
CN111491353B true CN111491353B (en) 2022-04-22

Family

ID=71798800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010301953.7A Active CN111491353B (en) 2020-04-16 2020-04-16 Network searching method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111491353B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738882A (en) * 2021-03-31 2021-04-30 四川创智联恒科技有限公司 NR network registration method and system based on 5G communication and NR system terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242608A (en) * 2008-01-29 2008-08-13 中兴通讯股份有限公司 Method and system for mobile terminal to search high-priority public land mobile network
CN101299870A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Control method, system and apparatus for accessing private base station
CN103298074A (en) * 2013-05-21 2013-09-11 华为终端有限公司 Network terminal equipment and network switching method for same
CN104837180A (en) * 2015-04-17 2015-08-12 广东欧珀移动通信有限公司 Intelligent handset roaming network-searching method and device
CN106804057A (en) * 2015-11-26 2017-06-06 中国移动通信集团公司 Method for searching network and device under a kind of double-standby terminal off-grid state
WO2017190349A1 (en) * 2016-05-06 2017-11-09 华为技术有限公司 Network searching method and terminal device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080194253A1 (en) * 2007-02-12 2008-08-14 Bandrich Inc. Search method of a roaming service
US9226209B2 (en) * 2013-12-20 2015-12-29 Qualcomm Incorporated Power efficient network searching
CN104899275A (en) * 2015-05-27 2015-09-09 深圳市金立通信设备有限公司 Cell search method and terminal
CN105657789A (en) * 2016-01-28 2016-06-08 努比亚技术有限公司 Device and method for network search in roaming state
CN108718457B (en) * 2018-06-11 2021-04-09 Oppo广东移动通信有限公司 Network reselection method, device, chip and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299870A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Control method, system and apparatus for accessing private base station
CN101242608A (en) * 2008-01-29 2008-08-13 中兴通讯股份有限公司 Method and system for mobile terminal to search high-priority public land mobile network
CN103298074A (en) * 2013-05-21 2013-09-11 华为终端有限公司 Network terminal equipment and network switching method for same
CN104837180A (en) * 2015-04-17 2015-08-12 广东欧珀移动通信有限公司 Intelligent handset roaming network-searching method and device
CN106804057A (en) * 2015-11-26 2017-06-06 中国移动通信集团公司 Method for searching network and device under a kind of double-standby terminal off-grid state
WO2017190349A1 (en) * 2016-05-06 2017-11-09 华为技术有限公司 Network searching method and terminal device

Also Published As

Publication number Publication date
CN111491353A (en) 2020-08-04

Similar Documents

Publication Publication Date Title
WO2022062617A1 (en) Heterogeneous system ping-pong inhibition method and apparatus, terminal device and storage medium
WO2016173348A1 (en) Network access method and mobile communications terminal
CN111447659B (en) Network access control method and related device
CN108616979B (en) Dual-card network system control method and device, computer equipment and storage medium
CN112867099B (en) 5G terminal access 5G network optimization processing method, device, equipment and medium
US10224972B2 (en) Systems, methods, and computer-readable media for tracking updates and loading data
EP3829225A1 (en) Electronic device and method for searching for plmn in wireless communication system
CN111491353B (en) Network searching method and device, storage medium and electronic equipment
CN109195197A (en) Dual-card dual-standby terminal network selecting method, device, terminal device and storage medium
CN115134901A (en) Communication processing method and device, terminal and readable storage medium
CN111263434A (en) Network registration method, device, terminal and storage medium
CN111050378A (en) Network searching method and device and electronic equipment
CN107682916B (en) Network searching connection adaptation method and device and computer readable storage medium
CN109429302B (en) Recovery method and device after off-line of multi-card terminal
WO2016127343A1 (en) Network registration method and terminal
CN112970276B (en) Communication processing method, device, mobile terminal and storage medium
WO2016111684A1 (en) Triggering a more aggressive plmn search algorithm when in a visited plmn adjacent to the home plmn
CN116614863A (en) Network selection method, device, electronic equipment and medium of public land mobile network
CN113316226B (en) Network searching method, terminal device and storage medium
CN108811002B (en) User equipment and network searching method and device thereof
CN112866983B (en) Control method, control device and electronic equipment
CN115767656A (en) Network recovery method, device, equipment and storage medium
CN107466087B (en) Network searching method and mobile terminal
CN105792331A (en) Starting-up and network selection method and device for mobile terminal
WO2021057219A1 (en) Network information processing method and terminal 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