CN113163469B - Cellular network searching method and device - Google Patents

Cellular network searching method and device Download PDF

Info

Publication number
CN113163469B
CN113163469B CN202110260282.9A CN202110260282A CN113163469B CN 113163469 B CN113163469 B CN 113163469B CN 202110260282 A CN202110260282 A CN 202110260282A CN 113163469 B CN113163469 B CN 113163469B
Authority
CN
China
Prior art keywords
network
terminal
searching
cellular
network searching
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
CN202110260282.9A
Other languages
Chinese (zh)
Other versions
CN113163469A (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.)
Shenzhen Ucloudlink New Technology Co Ltd
Original Assignee
Shenzhen Ucloudlink New 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 Shenzhen Ucloudlink New Technology Co Ltd filed Critical Shenzhen Ucloudlink New Technology Co Ltd
Priority to CN202110260282.9A priority Critical patent/CN113163469B/en
Publication of CN113163469A publication Critical patent/CN113163469A/en
Application granted granted Critical
Publication of CN113163469B publication Critical patent/CN113163469B/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
    • 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 application is applicable to the technical field of communication, and provides a method and a device for searching a cellular network, wherein the method comprises the following steps: acquiring a target PLMN value corresponding to a cellular network currently registered by the terminal; configuring the terminal to register a roaming state according to the target PLMN value; and searching network parameters of each cellular network existing in the current position of the terminal based on the registration roaming state. Therefore, the terminal is configured to be in a registered roaming state by using the target PLMN value, so that the terminal realizes an active network searching process based on the target PLMN value on the basis of not influencing the use (user experience) of the current user, and the terminal can ensure that the final network searching result can comprehensively cover all cellular networks in the current position.

Description

