CN111031588B - Network searching method, device, terminal equipment and storage medium - Google Patents

Network searching method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN111031588B
CN111031588B CN201911316300.XA CN201911316300A CN111031588B CN 111031588 B CN111031588 B CN 111031588B CN 201911316300 A CN201911316300 A CN 201911316300A CN 111031588 B CN111031588 B CN 111031588B
Authority
CN
China
Prior art keywords
network
data
target network
searching
mobile terminal
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
CN201911316300.XA
Other languages
Chinese (zh)
Other versions
CN111031588A (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.)
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
TCL Mobile Communication Technology Ningbo 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 TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN201911316300.XA priority Critical patent/CN111031588B/en
Publication of CN111031588A publication Critical patent/CN111031588A/en
Application granted granted Critical
Publication of CN111031588B publication Critical patent/CN111031588B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a network searching method, a device, terminal equipment and a storage medium, wherein the searching method is applied to a mobile terminal and comprises the following steps: when the mobile terminal accesses the first target network, network data is transmitted through the first target network, the network searching is stopped in the transmission process of the network data, and when the network data transmission is finished, the first target network is searched again. According to the method and the device, the network is stopped being searched in the normal transmission process of the network data, so that repeated searching is not carried out on the normal network, the power consumption of the mobile terminal is reduced, and the endurance is increased.

Description

