CN110611946B - Method for accessing terminal to mobile communication network and terminal - Google Patents

Method for accessing terminal to mobile communication network and terminal Download PDF

Info

Publication number
CN110611946B
CN110611946B CN201910964166.8A CN201910964166A CN110611946B CN 110611946 B CN110611946 B CN 110611946B CN 201910964166 A CN201910964166 A CN 201910964166A CN 110611946 B CN110611946 B CN 110611946B
Authority
CN
China
Prior art keywords
mobile communication
communication network
peer
list
network number
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
CN201910964166.8A
Other languages
Chinese (zh)
Other versions
CN110611946A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201910964166.8A priority Critical patent/CN110611946B/en
Publication of CN110611946A publication Critical patent/CN110611946A/en
Application granted granted Critical
Publication of CN110611946B publication Critical patent/CN110611946B/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

Abstract

The invention provides a method for accessing a mobile communication network by a terminal, which comprises the steps of firstly judging whether a searched mobile communication network number contains a 5G mobile communication network number, when the mobile communication network number contains the 5G mobile communication network number, detecting whether a priority list built in an SIM card contains the searched 5G mobile communication network number, further detecting whether a stored peer-to-peer public mobile network list (EPLMN list) contains the searched 5G mobile communication network number when detecting that the priority list built in the SIM card does not contain the searched 5G mobile communication network number, and selecting a corresponding mobile communication network from the searched 5G mobile communication network number for accessing when detecting that the EPLMN list contains the searched 5G mobile communication network number. The invention relates to the technical field of communication.

Description