Cellular network searching method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for searching a cellular network.
Background
With the development of mobile communication technology, cellular networks are gradually updated iteratively, so that the end user can obtain more excellent mobile communication service experience, for example, fifth generation digital cellular mobile communication service (i.e. 5G network) can realize remote transmission of 2km and transmission rate of 1Gbps and above.
In an actual communication operation environment, network service operators deployed in different regional areas may differ, and network quality of cellular networks provided by multiple network service operators in the same region may also differ. However, in many service scenarios, the terminal needs to acquire network parameters of all cellular networks in the current location, for example, when the user has poor current signal and needs to know the network conditions of each operator in the current location, and then autonomously selects the network conditions according to the network conditions; or when the location of the user terminal changes, such as roaming abroad, the network parameters of each operator in the region need to be known.
In the related art, the terminal generally employs a passive network searching process. Generally, only when the terminal recognizes that the current cellular network cannot provide services or the terminal moves, the terminal may search according to the currently registered network in a limited manner, and once the terminal searches for a network capable of being registered, the terminal may stop searching for the network and may not completely reflect information of all cellular networks in the current location.
In view of the above problems, no better solution is available in the industry.
Disclosure of Invention
In view of this, embodiments of the present application provide a cellular network searching method and apparatus, so as to at least solve the problem that in the prior art, a passive network searching result cannot completely and accurately reflect information of all cellular networks in a current location of a terminal.
A first aspect of an embodiment of the present application provides a cellular network searching method, including: acquiring a target PLMN value corresponding to a cellular network currently registered by the terminal; configuring the terminal to a registered roaming state according to the target PLMN value; and searching network parameters of each cellular network existing in the current position of the terminal based on the registration roaming state.
A second aspect of the embodiments of the present application provides a cellular network searching apparatus, including: a PLMN value acquisition unit configured to acquire a target PLMN value corresponding to a cellular network with which the terminal is currently registered; a registration roaming state configuration unit configured to configure the terminal into a registration roaming state according to a target PLMN value; a cellular network searching unit configured to search for network parameters of respective cellular networks existing at a current location of the terminal based on the registration roaming state.
A third aspect of embodiments of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the steps of the method as described above.
A fifth aspect of embodiments of the present application provides a computer program product, which, when run on an electronic device, causes the electronic device to implement the steps of the method as described above.
Compared with the prior art, the embodiment of the application has the advantages that:
by the embodiment of the application, the terminal can acquire the target PLMN value of the registered cellular network after being registered in the cellular network, and configure the terminal into the registration roaming state by using the target PLMN value, so that the terminal can search the network parameters of all cellular networks existing in the current position without stopping the network searching operation due to the fact that the terminal is in the network registration state, an active network searching process based on the target PLMN value is realized, and the final network searching result can be ensured to comprehensively cover all cellular networks in the current position.
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 embodiments or the prior art descriptions will be briefly described 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 without creative efforts.
Fig. 1 shows a flow chart of an example of a cellular network searching method according to an embodiment of the application;
fig. 2 is a flowchart illustrating an example of performing a first network searching operation of a home network after a first timer expires according to an embodiment of the present application;
fig. 3 is a flowchart illustrating an example of a network searching method after a network searching operation of a home network is performed while waiting for completion of data transmission according to an embodiment of the present application;
fig. 4 shows an architectural schematic diagram of an example of a system suitable for applying the cellular network search method according to an embodiment of the application;
FIG. 5 shows a signal timing interaction diagram of an example of a cellular network search method according to an embodiment of the application;
fig. 6 is a flowchart illustrating an example of a terminal initiating and controlling a network searching operation according to an embodiment of the present application;
fig. 7 shows a block diagram of an example of a cellular network search apparatus according to an embodiment of the present application;
fig. 8 is a schematic diagram of an example of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the electronic devices described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the devices described above are not portable communication devices, but are computers having touch-sensitive surfaces (e.g., touch screen displays).
In the discussion that follows, an electronic device that includes a display and a touch-sensitive surface is described. However, it should be understood that the electronic device may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
Various applications that may be executed on the electronic device may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
In this document, the term "Cellular network" (Cellular network), also called mobile network (mobile network), is a mobile communication hardware architecture, which is divided into an analog Cellular network and a digital Cellular network. Common cellular network types are: GSM networks (some countries called pcs-1900), CDMA, FDMA, TDMA, PDC, TACS, AMPS, etc.
At present, some experts and scholars propose that a network searching process of a terminal can be triggered manually by a user, but the manual network searching needs to take a fixed period of time (generally 3 minutes), and in the network searching process, the user cannot transmit data in the period of time through the terminal.
Fig. 1 shows a flow chart of an example of a cellular network search method according to an embodiment of the application. As for the execution subject of the embodiment of the present application, it may be various terminals capable of communicating using a cellular network or a network processing module (for example, a MODEM (MODEM)) in the terminal, and the type of the terminal or the network processing module may not be limited, for example, the terminal may be a mobile phone, a tablet computer, a media playing device, or the like.
It should be noted that after the terminal registers to a PLMN (Public Land Mobile Network), the terminal may implement a voice service or an internet service. In some examples, the PLMN value may be used to represent an operator identity corresponding to a cellular network, such as "china unicom" or "china mobile", etc.
In addition, when the terminal recognizes that the registered network is a home network (i.e., the terminal is in a registration home state), the terminal does not actively search for a network. In addition, when the terminal identifies that the registered network is a roaming network (or called a visited network, that is, the terminal is in a registered roaming state), the terminal may start a mechanism of returning to the home network to search for each cellular network available at the current location, and collect network parameters of the cellular network.
It should be noted that, according to the 3GPP protocol, when the terminal registers to the visited network, the terminal may start a mechanism to return to the home network, and the mechanism is used to return to the home network without the terminal staying in the roaming network too much, and in this process, the network around the terminal is searched. In addition, in the process of returning the terminal from the roaming network to the home network, after the terminal registers in the network, the network search is started after 2 minutes for the first time, but after the network search is finished (for example, interrupted by transmission data of the terminal), the second network search process is allowed to wait for one hour or more by default, for example, according to a home PLMN search period configuration file in a USIM (Universal Subscriber Identity Module), it is usually determined that the subsequent network search start time is longer (for example, 480 minutes). In this case, the original data and voice services of the terminal are not affected.
Based on the above principle, after the terminal is successfully registered in the home network of the home location, the terminal does not automatically search for a network, and in many application scenarios, more network parameter information of other locally-existing operators needs to be obtained through network search, so as to provide a basis for the next processing of the terminal. In some embodiments, a remote SIM card technology may be adopted, and a "virtual card" interface of the MODEM is utilized, so that a PLMN list of a remote USIM card or a USIM card local to the terminal may be read, and HPLMN and EHPLMN values therein may be modified and then sent to a virtual card interface of the MODEM chip. If the HPLMN and EHPLMN values of the terminal are modified into a PLMN value which does not exist actually, the terminal is triggered to enter a roaming state actively, and a mechanism of returning to a home network is started to perform network searching operation aiming at the cellular network.
Accordingly, in step 110, a target PLMN value corresponding to the cellular network with which the terminal is currently registered is obtained.
In step 120, the terminal is configured to register a roaming state according to the target PLMN value. For example, the EHPLMN and HPLMN values of the terminal may be modified to a target PLMN value, e.g., the target PLMN value may be a PLMN value that does not actually exist.
According to the introduction in step 110, based on the virtual card interface technology of the terminal, various PLMN lists in the USIM card may be read, including the HPLMN and EHPLMN lists, and the list is actively modified (if the EHPLMN list is empty, it is not required to modify) to be the target PLMN value (for example, a non-existent PLMN value) in step 110, and after the terminal is triggered to compare the currently registered PLMN and the HPLMN and EHPLMN lists, the terminal is "misjudged" to be in a non-home network scenario but in a visited network (or a roaming network), thereby triggering the terminal to automatically search for a network in the home network scenario.
In step 130, network parameters of respective cellular networks existing in the current location of the terminal are searched based on the registration roaming state. Here, the network parameters of different cellular networks may include various types of network parameters, such as PLMN values, access system information (e.g., GSM/WCDMA/LTE/NR, etc.), area or cell location information (e.g., location area code/cell id), signal strength and signal quality.
In the embodiment of the application, the terminal can identify the currently registered cellular network as the roaming network through the target PLMN value, so that the terminal automatically searches all cellular networks existing in the current location without affecting the user experience, thereby obtaining the network parameters of all cellular networks existing in the current location more comprehensively.
In some examples of the embodiment of the application, the terminal can perform active network searching operation when no data transmission is detected, and compared with manual network searching operation, network disconnection in a corresponding time period can be avoided during manual network searching, so that the data transmission experience of the terminal can be guaranteed while network parameters of all cellular networks at the terminal position are collected.
In some embodiments, a first timer is started based on the registration roaming state, and a first network searching operation of the home network is executed after the first timer is overtime. Therefore, the network searching effect of the terminal can be better controlled, and the user experience can be better improved.
It should be noted that the first network searching operation may represent "network searching" in a broad concept, for example, the first network searching operation may contain some other actions besides the network searching action, for example, an intermediate process in a network searching algorithm.
Illustratively, the first timer may adopt a 1 minute timer to achieve the effect of delay, so as to prevent searching for a network just after network registration, or repeatedly searching for a network at an interval, and the timing length of the timer may be modified by configuration according to actual conditions.
Fig. 2 is a flowchart illustrating an example of performing a first network searching operation of a home network after a first timer expires according to an embodiment of the present application.
As shown in fig. 2, in step 210, after the first timer expires, it is detected whether there is at least one terminal data transmission request. Here, when the terminal needs to transmit data to or receive data (e.g., user data) from the external environment, the terminal data transmission request may be generated accordingly. For example, when a user uses a terminal to perform internet access service, the terminal wirelessly communicates data generated by interacting with an operator network.
If the detection result in step 210 indicates that the first terminal data transmission request is detected, it jumps to step 220. If the detection result in step 210 indicates that the first terminal data transmission request is not detected, it jumps to step 230.
In step 220, a second network searching operation of the home network is performed after the data transmission is completed.
In step 230, a second searching operation of the home network is performed. Illustratively, through the second network searching operation, the terminal may directly perform a network searching action, for example, the terminal may directly call a network searching interface of the MODEM chip, so as to obtain the network parameter.
According to the method and the device, whether the user data exist is judged before the network is formally searched, the network is searched after the user data do not exist, and data transmission operation is carried out when the data set transmission condition exists, so that the data transmission of the terminal cannot be influenced in the network searching process, and the user use experience of the terminal is guaranteed.
Fig. 3 is a flowchart illustrating an example of a network searching method after a network searching operation of a home network is performed while waiting for completion of data transmission according to an embodiment of the present application.
As shown in fig. 3, in step 310, it is determined whether the network searching operation of the home network is normally ended.
If the network searching of the home network is normally finished, the process goes to step 320. If the searching of the home network is abnormally finished, the step 330 is skipped.
In step 320, network parameters of each cellular network existing at the current location are reported.
In step 330, the total number of web searches is increased once.
In step 340, it is determined whether the total network searching times exceeds a preset network searching times threshold.
Here, the network searching time threshold may be determined or adjusted according to a service scenario or an actual product requirement, and should not be limited herein, for example, when the service requirement is an efficient network searching process, the network searching time threshold may have a relatively small value. In addition, by means of the network searching time threshold, extreme scenes such as too many times caused by abnormal ending of network searching can be prevented, and the terminal can be used for searching the network indefinitely to influence the normal use of other services.
If the result of the determination in step 340 indicates that the total network searching times is less than or equal to the network searching times threshold, then go to step 350. If the judgment result in the step 340 indicates that the total network searching times is greater than the network searching times threshold value, the process goes to a step 360.
In step 350, the first timer is restarted, and after the first timer is over time, the first network searching operation of the home network is executed. For details of the implementation of the "first network searching operation" in step 350, reference may be made to the above description in conjunction with other embodiments, and details are not repeated here.
In step 360, the network parameters of each cellular network existing at the current location are reported according to the network search result corresponding to the total number of network search times.
According to the method and the device, after the terminal completes data transmission and then searches for the network, the terminal can detect whether the network searching is successful or failed, and searches for the network again under the condition that the network searching is unsuccessful, so that the condition that the network searching result is missing can be avoided, and the comprehensiveness and reliability of the network searching result are guaranteed.
In some embodiments, the network search result includes a network PLMN value of a location where the terminal is currently located, an access system such as GSM/WCDMA/LTE/NR, signal strength and signal quality, location area code, cell id, signal strength, signal quality, and the like.
In the embodiment of the application, the network searching process is interrupted by the data transmission operation of the terminal, and only when the total network searching times exceeds the network searching time threshold, the terminal can synthesize the network searching results of each time to obtain the network parameters of each cellular network at the current position of the terminal, so that the condition that the cellular network and the parameters thereof at the current position of the terminal are incomplete due to insufficient network searching operations can be avoided.
Fig. 4 shows an architectural diagram of an example of a system suitable for applying the cellular network search method according to an embodiment of the present application.
As shown in fig. 4, the terminal 410 includes a USIM module 411, a setup HPLMN/EHPLMN module 413, and a search control module 415. Here, the terminal may be various internet access devices, such as a mobile phone. The terminal 410 may register to the home network or the visited network after loading the USIM module 411 to obtain a wireless communication network service, such as voice or internet access.
Through the USIM module 411, the user identity can be identified for the terminal, and an identity recognition and authentication algorithm can be provided in the process of registering the terminal to the PLMN. In addition, an HPLMN (HOME PLMN) configuration file and an EHPLMN (peer HOME network) configuration file also exist in the USIM module 411, and both can be used to specify the HOME network of the USIM.
It should be understood that a PLMN specified by the HPLMN or EHPLMN of the USIM in the terminal may be referred to as a "home network", and a PLMN not specified by the HPLMN or EHPLMN of the USIM in the terminal may be referred to as a "visited network".
In connection with the example in fig. 4, when the terminal is registered to the home network, the terminal is in a registration home state (or a registration home state), and when the terminal is registered to the visited network, the terminal is in a registration roaming state.
By setting the HPLMN/EHPLMN module 413, the terminal may modify the HPLMN and EHPLMN in the USIM so that the terminal considers the currently registered cellular network to be a visited network.
Specifically, after the USIM module is loaded on the terminal, when the terminal reads the HPLMN/EHPLMN, the USIMDE HPLMN/EHPLMN is modified to be a non-existent PLMN, so that the terminal may consider that the currently registered network is a visited network when registering on the network, and at this time, the terminal may start to return to the home network mechanism.
Through the network searching control module 415, the terminal can control specific network searching logic, such as controlling a network searching time interval, limiting a maximum searching number, restarting network searching when a location changes, and the like. After the terminal registers to the network, the network searching control module 415 controls the network searching logic. Therefore, the reliability of the network searching result is guaranteed, meanwhile, the data transmission request of the terminal can be responded in time, and the user experience of the terminal is guaranteed.
Fig. 5 shows a signal timing interaction diagram of an example of a cellular network search method according to an embodiment of the application.
As shown in fig. 5, the method involves a signal interaction procedure between the terminal 100 and the home network (i.e., the first PLMN 200) and other cellular networks (i.e., the second PLMN 300) of the current location of the terminal.
Specifically, in step 510, the terminal may modify the HPLMN/EHPLMN of the USIM to one PLMN that does not actually exist.
In step 520, when the terminal 100 registers itself with the first PLMN 200, the terminal may consider the first PLMN 200 to which the terminal registers itself as a visited network rather than a home network since the home network value has been modified.
In step 530, the terminal 100 is in the registration roaming state because the modified PLMN value does not actually exist.
In step 540, the terminal 100 initiates a flow back to the home network to trigger a corresponding network searching operation.
In step 550, the terminal 100 may start a network searching process according to an algorithm through the network searching control module.
In step 560, the terminal 100 searches for network parameters of all cellular networks (e.g., the second PLMN 300) in the current location.
According to the embodiment of the application, the HPLMN or EHPLMN of the USIM in the terminal is modified, so that the terminal considers that the currently registered cellular network is a visited network and is in a registration roaming state, and the process of searching the home network of the terminal is triggered and started, thereby realizing the collection of network parameters of each cellular network at the current terminal position.
Fig. 6 is a flowchart illustrating an example of a terminal initiating and controlling a network searching operation according to an embodiment of the present application. It should be noted that, at this time, the EPLMN list of the terminal has been modified, in other words, the flow shown in fig. 6 focuses on details of the network searching control process, and can be regarded as a detailed description and optimization of a specific implementation process such as step 550 in fig. 5.
As shown in fig. 6, in step 610, when a network searching operation is required, the terminal starts a search home network timer, and the timing period of the search home network timer is 1 minute. Illustratively, when the terminal detects that the location of the terminal changes, the terminal may be triggered to search for network parameters of each operator at the current location of the terminal. In addition, the terminal may also trigger the network searching requirement based on other conditions (for example, active operation of the user), which all fall within the implementation scope of the embodiments of the present application.
In step 620, it is detected whether the search home network timer has timed out. If the time is out, go to step 630, if not, go back to step 620 and continue waiting.
In step 630, it is detected whether there is transmitted user data in the network searching process.
If the result of the detection in step 630 indicates that there is user data to be transmitted, it jumps to step 640. If the result of the detection in step 630 indicates that there is no user data to be transmitted, it jumps to step 670.
In one aspect, in step 640, a back-off timer is started, the timing period of which is 10 seconds.
Next, in step 650, it is checked whether the back-off timer has timed out.
If the detection result in step 650 indicates that the back-off timer has timed out, then it jumps back to step 630 to restart the network searching operation. If the detection result in step 650 indicates that the backoff timer has not timed out, it jumps back to step 630 to wait for the terminal to finish transmitting the user data.
In step 660, data is transmitted during a timing period of the back-off timer.
In the network searching process provided by the embodiment of the application, if user data to be transmitted exists, the MODEM chip of the terminal can automatically interrupt the network searching process, that is, the priority of the user data is higher than that of the current network searching, so that the user experience is not influenced.
In step 670, on the other hand, a search for home network procedure is initiated.
It should be noted that, since the modified HPLMN/EPLMN value in step 620 is a non-existent PLMN value, that is, the home network is not existent at this time, the MODEM chip in the terminal searches all networks in the current environment, that is, searches the networks all over the network. In order to improve the network searching efficiency, the terminal can search the network according to the network frequency bands and the modes determined by all the operator networks existing in the current geographic position.
In step 680, it is checked whether the network searching operation is normally finished.
If the detection result of step 680 indicates that the network searching operation is normally ended, go to step 6100. If the detection result in step 680 indicates that the network searching operation is not ended normally, it indicates that the network searching process is interrupted, and then the process goes to step 690.
In step 690, it is detected whether the maximum number of searching for a network exceeds a preset threshold.
If the maximum number of times of searching for a network is less than or equal to the preset threshold, the process jumps back to step 610 to restart the network searching process. If the maximum number of searching the network exceeds the preset threshold, the step 6100 is skipped.
In step 6100, the terminal completes the collection of network parameters of all cellular networks in the current location, and may report the network parameters for use in subsequent service applications.
It should be understood that the type and scope of the service for the subsequent service application may be temporarily unlimited. In some examples of embodiments of the present application, the terminal may finish collecting network parameters of all cellular networks of the current location and may evaluate the performance of each network. In some application scenarios, when a plurality of USIMs are provided on a terminal and the terminal recognizes that the performance of another USIM is better than that of the current USIM, the terminal may switch the USIMs to operate. In other application scenarios, the terminal may further send the network parameters of each cellular network at the current location to the server, so that the server can perform personalized operation network configuration for the terminal, for example, the terminal may send a USIM virtual packet corresponding to a PLMN value of the optimal network performance to the terminal to perform network configuration for the terminal.
Fig. 7 is a block diagram illustrating an example of a cellular network search apparatus according to an embodiment of the present application.
As shown in fig. 7, the cellular network searching apparatus 700 includes a PLMN value obtaining unit 710, a registration roaming state configuring unit 720, and a cellular network searching unit 730.
The PLMN value acquisition unit 710 is configured to acquire a target PLMN value corresponding to a cellular network to which the terminal is currently registered.
The registration roaming state configuration unit 720 is configured to configure the terminal to a registration roaming state according to the target PLMN value.
The cellular network searching unit 730 is configured to search for network parameters of respective cellular networks existing in the current location of the terminal based on the registration roaming state.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
Fig. 8 is a schematic diagram of an example of an electronic device according to an embodiment of the present application. As shown in fig. 8, the electronic apparatus 800 of this embodiment includes: a processor 810, a memory 820, and a computer program 830 stored in the memory 820 and operable on the processor 810. The processor 810, when executing the computer program 830, implements the steps in the above-described embodiment of the cellular network searching method, such as the steps 110 to 130 shown in fig. 1. Alternatively, the processor 810, when executing the computer program 830, implements the functions of the modules/units in the above-described device embodiments, such as the functions of the units 710 to 730 shown in fig. 7.
Illustratively, the computer program 830 may be partitioned into one or more modules/units that are stored in the memory 820 and executed by the processor 810 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 830 in the electronic device 800. For example, the computer program 830 may be divided into a PLMN value acquisition program module, a registration roaming state configuration program module, and a cellular network searching program module, and the specific functions of each program module are as follows:
a PLMN value acquisition program module configured to acquire a target PLMN value corresponding to a cellular network with which the terminal is currently registered;
a registration roaming state configuration program module configured to configure the terminal into a registration roaming state according to the target PLMN value;
and the cellular network searching program module is configured to search network parameters of each cellular network existing in the current position of the terminal based on the registration roaming state.
The electronic device 800 may be a desktop computer, a notebook, a palm top computer, a cloud server, or other computing device. The electronic device may include, but is not limited to, a processor 810, a memory 820. Those skilled in the art will appreciate that fig. 8 is merely an example of an electronic device 800 and does not constitute a limitation of electronic device 800 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the electronic device may also include input-output devices, network access devices, buses, etc.
The Processor 810 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 820 may be an internal storage unit of the electronic device 800, such as a hard disk or a memory of the electronic device 800. The memory 820 may also be an external storage device of the electronic device 800, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the electronic device 800. Further, the memory 820 may also include both internal storage units and external storage devices of the electronic device 800. The memory 820 is used for storing the computer programs and other programs and data required by the electronic device. The memory 820 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. For the specific working process of the units and modules in the system, reference may be made to the corresponding process in the foregoing method embodiment.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other ways. For example, the above-described apparatus/electronic device embodiments are merely illustrative, and for example, the division of the modules or units is only one type of logical function division, and other division manners may exist in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The above units can be implemented in the form of hardware, and also can be implemented in the form of software.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (8)

