CN107333325B - Network searching method and mobile terminal - Google Patents

Network searching method and mobile terminal Download PDF

Info

Publication number
CN107333325B
CN107333325B CN201710620403.XA CN201710620403A CN107333325B CN 107333325 B CN107333325 B CN 107333325B CN 201710620403 A CN201710620403 A CN 201710620403A CN 107333325 B CN107333325 B CN 107333325B
Authority
CN
China
Prior art keywords
network
roaming destination
mobile terminal
destination information
mobile
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
CN201710620403.XA
Other languages
Chinese (zh)
Other versions
CN107333325A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710620403.XA priority Critical patent/CN107333325B/en
Publication of CN107333325A publication Critical patent/CN107333325A/en
Application granted granted Critical
Publication of CN107333325B publication Critical patent/CN107333325B/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/18Selecting a network or a communication service
    • 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
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/042Public Land Mobile systems, e.g. cellular systems

Abstract

The invention provides a network searching method and a mobile terminal. The method comprises the following steps: if the mobile terminal is detected to start the flight mode, receiving message information of a wireless network access point; determining roaming destination information according to the message information; acquiring a mobile country code corresponding to roaming destination information; and if the mobile terminal is detected to be in the closed flight mode, searching the public land mobile network of the roaming destination information according to the mobile country code. The invention determines the roaming destination through the message information of the wireless network of the airplane, thereby acquiring the mobile country code of the roaming destination before the user arrives at the roaming destination, and thus, when the user arrives at the roaming destination and closes the flight mode, the invention can directly adopt the mobile country code corresponding to the pre-acquired roaming destination information to carry out public land mobile network search of the roaming destination information, can improve the network searching speed, and reduce the network searching time delay when the aircraft is started after arriving at the roaming destination.

Description

Network searching method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network search method and a mobile terminal.
Background
With the development of society and the improvement of living standard of people, more and more people go out of country for public or private reasons. Many airlines currently require a mobile terminal (e.g., a cell phone) to be powered off or in flight while traveling out of the country. When the flight mode is turned on or off after the destination is reached, a situation that the network searching is slow occurs.
The main reason why the slow Network searching occurs is that when the mobile phone is powered on at the destination, the mobile phone does not know that the mobile phone has roamed to another place, and the mobile phone can preferentially use the last Registered Public Land Mobile Network (RPLMN) to search for the Network. The Public Land Mobile Network (PLMN) is a PLMN registered by the mobile terminal before the last power-off or network disconnection. Then if the network search using the RPLMN fails, the handset will attempt to search for networks in other PLMNs until a PLMN belonging to the reached destination is found for network search.
In the network search scheme in the prior art, after the destination is reached, firstly, network search of the registered PLMN is performed, and then, network search conforming to the destination is performed, which may cause the problems of slow network search speed and poor user experience after the roaming destination is reached.
Disclosure of Invention
The embodiment of the invention provides a network searching method and a mobile terminal, aiming at solving the problem of slow network searching speed after a roaming destination is reached in the network searching scheme of the terminal in the prior art.
In a first aspect, an embodiment of the present invention provides a network search method, which is applied to a mobile terminal, and the method includes:
if the mobile terminal is detected to start the flight mode, receiving message information of a wireless network access point;
determining roaming destination information according to the message information;
acquiring a mobile country code corresponding to the roaming destination information;
and if the mobile terminal is detected to be in the closed flight mode, searching the public land mobile network of the roaming destination information according to the mobile country code.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
the first receiving module is used for receiving message information of a wireless network access point if the mobile terminal is detected to start a flight mode;
the determining module is used for determining roaming destination information according to the message information;
an obtaining module, configured to obtain a mobile country code corresponding to the roaming destination information;
and the searching module is used for searching the public land mobile network of the roaming destination information according to the mobile country code if the mobile terminal is detected to close the flight mode.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: the network searching method comprises a memory, a processor and a network searching program which is stored on the memory and can run on the processor, wherein the processor realizes the steps in the network searching method when executing the network searching program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a network search program is stored, where the network search program, when executed by a processor, implements the steps in the network search method.
Therefore, the embodiment of the invention determines the roaming destination through the message information of the wireless network of the airplane, so that the mobile country code of the roaming destination is obtained before the user arrives at the roaming destination, and thus, when the user arrives at the roaming destination and closes the flight mode, the invention can directly adopt the mobile country code corresponding to the pre-obtained roaming destination information to search the public land mobile network of the roaming destination information, can improve the network searching speed, and reduce the network searching time delay when the airplane is started after arriving at the roaming destination.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart of a network searching method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a network searching method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal of a third embodiment of the present invention;
FIG. 4 is a block diagram of another mobile terminal of the present invention based on FIG. 3;
fig. 5 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a mobile terminal according to a fifth embodiment of the present invention.
Detailed Description
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, 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.
First embodiment
Referring to fig. 1, a flowchart of a network searching method according to an embodiment of the present invention is shown, and is applied to a mobile terminal, where the method specifically includes the following steps:
step 101, if detecting that the mobile terminal starts a flight mode, receiving message information of a wireless network access point;
wherein the mobile terminal (e.g., a cell phone) is in flight mode when the user is in an airplane. However, the airplane generally has a wireless network, so that a user can turn on a WiFi switch of a mobile phone, and thus receive message information (e.g., Beacon message) of a WiFi hotspot of the airplane when the mobile phone starts a flight mode.
Step 102, determining roaming destination information according to the message information;
the roaming destination information of the current flight can be determined according to the message information.
When the flight plan is from one country to another, the destination country is a roaming destination, e.g., from beijing, china, to sydney, australia, which is a roaming destination.
Further, when the flight plan is from a certain city of a country to another destination city of the country, if the mobile country code, PLMN, is different between the destination city and the certain city, the other destination city is also a roaming destination, for example, hong kong (australia, or taiwan) flying from beijing of continental china to hong kong of china, hong kong is a roaming destination.
Step 103, acquiring a mobile country code corresponding to the roaming destination information;
the MCC may be stored in the Mobile phone, where the storage is an overlay storage, that is, if the MCC of an RPLMN (e.g., a registered continental network) is written in the Mobile phone before, the MCC of the continental network is overlaid and updated to the MCC corresponding to the roaming destination information. When writing into the mobile phone, the MCC may be written into the communication module of the mobile phone.
And 104, searching the public land mobile network of the roaming destination information according to the mobile country code if the mobile terminal is detected to close the flight mode.
Then, when the user flies to reach the roaming destination, the user closes the relationship mode of the mobile phone, and the embodiment of the present invention can search the PLMN corresponding to the roaming destination according to the MCC of the roaming destination information stored in the mobile phone.
For example, if a user flies from beijing to hong kong, for example, if the prior art scheme is adopted, when the user turns on or turns off the flight mode again after arriving at hong kong, the mobile phone first searches the continental PLMN (i.e., RPLMN) corresponding to the MCC of the prestored continental land, but cannot search the continental PLMN in hong kong, and therefore searches other PLMNs until the network of hong kong is searched, which increases the network searching delay and reduces the network searching speed after the user arrives at a roaming place.
By adopting the technical scheme of the embodiment of the invention, the MCC of hong Kong can be obtained in advance before the user arrives at the roaming destination in the flight state, and after the flight mode of hong Kong is closed, the MCC of hong Kong obtained in advance is adopted to search the network of hong Kong, so that unnecessary searching steps for the previously registered continental PLMN are reduced, the network searching time delay is reduced, and the network searching speed of the user arriving at the roaming destination is increased.
Therefore, the embodiment of the invention determines the roaming destination through the message information of the wireless network of the airplane, so that the mobile country code of the roaming destination is obtained before the user arrives at the roaming destination, and thus, when the user arrives at the roaming destination and closes the flight mode, the invention can directly adopt the mobile country code corresponding to the pre-obtained roaming destination information to search the public land mobile network of the roaming destination information, can improve the network searching speed, and reduce the network searching time delay when the airplane is started after arriving at the roaming destination.
Second embodiment
Referring to fig. 2, a flowchart of a network searching method according to an embodiment of the present invention is shown, and is applied to a mobile terminal in an airplane mode, where the method specifically includes the following steps:
step 201, if detecting that the mobile terminal starts a flight mode, receiving the message information of a wireless network access point, wherein a flight number and/or roaming destination information is added in the message information in advance;
the message information sent by the wireless network hotspot on the airplane includes a Service Set Identifier (SSID) and a Vendor specific field, so that the flight number and/or roaming destination information of the current flight can be added in the SSID and/or Vendor specific field in advance.
The roaming destination information may be a transit destination or a final destination.
Taking the SSID with the flight number as an example, when the mobile phone searches for the wireless network on the airplane, it can see that the SSID (i.e., the wireless network name) contains the airline company + the flight number + the departure place + the destination.
Step 202, receiving password information of the wireless network access point;
then, when the wireless network is searched, that is, when the Beacon message of the wireless network access point is received, the user can input the password information of the wireless network access point.
Step 203, performing wireless network connection on the wireless network access point by adopting the password information;
the system may then use the received user entered password information to make a wireless network connection to the wireless network access point on the aircraft.
Step 204, if the wireless network connection is successful and flight numbers are added in the message information, determining roaming destination information according to the flight numbers in the message information;
then if the wireless network connection is successful and, for example, a flight number is written in the SSID, roaming destination information corresponding to the flight number, i.e., a flight destination (here, no transit destination is defaulted) may be obtained.
Of course, the flight number may be written not only in the SSID, but also in the vendorspecial field in the Beacon message, so that the flight number is determined by reading the content of the vendorspecial field, and the flight destination corresponding to the flight number, that is, the roaming destination information, is determined.
Of course, if the SSID or the Vendor specific field also directly writes the roaming destination information, wherein if the Beacon message directly writes the roaming destination information, the mobile terminal can directly acquire the roaming destination information from the message information even if the mobile terminal does not successfully connect to the wireless network, and does not need to search the roaming destination information corresponding to the flight number through the wireless network.
Step 205, obtaining a mobile country code corresponding to the roaming destination information;
referring to step 103, the description is omitted here.
Step 206, if detecting that the mobile terminal closes the flight mode, searching the public land mobile network of the roaming destination information according to the mobile country code.
In one embodiment, the searching for the public land mobile network of the roaming destination information according to the mobile country code in step 206 can be implemented by:
determining a public land mobile network list corresponding to the mobile country code acquired in advance according to a preset corresponding relation between the MCC and the PLMN;
in this case, there may be multiple PLMNs of the operator in one country, so that one MCC may correspond to one PLNM list, that is, the MCC stored in step 205 may correspond to one PLMN list.
And performing network search connection on the public land mobile network of each operator in the public land mobile network list, and determining the public land mobile network of the target operator with successful connection as the public land mobile network of the roaming destination information.
For each PLMN of the operator of the roaming destination information, the PLMN of the operator with successful connection may be determined as the PLMN of the roaming destination information. And the PLMN of the starting place does not need to be searched, thereby avoiding the waste of network searching time.
By means of the technical scheme of the embodiment of the invention, the embodiment of the invention can add the flight number and/or the roaming destination information into the message information issued by the wireless network access point of the airplane, so that the mobile terminal can directly determine the roaming destination information according to the flight number in the message information only by connecting the wireless network on the airplane, and further obtain the mobile country code corresponding to the roaming destination information in advance.
Third embodiment
Referring to fig. 3, a block diagram of a mobile terminal of one embodiment of the present invention is shown. The mobile terminal of the embodiment of the invention can realize the details of the network searching method in the first embodiment to the second embodiment and achieve the same effect. The mobile terminal shown in fig. 3 includes:
a first receiving module 31, configured to receive message information of a wireless network access point if it is detected that the mobile terminal starts a flight mode;
a determining module 32, configured to determine roaming destination information according to the message information;
an obtaining module 33, configured to obtain a mobile country code corresponding to the roaming destination information;
a searching module 34, configured to search a public land mobile network of the roaming destination information according to the mobile country code if it is detected that the mobile terminal turns off the flight mode.
Referring to fig. 4, on the basis of fig. 3, optionally, the message information includes a flight number and/or roaming destination information; the determination module 32 includes:
the first determining sub-module 321 is configured to determine, when the message information includes a flight number, roaming destination information according to the flight number in the message information.
Referring to fig. 4, on the basis of fig. 3, optionally, the mobile terminal further includes:
the second receiving module 35 is configured to receive password information of the wireless network access point;
a connection module 36, configured to perform wireless network connection on the wireless network access point by using the password information;
the determination module 32 includes:
and a second determining submodule 322, configured to determine, if the wireless network connection is successful, roaming destination information according to the message information.
Referring to fig. 4, on the basis of fig. 3, optionally, the search module 34 includes:
a third determining submodule 341, configured to determine, according to a preset correspondence between a mobile country code and a public land mobile network, a public land mobile network list corresponding to the mobile country code;
a fourth determining sub-module 342, configured to perform network search connection on the public land mobile network of each operator in the public land mobile network list, and determine the successfully connected public land mobile network of the target operator as the public land mobile network of the roaming destination information.
The mobile terminal can achieve the effects of increasing the network searching speed and reducing the network searching time delay when the mobile terminal is started up after reaching the roaming place, which are not described herein again to avoid repetition.
Fourth embodiment
Fig. 5 is a block diagram of a mobile terminal according to yet another embodiment of the present invention. The mobile terminal 500 shown in fig. 5 includes: at least one processor 501, memory 502, at least one network interface 504, and a user interface 503. The various components in the mobile terminal 500 are coupled together by a bus system 505. It is understood that the bus system 505 is used to enable connection communications between these components. The bus system 505 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 505 in FIG. 5.
The user interface 503 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 502 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data rate Synchronous Dynamic random access memory (ddr SDRAM ), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 502 of the subject systems and methods described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 502 stores elements, executable modules or data structures, or a subset thereof, or an expanded set thereof as follows: an operating system 5021 and application programs 5022.
The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application 5022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. The program for implementing the method according to the embodiment of the present invention may be included in the application program 5022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 502, specifically, a program or an instruction stored in the application program 5022, the processor 501 is configured to receive message information of a wireless network access point if it is detected that the mobile terminal starts a flight mode; determining roaming destination information according to the message information; acquiring a mobile country code corresponding to the roaming destination information; and if the mobile terminal is detected to be in the closed flight mode, searching the public land mobile network of the roaming destination information according to the mobile country code.
The method disclosed by the above-mentioned embodiments of the present invention may be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 501. The Processor 501 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the message information includes a flight number and/or roaming destination information; the processor 501 is further configured to: and when the message information comprises flight numbers, determining roaming destination information according to the flight numbers in the message information.
Optionally, the processor 501 is further configured to: receiving password information of a wireless network access point; performing wireless network connection on the wireless network access point by adopting the password information; and if the wireless network connection is successful, determining roaming destination information according to the message information.
Optionally, the processor 501 is further configured to: determining a public land mobile network list corresponding to a mobile country code according to a preset corresponding relation between the mobile country code and a public land mobile network; and performing network search connection on the public land mobile network of each operator in the public land mobile network list, and determining the public land mobile network of the target operator with successful connection as the public land mobile network of the roaming destination information. As can be seen, the mobile terminal 500 according to the embodiment of the present invention can implement each process implemented by the mobile terminal in the foregoing embodiments, and for avoiding repetition, details are not described here again.
Fifth embodiment
Fig. 6 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 600 in fig. 6 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 600 in fig. 6 includes a Radio Frequency (RF) circuit 610, a memory 620, an input unit 630, a display unit 640, a processor 660, an audio circuit 670, a wifi (wireless fidelity) module 680, and a power supply 690.
The input unit 630 may be used, among other things, to receive numeric or character information input by a mobile terminal user and to generate signal inputs related to mobile terminal user settings and function control of the mobile terminal 600. Specifically, in the embodiment of the present invention, the input unit 630 may include a touch panel 631. The touch panel 631, also referred to as a touch screen, may collect touch operations of a mobile terminal user (for example, operations of the mobile terminal user on the touch panel 631 by using any suitable object or accessory such as a finger, a stylus pen, etc.) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 631 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a mobile terminal 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, sends the touch point coordinates to the processor 660, and can receive and execute commands sent by the processor 660. In addition, the touch panel 631 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 631, the input unit 630 may also include other input devices 632, and the other input devices 632 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.
Among other things, the display unit 640 may be used to display information input by or provided to a mobile terminal user and various menu interfaces of the mobile terminal 600. The display unit 640 may include a display panel 641, and optionally, the display panel 641 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 631 may cover the display panel 641 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 660 to determine the type of the touch event, and then the processor 660 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 660 is a control center of the mobile terminal 600, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile terminal 600 and processes data by operating or executing software programs and/or modules stored in the first memory 621 and calling data stored in the second memory 622, thereby integrally monitoring the mobile terminal 600. Optionally, processor 660 may include one or more processing units.
In the embodiment of the present invention, the processor 660 is configured to receive the message information of the wireless network access point if it is detected that the mobile terminal starts the flight mode by calling the software program and/or the module stored in the first memory 621 and/or the data stored in the second memory 622; determining roaming destination information according to the message information; acquiring a mobile country code corresponding to the roaming destination information; and if the mobile terminal is detected to be in the closed flight mode, searching the public land mobile network of the roaming destination information according to the mobile country code.
Optionally, the message information includes a flight number and/or roaming destination information; processor 660 is further configured to: and when the message information comprises flight numbers, determining roaming destination information according to the flight numbers in the message information.
Optionally, the processor 660 is further configured to: receiving password information of a wireless network access point; performing wireless network connection on the wireless network access point by adopting the password information; and if the wireless network connection is successful, determining roaming destination information according to the message information.
Optionally, the processor 660 is further configured to: determining a public land mobile network list corresponding to a mobile country code according to a preset corresponding relation between the mobile country code and a public land mobile network; and performing network search connection on the public land mobile network of each operator in the public land mobile network list, and determining the public land mobile network of the target operator with successful connection as the public land mobile network of the roaming destination information.
As can be seen, the mobile terminal 600 according to the embodiment of the present invention can implement each process implemented by the mobile terminal in the foregoing embodiments, and for avoiding repetition, details are not described here.
The embodiment of the invention also provides a mobile terminal which comprises a memory, a processor and a network search program which is stored on the memory and can be operated on the processor, wherein the processor realizes the steps in the network search method when executing the network search program.
An embodiment of the present invention further provides a computer-readable storage medium, on which a network search program is stored, where the network search program, when executed by a processor, implements the steps in the network search method.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The 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: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A network searching method is applied to a mobile terminal, and is characterized by comprising the following steps:
if the mobile terminal is detected to start the flight mode, receiving message information of a wireless network access point of the airplane;
the message information comprises a service set identification and/or a Vendor specific field, and the service set identification and/or the Vendor specific field comprises a flight number and/or roaming destination information;
determining roaming destination information according to the message information when the mobile terminal is in a flight mode;
when the mobile terminal is in a flight mode, acquiring a mobile country code corresponding to the roaming destination information;
if the mobile terminal is detected to be in the closed flight mode, searching a public land mobile network of the roaming destination information according to the mobile country code;
when the message information includes a flight number, determining roaming destination information according to the message information, including:
determining roaming destination information according to the flight number in the message information;
before determining the roaming destination information according to the message information, the method further includes:
receiving password information of a wireless network access point;
performing wireless network connection on the wireless network access point by adopting the password information;
the determining roaming destination information according to the message information includes:
and if the wireless network connection is successful, determining roaming destination information according to the message information.
2. The method of claim 1, wherein the searching for the public land mobile network of the roaming destination information according to the mobile country code comprises:
determining a public land mobile network list corresponding to a mobile country code according to a preset corresponding relation between the mobile country code and a public land mobile network;
and performing network search connection on the public land mobile network of each operator in the public land mobile network list, and determining the public land mobile network of the target operator with successful connection as the public land mobile network of the roaming destination information.
3. A mobile terminal, characterized in that the mobile terminal comprises:
the first receiving module is used for receiving message information of a wireless network access point of the airplane if the mobile terminal is detected to start a flight mode;
the message information comprises a service set identification and/or a Vendor specific field, and the service set identification and/or the Vendor specific field comprises a flight number and/or roaming destination information;
a determining module, configured to determine roaming destination information according to the message information when the mobile terminal is in a flight mode;
an obtaining module, configured to obtain a mobile country code corresponding to the roaming destination information when the mobile terminal is in a flight mode;
a searching module, configured to search a public land mobile network of the roaming destination information according to the mobile country code if it is detected that the mobile terminal closes the flight mode;
the determining module comprises:
the first determining submodule is used for determining roaming destination information according to the flight number in the message information when the message information comprises the flight number;
the mobile terminal further includes:
the second receiving module is used for receiving the password information of the wireless network access point;
the connection module is used for performing wireless network connection on the wireless network access point by adopting the password information;
the determining module comprises:
and the second determining submodule is used for determining roaming destination information according to the message information if the wireless network connection is successful.
4. The mobile terminal of claim 3, wherein the search module comprises:
a third determining submodule, configured to determine, according to a preset correspondence between a mobile country code and a public land mobile network, a public land mobile network list corresponding to the mobile country code;
a fourth determining sub-module, configured to perform network search connection on the public land mobile network of each operator in the public land mobile network list, and determine the successfully connected public land mobile network of the target operator as the public land mobile network of the roaming destination information.
5. A mobile terminal comprising a memory, a processor and a network search program stored on the memory and operable on the processor, the processor implementing the steps in the network search method according to any one of claims 1 to 2 when executing the network search program.
6. A computer-readable storage medium on which a network search program is stored, characterized in that the network search program, when executed by a processor, implements the steps in the network search method according to any one of claims 1 to 2.
CN201710620403.XA 2017-07-26 2017-07-26 Network searching method and mobile terminal Active CN107333325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710620403.XA CN107333325B (en) 2017-07-26 2017-07-26 Network searching method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710620403.XA CN107333325B (en) 2017-07-26 2017-07-26 Network searching method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107333325A CN107333325A (en) 2017-11-07
CN107333325B true CN107333325B (en) 2020-04-03

