CN108770043B - Network marking method, device, readable storage medium and mobile terminal - Google Patents
Network marking method, device, readable storage medium and mobile terminal Download PDFInfo
- Publication number
- CN108770043B CN108770043B CN201810464369.6A CN201810464369A CN108770043B CN 108770043 B CN108770043 B CN 108770043B CN 201810464369 A CN201810464369 A CN 201810464369A CN 108770043 B CN108770043 B CN 108770043B
- Authority
- CN
- China
- Prior art keywords
- network
- public land
- forbidden
- mobile
- code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a network marking method, a network marking device, a readable storage medium and a mobile terminal, wherein the method is applied to the mobile terminal and comprises the following steps: acquiring a network searched by manually searching the network; judging whether the network belongs to a pre-stored home public land mobile network or an equivalent public land network; and if the network is not the home public land mobile network, the equivalent home public land mobile network or the equivalent public land mobile network, marking the network in a display interface of the mobile terminal to prompt that the network is an unavailable network. The invention can solve the problem of mobile phone off-line caused by the user accessing the unavailable network.
Description
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a network marking method, an apparatus, a readable storage medium, and a mobile terminal.
Background
With the development of mobile communication technology, mobile terminals, especially mobile phones, are increasingly developed and popularized, and the development of mobile phones brings great fun and convenience to the lives of people. People can communicate by using the mobile phone anytime and anywhere.
When a user uses a mobile phone to perform manual network search, multiple networks in the same region are usually searched, in the prior art, some networks may be networks of other operators which cannot be accessed by the currently used mobile phone or the currently used card (USIM card or SIM card), but the user does not know the situations, and when the user tries to access the networks, the mobile phone is disconnected, which affects the use experience of the user.
Disclosure of Invention
Therefore, an embodiment of the present invention provides a network tagging method to solve the problem of mobile phone off-line when a user accesses an unavailable network.
The network marking method according to one embodiment of the invention is applied to a mobile terminal, and comprises the following steps:
acquiring a network searched by manually searching the network;
judging whether the network belongs to a pre-stored home public land mobile network or an equivalent public land network;
and if the network is not the home public land mobile network, the equivalent home public land mobile network or the equivalent public land mobile network, marking the network in a display interface of the mobile terminal to prompt that the network is an unavailable network.
According to the network marking method provided by the embodiment of the invention, when a user needs to register a network, firstly, a network searched by a manual network search is obtained, then whether the searched network belongs to a prestored home public land mobile network or an equivalent public land mobile network is judged, if the network is not the prestored home public land mobile network or the equivalent public land mobile network, the searched network is a network of an operator in the same region but cannot be accessed, therefore, the network is marked in a display interface of a mobile terminal to prompt the user, the network is an unavailable network, the user is prevented from registering the network, the network is prevented from being disconnected, and the use experience of the user is improved.
In addition, the network marking method according to the above embodiment of the present invention may further have the following additional technical features:
further, in one embodiment of the present invention, the method further comprises:
acquiring network codes of the networks searched by manual network searching;
matching the network code with a pre-stored home public land mobile network table or an equivalent public land network table, and judging whether the network code is in the home public land mobile network table or the equivalent public land network table;
if the network code is not in the home public land mobile network table, or in the equivalent home public land mobile network table or the equivalent public land network table, marking the network in a display interface of the mobile terminal to prompt that the network is an unavailable network.
Further, in one embodiment of the present invention, the network code includes a mobile country code and a mobile network code.
Further, in one embodiment of the present invention, the home public land mobile network table, the equivalent home public land mobile network table, and the equivalent public land mobile network table are pre-stored in a subscriber global identity card or a subscriber identity card or the mobile terminal.
Further, in an embodiment of the present invention, the step of marking the network in the display interface of the mobile terminal includes:
and in a network search result display frame of the mobile terminal, marking the network as a forbidden network or marking the network as a low-priority network.
Further, in one embodiment of the present invention, the method further comprises:
acquiring network codes of the networks searched by manual network searching;
matching the network code with a pre-stored primary forbidden network table, and judging whether the network code is in the pre-stored primary forbidden network table, wherein the primary forbidden network table is a forbidden public land mobile network table pre-stored in a user global identification card or a user identity identification card or the mobile terminal;
if the network code is not in the first-level forbidden network table, matching the network code with a pre-stored second-level forbidden network table, and judging whether the network code is in the second-level forbidden network table, wherein the second-level forbidden network table is a forbidden network table manufactured according to a pre-stored home public land mobile network, an equivalent home public land mobile network and an equivalent public land network;
and if the network code is in the secondary forbidden network table, marking the network in a display interface of the mobile terminal to prompt that the network is an unavailable network.
Further, in one embodiment of the present invention, the network code includes a mobile country code and a mobile network code.
Further, in one embodiment of the present invention, the method further comprises:
and if the network code is in the secondary forbidden network table, marking the network as a forbidden network or marking the network as a low-priority network in a display interface of the mobile terminal.
Further, in an embodiment of the present invention, before the step of acquiring a network searched by a manual network search, the method further includes:
judging whether the current network searching mode of the mobile terminal is a manual network searching mode;
and if the current network searching mode of the mobile terminal is manual network searching, starting the manual network searching and acquiring the network searched by the manual network searching.
Further, in an embodiment of the present invention, before the step of determining whether the network belongs to a pre-stored home public land mobile network or an equivalent public land network, the method further includes:
judging whether the searched mobile country code of the network is consistent with a prestored mobile country code in a home public land mobile network;
and if so, judging whether the network belongs to a pre-stored home public land mobile network or an equivalent public land mobile network.
Further, in an embodiment of the present invention, after the step of determining whether the network belongs to a pre-stored home public land mobile network or an equivalent public land network, the method further includes:
if the network belongs to at least one of the home public land mobile network, the equivalent home public land mobile network and the equivalent public land network, marking the network in a display interface of the mobile terminal to prompt that the network is an available network.
Another embodiment of the present invention provides a network tagging apparatus to solve the problem of mobile phone off-line when a user accesses an unavailable network. The device is applied to the mobile terminal, and the device comprises:
the acquisition module is used for acquiring the network searched by the manual network searching;
the judging module is used for judging whether the network belongs to a pre-stored home public land mobile network or an equivalent public land network;
a marking module, configured to mark the network in a display interface of the mobile terminal to prompt that the network is an unavailable network when the determining module determines that the network is neither the home public land mobile network nor the equivalent home public land mobile network or the equivalent public land network.
According to the network marking device provided by the embodiment of the invention, when a user needs to register a network, the network searched by a manual network search is firstly obtained, and then whether the searched network belongs to a prestored home public land mobile network or an equivalent home public land mobile network is judged, if the network is not the prestored home public land mobile network or the equivalent home public land mobile network, the searched network is the network of an operator in the same region but can not be accessed, therefore, the network is marked in the display interface of the mobile terminal to prompt the user that the network is an unavailable network, the user is prevented from registering the network, the network is prevented from being disconnected, and the use experience of the user is improved.
Another embodiment of the invention also proposes a readable storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method.
Another embodiment of the present invention further provides a mobile terminal, which includes a camera, a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the above method when executing the program.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of embodiments of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a network tagging method according to a first embodiment of the invention;
FIG. 2 is a flow chart of a network tagging method according to a second embodiment of the present invention;
FIG. 3 is a flow chart of a network tagging method according to a third embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a network marker device according to a fourth embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a network marker device according to a fifth embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a network marker device according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a mobile terminal according to an eighth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a network tagging method according to a first embodiment of the present invention is applied to a mobile terminal, and the method includes:
s101, acquiring a network searched by manually searching the network;
in this embodiment, the mobile terminal is described by taking a mobile phone as an example. The mobile phone can be inserted with a Universal Subscriber Identity Module (USIM) card or a Subscriber Identity Module (SIM) card. The manual network searching may be performed through Radio Access Technologies (RATs), which include LTE, WCDMA, TD-SCDMA, GSM, etc.
In specific implementation, before step 101, the method may further include:
judging whether the current network searching mode of the mobile terminal is a manual network searching mode;
and if the current network searching mode of the mobile terminal is manual network searching, starting the manual network searching and acquiring the network searched by the manual network searching.
If the current network searching mode of the mobile phone is manual network searching, the mobile phone can automatically search the network,
for convenience of description, this embodiment takes one of the manually searched networks as an example, and for the case of searching multiple networks, each network may be processed according to the method provided in this embodiment.
S102, judging whether the network belongs to a pre-stored home public land mobile network or an equivalent public land network;
the Home Public Land Mobile Network (HPLMN) is a PLMN (Public Land Mobile Network) of a Home location of a Mobile terminal user, and the Equivalent Home Public Land Mobile Network (EHPLMN) is a local PLMN which is in the same position as a currently selected PLMN of the Mobile terminal; an Equivalent Public Land Network (EPLMN) is an Equivalent PLMN. After the mobile phone manually searches the network, the mobile phone can judge the network and judge whether the network belongs to a pre-stored home public land mobile network or an equivalent public land network. It is noted that the type of home public land mobile network or equivalent public land mobile network supported by the handset or card (including USIM card and SIM card) may be pre-stored in the memory of the subscriber USIM card or SIM card or handset.
S103, if the network is not the home public land mobile network, the equivalent home public land mobile network or the equivalent public land mobile network, marking the network in a display interface of the mobile terminal to prompt that the network is an unavailable network.
Specifically, the network may be marked as a forbidden network or as a low-priority network in a network search result display frame of the mobile phone, and the user may be specifically prompted in a label or highlight manner.
According to the network marking method provided by the embodiment of the invention, when a user needs to register a network, a network searched by a manual network search is firstly obtained, and then whether the searched network belongs to a prestored home public land mobile network or an equivalent home public land mobile network is judged, if the network is not the prestored home public land mobile network or the equivalent home public land mobile network, the searched network is the network of an operator in the same region but can not be accessed, therefore, the network is marked in a display interface of a mobile terminal to prompt the user that the network is an unavailable network, the user is prevented from registering the network, the network is prevented from being disconnected, and the use experience of the user is improved.
Furthermore, as a specific example, the method provided in this embodiment may further include, after step S102:
if the network belongs to at least one of the home public land mobile network, the equivalent home public land mobile network and the equivalent public land network, marking the network in a display interface of the mobile terminal to prompt that the network is an available network.
In this step, only the available networks are marked, so that the user can identify which networks are available, and thus, if the user searches for a plurality of networks, one of the networks is a network provided by a new network provider, but the home public land mobile network, the equivalent home public land mobile network and the equivalent public land network pre-stored in the mobile phone or the card do not support the network provided by the network provider, so that the home public land mobile network, the equivalent home public land mobile network and the equivalent public land network in the mobile phone or the card do not need to be upgraded or updated, and only the available networks need to be identified, thereby facilitating the use of the user.
In addition, as a specific example, in the implementation, the method may further be adjusted by using the premise of the available join judgment, that is, before step S102, the method may further include:
judging whether the searched mobile country code of the network is consistent with a prestored mobile country code in a home public land mobile network;
and if so, judging whether the network belongs to a pre-stored home public land mobile network or an equivalent public land mobile network.
If the Mobile Country Code (MCC) of the searched network is not consistent with the Mobile Country Code (MCC) in the pre-stored Home Public Land Mobile Network (HPLMN), it indicates that the searched network and the HPLMN pre-stored in the mobile phone or the card are in different countries and currently in a roaming state, so that it is meaningless to perform subsequent determination, and the step S102 is performed only when the mobile country code of the searched network is consistent with the pre-stored mobile country code in the home public land mobile network. Referring to fig. 2, a network tagging method according to a second embodiment of the present invention is applied to a mobile terminal, and the method includes:
s201, acquiring network codes of the network searched by the manual network searching;
the network code of the network searched by the mobile terminal through manual network searching comprises 460004600246011, wherein the first three digits 460 in the network code are country codes and represent the corresponding country, namely China; the last two bits of data 00, 02, 11 in the network code represent the same region for different mobile operators, i.e. three different mobile operators in china.
S201, matching the network code with a pre-stored home public land mobile network table or an equivalent public land network table, and judging whether the network code is in the home public land mobile network table or the equivalent public land network table;
wherein a home public land mobile network table (i.e., HPLMN table) and the equivalent home public land mobile network table (i.e., EHPLMN table) and the equivalent public land mobile network table (i.e., EPLMN table) are pre-stored in a subscriber global identity card or a subscriber identity card or the mobile terminal. The HPLMN, EHPLMN and EPLMN tables store the network codes of the available networks. For example, the HPLMN table is, for example: 460004600246007, the EHPLMN table, the EPLMN table and the HPLMN table are the same. Therefore, the network code 460004600246011 searched in step S201 is matched with the HPLMN table, and each searched network code is determined, and whether each network code is in the HPLMN table or not is determined.
S203, if the network code is not in the home public land mobile network table, or in the equivalent home public land mobile network table or the equivalent public land network table, marking the network in a display interface of the mobile terminal to prompt that the network is an unavailable network.
In the network codes 460004600246011 searched in step S201, 46011 is not in the HPLMN table, which indicates that the network corresponding to 46011 is an unavailable network for the user, so in the network search result display frame of the mobile terminal, the network corresponding to 46011 is marked as a disabled network or a low-priority network, and the user may be specifically prompted in a label or highlight manner.
On the basis of the first embodiment, the method provided by this embodiment provides an implementation manner for optionally determining whether the network belongs to a pre-stored home public land mobile network or an equivalent home public land mobile network, which is more operable and practical, and improves the user experience, in addition to the effect of the first embodiment.
It should be noted that the present embodiment focuses on differences from the previous embodiment, and the same and similar parts between the embodiments are not described repeatedly, and may be referred to each other. Referring to fig. 3, a network tagging method according to a third embodiment of the present invention is applied to a mobile terminal, and the method includes:
s301, acquiring network codes of the networks searched by manual network searching;
the network code of the network searched by the mobile terminal through manual network search is 46011, for example, wherein the first three digits 460 in the network code are country codes and represent the corresponding country, namely china; the last two bits of data 11 in the network code represent one of the mobile operators in china.
S302, matching the network code with a pre-stored primary forbidden network table, and judging whether the network code is in the pre-stored primary forbidden network table, wherein the primary forbidden network table is a forbidden public land mobile network table pre-stored in a user global identification card or a user identity identification card or the mobile terminal;
the first-level Forbidden network table is a table formed by Forbidden public land mobile networks (Forbidden PLMNs, namely Forbidden PLMNs, abbreviated as FPLMNs) which are pre-stored in the mobile terminal or the card after the mobile terminal or the card (including the USIM card and the SIM card) is produced in the conventional technology. In this embodiment, the FPLMN table includes, for example: 46002. 46007 are provided. Therefore, the network code of the network searched by the mobile terminal through manual network searching is not in the FPLMN table.
S303, if the network code is not in the first-level forbidden network table, matching the network code with a pre-stored second-level forbidden network table, and judging whether the network code is in the second-level forbidden network table, wherein the second-level forbidden network table is a forbidden network table manufactured according to a pre-stored home public land mobile network, an equivalent home public land mobile network and an equivalent public land network;
the secondary forbidden network table is a forbidden network table that needs to be created in advance according to a pre-stored home public land mobile network and an equivalent home public land mobile network, that is, the network code that does not include the home public land mobile network, the equivalent home public land mobile network and the equivalent public land mobile network is stored in the secondary forbidden network table, and in this embodiment, the secondary forbidden network table includes 46001, 46003, 46011 and 46009, for example.
It is noted that the level one disable net table is a table already existing in the conventional technical means, i.e., FPLMN. The second-level forbidden netlist is a technical solution proposed in this embodiment, and the second-level forbidden netlist does not exist in conventional technical means, and is a forbidden netlist manufactured according to a home public land mobile network, an equivalent home public land mobile network and an equivalent public land network; that is, stored in the secondary forbidden network table is a network code that does not contain the home public land mobile network and, the equivalent home public land mobile network and the equivalent public land network. The second-level forbidden network table is set as the second-level forbidden network table which needs to be manufactured in advance and stored in a card or a mobile phone, because the first-level forbidden network table in the conventional technical means has the forbidden failure condition, that is, the network which cannot be used is not forbidden, the second-level forbidden network table is added in the embodiment.
S304, if the network code is in the secondary forbidden network table, marking the network in a display interface of the mobile terminal to prompt that the network is an unavailable network.
Since the network code 46011 of the network manually searched by the mobile terminal is in the secondary forbidden network table, it indicates that the network corresponding to 46011 is an unavailable network for the user, and therefore, in the network search result display frame of the mobile terminal, the network corresponding to 46011 is marked as a forbidden network or as a low-priority network, and the user may be specifically prompted in a label or highlight manner.
On the basis of the first embodiment, the method provided in this embodiment provides another optional implementation manner for determining whether the network belongs to a pre-stored home public land mobile network or an equivalent home public land mobile network, in addition to the effect of the first embodiment, and compared with the second embodiment, the secondary determination of the network is achieved, the determination accuracy of an unavailable network is improved, and the use experience of a user is further improved.
It should be noted that the present embodiment focuses on differences from the above embodiments, and the same and similar parts between the embodiments are not described repeatedly, and may be referred to each other.
Referring to fig. 4, a fourth embodiment of the present invention provides a network tag apparatus applied to a mobile terminal based on the same inventive concept, the apparatus including:
the acquisition module 10 is used for acquiring a network searched by a manual network search;
a judging module 20, configured to judge whether the network belongs to a pre-stored home public land mobile network or an equivalent public land mobile network;
a marking module 30, configured to mark the network in a display interface of the mobile terminal to indicate that the network is an unavailable network when the determining module 20 determines that the network is neither the home public land mobile network nor the equivalent home public land mobile network or the equivalent public land network.
The marking module 30 may be specifically configured to mark the network as a forbidden network or mark the network as a low-priority network in a network search result display frame of the mobile terminal.
The technical features and technical effects of the network marker device provided in the embodiment of the present invention are the same as those of the method provided in the first embodiment of the present invention, and are not described herein again.
Referring to fig. 5, based on the same inventive concept, a fifth embodiment of the present invention provides a network tagging apparatus applied to a mobile terminal, the apparatus comprising:
the acquisition module 10 is configured to acquire a network code of a network searched by a manual network search;
a matching judgment module 20, configured to match the network code with a pre-stored home public land mobile network table or an equivalent public land network table, and judge whether the network code is in the home public land mobile network table or the equivalent public land network table;
a marking module 30, configured to mark the network in a display interface of the mobile terminal when the network code is neither in the home public land mobile network table nor in the equivalent home public land mobile network table or the equivalent public land network table, so as to indicate that the network is an unavailable network.
In this embodiment, the network code includes a mobile country code and a mobile network code.
In this embodiment, the home public land mobile network table, the equivalent home public land mobile network table, and the equivalent public land mobile network table are pre-stored in a user global identity card or a user identity card or the mobile terminal.
In this embodiment, the marking module 30 may be specifically configured to mark the network as a forbidden network or mark the network as a low-priority network in a network search result display frame of the mobile terminal.
The technical features and technical effects of the network marker device provided in the embodiment of the present invention are the same as those of the method provided in the second embodiment of the present invention, and are not described herein again.
Referring to fig. 6, a sixth embodiment of the present invention provides a network tag apparatus applied to a mobile terminal based on the same inventive concept, the apparatus including:
the acquisition module 10 is configured to acquire a network code of a network searched by a manual network search;
a first matching judgment module 20, configured to match the network code with a pre-stored primary forbidden network table, and judge whether the network code is in the pre-stored primary forbidden network table, where the primary forbidden network table is a forbidden public land mobile network table pre-stored in a user global identity card or a user identity card or the mobile terminal;
a second matching judgment module 30, configured to match the network code with a pre-stored secondary forbidden network table if the network code is not in the primary forbidden network table, and judge whether the network code is in the secondary forbidden network table, where the secondary forbidden network table is a forbidden network table created according to a pre-stored home public land mobile network, an equivalent home public land mobile network, and an equivalent public land network;
and a marking module 40, configured to mark the network in a display interface of the mobile terminal if the network code is in the secondary forbidden network table, so as to prompt that the network is an unavailable network.
In this embodiment, the marking module 30 may be specifically configured to mark the network as a forbidden network or mark the network as a low-priority network in a network search result display frame of the mobile terminal.
The technical features and technical effects of the network marker device provided in the embodiment of the present invention are the same as those of the method provided in the third embodiment of the present invention, and are not described herein again.
A seventh embodiment of the invention provides a readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above-described method embodiments.
An eighth embodiment of the present invention provides a mobile terminal including a memory for storing a program that supports a processor to execute the application acceleration method provided by the foregoing embodiments, and a processor configured to execute the program stored in the memory. The mobile terminal may also include a communication interface for communicating with other devices or a communication network. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a vehicle-mounted computer, and the like.
Fig. 7 is a schematic structural diagram of a mobile terminal according to an eighth embodiment of the present invention. Referring to fig. 7, the mobile terminal includes: a camera, a Radio Frequency (RF) circuit 1210, a memory 1220, an input unit 1230, a display unit 1240, a sensor 1220, an audio circuit 1260, a Wireless Fidelity (WiFi) module 1270, a processor 1280, and a power supply 1290. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 7 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. The following describes each component of the mobile terminal of the present embodiment with reference to fig. 7:
the RF circuit 1210 is configured to receive and transmit signals during information transmission and reception, and in particular, receive downlink information of a base station and process the received downlink information to the processor 1280; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1210 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 1210 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1220 may be used to store software programs and modules, and the processor 1280 performs various functional applications and data processing of the mobile terminal by operating the software programs and modules stored in the memory 1220. The memory 1220 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1220 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1230 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the input unit 1230 may include a touch panel 1231 and other input devices 1232. The touch panel 1231, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on or near the touch panel 1231 using any suitable object or accessory such as a finger, a stylus, etc.) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 1231 may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1280, and can receive and execute commands sent by the processor 1280. In addition, the touch panel 1231 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1230 may include other input devices 1232 in addition to the touch panel 1231. In particular, other input devices 1232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1240 may be used to display information input by a user or information provided to the user, as well as various menus of the mobile terminal. The Display unit 1240 may include a Display panel 1241, and optionally, the Display panel 1241 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, touch panel 1231 can overlay display panel 1241, and when touch panel 1231 detects a touch operation thereon or nearby, the touch panel 1231 can transmit the touch operation to processor 1280 to determine the type of the touch event, and then processor 1280 can provide a corresponding visual output on display panel 1241 according to the type of the touch event. Although in fig. 7, the touch panel 1231 and the display panel 1241 are implemented as two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1231 and the display panel 1241 may be integrated to implement the input and output functions of the mobile phone.
The mobile terminal may also include at least one sensor 1220, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1241 according to the brightness of the ambient light. Audio circuitry 1260, speaker 1261, and microphone 1262 may provide an audio interface between a user and the mobile terminal. The audio circuit 1260 can transmit the received electrical signal converted from the audio data to the speaker 1261, and the audio signal is converted into a sound signal by the speaker 1261 and output; on the other hand, the microphone 1262 converts the collected sound signal into an electric signal, is received by the audio circuit 1260, is converted into audio data, is processed by the audio data output processor 1280, and is then transmitted to, for example, another mobile terminal via the RF circuit 1210, or outputs the audio data to the memory 1220 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can provide wireless broadband internet access to the user through the WiFi module 1270. Although fig. 7 shows the WiFi module 1270, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1280 is a control center of the mobile terminal, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 1220 and calling data stored in the memory 1220, thereby integrally monitoring the mobile terminal. Optionally, processor 1280 may include one or more processing units; preferably, the processor 1280 may be integrated with an application processor that primarily handles operating systems, user interfaces, application programs, and the like. Processor 1280 may or may not have integrated therewith a modem processor or processors 1280.
The mobile terminal also includes a power supply 1290 (e.g., a battery) for providing power to various components, which may be logically coupled to the processor 1280 via a power management system, for managing charging, discharging, and power consumption via the power management system. Although not shown, the mobile terminal may further include a first camera, a bluetooth module, and the like, which are not described herein again.
The network marking method, the network marking device, the readable storage medium and the mobile terminal provided by the embodiments of the present invention include a computer readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (10)
1. A network marking method is applied to a mobile terminal, and is characterized in that the method comprises the following steps:
acquiring a network searched by manually searching the network;
judging whether the searched mobile country code of the network is consistent with a prestored mobile country code in a home public land mobile network;
if yes, judging whether the network belongs to a pre-stored home public land mobile network or an equivalent public land network;
if the network is not the home public land mobile network, the equivalent home public land mobile network or the equivalent public land network, marking the network in a display interface of the mobile terminal to prompt the network as an unavailable network;
the method further comprises the following steps:
acquiring network codes of the networks searched by manual network searching;
matching the network code with a pre-stored primary forbidden network table, and judging whether the network code is in the pre-stored primary forbidden network table, wherein the primary forbidden network table is a forbidden public land mobile network table pre-stored in a user global identification card or a user identity identification card or the mobile terminal;
if the network code is not in the first-level forbidden network table, matching the network code with a pre-stored second-level forbidden network table, and judging whether the network code is in the second-level forbidden network table, wherein the second-level forbidden network table is a forbidden network table which is manufactured in advance according to a pre-stored home public land mobile network, an equivalent home public land mobile network and an equivalent public land network;
if the network code is in the secondary forbidden network table, marking the network as a forbidden network or marking the network as a low-priority network in a display interface of the mobile terminal so as to prompt the network as an unavailable network;
wherein the step of marking the network in the display interface of the mobile terminal comprises:
and in a network search result display frame of the mobile terminal, marking the network as a forbidden network or marking the network as a low-priority network.
2. The network tagging method of claim 1, further comprising:
acquiring network codes of the networks searched by manual network searching;
matching the network code with a pre-stored home public land mobile network table or an equivalent public land network table, and judging whether the network code is in the home public land mobile network table or the equivalent public land network table;
if the network code is not in the home public land mobile network table, or in the equivalent home public land mobile network table or the equivalent public land network table, marking the network in a display interface of the mobile terminal to prompt that the network is an unavailable network.
3. The network tagging method of claim 2 wherein said network code comprises a mobile country code and a mobile network code.
4. The network labeling method of claim 2, wherein the home public land mobile network table, the equivalent home public land mobile network table, and the equivalent public land mobile network table are pre-stored in a subscriber global identity card or a subscriber identity card or the mobile terminal.
5. The network tagging method of claim 1 wherein said network code comprises a mobile country code and a mobile network code.
6. The network tagging method of claim 1, wherein said step of obtaining a network searched by a manual network search is preceded by the step of:
judging whether the current network searching mode of the mobile terminal is a manual network searching mode;
and if the current network searching mode of the mobile terminal is manual network searching, starting the manual network searching and acquiring the network searched by the manual network searching.
7. The network tagging method of claim 1, wherein after said step of determining whether said network belongs to a pre-stored home public land mobile network or an equivalent public land network, said method further comprises:
if the network belongs to at least one of the home public land mobile network, the equivalent home public land mobile network and the equivalent public land network, marking the network in a display interface of the mobile terminal to prompt that the network is an available network.
8. A network marking device applied to a mobile terminal is characterized by comprising:
the acquisition module is used for acquiring the network searched by the manual network searching;
the judging module is used for judging whether the searched mobile country code of the network is consistent with a prestored mobile country code in a home public land mobile network or not, and judging whether the network belongs to the prestored home public land mobile network or an equivalent public land mobile network or not under the condition of consistent judgment;
a marking module, configured to mark the network in a display interface of the mobile terminal to prompt that the network is an unavailable network when the determining module determines that the network is neither the home public land mobile network nor the equivalent home public land mobile network or the equivalent public land network; the marking module is specifically configured to mark the network as a forbidden network or mark the network as a low-priority network in a network search result display frame of the mobile terminal;
the acquisition module is also used for acquiring network codes of the networks searched by the manual network searching;
the device also comprises a first matching judgment module used for matching the network code with a pre-stored primary forbidden network table and judging whether the network code is in the pre-stored primary forbidden network table, wherein the primary forbidden network table is a forbidden public land mobile network table pre-stored in a user global identification card or a user identity identification card or the mobile terminal;
the device also comprises a second matching judgment module, which is used for matching the network code with a pre-stored secondary forbidden network table if the network code is not in the primary forbidden network table, and judging whether the network code is in the secondary forbidden network table, wherein the secondary forbidden network table is a forbidden network table which is pre-manufactured according to a pre-stored home public land mobile network, an equivalent home public land mobile network and an equivalent public land network;
the marking module is further used for marking the network as a forbidden network or marking the network as a low-priority network in a display interface of the mobile terminal if the network code is in the secondary forbidden network table so as to prompt the network as an unavailable network.
9. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
10. A mobile terminal comprising a camera, a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the program.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810464369.6A CN108770043B (en) | 2018-05-15 | 2018-05-15 | Network marking method, device, readable storage medium and mobile terminal |
PCT/CN2019/080849 WO2019218787A1 (en) | 2018-05-15 | 2019-04-01 | Network marking method and device, readable storage medium, and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810464369.6A CN108770043B (en) | 2018-05-15 | 2018-05-15 | Network marking method, device, readable storage medium and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108770043A CN108770043A (en) | 2018-11-06 |
CN108770043B true CN108770043B (en) | 2021-01-08 |
Family
ID=64007913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810464369.6A Active CN108770043B (en) | 2018-05-15 | 2018-05-15 | Network marking method, device, readable storage medium and mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108770043B (en) |
WO (1) | WO2019218787A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108770043B (en) * | 2018-05-15 | 2021-01-08 | 奇酷互联网络科技(深圳)有限公司 | Network marking method, device, readable storage medium and mobile terminal |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877904A (en) * | 2009-04-30 | 2010-11-03 | 联芯科技有限公司 | Multimode terminal and communication method thereof |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100469196C (en) * | 2006-07-28 | 2009-03-11 | 电信科学技术研究院 | Identification method for multi-mode terminal roaming among heterogenous inserting technology networks |
PL2633712T3 (en) * | 2010-10-28 | 2018-02-28 | Deutsche Telekom Ag | Method, public land mobile network plmn and computer program for controling the plmn selection carried out by a mobile station |
WO2012060165A1 (en) * | 2010-11-05 | 2012-05-10 | Necカシオモバイルコミュニケーションズ株式会社 | Mobile communication terminal |
CN104247517B (en) * | 2013-04-01 | 2018-07-31 | 华为技术有限公司 | The method and apparatus of network is selected in visited place |
IN2013CH05356A (en) * | 2013-11-20 | 2015-05-29 | Samsung R & D Inst India Bangalore Private Ltd | |
CN105393603B (en) * | 2014-06-27 | 2019-08-27 | 华为技术有限公司 | Select the method and device thereof and equipment of public land mobile network PLMN |
CN104837180B (en) * | 2015-04-17 | 2019-04-09 | Oppo广东移动通信有限公司 | A kind of the roaming method for searching network and device of smart phone |
CN104853409B (en) * | 2015-04-30 | 2017-07-18 | 广东欧珀移动通信有限公司 | A kind of method for network access and mobile communication terminal |
CN106550429A (en) * | 2015-09-16 | 2017-03-29 | 青岛海信移动通信技术股份有限公司 | A kind of method for searching network and terminal |
CN106851786A (en) * | 2017-03-17 | 2017-06-13 | 广东欧珀移动通信有限公司 | A kind of method for searching network and device |
CN108770043B (en) * | 2018-05-15 | 2021-01-08 | 奇酷互联网络科技(深圳)有限公司 | Network marking method, device, readable storage medium and mobile terminal |
-
2018
- 2018-05-15 CN CN201810464369.6A patent/CN108770043B/en active Active
-
2019
- 2019-04-01 WO PCT/CN2019/080849 patent/WO2019218787A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877904A (en) * | 2009-04-30 | 2010-11-03 | 联芯科技有限公司 | Multimode terminal and communication method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN108770043A (en) | 2018-11-06 |
WO2019218787A1 (en) | 2019-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106961711B (en) | Method and device for controlling mobile terminal to register network and mobile terminal | |
WO2018166234A1 (en) | Network search method and apparatus | |
EP3793264A1 (en) | Method for selecting nsa and sa networking modes and terminal device | |
CN108235828B (en) | Network searching display method and device of terminal equipment and terminal equipment | |
CN106961676B (en) | Network searching method, device and medium | |
CN108112028B (en) | Network searching method and equipment for international roaming | |
CN106888495B (en) | Network access method and terminal | |
CN110022553B (en) | User identity identification card management method and mobile terminal | |
CN107197538A (en) | A kind of method and terminal for connecting network | |
CN107743305B (en) | Method and device for loading configuration information and computer equipment | |
CN110677842B (en) | Network searching method, device, terminal equipment and storage medium | |
CN112040533A (en) | Network searching control method and device for terminal equipment and terminal equipment | |
CN106961710B (en) | Network access method and terminal | |
CN105704700A (en) | Communication network access method and device | |
CN105873103A (en) | Communication network access device and user equipment | |
CN105898839A (en) | Communication network access method and device | |
CN105636173B (en) | A kind of web search control method and equipment | |
CN109862607B (en) | Network recommendation method and mobile terminal | |
CN105744600B (en) | Communication network cut-in method and user equipment | |
US11483677B2 (en) | Information pushing method and terminal device | |
CN110351702B (en) | System information area determining method, indicating method, terminal and network equipment | |
CN105744602A (en) | Communication network access method and device | |
CN105657792A (en) | Communication network access method and device | |
CN108770043B (en) | Network marking method, device, readable storage medium and mobile terminal | |
CN110855807A (en) | Method and equipment for adding contact person |
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 |