Network searching method, device, terminal equipment and storage medium
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 uses physical link to connect each isolated workstation or host to form data link, so as to achieve the purpose of resource sharing and communication. Communication is the communication and transfer of information from person to person through some medium. The network communication is realized by connecting each isolated device through a network and realizing the communication between people, between people and computers and between computers through information exchange.
If the mobile terminal wants to perform network communication, the mobile terminal needs to search a network first and then accesses a network, and the network can transmit network data to the mobile terminal. In the existing network searching method, even if a mobile terminal has access to a network and the network can normally transmit network data to the mobile terminal, the network is repeatedly searched all the time to determine the access state of the network, which causes the power consumption of the mobile terminal to increase and the endurance to decrease.
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 network is repeatedly searched all the time, the power consumption of a mobile terminal is increased and the endurance is reduced in the conventional network searching method under the condition that the network normally transmits network data to the mobile terminal.
The technical scheme provided by the application is as follows:
the application provides a network searching method, which is applied to a mobile terminal and comprises the following steps:
when the mobile terminal accesses a first target network, transmitting network data through the first target network;
stopping searching the network in the transmission process of the network data;
and searching the first target network again when the network data transmission is finished.
The application also provides a network searching device, which is applied to a mobile terminal and comprises:
the transmission module is used for transmitting network data through a first target network when the mobile terminal is accessed to the first target network;
the search stopping module is used for stopping searching the network in the transmission process of the network data;
and the searching module is used for searching the first target network again when the network data transmission is finished.
In the network search device provided by the application, the transmission module may be further configured to split the network data into N segments, and sequentially transmit the N segments of split data, where N is a positive integer;
the search stopping module comprises:
the accumulation submodule is used for adding 1 to the transmission times when the transmission end of each segment of data in the plurality of segments of data is detected;
the judging submodule is used for judging that the network data transmission is finished when the transmission times reach N; and when the transmission times do not reach N, judging that the network data is not transmitted and finished.
In the network number searching device provided by the present application, the search stopping module further includes a transmission sub-module, configured to:
when the network data is not transmitted, if the mobile terminal is disconnected with the first target network, detecting whether the geographic position of the mobile terminal is changed;
If yes, searching a network to determine a second target network, and accessing the second target network; continuing to transmit the remaining network data over the second target network;
if not, searching the first target network and accessing the first target network; continuing to transmit the remaining network data over the first target network.
In the network search apparatus provided in the present application, the network search apparatus further includes:
the first determining module is used for starting a network searching function, acquiring the signal intensity of each network and then determining a first target network according to the signal intensity.
In the network search apparatus provided in the present application, the network search apparatus further includes:
and the second determining module is used for starting a network searching function, acquiring the historical access times of each network, and then determining the first target network according to the historical access times.
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 a mobile terminal and comprises the following steps: when the mobile terminal accesses the first target network, network data is transmitted through the first target network, the network searching is stopped in the transmission process of the network data, and when the network data transmission is finished, the first target network is searched again. According to the method and the device, the network is stopped being searched in the normal transmission process of the network data, so that repeated searching is not carried out on the normal network, the power consumption of the mobile terminal is reduced, and the endurance is increased.
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 another schematic flow chart of the network searching method according to the embodiment of the present application.
Fig. 4 is a schematic structural diagram of a network search apparatus according to an embodiment of the present application.
Fig. 5 is another schematic structural diagram of a network searching apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Fig. 7 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.
When the mobile terminal accesses a first target network, network data are transmitted through the first target network, then, in the transmission process of the network data, the network searching is stopped, and then, when the transmission of the network data is finished, the first target network is searched again.
For example, referring to fig. 1, when the mobile terminal accesses the first target network (wireless network), the first target network transmits network data to the mobile terminal, during the transmission, the network search is stopped, and when the network data transmission is finished, for example, the mobile terminal receives a complete network picture, the first target network is searched again.
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 mobile terminal, and the mobile terminal 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 specific process of the network search method provided by this embodiment may be as follows:
s101, when the mobile terminal is accessed to a first target network, network data are transmitted through the first target network.
In this embodiment, the method for the first target network to transmit the network data in step S101 may be: the method comprises the steps of splitting network data into N sections, and sequentially transmitting the split N sections of data, wherein N is a positive integer.
Here, the data lengths of the N pieces of data may be equal or unequal. For example, network data s1 is transmitted through a first target network, the total length of s1 is [ D1(s1), D (n) (s1) ], and if [ D1(s1), D (n) (s1) ] is divided into n1 end transmission, then [ D1(s1), D (m1) (s1) ], [ D (m1) (s1), D (m2) (s1) ], …, [ D (n1) (s1), D (n) (s1) ].
And S102, stopping searching the network in the transmission process of the network data.
In this embodiment, the step S102 may include, in the transmission process of the network data:
when the transmission end of each data segment in the N data segments is detected, adding 1 to the transmission times;
when the transmission times reach N, judging that the network data transmission is finished;
and when the transmission times do not reach N, judging that the network data is not transmitted and finished.
Specifically, when it is detected that the last data of each piece of data is transmitted to the mobile terminal, 1 is added to the number of transmissions, where the initial value of the number of transmissions is 0.
In this embodiment, the step S102 may further include, in the transmission process of the network data:
when the network data is not transmitted, if the mobile terminal is disconnected with the first target network, detecting whether the geographic position of the mobile terminal is changed;
if yes, searching the network to determine a second target network, and accessing the second target network;
continuing to transmit the remaining network data through the second target network;
if not, searching a first target network and accessing the first target network;
the remaining network data is transmitted through the first target network.
When the network data is not transmitted, if the mobile terminal is disconnected from the target first target network, the connection is abnormal, and the reason for the abnormal connection may be that the geographic position of the mobile terminal changes and is not within the coverage of the first target network, so when the mobile terminal is disconnected from the first target network, it is first determined whether the geographic position changes, if so, re-searching is performed to re-determine a second target network, and if not, the abnormal connection may be caused by the network signal degradation of the first target network at a certain moment, only the first target network needs to be re-searched. Wherein the first target network and the second target network may be the same network. The network searching range is judged according to whether the geographic position changes, so that the network searching time can be saved under the condition that the connection is abnormal because of the change of the geographic position, and the power consumption of the mobile terminal is further reduced. For example, taking a smart phone as an example, according to a positioning function of the smart phone, it is determined whether a current geographic location of the smart phone is the same as a geographic location of the network data during normal transmission.
And S103, searching the first target network again when the network data transmission is finished.
Specifically, in the transmission process of the network data in step S102, the end of the transmission of the network data may be judged by the number of times of transmission. The normal transmission of the network data through the first target network is finished, which means that the first target network is normal, so that the first target network is searched again. For example, the transmission of the network data s1 is finished, the first target network is searched again, and the network data s2 is transmitted through the first target network.
Specifically, the process of searching the network is to search the network of the signal frequency band according to the signal frequency band, the signal frequency band may have a plurality of networks, but only one network can pass through the channel of the mobile terminal, that is, only one network can be connected with the mobile terminal, the process of determining the target network from the plurality of networks is the process of judging who the plurality of networks can be connected with the mobile terminal, if the target network is directly determined, the target network is directly searched, the time of trying to connect other networks with the mobile terminal can be greatly saved, and therefore the power consumption of the mobile terminal is reduced.
Different countries and different operators correspond to different signal frequency bands. 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 this embodiment, before the mobile terminal accesses the first target network in step S101, the method further includes:
starting a network searching function;
when a plurality of searched networks exist, acquiring the signal intensity of each network;
a first target network is determined based on the signal strength.
Specifically, when the number of the networks searched by the mobile terminal is multiple, the first target network needs to be determined before accessing the first target network. The first target network can be determined according to the signal strength of each network, and the first target network is determined according to the strength of the signal strength from strong to weak, so that time waste caused by preferentially detecting whether the network with the weak signal strength is matched with the mobile terminal can be avoided, and the power consumption of the mobile terminal is reduced.
In this embodiment, before the mobile terminal accesses the first target network in step S101, the method further includes:
starting a network searching function;
when a plurality of searched networks exist, acquiring the historical access times of each network;
and determining the first target network according to the historical access times.
Specifically, when the number of the networks searched by the mobile terminal is multiple, the first target network needs to be determined before accessing the first target network. Therefore, if the mobile terminal accesses the first target network once, the historical use times of other networks except the first target network are all 0, and the network with the historical access time not being 0 is selected as the first target network for direct access, so that the time for matching other networks with the mobile terminal is saved, and the power consumption of the mobile terminal is reduced.
As can be seen from the above, the network searching method provided in this embodiment is applied to a mobile terminal, and includes: when the mobile terminal accesses a first target network, network data are transmitted through the first target network, then, in the transmission process of the network data, the search for the network is stopped, and then, when the transmission of the network data is finished, the first target network is searched again. According to the method and the device, the network is stopped being searched in the normal transmission process of the network data, so that repeated searching is not carried out on the normal network, the power consumption of the mobile terminal is reduced, and the endurance is increased.
Referring to fig. 3, fig. 3 is another schematic flow chart of a network searching method according to an embodiment of the present application, where the network searching method is applied to a mobile terminal, and the mobile terminal 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 specific process of the network search method provided by this embodiment may be as follows:
s201, when the mobile terminal accesses a first target network, the network data are divided into N sections, the divided N sections of data are sequentially transmitted through the first target network, wherein N is a positive integer, and network searching is stopped in the transmission process of the network data.
Here, the data lengths of the N pieces of data may be equal or unequal. For example, network data s1 is transmitted through a first target network, the total length of s1 is [ D1(s1), D (n) (s1) ], and if [ D1(s1), D (n) (s1) ] is divided into n1 end transmission, then [ D1(s1), D (m1) (s1) ], [ D (m1) (s1), D (m2) (s1) ], …, [ D (n1) (s1), D (n) (s1) ].
In this embodiment, before the mobile terminal accesses the first target network in step S201, the method may further include:
starting a network searching function;
when a plurality of searched networks exist, acquiring the signal intensity of each network;
a first target network is determined based on the signal strength.
Specifically, when a user needs to perform network communication, such as browsing network information, a network search function, such as cellular data or a wireless local area network, is first turned on.
The cellular data is transmitted to the exchange by adopting a packet technology, a wireless packet modem is configured at a user terminal, and the wireless packet modem enters a packet network through a special packet base station, so that a host and a database on the packet network can be accessed, and another mobile data terminal can be called. This technology is mainly used by specialized mobile data communication systems, which only provide mobile data users with a connection to a packet switched data network user.
Wireless Local Area Network (WLAN) refers to a Network system that interconnects computer devices by Wireless communication technology to communicate with each other and realize resource sharing. The wireless local area network is essentially characterized in that a communication cable is not used for connecting a computer with a network, but the computer is connected in a wireless mode, so that the construction of the network and the movement of a terminal are more flexible.
Specifically, the process of searching for a network is to search for a network in a signal frequency band, where multiple networks may exist in the signal frequency band, but only one network may pass through a channel of the mobile terminal, i.e., only one network may be connected to the mobile terminal.
Specifically, when the mobile terminal searches for a plurality of networks, the first target network needs to be determined before accessing the first target network. The first target network can be determined according to the signal strength of each network, and the first target network is determined according to the strength of the signal strength from strong to weak, so that time waste caused by preferentially detecting whether the network with the weak signal strength is matched with the mobile terminal can be avoided, and the power consumption of the mobile terminal is reduced.
In this embodiment, before the mobile terminal accesses the first target network in step S201, the method may further include:
Starting a network searching function;
when a plurality of searched networks exist, acquiring the historical access times of each network;
and determining the first target network according to the historical access times.
Specifically, when the number of the networks searched by the mobile terminal is multiple, the first target network needs to be determined before accessing the first target network. Therefore, if the mobile terminal accesses the first target network once, the historical use times of other networks except the first target network are all 0, and the network with the historical access time not being 0 is selected as the first target network for direct access, so that the time for matching other networks with the mobile terminal is saved, and the power consumption of the mobile terminal is reduced.
S202, when the end of transmission of each piece of data in the plurality of pieces of data is detected, adding 1 to the transmission times.
Specifically, when it is detected that the last data of each piece of data is transmitted to the mobile terminal, 1 is added to the number of transmissions, where the initial value of the number of transmissions is 0.
S203, when the transmission times do not reach N, judging that the network data is not transmitted and finished.
And S204, if the mobile terminal is disconnected with the first target network, detecting whether the geographical position of the mobile terminal is changed. If yes, go to step S205, otherwise go to step S206.
S205, searching the network to determine a second target network, accessing the second target network, and then continuously transmitting the rest network data through the second target network.
S206, searching the first network and accessing the first target network, and then continuously transmitting the rest network data through the first target network.
When the network data is not transmitted, if the mobile terminal is disconnected from the target first target network, the connection is abnormal, and the reason for the abnormal connection may be that the geographic position of the mobile terminal changes and is not within the coverage of the first target network, so when the mobile terminal is disconnected from the first target network, it is first determined whether the geographic position changes, if so, re-searching is performed to re-determine a second target network, and if not, the abnormal connection may be caused by the network signal degradation of the first target network at a certain moment, only the first target network needs to be re-searched. Wherein the first target network and the second target network may be the same network. The network searching range is judged according to whether the geographic position changes, so that the network searching time can be saved under the condition that the connection is abnormal because of the change of the geographic position, and the power consumption of the mobile terminal is further reduced. For example, taking a smart phone as an example, according to a positioning function of the smart phone, it is determined whether a current geographic location of the smart phone is the same as a geographic location of the network data during normal transmission.
And S207, when the transmission times reach N, judging that the network transmission is finished, and searching the first target network again.
Specifically, the normal transmission of the network data through the first target network is ended, which means that the first target network is normal, so that the first target network is searched again.
Specifically, the process of searching the network is to search the network of the signal frequency band according to the signal frequency band, the signal frequency band may have a plurality of networks, but only one network can pass through the channel of the mobile terminal, that is, only one network can be connected with the mobile terminal, the process of determining the target network from the plurality of networks is the process of judging who the plurality of networks can be connected with the mobile terminal, if the target network is directly determined, the target network is directly searched, the time of trying to connect other networks with the mobile terminal can be greatly saved, and therefore the power consumption of the mobile terminal is reduced.
Different countries and different operators correspond to different signal frequency bands. 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 + 1980MHz, and the downlink frequency band is: 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.
As can be seen from the above, the network searching method provided in this embodiment is applied to a mobile terminal, and includes: when a mobile terminal accesses a first target network, splitting network data into N segments, and sequentially transmitting the split N segments of data through the first target network, wherein N is a positive integer, stopping searching the network in the transmission process of the network data, then adding 1 to the transmission times when the transmission end of each segment of data in a plurality of segments of data is detected, judging that the transmission of the network data is not finished when the transmission times do not reach N, if the mobile terminal is disconnected with the first target network, detecting whether the geographic position of a mobile terminal is changed, if so, searching the network to determine a second target network, accessing the second target network, and then, continuously transmitting the rest network data through the second target network; if not, searching the first network and accessing the first target network, then continuously transmitting the rest network data through the first target network, then judging that the network transmission is finished when the transmission times reach N, and searching the first target network again. By stopping searching the network in the normal transmission process of the network data, repeated searching on the normal network is not performed, the power consumption of the mobile terminal is reduced, and the endurance is increased.
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. 4 and 5, fig. 4 is a schematic structural diagram of a network searching apparatus according to an embodiment of the present application, and fig. 5 is another schematic structural diagram of the network searching apparatus according to the embodiment of the present application. The network searching device is applied to the mobile terminal, and the mobile terminal can be any intelligent electronic equipment with a mobile communication function, such as a smart phone, a tablet computer, a notebook computer, intelligent glasses, an intelligent bracelet and the like. The network search apparatus may include: a transmission module 10, a stop search module 20 and a search module 30, wherein:
(1) transmission module 10
The transmission module 10 is configured to transmit network data through a first target network when the mobile terminal accesses the first target network.
In this embodiment, the transmission module 10 may be configured to split the network data into N segments, and sequentially transmit the N segments of split data, where N is a positive integer.
Here, the data lengths of the N pieces of data may be equal or unequal. For example, network data s1 is transmitted through a first target network, the total length of s1 is [ D1(s1), D (n) (s1) ], and if [ D1(s1), D (n) (s1) ] is divided into n1 end transmission, then [ D1(s1), D (m1) (s1) ], [ D (m1) (s1), D (m2) (s1) ], …, [ D (n1) (s1), D (n) (s1) ].
(2) Stop search module 20
And a search stopping module 20, configured to stop searching for a network during transmission of network data.
In this embodiment, the stop search module 20 may include an accumulation sub-module 21 and a judgment sub-module 22, wherein:
the accumulation submodule 21 is configured to add 1 to the number of transmissions when it is detected that the transmission of each of the plurality of pieces of data is ended.
The judging submodule 22 is configured to judge that the network data transmission is ended when the transmission frequency reaches N, and judge that the network data transmission is not ended when the transmission frequency does not reach N.
Specifically, when it is detected that the last data of each piece of data is transmitted to the mobile terminal, the number of transmissions is added by 1, where the initial value of the number of transmissions is 0.
In this embodiment, the stop search module 20 may further include a transmission sub-module 23 configured to:
When the network data is not transmitted, if the mobile terminal is disconnected with the first target network, detecting whether the geographical position of the mobile terminal is changed,
if so, searching the network to determine a second target network, accessing the second target network, and then continuously transmitting the remaining network data through the second target network;
if not, searching the first target network and accessing the first target network, and then continuously transmitting the residual network data through the first target network.
When the network data is not transmitted, if the mobile terminal is disconnected from the target first target network, the connection is abnormal, and the reason for the abnormal connection may be that the geographic position of the mobile terminal changes and is not within the coverage of the first target network, so when the mobile terminal is disconnected from the first target network, whether the geographic position changes or not is determined first, if so, the mobile terminal searches again to determine a second target network, and if not, the mobile terminal may be abnormal connection due to the network signal deterioration of the first target network at a certain moment, only the first target network needs to be searched again. Wherein the first target network and the second target network may be the same network. The network searching range is judged according to whether the geographic position changes, so that the network searching time can be saved under the condition that the connection is abnormal because of the change of the geographic position, and the power consumption of the mobile terminal is further reduced. For example, taking a smart phone as an example, according to a positioning function of the smart phone, it is determined whether a current geographic location of the smart phone is the same as a geographic location of the network data during normal transmission.
(3) Search module 30
And the searching module 30 is used for searching the first target network again when the network data transmission is finished.
Specifically, the normal transmission of the network data through the first target network is finished, which means that the first target network is normal, so that the first target network is searched again. For example, the transmission of the network data s1 is terminated, the first target network is searched again, and the network data s2 is transmitted through the first target network.
Specifically, the process of searching the network is to search the network of the signal frequency band according to the signal frequency band, the signal frequency band may have a plurality of networks, but only one network can pass through the channel of the mobile terminal, that is, only one network can be connected with the mobile terminal, the process of determining the target network from the plurality of networks is the process of judging who the plurality of networks can be connected with the mobile terminal, if the target network is directly determined, the target network is directly searched, the time of trying to connect other networks with the mobile terminal can be greatly saved, and therefore the power consumption of the mobile terminal is reduced.
In this embodiment, the network searching apparatus may further include a first determining module 40, configured to start a network searching function, then obtain the signal strength of each network, and then determine the first target network according to the signal strength.
Specifically, when the mobile terminal searches for a plurality of networks, the first target network needs to be determined before accessing the first target network. The first target network can be determined according to the signal strength of each network, the target network is determined according to the strength of the signal strength from strong to weak, time waste caused by preferentially detecting whether the network with weak signal strength is matched with the mobile terminal can be avoided, and therefore power consumption of the mobile terminal is reduced.
In this embodiment, the network searching apparatus may further include a second determining module 50, configured to start the network searching function, then obtain the historical access times of each network, and then determine the first target network according to the historical access times.
Specifically, when the mobile terminal searches for a plurality of networks, the first target network needs to be determined before accessing the first target network. Therefore, if the mobile terminal accesses the first target network once, the historical use times of other networks except the first target network are all 0, and the network with the historical access time not being 0 is selected as the first target network for direct access, so that the time for matching other networks with the mobile terminal is saved, and the power consumption of the mobile terminal is reduced.
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.
As can be seen from the above description, the network searching apparatus provided in this embodiment is applied to a mobile terminal, when the mobile terminal accesses a first target network, the transmission module 10 transmits network data through the first target network, then, the search module 20 stops searching for a network in the transmission process of the network data, and then, the search module 30 searches for the first target network again when the transmission of the network data is finished.
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. 6, 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:
when the mobile terminal accesses a first target network, transmitting network data through the first target network;
stopping searching the network in the transmission process of the network data;
when the network data transmission is finished, the first target network is searched again.
Fig. 7 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 Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., Institute of Electrical and Electronics Engineers (IEEE) standard IEEE802.11 a, IEEE802.11 b, IEEE802.11g, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide mail Access (Microwave Access for micro), wimax-1, other suitable short message protocols, and any other suitable Protocol for instant messaging, and may even include those protocols 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, the memory 320 can further include memory located remotely from the processor 380, which can be connected to the terminal device 300 over 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 of 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 event thereon or thereabout, it may be passed to processor 380 for determining the type of touch event, and processor 380 may then provide a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 7, 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.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between a user and terminal device 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of peripheral headphones with the terminal device 300.
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. 7 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:
when the mobile terminal accesses a first target network, transmitting network data through the first target network;
stopping searching the network in the transmission process of the network data;
When the network data transmission is finished, the first target network is searched again.
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 (8)