Family

ID=60227571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710620403.XA Active CN107333325B (en) 2017-07-26 2017-07-26 Network searching method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107333325B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108012241A (en) * 2017-11-29 2018-05-08 维沃移动通信有限公司 The method for pushing and mobile terminal of a kind of roaming service
CN108012310A (en) * 2017-12-05 2018-05-08 广东欧珀移动通信有限公司 Network search method, mobile terminal and computer-readable storage medium
CN111615175A (en) * 2019-04-04 2020-09-01 维沃移动通信有限公司 Network searching method and terminal
CN109862607B (en) * 2019-04-22 2021-12-14 维沃移动通信有限公司 Network recommendation method and mobile terminal
CN112733112A (en) * 2020-12-31 2021-04-30 恒安嘉新(北京)科技股份公司 User travel mode determining method and device, electronic equipment and storage medium
CN116095791B (en) * 2022-05-26 2024-04-02 荣耀终端有限公司 Method for searching network and terminal equipment
CN115209511A (en) * 2022-07-14 2022-10-18 维沃移动通信有限公司 Network searching method and network searching device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103650597A (en) * 2011-06-28 2014-03-19 亚马逊技术股份有限公司 Optimizing cell search in a mobile communication system supporting variable channel bandwidths
CN104853404A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Network access method and mobile communication terminal
WO2015143706A1 (en) * 2014-03-28 2015-10-01 华为终端有限公司 Roaming access method and device
WO2016173177A1 (en) * 2015-04-30 2016-11-03 中兴通讯股份有限公司 Wireless-hotpot-based wi-fi configuration method and device
CN106231653A (en) * 2016-08-31 2016-12-14 北京小米移动软件有限公司 The method and device of search network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103650597A (en) * 2011-06-28 2014-03-19 亚马逊技术股份有限公司 Optimizing cell search in a mobile communication system supporting variable channel bandwidths
WO2015143706A1 (en) * 2014-03-28 2015-10-01 华为终端有限公司 Roaming access method and device
CN104853404A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Network access method and mobile communication terminal
WO2016173177A1 (en) * 2015-04-30 2016-11-03 中兴通讯股份有限公司 Wireless-hotpot-based wi-fi configuration method and device
CN106231653A (en) * 2016-08-31 2016-12-14 北京小米移动软件有限公司 The method and device of search network