1. A method of searching a cellular network, comprising:
acquiring a target PLMN value corresponding to a cellular network currently registered by the terminal; wherein the target PLMN value is a PLMN value that does not actually exist;
configuring the terminal into a registration roaming state according to the target PLMN value, so that the terminal judges that the terminal is currently in a non-home network scene;
and searching all cellular networks existing in the current position of the terminal based on the registration roaming state to obtain network parameters of all cellular networks.
2. The method of claim 1, wherein the configuring the terminal to register a roaming state based on the target PLMN value comprises:
and modifying the HPLMN and EHPLMN values of the terminal into target PLMN values.
3. The method of claim 1, wherein the searching for the network parameters of the respective cellular networks existing in the current location of the terminal based on the registration roaming status comprises:
and starting a first timer based on the registration roaming state, and executing a first network searching operation of the home network after the first timer is overtime.
4. The method as claimed in claim 3, wherein said performing a first network searching operation of the home network after said first timer expires comprises:
after the first timer is overtime, detecting whether at least one terminal data transmission request exists or not;
and when the data transmission request of the first terminal is detected, waiting for the completion of data transmission, and then executing a second network searching operation of the home network.
5. The method of claim 4, wherein after waiting for completion of data transmission and performing the second network searching operation of the home network when the data transmission request of the first terminal is detected, the method further comprises:
judging whether the network searching operation of the home network is normally finished or not;
if the network searching of the home network is normally finished, reporting network parameters of each cellular network existing in the current position;
if the network searching of the home network is abnormally finished, the total network searching times is increased once;
judging whether the total network searching times exceeds a preset network searching time threshold value or not;
if the total network searching times is smaller than or equal to the network searching time threshold, restarting the first timer, and executing the first network searching operation of the home network after the first timer is overtime;
and if the total network searching times exceeds the network searching time threshold, reporting the network parameters of each cellular network existing in the current position according to the network searching result corresponding to the total network searching times.
6. A cellular network searching apparatus, comprising:
a PLMN value acquisition unit configured to acquire a target PLMN value corresponding to a cellular network with which the terminal is currently registered; wherein the target PLMN value is a PLMN value that does not actually exist;
a registration roaming state configuration unit, configured to configure the terminal into a registration roaming state according to a target PLMN value, so that the terminal determines that the terminal is currently in a non-home network scenario;
and the cellular network searching unit is configured to search all cellular networks existing in the current position of the terminal based on the registration roaming state to obtain network parameters of all cellular networks.
7. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any of claims 1-5 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1-5.
CN202110260282.9A 2021-03-10 2021-03-10 Cellular network searching method and device Active CN113163469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110260282.9A CN113163469B (en) 2021-03-10 2021-03-10 Cellular network searching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110260282.9A CN113163469B (en) 2021-03-10 2021-03-10 Cellular network searching method and device