1. A network searching method is applied to a mobile terminal, and is characterized by comprising the following steps:
when the mobile terminal accesses a first target network, transmitting network data through the first target network;
stopping searching the network in the transmission process of the network data;
searching the first target network again when the network data transmission is finished;
the transmitting network data through the first target network specifically includes:
splitting the network data into N sections, and sequentially transmitting the split N sections of data, wherein N is a positive integer;
in the transmission process of the network data, the method further comprises the following steps:
when the transmission end of each piece of data in the N pieces of data is detected, adding 1 to the transmission times;
When the transmission times reach N, judging that the network data transmission is finished;
and when the transmission times do not reach N, judging that the network data is not transmitted and finished.
2. The network searching method according to claim 1, further comprising, during the transmission of the network data:
when the network data is not transmitted, if the mobile terminal is disconnected with the first target network, detecting whether the geographic position of the mobile terminal is changed;
if yes, searching a network to determine a second target network, and accessing the second target network; continuing to transmit the remaining network data over the second target network;
if not, searching the first target network and accessing the first target network;
continuing to transmit the remaining network data over the first target network.
3. The network searching method of claim 1, wherein before the mobile terminal accesses the first target network, further comprising:
starting a network searching function;
when a plurality of searched networks exist, acquiring the signal intensity of each network;
and determining a first target network according to the signal strength.
4. The network searching method according to claim 1, further comprising, before the mobile terminal accesses the first target network:
starting a network searching function;
when a plurality of searched networks exist, acquiring the historical access times of each network;
and determining a first target network according to the historical access times.
5. A network searching device applied to a mobile terminal is characterized by comprising:
the transmission module is used for transmitting network data through a first target network when the mobile terminal is accessed to the first target network;
the search stopping module is used for stopping searching the network in the transmission process of the network data;
the searching module is used for searching the first target network again when the network data transmission is finished;
the transmission module can be further configured to split the network data into N segments, and sequentially transmit the split N segments of data, where N is a positive integer;
the search stopping module comprises:
the accumulation submodule is used for adding 1 to the transmission times when the transmission end of each segment of data in the N segments of data is detected;
the judging submodule is used for judging that the network data transmission is finished when the transmission times reach N; and when the transmission times do not reach N, judging that the network data is not transmitted and finished.
6. The network searching apparatus of claim 5, wherein the search stopping module further comprises a transmission sub-module configured to:
when the network data is not transmitted, if the mobile terminal is disconnected with the first target network, detecting whether the geographic position of the mobile terminal is changed;
if yes, searching a network to determine a second target network, and accessing the second target network; continuing to transmit the remaining network data over the second target network;
if not, searching the first target network and accessing the first target network; continuing to transmit the remaining network data over the first target network.
7. 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 4.
8. 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 4.
CN201911316300.XA 2019-12-19 2019-12-19 Network searching method, device, terminal equipment and storage medium Active CN111031588B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911316300.XA CN111031588B (en) 2019-12-19 2019-12-19 Network searching method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911316300.XA CN111031588B (en) 2019-12-19 2019-12-19 Network searching method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111031588A CN111031588A (en) 2020-04-17
CN111031588B true CN111031588B (en) 2022-06-10

Family

ID=70209709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911316300.XA Active CN111031588B (en) 2019-12-19 2019-12-19 Network searching method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111031588B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763758A (en) * 2014-01-27 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Data service processing method and data service processing device
EP2861023A1 (en) * 2012-06-06 2015-04-15 Kyocera Corporation Communication control method, user terminal, processor, and storage medium
CN106332172A (en) * 2016-09-13 2017-01-11 广东欧珀移动通信有限公司 Method and device of improving network signal quality
CN109379777A (en) * 2018-11-30 2019-02-22 努比亚技术有限公司 A kind of network search method, terminal and computer readable storage medium
CN110324882A (en) * 2019-09-02 2019-10-11 翱捷科技(上海)有限公司 A kind of 4G multi-module mobile terminal and its manual method for searching network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945234A (en) * 2011-08-15 2013-02-27 联想(北京)有限公司 Data information inquiry method and electronic device
EP3811537A1 (en) * 2018-06-19 2021-04-28 IDAC Holdings, Inc. Methods, systems, and devices for transferring data with different reliabilities
CN110312300B (en) * 2019-05-13 2022-06-28 展讯通信(上海)有限公司 Control method, control device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2861023A1 (en) * 2012-06-06 2015-04-15 Kyocera Corporation Communication control method, user terminal, processor, and storage medium
CN103763758A (en) * 2014-01-27 2014-04-30 宇龙计算机通信科技(深圳)有限公司 Data service processing method and data service processing device
CN106332172A (en) * 2016-09-13 2017-01-11 广东欧珀移动通信有限公司 Method and device of improving network signal quality
CN109379777A (en) * 2018-11-30 2019-02-22 努比亚技术有限公司 A kind of network search method, terminal and computer readable storage medium
CN110324882A (en) * 2019-09-02 2019-10-11 翱捷科技(上海)有限公司 A kind of 4G multi-module mobile terminal and its manual method for searching network

Also Published As

Publication number Publication date
CN111031588A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
US10327147B2 (en) Method and apparatus for identifying pseudo base-station, and terminal
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
US11224027B2 (en) Cell registration method and device
CN110113779B (en) eSIM card testing method, system and medium
CN110677842B (en) Network searching method, device, terminal equipment and storage medium
CN111654902B (en) Method and device for reducing GPS signal interference of mobile terminal and mobile terminal
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN107466081B (en) Wireless switching method and terminal
CN111045737B (en) Equipment identifier acquisition method, device, terminal equipment and storage medium
CN111953389A (en) Antenna tuning method, antenna tuning device, storage medium and electronic terminal
CN109831798B (en) Signal acquisition method, system, storage medium and mobile terminal
CN111327343A (en) Common receiving channel radio frequency device, method and mobile terminal
CN112867171B (en) WIFI connection method and device, storage medium and mobile terminal
CN110022600A (en) Adjusting method, device, storage medium and the mobile terminal of driving current
CN112261634B (en) Bluetooth transmission control method and device, terminal equipment and storage medium
CN111031588B (en) Network searching method, device, terminal equipment and storage medium
CN105635379B (en) Noise suppression method and device
CN111314900B (en) Wireless connection method, wireless connection device and mobile terminal
CN110849407B (en) Sensor testing method and device, storage medium and electronic equipment
CN111193558B (en) Radio frequency parameter calibration method and device, storage medium and mobile terminal
CN109831771B (en) Bluetooth searching method and device, mobile terminal and storage medium
CN113613310A (en) WIFI connection method and device, storage medium and mobile terminal
CN112905278A (en) Application program switching method and device
CN107484225B (en) Network access control method, device and user terminal
CN108111553B (en) Method and device for providing service

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