Also Published As

Publication number Publication date
CN107333325A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN107333325B (en) Network searching method and mobile terminal
CN111757426B (en) Roaming network access method and device
WO2018001293A1 (en) Wi-fi password sharing method and mobile terminal
US8943438B2 (en) Vehicle-mounted device having portable-device detection capability
CN109075820B (en) Bluetooth pairing method, terminal device and readable storage medium
US10869358B2 (en) Configuration method of discountinuous reception parameter, mobile terminal, and base station
CN106453953B (en) Wireless access point connection method and mobile terminal
CN106465249B (en) Roaming network access method and device
CN107567046B (en) Cell access method and mobile terminal
CN107172287B (en) Multi-card communication method and mobile terminal
CN106953675B (en) Mobile terminal and antenna connection method
CN107318091B (en) Network connection control method and mobile terminal
CN106465248B (en) Roaming network access method and device
CN106453925B (en) Information transmission method and mobile terminal
CN108037990B (en) Task information processing method and device and server
CN111307171B (en) Navigation processing method and terminal
CN107484148B (en) Network searching method and mobile terminal
CN104238900A (en) Page positioning method and device
CN107454664B (en) Data transmission method and mobile terminal
CN106095128B (en) Character input method of mobile terminal and mobile terminal
CN108112022B (en) System information block transmission method, terminal and network side equipment
CN106506849B (en) Display method of wireless access point and mobile terminal
US20140282058A1 (en) Electronic device with a funiction of applying applications of different operating systems, system and method thereof
CN105320858B (en) Method and device for rapidly displaying application icons
CN104243429A (en) Method, device and system for achieving browser bookmark synchronization

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