Publications (2)

Publication Number Publication Date
CN113163469A CN113163469A (en) 2021-07-23
CN113163469B true CN113163469B (en) 2023-03-10

Family

ID=76886839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110260282.9A Active CN113163469B (en) 2021-03-10 2021-03-10 Cellular network searching method and device

Country Status (1)

Country Link
CN (1) CN113163469B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103781087A (en) * 2014-01-06 2014-05-07 联想(北京)有限公司 Information processing method and mobile terminal
CN105307148A (en) * 2014-06-05 2016-02-03 中国移动通信集团公司 Roaming network selection method, network element and terminal
CN105657789A (en) * 2016-01-28 2016-06-08 努比亚技术有限公司 Device and method for network search in roaming state
CN105792318A (en) * 2014-12-22 2016-07-20 中兴通讯股份有限公司 Method and device for searching priority network
CN106465248A (en) * 2014-03-28 2017-02-22 华为终端有限公司 Method and apparatus for network entry in roaming
CN106465236A (en) * 2014-04-15 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Network searching method and network searching device, and terminal
CN108966317A (en) * 2018-07-25 2018-12-07 广东小天才科技有限公司 A kind of method for searching network and mobile terminal based on mobile terminal
CN110602764A (en) * 2019-09-23 2019-12-20 捷开通讯(深圳)有限公司 Network searching method, device, storage medium and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101587657B1 (en) * 2009-10-22 2016-01-21 삼성전자주식회사 METHOD FOR SEARCHING Home PLMN IN PORTABLE TERMINAL
US8983447B2 (en) * 2012-08-14 2015-03-17 Qualcomm Incorporated Methods, systems and devices for dynamic HPLMN configuration
WO2015042918A1 (en) * 2013-09-29 2015-04-02 华为终端有限公司 Method and apparatus for searching network
CN105554851A (en) * 2015-12-22 2016-05-04 努比亚技术有限公司 Quick network searching method and device for mobile terminal
TWI630834B (en) * 2017-05-19 2018-07-21 華碩電腦股份有限公司 Wireless communication device and roaming network registration method
CN107197538A (en) * 2017-05-19 2017-09-22 广东欧珀移动通信有限公司 A kind of method and terminal for connecting network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103781087A (en) * 2014-01-06 2014-05-07 联想(北京)有限公司 Information processing method and mobile terminal
CN106465248A (en) * 2014-03-28 2017-02-22 华为终端有限公司 Method and apparatus for network entry in roaming
CN106465236A (en) * 2014-04-15 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Network searching method and network searching device, and terminal
CN105307148A (en) * 2014-06-05 2016-02-03 中国移动通信集团公司 Roaming network selection method, network element and terminal
CN105792318A (en) * 2014-12-22 2016-07-20 中兴通讯股份有限公司 Method and device for searching priority network
CN105657789A (en) * 2016-01-28 2016-06-08 努比亚技术有限公司 Device and method for network search in roaming state
CN108966317A (en) * 2018-07-25 2018-12-07 广东小天才科技有限公司 A kind of method for searching network and mobile terminal based on mobile terminal
CN110602764A (en) * 2019-09-23 2019-12-20 捷开通讯(深圳)有限公司 Network searching method, device, storage medium and terminal

