CN110677842A - Network searching method, device, terminal equipment and storage medium - Google Patents
Network searching method, device, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN110677842A CN110677842A CN201910926703.XA CN201910926703A CN110677842A CN 110677842 A CN110677842 A CN 110677842A CN 201910926703 A CN201910926703 A CN 201910926703A CN 110677842 A CN110677842 A CN 110677842A
- Authority
- CN
- China
- Prior art keywords
- frequency band
- target frequency
- network
- searching
- acquiring
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/183—Processing at user equipment or user record carrier
-
- 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
Abstract
The application discloses a network searching method, a device, a terminal device and a storage medium, wherein the searching method is applied to the terminal device and comprises the following steps: acquiring a network search instruction, acquiring a country code of a user identity identification card in the terminal equipment according to the network search instruction, then acquiring at least one frequency band corresponding to the country code from a preset frequency band list as a target frequency band, and performing network search according to the target frequency band. According to the method and the device, the country code is obtained, the range of the frequency band required by the terminal device during network searching is limited, so that the time required by the terminal device during network searching is saved, the speed of network searching is increased, and the user experience is improved.
Description
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a network searching method, an apparatus, a terminal device, and a storage medium.
Background
The network search is one of the essential steps of the terminal device from no service to registering the network, and is the most time-consuming step. No matter which country we are in, when the terminal device has no network signal, the network signal is searched to complete network registration.
At present, network signals are mainly searched by scanning frequency bands supportable on hardware of terminal equipment, and in the frequency bands supportable on the hardware of the terminal equipment, many frequency bands cannot be supported by a current national operator, that is, the frequency bands supportable on the hardware of the terminal equipment are far more than the frequency bands supportable by the current national operator, if the terminal equipment needs to scan all the frequency bands supportable on the hardware to search for the network signals anywhere, much unnecessary time is wasted, and the network searching speed is slow.
Disclosure of Invention
The embodiment of the application provides a network searching method, a network searching device, terminal equipment and a storage medium, and aims to solve the technical problems that the existing network searching method wastes a lot of unnecessary time and the network searching speed is slow.
The technical scheme provided by the application is as follows:
the application provides a network searching method, which is applied to terminal equipment and comprises the following steps:
acquiring a network searching instruction and acquiring a country code;
acquiring a country code of a user identity identification card in the terminal equipment according to the network searching instruction;
acquiring at least one frequency band corresponding to the country code from a preset frequency band list as a target frequency band;
and searching the network according to the target frequency band.
In the network search method provided by the present application, the performing network search according to the target frequency band includes:
acquiring the current time of the terminal equipment;
determining a historical time period corresponding to the current time;
detecting whether a target frequency band matched with the historical time period exists or not;
and if so, performing network search on the target frequency band matched with the historical time period.
In the network search method provided by the present application, when there are a plurality of target frequency bands matched with the historical period, the network search for the target frequency band matched with the historical period includes:
determining the network signal strength of each target frequency band matched with the historical time period;
sequencing the target frequency bands according to the strength of the signal strength;
and sequentially carrying out network search on the plurality of target frequency bands according to the sequencing order.
In the network search method provided by the present application, the performing network search according to the target frequency band includes:
acquiring the current geographic position of the terminal equipment;
detecting whether a target frequency band matched with the current geographic position exists or not;
and if so, performing network search on the target frequency band matched with the current geographic position.
In the network search method provided by the present application, when there are a plurality of target frequency bands matched with the current geographic location, the network search for the target frequency band matched with the current geographic location includes:
acquiring historical use times of each target frequency band matched with the current geographic position;
sequencing the target frequency bands according to the historical use times;
and sequentially carrying out network search on the plurality of target frequency bands according to the sequencing order.
The application also provides a network searching device, which is applied to the terminal equipment and comprises:
the instruction acquisition module is used for acquiring a network search instruction;
the country code acquisition module is used for acquiring the country code of the user identity identification card in the terminal equipment according to the network search instruction;
a target frequency band obtaining module, configured to obtain at least one frequency band corresponding to the country code from a preset frequency band list, where the frequency band is used as a target frequency band;
and the network searching module is used for searching the network according to the target frequency band.
In the network search apparatus provided by the present application, the network search module includes:
the time obtaining submodule is used for obtaining the current time of the terminal equipment;
the time interval determining submodule is used for determining a historical time interval corresponding to the current time;
the first detection submodule is used for detecting whether a target frequency band matched with the historical time period exists or not;
and the first searching submodule is used for carrying out network searching on the target frequency band matched with the historical time period if the target frequency band exists.
In the network search apparatus provided in the present application, the network search apparatus further includes:
the position acquisition module is used for acquiring the current geographic position of the terminal equipment;
the second detection submodule is used for detecting whether a target frequency band matched with the current geographic position exists or not;
and the second searching submodule is used for carrying out network searching on the target frequency band matched with the current geographic position if the target frequency band exists.
The present application further provides a computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform any of the above network search methods.
The application also provides a terminal device, which comprises a processor and a memory, wherein the processor is electrically connected with the memory, the memory is used for storing instructions and data, and the processor is used for the steps in the network searching method.
The beneficial effect of this application does: the application discloses a network searching method, a device, a terminal device and a storage medium, wherein the searching method is applied to the terminal device and comprises the following steps: acquiring a network search instruction, acquiring a country code of a user identity identification card in the terminal equipment according to the network search instruction, then acquiring at least one frequency band corresponding to the country code from a preset frequency band list as a target frequency band, and performing network search according to the target frequency band. According to the method and the device, the country code is obtained, the range of the frequency band required by the terminal device during network searching is limited, so that the time required by the terminal device during network searching is saved, the speed of network searching is increased, and the user experience is improved.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic view of an application scenario of a network search method provided in an embodiment of the present application.
Fig. 2 is a schematic flowchart of a network searching method according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a network search apparatus according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a network search module according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a first search submodule provided in an embodiment of the present application.
Fig. 6 is another schematic structural diagram of a network search module according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a second search submodule provided in the embodiment of the present application.
Fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Fig. 9 is another schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
The embodiment of the application provides a network searching method, a network searching device, terminal equipment and a storage medium.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a network search system, where the network search system may include any one of the network search apparatuses provided in the embodiments of the present application, and the network search apparatus may be integrated in a terminal device, and the terminal device may include a device with a network function, such as a smart phone and a tablet computer.
The terminal device can obtain a network search instruction, then obtain a country code of a user identification card in the terminal device according to the network search instruction, then obtain at least one frequency band corresponding to the country code from a preset frequency band list as a target frequency band, and perform network search according to the target frequency band.
For example, referring to fig. 1, when the terminal device switches from the power-off state to the power-on state or from the non-service state to the service state, a network search instruction may be generated, and then a country code is obtained according to the network search instruction, and then a target frequency band is obtained from a preset frequency band list, and network search is performed according to the target frequency band.
As shown in fig. 2, fig. 2 is a schematic flowchart of a network searching method provided in this embodiment, where the network searching method is applied to a terminal device, and the terminal device may be any intelligent electronic device with a mobile communication function, such as a smart phone, a tablet computer, a notebook computer, smart glasses, a smart bracelet, and the like. The terminal device is configured with a card slot into which a Subscriber Identity Module (SIM) card can be inserted, and the SIM card can be selected from a Universal Subscriber Identity Module (USIM) card, an ESIM card (Embedded-SIM) card, and the like. The mobile network can be configured into a 2G, 3G, 4G, 5G or 6G network according to the user identification card and the communication module of the terminal equipment. The Subscriber identity card stores Home Public Land Mobile Network (HPLMN) information, and the Home Public land Mobile Network information includes an International Mobile Subscriber Identity (IMSI). And after the terminal equipment is started, acquiring the information of the home public land mobile network in the user identity identification card inserted into the card slot. The specific process of the network search method provided by this embodiment may be as follows:
101. and acquiring a network searching instruction.
Before the network search instruction is obtained, the service switching state of the terminal device is monitored, and taking a smart phone as an example, when the smart phone is switched from a non-service state (where the non-service state may be a flight mode or a weak signal) to a network service state, the network search instruction is generated.
In addition, before the network search instruction is obtained, the on/off switching state of the terminal device is detected, and when the smart phone is switched from the off state to the on state, taking the smart phone as an example, the network search instruction is generated.
102. And acquiring the country code of the user identification card in the terminal equipment according to the network searching instruction.
Specifically, the country code, i.e., the Mobile Country Code (MCC), is defined in international telecommunication union e.212, which aims to identify Mobile device bases in telecommunication networks, particularly in Global System for Mobile Communications (GSM) and Universal Mobile Telecommunications System (UMTS). The country code is configured by the International Telecommunications Union (ITU) according to the country, for example, 460 in china. The country code is part of the international mobile subscriber identity, typically stored in a removable subscriber identity card, available in the GSM/UMTS radio modem with the AT command AT + COPS.
103. And acquiring at least one frequency band corresponding to the country code from a preset frequency band list as a target frequency band.
The preset frequency band list comprises frequency bands of operators in different countries. For example, china mobile communication group company (china mobile for short), china union network communication group limited company (china unicom for short) or china telecom group company provides their respective subscriber identity cards, and sets corresponding network frequency bands for the subscriber identity cards provided by themselves, respectively. For different national regions, corresponding network frequency band data is usually configured fixedly; for example, the frequency ranges used by the TD-LTE network of the mobile operator in China are 2320-2370MHz and 2575-2635 MHz; an LTEFDD network of a Unicom operator has uplink frequency bands as follows: 1955 and 1980MHz, the downlink frequency band is as follows: 2145-2170 MHz; in an LTE FDD network of a telecommunications carrier, the uplink frequency band is: 1755 + 1785MHz, and the downlink frequency band is: 1850-. It can be seen that for each country around the world there is an allocated set of frequency band numbers. In the embodiment of the application, the terminal device stores frequency bands of operators in different countries in advance, finds out each frequency band corresponding to a country code after acquiring the country code, and performs network search based on the target frequency band.
And S104, network searching is carried out according to the target frequency band.
To this end, the purpose of limiting the range of the required target frequency band by the country code has been completed, but in order to further increase the speed of the network search, the range of the target frequency band may be further narrowed by the history period, and specifically, the step S104 may include:
1-1, acquiring the current time of the terminal equipment.
1-2, determining the historical period corresponding to the current time.
Specifically, the terminal device needs to store a network search record of each time period within half a year for the user to determine. The length of each time interval can be defined as any time interval such as half an hour, an hour and the like.
1-3, detecting whether a target frequency band matched with the historical time interval exists.
For example, the length of each time period may be defined as half an hour, provided that the current time is 15 pm: and 50, then the historical time period corresponding to the current time is 15:35 to 16:05, and then whether the frequency band searched in the historical time period within more than half a year exists in the target frequency band is detected.
And 1-4, if the target frequency band exists, performing network search on the target frequency band matched with the historical time period.
In this embodiment, the number of the target frequency bands matched with the history time period is multiple, and the step of "performing network search on the target frequency band matched with the history time period" may specifically include:
determining the network signal intensity of each target frequency band matched with the historical time period;
sequencing the target frequency bands according to the strength of the signal strength;
and carrying out network search on the plurality of target frequency bands according to the sequencing order.
Preferably, the target frequency bands can be sequenced from strong to weak according to the strength of the signal strength, so that the subsequent network searching speed is increased.
In addition to further narrowing down the target frequency band by using the historical time period, the target frequency band may also be further narrowed down by using the geographic location, and specifically, the step S104 may include:
and 2-1, acquiring the current geographic position of the terminal equipment.
For example, taking a smart phone as an example, according to a positioning function of the smart phone, a location of the smart phone, that is, a current geographic location of a user using the smart phone is determined.
And 2-2, detecting whether a target frequency band matched with the current geographic position exists.
And 2-3, if the frequency band exists, carrying out network search on the target frequency band matched with the current geographic position.
In this embodiment, the number of the target frequency bands matched with the current geographic location is multiple, and the step of performing network search on the target frequency band matched with the current geographic location may specifically include:
acquiring historical use times of each target frequency band matched with the current geographic position;
sequencing the target frequency bands according to the historical use times;
and sequentially carrying out network search on the plurality of target frequency bands according to the sequencing order.
For example, the historical usage count may refer to the number of times each target frequency band is used within a specified period, wherein the specified period may be the last month or half year set by human.
As can be seen from the above, the network searching method provided in this embodiment is applied to a terminal device, and is implemented by obtaining a network searching instruction, then obtaining a country code of a user identification card in the terminal device according to the network searching instruction, then obtaining at least one frequency band corresponding to the country code from a preset frequency band list, taking the frequency band as a target frequency band, and performing network searching according to the target frequency band, so as to limit a range of a frequency band required by the terminal device when performing network searching, save time required by the terminal device when performing network searching, improve a speed of network searching, and improve user experience.
According to the method described in the foregoing embodiment, the present embodiment will be further described from the perspective of a network search apparatus, which may be specifically implemented as an independent entity, or may be implemented by being integrated in an electronic device, such as a terminal, where the terminal may include a mobile phone, a tablet computer, and the like.
Referring to fig. 3, fig. 3 specifically illustrates that the network search apparatus provided in the embodiment of the present application is applied to a terminal device, and the terminal device may be any intelligent electronic device with a mobile communication function, such as a smart phone, a tablet computer, a notebook computer, smart glasses, a smart bracelet, and the like. The terminal device is configured with a card slot into which a Subscriber Identity Module (SIM) card can be inserted, and the SIM card can be selected from a Universal Subscriber Identity Module (USIM) card, an ESIM card (Embedded-SIM) card, and the like. The mobile network can be configured into a 2G, 3G, 4G, 5G or 6G network according to the user identification card and the communication module of the terminal equipment. The Subscriber identity card stores Home Public Land Mobile Network (HPLMN) information, and the Home public land Mobile Network information includes an International Mobile Subscriber Identity (IMSI). And after the terminal equipment is started, acquiring the information of the home public land mobile network in the user identity identification card inserted into the card slot. The network search apparatus may include: instruction acquisition module 10, country code acquisition module 20, target frequency channel acquisition module 30 and network search module 40, wherein:
(1) instruction fetch Module 10
And the instruction acquisition module 10 is used for acquiring a network search instruction.
Before the network search instruction is obtained, the service switching state of the terminal device is monitored, and taking a smart phone as an example, when the smart phone is switched from a non-service state (where the non-service state may be a flight mode or a weak signal) to a network service state, the network search instruction is generated.
In addition, before the network search instruction is obtained, the on/off switching state of the terminal device is detected, and when the smart phone is switched from the off state to the on state, taking the smart phone as an example, the network search instruction is generated.
(2) Country code acquisition module 20
A country code obtaining module 20, configured to obtain a country code of the user id in the terminal device according to the network search instruction.
Specifically, the country code, i.e., the Mobile Country Code (MCC), is defined in international telecommunication union e.212, which aims to identify Mobile device bases in telecommunication networks, particularly in Global System for Mobile Communications (GSM) and Universal Mobile Telecommunications System (UMTS). The country code is configured by the International Telecommunications Union (ITU) according to the country, for example, 460 in china. The country code is part of the international mobile subscriber identity, typically stored in a removable subscriber identity card, available in the GSM/UMTS radio modem with the AT command AT + COPS.
(3) Target frequency band acquisition module 30
And a target frequency band obtaining module 30, configured to obtain at least one frequency band corresponding to the country code from a preset frequency band list, as a target frequency band.
The preset frequency band list comprises frequency bands of operators in different countries. For example, china mobile communication group company (china mobile for short), china union network communication group limited company (china unicom for short) or china telecom group company provides their respective subscriber identity cards, and sets corresponding network frequency bands for the subscriber identity cards provided by themselves, respectively. For different national regions, corresponding network frequency band data is usually configured fixedly; for example, the frequency ranges used by the TD-LTE network of the mobile operator in China are 2320-2370MHz and 2575-2635 MHz; an LTEFDD network of a Unicom operator has uplink frequency bands as follows: 1955 and 1980MHz, the downlink frequency band is as follows: 2145-2170 MHz; in an LTE FDD network of a telecommunications carrier, the uplink frequency band is: 1755 + 1785MHz, and the downlink frequency band is: 1850-. It can be seen that for each country around the world there is an allocated set of frequency band numbers. In the embodiment of the application, the terminal device stores frequency bands of operators in different countries in advance, finds out each frequency band corresponding to a country code after acquiring the country code, and performs network search based on the target frequency band.
(4) Network search module 40
And the network searching module 40 is used for searching a network according to the target frequency band.
In this embodiment, the range of the target frequency band may be further narrowed by the time of network search, for example, as shown in fig. 4, the network search module 40 may specifically include:
and the time obtaining submodule 41 is configured to obtain the current time of the terminal device.
And a period determining submodule 42, configured to determine a history period corresponding to the current time.
Specifically, the terminal device needs to store a network search record of each time period within half a year for the user to determine. The length of each time interval can be defined as any time interval such as half an hour, an hour and the like.
And a first detection submodule 43, configured to detect whether there is a target frequency band that matches the historical period.
For example, the length of each time period may be defined as half an hour, provided that the current time is 15 pm: and 50, then the historical time period corresponding to the current time is 15:35 to 16:05, and then whether the frequency band searched in the historical time period within more than half a year exists in the target frequency band is detected.
And the first searching submodule 44 is configured to perform network search on a target frequency band matched with the historical time period if the target frequency band exists.
In this embodiment, there are a plurality of target frequency bands matched with the historical time period, and in order to increase the successful speed of network search, the target frequency bands matched with the historical time period may be sorted according to the strength of the network signal, for example, as shown in fig. 5, the first search submodule 44 may specifically include:
and a signal determining sub-module 441, configured to determine the network signal strength of each target frequency band that matches the historical period.
The signal sorting sub-module 442 sorts the plurality of target frequency bands according to the strength of the signal strength.
Preferably, the target frequency bands can be sequenced from strong to weak according to the strength of the signal strength, so that the subsequent network searching speed is increased.
The third searching sub-module 443 performs network searching on the plurality of target frequency bands according to the sorting order.
In this embodiment, the range of the target frequency band may be further narrowed according to the position of the network search, for example, as shown in fig. 6, the network search module 40 may include:
and a location obtaining submodule 45, configured to obtain a current geographic location of the terminal device.
For example, taking a smart phone as an example, according to the positioning function of the smart phone, the location of the smart phone, that is, the current geographic location of the user using the smart phone is determined
And a second detection submodule 46, configured to detect whether a target frequency band matching the current geographic location exists.
And the second searching submodule 47 is configured to, if the target frequency band exists, perform network search on the target frequency band matched with the current geographic position.
In this embodiment, there are a plurality of target frequency bands matched with the current geographic location, and in order to increase the successful speed of network search, the target frequency bands matched with the current geographic location may be sorted according to the historical usage times of each target frequency band, as shown in fig. 7, the second search sub-module 47 may specifically include:
the number obtaining submodule 471 is configured to obtain the historical usage number of each target frequency band matched with the current geographic location.
For example, the historical usage count may refer to the number of times each target frequency band is used within a specified period, wherein the specified period may be the last month or half year set by human.
The frequency sorting sub-module 472 is configured to sort the multiple target frequency bands according to the size of the historical usage times.
The fourth search sub-module 473 is configured to sequentially perform network search on the multiple target frequency bands according to the sorting order.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It can be seen from the above description that, the network searching apparatus provided in this embodiment is applied to a terminal device, a network searching instruction is obtained by the instruction obtaining module 10, then, the country code obtaining module 20 obtains a country code of a user identification card in the terminal device according to the network searching instruction, the target frequency band obtaining module 30 obtains at least one frequency band corresponding to the country code from a preset frequency band list, as a target frequency band, and then, the network searching module 40 performs network searching according to the target frequency band, so that a range of a frequency band required by the terminal device during network searching is limited, time required by the terminal device during network searching is saved, a speed of network searching is increased, and user experience is improved.
In addition, the embodiment of the application further provides a terminal device, and the terminal device can be a smart phone, a tablet computer and other devices. As shown in fig. 8, the terminal device 500 includes a processor 501 and a memory 502. The processor 501 is electrically connected to the memory 502.
The processor 501 is a control center of the terminal device 500, connects various parts of the entire terminal device by using various interfaces and lines, and executes various functions of the terminal device and processes data by running or loading an application program stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the terminal device.
In this embodiment, the processor 501 in the terminal device 500 loads instructions corresponding to processes of one or more application programs into the memory 502 according to the following steps, and the processor 501 runs the application programs stored in the memory 502, thereby implementing various functions:
acquiring a network searching instruction;
acquiring a country code of a user identity identification card in the terminal equipment according to the network search instruction;
acquiring at least one frequency band corresponding to the country code from a preset frequency band list as a target frequency band;
and searching the network according to the target frequency band.
Fig. 9 is a block diagram illustrating a specific structure of a terminal device according to an embodiment of the present application, where the terminal device may be used to implement the network search method provided in the foregoing embodiment. The terminal device 300 may be a smart phone or a tablet computer.
The RF circuit 310 is used for receiving and transmitting electromagnetic waves, and performing interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuitry 310 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. RF circuit 310 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE802.11g and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Microwave Access (Microwave for Wireless), Max-1, and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 320 may be used for storing software programs and modules, such as the network searching method and the corresponding program instructions/modules in the above embodiments, and the processor 380 executes various functional applications and data processing by running the software programs and modules stored in the memory 320, so as to implement the network searching function. The memory 320 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 320 may further include memory located remotely from processor 380, which may be connected to terminal device 300 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means 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, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 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 340 may be used to display information input by or provided to the user and various graphic user interfaces of the terminal apparatus 300, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 9, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The terminal device 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the terminal device 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device 300, detailed descriptions thereof are omitted.
The terminal device 300 may assist the user in e-mail, web browsing, streaming media access, etc. through the transmission module 370 (e.g., a Wi-Fi module), which provides the user with wireless broadband internet access. Although fig. 9 shows the transmission module 370, it is understood that it does not belong to the essential constitution of the terminal device 300, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 380 is a control center of the terminal device 300, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal device 300 and processes data by running or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby performing overall monitoring of the mobile phone. Optionally, processor 380 may include one or more processing cores; in some embodiments, processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
Terminal device 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may be logically coupled to processor 380 via a power management system in some embodiments to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 300 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
acquiring a network searching instruction;
acquiring a country code of a user identity identification card in the terminal equipment according to the network search instruction;
acquiring at least one frequency band corresponding to the country code from a preset frequency band list as a target frequency band;
and searching the network according to the target frequency band.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, an embodiment of the present application provides a storage medium including terminal device executable instructions. The terminal device executable instructions, when executed by a terminal device processor, perform the steps of any one of the network search methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any network searching method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any network searching method provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.
Claims (10)
1. A network searching method is applied to terminal equipment and is characterized by comprising the following steps:
acquiring a network searching instruction;
acquiring a country code of a user identity identification card in the terminal equipment according to the network searching instruction;
acquiring at least one frequency band corresponding to the country code from a preset frequency band list as a target frequency band;
and searching the network according to the target frequency band.
2. The method according to claim 1, wherein the performing network search according to the target frequency band comprises:
acquiring the current time of the terminal equipment;
determining a historical time period corresponding to the current time;
detecting whether a target frequency band matched with the historical time period exists or not;
and if so, performing network search on the target frequency band matched with the historical time period.
3. The network searching method according to claim 2, wherein when there are a plurality of target frequency bands matching the history period, the network searching for the target frequency band matching the history period includes:
determining the network signal strength of each target frequency band matched with the historical time period;
sequencing the target frequency bands according to the strength of the signal strength;
and sequentially carrying out network search on the plurality of target frequency bands according to the sequencing order.
4. The method according to claim 1, wherein the performing network search according to the target frequency band comprises:
acquiring the current geographic position of the terminal equipment;
detecting whether a target frequency band matched with the current geographic position exists or not;
and if so, performing network search on the target frequency band matched with the current geographic position.
5. The network searching method according to claim 4, wherein when there are a plurality of target frequency bands matching the current geographic location, the performing the network search on the target frequency band matching the current geographic location includes:
acquiring historical use times of each target frequency band matched with the current geographic position;
sequencing the target frequency bands according to the historical use times;
and sequentially carrying out network search on the plurality of target frequency bands according to the sequencing order.
6. A network searching device applied to a terminal device is characterized by comprising:
the instruction acquisition module is used for acquiring a network search instruction;
the country code acquisition module is used for acquiring the country code of the user identity identification card in the terminal equipment according to the network search instruction;
a target frequency band obtaining module, configured to obtain at least one frequency band corresponding to the country code from a preset frequency band list, where the frequency band is used as a target frequency band;
and the network searching module is used for searching the network according to the target frequency band.
7. The network searching apparatus of claim 6, wherein the network searching module comprises:
the time obtaining submodule is used for obtaining the current time of the terminal equipment;
the time interval determining submodule is used for determining a historical time interval corresponding to the current time;
the first detection submodule is used for detecting whether a target frequency band matched with the historical time period exists or not;
and the first searching submodule is used for carrying out network searching on the target frequency band matched with the historical time period if the target frequency band exists.
8. The network searching apparatus of claim 6, wherein the network searching module comprises:
the position acquisition submodule is used for acquiring the current geographic position of the terminal equipment;
the second detection submodule is used for detecting whether a target frequency band matched with the current geographic position exists or not;
and the second searching submodule is used for carrying out network searching on the target frequency band matched with the current geographic position if the target frequency band exists.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the network search method of any of claims 1 to 5.
10. A terminal device comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the network search method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910926703.XA CN110677842B (en) | 2019-09-27 | 2019-09-27 | Network searching method, device, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910926703.XA CN110677842B (en) | 2019-09-27 | 2019-09-27 | Network searching method, device, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110677842A true CN110677842A (en) | 2020-01-10 |
CN110677842B CN110677842B (en) | 2022-06-10 |
Family
ID=69079589
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910926703.XA Active CN110677842B (en) | 2019-09-27 | 2019-09-27 | Network searching method, device, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110677842B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111447633A (en) * | 2020-04-08 | 2020-07-24 | Tcl移动通信科技(宁波)有限公司 | Network list generation method and device, mobile terminal and storage medium |
CN113242541A (en) * | 2021-04-26 | 2021-08-10 | 深圳市广和通无线股份有限公司 | Network registration method and device, electronic equipment and storage medium |
CN113260062A (en) * | 2021-05-17 | 2021-08-13 | 深圳市广和通无线股份有限公司 | Multi-frequency terminal working frequency band configuration method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100184433A1 (en) * | 2009-01-22 | 2010-07-22 | Research In Motion Limited | Method for wireless system selection optimization |
US20110143753A1 (en) * | 2009-12-11 | 2011-06-16 | Cellco Partnership D/B/A Verizon Wireless | Determining mobile station operating country to enable system selection or other location based device features without network assistance |
CN103209460A (en) * | 2012-01-14 | 2013-07-17 | 深圳市同洲电子股份有限公司 | Method for preferentially selecting communication network frequency band and communication terminal |
WO2015143706A1 (en) * | 2014-03-28 | 2015-10-01 | 华为终端有限公司 | Roaming access method and device |
CN106304265A (en) * | 2015-05-28 | 2017-01-04 | 中国移动通信集团公司 | A kind of network search method and device |
CN106375962A (en) * | 2016-11-16 | 2017-02-01 | 努比亚技术有限公司 | Network searching method and mobile terminal |
-
2019
- 2019-09-27 CN CN201910926703.XA patent/CN110677842B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100184433A1 (en) * | 2009-01-22 | 2010-07-22 | Research In Motion Limited | Method for wireless system selection optimization |
US20110143753A1 (en) * | 2009-12-11 | 2011-06-16 | Cellco Partnership D/B/A Verizon Wireless | Determining mobile station operating country to enable system selection or other location based device features without network assistance |
CN103209460A (en) * | 2012-01-14 | 2013-07-17 | 深圳市同洲电子股份有限公司 | Method for preferentially selecting communication network frequency band and communication terminal |
WO2015143706A1 (en) * | 2014-03-28 | 2015-10-01 | 华为终端有限公司 | Roaming access method and device |
CN106304265A (en) * | 2015-05-28 | 2017-01-04 | 中国移动通信集团公司 | A kind of network search method and device |
CN106375962A (en) * | 2016-11-16 | 2017-02-01 | 努比亚技术有限公司 | Network searching method and mobile terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111447633A (en) * | 2020-04-08 | 2020-07-24 | Tcl移动通信科技(宁波)有限公司 | Network list generation method and device, mobile terminal and storage medium |
CN113242541A (en) * | 2021-04-26 | 2021-08-10 | 深圳市广和通无线股份有限公司 | Network registration method and device, electronic equipment and storage medium |
CN113260062A (en) * | 2021-05-17 | 2021-08-13 | 深圳市广和通无线股份有限公司 | Multi-frequency terminal working frequency band configuration method and device, electronic equipment and storage medium |
WO2022242172A1 (en) * | 2021-05-17 | 2022-11-24 | 深圳市广和通无线股份有限公司 | Method and apparatus for configuring working frequency band of multi-band terminal, electronic device, and storage medium |
CN113260062B (en) * | 2021-05-17 | 2023-09-08 | 深圳市广和通无线股份有限公司 | Multi-frequency terminal working frequency band configuration method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110677842B (en) | 2022-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10142845B2 (en) | Network connection method and apparatus, and computer storage medium | |
CN106851654B (en) | Pseudo base station identification method, pseudo base station identification device and terminal | |
US10327147B2 (en) | Method and apparatus for identifying pseudo base-station, and terminal | |
CN106413036B (en) | Network access processing method and terminal equipment | |
CN110677842B (en) | Network searching method, device, terminal equipment and storage medium | |
CN106888495B (en) | Network access method and terminal | |
CN110022553B (en) | User identity identification card management method and mobile terminal | |
CN106961710B (en) | Network access method and terminal | |
CN108112028B (en) | Network searching method and equipment for international roaming | |
CN107817932A (en) | Account switching method, device and user terminal | |
CN111277991A (en) | Operator name display method and device, mobile terminal and storage medium | |
CN109379093A (en) | A kind of method, apparatus, circuit and the electronic equipment of adjustment signal frequency | |
CN113489630A (en) | Network distribution method, device, storage medium and electronic terminal | |
CN109688611B (en) | Frequency band parameter configuration method, device, terminal and storage medium | |
CN110351702B (en) | System information area determining method, indicating method, terminal and network equipment | |
CN106851784B (en) | network scanning method and terminal equipment | |
CN111953389A (en) | Antenna tuning method, antenna tuning device, storage medium and electronic terminal | |
CN106374988A (en) | Downlink inter-band carrier aggregation configuration method and apparatus, and terminal | |
CN106851023B (en) | Method and equipment for quickly making call and mobile terminal | |
CN106686210B (en) | Incoming call processing method, device and system | |
CN105635379B (en) | Noise suppression method and device | |
CN106535229B (en) | WiFi signal receiving sensitivity testing method and mobile terminal | |
CN111193558B (en) | Radio frequency parameter calibration method and device, storage medium and mobile terminal | |
CN113613310A (en) | WIFI connection method and device, storage medium and mobile terminal | |
CN115776666A (en) | Network parameter configuration method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |