CN111629337A - Method and terminal for controlling network searching - Google Patents
Method and terminal for controlling network searching Download PDFInfo
- Publication number
- CN111629337A CN111629337A CN201910152489.7A CN201910152489A CN111629337A CN 111629337 A CN111629337 A CN 111629337A CN 201910152489 A CN201910152489 A CN 201910152489A CN 111629337 A CN111629337 A CN 111629337A
- Authority
- CN
- China
- Prior art keywords
- information
- terminal
- network
- route
- user
- 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
- 238000000034 method Methods 0.000 title claims abstract description 73
- 230000015654 memory Effects 0.000 claims description 59
- 230000006870 function Effects 0.000 claims description 43
- 230000001133 acceleration Effects 0.000 claims description 24
- 238000004891 communication Methods 0.000 abstract description 39
- 230000009286 beneficial effect Effects 0.000 abstract description 9
- 238000013461 design Methods 0.000 description 36
- 238000010295 mobile communication Methods 0.000 description 16
- 230000004044 response Effects 0.000 description 14
- 238000012545 processing Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000006872 improvement Effects 0.000 description 8
- 238000007726 management method Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 229920001621 AMOLED Polymers 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0248—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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
A method and a terminal for controlling network searching relate to the technical field of communication. The method comprises the steps that a terminal obtains first route information, and the first route information is used for indicating an actual trip route of a user; then according to the first route information, network distribution information of the route of the user actually going out is obtained from the prestored network distribution information of at least one route; the network distribution information of the route of the user actually going out comprises route information, at least one piece of first network information and interval information corresponding to each piece of first network information; when the terminal is disconnected, if at least one first network information is determined to include the network information of the currently accessed cell, controlling not to search the network and determining a target time length according to the interval information corresponding to the network information of the currently accessed cell; and after the target time length, the terminal starts to search the network. The technical scheme is beneficial to the fact that the terminal can timely recover network staying after being disconnected on the fixed line, and meanwhile, the power consumption of the terminal is saved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and a terminal for controlling network searching.
Background
At present, after the terminal is off-line, the network searching process can be executed, so that the terminal can recover the network residence in time, and the normal use of the user is not influenced. However, when the terminal moves to an area with poor or unstable network signal strength, the terminal may be frequently disconnected, so that the terminal frequently executes a network searching process, power consumption of the terminal is greatly increased, and user experience is seriously affected.
For example, when a user takes a train, a subway or other transportation means, the user often passes through an area with poor or unstable network signal intensity, and if the terminal adopts the existing network searching control method, that is, the terminal searches for a network after being off-line, although the terminal can recover the network staying in time, the increase of the power consumption of the terminal is easily caused, the standby time of the terminal is shortened, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a method and a terminal for controlling network searching, which are beneficial to the fact that the terminal can restore network residence in time after being disconnected on a fixed route, meanwhile, the power consumption of the terminal is saved, and the user experience is improved.
In a first aspect, a method for controlling network searching in an embodiment of the present application includes:
the method comprises the steps that a terminal obtains first route information, wherein the first route information is used for indicating an actual trip route of a user; then, the terminal acquires the network distribution information of the route actually taken by the user from the pre-stored network distribution information of at least one route according to the first route information; the network distribution information of the route of the user actually going out comprises route information, at least one piece of first network information and interval information corresponding to each piece of first network information; each piece of first network information is used for indicating a cell accessed by a terminal when the actual trip route of the user is off-line; the terminal judges whether the network is disconnected, if so, judges whether the at least one piece of first network information comprises the network information of the currently accessed cell, and if the at least one piece of first network information comprises the network information of the currently accessed cell, controls not to search the network and determines the target time length according to the interval information corresponding to the network information of the currently accessed cell; the target time length is used for indicating the time length which corresponds to the network information of the currently accessed cell and is used for controlling not to search the network; and after the target time length passes, the terminal stops controlling not to search the network and starts to search the network.
The terminal can pre-store the network distribution information of at least one route, so that the terminal can determine the target duration according to the route which is actually appeared by a user and the network distribution information of the route after detecting the off-line, and then search for the network after the target duration.
In one possible design, the terminal may obtain the first route information based on:
the terminal identifies that a first application installed by the terminal receives ticket order information; and acquiring the first route information according to the ticket order information. Which helps to reduce user operations.
In a possible design, the terminal receives a first operation of a user, where the first operation is an operation for the user to start a network searching control function; and responding to the first operation, and acquiring the first route information after starting the network searching control function. The interaction between the user and the terminal is improved.
In one possible design, the terminal may further obtain the first route information based on:
the terminal receives a second operation of the user, wherein the second operation is an operation of starting a network searching control function by the user; responding to the second operation, starting a network searching control function, and displaying a route related information input frame on a display screen; then, the terminal acquires first route information according to information input by the user in the route related information input box. Therefore, the implementation mode that the terminal acquires the first route information is facilitated to be simplified.
In one possible design, the first network information includes a cell identity, a public mobile land network, PLMN, corresponding to the cell identity. Therefore, the accuracy of identifying the accessed cell when the route of the user actually going out is offline by the terminal is improved.
In one possible design, the section information corresponding to each first network information includes at least one of node information, distance information of the offline section, or offline duration; the node information comprises first node information and second node information, and the first node information is used for indicating the starting position of the terminal for offline when the route of the user actually going out is accessed into the cell corresponding to the first network information; and the second node information is used for indicating the starting position of the terminal when the terminal is in the network-staying state after the terminal is disconnected from the network at the position indicated by the first node information. The method is beneficial to simplifying the mode of determining the target duration by the subsequent terminal.
In one possible design, the section information corresponding to each first network information includes the node information and/or the distance information of the offline section, and the offline duration, and the terminal may determine the target duration based on the following manner:
the terminal determines the distance between the terminal and the offline interval corresponding to the network information of the current accessed cell according to the node information or the distance information of the offline interval; and acquiring a real-time moving speed; then, the terminal determines a first offline duration according to the distance between offline intervals and the real-time moving speed; and finally, the terminal takes the smaller value of the first offline duration and the offline duration corresponding to the network information of the currently accessed cell, which is included in the network distribution information of the route of the user actually going out, as the target duration. Thereby helping to improve the accuracy of determining the duration of the talk-around time at the currently accessed cell.
In one possible design, the network distribution information of the route actually traveled by the user further includes: second network information corresponding to each piece of first network information, wherein the second network information is used for indicating that the terminal accesses a cell corresponding to the first network information in the actual trip route of the user and then recovers the accessed cell in the network residence;
after the terminal starts to search for the network, the terminal also acquires specific network information; and determining that the second network information corresponding to the network information of the currently accessed cell comprises the specific information, accessing to a corresponding network according to the specific information, and performing network coexistence. The efficiency of terminal network residence is improved.
In a possible design, the terminal may also pre-store network distribution information of at least one route according to collected related data, where the related data is used to indicate a condition of the terminal accessing the network on the route. The reliability of the pre-stored network distribution information of the at least one route is improved, and therefore the accuracy of the determined offline duration is improved.
In one possible design, the terminal may pre-store the network distribution information of the at least one route according to the collected related data based on the following manners:
the terminal sends the collected related data to a server; the related data is used for indicating the condition of the access network of the terminal on the route;
and the terminal receives and stores the network distribution information of at least one route, which is sent by the server and obtained according to the acquired relevant data. Thereby contributing to simplification of the processing steps of the terminal.
In a possible design, the terminal receives a third operation of the user, where the third operation is an operation in which the user agrees that the terminal reports the acquired related data to the server; and responding to the third operation, the terminal determines that the user agrees to report the collected related data to the server by the terminal. The method is beneficial to improving the right of awareness of the user and protecting the privacy of the user.
In a second aspect, a method for pre-storing network distribution information of a route according to an embodiment of the present application includes:
the method comprises the steps that a server receives related data reported by at least one terminal, wherein the related data are used for indicating the condition that the terminal accesses a network on a route;
the server obtains network distribution information of at least one route according to relevant data included on at least one terminal;
the server sends network distribution information of the at least one route to the terminal.
In the embodiment of the application, the network distribution information of at least one route is determined by the server and is issued to the terminal, which is beneficial to reducing the processing steps of the terminal.
In one possible design, each of the at least one terminal is a terminal to which the user agrees to report the relevant data. The method is beneficial to improving the right of awareness of the user and protecting the privacy of the user.
In one possible design, the server may send the network distribution information of the at least one route to the terminal after receiving a request for the network distribution information of the route sent by the terminal. The utilization rate of the storage space of the terminal is improved.
In a possible design, the server may further send an indication to update the network distribution information of the route to the terminal after obtaining the network distribution information of the at least one route. And after receiving the indication that the terminal agrees to update the network distribution information of the route, the server sends the network distribution information of at least one route to the terminal. The interaction between the terminal and the user is improved.
In a third aspect, a terminal according to an embodiment of the present application includes at least one processor and a memory;
wherein the memory stores program instructions; the at least one processor configured to invoke program instructions stored in the memory to cause the terminal to perform the steps of:
acquiring first route information, wherein the first route information is used for indicating an actual trip route of a user;
according to the first route information, network distribution information of a route actually taken out by a user is obtained from network distribution information of at least one route stored in advance; the network distribution information of the route of the user actually going out comprises route information, at least one piece of first network information and interval information corresponding to each piece of first network information; each piece of first network information is used for indicating a cell accessed by a terminal when the actual trip route of the user is off-line;
judging whether the network is disconnected, if so, judging whether the at least one first network information comprises the network information of the currently accessed cell; if the at least one first network information comprises the network information of the currently accessed cell, controlling not to search the network and determining a target time length according to the interval information corresponding to the network information of the currently accessed cell; the target time length is used for indicating the time length which corresponds to the network information of the currently accessed cell and controls not to search the network actually;
and after the target time length, starting to search the network.
In one possible design, the at least one processor includes a modem and an application processor.
In one possible design, the first route information may be obtained based on:
identifying that a first application installed by the first application receives ticket order information; and acquiring the first route information according to the ticket order information.
In one possible design, the at least one processor is configured to call stored program instructions in the memory, so that the terminal further performs the following steps before identifying that the first application installed in the terminal receives the ticket order information:
receiving a first operation of a user, wherein the first operation is an operation of starting a network searching control function by the user; and responding to the first operation, and starting a network searching control function.
In one possible design, the first route information may also be obtained based on:
receiving a second operation of a user, wherein the second operation is an operation of starting a network searching control function by the user;
responding to the second operation, starting a network searching control function, and displaying a route related information input frame on a display screen;
and acquiring first route information according to the information input by the user in the route related information input box.
In one possible design, the first network information includes a cell identity, a public mobile land network, PLMN, corresponding to the cell identity.
In one possible design, the section information corresponding to each first network information includes at least one of node information, distance information of the offline section, or offline duration; the node information comprises first node information and second node information, and the first node information is used for indicating the starting position of the terminal for offline when the route of the user actually going out is accessed into the cell corresponding to the first network information; and the second node information is used for indicating the starting position of the terminal when the terminal is in the network-staying state after the terminal is disconnected from the network at the position indicated by the first node information.
In one possible design, the section information corresponding to each first network information includes the node information and/or the distance information of the offline section, and the offline duration, and the target duration may be determined based on the following manner:
determining the distance between the terminal and the offline interval corresponding to the network information of the current accessed cell according to the node information or the distance information of the offline interval; and acquiring a real-time moving speed;
determining a first offline duration according to the distance between offline intervals and the real-time moving speed;
and finally, taking the smaller value of the first offline duration and the offline duration corresponding to the network information of the currently accessed cell, which is included in the network distribution information of the route of the user actually going out, as the target duration.
In one possible design, the terminal further includes a general-purpose smart sensor hub and an acceleration sensor;
the real-time moving speed may be obtained based on:
acquiring real-time moving speed from a general intelligent sensing concentrator; the universal intelligent sensor determines the real-time moving speed of the terminal according to the acceleration acquired by the acceleration sensor;
in one possible design, the network distribution information of the route actually traveled by the user further includes: second network information corresponding to each piece of first network information, wherein the second network information is used for indicating that the terminal accesses a cell corresponding to the first network information in the actual trip route of the user and then recovers the accessed cell in the network residence;
the at least one processor is configured to invoke the program instructions stored in the memory, so that after the terminal starts to perform a network search, the following steps are further performed:
acquiring specific network information; and when determining that the second network information corresponding to the network information of the currently accessed cell includes the specific information, accessing to a corresponding network according to the specific information and performing network camping.
In one possible design, the at least one processor, configured to invoke stored program instructions in the memory, further performs the steps of:
and pre-storing network distribution information of at least one route according to collected related data, wherein the related data is used for indicating the condition that the terminal accesses the network on the route.
In one possible design, the network distribution information of at least one route may be pre-stored according to the collected relevant data based on the following manner:
transmitting the collected related data to a server; and after receiving the network distribution information of at least one route, which is sent by the server and is obtained according to the collected related data, storing the network distribution information.
In one possible design, the at least one processor, configured to invoke stored program instructions in the memory, further performs the steps of:
receiving a third operation of the user, wherein the third operation is an operation that the user agrees that the terminal reports the collected related data to the server; and responding to the third operation, and determining that the user agrees to report the collected related data to the server by the terminal.
In a fourth aspect, a server according to an embodiment of the present application includes: at least one processor and memory;
the memory is configured to store program instructions, and the at least one processor is configured to invoke the program instructions stored in the memory to cause the server to perform the steps of:
receiving related data reported by at least one terminal, wherein the related data is used for indicating the condition that the terminal accesses a network on a route; obtaining network distribution information of at least one route according to related data included on at least one terminal; and transmitting network distribution information of the at least one route to the terminal.
In one possible design, each of the at least one terminal is a terminal to which the user agrees to report the relevant data.
In one possible design, the at least one processor is configured to invoke program instructions stored in the memory such that the server may send network distribution information for at least one route to a terminal in the following manner:
and after receiving a request of the network distribution information of the route sent by the terminal, sending the network distribution information of at least one route to the terminal.
In one possible design, the at least one processor is configured to invoke program instructions stored in the memory such that the server may send network distribution information for at least one route to a terminal in the following manner:
and after the network distribution information of at least one route is obtained, sending an instruction for updating the network distribution information of the route to the terminal. And after receiving an indication that the terminal agrees to update the network distribution information of the route, sending the network distribution information of at least one route to the terminal.
A fifth aspect is a network system according to an embodiment of the present application, including a terminal and a server;
the terminal sends the collected related data to a server; the related data is used for indicating the condition of the access network of the terminal on the route;
the server obtains network distribution information of at least one route according to relevant data included in at least one terminal including the terminal;
the server sends network distribution information of the at least one route to the terminal;
after receiving the network distribution information of the at least one route, the terminal stores the network distribution information;
the terminal acquires first route information, wherein the first route information is used for indicating an actual trip route of a user;
the terminal acquires network distribution information of the route actually traveled by the user from the network distribution information of the at least one route according to the first route information, wherein the network distribution information of the route actually traveled by the user comprises route information, at least one piece of first network information and interval information corresponding to each piece of first network information; each piece of first network information is used for indicating a cell accessed by a terminal when the actual trip route of the user is off-line;
the terminal judges whether the network is disconnected, if so, judges whether the at least one first network information comprises the network information of the currently accessed cell, if so, controls not to search the network, and determines the target time length according to the interval information corresponding to the network information of the currently accessed cell; the target time length is used for indicating the time length corresponding to the network information of the currently accessed cell and controlling the actual network searching not to be carried out;
and the terminal starts to search the network after the target duration.
In a sixth aspect, a terminal provided in this embodiment of the present application includes a device that performs the method according to the first aspect of this embodiment or any possible different design of the first aspect.
In a seventh aspect, a server provided in this embodiment of the present application includes a device for performing the method according to the second aspect or any possible different design of the second aspect of this embodiment of the present application.
In an eighth aspect, there is provided a chip provided in this embodiment, where the chip is coupled with a memory in a terminal, so that the chip calls, when running, program instructions stored in the memory, so that the terminal executes a method according to any one of the possible different designs of the first aspect or the first aspect of this embodiment.
In a ninth aspect, a computer storage medium is provided for the embodiments of the present application, where the computer storage medium stores program instructions, and when the program instructions are run on a terminal, the terminal is caused to execute the method according to the first aspect of the embodiments of the present application or any possible design difference of the first aspect.
The technical effects brought by the third to ninth aspects and any possible design thereof can be referred to the technical effects brought by different design methods of the method part of the embodiment of the present application, and are not described herein again.
Drawings
Fig. 1 is a schematic structural diagram of a communication system applied in the embodiment of the present application;
fig. 2a is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 2b is a schematic structural diagram of another terminal according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a process of controlling a network search according to an embodiment of the present application;
fig. 4a is a schematic diagram illustrating a manner of initiating a network search control according to an embodiment of the present application;
fig. 4b is a schematic diagram of a manner of obtaining first route information according to an embodiment of the present application;
FIG. 5 is a schematic illustration of a route according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a method for pre-storing network distribution information of at least one route according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a manner in which a user is allowed to report related information according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating another manner of agreeing to report related information by a user according to an embodiment of the present application;
FIG. 9 is a schematic illustration of a user interface according to an embodiment of the present application;
FIG. 10 is a schematic illustration of another user interface according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of another terminal according to an embodiment of the present application.
Detailed Description
In the following embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that three relationships may exist. For example, a and/or B, may represent the following three relationships: a exists alone, A and B exist simultaneously, and B exists alone. A, B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein a, b and c can be single or multiple.
The embodiments of the present application may be applied to a mobile communication system, such as a global system for mobile communications (GSM), a General Packet Radio Service (GPRS) communication system, a Code Division Multiple Access (CDMA) communication system, a Wideband Code Division Multiple Access (WCDMA) communication system, a time-division multiple access (TD-SCDMA) communication system, a Long Term Evolution (LTE) communication system, a fifth Generation (5th Generation, 5G) communication system (such as a Next Radio (NR) system), a future communication system, and the like. Fig. 1 is a schematic diagram illustrating an architecture of a communication system to which an embodiment of the present invention is applicable. Specifically, the communication system shown in fig. 1 includes a network device and a terminal. The communication system shown in fig. 1 is only an example.
It should be understood that the network device of the embodiment of the present application may also be referred to as an access network device, and is configured to provide a cell so that a terminal accesses a network. After the terminal accesses the network through the cell provided by the network equipment, whether the terminal is off-line is judged by comparing the network signal strength of the accessed cell with a judgment threshold. Specifically, when the network signal strength of the accessed cell is lower than a decision threshold, the terminal is judged to be in an off-line state; and when the network signal strength is not lower than the judgment threshold, the terminal judges that the terminal is in the network-resident state. It should be noted that the decision threshold may be set correspondingly according to the actual situation. For example, the network signal strength may be a Received Signal Strength Indication (RSSI), a reference signal received quality (RSRP), a Reference Signal Received Quality (RSRQ), and the like. The network device in the embodiments of the present application may be, for example, a base station, an access point, or the like. For example, a base station (BTS) in a GSM communication system or a CDMA communication system, a node B (node B) in a WCDMA communication system, an evolved node B (eNB) in an LTE communication system, a gNB in an NR system, and the like. It should be noted that, the number and implementation form of the network devices in the communication system are not limited in the embodiments of the present application.
It should be understood that the terminal in the embodiments of the present application may be a portable terminal, such as a mobile phone, a tablet computer, a wearable device (e.g., a smart watch) with a mobile communication function, an in-vehicle device, and the like. Exemplary embodiments of the portable terminal include, but are not limited to, a mountOr other operating system. The portable terminal may be a Laptop computer (Laptop) or the like. It should also be understood that in some other embodiments of the present application, the terminal may also be other electronic devices with mobile communication functions, such as a desktop computer or a kiosk, etc.
Specifically, the terminal accesses the network through a cell provided by the network device. However, since the network devices are deployed in different areas, the network environments in different areas are different. Therefore, after the terminal accesses the network through the cell provided by the network device, if the terminal moves to an area with poor or unstable network signal strength, the terminal is easy to be off-line. For example, when a user travels on a train, a subway, or other transportation means, the terminal is often moved to an area where the network signal strength is poor or unstable, resulting in a network disconnection. In the prior art, after a terminal is disconnected from a network, the terminal searches for the network so that the terminal can recover the network staying in time. Although the terminal searches for the network after being disconnected from the network, the terminal can restore the network residence in time after being disconnected from the network, but when the terminal is frequently disconnected from the network or an area with poor network signal intensity is large, the terminal can frequently search for the network, the power consumption of the terminal is large, and the user experience is seriously influenced. In some embodiments, the terminal may obtain real-time location information of the terminal according to a Location Based Service (LBS) location technology after the offline. And the terminal searches for the network after detecting that the position of the terminal changes according to the acquired real-time position information and the position variation of the position of the terminal reaches a certain set threshold value.
In view of this, the embodiment of the present application provides a method for controlling network searching, which is helpful for reducing power consumption of a terminal and improving user experience while a terminal can recover network staying after a network is disconnected.
The following describes terminals and embodiments for using such terminals. For example, as shown in fig. 2a, the terminal is a schematic structural diagram of the terminal according to the embodiment of the present application. Specifically, as shown in fig. 2a, the terminal includes a processor 210, an internal memory 221, an external memory interface 222, an antenna a, a mobile communication module 231, an antenna B, a wireless communication module 232, an audio module 240, a speaker 240A, a receiver 240B, a microphone 240C, an earphone interface 240D, a display screen 251, a Subscriber Identity Module (SIM) card interface 252, a camera 253, a button 254, a sensor module 260, a Universal Serial Bus (USB) interface 270, a charge management module 280, a power management module 281, and a battery 282. In other embodiments, the terminal may also include a motor, an indicator, and the like.
The internal memory 221 may be used to store data and/or at least one computer program comprising instructions. Specifically, the internal memory 221 may include a program storage area and a data storage area. Wherein the storage program area may store at least one computer program. The computer programs may include application programs (such as galleries, contacts, etc.), operating systems (such as the Android operating system, or the IOS operating system, etc.), or other programs. The storage data area may store at least one of data created during use of the terminal, data received from other devices (e.g., other terminals, network devices, servers, etc.), data pre-stored before shipment, and the like. For example, the data stored in the internal memory 221 may be at least one of image, file, or identification information.
In some embodiments, internal memory 221 may include high speed random access memory and/or non-volatile memory. For example, the internal memory 221 includes one or more magnetic disk storage devices, Flash memory devices (Flash), or universal Flash memories (UFS), and the like.
The processor 210 may make the terminal implement one or more functions by calling one or more computer programs and/or data stored in the internal memory 221, so as to meet the needs of the user. For example, the processor 210 may cause the electronic device to execute the method for controlling network searching provided in the embodiment of the present application by calling the instructions and data stored in the internal memory 221.
The external memory interface 222 may be used to connect an external memory card (e.g., a Micro SD card) to extend the storage capability of the terminal. The external memory card communicates with the processor 210 through the external memory interface 222 to implement a data storage function. For example, files such as images, music, video, etc. are saved in an external memory card.
In some embodiments, a buffer may be further disposed in the processor 210 for storing instructions and/or data that the processor 210 needs to use circularly, and if the processor 210 needs to use the instructions or data again, the instructions or data may be called directly from the buffer. Thereby helping to avoid repeated accesses and reducing the latency of the processor 210, thereby helping to improve the efficiency of the system. For example, the cache area may be implemented by a cache memory.
Antennas a and B are used to transmit and receive electromagnetic wave signals. Each antenna in a terminal may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: antenna a may be multiplexed as a diversity antenna for a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 231 may be configured to implement communication between the terminal and the network device according to a mobile communication technology (e.g., 2G, 3G, 4G, or 5G, etc.) supported by the terminal. For example, the mobile communication technology supported by the terminal may include at least one of GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, or NR, etc. For example, the terminal supports GSM, and after accessing the network through the cell provided by the BTS in the GSM communication system, the terminal can implement communication between the terminal and the BTS through the mobile communication module 231 under the condition that the network signal strength of the accessed cell is not lower than the decision threshold, that is, under the condition that the terminal is in the network-resident state. For example, the mobile communication module 231 may amplify the signal modulated by the modem and transmit the amplified signal to the network device via the antenna a; the mobile communication module 231 may also receive a signal transmitted by the network device through the antenna a, amplify the signal, and transmit the amplified signal to the modem, and the modem demodulates the received signal into a low-frequency baseband signal, and then performs other corresponding processing. In some embodiments, the mobile communication module 231 may include a filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like.
The wireless communication module 232 may provide solutions for wireless communication applied to the terminal, including wireless access networks (WLANs) (such as wireless-fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The GNSS may include at least one of a global positioning satellite system (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS), and the like. Illustratively, the wireless communication module 232 may be one or more devices that integrate at least one communication processing module. The wireless communication module 232 may communicate with the corresponding device through the antenna B according to a wireless communication technology (e.g., Wi-Fi, bluetooth, FM, or NFC) supported by itself.
The terminal may implement an audio function through the audio module 240, the speaker 240A, the receiver 240B, the microphone 240C, the earphone interface 240D, the AP, and the like. Such as music playing, recording, etc.
The terminal can realize the display function through the GPU, the display screen 251, the AP, and the like. The display screen 251 may be used to display images, video, and the like. The display screen 251 may include a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the terminal may include 1 or N display screens 251, N being a positive integer greater than 1.
The keys 254 may include a power on key, a volume key, and the like. The keys 254 may be mechanical keys, virtual buttons, virtual options, or the like. The terminal may receive a key input, and generate a key signal input related to user setting and function control of the terminal. For example, the terminal may count or gather some information about the use of the terminal by the user in response to selecting a virtual option indicating consent to participate in the "user experience improvement plan" to achieve a more personalized service for the user, thereby improving the user experience.
The sensor module 260 may include one or more sensors. For example, the sensor module 260 includes an acceleration sensor 260A, a touch sensor 260B, a fingerprint sensor 260C, and the like. In some embodiments, the sensor module 260 may also include pressure sensors, gyroscope sensors, environmental sensors, distance sensors, proximity light sensors, bone conduction sensors, and the like.
An acceleration sensor (ACC sensor)260A may collect the magnitude of acceleration of the terminal in each direction (generally, three axes). When the terminal is static, the size and the direction of gravity can be detected. In addition, the acceleration sensor 260A can also be used for recognizing the posture of the terminal, and is applied to horizontal and vertical screen switching, pedometer and other applications. In some embodiments, the acceleration sensor 260A may be implemented by a Micro Controller Unit (MCU) to be connected to the processor 210, thereby helping to save power consumption of the terminal. For example, the acceleration sensor 260A may be connected to the AP or the modem via the MCU. In some embodiments, the MCU may be a general-purpose smart sensing hub (Sensor hub). For example, the connection relationship among the AP, the internal memory 221, the modem, the Sensor hub, and the acceleration Sensor 260A in the embodiment of the present application may be as shown in fig. 2 b. As shown in fig. 2b, in some embodiments, the modem may further include a first buffer and the Sensor hub includes a second buffer, thereby facilitating improved processing efficiency of the modem and the Sensor hub. For example, the second buffer may be used to store information such as the acceleration of the terminal movement collected by the acceleration sensor 260A.
The touch sensor 260B may also be referred to as a "touch panel". The touch sensor 260B may be disposed on the display screen 251, and the touch sensor 260B and the display screen 251 form a touch screen, which is also called a "touch screen". The touch sensor 260B is used to detect a touch operation applied thereto or therearound. Touch sensor 260B can communicate the detected touch operation to the AP to determine the touch event type. Then, the terminal provides visual output related to the touch operation through the display screen 251 according to the determined type of the touch event. In other embodiments, the touch sensor 260B can be disposed on the surface of the terminal at a different position than the display screen 251.
The fingerprint sensor 260C is used to capture a fingerprint. The terminal can utilize the acquired fingerprint characteristics to realize fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
In other embodiments, processor 210 may also include one or more interfaces. For example, the interface may be a SIM card interface 252. Also for example, the interface may be a USB interface 270. For example, the interface may also be an integrated circuit (I2C) interface, an integrated circuit audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, or the like. It is understood that the processor 210 according to the embodiment of the present application may interface different modules of the terminal, so as to enable the terminal to implement different functions. Such as searching for a web, taking a picture, etc. In the embodiments of the present application, the connection mode of the interface in the terminal is not limited.
The SIM card interface 252 is used to connect a SIM card. The SIM card can be brought into and out of contact with the terminal by being inserted into the SIM card interface 252 or being pulled out of the SIM card interface 252. The terminal can support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 252 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface 252 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 252 may also be compatible with different types of SIM cards. In some embodiments, the SIM card interface 252 may also be compatible with external memory cards. The terminal realizes functions of conversation, data communication and the like through the SIM card. In some embodiments, the terminal may also employ eSIM, namely: an embedded SIM card. The eSIM card can be embedded in the terminal and cannot be separated from the terminal.
The USB interface 270 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 270 may be used to connect a charger to charge the terminal, or may be used to transmit data between the terminal and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules in the embodiment of the present invention is only an exemplary illustration, and does not form a limitation on the structure of the terminal. In other embodiments of the present application, the terminal may also adopt different interface connection manners or a combination of multiple interface connection manners in the foregoing embodiments.
The charge management module 280 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. The power management module 281 is used to connect the battery 282, the charging management module 280 and the processor 210. Power management module 281 receives inputs from battery 282 and/or charge management module 280 to power modules such as processor 210. In some embodiments, the power management module 281 may also be used to monitor parameters such as battery capacity, battery cycle number, battery state of health (leakage, impedance), etc.
It should be understood that the structure of the terminal shown in fig. 2a is only one example. A terminal of an embodiment of the application may have more or fewer components than shown, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The method for controlling network searching according to the embodiment of the present application is described in detail below with reference to the structures of the terminals shown in fig. 2a and fig. 2 b.
For example, as shown in fig. 3, a flowchart of a method for controlling a network search according to an embodiment of the present application specifically includes the following steps.
Step 301, the terminal acquires first route information. The first route information is used to indicate a route that the user actually travels. For example, when the user uses a public transportation means such as a train or a subway, the first route information may be a train number. The first route information may also be a predefined route identification or the like.
In a specific implementation, the terminal may obtain the first route information based on the following manner:
example one: the terminal recognizes that a certain application program (such as a short message, a ticket ordering application and the like) installed by the terminal receives the ticket order information, and then, the terminal acquires the first route information according to the ticket order information. Which helps to reduce user operations. For example, the first route information is a train number, and the terminal may directly obtain the first route information from the ticket order information. For another example, when the first route information is the predefined route identifier, the terminal may first obtain the train number from the ticket order information, and then the terminal obtains the first route information according to the train number. Specifically, the terminal may obtain the first route information from the related information pre-stored in the terminal according to the train number; or, the terminal may also determine the first route information according to the train number and a preset rule; or the terminal sends the train number to the first server, the first server acquires the first route information according to the train number, and the first route information is returned to the terminal after being acquired. In addition, the embodiment of the present application does not limit the manner of obtaining the first route information according to the train number.
In an example, the terminal may periodically and/or occasionally identify whether the one or more applications installed by the terminal receive the ticket order information. It can be understood that the terminal specifically identifies which application programs receive the ticket ordering information, and the terminal may determine from all installed application programs according to a preset rule, for example, the application program that the terminal identifies whether the ticket ordering information is received may be an application program that is marked by the user in advance, and may also be an application program that includes a specific character.
In some embodiments, the terminal identifies whether the one or more applications installed by itself receive the ticket order information when the first preset condition is satisfied. It should be understood that, in this embodiment of the present application, the first preset condition may include that the current moving speed of the terminal is within a preset speed range, and/or the terminal reaches a preset time, and the like. It should be noted that, in a specific implementation, one or more preset speed ranges and one or more preset time instants may be preset in the terminal. For example, the at least one preset speed range may include one or more of a speed range of a high-speed rail, a speed range of a general train, or a speed range of a subway, etc.
In other embodiments, after detecting that the function of controlling the network searching is started, the terminal periodically and/or emergently identifies whether one or more application programs installed by the terminal receive the ticket order information. The interaction between the terminal and the user is facilitated. For example, the terminal may start a function of controlling a network search in response to a first operation by the user. Thereby contributing to a simplified implementation. The first operation may be a shortcut gesture operation, a voice instruction, or an operation on a virtual button of a corresponding function preset on the user interface. In addition, if the terminal meets the first preset condition, whether one or more application programs installed by the terminal receive the ticket order information is identified, and when the first preset condition is set according to the requirements of the user, the terminal responds to the first operation, so that the function of controlling the network searching is started, and a condition input frame can be displayed on the display screen 251. The user can input corresponding information in the condition input box according to the requirement of the user. Taking the preset condition as the preset time as an example, as shown in fig. 4a, the system setting interface 400 includes a virtual option 401, and the terminal may display a user interface 410 on the display screen 251 in response to an operation of selecting the virtual option by the user. The user interface 410 includes virtual buttons 411. The terminal may turn on a function of controlling a network search in response to an operation of the virtual button 411 by the user. The terminal may display the condition input box 412 on the display screen 251 after the function of controlling the network search is turned on. Wherein the user may enter a corresponding time range, such as a time range between departure time and arrival time, etc., in condition input box 412. When detecting that the starting time of the preset time range is reached, the terminal identifies whether one or more application programs installed by the terminal receive the ticket order information. In some embodiments, if the terminal does not recognize that one or more applications installed in the terminal receive the ticket order information when the terminal reaches the start time of the preset time range, a route-related information input box may pop up on the display screen 251. For example, the route-related information input box may be as shown in input box 421 shown in fig. 4 b. So that the terminal can obtain the first route related information.
Example two: when the terminal detects that the second preset condition is met, a route related information input box pops up on the display screen 251, the user can input travel route information (such as a travel route map, ticket order information, information of certain key geographic positions in a route or first route information) planned by the user in the route related information input box, and then the terminal acquires the first route information according to the route related information input by the user. The method and the device for acquiring the route information help to simplify the way of acquiring the route information by the terminal. It should be noted that, the specific implementation manner of the terminal obtaining the first route information according to the route related information input by the user may refer to the specific implementation manner of the terminal obtaining the first route information according to the train number in example one, and details are not repeated here. For example, the route-related information input box may be the input box 421 as shown in fig. 4 b. The terminal may acquire the first route information according to information input by the user in the input box 421, such as a travel route map, information on some key geographical locations in the route, or the first route information. In some embodiments, the terminal may determine that the user completes inputting in the input box 421 when it is detected that the duration in which the user stops inputting information in the input box 421 reaches a preset duration, and then, the terminal acquires the first route information according to the information input by the user in the input box 421. The preset duration can be set correspondingly according to the needs of the user, and can also be preset in the terminal. In other embodiments, when the terminal detects that the second preset condition is satisfied, the button 422 and the button 423 may be displayed on the display screen 251 in addition to the input box 421 on the display screen 251. The terminal may determine that the user has completed the input in the input box 421 in response to the user's operation of the button 422. It should be understood that the terminal may obtain the first route information in another manner in response to the operation of the user selecting the button 423, or the terminal does not execute the method for controlling the network searching according to the embodiment of the present application.
It should be noted that, in this embodiment of the application, the second preset condition may be an operation of starting a function of controlling a network search for a user. For a specific implementation manner of the operation of the user for starting the function of controlling the network search, reference may be made to a specific implementation manner of the first operation in example one, which is not described herein again. The second preset condition may also be that the moving speed of the terminal meets a specific range, the terminal reaches a specific time, or the terminal detects a offline, and the like, in example two, the specific range and the specific time may be preset before the terminal leaves a factory, or may be obtained by the terminal through other manners. Taking a specific time as an example, the terminal may obtain the relevant information input by the user from the application such as a memo, a reminder, and the like. In addition, the second preset condition may be that after the user starts the function of controlling the network search, the moving speed of the terminal meets a specific range and/or the terminal reaches a specific time, and the like.
The first example and the second example are only examples of specific implementation manners of the terminal for acquiring the first route information, and do not limit the manner in which the terminal acquires the first route information.
Taking the structure shown in fig. 2b as an example, the terminal acquires the first route information through the AP.
Step 302, the terminal obtains the network distribution information of the route actually traveled by the user from the pre-stored network distribution information of at least one route according to the first route information. The network distribution information of the at least one route may be pre-stored in the second server, or may be pre-stored in the terminal. In this embodiment, the first server and the second server may be the same server or different servers.
When the network distribution information of at least one route is pre-stored in the second server, the terminal sends a request for inquiring the network distribution information to the second server according to the first route information, and after the second server receives the request for inquiring the network distribution information, the network distribution information of the route actually taken by the user is obtained from the pre-stored network distribution information of at least one route and then is issued to the terminal.
Wherein the network distribution information of each route is used for indicating the offline distribution condition of the route. For example, the network distribution information of each route may include route information, at least one first network information, and section information corresponding to each first network information. Each of the at least one first network information is network information of a cell accessed by the terminal when the terminal is offline on a route indicated by the route information. In some embodiments, the network distribution information of each route further includes second network information corresponding to each first network information, where the second network information is network information of a cell accessed when the terminal recovers to stay in the network after the terminal goes off-line from a cell corresponding to the first network information accessed on the route indicated by the route information.
The route information in the embodiment of the application is used for indicating a route. For example, the route information may be a train number, a predefined route identification, and the like. Taking route information as a predefined route identifier as an example, routes in opposite directions may correspond to the same route identifier and the same network distribution information. In this case, the network distribution information of the route is independent of the direction of the route. For example, when the route from beijing to shanghai and the route from shanghai to beijing are opposite to each other, the route from beijing to shanghai and the route from shanghai to beijing may correspond to the same route id and the same network distribution information. If the network distribution information of the routes is related to the directions of the routes, the routes in opposite directions respectively correspond to different route identifications, that is, the network distribution information of the routes in opposite directions is different.
In some embodiments of the present application, the first network information may include a first cell identification (cell ID) and a public mobile land network (PLMN) corresponding to the first cell identification. The second network information corresponding to the first network information may include a second cell identity and a PLMN corresponding to the second cell identity.
Further, in some embodiments, the first network information may also include information such as network signal strength, and/or network status. In particular, the network signal strength may be one or more of RSRP, RSSI, and/or RSRP, among others. The network state is used to mean that the terminal is in the off-line state.
In this embodiment, the section information corresponding to each piece of first network information may include one or more of node information, distance information, duration information, and the like. For example, the node information includes first node information and second node information, where the first node information is used to indicate a starting position of a network disconnection when the terminal accesses a cell corresponding to the first network information, and the second node information is used to indicate a starting position of a network connection restoration after the terminal is disconnected from the network at the position indicated by the first node information. It should be noted that, after the terminal is offline at the location indicated by the first node information, the cell accessed to the starting location for recovering the network camping may be the same as or different from the cell accessed by the terminal at the time of the first node information. In the embodiment of the application, the distance information is used for indicating the distance between the offline sections when the terminal accesses the cell corresponding to the first network information on the route. The time length information is used for indicating the time length of the offline when the terminal accesses the cell corresponding to the first network information on the route.
It should be understood that, in the embodiment of the present application, generally, one first network information corresponds to one interval information and one first network information corresponds to one second network information, but one first network information may also correspond to a plurality of interval information or a plurality of second network information. And the interval information corresponding to different first network information may be the same or different. The interval information corresponding to the first network information and the condition of the second network information are related to the condition of actually deploying the network equipment, and are also related to an algorithm or a rule for generating network distribution information.
Take route S shown in fig. 5 as an example. The node A is a starting node of the route S, the node B is an ending node of the route S, and the node C, the node D, the node E and the node F are intermediate nodes of the route S. For example, before the node C, the terminal access cell 1 is in a network-camping state, the node C is an initial position of the network-camping when the terminal accesses the cell 1 on the route S, the node D is an initial position of the network-camping when the terminal recovers after the terminal on the route S disconnects from the node C, the cell accessed by the terminal on the node D is the cell 2, and the cell 2 and the cell 1 may be the same cell or different cells. The terminal between the node C and the node E is in a network-resident state, the node E is the initial position of the network-off when the terminal on the route S is accessed into the cell 3, and the node F is the initial position of the network-on when the terminal on the route S is recovered after the node E is in the network-off state. The cell accessed by the terminal at the node F is the cell 4, and the cell 4 and the cell 3 may be the same cell or different cells. The terminal is in the network camping state after node F. The section between the node C and the node D is a offline section on the route S, and the section between the node E and the node F is another offline section on the route S. If cell identity 1 and PLMN1 are used to identify cell 1, cell identity 2 and PLMN2 are used to identify cell 2, cell identity 3 and PLMN3 are used to identify cell 3, and cell identity 4 and PLMN4 are used to identify cell 4, the network distribution information of route S may be as shown in table 1.
TABLE 1
It should be noted that, in the embodiment of the present application, the format of the network distribution information of the route is not limited, and the above description is only an example.
Specifically, in the embodiment of the present application, the terminal may store network distribution information of at least one route in advance in the terminal based on the following manners:
the first method is as follows: the network distribution information of the at least one route may be set by the terminal before shipment. For example, the network distribution information of the at least one route may be obtained by a test by the relevant person. Thereby contributing to a simplified implementation. But while this is simpler to implement, it is less flexible.
The second method comprises the following steps: and the terminal collects relevant information. For example, the related information may include information of a user using the terminal, and for example, the related information may include information of other users in addition to the information of the user using the terminal. The accuracy of the network distribution information of the route is improved. For example, for information of a user using a terminal, the terminal may collect route information of the user when the user goes out, network information of an accessed cell (for example, cell identification, PLMN, network signal strength, and other information), location information of the terminal when the terminal is offline, location information of the terminal recovering to stay in the network after the terminal is offline, distance between offline sections, moving speed, offline duration, and other information during the use of the user. For other user's information, the terminal may obtain it from the relevant server. The embodiment of the present application does not limit the manner of collecting the relevant information.
In some embodiments, the terminal may collect the relevant information through an event trigger. For example, when the terminal does not inquire the network distribution information of the route actually traveled by the user from the network distribution information of at least one route stored in advance, the terminal collects relevant information on the route actually traveled by the user. For another example, the terminal may collect the relevant information when a certain time is reached. The specific time is, for example, departure time or a certain time set by the user. For another example, the terminal may collect relevant information when detecting that the terminal is in a specific scene, such as a high-speed rail scene, a trip scene, and the like. The terminal can determine that the terminal is in the specific scene in response to the operation of opening the specific scene by the user. And the terminal detects that the moving speed meets a preset condition and determines that the terminal is in a specific scene. For example, the moving speed is within a first preset range, and the high-speed rail scene is determined. For another example, the moving speed is within a second preset range, and it is determined that the vehicle is in a subway scene or the like. For another example, when the storage duration of the network distribution information of at least one route stored in advance exceeds the set duration, the terminal collects relevant information of the route corresponding to the network distribution information of which the storage duration exceeds the set duration, and updates the network distribution information of the route stored in advance, which is beneficial to keeping the accuracy of the network distribution information of the route stored in advance. The embodiment of the present application does not limit the manner of triggering to collect the relevant information.
Then, the terminal extracts normal distribution according to the collected related information (such as the offline interval information and the network information of the terminal), obtains the network distribution information of the route, and stores the network distribution information of the route. In some embodiments, for a certain route, when the number of times of collecting the relevant information on the route reaches a set threshold, the terminal obtains the network distribution information of the route according to the multiple times of collecting the relevant information on the route. In other embodiments, after the terminal collects the relevant information twice on a certain route, the network distribution information of the route is obtained according to the relevant information collected twice, then, when the user continues to go out on the route, the terminal continues to collect the relevant information on the route, and according to the relevant information collected again, the network distribution information of the route obtained last time is updated. And when the times of acquiring the relevant information on the route reaches a set threshold value, the terminal stores the network distribution information of the route.
In some embodiments, the terminal screens the offline sections with offline duration longer than a preset threshold from the collected related information, and obtains the network distribution information of the route according to the network information and the like corresponding to the offline sections. Therefore, the calculation amount of the terminal for controlling the network searching is reduced. The preset threshold may be preset in the terminal according to actual needs, or may be set by the user, for example, 60 seconds, 2 minutes, and the like.
In the embodiment of the present application, after obtaining the network distribution information of the route, the terminal may store the network distribution information of the route in a memory, for example, the internal memory 221, an external memory connected to the external memory interface 222, or a buffer of the modem.
The third method comprises the following steps: as shown in fig. 6, a method for storing network distribution information of a route according to another embodiment of the present application specifically includes the following steps.
Step 601, the terminal collects relevant information. The relevant information is relevant information of a user using the terminal and is used for indicating the condition that the terminal accesses the network on the route. For example, the related information includes route information when the user goes out, network information of an access cell, location information when the terminal is offline, location information when the terminal recovers to stay in the network after being offline, distance between offline sections, network information (such as cell identifiers, PLMN and other information) when the terminal is offline, and information such as moving speed or offline duration.
The manner in which the terminal triggers to acquire the relevant information may be referred to as the manner in which the terminal triggers to acquire the relevant information in manner two, and is not described herein again.
Step 602, the terminal sends the relevant information to the second server.
In some embodiments, after determining that the user agrees to report the collected related information to the second server, the terminal executes the method for storing the network distribution information of the route according to the embodiment of the present application. Therefore, the right informed by the user is satisfied, and the privacy of the user is effectively protected.
For example, the terminal may determine that the user agrees to report the collected related information to the second server in response to the user agreeing to participate in the "user experience improvement plan" operation. For example, the terminal may agree to participate in the "user experience improvement plan" through operation of the system setup interface. The system setup interface includes virtual buttons or virtual options for at least one function. The system setup interface is exemplified by the user interface 700 shown in fig. 7. User interface 700 includes virtual options 701. The terminal may display a user interface 710 on the display screen 251 in response to the operation of the virtual option 701. Therein, user interface 710 includes virtual options 711 and virtual options 712. The terminal may agree to participate in the "user experience improvement plan" in response to the user selecting virtual option 711. The terminal may preview details of the user experience improvement plan in response to the user selecting virtual option 712. For example, the user agrees to participate in the "user experience improvement plan", and the terminal regards the user as agreeing to upload the relevant information to the second server.
In other embodiments, after the terminal meets the trigger condition for collecting the relevant information, a first prompt box may pop up on the display screen 251, where the first prompt box includes the first prompt information, an agreement button, and a rejection button; the first prompt message is used for prompting whether the user uploads the related information to the second server. By way of example, the first prompt box may be as shown in prompt box 800 of FIG. 8. The prompt box 800 includes, among other things, first prompt information, an approval button 801, and a rejection button 802. In some embodiments, the terminal may further determine that the user refuses to upload the related information to the second server, or determine that the user agrees to upload the related information to the second server, after the set duration, without detecting that the user selected the consent button or the rejection button. For example, the set time period may be 5s, 6s, or the like.
Step 603, after receiving the relevant information sent by the terminal, the second server may obtain the network distribution information of the at least one route according to the relevant information sent by the terminal.
In the third aspect, since the second server obtains the network distribution information of the at least one route according to the related information sent by the terminal, the second server can obtain the network distribution information of the at least one route according to the related information from the plurality of terminals, which is helpful for improving the reliability of the obtained network distribution information of the at least one route and reducing the data processing amount of the terminal.
In some embodiments, the second server screens out the offline sections with offline duration longer than a preset threshold value on the route according to the related information of the same route sent by the multiple terminals, and then the second server obtains the network distribution information of the route according to the network information and the like corresponding to the offline sections. And for the offline interval with the offline duration less than the preset threshold, the offline interval is not recorded in the network distribution information of the route. Therefore, the calculation amount of the terminal for controlling the network searching is reduced. The preset threshold may be preset in the terminal according to actual needs, or may be set by the user, for example, 60 seconds, 2 minutes, and the like.
For example, the second server may determine the network state of the terminal according to the network signal strength in the related information reported by the terminal. Or, the second server may further obtain the network state of the terminal from the related information reported by the terminal. The network state of the terminal refers to whether the terminal is in an off-line state or in a network-on-line state.
Step 604, the second server sends the network distribution information of the at least one route to the terminal.
In some embodiments, the second server may actively send the network distribution information of the at least one route to the terminal meeting the requirement after obtaining the network distribution information of the at least one route. For example, the terminal satisfying the requirement may be a terminal of a specific model. For another example, the terminal that meets the requirement may be a terminal that has started a network searching control function. The manner of the terminal starting the network searching control function can be referred to in the related description of the above embodiments. For another example, the terminal satisfying the requirement may be a terminal participating in the "user experience improvement plan". The embodiment of the present application does not limit the specific implementation manner of the terminal that meets the requirements.
In some embodiments, the second server may further send, to the terminal, the network distribution information of the requested route or the network distribution information of at least two routes including the network distribution information of the requested route in response to receiving a request sent by the terminal to acquire the network distribution information of the route. For example, the terminal may send a network distribution information request for acquiring a route actually traveled by the user to the second server after acquiring the first route information. And the second server issues the network distribution information of the route which is found out according to the first route information and is actually taken out by the user to the terminal. In other embodiments, the second server may send a notification of the failure of the request to the terminal when the network distribution information of the route requested by the terminal is not queried. Or when the second server does not inquire the network distribution information of the route requested by the terminal, the second server continues to receive the collected related information sent by the terminal.
Step 605, after receiving the network distribution information of the at least one route sent by the second server, the terminal stores the network distribution information of the at least one route.
In other embodiments, the second server may further send a prompt for downloading or updating the network distribution information of the route to the terminal after obtaining the network distribution information of the at least one route in step 603. After receiving a prompt for downloading or updating the network distribution information of the route, the terminal displays a second prompt box on the display screen 251, where the second prompt box includes second prompt information, a first virtual button, and a second virtual button. The terminal may download the network distribution information of the at least one route from the second server in response to the user's operation of the first virtual button, and save the at least one network distribution information. The terminal may refuse to download the network distribution information of the at least one route from the second server in response to an operation of the second virtual button. For example, the second prompt box may be as the prompt box 900 shown in fig. 9, where the prompt box 900 includes second prompt information, a first virtual button 901 and a second virtual button 902, where the first virtual button 901 may be named "update soon", "update approved", "download soon", "approve", and the like, and the second virtual button 902 may be named "re-say next", "reject this update", "reject", and the like, and the naming of the first virtual button and the second virtual button 902 is not limited in this embodiment of the application.
Taking the structure shown in fig. 2a and 2b as an example, the terminal may receive the network distribution information of the at least one route sent by the second server through the wireless communication module 232 or the mobile communication module 231, then the wireless communication module 232 or the mobile communication module 231 sends the network distribution information of the at least one route to the modem, the modem demodulates the network distribution information of the at least one route received by the wireless communication module 232 or the mobile communication module 231 into a low-frequency baseband signal, and then sends the low-frequency baseband signal to the AP, and the AP stores the network distribution information of the at least one route in a memory (e.g., the internal storage 221, or an external memory connected to the external memory interface 222, etc.) according to a preset format.
It should be noted that the first server and the second server in the above embodiments of the present application may be the same server or different servers.
In other embodiments, after obtaining the network distribution information of the at least one route again, the second server may further send the obtained network distribution information of the at least one route to the terminal, so that the terminal can update the stored network distribution information of the route according to the obtained network distribution information of the at least one route. Thereby contributing to an improvement in the accuracy of the network distribution information of the stored route of the terminal.
Step 303, when the terminal detects a offline, the terminal determines whether at least one first network information included in the network distribution information of the route actually traveled by the user includes the network information of the currently accessed cell, if so, step 304 is executed, otherwise, whether the terminal is offline is continuously detected, and when the terminal is offline, the step 303 is executed. In some embodiments, when the terminal detects that the currently accessed cell is the last cell accessed on the actual travel route of the user, or the terminal detects that the terminal arrives at a station (where the arrival time may be preset by the user, or may be obtained by the terminal from information of one or more applications), and the like, if the terminal is not offline, the current flow is ended, and if the terminal is offline, the current flow is ended after step 305 is executed.
It should be noted that, in this embodiment of the application, when it is determined that the at least one first network information included in the network distribution information of the route actually traveled by the user includes the network information of the currently accessed cell, the terminal controls not to perform network search, and performs step 304. In addition, when detecting the offline, the terminal may also control not to search for a network, and first determine whether the network information of the currently accessed cell is included in at least one first network information included in the network distribution information of the route where the user actually travels, and if so, execute step 304. In some embodiments, when the network distribution information of the route actually traveled by the user includes at least one first network information that does not include the network information of the currently accessed cell, then the network searching may be started.
Specifically, the terminal may detect whether the terminal is offline by detecting whether the network signal strength of the cell is smaller than a decision threshold. For example, the terminal may detect whether the terminal is offline every preset time period on a route where the user actually travels, may detect whether the terminal is offline in real time, and may detect whether the terminal is offline when detecting that the terminal requests communication or data from the network device. It should be noted that, in the embodiment of the present application, the decision threshold and the preset time period may be set according to actual requirements.
Taking the first network information as the cell identifier and the PLMN corresponding to the cell identifier as examples, for example, the first network information included in the network distribution information of the actual travel route of the user, which is pre-stored by the terminal, includes cell ID1, PLMN1 corresponding to cell ID1, cell ID2, and PLMN2 corresponding to cell ID2, and the network information of the cell currently accessed by the terminal includes cell ID1 and PLMN1, so that the first network information stored by the terminal includes the network information of the cell currently accessed.
In addition, it should be noted that the terminal may also be disconnected on the route where the user actually travels, taking the route S shown in fig. 5 as an example. For example, the terminal accesses the cell 1 from the node A, breaks the network to the node C, and does not access the cell from the node C until the node D accesses the cell 2 if the network is broken between the node C and the node D. That is, the terminal is disconnected between node C to node D. The method for controlling network searching in the embodiment of the present application may also be applied to this scenario, however, when the terminal detects a network outage, it is determined whether at least one piece of network information in the network distribution information of the route where the user actually travels includes network information of a currently accessed cell, where the network information of the currently accessed cell refers to a cell that is accessed by the terminal last time before the network outage of the node C.
And step 304, the terminal determines a target time length according to the pre-stored network distribution information of the actual trip route of the user, wherein the target time length is used for indicating the time length corresponding to the network information of the currently accessed cell and controlling the actual network searching not to be carried out. For example, the target duration may be understood as a period of time from when the terminal detects that the terminal is offline in the currently accessed cell, during which the terminal stops searching for the network.
The network distribution information of the actual travel route of the user, which is stored in advance, comprises route information, at least one piece of first network information and interval information corresponding to each piece of first network information. The terminal can determine the offline duration of the currently accessed cell based on the following modes:
the terminal determines interval information corresponding to the network information of the currently accessed cell from the pre-stored network distribution information of the actual trip route of the user, and then the terminal determines the target duration according to the determined interval information of the currently accessed cell.
For example, the stored network distribution information of the route where the user actually appears includes the network information corresponding to the currently accessed cell, and the network information includes the first node information and the second node information, so that the terminal can determine the distance between the offline sections according to the first node information and the second node information, and acquire the real-time speed of the terminal movement; and determining the target duration according to the determined distance of the offline interval and the acquired real-time moving speed of the terminal. And the target duration is the ratio of the distance between the offline intervals to the real-time moving speed of the terminal.
Taking the structure shown in fig. 2b as an example, the terminal may acquire the acceleration of the terminal movement by the acceleration Sensor 260A through a general intelligent sensing hub (Sensor hub), and then the general intelligent sensing hub determines the real-time movement speed of the terminal according to the acquired acceleration and a preset algorithm. For example, if the real-time moving speed is V, the initial speed is V0, and the acceleration is a, V ═ V0+ at, where t is the time when the terminal moves. The initial velocity V0 may be preset to 0, and when the universal smart sensor hub changes the acceleration, the initial velocity V0 is the real-time velocity last determined based on the last acquired acceleration. And the modem determines the target duration according to the distance between the off-line intervals and the acquired real-time moving speed of the terminal. And the target duration is the ratio of the distance between the offline intervals to the real-time moving speed of the terminal.
For another example, the pre-stored network distribution information of the actual trip route of the user includes section information corresponding to the network information of the currently accessed cell, and the section information includes distance information of the offline section, which is similar to the method for determining the offline duration of the currently accessed cell when the section information includes the first node information and the second node information.
For another example, if the pre-stored network distribution information of the route actually traveled by the user includes the offline duration corresponding to the network information of the currently accessed cell, the terminal determines that the target duration is the offline duration corresponding to the network information of the currently accessed cell in the pre-stored network distribution information of the route actually traveled by the user. Helping to simplify the implementation.
In addition, the pre-stored network distribution information of the actual trip route of the user includes the network information corresponding interval information of the currently accessed cell, which includes the node information and/or the distance information of the offline interval, and also includes the offline duration, wherein the node information includes the first node information and the second node information;
the terminal may determine the duration of the talk-around in the currently accessed cell based on the following:
the terminal determines the offline duration T1 according to the node information or the distance information of the offline interval, where the determining manner of the offline duration T1 may refer to the related description of determining the target duration according to the first node information and the second node information, or according to the distance information of the offline interval in the foregoing embodiment, and details are not repeated here. Then the terminal determines that the target duration is the smaller value of the offline duration T1 and the offline duration T2 corresponding to the currently accessed network information included in the offline information of the pre-stored actual trip route of the user, thereby being beneficial to improving the reliability of determining the offline duration.
And 305, after the terminal passes through the determined target time length, starting to search for the network.
In some embodiments, after the terminal passes through the target duration determined in step 304, the distance that the terminal actually moves within the target duration is determined, and then it is determined whether the distance that the terminal actually moves within the target duration is not less than the distance between the off-line sections of the currently accessed cell included in the network distribution information of the user's actual travel route that is stored in advance, if yes, the terminal searches for a network, otherwise, the terminal may continue to stop searching for a network. Therefore, the network searching times of the terminal can be reduced.
In other embodiments, when the network distribution information of the actual travel route of the user, which is pre-stored in the terminal, further includes second network information corresponding to each first network information, after the terminal executes step 305, the terminal acquires the specific network information, and may first determine whether the second network information, which is included in the network distribution information of the actual travel route of the user, and corresponds to the network information of the currently accessed cell, includes the specific network information, and if the second network information includes the specific network information, the terminal accesses to a corresponding network according to the specific network information and camps on the network. Thereby helping to increase the likelihood of success of the terminal accessing the network. In still other embodiments, when the pre-stored network distribution information of the route actually traveled by the user includes second network information corresponding to the network information of the currently accessed cell and does not include specific network information, the terminal may continue to search for a network.
The method for controlling network searching according to the embodiment of the present application is described in detail by taking the architecture shown in fig. 2b as an example. When a certain trigger condition (see the implementation manner of the condition for triggering the terminal to execute step 301) is satisfied, the application processor AP stores the network distribution information of the at least one route stored in the internal memory 221 into the first cache region, and the modem acquires the first route information, for example, in this example, the modem may acquire the first route information through the AP. Then, the modem queries the network distribution information of the route actually traveled by the user from the network distribution information of at least one route stored in the first cache region according to the first route information, acquires the real-time moving speed of the terminal from the Sensor hub, and calculates the offline time length T1. The modem compares the offline duration T1 with the offline duration T2 corresponding to the network information of the currently accessed cell included in the network distribution information of the route where the user actually travels, and takes the smaller value of T1 and T2 as the duration for the terminal to stop searching the network, that is, the target duration. Taking T1 as the smaller value of T1 and T2 as an example, the modem control terminal stops searching for a network in T1, and when T1 passes, the modem control terminal starts searching for a network. In the embodiment of the application, the modem executes network distribution information of the query route, calculates offline duration, searches for a network and the like, so that the AP can be in a dormant state in the process of restoring the network residence of the terminal, and the power consumption of the terminal is saved. In addition, the method for controlling the network searching does not need to perform real-time positioning, so that power consumption is further saved, the standby time of the terminal in the traveling process is prolonged, and user experience is improved.
In the embodiment of the application, the terminal can pre-store the network distribution information of at least one route, so that when the terminal detects the offline, the terminal is controlled not to search for the network first, but the target duration is determined according to the network distribution information, such as a cell currently accessed, and the network is searched after the target duration, thereby avoiding frequent network searching after the terminal is offline, and being beneficial to improving the network searching efficiency of the terminal and saving the power consumption of the terminal.
In addition, in some embodiments, after the terminal executes step 304, the user may be prompted for the expected duration of the offline, which helps the user to schedule the time appropriately. For example, after determining the duration of the offline in the currently accessed cell, the terminal may display a third prompt box on the display screen 251, where the third prompt box includes third prompt information, and the third prompt information is used to prompt the user that the terminal accesses the network again after the first duration. The first time length is the offline time length of the terminal in the current accessed cell. For another example, the terminal may further play a voice prompt message to the user through the speaker 240A, where the voice prompt message is used to prompt the user that the terminal accesses the network again after the first duration. For another example, the terminal may further display a notification message on a negative screen, where the notification message is used to prompt the predicted offline duration, for example, as shown in fig. 10, the terminal displays a negative screen 1000 on a display screen 251, the negative screen includes a prompt box 1001, and the prompt box 1001 includes prompt information used to prompt the offline duration, where the prompt information is, for example, 2: 50 start off-line, expect 3:05 resume stay on-line, etc.
In other embodiments of the present application, after the terminal performs step 302, a offline distribution map of the actual travel route of the user may be generated according to the determined network distribution information of the actual travel route of the user, and the offline distribution map of the actual travel route of the user is displayed on the display screen 251. The offline distribution map may include information such as a start position, an end position, and offline duration of an offline interval in an actual travel route of the user. Therefore, the time for using the terminal is planned in advance by the user, for example, a teleconference is arranged on a train, and the user experience is improved.
In some embodiments, according to the first route information, if the network distribution information of the route actually traveled by the user is not found from the pre-stored network distribution information of the at least one route, the terminal may search for a network in an existing manner, for example, the terminal may search for a network without finding off-network information of the route actually traveled by the user, or search for a network based on the positioning information of the terminal, which is not limited herein.
The above embodiments can be used alone or in combination with each other to achieve different technical effects.
In the embodiments provided in the present application, the method provided in the embodiments of the present application is described from the perspective of the terminal as an execution subject. In order to implement the functions in the method provided by the embodiment of the present application, the terminal may include a hardware structure and/or a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
As shown in fig. 11, an embodiment of the present application discloses a terminal 1100, where the terminal 1100 may include: one or more processors 1101, memory 1102. In some embodiments, the above-described devices may be connected by one or more communication buses. In addition, the above-mentioned devices related to the embodiments of the present application may be connected in other manners.
Wherein the memory 1102 has stored therein program instructions; the processor 1101 calls the program instructions stored in the memory 1102 to make the terminal 1100 execute the method for controlling network searching according to the embodiment of the present application. For example, the processor 1101 calls program instructions stored in the memory 1102, so that the terminal 1100 executes the method of controlling network searching shown in fig. 3.
In the embodiments of the present application, the processor 1101 may be a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof, and may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor. Software modules may be located in the memory 1102, and the processor 1101 reads the program instructions in the memory 1102, and in combination with its hardware, performs the steps of the above-described method.
In some embodiments, the one or more processors 1101 include a modem and an application processor. The application processor is used for storing the network distribution information of at least one route to the modem and sending the acquired first route information to the modem, so that the modem can execute the method for controlling network searching in the embodiment of the application.
In this embodiment, the memory 1102 may be a non-volatile memory, such as a hard disk (HDD) or a solid-state drive (SSD), and may also be a volatile memory (e.g., a random-access memory (RAM)). The memory can also be, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
In some embodiments, the terminal 1100 of the embodiments of the present application further includes an acceleration sensor and a general smart sensor hub. For example, the universal smart sensor may obtain the acceleration of the terminal 1100 from an acceleration sensor, so that the universal smart sensing hub determines the real-time moving speed of the terminal. The modulation sensor can acquire the real-time moving speed of the terminal from the universal intelligent sensing concentrator so as to determine the offline duration.
In some embodiments, the terminal 1100 may further include a transceiver 1103, which may be configured to send the collected related information to a server and receive network distribution information of at least one route issued by the server. In the embodiment of the present application, the transceiver 1303 may be a circuit, a bus, a communication interface, or any other device that can be used for signal interaction. Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be made by those skilled in the art within the technical scope of the present application disclosed in the present application should be covered by the scope of the present application, and therefore the scope of the present application should be subject to the scope of the claims.
Claims (25)
1. A method for controlling network searching, the method comprising:
the method comprises the steps that a terminal obtains first route information, wherein the first route information is used for indicating an actual trip route of a user;
the terminal acquires network distribution information of a route actually taken by a user from pre-stored network distribution information of at least one route according to the first route information; the network distribution information of the route of the user actually going out comprises route information, at least one piece of first network information and interval information corresponding to each piece of first network information; each piece of first network information is used for indicating a cell accessed by a terminal when the actual trip route of the user is off-line;
the terminal judges whether the network is disconnected;
if so, the terminal judges whether the at least one piece of first network information comprises the network information of the currently accessed cell;
if so, the terminal controls not to search for the network and determines a target time length according to the interval information corresponding to the network information of the currently accessed cell, wherein the target time length is used for indicating the time length corresponding to the network information of the currently accessed cell and controlling not to actually search for the network;
and the terminal starts to search the network after the target duration.
2. The method of claim 1, wherein the terminal obtaining the first route information comprises:
the terminal identifies that a first application installed by the terminal receives ticket order information;
and the terminal acquires the first route information according to the ticket order information.
3. The method according to claim 1 or 2, wherein before the terminal acquires the first route information, the method further comprises:
the terminal receives a first operation of a user, wherein the first operation is an operation of starting a network searching control function by the user;
and the terminal responds to the first operation and starts a network searching control function.
4. The method of claim 1, wherein the terminal obtaining the first route information comprises:
the terminal receives a second operation of the user, wherein the second operation is an operation of starting a network searching control function by the user;
the terminal responds to the second operation, starts a network searching control function and displays a route related information input frame on a display screen;
and the terminal acquires first route information according to the information input by the user in the route related information input box.
5. The method according to any of claims 1 to 4, wherein the first network information comprises a cell identity, a public Mobile land network, PLMN, corresponding to the cell identity.
6. The method according to any one of claims 1 to 5, wherein the section information corresponding to each first network information includes at least one of node information, distance information of a offline section, or offline duration; the node information comprises first node information and second node information, and the first node information is used for indicating the starting position of the terminal for offline when the route of the user actually going out is accessed into the cell corresponding to the first network information; and the second node information is used for indicating the starting position of the terminal when the terminal is in the network-staying state after the terminal is disconnected from the network at the position indicated by the first node information.
7. The method according to claim 6, wherein the section information corresponding to each first network information includes distance information of the node information and/or the offline section, and offline duration;
the terminal determines a target time length according to the interval information corresponding to the network information of the currently accessed cell, and the method comprises the following steps:
the terminal determines the distance of the offline interval corresponding to the network information of the currently accessed cell according to the node information or the distance information of the offline interval;
the terminal acquires a real-time moving speed;
the terminal determines a first offline duration according to the distance between the offline intervals and the real-time moving speed;
and the terminal determines that the target time length is the smaller value of the first offline time length and the offline time length corresponding to the network information of the currently accessed cell and included in the network distribution information of the route of the user actually going out.
8. The method according to any one of claims 1 to 7, wherein the network distribution information of the route actually traveled by the user further comprises: second network information corresponding to each piece of first network information, wherein the second network information is used for indicating that the terminal accesses a cell corresponding to the first network information in the actual trip route of the user and then recovers the accessed cell in the network residence;
after the terminal starts to search for the network, the method further comprises the following steps:
the terminal acquires specific network information;
and the terminal determines that the second network information corresponding to the network information of the currently accessed cell comprises the specific information, accesses to a corresponding network according to the specific information and camps on the network.
9. The method of any of claims 1 to 8, further comprising:
the terminal prestores network distribution information of at least one route according to collected related data, and the related data are used for indicating the condition that the terminal accesses the network on the route.
10. The method of claim 9, wherein the terminal pre-storing network distribution information of at least one route according to the collected related data comprises:
the terminal sends the collected related data to a server;
and the terminal receives and stores the network distribution information of at least one route, which is sent by the server and obtained according to the acquired relevant data.
11. The method of claim 10, wherein the method further comprises:
the terminal receives a third operation of the user, wherein the third operation is an operation that the user agrees that the terminal reports the collected related data to the server;
and the terminal responds to the third operation and determines that the user agrees to report the collected related data to the server by the terminal.
12. A terminal, characterized in that the terminal comprises at least one processor and a memory;
wherein the memory stores program instructions;
the at least one processor configured to invoke program instructions stored in the memory to cause the terminal to perform the steps of:
acquiring first route information, wherein the first route information is used for indicating an actual trip route of a user;
according to the first route information, network distribution information of a route actually taken out by a user is obtained from network distribution information of at least one route stored in advance; the network distribution information of the route of the user actually going out comprises route information, at least one piece of first network information and interval information corresponding to each piece of first network information; each piece of first network information is used for indicating a cell accessed by a terminal when the actual trip route of the user is off-line;
judging whether the terminal is off-line;
if yes, judging whether the at least one piece of network information comprises the network information of the currently accessed cell;
if yes, controlling not to search the network and determining the target duration according to the interval information corresponding to the network information of the currently accessed cell; the target time length is the time length which corresponds to the network information of the currently accessed cell and controls the actual network searching not to be carried out;
and after the target time length, starting to search the network.
13. The terminal of claim 12, wherein the obtaining the first routing information comprises:
identifying that a first application installed by the first application receives ticket order information; and acquiring the first route information according to the ticket order information.
14. The terminal of claim 12 or 13, wherein the at least one processor is configured to invoke stored program instructions in the memory to cause the terminal to, prior to obtaining the first routing information, further perform the steps of:
receiving a first operation of a user, wherein the first operation is an operation of starting a network searching control function by the user;
and responding to the first operation, and starting a network searching control function.
15. The terminal of claim 12, wherein the obtaining the first routing information comprises:
receiving a second operation of a user, wherein the second operation is an operation of starting a network searching control function by the user;
responding to the second operation, starting a network searching control function, and displaying a route related information input frame on a display screen;
and acquiring first route information according to the information input by the user in the route related information input box.
16. The terminal according to any of claims 12 to 15, wherein the first network information comprises a cell identity, a public mobile land network, PLMN, corresponding to the cell identity.
17. The terminal according to any one of claims 12 to 16, wherein the section information corresponding to each first network information includes at least one of node information, distance information of a offline section, or offline duration; the node information comprises first node information and second node information, and the first node information is used for indicating the starting position of the terminal for offline when the route of the user actually going out is accessed into the cell corresponding to the first network information; and the second node information is used for indicating the starting position of the terminal when the terminal is in the network-staying state after the terminal is disconnected from the network at the position indicated by the first node information.
18. The terminal according to claim 17, wherein the section information corresponding to each first network information includes distance information of the node information and/or the offline section, and an offline duration;
the determining the target duration according to the interval information corresponding to the network information of the currently accessed cell includes:
determining the distance between the terminal and the offline interval corresponding to the currently accessed cell network information according to the node information or the distance information of the offline interval;
acquiring real-time moving speed;
determining a first offline duration according to the distance between the offline intervals and the real-time moving speed;
and determining that the target duration is the smaller value of the first offline duration and the offline duration corresponding to the network information of the currently accessed cell and included in the network distribution information of the route of the user actually going out.
19. The terminal of claim 18, wherein the terminal further comprises a universal smart sensor hub and an acceleration sensor;
the acquiring of the real-time moving speed comprises the following steps:
acquiring real-time moving speed from a general intelligent sensing concentrator; the universal intelligent sensor determines the real-time moving speed of the terminal according to the acceleration collected by the acceleration sensor.
20. The terminal according to any one of claims 12 to 19, wherein the network distribution information of the route actually traveled by the user further comprises: second network information corresponding to each piece of first network information, wherein the second network information is used for indicating that the terminal accesses a cell corresponding to the first network information in the actual trip route of the user and then recovers the accessed cell in the network residence;
the at least one processor is configured to invoke the program instructions stored in the memory, so that after the terminal starts to perform a network search, the following steps are further performed:
acquiring specific network information; and when determining that the second network information corresponding to the network information of the currently accessed cell includes the specific information, accessing to a corresponding network according to the specific information and performing network camping.
21. The terminal of any of claims 12 to 20, wherein the at least one processor, configured to invoke the stored program instructions in the memory, further performs the steps of:
and pre-storing network distribution information of at least one route according to collected related data, wherein the related data is used for indicating the condition that the terminal accesses the network on the route.
22. The terminal of claim 21, wherein the pre-storing network distribution information of at least one route according to the collected related data comprises:
transmitting the collected related data to a server;
and after receiving the network distribution information of at least one route, which is sent by the server and obtained according to the collected related data, storing the network distribution information.
23. The terminal of claim 22, wherein the at least one processor, for invoking the stored program instructions in the memory, further performs the steps of:
receiving a third operation of the user, wherein the third operation is an operation that the user agrees that the terminal reports the collected related data to the server; and responding to the third operation, and determining that the user agrees to report the collected related data to the server by the terminal.
24. A chip, wherein the chip is coupled to a memory in a terminal, such that the chip, when run, invokes program instructions stored in the memory, causing the terminal to perform the method of any of claims 1 to 11.
25. A computer storage medium, characterized in that it has stored therein program instructions which, when run on a terminal, cause the terminal to perform the method according to any one of claims 1 to 11.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910152489.7A CN111629337B (en) | 2019-02-28 | 2019-02-28 | Method and terminal for controlling network searching |
PCT/CN2020/075977 WO2020173373A1 (en) | 2019-02-28 | 2020-02-20 | Method for controlling network searching, and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910152489.7A CN111629337B (en) | 2019-02-28 | 2019-02-28 | Method and terminal for controlling network searching |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111629337A true CN111629337A (en) | 2020-09-04 |
CN111629337B CN111629337B (en) | 2022-01-14 |
Family
ID=72239087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910152489.7A Active CN111629337B (en) | 2019-02-28 | 2019-02-28 | Method and terminal for controlling network searching |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111629337B (en) |
WO (1) | WO2020173373A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112969204A (en) * | 2021-02-26 | 2021-06-15 | 维沃移动通信有限公司 | Cell data transmission method and device and electronic equipment |
CN113891408A (en) * | 2021-04-20 | 2022-01-04 | 荣耀终端有限公司 | Method for switching Wi-Fi network and cellular network and electronic equipment |
CN114338641A (en) * | 2022-01-27 | 2022-04-12 | 中国第一汽车股份有限公司 | Networking control method, device, terminal and storage medium for vehicle remote communication |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116095791B (en) * | 2022-05-26 | 2024-04-02 | 荣耀终端有限公司 | Method for searching network and terminal equipment |
CN116321330B (en) * | 2022-12-27 | 2024-06-21 | 荣耀终端有限公司 | Network switching inhibition method, electronic equipment, medium and product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103781155A (en) * | 2012-10-17 | 2014-05-07 | 希姆通信息技术(上海)有限公司 | Mobile terminal and network searching method thereof |
CN103906189A (en) * | 2014-04-15 | 2014-07-02 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for network searching and terminal |
CN105307240A (en) * | 2015-09-29 | 2016-02-03 | 北京元心科技有限公司 | Location-based mobile communication network search method and device |
CN105681500A (en) * | 2016-02-23 | 2016-06-15 | 北京小米移动软件有限公司 | Communication control method and device and terminal |
CN106412892A (en) * | 2016-09-07 | 2017-02-15 | 努比亚技术有限公司 | Network reconnection method for mobile terminal, and mobile terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2405556A (en) * | 2003-08-27 | 2005-03-02 | Nec Technologies | Performance enhancement in a portable communication device |
CN105101161A (en) * | 2015-06-12 | 2015-11-25 | 联想(北京)有限公司 | Information processing method and information processing device |
CN106102130B (en) * | 2016-06-07 | 2019-10-22 | 华为技术有限公司 | Search for network method and wireless terminal |
-
2019
- 2019-02-28 CN CN201910152489.7A patent/CN111629337B/en active Active
-
2020
- 2020-02-20 WO PCT/CN2020/075977 patent/WO2020173373A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103781155A (en) * | 2012-10-17 | 2014-05-07 | 希姆通信息技术(上海)有限公司 | Mobile terminal and network searching method thereof |
CN103906189A (en) * | 2014-04-15 | 2014-07-02 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for network searching and terminal |
CN105307240A (en) * | 2015-09-29 | 2016-02-03 | 北京元心科技有限公司 | Location-based mobile communication network search method and device |
CN105681500A (en) * | 2016-02-23 | 2016-06-15 | 北京小米移动软件有限公司 | Communication control method and device and terminal |
CN106412892A (en) * | 2016-09-07 | 2017-02-15 | 努比亚技术有限公司 | Network reconnection method for mobile terminal, and mobile terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112969204A (en) * | 2021-02-26 | 2021-06-15 | 维沃移动通信有限公司 | Cell data transmission method and device and electronic equipment |
CN112969204B (en) * | 2021-02-26 | 2022-12-02 | 维沃移动通信有限公司 | Cell data transmission method and device and electronic equipment |
CN113891408A (en) * | 2021-04-20 | 2022-01-04 | 荣耀终端有限公司 | Method for switching Wi-Fi network and cellular network and electronic equipment |
CN113891408B (en) * | 2021-04-20 | 2022-08-16 | 荣耀终端有限公司 | Method for switching Wi-Fi network and cellular network and electronic equipment |
WO2022222651A1 (en) * | 2021-04-20 | 2022-10-27 | 荣耀终端有限公司 | Method for switching wi-fi network and cellular network, and electronic device |
CN114338641A (en) * | 2022-01-27 | 2022-04-12 | 中国第一汽车股份有限公司 | Networking control method, device, terminal and storage medium for vehicle remote communication |
CN114338641B (en) * | 2022-01-27 | 2023-09-15 | 中国第一汽车股份有限公司 | Networking control method, device, terminal and storage medium for vehicle remote communication |
Also Published As
Publication number | Publication date |
---|---|
CN111629337B (en) | 2022-01-14 |
WO2020173373A1 (en) | 2020-09-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111629337B (en) | Method and terminal for controlling network searching | |
WO2020191598A1 (en) | Method for determining that terminal device is located inside geofence, and terminal device | |
CN113133076B (en) | Communication method, related equipment and communication system | |
CN112954749B (en) | A kind of network switching method and electronic device | |
CN111670603B (en) | Method, device, communication equipment and storage medium for monitoring channel | |
US11711864B2 (en) | Network connection method and device | |
CN112888045B (en) | Cell measurement method, cell measurement device, terminal equipment, chip and storage medium | |
CN113382363B (en) | Method and device for sending messages based on different networks | |
EP4149183A1 (en) | Method and apparatus for sending paging message, communication device, and storage medium | |
CN111491341B (en) | Cell reselection method and terminal | |
WO2021164332A1 (en) | Network selection method and apparatus | |
CN114257960B (en) | Bluetooth connection method and device | |
WO2022257617A1 (en) | Method for detecting bluetooth positioning device, device, and storage medium | |
CN114666694A (en) | Bluetooth headset loss prevention method and electronic equipment | |
EP4224941A1 (en) | Cell handover method and a communication apparatus | |
EP4142386A1 (en) | Information processing method and apparatus, user equipment, and storage medium | |
CN108259063B (en) | Switching method of eMTC mode and BT mode, wearable device and system | |
WO2024093857A1 (en) | Positioning method and related apparatus | |
CN112014866B (en) | Motion trail recording method and related equipment | |
CN115278932A (en) | Network reconnection method, device, terminal equipment and storage medium | |
CN115022449B (en) | Subway travel detection method and electronic equipment | |
CN110430525B (en) | Positioning method, server and mobile terminal | |
US20230388955A1 (en) | Tracking-area update method and apparatus, communication device, and storage medium | |
CN118092201A (en) | Internet of things equipment control method, electronic equipment and computer readable storage medium | |
CN117440319A (en) | Positioning method and electronic 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 |