Also Published As

Publication number Publication date
CN113163469A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
RU2645275C2 (en) Communication system and communication method, communication device and method of its control and data medium
CN111801967B (en) Electronic device using multiple subscriber identity modules and method for providing communication service thereof
US9474097B2 (en) Method and device for transporting location registration result information
US11809855B2 (en) Software upgrade management method, server, terminal, apparatus, and storage medium
WO2016173337A1 (en) Network access method and mobile communications terminal
JP7010521B2 (en) Cell selection methods and terminals, as well as programs and computer-readable storage media
WO2018010425A1 (en) Method and apparatus for pushing and receiving wi-fi hotspot information, and storage medium
CN107211380B (en) Method, device and system for synchronizing call supplementary service configuration
WO2016173339A1 (en) Network access method and mobile communication terminal
CN109803252B (en) Secondary eSIM card logout method, eSIM server, terminal and system
CN111093235B (en) Network switching method, equipment and storage medium
CN114615635A (en) Voice service method and device based on different network roaming
CN113543281A (en) Voice communication method and voice communication device
WO2016180226A1 (en) Network searching method, apparatus and computer-readable storage medium
CN112566078A (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN110461023B (en) Cell residence method and device for voice service, storage medium and main base station
CN113242542B (en) Network searching control method and device of mobile terminal and mobile terminal
CN113163469B (en) Cellular network searching method and device
CN107466087B (en) Network searching method and mobile terminal
CN108464038B (en) Circuit domain fallback method, base station, mobile management entity and terminal
US11689921B2 (en) Cellular service management for secondary mobile wireless devices
CN114885402A (en) Network residing method, device, electronic equipment and storage medium
CN102143558A (en) Method and device for processing network reject message
CN113543282B (en) Wireless roaming method and system
CN113079500B (en) Terminal activation method and device, storage medium and electronic equipment

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