Method for accessing terminal to mobile communication network and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for accessing a terminal to a mobile communication network and a terminal.
Background
The mobile communication network number is a number allocated to a mobile communication operator for identifying a mobile communication network operated by the mobile communication operator, for example, the mobile communication network number of china mobile is 46000, the mobile communication network number of china unicom is 46001, a base station broadcasts the mobile communication network number through a wireless interface, when a terminal needs to connect to a network, available mobile communication network numbers broadcasted by surrounding base stations are searched, and then a network access with the highest priority is selected from all available mobile communication network numbers according to the network priority built in the SIM card, if all the searched available mobile communication network numbers are not included in the network priority built in the SIM card, the terminal sequentially attempts to access each available mobile communication network until an accessible network is found (suitable for a roaming state), after the terminal accesses the mobile communication network, and displaying the corresponding operator name by inquiring the corresponding relation database of the mobile communication network number and the operator name stored by the mobile communication network number and the operator name.
With the gradual maturity of 5G technology, the use of 5G mobile communication networks gradually enters the head track, because the construction cost of 5G networks is high, in some areas, operators directly broadcast the mobile communication network number corresponding to the 5G network on the original base station without broadcasting the mobile communication network number corresponding to the 2/3/4G network, in some areas, the operators do not deploy their own network base stations but share the base stations of other operators, in addition, most existing users have fixed-use SIM cards and do not want to change, in this case, in the same place, the user's terminal often searches for more than two mobile communication network numbers, including the old mobile communication network number of the 4G network and the new mobile communication network number of the 5G network, because the mobile communication network number of the 4G is set as the highest priority in the original SIM card, the mobile communication network number of 5G is not configured in the priority list set by the original SIM card, so that the terminal can be preferentially logged in the 4G network and cannot be smoothly accessed to the 5G network, and the user experience is poor; in addition, in a region where networks of other operators are shared, after a user accesses a mobile communication network of the other operator, the name of the other operator is displayed on a mobile phone of the user, but the name of the home operator is not displayed, which is also disadvantageous to brand construction of the operators and affects user experience.
Disclosure of Invention
The invention aims to at least solve one of the technical problems in the prior art, and provides a method for accessing a terminal into a mobile communication network and the terminal, which are used for solving the problem that the terminal in the prior art can not be smoothly accessed into a 5G mobile communication network.
In one aspect, the present invention provides a method for accessing a terminal to a mobile communication network, including:
searching for a first mobile communication network number of an accessible mobile communication network;
judging whether a mobile communication network number corresponding to the 5G mobile communication network exists in all the first mobile communication network numbers;
when judging that mobile communication network numbers corresponding to the 5G mobile communication networks exist in all the first mobile communication network numbers, identifying the mobile communication network numbers corresponding to the 5G mobile communication networks in all the first mobile communication network numbers as second mobile communication network numbers, and detecting whether a priority list built in an SIM card contains at least one second mobile communication network number;
when the priority list is detected not to contain the second mobile communication network number, further detecting whether a pre-stored first peer-to-peer public mobile network list contains at least one second mobile communication network number;
and when detecting that the first peer-to-peer public mobile network list contains at least one second mobile communication network number, selecting one of the at least one second mobile communication network number contained in the first peer-to-peer public mobile network list as a target mobile communication network number so as to access a mobile communication network corresponding to the target mobile communication network number.
Preferably, when it is determined that there is no mobile communication network number corresponding to a 5G mobile communication network in all the first mobile communication network numbers, and when it is detected that the first equivalent public mobile network list does not include the second mobile communication network number, it is detected whether a priority list built in a SIM card includes at least one first mobile communication network number;
when detecting that the priority list comprises at least one first mobile communication network number, selecting a mobile communication network number with the highest priority from the at least one first mobile communication network number contained in the priority list as a target mobile communication network number so as to access a mobile communication network corresponding to the target mobile communication network number;
when the priority list is detected not to contain the first mobile communication network number, the network corresponding to each first mobile communication network number is tried to be accessed in sequence until the network corresponding to the accessible first mobile communication network number is found.
Preferably, when it is detected that the priority list includes at least one second mobile communication network number, a second mobile communication network number with the highest priority is selected from the at least one second mobile communication network number included in the priority list as a target mobile communication network number according to the priority relationship of the priority list, so as to access the mobile communication network corresponding to the target mobile communication network number.
Preferably, the method further comprises:
when accessing a 3G or 4G network provided by a home operator, receiving a second peer-to-peer public mobile network list issued by the home operator network;
comparing whether the second peer public mobile network list is consistent with the stored first peer public mobile network list;
and if the comparison shows that the two lists are inconsistent, replacing the first peer-to-peer public mobile network list with the second peer-to-peer public mobile network list.
Preferably, after accessing the mobile communication network corresponding to the target mobile communication network number, the method further includes:
inquiring the first peer-to-peer public mobile network list according to the target mobile communication network number to determine whether the first peer-to-peer public mobile network list contains the target mobile communication network number;
when the first peer-to-peer public mobile network list is determined to contain the target mobile communication network number, displaying the name of the operator to which the first peer-to-peer public mobile network list belongs;
and when the first equivalent public mobile network list does not contain the target mobile communication network number, inquiring from a mobile communication network database of the first equivalent public mobile network list according to the target mobile communication network number so as to determine a target operator name corresponding to the target mobile communication network number and display the target operator name.
In another aspect, the present invention further provides a terminal, including:
a search unit for searching for a first mobile communication network number of an accessible mobile communication network;
a first judging unit, configured to judge whether a mobile communication network number corresponding to a 5G mobile communication network exists in all the first mobile communication network numbers searched by the searching unit;
an identifying unit, configured to identify a mobile communication network number corresponding to a 5G mobile communication network in all the first mobile communication network numbers as a second mobile communication network number when the first determining unit determines that the mobile communication network number corresponding to the 5G mobile communication network exists in all the first mobile communication network numbers;
a first detecting unit, configured to detect whether a priority list built in a SIM card includes at least one second mobile communication network number after the identifying unit identifies the second mobile communication network number;
a second detecting unit, configured to detect whether a first peer-to-peer public mobile network list stored in advance includes at least one second mobile communication network number when the first detecting unit detects that the priority list does not include the second mobile communication network number;
a selecting unit, configured to select one of the at least one second mobile communication network number included in the first peer to peer public mobile network list as a target mobile communication network number when the second detecting unit detects that the first peer to peer public mobile network list includes the at least one second mobile communication network number;
and the access unit is used for accessing the mobile communication network corresponding to the target mobile communication network number according to the target mobile communication network number selected by the selection unit.
Preferably, the terminal further comprises a third detection unit;
the third detecting unit is configured to detect whether a priority list built in the SIM card includes at least one first mobile communication network number when the first determining unit determines that the mobile communication network number corresponding to the 5G mobile communication network does not exist in all the first mobile communication network numbers and when the second detecting unit detects that the first equivalent public mobile network list does not include the second mobile communication network number;
the selection unit is further configured to select a mobile communication network number with a highest priority from at least one first mobile communication network number included in the priority list as a target mobile communication network number when the third detection unit detects that the priority list built in the SIM card includes at least one first mobile communication network number;
the access unit is further configured to, when the third detecting unit detects that the priority list does not include the first mobile communication network number, sequentially attempt to access a network corresponding to each of the first mobile communication network numbers until an accessible network corresponding to the first mobile communication network number is found.
Preferably, the selecting unit is further configured to select a second mobile communication network number with the highest priority from the at least one second mobile communication network number included in the priority list as the target mobile communication network number according to the priority relationship of the priority list when the first detecting unit detects that the priority list includes the at least one second mobile communication network number.
Preferably, the terminal further includes:
a receiving unit, configured to receive a second peer-to-peer public mobile network list delivered by a home operator network when accessing a 3G or 4G network provided by the home operator;
a comparing unit, configured to compare whether the second peer-to-peer public mobile network list is consistent with the stored first peer-to-peer public mobile network list when the receiving unit receives the second peer-to-peer public mobile network list;
and the updating unit is used for replacing the first peer-to-peer public mobile network list with the second peer-to-peer public mobile network list when the comparison unit compares that the second peer-to-peer public mobile network list is inconsistent with the first peer-to-peer public mobile network list.
Preferably, the terminal further includes:
a first query unit, configured to query the first peer-to-peer public mobile network list according to the target mobile communication network number after a terminal accesses a mobile communication network corresponding to the target mobile communication network number, so as to determine whether the first peer-to-peer public mobile network list includes the target mobile communication network number;
a display unit, configured to display an operator name of an operator to which the first query unit belongs when the first peer-to-peer public mobile network list includes the target mobile communication network number;
a second query unit, configured to, when the first query unit determines that the first peer-to-peer public mobile network list does not include the target mobile communication network number, query from a mobile communication network database of the first query unit according to the target mobile communication network number to determine a target operator name corresponding to the target mobile communication network number;
the display unit is further configured to display the name of the target operator.
The invention has the beneficial technical effects that:
the method and terminal for accessing mobile communication network by the terminal provided by the invention, when the terminal wants to access the mobile communication network, firstly judging whether the searched mobile communication network number contains the 5G mobile communication network number, when judging that the mobile communication network number contains the 5G mobile communication network number, detecting whether the priority list arranged in the SIM card contains the searched 5G mobile communication network number, when detecting that the priority list arranged in the SIM card does not contain the searched 5G mobile communication network number, further detecting whether the stored peer-to-peer public mobile network list (EPLMN list) contains the searched 5G mobile communication network number, and when detecting that the EPLMN list contains the searched 5G mobile communication network number, selecting a corresponding mobile communication network from the searched 5G mobile communication network number for accessing, that is, the present invention stores an EPLMN list in the terminal, where the EPLMN list includes a 5G mobile communication network number available to the terminal, and further detects the EPLMN list when detecting that the priority list built in the SIM card does not include the searched 5G mobile communication network number, so that the 5G mobile communication network searched by the terminal can be roughly included in the mobile communication network option of the terminal, and further, the terminal can preferentially access the 5G mobile communication network when performing mobile communication network access, thereby improving user experience.
Drawings
Fig. 1 is a flowchart of a method for a terminal to access a mobile communication network according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for a terminal to access a mobile communication network according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal according to a third embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, a method for accessing a mobile communication network by a terminal and the terminal provided by the present invention are described in detail below with reference to the accompanying drawings.
Example one
The embodiment provides a method for a terminal to access a mobile communication network, as shown in fig. 1, the method includes:
step S101, searching a first mobile communication network number of an accessible mobile communication network.
Step S102, judging whether the mobile communication network number corresponding to the 5G mobile communication network exists in all the first mobile communication network numbers.
When it is determined that the mobile communication network number corresponding to the 5G mobile communication network exists among all the first mobile communication network numbers, step S103 is performed.
Step S103, identifying a mobile communication network number corresponding to the 5G mobile communication network in all the first mobile communication network numbers as a second mobile communication network number.
Step S104, whether the priority list built in the SIM card contains at least one second mobile communication network number is detected.
When it is detected that the second mobile communication network number is not included in the priority list, step S105 is performed.
Step S105, whether the pre-stored first peer-to-peer public mobile network list contains at least one second mobile communication network number is detected.
In the present invention, the peer-to-peer Public Mobile Network list is also called as an EPLMN list, where EPLMN is an abbreviation of an Equivalent Public Land Mobile Network, called as a peer-to-peer Public Land Mobile Network, and is a Public Land Mobile Network in the same position as a PLMN (Public Land Mobile Network) currently selected by the terminal, where the PLMN is a Mobile communication Network according to the present invention, and an operator realizes communication Network resource sharing by configuring the EPLMN, that is, realizes communication resource sharing between Network resources of different operators or different PLMNs defined by the same operator. The EPLMN list is issued by an operator to which the terminal belongs (through a base station), and the terminal receives the EPLMN list and stores the EPLMN list so as to facilitate subsequent use. The EPLMN list includes the mobile communication network numbers of the mobile communication networks accessible to the terminal provided by the home operator and the mobile communication network numbers of the mobile communication networks provided by other operators that can be shared, and specifically includes: 2/3/4G mobile communication network number provided by the home operator, 5G mobile communication network number provided by the home operator, and 5G mobile communication network number shared by other operators, and the like. The EPLMN technology is known in the art and is not described in detail herein.
In step S105, when it is detected that the first peer-to-peer public mobile network list includes at least one second mobile communication network number, the following step S106 is performed.
Step S106, selecting one of at least one second mobile communication network number contained in the first peer-to-peer public mobile network list as a target mobile communication network number so as to access the mobile communication network corresponding to the target mobile communication network number.
The method for accessing a mobile communication network by a terminal provided in this embodiment includes, when the terminal wants to access the mobile communication network, first determining whether a searched mobile communication network number includes a 5G mobile communication network number, when determining that the searched mobile communication network number includes the 5G mobile communication network number, detecting whether a priority list built in a SIM card includes the searched 5G mobile communication network number, and when detecting that the priority list built in the SIM card does not include the searched 5G mobile communication network number, further detecting whether a stored peer-to-peer public mobile network list (EPLMN list) includes the searched 5G mobile communication network number, and when detecting that the EPLMN list includes the searched 5G mobile communication network number, selecting a corresponding mobile communication network from the searched 5G mobile communication network numbers for access, that is, the present invention stores an EPLMN list in the terminal, where the EPLMN list includes a 5G mobile communication network number available to the terminal, and further detects the EPLMN list when detecting that the priority list built in the SIM card does not include the searched 5G mobile communication network number, so that the 5G mobile communication network searched by the terminal can be roughly included in the mobile communication network option of the terminal, and further, the terminal can preferentially access the 5G mobile communication network when performing mobile communication network access, thereby improving user experience.
Example two
The present embodiment provides a method for a terminal to access a mobile communication network, as shown in fig. 2, the method includes:
step S201, searching for a first mobile communication network number of an accessible mobile communication network.
When a terminal needs to access a Mobile communication Network, the terminal searches for a currently available Mobile communication Network, specifically, the terminal searches for a currently available Mobile communication Network number, it should be noted that the Mobile communication Network number described in the present invention refers to a PLMN (Public Land Mobile Network) number, and each Mobile communication Network provided by an operator has a different Mobile communication Network number, that is, each of the 3G, 4G and 5G Mobile communication networks has a different Mobile communication Network number.
Step S202, judging whether the mobile communication network number corresponding to the 5G mobile communication network exists in all the first mobile communication network numbers.
In the invention, after all available mobile communication network numbers (first mobile communication network numbers) are obtained by searching, whether all the first mobile communication network numbers include the mobile communication network number corresponding to the 5G mobile communication network is judged so that the terminal can be preferentially considered to access the 5G mobile communication network.
In step S202, when it is determined that the mobile communication network number corresponding to the 5G mobile communication network does not exist in all the first mobile communication network numbers, the process proceeds to step S203'; when it is determined that the mobile communication network number corresponding to the 5G mobile communication network exists in all the first mobile communication network numbers, the process proceeds to step S203.
Step S203', detecting whether the priority list built in the SIM card contains at least one first mobile communication network number.
When detecting that the priority list includes at least one first mobile communication network number, executing step S204'; when it is detected that the first mobile communication network number is not included in the priority list, step S205' is performed.
Step S204', selecting the mobile communication network number with the highest priority from the at least one first mobile communication network number included in the priority list as the target mobile communication network number, so as to access the mobile communication network corresponding to the target mobile communication network number.
Step S205', sequentially try to access the network corresponding to each first mobile communication network number until a network corresponding to an accessible first mobile communication network number is found.
Steps S203 '-S205' are measures taken when the terminal determines that the mobile communication network number corresponding to the 5G mobile communication network does not exist in all the first mobile communication network numbers, specifically, when it determines that the mobile communication network number corresponding to the 5G mobile communication network does not exist in all the first mobile communication network numbers, it indicates that the terminal does not currently have an available 5G mobile communication network to access, at this time, the terminal selects a mobile communication network to access according to a conventional procedure for accessing the mobile communication network by the terminal, that is, the terminal selects a mobile communication network to access from the first mobile communication network numbers by referring to a priority list built in the SIM card.
In step S203, the mobile communication network number corresponding to the 5G mobile communication network in all the first mobile communication network numbers is identified as the second mobile communication network number.
Step S204, whether the priority list built in the SIM card contains at least one second mobile communication network number is detected.
When detecting that the second mobile communication network number is included in the priority list, executing step S205; when detecting that the second mobile communication network number is not included in the priority list, executing step S206;
step S205, according to the priority relationship of the priority list, selecting a second mobile communication network number with the highest priority from at least one second mobile communication network number included in the priority list as the target mobile communication network number, so as to access the mobile communication network corresponding to the target mobile communication network number.
Step S206, whether the pre-stored first peer-to-peer public mobile network list contains at least one second mobile communication network number is detected.
When detecting that the first peer-to-peer public mobile network list includes at least one second mobile communication network number, executing step S207; if it is detected that the first peer-to-peer public mobile network list does not include the second mobile communication network number, step S203' is further performed.
Step S207, selecting one of the at least one second mobile communication network number included in the first peer-to-peer public mobile network list as a target mobile communication network number to access the mobile communication network corresponding to the target mobile communication network number.
In this embodiment, when the terminal determines that the mobile communication network number corresponding to the 5G mobile communication network exists in all the first mobile communication network numbers, it first detects whether the priority list built in the SIM includes the searched 5G mobile communication network number (second mobile communication network number), if the priority list includes at least one second mobile communication network number, it selects an access from the at least one second mobile communication network number directly according to the priority relationship of the priority list, and if the priority list does not include the second mobile communication network number, it further detects a first equivalent public mobile network list stored in the terminal, where the first equivalent public mobile network list stores the mobile communication network provided by the operator to which the terminal belongs and the mobile communication networks provided by other sharable operators, when it is detected that the first peer-to-peer public mobile network list includes at least one second mobile communication network number, it indicates that the 5G mobile communication network number (second mobile communication network number) searched by the terminal includes a mobile communication network accessible by the user, and at this time, one second mobile communication network number may be selected to access.
In this embodiment, the first peer to peer public mobile network list stored in the terminal is issued by the operator network to which the terminal belongs, and is updated aperiodically, and in this embodiment, the first peer to peer public mobile network list is updated according to the following method:
(1) and when accessing the 3G or 4G network provided by the home operator, receiving a second peer-to-peer public mobile network list sent by the home operator network.
(2) And comparing whether the second peer public mobile network list is consistent with the stored first peer public mobile network list or not, if so, replacing the first peer public mobile network list with the second peer public mobile network list to complete the updating of the first peer public mobile network list, and if not, not updating the first peer public mobile network list.
The embodiment can ensure that the peer-to-peer public mobile network list stored in the terminal is up-to-date by updating the first peer-to-peer public mobile network list at irregular time, thereby ensuring that the terminal can be correctly and smoothly accessed into a legal 5G mobile communication network.
It should be noted that, in this embodiment, the manner of storing the first peer-to-peer public mobile network list in the terminal may be non-volatile storage (data is not lost after the terminal is powered off and restarted), or volatile storage (data is lost after the terminal is powered off and restarted), and when the storage manner is volatile storage, the terminal is firstly accessed to a 3G or 4G network provided by an affiliated operator to receive and store the peer-to-peer public mobile network list issued by the operator network at each time of powering on.
In this embodiment, when determining that the mobile communication network number corresponding to the 5G mobile communication network exists in all the first mobile communication network numbers, the method for accessing the mobile communication network by the terminal according to the second mobile communication network number can enable a user who has replaced a SIM card (for example, a SIM card replaced with a 5G SIM card) to quickly access the 5G mobile communication network according to a conventional procedure for accessing the mobile communication network (according to the priority list built in the SIM card) by first detecting whether the mobile communication network number includes at least one second mobile communication network number in the priority list built in the SIM card, and further search for whether the second mobile communication network number includes at least one second mobile communication network number from the stored first peer public mobile network list when the second mobile communication network number does not include the priority list built in the SIM card, so as to ensure that the user who does not replace the SIM card can smoothly access the 5G mobile communication network in time Under the condition that the 3G, 4G and 5G networks coexist, the 5G network is accessed in priority smoothly, so that the user experience is higher.
Step S208, inquiring the first peer-to-peer public mobile network list according to the target mobile communication network number to determine whether the first peer-to-peer public mobile network list contains the target mobile communication network number.
When it is determined that the first peer-to-peer public mobile network list includes the target mobile communication network number, step S209 is executed; when it is determined that the first peer to peer public mobile network list does not include the target mobile communication network number, step S210 is performed.
Step S209 displays the operator name of the operator to which the mobile terminal belongs.
Step S210, according to the target mobile communication network number, querying from the mobile communication network database of the mobile communication network to determine a target operator name corresponding to the target mobile communication network number, and displaying the target operator name.
Steps S208 to S210 are steps of displaying the name of the operator after the terminal accesses the mobile communication network.
In this embodiment, when displaying the name of the operator, first determining whether the target Mobile communication network number of the accessed target Mobile communication network exists in a first equivalent public Mobile network list stored in the terminal, and when querying that the first equivalent public Mobile network list contains the target Mobile communication network number, it indicates that the target Mobile communication network accessed by the terminal is a 5G Mobile communication network, and at this time, the target Mobile communication network is either a 5G Mobile communication network provided by the operator to which the terminal belongs or a 5G Mobile communication network of another operator shared by the operators to which the terminal belongs, and at this time, to enhance brand construction, the terminal should display the name of the operator to which the terminal belongs, specifically, the terminal first obtains the Mobile communication network number (IMSI number (International Mobile Subscriber Identity, international mobile subscriber identity), and further performs query from a mobile communication network database stored in the mobile communication network database according to the acquired mobile communication network number of the home operator to acquire the name of the home operator, and further displays the name of the home operator, wherein the mobile communication network database stores the corresponding relationship between the global mobile communication network number and the name of the operator, and the mobile communication network number and the name of the operator are stored in advance by the terminal.
And when the first equivalent public mobile network list is inquired to contain no target mobile communication network number, the target mobile communication network number is accessed to the mobile communication network according to the conventional mobile communication network access process, and at the moment, the mobile communication network database stored by the target mobile communication network number is directly inquired according to the target mobile communication network number, so that the correct operator name corresponding to the target mobile communication network can be obtained.
EXAMPLE III
The present embodiment provides a terminal, as shown in fig. 3, including: the device comprises a searching unit 11, a first judging unit 12, a recognition unit 13, a first detection unit 14, a second detection unit 15, a selection unit 16 and an access unit 17.
Wherein, the searching unit 11 is used for searching a first mobile communication network number of an accessible mobile communication network; the first judging unit 12 is configured to judge whether a mobile communication network number corresponding to a 5G mobile communication network exists in all the first mobile communication network numbers searched by the searching unit 11; the identifying unit 13 is configured to identify a mobile communication network number corresponding to a 5G mobile communication network in all the first mobile communication network numbers as a second mobile communication network number when the first determining unit 12 determines that the mobile communication network number corresponding to the 5G mobile communication network exists in all the first mobile communication network numbers; the first detecting unit 14 is configured to detect whether at least one second mobile communication network number is included in a priority list built in the SIM card after the identifying unit 13 identifies the second mobile communication network number; the second detecting unit 15 is configured to detect whether the prestored first peer-to-peer public mobile network list includes at least one second mobile communication network number when the first detecting unit 14 detects that the priority list does not include the second mobile communication network number; the selecting unit 16 is configured to, when the second detecting unit 15 detects that at least one of the second mobile communication network numbers is included in the first peer-to-peer public mobile network list, select one of the at least one of the second mobile communication network numbers included in the first peer-to-peer public mobile network list as a target mobile communication network number; the access unit 17 is configured to access the mobile communication network corresponding to the target mobile communication network number according to the target mobile communication network number selected by the selection unit 16.
Further, the terminal provided in this embodiment further includes a third detecting unit 18, configured to detect whether at least one first mobile communication network number is included in a priority list built in a SIM card when the first determining unit 12 determines that a mobile communication network number corresponding to a 5G mobile communication network does not exist in all the first mobile communication network numbers and when the second detecting unit 15 detects that the first equivalent public mobile network list does not include the second mobile communication network number; at this time, the selecting unit 16 is further configured to select, when the third detecting unit 18 detects that at least one of the first mobile communication network numbers is included in a priority list built in the SIM card, a mobile communication network number with a highest priority from the at least one of the first mobile communication network numbers included in the priority list as a target mobile communication network number; the accessing unit 17 is further configured to, when the third detecting unit 18 detects that the first mobile communication network number is not included in the priority list, sequentially attempt to access the network corresponding to each of the first mobile communication network numbers until an accessible network corresponding to the first mobile communication network number is found.
Further, the selecting unit 16 is further configured to select a second mobile communication network number with the highest priority from the at least one second mobile communication network number included in the priority list as the target mobile communication network number according to the priority relationship of the priority list when the first detecting unit 14 detects that the priority list includes at least one second mobile communication network number.
Further, the terminal provided in this embodiment further includes: a receiving unit 19, a comparing unit 20, and an updating unit 21; the receiving unit 19 is configured to receive a second peer-to-peer public mobile network list delivered by a home operator network when accessing a 3G or 4G network provided by the home operator; the comparing unit 20 is configured to compare, when the receiving unit 19 receives the second peer public mobile network list, whether the second peer public mobile network list is consistent with the stored first peer public mobile network list; the updating unit 21 is configured to replace the first peer-to-peer public mobile network list with the second peer-to-peer public mobile network list when the comparing unit 20 compares that the second peer-to-peer public mobile network list is inconsistent with the first peer-to-peer public mobile network list.
Further, the terminal provided in this embodiment further includes: a first search unit 22, a second search unit 23, and a display unit 24; the first querying unit 22 is configured to query the first peer-to-peer public mobile network list according to the target mobile communication network number after the terminal accesses the mobile communication network corresponding to the target mobile communication network number, so as to determine whether the first peer-to-peer public mobile network list includes the target mobile communication network number; the display unit 24 is configured to display an operator name of an operator to which the first querying unit 22 belongs when the first equivalent public mobile network list includes the target mobile communication network number; the second querying unit 23 is configured to, when the first querying unit 22 determines that the first equivalent public mobile network list does not include the target mobile communication network number, query from a mobile communication network database of the first querying unit according to the target mobile communication network number to determine a target operator name corresponding to the target mobile communication network number; the display unit 24 is further configured to display the target operator name.
For the method for the terminal to access the mobile communication network provided in the first and second embodiments of the present invention, specifically, for the functional units and the interaction among the functional units of the terminal provided in this embodiment, please refer to the description of the corresponding method steps in the first and second embodiments, which is not described herein again.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (10)

1. A method for a terminal to access a mobile communication network, the method comprising:
searching for a first mobile communication network number of an accessible mobile communication network;
judging whether a mobile communication network number corresponding to the 5G mobile communication network exists in all the first mobile communication network numbers;
when judging that mobile communication network numbers corresponding to the 5G mobile communication networks exist in all the first mobile communication network numbers, identifying the mobile communication network numbers corresponding to the 5G mobile communication networks in all the first mobile communication network numbers as second mobile communication network numbers, and detecting whether a priority list built in an SIM card contains at least one second mobile communication network number;
when the priority list is detected not to contain the second mobile communication network number, further detecting whether a pre-stored first peer-to-peer public mobile network list contains at least one second mobile communication network number;
and when detecting that the first peer-to-peer public mobile network list contains at least one second mobile communication network number, selecting one of the at least one second mobile communication network number contained in the first peer-to-peer public mobile network list as a target mobile communication network number so as to access a mobile communication network corresponding to the target mobile communication network number.
2. The method according to claim 1, wherein when it is determined that there is no mobile communication network number corresponding to a 5G mobile communication network in all the first mobile communication network numbers, and when it is detected that the first peer-to-peer public mobile network list does not include the second mobile communication network number, it is detected whether at least one of the first mobile communication network numbers is included in a priority list built in a SIM card;
when detecting that the priority list comprises at least one first mobile communication network number, selecting a mobile communication network number with the highest priority from the at least one first mobile communication network number contained in the priority list as a target mobile communication network number so as to access a mobile communication network corresponding to the target mobile communication network number;
when the priority list is detected not to contain the first mobile communication network number, the network corresponding to each first mobile communication network number is tried to be accessed in sequence until the network corresponding to the accessible first mobile communication network number is found.
3. The method according to claim 1, wherein when it is detected that the priority list includes at least one second mobile communication network number, a second mobile communication network number with a highest priority is selected from the at least one second mobile communication network number included in the priority list as a target mobile communication network number according to a priority relationship of the priority list, so as to access a mobile communication network corresponding to the target mobile communication network number.
4. A method for a terminal to access a mobile communications network according to any one of claims 1 to 3, the method further comprising:
when accessing a 3G or 4G network provided by a home operator, receiving a second peer-to-peer public mobile network list issued by the home operator network;
comparing whether the second peer public mobile network list is consistent with the stored first peer public mobile network list;
and if the comparison shows that the two lists are inconsistent, replacing the first peer-to-peer public mobile network list with the second peer-to-peer public mobile network list.
5. The method for accessing the mobile communication network by the terminal according to any one of claims 1 to 3, further comprising, after accessing the mobile communication network corresponding to the target mobile communication network number:
inquiring the first peer-to-peer public mobile network list according to the target mobile communication network number to determine whether the first peer-to-peer public mobile network list contains the target mobile communication network number;
when the first peer-to-peer public mobile network list is determined to contain the target mobile communication network number, displaying the name of the operator to which the first peer-to-peer public mobile network list belongs;
and when the first equivalent public mobile network list does not contain the target mobile communication network number, inquiring from a mobile communication network database of the first equivalent public mobile network list according to the target mobile communication network number so as to determine a target operator name corresponding to the target mobile communication network number and display the target operator name.
6. A terminal, comprising:
a search unit for searching for a first mobile communication network number of an accessible mobile communication network;
a first judging unit, configured to judge whether a mobile communication network number corresponding to a 5G mobile communication network exists in all the first mobile communication network numbers searched by the searching unit;
an identifying unit, configured to identify a mobile communication network number corresponding to a 5G mobile communication network in all the first mobile communication network numbers as a second mobile communication network number when the first determining unit determines that the mobile communication network number corresponding to the 5G mobile communication network exists in all the first mobile communication network numbers;
a first detecting unit, configured to detect whether a priority list built in a SIM card includes at least one second mobile communication network number after the identifying unit identifies the second mobile communication network number;
a second detecting unit, configured to detect whether a first peer-to-peer public mobile network list stored in advance includes at least one second mobile communication network number when the first detecting unit detects that the priority list does not include the second mobile communication network number;
a selecting unit, configured to select one of the at least one second mobile communication network number included in the first peer to peer public mobile network list as a target mobile communication network number when the second detecting unit detects that the first peer to peer public mobile network list includes the at least one second mobile communication network number;
and the access unit is used for accessing the mobile communication network corresponding to the target mobile communication network number according to the target mobile communication network number selected by the selection unit.
7. The terminal of claim 6, further comprising a third detection unit;
the third detecting unit is configured to detect whether a priority list built in the SIM card includes at least one first mobile communication network number when the first determining unit determines that the mobile communication network number corresponding to the 5G mobile communication network does not exist in all the first mobile communication network numbers and when the second detecting unit detects that the first equivalent public mobile network list does not include the second mobile communication network number;
the selection unit is further configured to select a mobile communication network number with a highest priority from at least one first mobile communication network number included in the priority list as a target mobile communication network number when the third detection unit detects that the priority list built in the SIM card includes at least one first mobile communication network number;
the access unit is further configured to, when the third detecting unit detects that the priority list does not include the first mobile communication network number, sequentially attempt to access a network corresponding to each of the first mobile communication network numbers until an accessible network corresponding to the first mobile communication network number is found.
8. The terminal according to claim 6, wherein the selecting unit is further configured to select a second mobile communication network number with the highest priority from the at least one second mobile communication network number included in the priority list as the target mobile communication network number according to the priority relationship of the priority list when the first detecting unit detects that the priority list includes the at least one second mobile communication network number.
9. The terminal according to any of claims 6-8, characterized in that the terminal further comprises:
a receiving unit, configured to receive a second peer-to-peer public mobile network list delivered by a home operator network when accessing a 3G or 4G network provided by the home operator;
a comparing unit, configured to compare whether the second peer-to-peer public mobile network list is consistent with the stored first peer-to-peer public mobile network list when the receiving unit receives the second peer-to-peer public mobile network list;
and the updating unit is used for replacing the first peer-to-peer public mobile network list with the second peer-to-peer public mobile network list when the comparison unit compares that the second peer-to-peer public mobile network list is inconsistent with the first peer-to-peer public mobile network list.
10. The terminal according to any of claims 6-8, characterized in that the terminal further comprises:
a first query unit, configured to query the first peer-to-peer public mobile network list according to the target mobile communication network number after a terminal accesses a mobile communication network corresponding to the target mobile communication network number, so as to determine whether the first peer-to-peer public mobile network list includes the target mobile communication network number;
a display unit, configured to display an operator name of an operator to which the first query unit belongs when the first peer-to-peer public mobile network list includes the target mobile communication network number;
a second query unit, configured to, when the first query unit determines that the first peer-to-peer public mobile network list does not include the target mobile communication network number, query from a mobile communication network database of the first query unit according to the target mobile communication network number to determine a target operator name corresponding to the target mobile communication network number;
the display unit is further configured to display the name of the target operator.
CN201910964166.8A 2019-10-11 2019-10-11 Method for accessing terminal to mobile communication network and terminal Active CN110611946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910964166.8A CN110611946B (en) 2019-10-11 2019-10-11 Method for accessing terminal to mobile communication network and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910964166.8A CN110611946B (en) 2019-10-11 2019-10-11 Method for accessing terminal to mobile communication network and terminal

Publications (2)

Publication Number Publication Date
CN110611946A CN110611946A (en) 2019-12-24
CN110611946B true CN110611946B (en) 2021-06-11

Family

ID=68894462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910964166.8A Active CN110611946B (en) 2019-10-11 2019-10-11 Method for accessing terminal to mobile communication network and terminal

Country Status (1)

Country Link
CN (1) CN110611946B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873583A (en) * 2020-06-30 2021-12-31 荣耀终端有限公司 Reminding method, graphical user interface and terminal equipment
CN113543247B (en) * 2021-03-15 2022-08-02 中国电信股份有限公司 Network selection system, method, storage medium and electronic device
CN113423125B (en) * 2021-05-28 2023-04-07 荣耀终端有限公司 Method and device for cell reselection, handover or background search

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242608B (en) * 2008-01-29 2011-07-13 中兴通讯股份有限公司 Method and system for mobile terminal to search high-priority public land mobile network
CN104853345B (en) * 2015-04-30 2017-03-01 广东欧珀移动通信有限公司 A kind of method for network access and mobile communication terminal
CN108282845B (en) * 2015-04-30 2021-01-12 Oppo广东移动通信有限公司 Network access method and mobile communication terminal
CN104853411B (en) * 2015-04-30 2018-05-01 广东欧珀移动通信有限公司 A kind of method for network access and mobile communication terminal
CN106257952A (en) * 2015-06-16 2016-12-28 西安中兴新软件有限责任公司 A kind of method switching mobile network and mobile terminal

Also Published As

Publication number Publication date
CN110611946A (en) 2019-12-24

Similar Documents

Publication Publication Date Title
CN110611946B (en) Method for accessing terminal to mobile communication network and terminal
CN101040551B (en) Using an enhanced preferred roaming list in a terminal device
CN107182047B (en) Network searching method and device for international roaming
US8116766B2 (en) Method for optimizing search communication network by mobile communications terminal
CN110401943B (en) Mobile terminal network-residing method, device, server and storage medium
CN108282845B (en) Network access method and mobile communication terminal
KR100672471B1 (en) Method for selecting cell in communication system
RU2011106124A (en) IMPROVEMENT OF THE CHOICE OF PREFERRED SYSTEMS FOR MULTI-MODE WIRELESS SYSTEMS
CN104796962B (en) Network selection method and device
WO2016202293A1 (en) Network access method and mobile terminal
KR101545738B1 (en) Apparatus and method for scanning network in mobile communication terminal
CN101657005A (en) Method for accessing terminal to network and terminal
RU2010119065A (en) SYSTEM AND METHOD OF EASY TO CAPTURE OF BASIC STATIONS OF ACCESS POINTS
CN110602765B (en) Network selection method and device
CN112203340B (en) Method and device for controlling mobile terminal to preferentially reside anchor point cell in NSA network
WO2016101547A1 (en) Access processing method and device
CN108601017B (en) Network searching control method based on user terminal and user terminal
CN104902459A (en) Network access method and mobile communication terminal
KR100592885B1 (en) Method for Selecting Mobile System
CN110913459B (en) Method for optimizing network selection process of multi-mode multi-band user terminal
CN106793009B (en) Network searching method and mobile terminal
WO2016202262A1 (en) Network access method and mobile terminal
CN110234156B (en) Network selection method and device
KR20070078396A (en) Method and apparatus for determining a system in a mobile terminal
CN110913458B (en) Optimized network selection and cell selection method and user terminal

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