WO2020173373A1 - Method for controlling network searching, and terminal - Google Patents

Method for controlling network searching, and terminal Download PDF

Info

Publication number
WO2020173373A1
WO2020173373A1 PCT/CN2020/075977 CN2020075977W WO2020173373A1 WO 2020173373 A1 WO2020173373 A1 WO 2020173373A1 CN 2020075977 W CN2020075977 W CN 2020075977W WO 2020173373 A1 WO2020173373 A1 WO 2020173373A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
terminal
network
route
user
Prior art date
Application number
PCT/CN2020/075977
Other languages
French (fr)
Chinese (zh)
Inventor
沈晨
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020173373A1 publication Critical patent/WO2020173373A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • This application relates to the field of communication technology, and in particular to a method and terminal for controlling network search. Background technique
  • the terminal when the terminal is offline, it will perform a network search process, so that the terminal can restore the network in time without affecting the normal use of the user.
  • the terminal when the terminal moves to an area with poor or unstable network signal strength, it may cause the terminal to frequently disconnect from the network, so that the terminal frequently performs network search procedures, which greatly increases the power consumption of the terminal and seriously affects the user experience. For example, when the user When taking trains, subways and other means of transportation, you often pass through areas with poor or unstable network signal strength.
  • the terminal adopts the existing control search method, that is, the terminal will search the network after it is offline, although the terminal can be timely
  • the restoration of the network station may easily lead to an increase in the power consumption of the terminal, shorten the standby time of the terminal, and cause a poor user experience.
  • the embodiments of the present application provide a method and a terminal for controlling a network search, which helps the terminal to resume network presence in a timely manner after being offline on a fixed route, while saving power consumption of the terminal and improving user experience.
  • a method for controlling network search includes:
  • the terminal obtains first route information, where the first route information is used to indicate the route the user actually travels; then, according to the first route information, the terminal obtains the user's actual travel from the network distribution information of at least one route stored in advance.
  • Network distribution information of the route of the user wherein the network distribution information of the route the user actually travels includes route information, at least one piece of first network information, and section information corresponding to each first network information; each first network information is used to indicate The cell that the terminal accesses when the user's actual travel route is offline; the terminal determines whether it is offline, and if so, determines whether the at least one first network information includes the network information of the cell currently accessed, if the If at least one piece of first network information includes the network information of the currently accessed cell, it is controlled not to search the network, and the target duration is determined according to the interval information corresponding to the network information of the currently accessed cell; It is used to indicate the time period during which the control does not perform network search corresponding to the network information of the currently accessed cell
  • the terminal can pre-store the network distribution information of at least one route, so that when the terminal detects that it is offline, it can determine the target duration according to the route actually appeared by the user and the network distribution information of the route. After the target time period, the network search is performed. Compared with the prior art terminal searching the network after being disconnected, it helps to reduce the number of terminal searches for the network, and enables the terminal to stay on the network in time after being disconnected, and save The power consumption of the terminal, thereby improving the user experience.
  • the terminal may obtain the first route information in the following manner:
  • the terminal recognizes that the first application installed by itself has received the ticket order information; and according to the ticket order information, Acquire the first route information. Help reduce user operations.
  • the terminal receives a user's first operation, and the first operation is an operation for the user to enable the control search function; and in response to the first operation, after the control search function is turned on, Get the first route information. It helps to improve the interaction between the user and the terminal.
  • the terminal may also obtain the first route information in the following manner:
  • the terminal receives a second operation of the user, where the second operation is an operation for the user to turn on the control search function; and in response to the second operation, turns on the control search function, and displays the route-related information input box on the display screen ; Then, the terminal obtains the first route information according to the information input by the user in the route-related information input box. This helps the simplified terminal to obtain the first route information.
  • the first network information includes a cell identity and a public mobile land network PLMN corresponding to the cell identity. This helps to improve the accuracy of the terminal in identifying the cell accessed when the user's actual travel route is offline.
  • the interval information corresponding to each first network information includes at least one of node information, distance information of the offline interval, or offline duration; the node information includes the first node information and the first node information.
  • Two-node information where the first node information is used to indicate the starting position of the terminal to go offline when the user’s actual travel route accesses the cell corresponding to the first network information; the second node information is used to indicate that the terminal is in the After the location indicated by the information of the first node is offline, the initial location at the time of stationing is restored. It helps to simplify the way for subsequent terminals to determine the target duration.
  • the terminal may determine based on the following manner Target duration: The terminal determines the distance between the terminal and the offline interval corresponding to the network information of the cell currently accessed according to the node information or the distance information of the offline interval; and obtains the real-time moving speed; then, the The terminal determines the first offline duration according to the distance of the offline interval and the real-time moving speed; finally, the terminal compares the first offline duration and the network distribution information included in the actual travel route of the user with The smaller value of the offline duration corresponding to the network information of the currently accessed cell is used as the target duration. This helps to improve the accuracy of determining the offline duration of the currently accessed cell.
  • the network distribution information of the actual travel route of the user further includes: second network information corresponding to each first network information, and the second network information is used to indicate that the terminal is in the After the user's actual travel route is connected to the cell corresponding to the first network information, the cell that was accessed when the user was on the network is restored;
  • the terminal After the terminal starts to search the network, the terminal also obtains specific network information; and when it is determined that the second network information corresponding to the network information of the currently accessed cell includes the specific information, according to the specific information Connect to the corresponding network and parallel to the network. It helps to improve the efficiency of terminal station network.
  • the terminal may also pre-store network distribution information of at least one route according to collected related data, and the related data is used to indicate the network access status of the terminal on the route. It helps to improve the reliability of the pre-stored network distribution information of at least one route, thereby improving the accuracy of the determined offline duration.
  • the terminal may pre-store the network distribution information of at least one route based on the collected related data in the following manner, including:
  • the terminal sends the collected related data to the server; the related data is used to indicate the terminal's access to the network on the route;
  • the terminal After the terminal receives the network distribution information of at least one route obtained according to the collected related data sent by the server, and stores it. This helps simplify the processing steps of the terminal.
  • the terminal receives a third operation of the user, and the third operation is an operation for the user to agree to the terminal to report collected related data to the server; and in response to the third operation, the terminal determines The user agrees that the terminal reports the collected related data to the server. It helps to improve users' right to know and protect users' privacy.
  • a method for pre-storing network distribution information of a route includes: a server receiving related data reported by at least one terminal, the related data being used to indicate the network access status of the terminal on the 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 the network distribution information of the at least one route to the terminal.
  • the server determines the network distribution information of at least one route and sends it to the terminal, which helps reduce the processing steps of the terminal.
  • each of the at least one terminal is a terminal to which the user agrees to upload related data. It helps to improve users' right to know and protect users' privacy.
  • the server may send the network distribution information of at least one route to the terminal after receiving the request for the network distribution information of the route sent by the terminal. Helps improve the utilization of terminal storage space.
  • the server may also send an instruction to update the network distribution information of the route to the terminal after obtaining the network distribution information of the at least one route. 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. It helps to improve the interaction between the terminal and the user.
  • the third aspect is a terminal according to an embodiment of this application.
  • the terminal includes at least one processor and a memory; wherein the memory stores program instructions; and the at least one processor is configured to call the storage in the memory
  • the program instructions of, cause the terminal to execute the following steps:
  • the network distribution information of the route the user actually travels is acquired;
  • the network distribution information of the route the user actually travels includes route information, at least one first route One network information, section information corresponding to each first network information; each first network information is used to indicate a cell that the terminal accesses when the user's actual travel route is offline;
  • the at least one first network information includes the network information of the currently accessed cell; if the at least one first network information includes the network information of the currently accessed cell, control not Perform network search, and determine 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 to indicate the time period during which the control corresponding to the network information of the currently accessed cell does not actually perform network search ;
  • the at least one processor includes a modem and an application processor.
  • the first route information can be obtained based on the following methods:
  • the first application installed by itself receives the ticket order information; and obtain the first route information according to the ticket order information.
  • the at least one processor is configured to call the program instructions stored in the memory, so that the terminal executes the process before recognizing that the first application program installed by itself receives the ticket order information The following steps:
  • the first route information can also be obtained based on the following methods:
  • control search function is turned on, and the route-related information input box is displayed on the display screen; and the first route information is acquired according to the information input by the user in the route-related information input box.
  • the first network information includes a cell identity and a public mobile land network PLMN corresponding to the cell identity.
  • the interval information corresponding to each first network information includes at least one of node information, distance information of the offline interval, or offline duration; the node information includes the first node information and the first node information.
  • Two-node information where the first node information is used to indicate the starting position of the terminal to go offline when the user’s actual travel route accesses the cell corresponding to the first network information; the second node information is used to indicate that the terminal is in the After the location indicated by the information of the first node is offline, the initial location at the time of stationing on the network is restored.
  • the target duration may be determined based on the following methods:
  • the smaller value of the offline duration corresponding to the network information of the currently accessed cell included in the first offline duration and the network distribution information of the actual travel route of the user is used as the target duration.
  • the terminal further includes a universal smart sensor hub and an acceleration sensor; the real-time moving speed can be obtained based on the following methods:
  • the universal smart sensor determines the real-time moving speed of the terminal according to the acceleration collected by the acceleration sensor;
  • the network distribution information of the actual travel route of the user further includes: second network information corresponding to each first network information, and the second network information is used to indicate that the terminal is in the After the user's actual travel route is connected to the cell corresponding to the first network information, the cell that was accessed when the user was on the network is restored;
  • the at least one processor is configured to call the program instructions stored in the memory, so that after the terminal starts to search the Internet, the following steps are further executed:
  • the second network information corresponding to the network information of the currently accessed cell includes the specific information, access to the corresponding network according to the specific information, and connect to the parallel network.
  • the at least one processor is configured to call the program instructions stored in the memory, and further execute the following steps:
  • the network distribution information of at least one route is stored in advance, and the relevant data is used to indicate the network access status of the terminal on the route.
  • the network distribution information of at least one route can be pre-stored based on the collected related data based on the following methods:
  • the at least one processor is configured to call the program instructions stored in the memory, and further execute the following steps:
  • a server includes: at least one processor and a memory; the memory is used to store program instructions, and the at least one processor is used to call the program instructions stored in the memory so that all The server performs the following steps:
  • Receiving relevant data reported by at least one terminal the relevant data being used to indicate the network access status of the terminal on the route; and obtaining network distribution information of at least one route according to the relevant data included on the at least one terminal; and reporting to the terminal Sending network distribution information of the at least one route.
  • each of the at least one terminal is a terminal to which the user agrees to upload related data.
  • the at least one processor is used to call the program instructions stored in the memory, so that the server can send network distribution information of at least one route to the terminal in the following manner:
  • the network distribution information of at least one route is sent to the terminal.
  • the at least one processor is used to call the program instructions stored in the memory, so that the server can send network distribution information of at least one route to the terminal in the following manner:
  • an instruction to update the network distribution information of the route is sent to the terminal. And after receiving the indication that the terminal agrees to update the network distribution information of the route, the network distribution information of at least one route is sent to the terminal.
  • the fifth aspect is a network system according to an embodiment of this application, including a terminal and a server;
  • the terminal sends the collected related data to the server; the related data is used to indicate the terminal's access to the network on the route;
  • the server 40 obtains network distribution information of at least one route according to relevant data included on at least one terminal including the terminal;
  • the terminal After the terminal receives the network distribution information of the at least one route, and stores it;
  • the terminal obtains first route information, where the first route information is used to indicate a route the user actually travels; and the terminal obtains the network distribution information of the at least one route according to the first route information Network distribution information of the route the user actually travels, where the network distribution information of the route the user actually travels includes route information, at least one piece of first network information, and section information corresponding to each first network information; each first network information It is used to indicate the cell that the terminal accesses when the user's actual travel route is offline;
  • the terminal judges whether it is offline, and if so, judges whether the at least one piece of first network information includes the network information of the currently accessed cell, and if so, controls not to search the network, and based on the information related to the currently accessed
  • the interval information corresponding to the network information of the cell determines the target time length; the target time length is used to indicate the time length during which the control corresponding to the network information of the currently accessed cell does not actually perform network search;
  • the terminal starts to search the network after the target time period has passed.
  • a terminal provided in an embodiment of this application includes a device that executes the first aspect or any possible differently designed method of the first aspect of the embodiment of this application.
  • a server provided in an embodiment of the present application includes a device that executes the second aspect or any possible differently designed method of the second aspect of the embodiment of the present application.
  • An eighth aspect is a chip provided by an embodiment of this application, wherein the chip is coupled with a memory in a terminal, The chip is made to call the program instructions stored in the memory during operation, so that the terminal executes the first aspect or any possible differently designed method of the first aspect of the embodiments of the present application.
  • a computer storage medium provided by an embodiment of this application is provided with program instructions stored in the computer storage medium.
  • the program instructions When the program instructions are run on a terminal, the terminal is caused to execute the first embodiment of the present application. Aspects or any possible different design methods of the first aspect.
  • FIG. 1 is a schematic structural diagram of a communication system applied in an embodiment of this application
  • Figure 2a is a schematic structural diagram of a terminal according to an application embodiment
  • Figure 2b is a schematic structural diagram of another terminal according to an embodiment of the application.
  • FIG. 3 is an example diagram of a flow of controlling a network search according to an embodiment of the application
  • Fig. 4a is a schematic diagram of a method for enabling control search for a network according to an embodiment of the application
  • FIG. 4b is a schematic diagram of a method for acquiring first route information according to an embodiment of this application.
  • Figure 5 is a schematic diagram of a route according to an embodiment of the application.
  • FIG. 6 is a schematic flowchart of a method for pre-storing network distribution information of at least one route according to an embodiment of this application
  • FIG. 7 is a schematic diagram of a method for approving a user to upload related information according to an embodiment of this application
  • FIG. 8 is a schematic diagram of another way of agreeing to a user to upload related information according to an embodiment of the application.
  • FIG. 9 is a schematic diagram of a user interface according to an embodiment of the application.
  • FIG. 10 is a schematic diagram of another user interface according to an embodiment of the application.
  • FIG. 11 is a schematic structural diagram of another terminal according to an embodiment of the application. detailed description
  • At least one refers to one or more
  • multiple refers to two or more.
  • Hecheng describes the association relationship of associated objects, which means that there can be three types of relationships.
  • a and B can represent the following three relationships: A alone exists, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an "or” relationship.
  • the following at least one (item) or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • At least one item (a) of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c It can be single or multiple.
  • Embodiments of the present application can be applied to mobile communication systems, such as Global System for Mobile Communications ⁇ (global system for mobile communications, GSM ), General Packet Radio Service (general packet radio service, GPRS) communication system, a CDMA (code division multiple access (CDMA) communication system, wideband code division multiple access (WCDMA) communication system, time-division code division multiple access (TD-SCDMA) communication system, long-term evolution ( long term evolution, LTE) communication system, fifth generation (5th Generation, 5G) communication system (such as next radio (next radio, NR) system), future communication system, etc.
  • GSM Global System for Mobile Communications
  • GPRS General Packet Radio Service
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • TD-SCDMA time-division code division multiple access
  • LTE long-term evolution
  • 5G fifth generation
  • FIG. 1 it is a schematic diagram of the architecture of a communication system to which this embodiment of the application is applicable.
  • the communication system shown in FIG. 1 includes network equipment and terminals. Among them, the communication system shown in FIG. 1 is only an example for illustration. It should be understood that the network device in the embodiment of the present application may also be referred to as an access network device, which is used to provide a cell so that the terminal can access the network. Wherein, after the terminal accesses the network through the cell provided by the network device, it judges whether the terminal is offline by comparing the network signal strength of the accessed cell with the decision threshold. Specifically, when the network signal strength of the cell accessed by the terminal is lower than the judgment threshold, the terminal judges that the terminal is in an offline state; when the network signal strength is not lower than the judgment threshold, the terminal judges that the terminal is in the on-line state.
  • the network signal strength may be received signal strength indication (RSSI), reference signal receiving power (RSRP), reference signal receiving quality (reference signal receiving quality, RSRQ), etc.
  • the network device in the embodiment of the present application may be a base station, or an access point, etc.
  • a base transceiver station in a GSM communication system or a CDMA communication system
  • node B node B
  • WCDMA wireless personal area network
  • evolutional node B, eNB evolved base station
  • LTE communication system NR system GNB and so on.
  • the terminal in the embodiment of the present application may be a portable terminal, such as a mobile phone, a tablet computer, a wearable device (such as a smart watch) with a mobile communication function, and a vehicle-mounted device.
  • a portable terminal such as a mobile phone, a tablet computer, a wearable device (such as a smart watch) with a mobile communication function, and a vehicle-mounted device.
  • Exemplary embodiments of the portable terminal include but are not limited to carrying IOS®, Android®, Microsoft® or other operating systems.
  • the aforementioned portable terminal may also be a laptop (Laptop) or the like.
  • the terminal may also be other electronic devices with mobile communication functions, such as a desktop computer or an all-in-one computer.
  • the terminal accesses the network through a cell provided by the network device.
  • the network environments in different regions are also different. Therefore, after the terminal accesses the network through the cell provided by the network equipment, if it moves to an area where the network signal strength is poor or unstable, the terminal is easily disconnected from the network. For example, when a user travels by means of transportation such as trains, subways, etc., the terminal often moves to an area with poor or unstable network signal strength, resulting in disconnection.
  • the terminal when the terminal goes offline, it will search the network so that the terminal can resume network presence in time. Although searching the network after the terminal is offline, the terminal can be restored to the network in time after being disconnected.
  • the terminal may obtain real-time location information of the terminal according to a location based service (location based service, LBS) positioning technology after being offline. Moreover, according to the real-time location information obtained, the terminal searches the network after detecting that its own position has changed and the amount of position change of its own position reaches a certain set threshold. This method is helpful to a certain extent. Reduce the number of times that the terminal searches the network, but the real-time positioning based on the LBS positioning technology when the terminal is off-network is still likely to cause the terminal to consume more power.
  • LBS location based service
  • the embodiment of the present application provides a method for controlling network search, which helps the terminal to resume network presence in time after being disconnected from the network, while reducing the power consumption of the terminal and improving the user experience.
  • 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, and a microphone.
  • the terminal may also include a motor, an indicator, and so on.
  • the processor 210 may include one or more processing units.
  • the processor 210 may include an application processor (application processor, AP), a modem, and a graphics processing unit (graphics processing unit, GPU), image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processor (neural-network processor) processing unit, NPU) etc.
  • application processor application processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • neural-network processor neural-network processor
  • the modem can be a processing unit independent of the processor 210, or it can be integrated with other processing units (such as AP, ISP, GPU, etc.) in the same device, and can also combine part or all of its functions with mobile communication.
  • the module 231 is integrated in the same device.
  • the internal memory 221 may be used to store data and/or at least one computer program, the at least one computer program including instructions.
  • the internal memory 221 may include a program storage area and a data storage area.
  • the program storage area can store at least one computer program.
  • the computer program may include an application program (such as a gallery, a contact, etc.), an operating system (such as an Android operating system, or an I0S operating system, etc.), or other programs.
  • the data storage area can store at least one of data created during the use of the terminal, data received from other devices (such as other terminals, network devices, servers, etc.), or data pre-stored before leaving the factory.
  • the data stored in the internal memory 221 may be at least one of image, file, or identification information.
  • the internal memory 221 may include a high-speed random access memory and/or a non-volatile memory.
  • the internal memory 221 includes one or more disk storage devices, flash memory devices (Flash), or universal flash storage (universal flash storage, UFS), etc.
  • the processor 210 may call one or more computer programs and/or data stored in the internal memory 221 to enable the terminal to implement one or more functions to meet the needs of users.
  • the processor 210 may call the instructions and data stored in the internal memory 221 to cause the electronic device to execute the method for controlling network search provided in the embodiment of the present application.
  • the external memory interface 222 may be used to connect an external memory card (for example, a Micro SD card), so as to expand the storage capacity of the terminal.
  • the external memory card communicates with the processor 210 through the external memory interface 222 to realize the data storage function. For example, save images, music, videos and other files in an external memory card.
  • a cache area may be set in the processor 210 to store instructions and/or data that the processor 210 needs to recycle. If the processor 210 needs to use the instructions or data again, it can use the cache area. Call directly. This helps to avoid repeated accesses, reduces the waiting time of the processor 210, and thereby helps improve the efficiency of the system.
  • the cache area can be realized by a cache memory.
  • Antenna A and Antenna B are used to transmit and receive electromagnetic signals.
  • Each antenna in the terminal can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna A can be multiplexed as the diversity antenna of the wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 231 may be used to implement communication between the terminal and the network device according to the mobile communication technology supported by the terminal (for example, 2G, 3G, 4G, or 5G, etc.).
  • the mobile communication technology supported by the terminal may include at least one of GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, or NR.
  • the terminal supports GSM. After the terminal accesses the network through the cell provided by the BTS in the GSM communication system, the signal strength of the accessed cell is not lower than the judgment threshold, that is, when the terminal is on the network In the state, the communication between the terminal and the BTS is realized through the mobile communication module 231.
  • the mobile communication module 231 may amplify the signal modulated by the modem and send it to the network device via antenna A; the mobile communication module 231 may also receive the signal sent by the network device via antenna A, amplify it, and then send it to the modem.
  • the modem demodulates the received signal into a low-frequency baseband signal, and then performs other corresponding processing.
  • the mobile communication module 231 may include filtering Wave generators, switches, power amplifiers, low noise amplifiers (LNA), etc.
  • the wireless communication module 232 can provide applications on the terminal, including wireless access networks (wireless local area networks, WLAN) (such as wireless-fidelity (Wi-Fi) networks), Bluetooth (Bluetooth, BT), and global navigation.
  • wireless access networks wireless local area networks, WLAN
  • Wi-Fi wireless-fidelity
  • Bluetooth Bluetooth
  • global navigation Satellite system
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • NFC near field communication technology
  • IR infrared technology
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi- At least one of zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • QZSS quasi-zenith satellite system
  • the wireless communication module 232 may be one or more devices integrating at least one communication processing module. Wherein, the wireless communication module 232 can communicate with the corresponding device through the antenna B according to the wireless communication technology supported by itself (for example, Wi-Fi, Bluetooth, FM or NFC, etc.).
  • the wireless communication technology supported by itself for example, Wi-Fi, Bluetooth, FM or NFC, etc.
  • the terminal can realize audio functions through audio module 240, speaker 240A, receiver 240B, microphone 240C, earphone interface 240D, and AP. For example, music playback, recording, etc.
  • the terminal can realize display functions through GPU, display screen 251, and AP.
  • the display screen 251 can be used to display images, videos, and the like.
  • the display screen 251 may include a display panel.
  • the display panel can adopt liquid crystal display (LCD) organic light-emitting diode (organic light-emitting diode OLED) active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED) flexible light-emitting diode (flex light-emitting diode, FLED) Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (QLED), etc.
  • the terminal may include one or N display screens 251, and N is a positive integer greater than one.
  • the button 254 may include a power-on button, a volume button, and the like.
  • the button 254 may be a mechanical button, or a virtual button or virtual option.
  • the terminal can receive key input and generate key signal input related to user settings and function control of the terminal. For example, the terminal may, in response to selecting a virtual option indicating consent to participate in the "user experience improvement plan", collect statistics or collect some information about the user's use of the terminal, so as to provide users with more personalized services, thereby improving user experience.
  • the sensor module 260 may include one or more sensors.
  • the sensor module 260 includes an acceleration sensor 260A, a touch sensor 260B, a fingerprint sensor 260C, and so on.
  • the sensor module 260 may also include a pressure sensor, a gyroscope sensor, an environmental sensor, a distance sensor, a proximity light sensor, a bone conduction sensor, and the like.
  • the acceleration sensor (acceleration sensor, ACC sensor) 260A can collect the acceleration of the terminal in various directions (usually three axes). The magnitude and direction of gravity can be detected when the terminal is stationary. In addition, the acceleration sensor 260A can also be used to recognize the posture of the terminal, and is applied to applications such as horizontal and vertical screen switching, pedometers, and the like. In some embodiments, the acceleration sensor 260A may be connected to the processor 210 through a micro controller unit (MCU), thereby helping to save power consumption of the terminal. For example, the acceleration sensor 260A can be connected to an AP and a modem through an MCU. In some embodiments, the MCU may be a universal smart sensor hub (Sensor hub).
  • MCU micro controller unit
  • the MCU may be a universal smart sensor hub (Sensor hub).
  • connection relationship between 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. 2b.
  • the modem may further include a first buffer area
  • the Sensor hub includes a second buffer area, thereby helping to improve the processing efficiency of the modem and the Sensor hub.
  • the second buffer area can be used to store information such as the acceleration of the terminal movement collected by the acceleration sensor 260A. Interest.
  • the touch sensor 260B can also be called a "touch panel”.
  • the touch sensor 260B can be arranged on the display screen 251, and the touch screen is composed of the touch sensor 260B and the display screen 251, which is also called a “touch screen”.
  • the touch sensor 260B is used to detect touch operations acting on or near it.
  • the touch sensor 260B can transmit the detected touch operation to the AP to determine the type of touch event.
  • the terminal provides visual output related to the touch operation through the display screen 251 according to the determined touch event type.
  • the touch sensor 260B may also be arranged on the surface of the terminal, which is different from the position of the display screen 251.
  • the fingerprint sensor 260C is used to collect fingerprints.
  • the terminal can use the collected fingerprint characteristics to unlock fingerprints, access application locks, take photos with fingerprints, and answer calls with fingerprints.
  • the processor 210 may further include one or more interfaces.
  • the interface may be the SIM card interface 252.
  • the interface may also be a USB interface 270.
  • the interface may also be an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter-receiver (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit audio
  • PCM pulse code modulation
  • UART universal asynchronous transmitter-receiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • processor 210 in the embodiment of the present application may be connected to different modules of the terminal through an interface, so that the terminal can implement different functions. For example, search the net, take pictures, etc. It should be noted that the embodiment of the present application does not limit the connection mode of the interface in the terminal.
  • the SIM card interface 252 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 252 or pulled out from the SIM card interface 252 to achieve contact and separation with the terminal.
  • the terminal can support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 252 can support Nano SIM cards, Micro SIM cards, SIM cards and so on.
  • the same SIM card interface 252 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 252 can also be compatible with different types of SIM cards.
  • the SIM card interface 252 may also be compatible with external memory cards.
  • the terminal implements functions such as call and data communication through the SIM card.
  • the terminal may also use eSIM, that is, 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 that conforms to the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 270 can be used to connect a charger to charge the terminal, and can also be used to transfer data between the terminal and peripheral devices. It can also be used to connect headphones and play audio through headphones. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic description, and does not constitute a structural limitation of the terminal.
  • the terminal may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 280 is used to receive charging input from the charger.
  • the charger can 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.
  • the power management module 281 receives input from the battery 282 and/or the charge management module 280, and supplies power to modules such as the processor 210.
  • the power management module 281 may also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the structure of the terminal shown in FIG. 2a is only an example.
  • the terminal of the embodiment of the present application may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations.
  • the various components shown in the figure can be implemented in hardware including one or more signal processing and/or application specific integrated circuits. Software, software, or a combination of hardware and software.
  • FIG. 3 a schematic flowchart of a method for controlling a network search in an embodiment of the present application specifically includes the following steps.
  • Step 301 The terminal obtains first route information.
  • the first route information is used to indicate the route the user actually travels. For example, when the user uses public transportation such as trains or subways, the first route information may be the train number.
  • the first route information may also be a predefined route identification and the like.
  • the terminal may obtain the first route information based on the following methods:
  • Example 1 The terminal recognizes that a certain application installed by itself (such as SMS, ticket booking application, etc.) has received the ticket order information, and then the terminal obtains the first route information according to the ticket order information. Help reduce user operations.
  • the first route information is the train number, and the terminal can directly obtain the first route information from the ticket order information.
  • 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.
  • the terminal may obtain the first route information from related information pre-stored in the terminal according to the train number; or, the terminal may determine the first route information according to the train number according to a preset rule; or, the terminal may number the train It is sent to the first server, and the first server obtains the first route information according to the train number, and returns to the terminal etc. after obtaining the first route information.
  • the embodiment of the present application does not limit the manner of obtaining the first route information according to the train number.
  • the terminal can periodically and/or evently recognize whether one or more applications installed by itself have received ticket order information. It is understandable that the terminal specifically recognizes which applications have received the ticket order information, and the terminal can determine from all installed applications according to preset rules. For example, the terminal can identify whether the application for the ticket order information is received in advance for the user.
  • the marked application may also be an application including specific characters.
  • the terminal when the terminal satisfies the first preset condition, the terminal recognizes whether one or more applications installed by itself have received ticket order information.
  • the first preset condition in the embodiment of the present application may include that the current moving speed of the terminal is within the preset speed range, and/or the terminal reaches the preset time, etc.
  • the preset speed range and the preset The time may be preset in the terminal before the terminal leaves the factory, or may be set by the user according to his own needs, and the comparison is not limited.
  • one or more preset speed ranges and one or more preset times can be preset in the terminal.
  • the at least one preset speed range may include one or more of the speed range of high-speed rail, the speed range of ordinary trains, or the speed range of subways.
  • the terminal after detecting that the function of controlling the network search is enabled, periodically and/or eventually recognizes whether one or more applications installed by itself receive the ticket order information. It helps to realize the interaction between the terminal and the user.
  • the terminal may enable the function of controlling the network search in response to the user's first operation. This helps simplify the 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.
  • a condition input box may also be displayed on the display screen 251. Users can enter corresponding information in the condition input box according to their own needs.
  • the system setting interface 400 includes a virtual option 401, and the terminal can display the user interface 410 on the display screen 251 in response to the operation of the user selecting the virtual option.
  • the user interface 410 includes virtual buttons 411.
  • the terminal can respond to The user's operation of the virtual button 411 turns on the function of controlling the network search.
  • 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.
  • the user can input a corresponding time range in the condition input box 412, for example, the time range between the departure time and the arrival time.
  • the terminal recognizes whether one or more applications installed by itself have received ticket order information.
  • the terminal may pop up a route-related information input box on the display screen 251.
  • the route-related information input box may be as shown in the input box 421 shown in FIG. 4b. So that the terminal can obtain the first route related information.
  • Example 2 When the terminal detects that the second preset condition is met, a route-related information input box pops up on the display screen 251, and the user can input the travel route information planned by the user in the route-related information input box (for example, travel route map, ticket order Information, some key geographic location information or first route information in the route appears), and then the terminal obtains the first route information according to the route-related information input by the user. It helps simplify the way the terminal obtains route information. It should be noted that the specific implementation manner for the terminal to obtain the first route information according to the route-related information input by the user may refer to the specific implementation manner for the terminal to obtain the first route information according to the train number in Example 1, which will not be repeated here.
  • the route-related information input box may be the input box 421 as shown in FIG. 4b.
  • the terminal may obtain the first route information according to the information input by the user in the input box 421, such as a travel route map, some key geographic location information in the appearing route, or first route information, etc.
  • the terminal may determine that the user has completed the input in the input box 421 when it detects that the user has stopped inputting information in the input box 421 for a preset time period, and then, the terminal can then determine the user's input in the input box 421 according to the user's input Information to obtain the first route information.
  • the preset duration can be set correspondingly according to the needs of the user, or can be preset in the terminal.
  • the terminal when the terminal detects that the second preset condition is met, in addition to displaying the input box 421 on the display screen 251, the button 422 and the button 423 may also be displayed on the display screen 251. In response to the user's operation of the button 422, the terminal may determine that the user has completed the input in the input box 421. It should be understood that the terminal may obtain the first route information in another manner in response to the user's operation of selecting the button 423, or the terminal may no longer execute the method for controlling the network search in the embodiment of the present application.
  • the second preset condition may be an operation for the user to enable the function of controlling the network search.
  • the second preset condition may also be that the moving speed of the terminal satisfies a specific range, the terminal arrives at a specific time, or the terminal detects that it is offline, etc.
  • the specific range and specific time may be preset before the terminal leaves the factory. It can be obtained by the terminal in other ways. Taking a specific moment as an example, the terminal can obtain relevant information entered by the user in applications such as memos and reminders.
  • the second preset condition may also enable the user to enable the function of controlling the network search, the moving speed of the terminal meets a specific range and/or the terminal reaches a specific moment, etc.
  • example 1 and example 2 are only examples of specific implementation manners for the terminal to obtain the first route information, and do not limit the manner in which the terminal obtains the first route information.
  • the terminal obtains the first route information through the AP.
  • Step 302 According to the first route information, the terminal obtains 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 network distribution information of the at least one route may be pre-stored in the second server, or pre-stored in the terminal.
  • the first server and the second server may be the same server or different servers.
  • the terminal When the network distribution information of at least one route is pre-stored in the second server, the terminal sends a request for querying network distribution information to the second server according to the first route information, and the second server receives the request for querying network distribution information After the request, from the pre-stored network distribution information of at least one route, the network distribution information of the route actually traveled by the user is obtained, and then is issued to the terminal.
  • the network distribution information of each route is used to indicate the offline distribution of the route.
  • the network distribution information of each route may include route information, at least one piece of first network information, and section information corresponding to each first network information.
  • Each first network information in the at least one piece of first network information is network information of a cell that the terminal accesses when offline on the route indicated by the route information.
  • the network distribution information of each route further includes second network information corresponding to each first network information, where the second network information is that the terminal accesses the first network on the route indicated by the route information After the cell corresponding to the information goes offline, restore the network information of the cell that was accessed when camping on the network.
  • the route information in the embodiment of this application is used to indicate a route.
  • the route information can be a train number, a predetermined route identifier, and so on.
  • route information as a predefined route identifier as an example, for example, routes that are opposite to each other can correspond to the same route identifier and the same network distribution information.
  • the network distribution information of the route has nothing to do with the direction of the route. For example, when the route from Beijing to Shanghai and the route from Shanghai to Beijing are mutually opposite directions, the route from Beijing to Shanghai and the route from Shanghai to Beijing can correspond to the same route identifier and the same network distribution information. If the network distribution information of the route is related to the direction of the route, the routes that are opposite to each other correspond to different route identifiers, that is, the network distribution information of the routes that are opposite to each other is different.
  • the first network information may include a first cell identification (cell identification, cell ID) and a public land mobile 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.
  • the first network information may also include information such as network signal strength, and/or network status.
  • the network signal strength may be one or more of RSRP, RSSI, and/or RSRP.
  • Network status is used to indicate that the terminal is offline.
  • the interval information corresponding to each first network information may include one or more of node information, distance information, and duration information.
  • the node information includes first node information and second node information, where the first node information is used to indicate the starting position of disconnection when the terminal accesses the cell corresponding to the first network information, and the second node information is used to indicate After the terminal goes offline at the location indicated by the first node information, it restores the starting location of the network. It should be noted that, after the terminal goes offline at the location indicated by the first node information, the cell accessed by resuming the starting position of the camping network may be the same or different from the cell accessed by the terminal when the first node information is used.
  • the distance information is used to indicate the distance of the offline interval when the terminal accesses the cell corresponding to the first network information on the route.
  • the duration information is used to indicate the duration of offline when the terminal accesses the cell corresponding to the first network information on the route.
  • one piece of first network information corresponds to one piece of section information
  • one piece of first network information corresponds to one piece of second network information
  • one piece of first network information may also correspond to multiple pieces of section information.
  • multiple second network information may also correspond to multiple pieces of section information.
  • 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 situation of the second network information are related to the situation of actual deployment of network equipment, and also related to the algorithm or rule for generating network distribution information.
  • node A is the start node of route S
  • node B is the end node of route S
  • node C, node D, node E, and node F are intermediate nodes of route S.
  • node C the terminal accesses cell 1 and is in the on-line state
  • node C is the starting position of disconnection when the terminal on route S accesses cell 1
  • node D is the terminal on route S after node C is disconnected.
  • the starting position of the home network, the cell accessed by the terminal at node D is cell 2, and cell 2 and cell 1 may be the same cell or different cells.
  • the terminal between node C and node E is on the network, and node E It is the starting position for the terminal on route S to go offline when it accesses cell 3, and the node F is the starting position for the terminal on route S to recover from the network after node E goes offline.
  • the cell that the terminal accesses at node F is cell 4, and cell 4 and cell 3 may be the same cell or different cells.
  • the terminal is in the network-resident state. Among them, the interval between the node C and the node D is an offline interval on the route S, and the interval between the node E and the node F is another offline interval on the route S.
  • 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
  • cell identity 4 and PLMN4 are used to identify cell 4
  • the network of route S The distribution information can be as shown in Table 1.
  • the terminal may pre-store the network distribution information of at least one route in the terminal based on the following manner:
  • the network distribution information of at least one route may be set by the terminal before leaving the factory.
  • the network distribution information of at least one route may be obtained by relevant personnel through tests. This helps simplify the implementation. However, although the above method is relatively simple to implement, it is less flexible.
  • the terminal collects relevant information.
  • the related information may include the information of the user who uses the terminal.
  • the related information may also include the information of other users in addition to the information of the user who uses the terminal. It helps to improve the accuracy of the route network distribution information.
  • the terminal may collect the route information of the user when the user travels and the network information of the cell accessed (for example, cell identity, PLMN, network signal strength, etc.), and Information about the location of the terminal when it is offline, the location information of the terminal when it is offline, the distance of the offline interval, the moving speed, and the duration of the offline.
  • the terminal can obtain it from the relevant server.
  • the embodiment of the present application does not limit the manner of collecting related information.
  • the terminal may be triggered by an event to collect related information. For example, when the terminal does not inquire about the network distribution information of the user's actual travel route from the pre-stored network distribution information of at least one route, the terminal collects relevant information on the user's actual travel route. For another example, the terminal may collect relevant information when a certain time is reached. The specific time is for example the departure time, a certain time set by the user. For another example, the terminal may collect relevant information when detecting that it is in a specific scene, such as a high-speed rail scene, a travel scene, etc. The terminal may determine that it is in the specific scene in response to the user's operation of starting the specific scene.
  • a specific scene such as a high-speed rail scene, a travel scene, etc.
  • the terminal detects that the speed of the movement meets a preset condition, and determines that it is in a specific scene. For example, if the moving speed is within the first preset range, it is determined that it is in a high-speed rail scene. For another example, if the moving speed is within the second preset range, it is determined that it is in a subway scene. For another example, when the terminal stores at least one route in advance, When the storage time of network distribution information exceeds the set time, collect the relevant information of the route corresponding to the network distribution information whose storage time exceeds the set time, and update the network distribution information of the pre-stored route, which helps to maintain the pre-stored route The accuracy of the network distribution information.
  • the embodiment of the present application does not limit the manner of triggering the collection of related information.
  • the terminal extracts the normal distribution based on the collected related information (such as the terminal's offline interval information, network information), obtains the network distribution information of the route, and saves the network distribution information of the route.
  • the terminal obtains the network distribution information of the route according to multiple times of relevant information collected on the route.
  • the terminal obtains the network distribution information of the route according to the relevant information collected twice, and then, when the user continues to travel on the route , The terminal continues to collect relevant information on the route, and updates the network distribution information of the route obtained last time according to the relevant information collected again.
  • the network distribution information obtained for the route tends to be stable and accurate.
  • the terminal saves the network distribution information of the route.
  • the terminal screens out the disconnection zones whose disconnection duration is greater than a preset threshold from the collected relevant information, and obtains the network distribution information of the route according to the network information corresponding to these disconnection zones. This helps to reduce the amount of calculation for terminal control search.
  • the preset threshold can be preset in the terminal according to actual needs, or can be used for setting, such as 60 seconds, 2 minutes, and so on.
  • the terminal after the terminal obtains the network distribution information of the route, it can store the network distribution information of the route in a memory, such as internal memory 221, external memory connected to external memory interface 222, or modem Cache area, etc.
  • a memory such as internal memory 221, external memory connected to external memory interface 222, or modem Cache area, etc.
  • Manner 3 As shown in FIG. 6, another method for storing network distribution information of a route according to an embodiment of this application specifically includes the following steps.
  • Step 601 The terminal collects relevant information.
  • the relevant information is the relevant information of the user who uses the terminal, which is used to indicate the status of the terminal accessing the network on the route.
  • the relevant information includes the route information when the user travels, the network information of the access cell, the location information of the terminal when it is offline, the location information of the terminal when it is offline, the distance of the disconnection interval, and the network when the terminal is offline.
  • Information such as cell identification, PLMN, etc.), moving speed, or offline duration.
  • the manner in which the terminal triggers the collection of related information can be referred to the manner in which the terminal triggers the collection of related information in the second manner, which is not repeated here.
  • Step 602 The terminal sends related information to the second server.
  • the terminal determines that the user agrees to report the collected related information to the second server, and then executes the method for storing network distribution information of the route in the embodiment of the present application. This helps to satisfy users' right to know and effectively protect users' privacy.
  • the terminal may determine that the user agrees to report the collected related information to the second server. For example, the terminal may agree to participate in the "User Experience Improvement Plan" by operating the system setting interface.
  • the system setting interface includes virtual buttons or virtual options of at least one function. Take the system setting interface as the user interface 700 shown in FIG. 7 as an example.
  • the user interface 700 includes virtual options 701.
  • the terminal may display a user interface 710 on the display screen 251 in response to an operation on the virtual option 701. Among them, the user interface 710 includes a virtual option 711 and a virtual option 712. In response to the user selecting the virtual option 711, the terminal may agree to participate in the "user experience improvement plan".
  • the terminal may preview the detailed content of the user experience improvement plan. For example, if the user agrees to participate in the "User Experience Improvement Plan", the terminal will consider that the user agrees to upload relevant information to the second server. Interest.
  • a first prompt box may pop up on the display screen 251, where the first prompt box includes the first prompt information, the agree button, and the reject button; the first prompt The information is used to prompt the user whether to agree to upload relevant information to the second server.
  • the first prompt box may be a prompt box 800 as shown in FIG. 8.
  • the prompt box 800 includes the first prompt message, an agree button 801 and a reject button 802.
  • the terminal may also not detect that the user selects the consent button or the reject button after the set time period, to determine that the user refuses the terminal to upload relevant information to the second server, or confirm that the user agrees to the terminal to upload relevant information to the second server.
  • the setting time can be 5s, 6s, etc.
  • Step 603 After receiving the related information sent by the terminal, the second server may obtain network distribution information of at least one route according to the related information sent by the terminal.
  • the second server since the second server obtains the network distribution information of at least one route according to the related information sent by the terminal, the second server can obtain the network distribution information of at least one route according to the related information from multiple terminals.
  • the information helps to improve the reliability of the obtained network distribution information of at least one route, and reduces the data processing volume of the terminal.
  • the second server screens out the disconnection intervals on the route whose disconnection duration is greater than a preset threshold according to related information of the same route sent by multiple terminals, and then the second server selects the network corresponding to these disconnection intervals according to the Information, etc., to obtain the network distribution information of the route.
  • the disconnection interval whose disconnection duration is less than the preset threshold it will not be recorded in the network distribution information of the route. This helps to reduce the amount of calculation for the terminal to control the search network.
  • the preset threshold may be preset in the terminal according to actual needs, or may be used to set, for example, 60 seconds, 2 minutes, etc.
  • the second server may determine the network state where the terminal is located according to the network signal strength in the related information reported by the terminal.
  • the second server may also obtain the network state where the terminal is located from related information reported by the terminal.
  • the network state where the terminal is located refers to whether the terminal is in an offline state or a network-based state.
  • Step 604 The second server sends network distribution information of at least one route to the terminal.
  • the second server may actively send the network distribution information of the at least one route to the terminal meeting the requirements.
  • the terminal that meets the requirements may be a terminal of a specific model.
  • the terminal that meets the requirements may also be a terminal that has a function of controlling network search enabled.
  • a terminal that meets the requirements can also be regarded as a terminal that has participated in the "User Experience Improvement Program.” The embodiment of the present application does not limit the specific implementation mode of the terminal that meets the requirements.
  • the second server may also, in response to receiving a request from the terminal to obtain network distribution information of the route, send to the terminal the network distribution information of the requested route or at least the network distribution information including the requested route.
  • Network distribution information for the two routes For example, after obtaining the first route information, the terminal may send a network distribution information request for obtaining the actual route of the user to the second server.
  • the second server sends the network distribution information of the actual travel route of the user found according to the first route information to the terminal.
  • the second server may send a request failure notification to the terminal when it does not find the network distribution information of the route requested by the terminal. Or, when the second server does not find the network distribution information of the route requested by the terminal, it 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 saves the network distribution information of the at least one route.
  • the second server may also perform step 603 to obtain the network score of at least one route.
  • a download or update prompt of the network distribution information of the route is sent to the terminal.
  • 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.
  • the second prompt box may be a prompt box 900 as shown in FIG. 9.
  • the prompt box 900 includes second prompt information, a first virtual button 901, and a second virtual button 902.
  • the first virtual button 901 may be named "Immediately “Update”, “Agree to Update”, “Download Now”, “Agree”, etc.
  • the second virtual button 902 can be named “I'll talk next time”, “Reject this update,””Reject", etc.
  • the embodiments of this application compare the first The naming of the virtual button and the second virtual button 902 is not limited.
  • the terminal may receive the network distribution information of at least one route sent by the second server through the wireless communication module 232 or the mobile communication module 231, and then the wireless communication module 232 or the mobile communication module 231 will The network distribution information of at least one route is sent to the modem.
  • the modem demodulates the network distribution information of 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 it to the AP, and the AP transfers the at least one route
  • the network distribution information of is stored in the storage according to a preset format (for example, the internal storage 221, or an external storage connected to the external storage interface 222, etc.).
  • first server and the second server involved in the foregoing embodiments of the present application may be the same server, or may be different servers.
  • the second server may also send the network distribution information of the at least one route obtained again to the terminal, so that the terminal can according to the at least one route obtained again Update the network distribution information of the stored route. This helps to improve the accuracy of the network distribution information of the route stored in the terminal.
  • step 303 when the terminal detects that it is offline, it determines whether the network distribution information of the route that the user actually travels includes the network information of the cell currently accessed in the at least one piece of first network information, if yes, execute step 304, otherwise continue to detect Whether the terminal is offline, return to step 303 when it is offline.
  • the terminal detects that the currently accessed cell is the last cell accessed on the user's actual travel route, or the terminal detects the arrival time (the arrival time may be preset by the user, or It may be obtained by the terminal from the information of one or more application programs), etc. If the terminal is not offline, the process ends, and if the terminal is offline, the process ends after performing step 305.
  • the terminal determines that the network distribution information of the route that the user actually travels includes at least one of the first network information including the network information of the cell currently accessed, it controls not to search the network. And step 304 is executed. In addition, the terminal may also control not to search the network when detecting that it is offline, and first determine whether the network information of the currently accessed cell is included in the network distribution information of the actual route of the user. Step 304 is executed. In some embodiments, when the network distribution information of the actual travel route of the user includes at least one piece of first network information that does not include the network information of the cell currently accessed, the network search can be started.
  • the terminal can detect whether the terminal is offline by detecting whether the network signal strength of the cell is less than the judgment threshold. For example, the terminal can detect whether the terminal is offline every preset time on the actual travel route of the user, and can also detect whether the terminal is offline in real time. It can also detect whether the terminal is offline when it detects that the terminal requests communication or data from the network device. network. It should be noted that, in the embodiment of the present application, the judgment threshold and the preset duration may be set according to actual needs. Taking the first network information as the cell identifier and the PLMN corresponding to the cell identifier as an example, for example, the network distribution information of the user's actual travel route pre-stored by the terminal includes the first network information including cell ID 1 and cell ID 1. PLMN 1, cell ID2, PLMN2 corresponding to cell ID2, the network information of the cell currently accessed by the terminal includes cell ID1 and PLMN1, and the first network information stored by the terminal includes the network information of the currently accessed cell.
  • the terminal may also be disconnected on the actual travel route of the user. Take the route S shown in FIG. 5 as an example. For example, the terminal starts to access cell 1 from node A to node C and disconnects from the network until node C is disconnected from node C to node D. If the terminal is disconnected from node C to node D, the terminal does not access the cell from node C until it reaches node D Access to cell 2. In other words, the terminal is disconnected from node C to node D.
  • the method of controlling network search in the embodiment of the present application can also be applied to this kind of scenario, but when the terminal detects that the network is disconnected, it is judged whether at least one piece of network information in the network distribution information of the user's actual travel route includes the cell currently accessed
  • the network information of the cell currently accessed refers to the cell that the terminal accessed most recently before the node C disconnected from the network.
  • Step 304 The terminal determines the target duration according to the pre-stored network distribution information of the user's actual travel route, where the target duration is used to indicate the time period during which the control corresponding to the network information of the currently accessed cell does not actually perform network search.
  • the target duration can be understood as a period of time after the terminal detects that the cell currently accessed is offline, and the terminal stops searching the network during this period of time.
  • the pre-stored network distribution information of the user's actual travel route includes route information, at least one piece of first network information, and section information corresponding to each first network information.
  • the terminal can determine the offline duration of the cell currently accessed based on the following methods:
  • the terminal determines the interval information corresponding to the network information of the currently accessed cell from the pre-stored network distribution information of the actual travel route of the user, and then the terminal determines the target duration according to the determined interval information of the currently accessed cell .
  • the terminal may use the first node information and The second node information determines the distance of the offline interval and acquires the real-time speed of the terminal movement; and then determines the target duration according to the determined distance of the offline interval and the acquired real-time movement speed of the terminal.
  • the target duration is the ratio of the distance of the offline interval to the real-time moving speed of the terminal.
  • the terminal can acquire the acceleration sensor 260A through the universal smart sensor hub (Sensor hub) to collect the acceleration of the terminal movement, and then the universal smart sensor hub determines the acceleration according to the acquired acceleration according to the preset algorithm
  • the initial velocity V0 can be preset to 0.
  • the initial velocity V0 is the real-time velocity finally determined based on the acceleration collected last time.
  • the general smart sensor sends the determined real-time moving speed of the terminal to the modem, and the modem determines the target duration according to the distance of the offline interval and the acquired real-time moving speed of the terminal.
  • the target duration is the ratio of the distance of the offline interval to the real-time moving speed of the terminal.
  • the network distribution information of the currently accessed cell included in the pre-stored network distribution information of the user's actual travel route includes interval information corresponding to distance information of the offline interval, and interval information includes first node information and second node information
  • the method for determining the offline duration of the currently accessed cell is similar, except that when the interval information includes the distance information of the offline interval, the terminal does not need to calculate the distance of the offline interval.
  • the pre-stored network distribution information of the user's actual travel route includes the interval information corresponding to the network information of the currently accessed cell including the offline duration, and the terminal determines that the target duration is the pre-stored user's actual travel duration.
  • the offline duration corresponding to the network information of the currently accessed cell in the network distribution information of the route helps simplify the implementation.
  • the pre-stored network distribution information of the user's actual travel route includes the network information corresponding to the currently accessed cell, in addition to node information and/or distance information of the offline interval, and also includes the offline duration,
  • the node information includes first node information and second node information
  • the terminal can determine the offline duration of the cell currently accessed based on the following methods:
  • the terminal determines the offline duration T1 according to the node information or the distance information of the offline interval.
  • the method for determining the offline duration T1 refer to the above-mentioned embodiment according to the first node information and the second node information, or the corresponding
  • the related introduction of determining the target duration by the distance information of the 4-bed offline interval will not be repeated here.
  • the terminal determines that the target duration is the smaller of the offline duration T1 and the pre-stored offline information of the user's actual travel route including the offline duration T2 corresponding to the currently connected network information, thereby helping to improve the determination. Reliability of offline duration.
  • Step 305 After the terminal has passed the determined target duration, it starts to search the network.
  • the terminal after the terminal has passed the target duration determined in step 304, it determines the actual distance traveled by the terminal within the target duration, and then determines whether the actual travel distance of the terminal within the target duration is not less than the pre-stored network of the user's actual travel route
  • the distribution information includes the distance of the offline interval of the cell currently accessed. If it is, the terminal searches the network; otherwise, the terminal can continue to stop the network search. This helps reduce the number of terminal searches.
  • the terminal when the network distribution information of the user's actual travel route pre-stored in the terminal further includes the second network information corresponding to each first network information, after the terminal performs step 305, it obtains the specific network information, First, determine whether the pre-stored network distribution information of the user’s actual travel route includes the second network information corresponding to the network information of the cell currently accessed, including specific network information. If the specific network information is included, the terminal will connect according to the specific network information. Connect to the corresponding network and parallel to the network. This helps to increase the possibility of the terminal accessing the network successfully. In still other embodiments, when the pre-stored network distribution information of the user's actual travel route includes the second network information corresponding to the network information of the cell currently accessed, the terminal may continue to search the network.
  • the application processor AP stores the network distribution information of at least one route stored in the internal memory 221 in the first buffer area, and the modem obtains The first route information, for example, in the example of this application, the modem may obtain the first route information through the AP. Then, according to the first route information, the modem queries the network distribution information of the user's actual travel route from the network distribution information of at least one route stored in the first buffer area, and obtains the real-time mobile speed of the terminal from the Sensor hub, and calculates the disconnection Duration T1.
  • the modem compares the offline time T1 with the offline time T2 corresponding to the network information of the cell currently accessed in the network distribution information of the actual travel route of the user, and uses the smaller value of T1 and T2 as the terminal to stop searching.
  • the duration of the network is the target duration.
  • the modem control terminal stops searching the network in T1, and after passing T1, the modem control terminal starts to search the network.
  • the modem executes the network distribution information of the route query, the calculation of the offline duration, and the network search, etc., so that the AP can be in a dormant state when the terminal is restored to the network, which helps to save the power consumption of the terminal.
  • since the method of controlling the network search does not need to perform real-time positioning, it helps to further save power consumption, prolong the standby time of the terminal during travel, and improve user experience.
  • the terminal can pre-store the network distribution information of at least one route, so that when the terminal detects that it is offline, the control terminal does not perform network search first, but first based on the network distribution information, such as the currently connected In the community, the target duration is determined, and the network is searched after the target duration has passed, which avoids frequent network searches after the terminal is offline, This helps to improve the efficiency of the terminal's network search while saving the power consumption of the terminal.
  • the terminal may also prompt the user of the estimated offline time, which helps the user to arrange time reasonably.
  • the terminal may display a third prompt box on the display screen 251 after determining the offline duration of the cell currently accessed, where the third prompt box includes third prompt information, and the third prompt information is used to prompt the user to pass the first prompt.
  • the terminal reconnects to the network.
  • the first duration is the offline duration of the terminal in the cell currently accessed.
  • the terminal may also play voice prompt information to the user through the speaker 240A, and the voice prompt information is used to prompt the user to reconnect to the network after the first time period has elapsed.
  • the terminal may also display notification information on the negative screen, and the notification information is used to prompt the estimated offline time.
  • the terminal displays a negative screen 1000 on the display screen 251, and the negative screen includes a prompt Box 1001, the prompt box 1001 includes prompt information for prompting the duration of disconnection, for example, the prompt message is that the disconnection starts at 2:50, and the network station is expected to resume at 3:05.
  • the terminal may also generate an offline distribution map of the user's actual travel route based on the determined network distribution information of the user's actual travel route, and display the actual travel of the user on the display screen 251
  • the offline distribution map of the route may include information such as the starting position, ending position, and offline duration of the offline interval in the user's actual travel route. This helps users plan the time to use the terminal in advance, such as arranging a conference call on the train, and enhance the user experience.
  • the terminal may use the existing route information. For example, if the terminal does not find the offline information of the user's actual travel route, the network may be searched, or the network may be searched based on the location information of the terminal, which is not limited.
  • the method provided in the embodiments of the present application is introduced from the perspective of the terminal as the execution subject.
  • the terminal may include a hardware structure and/or a software module, and the above functions are implemented in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a certain function among the above-mentioned functions is executed by a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraint conditions of the technical solution.
  • an embodiment of the present application discloses a terminal 1100.
  • the terminal 1100 may include: one or more processors 1101 and a memory 1102.
  • the above-mentioned devices may be connected through one or more communication buses.
  • the aforementioned various devices involved in the embodiments of the present application may also be connected in other ways.
  • the memory 1102 stores program instructions; the processor 1101 calls the program instructions stored in the memory 1102, so that the terminal 1100 executes the method for controlling the network search in the embodiment of the present application.
  • the processor 1101 calls the program instructions stored in the memory 1102, so that the terminal 1100 executes the method for controlling network search shown in FIG.
  • 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, a discrete gate or transistor logic device, or a discrete hardware component. Or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
  • the software module may be located in the memory 1102, and the processor 1101 reads the program instructions in the memory 1102, and completes the steps of the above method in combination with its hardware.
  • the one or more processors 1101 include a modem and an application processor.
  • the application processor is used to store the network distribution information of at least one route to the modem, and to store the acquired first route information The information is sent to the modem so that the modem can execute the method for controlling the network search in the embodiment of this application.
  • the memory 1102 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (solid-state drive, SSD), etc., and may also be a volatile memory (volatile memory). For example, random-access memory (RAM).
  • the memory may also be any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer, but is not limited to this.
  • the memory in the embodiments of the present application may also be a circuit or any other device capable of realizing a storage function for storing program instructions and/or data.
  • the terminal 1100 of the embodiment of the present application further includes an acceleration sensor and a general smart sensor hub.
  • a general smart sensor may obtain the acceleration of the terminal 1100 from an acceleration sensor, so that the general smart sensor hub determines the real-time moving speed of the terminal.
  • the modulation sensor can obtain the terminal's real-time moving speed from the universal smart sensor hub, so as to determine the offline duration.
  • the terminal 1100 may further include a transceiver 1103, which may be used to send collected related information to the server and receive network distribution information of at least one route issued by the server.
  • the transceiver 1303 may be a circuit, a bus, a communication interface, or any other device that can be used for signal interaction.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including If a thousand instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or CD-ROM and other media that can store program codes.

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 for controlling network searching, and a terminal, relating to the technical field of communications. The present method comprises a terminal acquiring first path information, the first path information being used to indicate a path actually traveled by a user; and then on the basis of the first path information, acquiring network distribution information for the path actually traveled by the user from among pre-stored network distribution information for least one path, the network distribution information for the path actually traveled by the user comprising path 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 from a network, if the at least one piece of first network information is determined to comprise network information for a currently accessed cell, then controlling the terminal to not perform network searching, and determining a target duration on the basis of the interval information corresponding to the network information for the currently accessed cell; and after the target duration has passed, beginning to perform network searching. The present technical solution helps terminals to be able to recover network connection on a fixed path in a timely manner after being disconnected, while also reducing terminal power consumption.

Description

一种控制搜网的方法及终端 本申请要求在 2019年 2月 28 日提交中国国家知识产权局、申请号为 201910152489.7、 发明名称为 “一种控制搜网的方法及终端” 的中国专利申请的优先权, 其全部内容通过引 用结合在本申请中。 A method and terminal for controlling the search network. This application requires that a Chinese patent application filed with the State Intellectual Property Office of China with the application number 201910152489.7 and the title of "a method and terminal for controlling the search network" be submitted on February 28, 2019 Priority, its entire content is incorporated in this application by reference.
技术领域 Technical field
本申请涉及通信技术领域, 特别涉及一种控制搜网的方法及终端。 背景技术 This application relates to the field of communication technology, and in particular to a method and terminal for controlling network search. Background technique
目前, 终端当脱网后, 会执行搜网过程, 以使得终端能够及时恢复驻网, 不影响用户 的正常使用。 但是, 当终端移动到网络信号强度较差或者不稳定的地区, 可能会导致终端 频繁脱网,从而使得终端频繁执行搜网过程, 大大增加了终端的功耗,严重影响用户体验 例如, 当用户乘坐火车、 地铁等交通工具时, 经常会经过网络信号强度较差或不稳定 的地区, 终端若采用现有的控制搜网方法, 即终端在脱网后就进行搜网, 虽然使得终端能 够及时恢复驻网, 但是容易导致终端功耗的增加, 缩短终端的待机时间, 用户体验较差。 发明内容 At present, when the terminal is offline, it will perform a network search process, so that the terminal can restore the network in time without affecting the normal use of the user. However, when the terminal moves to an area with poor or unstable network signal strength, it may cause the terminal to frequently disconnect from the network, so that the terminal frequently performs network search procedures, which greatly increases the power consumption of the terminal and seriously affects the user experience. For example, when the user When taking trains, subways and other means of transportation, you often pass through areas with poor or unstable network signal strength. If the terminal adopts the existing control search method, that is, the terminal will search the network after it is offline, although the terminal can be timely The restoration of the network station may easily lead to an increase in the power consumption of the terminal, shorten the standby time of the terminal, and cause a poor user experience. Summary of the invention
本申请实施例提供一种控制搜网的方法及终端, 有助于终端在固定路线上脱网后能够 及时恢复驻网的同时, 节省终端的功耗, 提高用户体验。 The embodiments of the present application provide a method and a terminal for controlling a network search, which helps the terminal to resume network presence in a timely manner after being offline on a fixed route, while saving power consumption of the terminal and improving user experience.
第一方面, 本申请实施例的一种控制搜网的方法, 所述方法包括: In the first aspect, a method for controlling network search according to an embodiment of the present application, the method includes:
终端获取第一路线信息, 所述第一路线信息用于指示用户实际出行的路线; 然后, 终 端根据所述第一路线信息, 从预先存储的至少一个路线的网络分布信息中, 获取用户实际 出行的路线的网络分布信息; 其中, 用户实际出行的路线的网络分布信息包括路线信息、 至少一个第一网络信息、 与每个第一网络信息对应的区间信息; 每个第一网络信息用于指 示终端在所述用户实际出行的路线脱网时接入的小区; 终端判断是否脱网, 若是, 则判断 所述至少一个第一网络信息中是否包括当前接入的小区的网络信息, 若所述至少一个第一 网络信息中包括当前接入的小区的网络信息, 则控制不进行搜网、 以及才艮据与所述当前接 入的小区的网络信息对应的区间信息, 确定目标时长; 目标时长用于指示与所述当前接入 的小区的网络信息对应的控制不进行搜网的时长; 终端在经过所述目标时长后, 停止控制 不进行搜网, 开始进行搜网。 The terminal obtains first route information, where the first route information is used to indicate the route the user actually travels; then, according to the first route information, the terminal obtains the user's actual travel from the network distribution information of at least one route stored in advance. Network distribution information of the route of the user; wherein the network distribution information of the route the user actually travels includes route information, at least one piece of first network information, and section information corresponding to each first network information; each first network information is used to indicate The cell that the terminal accesses when the user's actual travel route is offline; the terminal determines whether it is offline, and if so, determines whether the at least one first network information includes the network information of the cell currently accessed, if the If at least one piece of first network information includes the network information of the currently accessed cell, it is controlled not to search the network, and the target duration is determined according to the interval information corresponding to the network information of the currently accessed cell; It is used to indicate the time period during which the control does not perform network search corresponding to the network information of the currently accessed cell; after the target time period has elapsed, the terminal stops controlling and does not perform network search and starts to perform network search.
本申请实施例中终端由于能够预先存储至少一个路线的网络分布信息, 从而使得终端 能够当检测到脱网后, 可以根据用户实际出现的路线和该路线的网络分布信息确定目标时 长, 并在经过目标时长后, 再进行搜网, 与现有技术终端在脱网后就进行搜网相比, 有助 于降低终端搜网的次数, 以及能够使得终端在脱网后及时驻网的同时, 节省终端的功耗, 从而提高用户体验。 In the embodiment of the present application, the terminal can pre-store the network distribution information of at least one route, so that when the terminal detects that it is offline, it can determine the target duration according to the route actually appeared by the user and the network distribution information of the route. After the target time period, the network search is performed. Compared with the prior art terminal searching the network after being disconnected, it helps to reduce the number of terminal searches for the network, and enables the terminal to stay on the network in time after being disconnected, and save The power consumption of the terminal, thereby improving the user experience.
在一种可能的设计中, 所述终端可以基于下列方式获取第一路线信息: In a possible design, the terminal may obtain the first route information in the following manner:
终端识别自身安装的第一应用程序接收到车票订单信息; 并根据所述车票订单信息, 获取所述第一路线信息。 有助于减少用户操作。 The terminal recognizes that the first application installed by itself has received the ticket order information; and according to the ticket order information, Acquire the first route information. Help reduce user operations.
在一种可能的设计中, 所述终端接收用户的第一操作, 所述第一操作为用户开启控制 搜网功能的操作; 并响应于所述第一操作, 开启控制搜网功能后, 再获取第一路线信息。 有助于提高用户与终端之间的交互。 In a possible design, the terminal receives a user's first operation, and the first operation is an operation for the user to enable the control search function; and in response to the first operation, after the control search function is turned on, Get the first route information. It helps to improve the interaction between the user and the terminal.
在一种可能的设计中, 所述终端还可以基于下列方式获取第一路线信息: In a possible design, the terminal may also obtain the first route information in the following manner:
所述终端接收用户的第二操作, 所述第二操作为用户开启控制搜网功能的操作; 并响 应于所述第二操作, 开启控制搜网功能, 以及在显示屏显示路线相关信息输入框; 然后, 所述终端根据用户在所述路线相关信息输入框中输入的信息, 获取第一路线信息。 从而有 助于筒化终端获取第一路线信息的实现方式。 The terminal receives a second operation of the user, where the second operation is an operation for the user to turn on the control search function; and in response to the second operation, turns on the control search function, and displays the route-related information input box on the display screen ; Then, the terminal obtains the first route information according to the information input by the user in the route-related information input box. This helps the simplified terminal to obtain the first route information.
在一种可能的设计中, 所述第一网络信息包括小区标识、 与所述小区标识对应的公共 移动陆地网络 PLMN。 从而有助于提高终端识别用户实际出行的路线脱网时接入的小区的 准确性。 In a possible design, the first network information includes a cell identity and a public mobile land network PLMN corresponding to the cell identity. This helps to improve the accuracy of the terminal in identifying the cell accessed when the user's actual travel route is offline.
在一种可能的设计中, 与每个第一网络信息对应的区间信息包括节点信息、 脱网区间 的距离信息、或脱网时长中的至少一个;所述节点信息包括第一节点信息和第二节点信息, 所述第一节点信息用于指示终端在用户实际出行的路线接入第一网络信息对应的小区时 脱网的起始位置; 所述第二节点信息用于指示终端在所述第一节点信息指示的位置脱网 后, 恢复驻网时的起始位置。 有助于筒化后续终端确定目标时长的方式。 In a possible design, the interval information corresponding to each first network information includes at least one of node information, distance information of the offline interval, or offline duration; the node information includes the first node information and the first node information. Two-node information, where the first node information is used to indicate the starting position of the terminal to go offline when the user’s actual travel route accesses the cell corresponding to the first network information; the second node information is used to indicate that the terminal is in the After the location indicated by the information of the first node is offline, the initial location at the time of stationing is restored. It helps to simplify the way for subsequent terminals to determine the target duration.
在一种可能的设计中,与每个第一网络信息对应的区间信息包括所述节点信息和 /或所 述脱网区间的距离信息、 以及脱网时长时, 所述终端可以基于下列方式确定目标时长: 所述终端根据所述节点信息或所述脱网区间的距离信息, 确定终端与当前接入的小区 的网络信息对应的脱网区间的距离; 以及获取实时移动速度; 然后, 所述终端根据脱网区 间的距离和所述实时移动速度, 确定第一脱网时长; 最后, 所述终端将所述第一脱网时长 和所述用户实际出行的路线的网络分布信息中包括的与所述当前接入的小区的网络信息 对应的脱网时长中的较小值, 作为目标时长。 从而有助于提高确定在当前接入的小区的脱 网时长的准确性。 In a possible design, when the interval information corresponding to each first network information includes the node information and/or distance information of the offline interval, and the offline duration, the terminal may determine based on the following manner Target duration: The terminal determines the distance between the terminal and the offline interval corresponding to the network information of the cell currently accessed according to the node information or the distance information of the offline interval; and obtains the real-time moving speed; then, the The terminal determines the first offline duration according to the distance of the offline interval and the real-time moving speed; finally, the terminal compares the first offline duration and the network distribution information included in the actual travel route of the user with The smaller value of the offline duration corresponding to the network information of the currently accessed cell is used as the target duration. This helps to improve the accuracy of determining the offline duration of the currently accessed cell.
在一种可能的设计中, 所述用户实际出行的路线的网络分布信息还包括: 与每个第一 网络信息对应的第二网络信息, 所述第二网络信息用于指示所述终端在所述用户实际出行 的路线接入第一网络信息对应的小区后, 恢复驻网时所述接入的小区; In a possible design, the network distribution information of the actual travel route of the user further includes: second network information corresponding to each first network information, and the second network information is used to indicate that the terminal is in the After the user's actual travel route is connected to the cell corresponding to the first network information, the cell that was accessed when the user was on the network is restored;
所述终端开始进行搜网之后, 所述终端还获取到特定网络信息; 并在确定与所述当前 接入的小区的网络信息对应的第二网络信息包括所述特定信息, 根据所述特定信息接入到 相应的网络、 并驻网。 有助于提高终端驻网的效率。 After the terminal starts to search the network, the terminal also obtains specific network information; and when it is determined that the second network information corresponding to the network information of the currently accessed cell includes the specific information, according to the specific information Connect to the corresponding network and parallel to the network. It helps to improve the efficiency of terminal station network.
在一种可能的设计中, 所述终端还可以根据采集的相关数据, 预先存储至少一个路线 的网络分布信息, 所述相关数据用于指示终端在路线上的接入网络的情况。 有助于提高预 先存储的至少一个路线的网络分布信息的可靠性, 从而提高确定的脱网时长的准确性。 In a possible design, the terminal may also pre-store network distribution information of at least one route according to collected related data, and the related data is used to indicate the network access status of the terminal on the route. It helps to improve the reliability of the pre-stored network distribution information of at least one route, thereby improving the accuracy of the determined offline duration.
在一种可能的设计中, 所述终端可以基于下列方式根据采集的相关数据, 预先存储至 少一个路线的网络分布信息包括: In a possible design, the terminal may pre-store the network distribution information of at least one route based on the collected related data in the following manner, including:
所述终端向服务器发送采集的相关数据; 所述相关数据用于指示终端在路线上的接入 网络的情况; The terminal sends the collected related data to the server; the related data is used to indicate the terminal's access to the network on the route;
所述终端接收到所述服务器发送的根据所述采集的相关数据, 得到的至少一个路线的 网络分布信息后, 并存储。 从而有助于筒化终端的处理步骤。 在一种可能的设计中, 所述终端接收用户的第三操作, 所述第三操作为用户同意终端 向所述服务器上报采集的相关数据的操作; 并响应于所述第三操作, 终端确定用户同意所 述终端向所述服务器上报采集的相关数据。 有助于提高用户的知情权, 保护用户的隐私。 After the terminal receives the network distribution information of at least one route obtained according to the collected related data sent by the server, and stores it. This helps simplify the processing steps of the terminal. In a possible design, the terminal receives a third operation of the user, and the third operation is an operation for the user to agree to the terminal to report collected related data to the server; and in response to the third operation, the terminal determines The user agrees that the terminal reports the collected related data to the server. It helps to improve users' right to know and protect users' privacy.
第二方面, 为本申请实施例一种预先存储路线的网络分布信息的方法, 包括: 服务器接收至少一个终端上报的相关数据, 所述相关数据用于指示终端在路线上的接 入网络的情况; In a second aspect, a method for pre-storing network distribution information of a route according to an embodiment of this application includes: a server receiving related data reported by at least one terminal, the related data being used to indicate the network access status of the terminal on the 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 the network distribution information of the at least one route to the terminal.
本申请实施例中通过服务器确定至少一个路线的网络分布信息, 并下发给终端, 有助 于减少终端的处理步骤。 In the embodiment of the present application, the server determines the network distribution information of at least one route and sends it to the terminal, which helps reduce the processing steps of the terminal.
在一种可能的设计中, 至少一个终端中每个终端为用户同意上艮相关数据的终端。 有 助于提高用户的知情权, 保护用户的隐私。 In a possible design, each of the at least one terminal is a terminal to which the user agrees to upload related data. It helps to improve users' right to know and protect users' privacy.
在一种可能的设计中, 服务器可以在接收到终端发送的路线的网络分布信息的请求 后, 向终端发送至少一个路线的网络分布信息。 有助于提高终端存储空间的利用率。 In a possible design, the server may send the network distribution information of at least one route to the terminal after receiving the request for the network distribution information of the route sent by the terminal. Helps improve the utilization of terminal storage space.
在一种可能的设计中, 服务器还可以在得到至少一个路线的网络分布信息后, 向终端 发送更新路线的网络分布信息的指示。 服务器接收到终端同意更新路线的网络分布信息的 指示后, 向终端发送至少一个路线的网络分布信息。 有助于提高终端与用户之间的交互。 In a possible design, the server may also send an instruction to update the network distribution information of the route to the terminal after obtaining the network distribution information of the at least one route. 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. It helps to improve the interaction between the terminal and the user.
第三方面, 为本申请实施例的一种终端, 所述终端包括至少一个处理器和存储器; 其中, 所述存储器存储有程序指令; 所述至少一个处理器, 用于调用所述存储器中存 储的程序指令, 使得所述终端执行下述步骤: The third aspect is a terminal according to an embodiment of this application. The terminal includes at least one processor and a memory; wherein the memory stores program instructions; and the at least one processor is configured to call the storage in the memory The program instructions of, cause the terminal to execute the following steps:
获取第一路线信息, 所述第一路线信息用于指示用户实际出行的路线; Acquiring first route information, where the first route information is used to indicate a route the user actually travels;
根据所述第一路线信息, 从预先存储的至少一个路线的网络分布信息中, 获取用户实 际出行的路线的网络分布信息; 所述用户实际出行的路线的网络分布信息包括路线信息、 至少一个第一网络信息、 与每个第一网络信息对应的区间信息; 每个第一网络信息用于指 示终端在所述用户实际出行的路线脱网时接入的小区; According to the first route information, from the pre-stored network distribution information of at least one route, the network distribution information of the route the user actually travels is acquired; the network distribution information of the route the user actually travels includes route information, at least one first route One network information, section information corresponding to each first network information; each first network information is used to indicate a cell that the terminal accesses when the user's actual travel route is offline;
判断是否脱网, 若是, 则判断所述至少一个第一网络信息中是否包括当前接入的小区 的网络信息; 若至少一个第一网络信息中包括当前接入的小区的网络信息, 则控制不进行 搜网、 以及根据与所述当前接入的小区的网络信息对应的区间信息, 确定目标时长; 目标 时长用于指示与当前接入的小区的网络信息对应的控制实际不进行搜网的时长; Determine whether to go offline, and if so, determine whether the at least one first network information includes the network information of the currently accessed cell; if the at least one first network information includes the network information of the currently accessed cell, control not Perform network search, and determine 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 to indicate the time period during which the control corresponding to the network information of the currently accessed cell does not actually perform network search ;
在经过所述目标时长后, 开始进行搜网。 After the target time period has elapsed, a network search is started.
在一种可能的设计中, 至少一个处理器包括调制解调器和应用处理器。 In one possible design, the at least one processor includes a modem and an application processor.
在一种可能的设计中, 可以基于下列方式获取第一路线信息: In a possible design, the first route information can be obtained based on the following methods:
识别自身安装的第一应用程序接收到车票订单信息; 并根据所述车票订单信息, 获取 所述第一路线信息。 Recognize that the first application installed by itself receives the ticket order information; and obtain the first route information according to the ticket order information.
在一种可能的设计中, 所述至少一个处理器, 用于调用所述存储器中的存储的程序指 令, 使得所述终端在识别自身安装的第一应用程序接收到车票订单信息之前, 还执行下述 步骤: In a possible design, the at least one processor is configured to call the program instructions stored in the memory, so that the terminal executes the process before recognizing that the first application program installed by itself receives the ticket order information The following steps:
接收用户的第一操作, 所述第一操作为用户开启控制搜网功能的操作; 并响应于所述 第一操作, 开启控制搜网功能。 在一种可能的设计中, 还可以基于下列方式获取第一路线信息: Receive a first operation of the user, where the first operation is an operation for the user to enable a control search function; and in response to the first operation, enable the control search function. In a possible design, the first route information can also be obtained based on the following methods:
接收用户的第二操作, 所述第二操作为用户开启控制搜网功能的操作; Receiving a second operation of the user, where the second operation is an operation for the user to enable a control search function;
响应于所述第二操作, 开启控制搜网功能, 以及在显示屏显示路线相关信息输入框; 根据用户在所述路线相关信息输入框中输入的信息, 获取第一路线信息。 In response to the second operation, the control search function is turned on, and the route-related information input box is displayed on the display screen; and the first route information is acquired according to the information input by the user in the route-related information input box.
在一种可能的设计中, 所述第一网络信息包括小区标识、 与所述小区标识对应的公共 移动陆地网络 PLMN。 In a possible design, the first network information includes a cell identity and a public mobile land network PLMN corresponding to the cell identity.
在一种可能的设计中, 与每个第一网络信息对应的区间信息包括节点信息、 脱网区间 的距离信息、或脱网时长中的至少一个;所述节点信息包括第一节点信息和第二节点信息, 所述第一节点信息用于指示终端在用户实际出行的路线接入第一网络信息对应的小区时 脱网的起始位置; 所述第二节点信息用于指示终端在所述第一节点信息指示的位置脱网 后, 恢复驻网时的起始位置。 In a possible design, the interval information corresponding to each first network information includes at least one of node information, distance information of the offline interval, or offline duration; the node information includes the first node information and the first node information. Two-node information, where the first node information is used to indicate the starting position of the terminal to go offline when the user’s actual travel route accesses the cell corresponding to the first network information; the second node information is used to indicate that the terminal is in the After the location indicated by the information of the first node is offline, the initial location at the time of stationing on the network is restored.
在一种可能的设计中,与每个第一网络信息对应的区间信息包括所述节点信息和 /或所 述脱网区间的距离信息、 以及脱网时长时, 可以基于下列方式确定目标时长: In a possible design, when the interval information corresponding to each first network information includes the node information and/or the distance information of the offline interval, and the offline duration, the target duration may be determined based on the following methods:
根据所述节点信息或所述脱网区间的距离信息, 确定终端与当前接入的小区的网络信 息对应的脱网区间的距离; 以及获取实时移动速度; Determine the distance between the terminal and the offline interval corresponding to the network information of the cell currently accessed according to the node information or the distance information of the offline interval; and obtain the real-time moving speed;
并才艮据脱网区间的距离和所述实时移动速度, 确定第一脱网时长; And according to the distance of the disconnection interval and the real-time moving speed, determine the first disconnection duration;
最后将所述第一脱网时长和所述用户实际出行的路线的网络分布信息中包括的与所 述当前接入的小区的网络信息对应的脱网时长中的较小值, 作为所述目标时长。 Finally, the smaller value of the offline duration corresponding to the network information of the currently accessed cell included in the first offline duration and the network distribution information of the actual travel route of the user is used as the target duration.
在一种可能的设计中, 所述终端还包括通用智能传感集线器和加速度传感器; 可以基于下列方式获取实时移动速度: In a possible design, the terminal further includes a universal smart sensor hub and an acceleration sensor; the real-time moving speed can be obtained based on the following methods:
从通用智能传感集线器获取实时移动速度; 其中, 通用智能传感器是根据加速度传感 器采集的加速度确定所述终端的实时移动速度的; Obtain the real-time moving speed from the universal smart sensor hub; where the universal smart sensor determines the real-time moving speed of the terminal according to the acceleration collected by the acceleration sensor;
在一种可能的设计中, 所述用户实际出行的路线的网络分布信息还包括: 与每个第一 网络信息对应的第二网络信息, 所述第二网络信息用于指示所述终端在所述用户实际出行 的路线接入第一网络信息对应的小区后, 恢复驻网时所述接入的小区; In a possible design, the network distribution information of the actual travel route of the user further includes: second network information corresponding to each first network information, and the second network information is used to indicate that the terminal is in the After the user's actual travel route is connected to the cell corresponding to the first network information, the cell that was accessed when the user was on the network is restored;
所述至少一个处理器, 用于调用所述存储器中的存储的程序指令, 使得所述终端开始 进行搜网之后, 还执行下述步骤: The at least one processor is configured to call the program instructions stored in the memory, so that after the terminal starts to search the Internet, the following steps are further executed:
获取到特定网络信息; 并在确定与所述当前接入的小区的网络信息对应的第二网络信 息包括所述特定信息时, 根据所述特定信息接入到相应的网络、 并驻网。 Obtain specific network information; and when it is determined that the second network information corresponding to the network information of the currently accessed cell includes the specific information, access to the corresponding network according to the specific information, and connect to the parallel network.
在一种可能的设计中, 所述至少一个处理器, 用于调用所述存储器中的存储的程序指 令, 还执行以下步骤: In a possible design, the at least one processor is configured to call the program instructions stored in the memory, and further execute the following steps:
根据采集的相关数据, 预先存储至少一个路线的网络分布信息, 所述相关数据用于指 示终端在路线上的接入网络的情况。 According to the collected relevant data, the network distribution information of at least one route is stored in advance, and the relevant data is used to indicate the network access status of the terminal on the route.
在一种可能的设计中, 可以基于下列方式根据采集的相关数据, 预先存储至少一个路 线的网络分布信息: In a possible design, the network distribution information of at least one route can be pre-stored based on the collected related data based on the following methods:
向服务器发送采集的相关数据; 并接收到所述服务器发送的根据所述采集的相关数 据, 得到的至少一个路线的网络分布信息后, 并存储。 Sending the collected relevant data to the server; and after receiving the network distribution information of at least one route obtained according to the collected relevant data sent by the server, and storing it.
在一种可能的设计中, 所述至少一个处理器, 用于调用所述存储器中的存储的程序指 令, 还执行以下步骤: In a possible design, the at least one processor is configured to call the program instructions stored in the memory, and further execute the following steps:
接收用户的第三操作, 所述第三操作为用户同意终端向所述服务器上报采集的相关数 据的操作; 并响应于所述第三操作, 确定用户同意所述终端向所述服务器上艮采集的相关 数据。 Receive a third operation of the user, where the third operation is that the user agrees that the terminal reports the collected related data to the server And in response to the third operation, determine that the user agrees to the terminal to upload relevant data collected to the server.
第四方面, 为本申请实施例一种服务器, 包括: 至少一个处理器和存储器; 所述存储器用于存储程序指令, 所述至少一个处理器用于调用所述存储器中存储的程 序指令, 使得所述服务器执行以下步骤: In a fourth aspect, a server according to an embodiment of this application includes: at least one processor and a memory; the memory is used to store program instructions, and the at least one processor is used to call the program instructions stored in the memory so that all The server performs the following steps:
接收至少一个终端上报的相关数据, 所述相关数据用于指示终端在路线上的接入网络 的情况; 并根据至少一个终端上包括的相关数据, 得到至少一个路线的网络分布信息; 并 向终端发送所述至少一个路线的网络分布信息。 Receiving relevant data reported by at least one terminal, the relevant data being used to indicate the network access status of the terminal on the route; and obtaining network distribution information of at least one route according to the relevant data included on the at least one terminal; and reporting to the terminal Sending network distribution information of the at least one route.
在一种可能的设计中, 至少一个终端中每个终端为用户同意上艮相关数据的终端。 在一种可能的设计中, 所述至少一个处理器用于调用所述存储器中存储的程序指令, 使得所述服务器可以按照下列方式向终端发送至少一个路线的网络分布信息: In a possible design, each of the at least one terminal is a terminal to which the user agrees to upload related data. In a possible design, the at least one processor is used to call the program instructions stored in the memory, so that the server can send network distribution information of at least one route to the terminal in the following manner:
在接收到终端发送的路线的网络分布信息的请求后, 向终端发送至少一个路线的网络 分布信息。 After receiving the request for network distribution information of the route sent by the terminal, the network distribution information of at least one route is sent to the terminal.
在一种可能的设计中, 所述至少一个处理器用于调用所述存储器中存储的程序指令, 使得所述服务器可以按照下列方式向终端发送至少一个路线的网络分布信息: In a possible design, the at least one processor is used to call the program instructions stored in the memory, so that the server can send network distribution information of at least one route to the terminal in the following manner:
在得到至少一个路线的网络分布信息后, 向终端发送更新路线的网络分布信息的指 示。 并在接收到终端同意更新路线的网络分布信息的指示后, 向终端发送至少一个路线的 网络分布信息。 After obtaining the network distribution information of at least one route, an instruction to update the network distribution information of the route is sent to the terminal. And after receiving the indication that the terminal agrees to update the network distribution information of the route, the network distribution information of at least one route is sent to the terminal.
第五方面, 为本申请实施例的一种网络系统, 包括终端和服务器; The fifth aspect is a network system according to an embodiment of this application, including a terminal and a server;
所述终端向服务器发送采集的相关数据; 所述相关数据用于指示终端在路线上的接入 网络的情况; The terminal sends the collected related data to the server; the related data is used to indicate the terminal's access to the network on the route;
所述服务器 4艮据包括所述终端在内的至少一个终端上包括的相关数据, 得到至少一个 路线的网络分布信息; The server 40 obtains network distribution information of at least one route according to relevant data included on at least one terminal including the terminal;
所述服务器向所述终端发送所述至少一个路线的网络分布信息; Sending, by the server, network distribution information of the at least one route to the terminal;
所述终端接收到所述至少一个路线的网络分布信息后, 并存储; After the terminal receives the network distribution information of the at least one route, and stores it;
所述终端获取第一路线信息, 所述第一路线信息用于指示用户实际出行的路线; 所述终端根据所述第一路线信息, 从所述至少一个路线的网络分布信息中, 获取所述 用户实际出行的路线的网络分布信息, 其中, 用户实际出行的路线的网络分布信息包括路 线信息、 至少一个第一网络信息、 与每个第一网络信息对应的区间信息; 每个第一网络信 息用于指示终端在所述用户实际出行的路线脱网时接入的小区; The terminal obtains first route information, where the first route information is used to indicate a route the user actually travels; and the terminal obtains the network distribution information of the at least one route according to the first route information Network distribution information of the route the user actually travels, where the network distribution information of the route the user actually travels includes route information, at least one piece of first network information, and section information corresponding to each first network information; each first network information It is used to indicate the cell that the terminal accesses when the user's actual travel route is offline;
所述终端判断是否脱网, 若是, 则判断所述至少一个第一网络信息中是否包括当前接 入的小区的网络信息, 若是, 则控制不进行搜网, 以及根据与所述当前接入的小区的网络 信息对应的区间信息, 确定目标时长; 所述目标时长用于指示与所述当前接入的小区的网 络信息对应的控制实际不进行搜网的时长; The terminal judges whether it is offline, and if so, judges whether the at least one piece of first network information includes the network information of the currently accessed cell, and if so, controls not to search the network, and based on the information related to the currently accessed The interval information corresponding to the network information of the cell determines the target time length; the target time length is used to indicate the time length during which the control corresponding to the network information of the currently accessed cell does not actually perform network search;
所述终端在经过所述目标时长后, 开始进行搜网。 The terminal starts to search the network after the target time period has passed.
第六方面, 为本申请实施例提供的一种终端, 包括执行本申请实施例第一方面以或第 一方面任一可能的不同设计的方法的装置。 In a sixth aspect, a terminal provided in an embodiment of this application includes a device that executes the first aspect or any possible differently designed method of the first aspect of the embodiment of this application.
第七方面, 为本申请实施例提供的一种服务器, 包括执行本申请实施例第二方面以或 第二方面任一可能的不同设计的方法的装置。 In a seventh aspect, a server provided in an embodiment of the present application includes a device that executes the second aspect or any possible differently designed method of the second aspect of the embodiment of the present application.
第八方面, 为本申请实施例提供的一种芯片, 其中, 所述芯片与终端中的存储器耦合, 使得所述芯片在运行时调用所述存储器中存储的程序指令, 使得所述终端执行本申请实施 例第一方面以或第一方面任一可能的不同设计的方法。 An eighth aspect is a chip provided by an embodiment of this application, wherein the chip is coupled with a memory in a terminal, The chip is made to call the program instructions stored in the memory during operation, so that the terminal executes the first aspect or any possible differently designed method of the first aspect of the embodiments of the present application.
第九方面, 为本申请实施例提供的一种计算机存储介质, 所述计算机存储介质中存储 有程序指令, 当所述程序指令在终端上运行时, 使得所述终端执行本申请实施例第一方面 以或第一方面任一可能的不同设计的方法。 In a ninth aspect, a computer storage medium provided by an embodiment of this application is provided with program instructions stored in the computer storage medium. When the program instructions are run on a terminal, the terminal is caused to execute the first embodiment of the present application. Aspects or any possible different design methods of the first aspect.
第三方面至第九方面及其任一可能的设计所带来的技术效果可参见本申请实施例方 法部分不同设计方式所带来的技术效果, 此处不再赘述。 附图说明 The technical effects brought by the third aspect to the ninth aspect and any of their possible designs can be referred to the technical effects brought about by the different design methods in the method part of the embodiment of the present application, which will not be repeated here. Description of the drawings
图 1为本申请实施例应用的一种通信系统的结构示意图; FIG. 1 is a schematic structural diagram of a communication system applied in an embodiment of this application;
图 2a为申请实施例的一种终端的结构示意图; Figure 2a is a schematic structural diagram of a terminal according to an application embodiment;
图 2b为本申请实施例的另一种终端的结构示意图; Figure 2b is a schematic structural diagram of another terminal according to an embodiment of the application;
图 3为本申请实施例的控制搜网的流程示例图; FIG. 3 is an example diagram of a flow of controlling a network search according to an embodiment of the application;
图 4a为本申请实施例的一种开启控制搜网的方式的示意图; Fig. 4a is a schematic diagram of a method for enabling control search for a network according to an embodiment of the application;
图 4b为本申请实施例的一种获取第一路线信息的方式的示意图; FIG. 4b is a schematic diagram of a method for acquiring first route information according to an embodiment of this application;
图 5为本申请实施例路线的示意图; Figure 5 is a schematic diagram of a route according to an embodiment of the application;
图 6为本申请实施例的预先存储至少一个路线的网络分布信息的方法的流程示意图; 图 7为本申请实施例的一种同意用户上艮相关信息的方式的示意图; FIG. 6 is a schematic flowchart of a method for pre-storing network distribution information of at least one route according to an embodiment of this application; FIG. 7 is a schematic diagram of a method for approving a user to upload related information according to an embodiment of this application;
图 8为本申请实施例的另一种同意用户上艮相关信息的方式的示意图; FIG. 8 is a schematic diagram of another way of agreeing to a user to upload related information according to an embodiment of the application;
图 9为本申请实施例的一种用户界面的示意图; FIG. 9 is a schematic diagram of a user interface according to an embodiment of the application;
图 10为本申请实施例的另一中用户界面的示意图; FIG. 10 is a schematic diagram of another user interface according to an embodiment of the application;
图 11为本申请实施例的另一终端的结构示意图。 具体实施方式 FIG. 11 is a schematic structural diagram of another terminal according to an embodiment of the application. detailed description
本申请以下实施例中“至少一个”是指一个或者多个, “多个”是指两个或两个以上。 “和 成”, 描述关联对象的关联关系, 表示可以存在三种关系。 例如, A和成 B , 可以表示以下 三种关系: 单独存在 A, 同时存在 A和 B , 单独存在 B。 其中 A、 B可以是单数或者复数。 字 符“/”一般表示前后关联对象是一种“或”的关系。 “以下至少一 (项)个”或其类似表达, 是 指的这些项中的任意组合, 包括单项 (个)或复数项 (个) 的任意组合。 例如, a、 b或 c 中的至少一项 (个) , 可以表示: a, b, c, a和 b, a和 c, b和 c, 或 a、 b和 c, 其中 a、 b、 c 可以是单个, 也可以是多个。 In the following embodiments of the present application, "at least one" refers to one or more, and "multiple" refers to two or more. "Hecheng" describes the association relationship of associated objects, which means that there can be three types of relationships. For example, A and B can represent the following three relationships: A alone exists, A and B exist at the same time, and B exists alone. Among them, A and B can be singular or plural. The character "/" generally indicates that the associated objects before and after are in an "or" relationship. "The following at least one (item)" or similar expressions refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a). For example, at least one item (a) of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c It can be single or multiple.
本申请实施例可以应用于移动通信系统, 例如全球 ·移动通讯系统 ( global system for mobile communications, GSM ) 、 通用分组无线服务 ( general packet radio service, GPRS ) 通信系统、 码分多址接入 ( code division multiple access, CDMA )通信系统、 宽带码分多 址( wideband code division multiple access, WCDMA )通信系统、时分码分多址 ( time-division code division multiple access, TD-SCDMA )通信系统、长期演进 ( long term evolution, LTE ) 通信系统、 第五代 ( 5th Generation, 5G )通信系统 (比如下一代无线 ( next radio, NR ) 系统) 、 未来的通信系统等。 示例的, 如图 1所示, 为本申请实施例适用的一种通信系统 的架构示意图。 具体的, 如图 1所示的通信系统包括网络设备和终端。 其中, 图 1所示的通 信系统仅为一个举例说明。 应理解, 本申请实施例的网络设备也可以称之为接入网设备, 用于提供小区, 使得终 端接入网络。 其中, 终端通过网络设备提供的小区接入网络后, 是通过比较接入的小区的 网络信号强度与判决门限来判定终端是否脱网的。 具体的, 终端当接入的小区的网络信号 强度低于判决门限时, 判定终端处于脱网状态; 终端当网络信号强度不低于判决门限时, 判定终端处于驻网状态。 需要说明的, 判决门限可以根据实际情况进行相应的设置。 例如, 网络信号强度可以为接收信号强度指示 ( received signal strength indication, RSSI ) 、 参考 信号接收质量 ( reference signal receiving power, RSRP )、参考信号接收质量 ( reference signal receiving quality , RSRQ )等。 示例的, 本申请实施例中的网络设备可以是基站、 或者接入 点等。 例如, GSM通信系统或 CDMA通信系统中的基站 ( base transceiver station, BTS ) 、 WCDMA通信系统中的节点 B ( node B ) 、 LTE通信系统中的演进型基站 ( evolutional node B , eNB ) 、 NR系统中的 gNB等。 需要说明的是, 本申请实施例对通信系统中网络设备的 个数以及实现形式不作限定。 Embodiments of the present application can be applied to mobile communication systems, such as Global System for Mobile Communications · (global system for mobile communications, GSM ), General Packet Radio Service (general packet radio service, GPRS) communication system, a CDMA (code division multiple access (CDMA) communication system, wideband code division multiple access (WCDMA) communication system, time-division code division multiple access (TD-SCDMA) communication system, long-term evolution ( long term evolution, LTE) communication system, fifth generation (5th Generation, 5G) communication system (such as next radio (next radio, NR) system), future communication system, etc. As an example, as shown in FIG. 1, it is a schematic diagram of the architecture of a communication system to which this embodiment of the application is applicable. Specifically, the communication system shown in FIG. 1 includes network equipment and terminals. Among them, the communication system shown in FIG. 1 is only an example for illustration. It should be understood that the network device in the embodiment of the present application may also be referred to as an access network device, which is used to provide a cell so that the terminal can access the network. Wherein, after the terminal accesses the network through the cell provided by the network device, it judges whether the terminal is offline by comparing the network signal strength of the accessed cell with the decision threshold. Specifically, when the network signal strength of the cell accessed by the terminal is lower than the judgment threshold, the terminal judges that the terminal is in an offline state; when the network signal strength is not lower than the judgment threshold, the terminal judges that the terminal is in the on-line state. It should be noted that the judgment threshold can be set accordingly according to actual conditions. For example, the network signal strength may be received signal strength indication (RSSI), reference signal receiving power (RSRP), reference signal receiving quality (reference signal receiving quality, RSRQ), etc. For example, the network device in the embodiment of the present application may be a base station, or an access point, etc. For example, a base transceiver station (base transceiver station, BTS) in a GSM communication system or a CDMA communication system, a node B (node B) in a WCDMA communication system, an evolved base station (evolutional node B, eNB) in an LTE communication system, and an NR system GNB and so on. It should be noted that the embodiments of the present application do not limit the number and implementation form of network devices in the communication system.
应理解, 本申请实施例中的终端可以是便携式终端, 诸如手机、 平板电脑、 具备移动 通信功能的可穿戴设备 (如智能手表) 、 车载设备等。 便携式终端的示例性实施例包括但 不限于搭载 IOS®、 Android®、 Microsoft®或者其它操作系统。 上述便携式终端也可以是膝 上型计算机 ( Laptop )等。 还应当理解的是, 在本申请其他一些实施例中, 终端也可以是 具有移动通信功能的其它电子设备, 例如台式计算机或者一体机等。 It should be understood that the terminal in the embodiment of the present application may be a portable terminal, such as a mobile phone, a tablet computer, a wearable device (such as a smart watch) with a mobile communication function, and a vehicle-mounted device. Exemplary embodiments of the portable terminal include but are not limited to carrying IOS®, Android®, Microsoft® or other operating systems. The aforementioned portable terminal may also be a laptop (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 an all-in-one computer.
具体的, 终端是通过网络设备提供的小区接入网络的。 但是, 由于不同区域部署网络 设备的情况不同, 导致不同区域的网络环境也是不同的。 因此, 终端当通过网络设备提供 的小区接入网络后, 若移动到网络信号强度较差或不稳定的区域, 容易导致终端脱网。 例 如, 当用户乘坐火车、 地铁等交通工具出行时, 使得终端经常会因移动到网络信号强度较 差或者不稳定的区域, 导致脱网。 现有技术中, 终端当脱网后, 就会进行搜网, 以使得终 端能够及时恢复驻网。 虽然终端脱网后就进行搜网,能够使得终端在脱网后及时恢复驻网, 但是在终端频繁脱网时或者网络信号强度较差的区域较大时, 会导致终端频繁搜网, 造成 终端的功耗较大, 严重影响用户体验。 在一些实施例中, 终端可以在脱网后, 根据基于位 置服务 ( location based service , LBS )定位技术获取终端的实时位置信息。 并且, 终端根 据获取的实时位置信息, 当检测到自身位置发生变化, 且自身位置的位置变化量达到某一 设定的阈值后, 再进行搜网, 这种方法在一定程度上虽然有助于降低终端搜网的次数, 但 是终端在脱网情况下基于 LBS定位技术的实时定位仍然容易导致终端的功耗较大。 Specifically, the terminal accesses the network through a cell provided by the network device. However, due to the different deployment of network devices in different regions, the network environments in different regions are also different. Therefore, after the terminal accesses the network through the cell provided by the network equipment, if it moves to an area where the network signal strength is poor or unstable, the terminal is easily disconnected from the network. For example, when a user travels by means of transportation such as trains, subways, etc., the terminal often moves to an area with poor or unstable network signal strength, resulting in disconnection. In the prior art, when the terminal goes offline, it will search the network so that the terminal can resume network presence in time. Although searching the network after the terminal is offline, the terminal can be restored to the network in time after being disconnected. However, when the terminal is frequently disconnected from the network or the area with poor network signal strength is large, it will cause the terminal to search the network frequently, resulting in the terminal The power consumption is relatively large, which seriously affects the user experience. In some embodiments, the terminal may obtain real-time location information of the terminal according to a location based service (location based service, LBS) positioning technology after being offline. Moreover, according to the real-time location information obtained, the terminal searches the network after detecting that its own position has changed and the amount of position change of its own position reaches a certain set threshold. This method is helpful to a certain extent. Reduce the number of times that the terminal searches the network, but the real-time positioning based on the LBS positioning technology when the terminal is off-network is still likely to cause the terminal to consume more power.
有鉴于此, 本申请实施例提供了一种控制搜网的方法, 有助于终端能够在脱网后及时 恢复驻网的同时, 降低终端的功耗, 提高用户体验。 In view of this, the embodiment of the present application provides a method for controlling network search, which helps the terminal to resume network presence in time after being disconnected from the network, while reducing the power consumption of the terminal and improving the user experience.
以下介绍终端和用于使用这样的终端的实施例。 示例的, 如图 2a所示, 为本申请实施 例终端的一种结构示意图。 具体的如图 2a所示, 终端包括处理器 210、 内部存储器 221、 外部存储器接口 222、 天线 A、 移动通信模块 231、 天线 B、 无线通信模块 232、 音频模块 240、 扬声器 240A、 受话器 240B、 麦克风 240C、 耳机接口 240D、 显示屏 251、 用户标识 模块 ( subscriber identification module, SIM )卡接口 252、 摄像头 253、 按键 254、 传感 器模块 260、 通用串行总线 ( universal serial bus, USB )接口 270、 充电管理模块 280、 电 源管理模块 281和电池 282。 在另一些实施例中, 终端还可以包括马达、 指示器等。 The following describes a terminal and an embodiment for using such a terminal. For example, as shown in FIG. 2a, it is a schematic structural diagram of a terminal according to an embodiment of this 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, and a microphone. 240C, earphone interface 240D, display screen 251, subscriber identification module (SIM) card interface 252, camera 253, buttons 254, sensor module 260, universal serial bus (USB) interface 270, charging management Module 280, power management module 281 and battery 282. In other embodiments, the terminal may also include a motor, an indicator, and so on.
其中, 处理器 210可以包括一个或多个处理单元。 例如, 处理器 210可以包括应用处 理器 ( application processor, AP ) 、 调制解调器、 图形处理器 ( graphics processing unit, GPU) 、 图像信号处理器(image signal processor, ISP) 、 控制器、 视频编解码器、 数字 信号处理器 (digital signal processor , DSP) 、 基带处理器、 和 /或神经网络处理器 ( neural-network processing unit, NPU)等。 需要说明的是, 不同的处理单元可以是独立的 器件, 也可以集成在一个或多个独立的处理器, 可以与终端中的其它模块集成在同一个器 件中。 以调制解调器为例, 调制解调器可以为独立于处理器 210的一个处理单元, 也可以 与其它处理单元(例如 AP、 ISP、 GPU等)集成在同一个器件中, 还可以将部分或全部功 能与移动通信模块 231集成在同一个器件中。 Among them, the processor 210 may include one or more processing units. For example, the processor 210 may include an application processor (application processor, AP), a modem, and a graphics processing unit (graphics processing unit, GPU), image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processor (neural-network processor) processing unit, NPU) etc. It should be noted that the different processing units may be independent devices, may also be integrated in one or more independent processors, and may be integrated in the same device with other modules in the terminal. Taking the modem as an example, the modem can be a processing unit independent of the processor 210, or it can be integrated with other processing units (such as AP, ISP, GPU, etc.) in the same device, and can also combine part or all of its functions with mobile communication. The module 231 is integrated in the same device.
内部存储器 221可以用于存储数据和 /或至少一个计算机程序,该至少一个计算机程序 包括指令。 具体的, 内部存储器 221可以包括存储程序区和存储数据区。 其中, 存储程序 区可以存储至少一个计算机程序。 计算机程序可以包括应用程序(比如图库、联系人等)、 操作系统(比如 Android操作系统、 或者 I0S操作系统等) 、 或者其它程序等。 存储数据 区可存储终端使用过程中所创建的数据、 接收到的来自其它设备(例如其它终端、 网络设 备、 服务器等)数据、 或在出厂之前预先存储的数据等中的至少一个。 例如, 内部存储器 221中存储的数据可以为图像、 文件、 或标识等信息中的至少一个。 The internal memory 221 may be used to store data and/or at least one computer program, the at least one computer program including instructions. Specifically, the internal memory 221 may include a program storage area and a data storage area. Among them, the program storage area can store at least one computer program. The computer program may include an application program (such as a gallery, a contact, etc.), an operating system (such as an Android operating system, or an I0S operating system, etc.), or other programs. The data storage area can store at least one of data created during the use of the terminal, data received from other devices (such as other terminals, network devices, servers, etc.), or data pre-stored before leaving the factory. For example, the data stored in the internal memory 221 may be at least one of image, file, or identification information.
在一些实施例中, 内部存储器 221 可以包括高速随机存取存储器和 /或非易失性存储 器。 例如, 内部存储器 221包括一个或多个磁盘存储器件、 闪存器件(Flash) 、 或者通用 闪存存储器( universal flash storage, UFS)等。 In some embodiments, the internal memory 221 may include a high-speed random access memory and/or a non-volatile memory. For example, the internal memory 221 includes one or more disk storage devices, flash memory devices (Flash), or universal flash storage (universal flash storage, UFS), etc.
其中, 处理器 210可以通过调用存储在内部存储器 221中存储的一个或多个计算机程 序和 /或数据, 从而使得终端实现一个或多个功能, 满足用户的需求。 例如, 处理器 210可 以通过调用存储在内部存储器 221存储的指令和数据, 使得电子设备执行本申请实施例中 所提供的控制搜网的方法。 The processor 210 may call one or more computer programs and/or data stored in the internal memory 221 to enable the terminal to implement one or more functions to meet the needs of users. For example, the processor 210 may call the instructions and data stored in the internal memory 221 to cause the electronic device to execute the method for controlling network search provided in the embodiment of the present application.
外部存储器接口 222可以用于连接外部存储卡(例如, Micro SD卡) , 实现扩展终端 的存储能力。外部存储卡通过外部存储器接口 222与处理器 210通信, 实现数据存储功能。 例如将图像、 音乐、 视频等文件保存在外部存储卡中。 The external memory interface 222 may be used to connect an external memory card (for example, a Micro SD card), so as to expand the storage capacity of the terminal. The external memory card communicates with the processor 210 through the external memory interface 222 to realize the data storage function. For example, save images, music, videos and other files in an external memory card.
在一些实施例中, 处理器 210中还可以设置缓存区, 用于保存处理器 210需要循环使 用的指令和 /或数据, 如果处理器 210需要再次使用该指令或数据, 可从该缓存区中直接调 用。从而有助于避免重复存取, 降低处理器 210的等待时间,从而有助于提高系统的效率。 例如, 缓存区可以通过高速缓冲存储器实现。 In some embodiments, a cache area may be set in the processor 210 to store instructions and/or data that the processor 210 needs to recycle. If the processor 210 needs to use the instructions or data again, it can use the cache area. Call directly. This helps to avoid repeated accesses, reduces the waiting time of the processor 210, and thereby helps improve the efficiency of the system. For example, the cache area can be realized by a cache memory.
天线 A和天线 B用于发射和接收电磁波信号。终端中的每个天线可用于覆盖单个或多 个通信频带。 不同的天线还可以复用, 以提高天线的利用率。 例如: 可以将天线 A复用为 无线局域网的分集天线。 在另外一些实施例中, 天线可以和调谐开关结合使用。 Antenna A and Antenna B are used to transmit and receive electromagnetic signals. Each antenna in the terminal can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna A can be multiplexed as the diversity antenna of the wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块 231可以用于根据终端支持的移动通信技术(例如 2G、 3G、 4G或 5G 等)实现终端与网络设备的通信。示例的,终端支持的移动通信技术可以包括 GSM、 GPRS、 CDMA、 WCDMA、 TD-SCDMA、 LTE、 或 NR等中的至少一个。 例如, 终端支持 GSM, 终端当通过 GSM通信系统中的 BTS所提供的小区接入网络后, 可以在接入的小区的网络 信号强度不低于判决门限的情况下, 也就是在终端处于驻网的状态下, 通过移动通信模块 231实现终端与 BTS的通信。 示例的, 移动通信模块 231可以对调制解调器调制后的信号 放大后,经由天线 A发送给网络设备;移动通信模块 231也可以通过天线 A接收网络设备 发送的信号、 并放大, 然后发送给调制解调器, 由调制解调器将接收到的信号解调为低频 基带信号, 然后在进行其它相应的处理。 在一些实施例中, 移动通信模块 231可以包括滤 波器、 开关、 功率放大器、 低噪声放大器 ( low noise amplifier, LNA )等。 The mobile communication module 231 may be used to implement communication between the terminal and the network device according to the mobile communication technology supported by the terminal (for example, 2G, 3G, 4G, or 5G, etc.). 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. For example, the terminal supports GSM. After the terminal accesses the network through the cell provided by the BTS in the GSM communication system, the signal strength of the accessed cell is not lower than the judgment threshold, that is, when the terminal is on the network In the state, the communication between the terminal and the BTS is realized through the mobile communication module 231. For example, the mobile communication module 231 may amplify the signal modulated by the modem and send it to the network device via antenna A; the mobile communication module 231 may also receive the signal sent by the network device via antenna A, amplify it, and then send it to the modem. 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 filtering Wave generators, switches, power amplifiers, low noise amplifiers (LNA), etc.
无线通信模块 232 可以提供应用在终端上的包括无线接入网 ( wireless local area networks , WLAN ) (如无线保真 ( wireless-fidelity, Wi-Fi ) 网络) 、 蓝牙 ( Bluetooth, BT ) 、 全球导航卫星系统 ( global navigation satellite system, GNSS ) 、 调频 ( frequency modulation, FM )、近距离无线通信技术 ( near field communication, NFC )、红外技术( infrared, IR )等无线通信的解决方案。 所述 GNSS 可以包括全球卫星定位系统 ( global positioning system, GPS ) 、 全球导航卫星系统 ( global navigation satellite system, GLONASS ) 、 北 斗卫星导航系统 ( beidou navigation satellite system, BDS ) 准天顶卫星系统 ( quasi-zenith satellite system, QZSS )和 /或星基增强系统 ( satellite based augmentation systems, SBAS ) 等中的至少一个。 示例的, 无线通信模块 232可以是集成至少一个通信处理模块的一个或 多个器件。 其中, 无线通信模块 232可以根据自身支持的无线通信技术 (例如 Wi-Fi、 蓝 牙、 FM或者 NFC等)通过天线 B实现与相应的设备通信的。 The wireless communication module 232 can provide applications on the terminal, including wireless access networks (wireless local area networks, WLAN) (such as wireless-fidelity (Wi-Fi) networks), Bluetooth (Bluetooth, BT), and global navigation. Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (NFC), infrared technology (infrared, IR) and other wireless communication solutions. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi- At least one of zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS). For example, the wireless communication module 232 may be one or more devices integrating at least one communication processing module. Wherein, the wireless communication module 232 can communicate with the corresponding device through the antenna B according to the wireless communication technology supported by itself (for example, Wi-Fi, Bluetooth, FM or NFC, etc.).
终端可以通过音频模块 240、扬声器 240A、受话器 240B、麦克风 240C、耳机接口 240D 以及 AP等实现音频功能。 例如音乐播放、 录音等。 The terminal can realize audio functions through audio module 240, speaker 240A, receiver 240B, microphone 240C, earphone interface 240D, and AP. For example, music playback, recording, etc.
终端可以通过 GPU、 显示屏 251、 以及 AP等实现显示功能。 显示屏 251可以用于显 示图像、 视频等。 显示屏 251 可以包括显示面板。 显示面板可以采用液晶显示屏 ( liquid crystal display, LCD ) 有机发光二极管 ( organic light-emitting diode OLED ) 有源矩 阵有机发光二极体或主动矩阵有机发光二极体 ( active-matrix organic light emitting diode, AMOLED ) 柔性发光二极管 ( flex light-emitting diode, FLED ) Miniled、 MicroLed、 Micro-oLed、 量子点发光二极管 ( quantum dot light emitting diodes, QLED )等。 在一些实 施例中, 终端可以包括 1个或 N个显示屏 251, N为大于 1的正整数。 The terminal can realize display functions through GPU, display screen 251, and AP. The display screen 251 can be used to display images, videos, and the like. The display screen 251 may include a display panel. The display panel can adopt liquid crystal display (LCD) organic light-emitting diode (organic light-emitting diode OLED) active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED) flexible light-emitting diode (flex light-emitting diode, FLED) Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (QLED), etc. In some embodiments, the terminal may include one or N display screens 251, and N is a positive integer greater than one.
按键 254可以包括开机键、 音量键等。 按键 254可以是机械按键, 也可以是虚拟按钮 或虚拟选项等。 终端可以接收按键输入, 产生与终端的用户设置以及功能控制有关的键信 号输入。 例如, 终端可以响应于选中用于指示同意参与“用户体验改进计划”的虚拟选项, 统计或采集用户使用终端的一些信息, 以实现为用户提供更为个性化的服务, 从而提高用 户体验。 The button 254 may include a power-on button, a volume button, and the like. The button 254 may be a mechanical button, or a virtual button or virtual option. The terminal can receive key input and generate key signal input related to user settings and function control of the terminal. For example, the terminal may, in response to selecting a virtual option indicating consent to participate in the "user experience improvement plan", collect statistics or collect some information about the user's use of the terminal, so as to provide users with more personalized services, thereby improving user experience.
传感器模块 260可以包括一个或多个传感器。 例如, 传感器模块 260包括加速度传感 器 260A、 触摸传感器 260B、 指纹传感器 260C等。 在一些实施例中, 传感器模块 260还 可以包括压力传感器、 陀螺仪传感器、 环境传感器、 距离传感器、 接近光传感器、 骨传导 传感器等。 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 so on. In some embodiments, the sensor module 260 may also include a pressure sensor, a gyroscope sensor, an environmental sensor, a distance sensor, a proximity light sensor, a bone conduction sensor, and the like.
加速度传感器 ( acceleration sensor, ACC sensor ) 260A可采集终端在各个方向上 (一般 为三轴)加速度的大小。 当终端静止时可检测出重力的大小及方向。 此外, 加速度传感器 260A还可以用于识别终端的姿态, 应用于横竖屏切换、 计步器等应用。 在一些实施例中, 加速度传感器 260A可以通过微控制单元 ( micro controller unit, MCU ) 实现与处理器 210 连接, 从而有助于节省终端的功耗。 例如, 加速度传感器 260A可以通过 MCU与 AP、 调 制解调器连接。 在一些实施例中, MCU可以为通用智能传感集线器 ( Sensor hub ) 。 示例 的, 本申请实施例中 AP、 内部存储器 221、 调制解调器、 Sensor hub和加速度传感器 260A 的连接关系可以如图 2b所示。 如图 2b所示, 在一些实施例中, 调制解调器还可以包括第 一缓存区, Sensor hub包括第二缓存区, 从而有助于提高调制解调器和 Sensor hub的处理 效率。 例如, 第二缓存区可以用于存储加速度传感器 260A采集的终端移动的加速度等信 息。 The acceleration sensor (acceleration sensor, ACC sensor) 260A can collect the acceleration of the terminal in various directions (usually three axes). The magnitude and direction of gravity can be detected when the terminal is stationary. In addition, the acceleration sensor 260A can also be used to recognize the posture of the terminal, and is applied to applications such as horizontal and vertical screen switching, pedometers, and the like. In some embodiments, the acceleration sensor 260A may be connected to the processor 210 through a micro controller unit (MCU), thereby helping to save power consumption of the terminal. For example, the acceleration sensor 260A can be connected to an AP and a modem through an MCU. In some embodiments, the MCU may be a universal smart sensor hub (Sensor hub). For example, the connection relationship between 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. 2b. As shown in FIG. 2b, in some embodiments, the modem may further include a first buffer area, and the Sensor hub includes a second buffer area, thereby helping to improve the processing efficiency of the modem and the Sensor hub. For example, the second buffer area can be used to store information such as the acceleration of the terminal movement collected by the acceleration sensor 260A. Interest.
触摸传感器 260B , 也可称为“触控面板”。 触摸传感器 260B可以设置于显示屏 251 , 由触摸传感器 260B与显示屏 251组成触摸屏, 也称“触控屏”。 触摸传感器 260B用于检测 作用于其上或附近的触摸操作。 触摸传感器 260B可以将检测到的触摸操作传递给 AP, 以 确定触摸事件类型。 然后, 终端根据确定的触摸事件类型, 通过显示屏 251提供与触摸操 作相关的视觉输出。 在另一些实施例中, 触摸传感 260B 也可以设置于终端的表面, 与显 示屏 251所处的位置不同。 The touch sensor 260B can also be called a "touch panel". The touch sensor 260B can be arranged on the display screen 251, and the touch screen is composed of the touch sensor 260B and the display screen 251, which is also called a “touch screen”. The touch sensor 260B is used to detect touch operations acting on or near it. The touch sensor 260B can transmit the detected touch operation to the AP to determine the type of touch event. Then, the terminal provides visual output related to the touch operation through the display screen 251 according to the determined touch event type. In other embodiments, the touch sensor 260B may also be arranged on the surface of the terminal, which is different from the position of the display screen 251.
指纹传感器 260C 用于采集指纹。 终端可以利用采集的指纹特性实现指纹解锁, 访问 应用锁、 指纹拍照、 指纹接听来电等。 The fingerprint sensor 260C is used to collect fingerprints. The terminal can use the collected fingerprint characteristics to unlock fingerprints, access application locks, take photos with fingerprints, and answer calls with fingerprints.
在另一些实施例中, 处理器 210还可以包括一个或多个接口。 例如, 接口可以为 SIM 卡接口 252。 又例如, 接口还可以为 USB 接口 270。 再例如, 接口还可以为集成电路 ( inter-integrated circuit, I2C )接口、 集成电路音频 ( inter-integrated circuit sound, I2S )接 口、 脉冲编码调制 ( pulse code modulation, PCM )接口、 通用异步收发传输器 ( universal asynchronous receiver/transmitter , UART ) 接口、 移动产业处理器接口 ( mobile industry processor interface, MIPI ) 、 通用输入输出 ( general-purpose input/output, GPIO )接口等。 可以理解的是, 本申请实施例处理器 210可以通过接口连接终端的不同模块, 从而使得终 端能够实现不同的功能。 例如搜网、 拍照等。 需要说明的是, 本申请实施例对终端中接口 的连接方式不作限定。 In other embodiments, the processor 210 may further include one or more interfaces. For example, the interface may be the SIM card interface 252. For another example, the interface may also be a USB interface 270. For another example, the interface may also be an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter-receiver (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, etc. It can be understood that the processor 210 in the embodiment of the present application may be connected to different modules of the terminal through an interface, so that the terminal can implement different functions. For example, search the net, take pictures, etc. It should be noted that the embodiment of the present application does not limit the connection mode of the interface in the terminal.
SIM卡接口 252用于连接 SIM卡。 SIM卡可以通过插入 SIM卡接口 252, 或从 SIM 卡接口 252拔出, 实现和终端的接触和分离。 终端可以支持 1 个或 N个 SIM卡接口, N 为大于 1的正整数。 SIM卡接口 252可以支持 Nano SIM卡、 Micro SIM卡、 SIM卡等。 同 一个 SIM卡接口 252可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。 SIM 卡接口 252也可以兼容不同类型的 SIM卡。 在一些实施例中, SIM卡接口 252也可以兼容 外部存储卡。 终端通过 SIM卡实现通话以及数据通信等功能。 在一些实施例中, 终端还可 以采用 eSIM, 即: 嵌入式 SIM卡。 eSIM卡可以嵌在终端中, 不能和终端分离。 The SIM card interface 252 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 252 or pulled out from the SIM card interface 252 to achieve contact and separation with the terminal. The terminal can support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 252 can support Nano SIM cards, Micro SIM cards, SIM cards and so on. The same SIM card interface 252 can insert multiple cards at the same time. The types of the multiple cards can be the same or different. The SIM card interface 252 can 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 implements functions such as call and data communication through the SIM card. In some embodiments, the terminal may also use eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the terminal and cannot be separated from the terminal.
USB接口 270是符合 USB标准规范的接口, 具体可以是 Mini USB接口, Micro USB 接口, USB Type C接口等。 USB接口 270可以用于连接充电器为终端充电, 也可以用于 终端与外围设备之间传输数据。 也可以用于连接耳机, 通过耳机播放音频。 该接口还可以 用于连接其他电子设备, 例如 AR设备等。 The USB interface 270 is an interface that conforms to the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on. The USB interface 270 can be used to connect a charger to charge the terminal, and can also be used to transfer data between the terminal and peripheral devices. It can also be used to connect headphones and play audio through headphones. This interface can also be used to connect other electronic devices, such as AR devices.
可以理解的是, 本发明实施例示意的各模块间的接口连接关系, 只是示意性说明, 并 不构成对终端的结构限定。 在本申请另一些实施例中, 终端也可以采用上述实施例中不同 的接口连接方式, 或多种接口连接方式的组合。 It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic description, and does not constitute a structural limitation of the terminal. In other embodiments of the present application, the terminal may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
充电管理模块 280用于从充电器接收充电输入。 其中, 充电器可以是无线充电器, 也 可以是有线充电器。电源管理模块 281用于连接电池 282、充电管理模块 280与处理器 210。 电源管理模块 281接收电池 282和 /或充电管理模块 280的输入,为处理器 210等模块供电。 在一些实施例中, 电源管理模块 281还可以用于监测电池容量、 电池循环次数、 电池健康 状态 (漏电、 阻抗) 等参数。 The charging management module 280 is used to receive charging input from the charger. Among them, the charger can 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. The power management module 281 receives input from the battery 282 and/or the charge management module 280, and supplies power to modules such as the processor 210. In some embodiments, the power management module 281 may also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
应理解, 图 2a所示的终端的结构仅是一个示例。 本申请实施例的终端可以具有比图中 所示出的更多的或者更少的部件, 可以组合两个或更多的部件, 或者可以具有不同的部件 配置。 图中所示出的各种部件可以在包括一个或多个信号处理和 /或专用集成电路在内的硬 件、 软件、 或硬件和软件的组合中实现。 It should be understood that the structure of the terminal shown in FIG. 2a is only an example. The terminal of the embodiment of the present application may have more or fewer components than shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure can be implemented in hardware including one or more signal processing and/or application specific integrated circuits. Software, software, or a combination of hardware and software.
下面结合图 2a和图 2b所示的终端的结构对本申请实施例控制搜网的方法进行详细说 明。 The following describes in detail the method for controlling the network search in the embodiment of the present application in conjunction with the structure of the terminal shown in FIG. 2a and FIG. 2b.
示例的, 如图 3所示, 本申请实施例控制搜网的方法的流程示意图, 具体包括以下步 骤。 For example, as shown in FIG. 3, a schematic flowchart of a method for controlling a network search in an embodiment of the present application specifically includes the following steps.
步骤 301, 终端获取第一路线信息。 第一路线信息用于指示用户实际出行的路线。 例 如, 用户采用火车、 或地铁等公共交通工具时, 第一路线信息可以为车次编号。 第一路线 信息还可以为预定义的路线标识等。 Step 301: The terminal obtains first route information. The first route information is used to indicate the route the user actually travels. For example, when the user uses public transportation such as trains or subways, the first route information may be the train number. The first route information may also be a predefined route identification and the like.
在具体实现时, 终端可以基于下列方式获取第一路线信息: In specific implementation, the terminal may obtain the first route information based on the following methods:
示例一: 终端识别到自身安装的某一应用程序 (例如短信息、 订票应用等)接收到车 票订单信息, 然后, 终端根据车票订单信息获取第一路线信息。 有助于减少用户操作。 例 如, 第一路线信息为车次编号, 终端可以从车票订单信息中直接获取第一路线信息。 再例 如, 第一路线信息为预定义的路线标识时, 终端可以先从车票订单信息中获取车次编号, 然后, 终端再根据车次编号, 获取第一路线信息。 具体的, 终端可以根据车次编号, 从预 先存储在终端的相关信息中, 获取第一路线信息; 或者, 终端也可以根据车次编号, 按照 预设规则确定第一路线信息; 或者, 终端将车次编号发送给第一服务器, 由第一服务器根 据车次编号, 获取第一路线信息, 并在获取到第一路线信息后, 返回给终端等。 此外, 本 申请实施例对根据车次编号获取第一路线信息的方式不作限定。 Example 1: The terminal recognizes that a certain application installed by itself (such as SMS, ticket booking application, etc.) has received the ticket order information, and then the terminal obtains the first route information according to the ticket order information. Help reduce user operations. For example, the first route information is the train number, and the terminal can directly obtain the first route information from the ticket order information. For another example, when the first route information is a 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 related information pre-stored in the terminal according to the train number; or, the terminal may determine the first route information according to the train number according to a preset rule; or, the terminal may number the train It is sent to the first server, and the first server obtains the first route information according to the train number, and returns to the terminal etc. after obtaining the first route information. In addition, the embodiment of the present application does not limit the manner of obtaining the first route information according to the train number.
其中, 在示例一中, 终端可以周期性和 /或事件性识别自身安装的一个或多个应用程序 是否接收到车票订单信息。 可以理解的是, 终端具体识别哪些应用程序是否接收到车票订 单信息, 终端可以根据预设规则从安装的所有应用程序中确定, 例如, 终端识别是否接收 到订票信息的应用程序可以为用户预先标记的应用程序, 也可以为包括特定字符的应用程 序。 Wherein, in Example 1, the terminal can periodically and/or evently recognize whether one or more applications installed by itself have received ticket order information. It is understandable that the terminal specifically recognizes which applications have received the ticket order information, and the terminal can determine from all installed applications according to preset rules. For example, the terminal can identify whether the application for the ticket order information is received in advance for the user. The marked application may also be an application including specific characters.
在一些实施例中, 终端当满足第一预设条件时, 识别自身安装的一个或多个应用程序 是否接收到车票订单信息。 应理解, 本申请实施例中第一预设条件可以包括终端当前的移 动速度在预设速度范围内、 和 /或终端达到预设时刻等, 本申请实施例中, 预设速度范围、 预设时刻可以是终端出厂之前预先设置在终端中的, 也可以是用户根据自身的需求设置 的, 对比不作限定。 需要说明的是, 在具体实现时, 在终端中可以预先设置一个或多个预 设速度范围、 以及一个或多个预设时刻。 例如, 至少一个预设速度范围可以包括高铁的速 度范围、 普通火车的速度范围、 或地铁的速度范围等中的一个或多个。 In some embodiments, when the terminal satisfies the first preset condition, the terminal recognizes whether one or more applications installed by itself have received ticket order information. It should be understood that the first preset condition in the embodiment of the present application may include that the current moving speed of the terminal is within the preset speed range, and/or the terminal reaches the preset time, etc. In the embodiment of the present application, the preset speed range and the preset The time may be preset in the terminal before the terminal leaves the factory, or may be set by the user according to his own needs, and the comparison is not limited. It should be noted that during specific implementation, one or more preset speed ranges and one or more preset times can be preset in the terminal. For example, the at least one preset speed range may include one or more of the speed range of high-speed rail, the speed range of ordinary trains, or the speed range of subways.
在另一些实施例中, 终端当检测到开启控制搜网的功能后, 再周期性和 /或事件性识别 自身安装的一个或多个应用程序是否接收到车票订单信息。 有助于实现终端与用户之间的 交互。 示例的, 终端可以响应于用户的第一操作, 开启控制搜网的功能。 从而有助于筒化 实现方式。 其中, 第一操作可以为快捷手势操作、 语音指令或者对用户界面上预先设置的 相应功能的虚拟按钮的操作。 此外, 若终端采用满足第一预设条件时, 识别自身安装的一 个或多个应用程序是否接收到车票订单信息, 且第一预设条件为根据用户需求设置时, 终 端响应于第一操作,除了开启控制搜网的功能以外,还可以在显示屏 251显示条件输入框。 用户可以根据自身的需求在条件输入框中输入相应的信息。 以预设条件为预设时刻为例, 如图 4a所示, 系统设置界面 400包括虚拟选项 401 , 终端可以响应于用户选中虚拟选项的 操作, 在显示屏 251显示用户界面 410。 用户界面 410包括虚拟按钮 411。 终端可以响应于 用户对虚拟按钮 411的操作, 开启控制搜网的功能。 终端可以当开启控制搜网的功能后, 在显示屏 251上显示条件输入框 412。 其中, 用户可以在条件输入框 412中输入相应的时 间范围, 例如发车时刻和到站时刻之间的时间范围等。 终端当检测到达预设时间范围的起 始时刻时, 识别自身安装的一个或多个应用程序是否接收到车票订单信息。 在一些实施例 中, 终端若在到达预设时间范围的起始时刻时未识别到自身安装的一个或多个应用程序接 收到车票订单信息, 可以在显示屏 251上弹出路线相关信息输入框。 示例的, 路线相关信 息输入框可以如图 4b所示的输入框 421所示。 以便于终端获取第一路线相关信息。 In other embodiments, the terminal, after detecting that the function of controlling the network search is enabled, periodically and/or eventually recognizes whether one or more applications installed by itself receive the ticket order information. It helps to realize the interaction between the terminal and the user. For example, the terminal may enable the function of controlling the network search in response to the user's first operation. This helps simplify the implementation. Wherein, 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 uses to identify whether one or more applications installed by itself receive the ticket order information when the first preset condition is met, and the first preset condition is set according to user needs, the terminal responds to the first operation, In addition to enabling the function of controlling the network search, a condition input box may also be displayed on the display screen 251. Users can enter corresponding information in the condition input box according to their own needs. 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 can display the user interface 410 on the display screen 251 in response to the operation of the user selecting the virtual option. The user interface 410 includes virtual buttons 411. The terminal can respond to The user's operation of the virtual button 411 turns on the function of controlling the network search. 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. The user can input a corresponding time range in the condition input box 412, for example, the time range between the departure time and the arrival time. When detecting that the starting time of the preset time range is reached, the terminal recognizes whether one or more applications installed by itself have received ticket order information. In some embodiments, if the terminal does not recognize that one or more of its installed applications has received ticket order information when the terminal reaches the start time of the preset time range, it may pop up a route-related information input box on the display screen 251. For example, the route-related information input box may be as shown in the input box 421 shown in FIG. 4b. So that the terminal can obtain the first route related information.
示例二: 终端检测到满足第二预设条件时, 在显示屏 251弹出路线相关信息输入框, 用户可以在路线相关信息输入框中输入用户规划好的出行路线信息(例如出行路线图、 车 票订单信息、 出现路线中某些关键地理位置信息或者第一路线信息等) , 然后终端根据用 户输入的路线相关信息获取第一路线信息。 有助于筒化终端获取路线信息的方式。 需要说 明的是, 终端根据用户输入的路线相关信息获取第一路线信息的具体实现方式, 可以参见 示例一中终端根据车次编号, 获取第一路线信息的具体实现方式, 在此不再赘述。 例如, 路线相关信息输入框可以为如图 4b所示的输入框 421。终端可以根据用户在输入框 421中 输入的信息, 例如出行路线图、 出现路线中某些关键地理位置信息或者第一路线信息等, 获取第一路线信息。 在一些实施例中, 终端可以当检测用户停止在输入框 421中输入信息 的时长达到预设时长时, 确定用户完成在输入框 421中的输入, 然后, 终端再根据用户在 输入框 421中输入的信息, 获取第一路线信息。 其中, 预设时长可以根据用户的需要进行 相应的设定, 也可以预先设置在终端中。 在另一些实施例中, 终端检测到满足第二预设条 件时, 在显示屏 251上除了显示输入框 421以外, 还可以在显示屏 251上显示按钮 422和 按钮 423。 终端可以响应于用户对按钮 422的操作, 确定用户完成在输入框 421中的输入。 应理解, 终端可以响应于用户选中按钮 423的操作, 通过另外的方式获取第一路线信息, 或者终端不再执行本申请实施例控制搜网的方法。 Example 2: When the terminal detects that the second preset condition is met, a route-related information input box pops up on the display screen 251, and the user can input the travel route information planned by the user in the route-related information input box (for example, travel route map, ticket order Information, some key geographic location information or first route information in the route appears), and then the terminal obtains the first route information according to the route-related information input by the user. It helps simplify the way the terminal obtains route information. It should be noted that the specific implementation manner for the terminal to obtain the first route information according to the route-related information input by the user may refer to the specific implementation manner for the terminal to obtain the first route information according to the train number in Example 1, which will not be repeated here. For example, the route-related information input box may be the input box 421 as shown in FIG. 4b. The terminal may obtain the first route information according to the information input by the user in the input box 421, such as a travel route map, some key geographic location information in the appearing route, or first route information, etc. In some embodiments, the terminal may determine that the user has completed the input in the input box 421 when it detects that the user has stopped inputting information in the input box 421 for a preset time period, and then, the terminal can then determine the user's input in the input box 421 according to the user's input Information to obtain the first route information. Among them, the preset duration can be set correspondingly according to the needs of the user, or can be preset in the terminal. In other embodiments, when the terminal detects that the second preset condition is met, in addition to displaying the input box 421 on the display screen 251, the button 422 and the button 423 may also be displayed on the display screen 251. In response to the user's operation of the button 422, the terminal may determine that the user has completed the input in the input box 421. It should be understood that the terminal may obtain the first route information in another manner in response to the user's operation of selecting the button 423, or the terminal may no longer execute the method for controlling the network search in the embodiment of the present application.
需要说明的是, 本申请实施例中, 第二预设条件可以为用户开启控制搜网的功能的操 作。 其中, 用户开启控制搜网的功能的操作的具体实现方式, 可以参见示例一中第一操作 的具体实现方式, 在此不再赘述。 第二预设条件还可以为终端的移动速度满足特定范围、 终端到达特定时刻、 或者终端检测到脱网时等, 在示例二中, 特定范围和特定时刻可以是 终端出厂之前预先设置的, 也可以是终端通过其它方式获取的。 以特定时刻为例, 终端可 以从备忘录、 提醒事项等应用程序中用户输入的相关信息中获取。 此外, 第二预设条件还 可以为用户开启控制搜网的功能后,终端的移动速度满足特定范围和 /或终端达到特定时刻 等。 It should be noted that, in this embodiment of the present application, the second preset condition may be an operation for the user to enable the function of controlling the network search. For the specific implementation manner of the operation for the user to turn on the function of controlling the network search, refer to the specific implementation manner of the first operation in Example 1, which is not repeated here. The second preset condition may also be that the moving speed of the terminal satisfies a specific range, the terminal arrives at a specific time, or the terminal detects that it is offline, etc. In Example 2, the specific range and specific time may be preset before the terminal leaves the factory. It can be obtained by the terminal in other ways. Taking a specific moment as an example, the terminal can obtain relevant information entered by the user in applications such as memos and reminders. In addition, the second preset condition may also enable the user to enable the function of controlling the network search, the moving speed of the terminal meets a specific range and/or the terminal reaches a specific moment, etc.
上述示例一和示例二仅为终端获取第一路线信息的具体实现方式的举例说明, 并不对 终端获取第一路线信息的方式进行限定。 The foregoing example 1 and example 2 are only examples of specific implementation manners for the terminal to obtain the first route information, and do not limit the manner in which the terminal obtains the first route information.
以图 2b所示的结构为例, 终端通过 AP获取第一路线信息。 Taking the structure shown in FIG. 2b as an example, the terminal obtains the first route information through the AP.
步骤 302, 终端根据第一路线信息, 从预先存储的至少一个路线的网络分布信息中, 获取用户实际出行的路线的网络分布信息。 其中, 至少一个路线的网络分布信息可以预先 存储在第二服务器中, 也可以预先存储在终端中。 本申请实施例中第一服务器和第二服务 器可以为同一服务器, 也可以为不同的服务器。 Step 302: According to the first route information, the terminal obtains network distribution information of the route actually traveled by the user from the network distribution information of at least one route stored in advance. Wherein, the network distribution information of the at least one route may be pre-stored in the second server, or pre-stored in the terminal. In the embodiment of the present application, 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 querying network distribution information to the second server according to the first route information, and the second server receives the request for querying network distribution information After the request, from the pre-stored network distribution information of at least one route, the network distribution information of the route actually traveled by the user is obtained, and then is issued to the terminal.
其中, 每个路线的网络分布信息用于指示该路线上的脱网分布情况。 示例的, 每个路 线的网络分布信息可以包括路线信息、 至少一个第一网络信息、 与每个第一网络信息对应 的区间信息。 至少一个第一网络信息中每个第一网络信息为终端在路线信息所指示的路线 上脱网时接入的小区的网络信息。 在一些实施例中, 每个路线的网络分布信息还包括与每 个第一网络信息对应的第二网络信息, 其中, 第二网络信息为终端在路线信息所指示的路 线上接入第一网络信息对应的小区脱网后, 恢复驻网时接入的小区的网络信息。 Among them, the network distribution information of each route is used to indicate the offline distribution of the route. For example, the network distribution information of each route may include route information, at least one piece of first network information, and section information corresponding to each first network information. Each first network information in the at least one piece of first network information is network information of a cell that the terminal accesses when offline on the 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 that the terminal accesses the first network on the route indicated by the route information After the cell corresponding to the information goes offline, restore the network information of the cell that was accessed when camping on the network.
本申请实施例中路线信息用于指示一个路线。 例如, 路线信息可以为车次编号、 预定 义的路线标识等。 以路线信息为预定义的路线标识为例, 例如, 互为方向相反的路线可以 对应同一个路线标识、 以及同一网络分布信息。 这种情况下, 路线的网络分布信息与路线 的方向无关。 例如, 从北京到上海的路线、和从上海到北京的路线互为方向相反的路线时, 从北京到上海的路线和从上海到北京的路线可以对应同一路线标识, 以及同一网络分布信 息。 如果路线的网络分布信息与路线的方向相关, 则互为方向相反的路线, 分别对应不同 的路线标识, 也就是说, 互为方向相反的路线的网络分布信息是不同的。 The route information in the embodiment of this application is used to indicate a route. For example, the route information can be a train number, a predetermined route identifier, and so on. Taking route information as a predefined route identifier as an example, for example, routes that are opposite to each other can correspond to the same route identifier and the same network distribution information. In this case, the network distribution information of the route has nothing to do with the direction of the route. For example, when the route from Beijing to Shanghai and the route from Shanghai to Beijing are mutually opposite directions, the route from Beijing to Shanghai and the route from Shanghai to Beijing can correspond to the same route identifier and the same network distribution information. If the network distribution information of the route is related to the direction of the route, the routes that are opposite to each other correspond to different route identifiers, that is, the network distribution information of the routes that are opposite to each other is different.
在本申请的一些实施例中, 第一网络信息可以包括第一小区标识 ( cell identification, cell ID )和与第一小区标识对应的公共移动陆地网络 ( public land mobile network, PLMN )。 与第一网络信息对应的第二网络信息可以包括第二小区标识、 和第二小区标识对应的 PLMN。 In some embodiments of the present application, the first network information may include a first cell identification (cell identification, cell ID) and a public land mobile 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.
此外, 在一些实施例中, 第一网络信息还可以包括网络信号强度、 和 /或网络状态等信 息。 具体的, 网络信号强度可以为 RSRP、 RSSI和 /或 RSRP等中的一个或多个。 网络状态用 于指终端处于脱网状态。 In addition, in some embodiments, the first network information may also include information such as network signal strength, and/or network status. Specifically, the network signal strength may be one or more of RSRP, RSSI, and/or RSRP. Network status is used to indicate that the terminal is offline.
本申请实施例中,与每个第一网络信息对应的区间信息可以包括节点信息、距离信息、 时长信息等中的一个或多个。 例如, 节点信息包括第一节点信息和第二节点信息, 其中, 第一节点信息用于指示终端接入与第一网络信息对应的小区时脱网的起始位置, 第二节点 信息用于指示终端在第一节点信息指示的位置脱网后, 恢复驻网的起始位置。 需要说明的 是, 终端在第一节点信息指示的位置脱网后, 恢复驻网的起始位置所接入的小区可以与终 端在第一节点信息时所接入的小区相同, 也可以不同。 本申请实施例中距离信息用于指示 终端在该路线上接入与第一网络信息对应的小区时脱网区间的距离。 时长信息用于指示终 端在该路线上接入与第一网络信息对应的小区时脱网的时长。 In the embodiment of the present application, the interval information corresponding to each first network information may include one or more of node information, distance information, and duration information. For example, the node information includes first node information and second node information, where the first node information is used to indicate the starting position of disconnection when the terminal accesses the cell corresponding to the first network information, and the second node information is used to indicate After the terminal goes offline at the location indicated by the first node information, it restores the starting location of the network. It should be noted that, after the terminal goes offline at the location indicated by the first node information, the cell accessed by resuming the starting position of the camping network may be the same or different from the cell accessed by the terminal when the first node information is used. In the embodiment of the present application, the distance information is used to indicate the distance of the offline interval when the terminal accesses the cell corresponding to the first network information on the route. The duration information is used to indicate the duration of offline when the terminal accesses the cell corresponding to the first network information on the route.
应理解, 在本申请实施例中, 通常情况下, 一个第一网络信息对应一个区间信息, 一 个第一网络信息对应一个第二网络信息, 但是, 一个第一网络信息也可以对应多个区间信 息或者多个第二网络信息。 而且不同的第一网络信息对应的区间信息可以是相同, 也可以 不同的。 其中, 第一网络信息对应的区间信息、 和第二网络信息的情况与实际部署网络设 备的情况相关, 也与生成网络分布信息的算法或规则相关。 It should be understood that, in the embodiments of the present application, generally, one piece of first network information corresponds to one piece of section information, and one piece of first network information corresponds to one piece of second network information, but one piece of first network information may also correspond to multiple pieces of section information. Or multiple second network information. Moreover, interval information corresponding to different first network information may be the same or different. Wherein, the interval information corresponding to the first network information and the situation of the second network information are related to the situation of actual deployment of network equipment, and also related to the algorithm or rule for generating network distribution information.
以图 5所示的路线 S为例。 其中, 节点 A为路线 S的起始节点, 节点 B为路线 S的结束节 点, 节点 C、 节点 D、 节点 E、 节点 F为路线 S的中间节点。 例如, 在节点 C之前终端接入小 区 1处于驻网状态, 节点 C为路线 S上终端接入小区 1时脱网的起始位置, 节点 D为路线 S上 终端在节点 C脱网后, 恢复驻网的起始位置, 终端在节点 D接入的小区为小区 2, 小区 2和小 区 1可以为同一小区, 也可以为不同的小区。 节点 C和节点 E之间终端处于驻网状态, 节点 E 为路线 S上终端接入小区 3时脱网的起始位置, 节点 F为路线 S上终端在节点 E脱网后, 恢复 驻网的起始位置。 终端在节点 F接入的小区为小区 4, 小区 4和小区 3可以为同一小区, 也可 以为不同的小区。 终端在节点 F之后处于驻网状态。 其中, 节点 C和节点 D之间的区间为路 线 S上的一个脱网区间, 节点 E和节点 F之间的区间为路线 S上的另一个脱网区间。 如果小区 标识 1和 PLMN1用于标识小区 1, 小区标识 2和 PLMN2用于标识小区 2, 小区标识 3和 PLMN3 用于标识小区 3, 小区标识 4和 PLMN4用于标识小区 4, 则路线 S的网络分布信息可以如表 1 所示。 Take the route S shown in Figure 5 as an example. Among them, node A is the start node of route S, node B is the end node of route S, and node C, node D, node E, and node F are intermediate nodes of route S. For example, before node C, the terminal accesses cell 1 and is in the on-line state, node C is the starting position of disconnection when the terminal on route S accesses cell 1, and node D is the terminal on route S after node C is disconnected. The starting position of the home network, the cell accessed by the terminal at node D is cell 2, and cell 2 and cell 1 may be the same cell or different cells. The terminal between node C and node E is on the network, and node E It is the starting position for the terminal on route S to go offline when it accesses cell 3, and the node F is the starting position for the terminal on route S to recover from the network after node E goes offline. The cell that the terminal accesses at node F is cell 4, and cell 4 and cell 3 may be the same cell or different cells. After node F, the terminal is in the network-resident state. Among them, the interval between the node C and the node D is an offline interval on the route S, and the interval between the node E and the node F is another offline interval 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, then the network of route S The distribution information can be as shown in Table 1.
表 1 Table 1
Figure imgf000016_0001
Figure imgf000016_0001
需要说明的是, 本申请实施例对路线的网络分布信息的格式不作限定, 上述仅为举例 说明。 It should be noted that the embodiment of the present application does not limit the format of the route network distribution information, and the foregoing is only an example.
具体的, 本申请实施例中终端可以基于下列方式在终端中预先存储至少一个路线的网 络分布信息: Specifically, in the embodiment of the present application, the terminal may pre-store the network distribution information of at least one route in the terminal based on the following manner:
方式一: 至少一个路线的网络分布信息可以是终端在出厂之前设置好的。 例如, 至少 一个路线的网络分布信息可以是相关人员通过测试得到的。 从而有助于筒化实现方式。 但 是虽然上述方式实现起来较为筒单, 但是灵活性较差。 Manner 1: The network distribution information of at least one route may be set by the terminal before leaving the factory. For example, the network distribution information of at least one route may be obtained by relevant personnel through tests. This helps simplify the implementation. However, although the above method is relatively simple to implement, it is less flexible.
方式二: 终端采集相关信息。 例如, 相关信息可以包括使用终端的用户的信息, 又例 如, 相关信息除了包括使用终端的用户的信息以外, 还可以其它用户的信息。 有助于提高 路线的网络分布信息的准确性。 示例的, 对于使用终端的用户的信息, 终端可以在用户使 用的过程中,采集用户出行时的路线信息、接入的小区的网络信息(例如小区标识、 PLMN、 网络信号强度等信息) 、 以及终端脱网时的位置信息、 终端脱网后恢复驻网的位置信息、 脱网区间的距离、 移动速度、 脱网时长等信息。 对于其他用户的信息, 终端可以从相关服 务器获取。 本申请实施例对采集相关信息的方式不作限定。 Method 2: The terminal collects relevant information. For example, the related information may include the information of the user who uses the terminal. For example, the related information may also include the information of other users in addition to the information of the user who uses the terminal. It helps to improve the accuracy of the route network distribution information. For example, for the information of the user who uses the terminal, the terminal may collect the route information of the user when the user travels and the network information of the cell accessed (for example, cell identity, PLMN, network signal strength, etc.), and Information about the location of the terminal when it is offline, the location information of the terminal when it is offline, the distance of the offline interval, the moving speed, and the duration of the offline. For other users' information, the terminal can obtain it from the relevant server. The embodiment of the present application does not limit the manner of collecting related information.
在一些实施例中, 终端可以通过事件性触发, 采集相关信息。 例如, 终端当从预先存 储的至少一个路线的网络分布信息中未查询到用户实际出行路线的网络分布信息时, 终端 在用户实际出行的路线上采集相关信息。 再例如, 终端可以在达到某一特定时刻时, 采集 相关信息。 特定时刻例如发车时刻、 用户设置的某一时刻。 再例如, 终端可以在检测到处 于特定场景, 例如高铁场景、 出行场景等时, 采集相关信息。 其中, 终端可以响应于用户 开启特定场景的操作, 确定处于特定场景。 终端检测到移动的速度满足预设条件, 确定处 于特定场景。 例如, 移动速度在第一预设范围内, 确定处于高铁场景。 再例如, 移动速度 在第二预设范围内, 确定处于地铁场景等。 又例如, 终端当预先存储的至少一个路线的网 络分布信息的存储时长超过设定时长时, 采集存储时长超过设定时长的网络分布信息对应 的路线的相关信息, 对预先存储的路线的网络分布信息进行更新, 有助于保持预先存储的 路线的网络分布信息的准确性。 本申请实施例对触发采集相关信息的方式不作限定。 In some embodiments, the terminal may be triggered by an event to collect related information. For example, when the terminal does not inquire about the network distribution information of the user's actual travel route from the pre-stored network distribution information of at least one route, the terminal collects relevant information on the user's actual travel route. For another example, the terminal may collect relevant information when a certain time is reached. The specific time is for example the departure time, a certain time set by the user. For another example, the terminal may collect relevant information when detecting that it is in a specific scene, such as a high-speed rail scene, a travel scene, etc. The terminal may determine that it is in the specific scene in response to the user's operation of starting the specific scene. The terminal detects that the speed of the movement meets a preset condition, and determines that it is in a specific scene. For example, if the moving speed is within the first preset range, it is determined that it is in a high-speed rail scene. For another example, if the moving speed is within the second preset range, it is determined that it is in a subway scene. For another example, when the terminal stores at least one route in advance, When the storage time of network distribution information exceeds the set time, collect the relevant information of the route corresponding to the network distribution information whose storage time exceeds the set time, and update the network distribution information of the pre-stored route, which helps to maintain the pre-stored route The accuracy of the network distribution information. The embodiment of the present application does not limit the manner of triggering the collection of related information.
然后, 终端才艮据采集的相关信息 (如终端的脱网区间信息、 网络信息) , 提取正态分 布, 得到该路线的网络分布信息, 并保存该路线的网络分布信息。 在一些实施例中, 终端 针对某一路线, 当在该路线上采集相关信息的次数达到设定的阈值时, 根据在该路线上采 集的多次相关信息, 得到该路线的网络分布信息。 在另一些实施例中, 终端当在某一路线 上采集了两次相关信息后, 根据这两次采集的相关信息, 得到该路线的网络分布信息, 然 后, 当用户继续在该路线上出行时, 终端在该路线上继续采集相关信息, 并根据再次采集 的相关信息, 更新上次得到的该路线的网络分布信息。 随着相关信息采集次数的增多, 得 到该路线的网络分布信息趋于稳定和准确, 终端当在该路线上采集相关信息的次数达到设 定的阈值时, 则保存该路线的网络分布信息。 Then, the terminal extracts the normal distribution based on the collected related information (such as the terminal's offline interval information, network information), obtains the network distribution information of the route, and saves the network distribution information of the route. In some embodiments, for a certain route, when the number of times that relevant information is collected on the route reaches a set threshold, the terminal obtains the network distribution information of the route according to multiple times of relevant information collected on the route. In other embodiments, after collecting relevant information twice on a certain route, the terminal obtains the network distribution information of the route according to the relevant information collected twice, and then, when the user continues to travel on the route , The terminal continues to collect relevant information on the route, and updates the network distribution information of the route obtained last time according to the relevant information collected again. As the number of collections of related information increases, the network distribution information obtained for the route tends to be stable and accurate. When the number of collections of related information on the route reaches a set threshold, the terminal saves the network distribution information of the route.
在一些实施例中, 终端从采集的相关信息中筛选出脱网时长大于预设阈值的脱网区 间, 根据这些脱网区间对应的网络信息等, 得到该路线的网络分布信息。 从而有助于降低 终端控制搜网的计算量。 预设阈值可以根据实际情况需要预先设置在终端中, 也可以由用 于设置, 例如 60秒、 2分钟等。 In some embodiments, the terminal screens out the disconnection zones whose disconnection duration is greater than a preset threshold from the collected relevant information, and obtains the network distribution information of the route according to the network information corresponding to these disconnection zones. This helps to reduce the amount of calculation for terminal control search. The preset threshold can be preset in the terminal according to actual needs, or can be used for setting, such as 60 seconds, 2 minutes, and so on.
需要说明的是, 本申请实施例中, 终端得到路线的网络分布信息后, 可以将该路线的 网络分布信息存储到存储器中, 例如内部存储器 221、 与外部存储器接口 222连接的外部存 储器、 或者调制解调器的缓存区等。 It should be noted that, in the embodiment of the present application, after the terminal obtains the network distribution information of the route, it can store the network distribution information of the route in a memory, such as internal memory 221, external memory connected to external memory interface 222, or modem Cache area, etc.
方式三: 如图 6所示, 为本申请实施例的又一种存储路线的网络分布信息的方法, 具 体包括以下步骤。 Manner 3: As shown in FIG. 6, another method for storing network distribution information of a route according to an embodiment of this application specifically includes the following steps.
步骤 601, 终端采集相关信息。 其中, 相关信息为使用该终端的用户的相关信息, 用 于指示终端在路线上接入网络的情况。 例如, 相关信息包括用户出行时的路线信息、 接入 小区的网络信息、 终端脱网时的位置信息、 终端脱网后恢复驻网的位置信息、 脱网区间的 距离、 终端脱网时的网络信息 (如小区标识、 PLMN等信息) 、 移动速度或者脱网时长等 信息。 Step 601: The terminal collects relevant information. Among them, the relevant information is the relevant information of the user who uses the terminal, which is used to indicate the status of the terminal accessing the network on the route. For example, the relevant information includes the route information when the user travels, the network information of the access cell, the location information of the terminal when it is offline, the location information of the terminal when it is offline, the distance of the disconnection interval, and the network when the terminal is offline. Information (such as cell identification, PLMN, etc.), moving speed, or offline duration.
其中, 终端触发采集相关信息的方式, 可以参见方式二中触发采集相关信息的方式, 在此不再赘述。 Among them, the manner in which the terminal triggers the collection of related information can be referred to the manner in which the terminal triggers the collection of related information in the second manner, which is not repeated here.
步骤 602, 终端向第二服务器发送相关信息。 Step 602: The terminal sends related information to the second server.
在一些实施例中, 终端确定用户同意将采集的相关信息上报给第二服务器后, 再执行 本申请实施例存储路线的网络分布信息的方法。 从而有助于满足用户知情的权利, 有效保 护用户的隐私。 In some embodiments, the terminal determines that the user agrees to report the collected related information to the second server, and then executes the method for storing network distribution information of the route in the embodiment of the present application. This helps to satisfy users' right to know and effectively protect users' privacy.
示例的, 终端可以响应于用户同意参与 “用户体验改进计划” 的操作, 确定用户同意 将采集的相关信息上报给第二服务器。 例如, 终端可以通过对系统设置界面的操作, 同意 参与 “用户体验改进计划” 。 系统设置界面包括至少一种功能的虚拟按钮或虚拟选项。 以 系统设置界面为图 7所示的用户界面 700为例。 用户界面 700包括虚拟选项 701。 终端可以响 应于对虚拟选项 701的操作, 在显示屏 251显示用户界面 710。 其中, 用户界面 710包括虚拟 选项 711和虚拟选项 712。 终端可以响应于用户选中虚拟选项 711, 同意参与 “用户体验改进 计划” 。 终端可以响应于用户选中虚拟选项 712, 预览用户体验改进计划的详细内容。 例 如, 用户同意参与 “用户体验改进计划” , 则终端视为用户同意向第二服务器上传相关信 息。 For example, in response to the user agreeing to participate in the operation of the “user experience improvement plan”, the terminal may determine that the user agrees to report the collected related information to the second server. For example, the terminal may agree to participate in the "User Experience Improvement Plan" by operating the system setting interface. The system setting interface includes virtual buttons or virtual options of at least one function. Take the system setting interface as the user interface 700 shown in FIG. 7 as an example. The user interface 700 includes virtual options 701. The terminal may display a user interface 710 on the display screen 251 in response to an operation on the virtual option 701. Among them, the user interface 710 includes a virtual option 711 and a virtual option 712. In response to the user selecting the virtual option 711, the terminal may agree to participate in the "user experience improvement plan". In response to the user selecting the virtual option 712, the terminal may preview the detailed content of the user experience improvement plan. For example, if the user agrees to participate in the "User Experience Improvement Plan", the terminal will consider that the user agrees to upload relevant information to the second server. Interest.
在另一些实施例中, 终端满足采集相关信息的触发条件后, 在显示屏 251上可以弹出 第一提示框, 其中第一提示框中包括第一提示信息、 同意按钮和拒绝按钮; 第一提示信息 用于提示用户是否同意向第二服务器上传相关信息。 示例的, 第一提示框可以如图 8所示 提示框 800。 其中, 提示框 800包括第一提示信息、 同意按钮 801和拒绝按钮 802。 在一些实 施例中, 终端还可以在设定时长之后未检测到用户选中同意按钮或拒绝按钮, 确定用户拒 绝终端向第二服务器上传相关信息, 或者确定用户同意终端向第二服务器上传相关信息。 例如, 设定时长可以为 5s、 6s等。 In other embodiments, after the terminal meets the trigger condition for collecting related information, a first prompt box may pop up on the display screen 251, where the first prompt box includes the first prompt information, the agree button, and the reject button; the first prompt The information is used to prompt the user whether to agree to upload relevant information to the second server. For example, the first prompt box may be a prompt box 800 as shown in FIG. 8. Wherein, the prompt box 800 includes the first prompt message, an agree button 801 and a reject button 802. In some embodiments, the terminal may also not detect that the user selects the consent button or the reject button after the set time period, to determine that the user refuses the terminal to upload relevant information to the second server, or confirm that the user agrees to the terminal to upload relevant information to the second server. For example, the setting time can be 5s, 6s, etc.
步骤 603, 第二服务器接收到终端发送的相关信息后, 可以根据终端发送的相关信息, 得到至少一个路线的网络分布信息。 Step 603: After receiving the related information sent by the terminal, the second server may obtain network distribution information of at least one route according to the related information sent by the terminal.
在方式三中, 由于是由第二服务器根据终端发送的相关信息, 得到至少一个路线的网 络分布信息的, 因此, 第二服务器可以根据来自多个终端的相关信息, 得到至少一个路线 的网络分布信息, 有助于提高得到的至少一个路线的网络分布信息的可靠性, 降低终端的 数据处理量。 In the third method, since the second server obtains the network distribution information of at least one route according to the related information sent by the terminal, the second server can obtain the network distribution information of at least one route according to the related information from multiple terminals. The information helps to improve the reliability of the obtained network distribution information of at least one route, and reduces the data processing volume of the terminal.
在一些实施例中, 第二服务器根据多个终端发送的同一路线的相关信息, 筛选出该路 线上脱网时长大于预设阈值的脱网区间, 然后第二服务器根据这些脱网区间对应的网络信 息等, 得到该路线的网络分布信息。 对于那个脱网时长小于预设阈值的脱网区间, 不再记 录在该路线的网络分布信息中。 从而有助于降低终端控制搜网的计算量。 预设阈值可以根 据实际情况需要预先设置在终端中, 也可以由用于设置, 例如 60秒、 2分钟等。 In some embodiments, the second server screens out the disconnection intervals on the route whose disconnection duration is greater than a preset threshold according to related information of the same route sent by multiple terminals, and then the second server selects the network corresponding to these disconnection intervals according to the Information, etc., to obtain the network distribution information of the route. For the disconnection interval whose disconnection duration is less than the preset threshold, it will not be recorded in the network distribution information of the route. This helps to reduce the amount of calculation for the terminal to control the search network. The preset threshold may be preset in the terminal according to actual needs, or may be used to set, for example, 60 seconds, 2 minutes, etc.
示例的, 第二服务器可以根据终端上报的相关信息中的网络信号强度, 确定终端所处 的网络状态。或者, 第二服务器还可以从终端上报的相关信息中获取终端所处的网络状态。 其中, 终端所处的网络状态指的是终端处于脱网状态还是处于驻网状态。 For example, the second server may determine the network state where the terminal is located according to the network signal strength in the related information reported by the terminal. Alternatively, the second server may also obtain the network state where the terminal is located from related information reported by the terminal. Among them, the network state where the terminal is located refers to whether the terminal is in an offline state or a network-based state.
步骤 604, 第二服务器向终端发送至少一个路线的网络分布信息。 Step 604: The second server sends network distribution information of at least one route to the terminal.
在一些实施例中, 第二服务器可以在得到至少一个路线的网络分布信息后, 主动向满 足要求的终端发送至少一个路线的网络分布信息。 例如, 满足要求的终端可以为型号为特 定型号的终端。 再例如, 满足要求的终端还可以为开启了控制搜网功能的终端。 其中, 终 端开启控制搜网功能的方式可参见上述实施例的相关介绍。 又例如, 满足要求的终端还可 以为参加了 “用户体验改进计划” 的终端。 本申请实施例对满足要求的终端的具体实现方 式不作限定。 In some embodiments, after obtaining the network distribution information of the at least one route, the second server may actively send the network distribution information of the at least one route to the terminal meeting the requirements. For example, the terminal that meets the requirements may be a terminal of a specific model. For another example, the terminal that meets the requirements may also be a terminal that has a function of controlling network search enabled. For the manner in which the terminal turns on the control search function, refer to the related introduction of the foregoing embodiment. For another example, a terminal that meets the requirements can also be regarded as a terminal that has participated in the "User Experience Improvement Program." The embodiment of the present application does not limit the specific implementation mode of the terminal that meets the requirements.
在一些实施例中, 第二服务器还可以响应于接收到终端发送的获取路线的网络分布信 息的请求, 向终端发送请求的路线的网络分布信息或者包括请求的路线的网络分布信息在 内的至少两个路线的网络分布信息。 示例的, 终端可以在获取第一路线信息后, 向第二服 务器发送获取用户实际出行的路线的网络分布信息请求。 由第二服务器将根据第一路线信 息查找到的用户实际出行的路线的网络分布信息下发给终端。 在另一些实施例中, 第二服 务器当未查询到终端请求的路线的网络分布信息时, 可以向终端发送请求失败的通知。 或 者, 第二服务器当未查询到终端请求的路线的网络分布信息时, 继续接收终端发送的采集 的相关信息。 In some embodiments, the second server may also, in response to receiving a request from the terminal to obtain network distribution information of the route, send to the terminal the network distribution information of the requested route or at least the network distribution information including the requested route. Network distribution information for the two routes. For example, after obtaining the first route information, the terminal may send a network distribution information request for obtaining the actual route of the user to the second server. The second server sends the network distribution information of the actual travel route of the user found according to the first route information to the terminal. In other embodiments, the second server may send a request failure notification to the terminal when it does not find the network distribution information of the route requested by the terminal. Or, when the second server does not find the network distribution information of the route requested by the terminal, it continues to receive the collected related information sent by the terminal.
步骤 605, 终端接收到第二服务器发送的至少一个路线的网络分布信息后, 保存至少 一个路线的网络分布信息。 Step 605: After receiving the network distribution information of the at least one route sent by the second server, the terminal saves the network distribution information of the at least one route.
在另一些实施例中, 第二服务器还可以在执行步骤 603, 得到至少一个路线的网络分 布信息后, 向终端发送路线的网络分布信息的下载或更新提示。 终端接收到路线的网络分 布信息的下载或更新提示后, 在显示屏 251显示第二提示框, 其中第二提示框包括第二提 示信息、 第一虚拟按钮和第二虚拟按钮。 终端可以响应于用户对第一虚拟按钮的操作, 从 第二服务器下载至少一个路线的网络分布信息, 并保存至少一个网络分布信息。 终端可以 响应于对第二虚拟按钮的操作, 拒绝从第二服务器下载至少一个路线的网络分布信息。 示 例的, 第二提示框可以如图 9所示的提示框 900, 提示框 900包括第二提示信息、 第一虚拟 按钮 901和第二虚拟按钮 902, 其中第一虚拟按钮 901可以命名为 “马上更新” 、 “同意更 新” 、 “马上下载” “同意” 等, 第二虚拟按钮 902可以命名为 “下次再说” 、 “拒绝本 次更新,, “拒绝” 等, 本申请实施例对第一虚拟按钮和第二虚拟按钮 902的命名不作限定。 In other embodiments, the second server may also perform step 603 to obtain the network score of at least one route. After distributing the information, a download or update prompt of the network distribution information of the route is sent to the terminal. After receiving the download or update prompt of the route network distribution information, 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. In response to the operation of the second virtual button, the terminal may refuse to download the network distribution information of the at least one route from the second server. For example, the second prompt box may be a prompt box 900 as shown in FIG. 9. The prompt box 900 includes second prompt information, a first virtual button 901, and a second virtual button 902. The first virtual button 901 may be named "Immediately "Update", "Agree to Update", "Download Now", "Agree", etc., the second virtual button 902 can be named "I'll talk next time", "Reject this update,""Reject", etc. The embodiments of this application compare the first The naming of the virtual button and the second virtual button 902 is not limited.
以图 2a和图 2b所示的结构为例, 终端可以通过无线通信模块 232或者移动通信模块 231 接收第二服务器发送的至少一个路线的网络分布信息, 然后无线通信模块 232或者移动通 信模块 231将至少一个路线的网络分布信息发送给调制解调器, 由调制解调器对无线通信 模块 232或移动通信模块 231接收到的至少一个路线的网络分布信息解调为低频基带信号, 然后发送给 AP, AP将至少一个路线的网络分布信息按照预设格式存储到存储器中 (例如 内部存储 221、 或者与外部存储器接口 222连接的外部存储器等) 。 Taking the structure shown in FIGS. 2a and 2b as an example, the terminal may receive the network distribution information of at least one route sent by the second server through the wireless communication module 232 or the mobile communication module 231, and then the wireless communication module 232 or the mobile communication module 231 will The network distribution information of at least one route is sent to the modem. The modem demodulates the network distribution information of 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 it to the AP, and the AP transfers the at least one route The network distribution information of is stored in the storage according to a preset format (for example, the internal storage 221, or an external storage connected to the external storage interface 222, etc.).
需要说明的是, 本申请上述实施例中涉及的第一服务器和第二服务器可以为同一服务 器, 也可以为不同的服务器。 It should be noted that the first server and the second server involved in the foregoing embodiments of the present application may be the same server, or may be different servers.
在另一些实施例中, 第二服务器当再次得到至少一个路线的网络分布信息后, 还可以 将再次得到的至少一个路线的网络分布信息发送给终端, 以使得终端能够根据再次得到的 至少一个路线的网络分布信息, 更新已存储的路线的网络分布信息。 从而有助于提高终端 的存储的路线的网络分布信息的准确性。 In other embodiments, after obtaining the network distribution information of the at least one route again, the second server may also send the network distribution information of the at least one route obtained again to the terminal, so that the terminal can according to the at least one route obtained again Update the network distribution information of the stored route. This helps to improve the accuracy of the network distribution information of the route stored in the terminal.
步骤 303, 终端当检测到脱网时, 判断用户实际出行的路线的网络分布信息包括的至 少一个第一网络信息中是否包括当前接入的小区的网络信息, 若是则执行步骤 304, 否则 继续检测终端是否脱网, 当脱网时返回执行步骤 303。 在一些实施例中, 终端当检测当前 接入的小区为用户实际出行路线上的接入的最后一个小区时、 或者终端检测到到达到站时 刻 (其中到站时刻可以是用户预先设置的, 也可以是终端从某一个或多个应用程序的信息 中获取到的)等, 如果终端没有脱网, 则本流程结束, 如果终端脱网了, 则在执行完步骤 305后本流程结束。 In step 303, when the terminal detects that it is offline, it determines whether the network distribution information of the route that the user actually travels includes the network information of the cell currently accessed in the at least one piece of first network information, if yes, execute step 304, otherwise continue to detect Whether the terminal is offline, return to step 303 when it is offline. In some embodiments, when the terminal detects that the currently accessed cell is the last cell accessed on the user's actual travel route, or the terminal detects the arrival time (the arrival time may be preset by the user, or It may be obtained by the terminal from the information of one or more application programs), etc. If the terminal is not offline, the process ends, and if the terminal is offline, the process ends after performing step 305.
需要说明的是, 本申请实施例中, 终端当判断用户实际出行的路线的网络分布信息包 括的至少一个第一网络信息中包括当前接入的小区的网络信息时, 则控制不进行搜网, 以 及执行步骤 304。 此外, 终端也可以当检测到脱网时, 控制不进行搜网, 先判断用户实际 出行的路线的网络分布信息包括的至少一个第一网络信息中是否包括当前接入的小区的 网络信息, 若是则执行步骤 304。 在一些实施例中, 当用户实际出行的路线的网络分布信 息包括的至少一个第一网络信息中不包括当前接入的小区的网络信息时, 则可以开始进行 搜网。 It should be noted that, in the embodiment of the present application, when the terminal determines that the network distribution information of the route that the user actually travels includes at least one of the first network information including the network information of the cell currently accessed, it controls not to search the network. And step 304 is executed. In addition, the terminal may also control not to search the network when detecting that it is offline, and first determine whether the network information of the currently accessed cell is included in the network distribution information of the actual route of the user. Step 304 is executed. In some embodiments, when the network distribution information of the actual travel route of the user includes at least one piece of first network information that does not include the network information of the cell currently accessed, the network search can be started.
具体的, 终端可以通过检测小区的网络信号强度是否小于判决门限, 来检测终端是否 脱网的。 例如, 终端可以在用户实际出行的路线上每隔预设时长检测终端是否脱网, 也可 以实时检测终端是否脱网, 还可以在检测到终端向网络设备请求通信或数据时, 检测终端 是否脱网。 需要说明的是, 本申请实施例中的, 判决门限、 预设时长可以是根据实际需求 设定的。 以第一网络信息为小区标识和与小区标识对应的 PLMN为例, 例如, 终端预先存储的 用户实际出行路线的网络分布信息包括的第一网络信息中包括 cell ID 1、 与 cell ID 1对应的 PLMN 1、 cell ID2、 与 cell ID2对应的 PLMN2, 终端当前接入的小区的网络信息包括 cell ID1 和 PLMN1 , 则终端已存储的第一网络信息中包括当前接入的小区的网络信息。 Specifically, the terminal can detect whether the terminal is offline by detecting whether the network signal strength of the cell is less than the judgment threshold. For example, the terminal can detect whether the terminal is offline every preset time on the actual travel route of the user, and can also detect whether the terminal is offline in real time. It can also detect whether the terminal is offline when it detects that the terminal requests communication or data from the network device. network. It should be noted that, in the embodiment of the present application, the judgment threshold and the preset duration may be set according to actual needs. Taking the first network information as the cell identifier and the PLMN corresponding to the cell identifier as an example, for example, the network distribution information of the user's actual travel route pre-stored by the terminal includes the first network information including cell ID 1 and cell ID 1. PLMN 1, cell ID2, PLMN2 corresponding to cell ID2, the network information of the cell currently accessed by the terminal includes cell ID1 and PLMN1, and the first network information stored by the terminal includes the network information of the currently accessed cell.
另外, 需要说明的是, 终端在用户实际出行的路线上还可能会出现断网, 以图 5所示 的路线 S为例。 例如, 终端从节点 A开始接入小区 1, 到节点 C断网, 直至到节点 C在节点 C 到节点 D之间如果断网, 则终端在从节点 C开始未接入小区, 直至到节点 D接入小区 2。 也 就是说, 终端在节点 C到节点 D之间是断网的。本申请实施例控制搜网的方法也可以应用于 该种场景, 但是, 当终端检测到断网时, 判断用户实际出行的路线的网络分布信息中的至 少一个网络信息是否包括当前接入的小区的网络信息, 其中当前接入的小区的网络信息指 的是终端在节点 C断网之前最近一次接入的小区。 In addition, it should be noted that the terminal may also be disconnected on the actual travel route of the user. Take the route S shown in FIG. 5 as an example. For example, the terminal starts to access cell 1 from node A to node C and disconnects from the network until node C is disconnected from node C to node D. If the terminal is disconnected from node C to node D, the terminal does not access the cell from node C until it reaches node D Access to cell 2. In other words, the terminal is disconnected from node C to node D. The method of controlling network search in the embodiment of the present application can also be applied to this kind of scenario, but when the terminal detects that the network is disconnected, it is judged whether at least one piece of network information in the network distribution information of the user's actual travel route includes the cell currently accessed The network information of the cell currently accessed refers to the cell that the terminal accessed most recently before the node C disconnected from the network.
步骤 304, 终端根据预先存储的用户实际出行路线的网络分布信息, 确定目标时长, 其中, 目标时长用于指示与当前接入的小区的网络信息对应的控制实际不进行搜网的时 长。 例如, 目标时长可以理解为, 从终端检测到在当前接入的小区脱网开始的一段时间, 终端在这段时间内停止搜网。 Step 304: The terminal determines the target duration according to the pre-stored network distribution information of the user's actual travel route, where the target duration is used to indicate the time period during which the control corresponding to the network information of the currently accessed cell does not actually perform network search. For example, the target duration can be understood as a period of time after the terminal detects that the cell currently accessed is offline, and the terminal stops searching the network during this period of time.
其中, 预先存储的用户实际出行路线的网络分布信息包括路线信息、 至少一个第一网 络信息、 与每个第一网络信息对应的区间信息。 终端可以基于下列方式确定当前接入的小 区的脱网时长: The pre-stored network distribution information of the user's actual travel route includes route information, at least one piece of first network information, and section information corresponding to each first network information. The terminal can determine the offline duration of the cell currently accessed based on the following methods:
终端从预先存储的用户实际出行路线的网络分布信息中, 确定与当前接入的小区的网 络信息对应的区间信息, 然后终端 4艮据确定的与当前接入的小区的区间信息, 确定目标时 长。 The terminal determines the interval information corresponding to the network information of the currently accessed cell from the pre-stored network distribution information of the actual travel route of the user, and then the terminal determines the target duration according to the determined interval information of the currently accessed cell .
例如, 已存储的用户实际出现的路线的网络分布信息中包括的当前接入的小区的网络 信息对应区间信息包括第一节点信息和第二节点信息, 则终端可以 4艮据第一节点信息和第 二节点信息确定脱网区间的距离, 以及获取终端移动的实时速度; 才艮据确定的脱网区间的 距离和获取的终端的实时移动速度, 确定目标时长。 其中, 目标时长为脱网区间的距离与 终端的实时移动速度的比值。 For example, if the network information corresponding to the currently accessed cell included in the stored network distribution information of the route where the user actually appears includes the first node information and the second node information, the terminal may use the first node information and The second node information determines the distance of the offline interval and acquires the real-time speed of the terminal movement; and then determines the target duration according to the determined distance of the offline interval and the acquired real-time movement speed of the terminal. Among them, the target duration is the ratio of the distance of the offline interval to the real-time moving speed of the terminal.
以图 2b所示的结构为例, 终端可以通过通用智能传感集线器 ( Sensor hub )获取加速度 传感器 260A采集终端移动的加速度, 然后由通用智能传感集线器根据获取的加速度, 按照 预设算法, 确定终端的实时移动速度。 例如, 实时移动速度为 V, 初始速度为 V0, 加速度 为 a, 则 =¥0+&1, 其中 t为终端移动的时间。 其中, 初始速度 V0可以预先设置为 0, 当通用 智能传感集线器当加速度发生变化时,初始速度 V0为基于上次采集到的加速度最后确定的 实时速度。 通用智能传感器将确定的终端的实时移动速度发送给调制解调器, 由调制解调 器才艮据脱网区间的距离和获取的终端的实时移动速度, 确定目标时长。 其中, 目标时长为 脱网区间的距离与终端的实时移动速度的比值。 Taking the structure shown in Figure 2b as an example, the terminal can acquire the acceleration sensor 260A through the universal smart sensor hub (Sensor hub) to collect the acceleration of the terminal movement, and then the universal smart sensor hub determines the acceleration according to the acquired acceleration according to the preset algorithm The real-time moving speed of the terminal. For example, if the real-time moving speed is V, the initial speed is V0, and the acceleration is a , then =¥0+&1, where t is the time for the terminal to move. The initial velocity V0 can be preset to 0. When the acceleration of the universal smart sensor hub changes, the initial velocity V0 is the real-time velocity finally determined based on the acceleration collected last time. The general smart sensor sends the determined real-time moving speed of the terminal to the modem, and the modem determines the target duration according to the distance of the offline interval and the acquired real-time moving speed of the terminal. Among them, the target duration is the ratio of the distance of the offline interval to the real-time moving speed of the terminal.
再例如, 预先存储的用户实际出行的路线的网络分布信息中包括的当前接入的小区的 网络信息对应区间信息包括脱网区间的距离信息, 与区间信息包括第一节点信息和第二节 点信息为时确定在当前接入的小区的脱网时长的方法类似, 只是, 当区间信息包括脱网区 间的距离信息时, 终端可以无需再计算脱网区间的距离。 For another example, the network distribution information of the currently accessed cell included in the pre-stored network distribution information of the user's actual travel route includes interval information corresponding to distance information of the offline interval, and interval information includes first node information and second node information The method for determining the offline duration of the currently accessed cell is similar, except that when the interval information includes the distance information of the offline interval, the terminal does not need to calculate the distance of the offline interval.
又例如, 预先存储的用户实际出行的路线的网络分布信息中包括的当前接入的小区的 网络信息对应区间信息包括脱网时长, 则终端确定目标时长为预先存储的用户实际出行的 路线的网络分布信息中与当前接入的小区的网络信对应的脱网时长。 有助于筒化实现方 式。 For another example, the pre-stored network distribution information of the user's actual travel route includes the interval information corresponding to the network information of the currently accessed cell including the offline duration, and the terminal determines that the target duration is the pre-stored user's actual travel duration. The offline duration corresponding to the network information of the currently accessed cell in the network distribution information of the route. Help simplify the implementation.
此外, 预先存储的用户实际出行的路线的网络分布信息中包括的当前接入的小区的网 络信息对应区间信息除了包括节点信息、 和 /或脱网区间的距离信息, 还包括脱网时长时, 其中, 节点信息包括第一节点信息和第二节点信息; In addition, the pre-stored network distribution information of the user's actual travel route includes the network information corresponding to the currently accessed cell, in addition to node information and/or distance information of the offline interval, and also includes the offline duration, Wherein, the node information includes first node information and second node information;
终端可以基于下列方式确定在当前接入的小区的脱网时长: The terminal can determine the offline duration of the cell currently accessed based on the following methods:
终端才艮据节点信息或者脱网区间的距离信息, 确定脱网时长 T1 , 其中, 脱网时长 T1的 确定方式可以参见上述实施例中才艮据第一节点信息和第二节点信息、 或者相 4居脱网区间的 距离信息确定目标时长的相关介绍, 在此不再赘述。 然后终端确定目标时长为脱网时长 T1 与预先存储的用户实际出行的路线的脱网信息包括的与当前接入的网络信息对应的脱网 时长 T2中的较小值, 从而有助于提高确定脱网时长的可靠性。 The terminal determines the offline duration T1 according to the node information or the distance information of the offline interval. For the method for determining the offline duration T1, refer to the above-mentioned embodiment according to the first node information and the second node information, or the corresponding The related introduction of determining the target duration by the distance information of the 4-bed offline interval will not be repeated here. Then the terminal determines that the target duration is the smaller of the offline duration T1 and the pre-stored offline information of the user's actual travel route including the offline duration T2 corresponding to the currently connected network information, thereby helping to improve the determination. Reliability of offline duration.
步骤 305, 终端经过确定的目标时长后, 开始进行搜网。 Step 305: After the terminal has passed the determined target duration, it starts to search the network.
在一些实施例中, 终端经过步骤 304确定的目标时长后, 确定终端在目标时长内实际 移动的距离, 然后判断终端在目标时长内实际移动的距离是否不小于预先存储的用户实际 出行路线的网络分布信息包括当前接入的小区的脱网区间的距离,若是,则终端进行搜网, 否则, 终端可以继续停止搜网。 从而有助于降低终端搜网的次数。 In some embodiments, after the terminal has passed the target duration determined in step 304, it determines the actual distance traveled by the terminal within the target duration, and then determines whether the actual travel distance of the terminal within the target duration is not less than the pre-stored network of the user's actual travel route The distribution information includes the distance of the offline interval of the cell currently accessed. If it is, the terminal searches the network; otherwise, the terminal can continue to stop the network search. This helps reduce the number of terminal searches.
在另一些实施例中, 终端中预先存储的用户实际出行路线的网络分布信息还包括与每 个第一网络信息对应的第二网络信息时, 终端执行步骤 305之后, 获取到特定网络信息, 可以先判断预先存储的用户实际出行的路线的网络分布信息包括的与当前接入的小区的 网络信息对应的第二网络信息是否包括特定网络信息, 如果包括特定网络信息, 则终端根 据特定网络信息接入到相应的网络、并驻网。从而有助于提高终端接入网络成功的可能性。 在又一些实施例中, 终端当预先存储的用户实际出行的路线的网络分布信息包括的与当前 接入的小区的网络信息对应的第二网络信息不包括特定网络信息, 可以继续进行搜网。 In other embodiments, when the network distribution information of the user's actual travel route pre-stored in the terminal further includes the second network information corresponding to each first network information, after the terminal performs step 305, it obtains the specific network information, First, determine whether the pre-stored network distribution information of the user’s actual travel route includes the second network information corresponding to the network information of the cell currently accessed, including specific network information. If the specific network information is included, the terminal will connect according to the specific network information. Connect to the corresponding network and parallel to the network. This helps to increase the possibility of the terminal accessing the network successfully. In still other embodiments, when the pre-stored network distribution information of the user's actual travel route includes the second network information corresponding to the network information of the cell currently accessed, the terminal may continue to search the network.
以图 2b所示的架构为例对本申请实施例控制搜网的方法进行详细说明。应用处理器 AP 当满足某一触发条件 (可以参见触发终端执行步骤 301的条件的实现方式) 时, 将内部存 储器 221中存储的至少一个路线的网络分布信息, 存储到第一缓存区, 调制解调器获取第 一路线信息, 示例的, 本申请示例中调制解调器可以通过 AP获取第一路线信息。 然后调制 解调器根据第一路线信息, 从第一缓存区中存储的至少一个路线的网络分布信息中查询用 户实际出行的路线的网络分布信息, 以及从 Sensor hub获取终端的实时移动速度,并计算脱 网时长 T1。调制解调器比较脱网时长 T1和用户实际出行的路线的网络分布信息中包括的与 当前接入的小区的网络信息对应的脱网时长 T2,将 T1和 T2中取值较小的值作为终端停止搜 网的时长, 也就是目标时长。 以 T1为 T1和 T2中较小的值为例, 调制解调器控制终端在 T1 内停止搜网, 当经过 T1后, 调制解调器控制终端开始进行搜网。 其中, 本申请实施例中, 调制解调器执行查询路线的网络分布信息、 计算脱网时长、 以及搜网等使得终端恢复驻网 的过程中, AP可以处于休眠状态, 有助于节省终端功耗。 此外, 本申请实施例中由于控制 搜网的方法无需进行实时定位, 因此有助于进一步节省功耗, 延长在出行过程中终端的待 机时间, 提高用户体验。 Taking the architecture shown in FIG. 2b as an example, the method for controlling the network search in the embodiment of the present application will be described in detail. When a certain trigger condition is met (see the implementation of triggering the terminal to execute the condition of step 301), the application processor AP stores the network distribution information of at least one route stored in the internal memory 221 in the first buffer area, and the modem obtains The first route information, for example, in the example of this application, the modem may obtain the first route information through the AP. Then, according to the first route information, the modem queries the network distribution information of the user's actual travel route from the network distribution information of at least one route stored in the first buffer area, and obtains the real-time mobile speed of the terminal from the Sensor hub, and calculates the disconnection Duration T1. The modem compares the offline time T1 with the offline time T2 corresponding to the network information of the cell currently accessed in the network distribution information of the actual travel route of the user, and uses the smaller value of T1 and T2 as the terminal to stop searching. The duration of the network is the target duration. Taking T1 as an example, the smaller value of T1 and T2, the modem control terminal stops searching the network in T1, and after passing T1, the modem control terminal starts to search the network. Among them, in the embodiment of the present application, the modem executes the network distribution information of the route query, the calculation of the offline duration, and the network search, etc., so that the AP can be in a dormant state when the terminal is restored to the network, which helps to save the power consumption of the terminal. In addition, in the embodiment of the present application, since the method of controlling the network search does not need to perform real-time positioning, it helps to further save power consumption, prolong the standby time of the terminal during travel, and improve user experience.
本申请实施例中, 由于终端能够预先存储至少一个路线的网络分布信息, 从而使得终 端当检测到脱网后, 控制终端先不进行搜网, 而是先根据网络分布信息, 例如当前接入的 小区, 确定目标时长, 并在经过目标时长后在进行搜网, 避免了终端在脱网后频繁搜网, 从而有助于提高终端搜网效率的同时, 节省终端的功耗。 In the embodiment of the present application, since the terminal can pre-store the network distribution information of at least one route, so that when the terminal detects that it is offline, the control terminal does not perform network search first, but first based on the network distribution information, such as the currently connected In the community, the target duration is determined, and the network is searched after the target duration has passed, which avoids frequent network searches after the terminal is offline, This helps to improve the efficiency of the terminal's network search while saving the power consumption of the terminal.
此外, 在又一些实施例中, 终端执行步骤 304之后, 还可以提示用户预计的脱网时长, 有助于用户合理安排时间。 例如终端可以在确定在当前接入的小区的脱网时长后, 在显示 屏 251显示第三提示框, 其中, 第三提示框中包括第三提示信息, 第三提示信息用于提示 用户经过第一时长后终端重新接入网络。 第一时长为终端在当前接入的小区的脱网时长。 再例如, 终端还可以通过扬声器 240A向用户播放语音提示信息, 该语音提示信息用于提示 用户经过第一时长后终端重新接入网络。 又例如, 终端还可以在负一屏显示通知信息, 该 通知信息用于提示预计的脱网时长, 例如如图 10所示, 终端在显示屏 251上显示负一屏 1000, 负一屏包括提示框 1001 , 提示框 1001包括用于提示脱网时长的提示信息, 例如提示 信息为 2: 50开始脱网, 预计到 3:05恢复驻网等。 In addition, in some other embodiments, after performing step 304, the terminal may also prompt the user of the estimated offline time, which helps the user to arrange time reasonably. For example, the terminal may display a third prompt box on the display screen 251 after determining the offline duration of the cell currently accessed, where the third prompt box includes third prompt information, and the third prompt information is used to prompt the user to pass the first prompt. After a long time, the terminal reconnects to the network. The first duration is the offline duration of the terminal in the cell currently accessed. For another example, the terminal may also play voice prompt information to the user through the speaker 240A, and the voice prompt information is used to prompt the user to reconnect to the network after the first time period has elapsed. For another example, the terminal may also display notification information on the negative screen, and the notification information is used to prompt the estimated offline time. For example, as shown in FIG. 10, the terminal displays a negative screen 1000 on the display screen 251, and the negative screen includes a prompt Box 1001, the prompt box 1001 includes prompt information for prompting the duration of disconnection, for example, the prompt message is that the disconnection starts at 2:50, and the network station is expected to resume at 3:05.
在本申请的另外一些实施例中, 终端执行步骤 302后, 还可以根据确定的用户实际出 行路线的网络分布信息, 生成用户实际出行路线的脱网分布地图, 并在显示屏 251显示用 户实际出行路线的脱网分布地图。 其中脱网分布地图中可以包括用户实际出行路线中脱网 区间的起始位置、 结束位置以及脱网时长等信息。 从而有助于用户提前规划使用终端的时 间, 例如在火车上安排电话会议等, 提升用户体验。 In some other embodiments of the present application, after performing step 302, the terminal may also generate an offline distribution map of the user's actual travel route based on the determined network distribution information of the user's actual travel route, and display the actual travel of the user on the display screen 251 The offline distribution map of the route. The offline distribution map may include information such as the starting position, ending position, and offline duration of the offline interval in the user's actual travel route. This helps users plan the time to use the terminal in advance, such as arranging a conference call on the train, and enhance the user experience.
在一些实施例中, 本申请实施例中终端根据第一路线信息, 若从预先存储的至少一个 路线的网络分布信息中, 未查找到用户实际出行的路线的网络分布信息, 终端可以采用现 有方式进行搜网, 例如, 终端未查找到用户实际出行的路线的脱网信息, 可以进行搜网, 也可以基于终端的定位信息进行搜网, 对此不作限定。 In some embodiments, according to the first route information, if the terminal does not find the network distribution information of the route where the user actually travels from the pre-stored network distribution information of at least one route, the terminal may use the existing route information. For example, if the terminal does not find the offline information of the user's actual travel route, the network may be searched, or the network may be searched based on the location information of the terminal, which is not limited.
上述各个实施例可以单独使用, 也可以相互结合使用, 以实现不同的技术效果。 The foregoing embodiments can be used alone or in combination with each other to achieve different technical effects.
上述本申请提供的实施例中, 从终端作为执行主体的角度对本申请实施例提供的方法 进行了介绍。 为了实现上述本申请实施例提供的方法中的各功能, 终端可以包括硬件结构 和 /或软件模块,以硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各功能。 上述各功能中的某个功能以硬件结构、软件模块、还是硬件结构加软件模块的方式来执行, 取决于技术方案的特定应用和设计约束条件。 In the above-mentioned embodiments provided in the present application, the method provided in the embodiments of the present application is introduced from the perspective of the terminal as the execution subject. In order to implement the functions in the methods provided in the above embodiments of the present application, the terminal may include a hardware structure and/or a software module, and the above functions are implemented in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether a certain function among the above-mentioned functions is executed by a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraint conditions of the technical solution.
如图 11所示, 本申请实施例公开了一种终端 1100, 该终端 1100可以包括: 一个或多 个处理器 1101、 存储器 1102。 在一些实施例中, 上述各器件可以通过一个或多个通信总 线连接。 此外, 本申请实施例中涉及的上述各个器件也可以通过其它方式连接。 As shown in FIG. 11, an embodiment of the present application discloses a terminal 1100. The terminal 1100 may include: one or more processors 1101 and a memory 1102. In some embodiments, the above-mentioned devices may be connected through one or more communication buses. In addition, the aforementioned various devices involved in the embodiments of the present application may also be connected in other ways.
其中, 存储器 1102中存储有程序指令; 处理器 1101调用存储器 1102中存储的程序 指令, 使得终端 1100执行本申请实施例控制搜网的方法。 例如, 处理器 1101调用存储器 1102中存储的程序指令, 使得终端 1100执行图 3所示的控制搜网的方法。 Wherein, the memory 1102 stores program instructions; the processor 1101 calls the program instructions stored in the memory 1102, so that the terminal 1100 executes the method for controlling the network search in the embodiment of the present application. For example, the processor 1101 calls the program instructions stored in the memory 1102, so that the terminal 1100 executes the method for controlling network search shown in FIG.
在本申请实施例中,处理器 1101可以是通用处理器、数字信号处理器、专用集成电路、 现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件, 可以实现或者执行本申请实施例中的公开的各方法、 步骤及逻辑框图。 通用处理器可以是 微处理器或者任何常规的处理器等。 结合本申请实施例所公开的方法的步骤可以直接体现 为硬件处理器执行完成, 或者用处理器中的硬件及软件模块组合执行完成。 软件模块可以 位于存储器 1102中, 处理器 1101读取存储器 1102中的程序指令, 结合其硬件完成上述方 法的步骤。 In the embodiment 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, a discrete gate or transistor logic device, or a discrete hardware component. Or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor. The software module may be located in the memory 1102, and the processor 1101 reads the program instructions in the memory 1102, and completes the steps of the above method in combination with its hardware.
在一些实施例中, 一个或多个处理器 1101包括调制解调器和应用处理器。 其中, 应用 处理器用于将至少一个路线的网络分布信息存储到调制解调器, 以及将获取的第一路线信 息发送给调制解调器, 以使得调制解调器可以执行本申请实施例控制搜网的方法。 In some embodiments, the one or more processors 1101 include a modem and an application processor. Wherein, the application processor is used to store the network distribution information of at least one route to the modem, and to store the acquired first route information The information is sent to the modem so that the modem can execute the method for controlling the network search in the embodiment of this application.
在本申请实施例中, 存储器 1102可以是非易失性存储器, 比如硬盘 ( hard disk drive, HDD )或固态硬盘 ( solid-state drive, SSD )等,还可以是易失性存储器 ( volatile memory ) , 例如随机存取存储器 ( random-access memory, RAM ) 。 存储器还可以是能够用于携带或 存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质, 但 不限于此。 本申请实施例中的存储器还可以是电路或者其它任意能够实现存储功能的装 置, 用于存储程序指令和 /或数据。 In the embodiment of the present application, the memory 1102 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (solid-state drive, SSD), etc., and may also be a volatile memory (volatile memory). For example, random-access memory (RAM). The memory may also be any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer, but is not limited to this. The memory in the embodiments of the present application may also be a circuit or any other device capable of realizing a storage function for storing program instructions and/or data.
在一些实施例中,本申请实施例的终端 1100还包括加速度传感器和通用智能传感集线 器。 例如, 通用智能传感器可以从加速度传感器获取终端 1100的加速度, 以使得所述通用 智能传感集线器确定终端的实时移动速度。 调制传感器可以从通用智能传感集线器获取终 端的实时移动速度, 以便于确定脱网时长。 In some embodiments, the terminal 1100 of the embodiment of the present application further includes an acceleration sensor and a general smart sensor hub. For example, a general smart sensor may obtain the acceleration of the terminal 1100 from an acceleration sensor, so that the general smart sensor hub determines the real-time moving speed of the terminal. The modulation sensor can obtain the terminal's real-time moving speed from the universal smart sensor hub, so as to determine the offline duration.
在一些实施例中, 终端 1100还可以包括收发器 1103可以用于向服务器发送采集的相 关信息, 以及接收服务器下发的至少一个路线的网络分布信息。 在本申请实施例中, 收发 器 1303 可以是电路、 总线、 通信接口或者其它任意可以用于进行信号交互的装置。 本领 域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各示例的单元及算法步 骤, 能够以电子硬件、 或者计算机软件和电子硬件的结合来实现。 这些功能究竟以硬件还 是软件方式来执行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每 个特定的应用来使用不同方法来实现所描述的功能。 In some embodiments, the terminal 1100 may further include a transceiver 1103, which may be used to send collected related information to the server and receive network distribution information of at least one route issued by the server. In this 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. A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to realize the described functions.
所属领域的技术人员可以清楚地了解到, 为描述的方便和筒洁, 上述描述的系统、 装 置和单元的具体工作过程, 可以参考前述方法实施例中的对应过程, 在此不再赘述。 Those skilled in the art can clearly understand that, for the convenience and clarity of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和方法, 可以通 过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示意性的, 例如, 所述单元的 划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组 件可以结合或者可以集成到另一个系统, 或一些特征可以忽略, 或不执行。 另一点, 所显 示或讨论的相互之间的接合或直接接合或通信连接可以是通过一些接口, 装置或单元的间 接耦合或通信连接, 可以是电性, 机械或其它的形式。 In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作为单元显示的 部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络 单元上。 可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。 The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外, 在本申请各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各 个单元单独物理存在, 也可以两个或两个以上单元集成在一个单元中。 In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时, 可以存储 在一个计算机可读取存储介质中。 基于这样的理解, 本申请的技术方案本质上或者说对现 有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来, 该计算机 软件产品存储在一个存储介质中, 包括若千指令用以使得一台计算机设备 (可以是个人计 算机, 服务器, 或者网络设备等)或处理器 ( processor )执行本申请各个实施例所述方法 的全部或部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 ROM、 RAM、 磁碟或者 光盘等各种可以存储程序代码的介质。 If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including If a thousand instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or CD-ROM and other media that can store program codes.
以上所述, 仅为本申请的具体实施方式, 但本申请的保护范围并不局限于此, 任何熟 悉本技术领域的技术人员在本申请揭露的技术范围内, 可想到的变化或替换, 都应涵盖在 本申请的保护范围之内, 因此本申请的保护范围应以权利要求的保护范围为准。 The above are only the specific implementation manners of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the protection scope of this application, therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims

权 利 要 求 书 Claims
1、 一种控制搜网的方法, 其特征在于, 所述方法包括: 1. A method for controlling network search, characterized in that the method includes:
终端获取第一路线信息, 所述第一路线信息用于指示用户实际出行的路线; 所述终端根据所述第一路线信息, 从预先存储的至少一个路线的网络分布信息中, 获 取用户实际出行的路线的网络分布信息; 其中, 用户实际出行的路线的网络分布信息包括 路线信息、 至少一个第一网络信息、 与每个第一网络信息对应的区间信息; 每个第一网络 信息用于指示终端在所述用户实际出行的路线脱网时接入的小区; The terminal obtains first route information, where the first route information is used to indicate the route the user actually travels; the terminal obtains the user's actual travel from the network distribution information of at least one route stored in advance according to the first route information Network distribution information of the route of the user; wherein the network distribution information of the route the user actually travels includes route information, at least one piece of first network information, and section information corresponding to each first network information; each first network information is used to indicate The cell that the terminal accesses when the user's actual travel route is offline;
所述终端判断是否脱网; The terminal judges whether it is offline;
若是, 则所述终端判断所述至少一个第一网络信息中是否包括当前接入的小区的网络 信息; If yes, the terminal judges whether the at least one piece of first network information includes the network information of the cell currently accessed;
若是, 则所述终端控制不进行搜网、 以及根据与所述当前接入的小区的网络信息对应 的区间信息, 确定目标时长, 所述目标时长用于指示与所述当前接入的小区的网络信息对 应的控制实际不进行搜网的时长; If yes, the terminal controls not to search the network, and determines a target duration according to the interval information corresponding to the network information of the currently accessed cell, and the target duration is used to indicate a relationship with the currently accessed cell The length of time that the control corresponding to the network information does not actually search the network;
所述终端在经过所述目标时长后, 开始进行搜网。 The terminal starts to search the network after the target time period has passed.
2、 如权利要求 1所述的方法, 其特征在于, 所述终端获取第一路线信息, 包括: 终端识别自身安装的第一应用程序接收到车票订单信息; 2. The method according to claim 1, wherein the obtaining the first route information by the terminal comprises: recognizing that the first application installed by the terminal receives the ticket order information;
所述终端根据所述车票订单信息, 获取所述第一路线信息。 The terminal obtains the first route information according to the ticket order information.
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述终端获取第一路线信息之前, 还包括: 3. The method according to claim 1 or 2, characterized in that, before the terminal obtains the first route information, the method further comprises:
所述终端接收用户的第一操作, 所述第一操作为用户开启控制搜网功能的操作; 所述终端响应于所述第一操作, 开启控制搜网功能。 The terminal receives a user's first operation, where the first operation is an operation for the user to enable a control search function; in response to the first operation, the terminal opens a control search function.
4、 如权利要求 1所述的方法, 其特征在于, 所述终端获取第一路线信息, 包括: 所述终端接收用户的第二操作, 所述第二操作为用户开启控制搜网功能的操作; 所述终端响应于所述第二操作, 开启控制搜网功能, 以及在显示屏显示路线相关信息 输入框; 4. The method according to claim 1, wherein the obtaining the first route information by the terminal comprises: receiving, by the terminal, a second operation of the user, and the second operation is an operation for the user to enable a control search function In response to the second operation, the terminal turns on the control search function, and displays the route-related information input box on the display screen;
所述终端根据用户在所述路线相关信息输入框中输入的信息, 获取第一路线信息。 The terminal obtains the first route information according to the information input by the user in the route-related information input box.
5、 如权利要求 1至 4任一所述的方法, 其特征在于, 所述第一网络信息包括小区标 识、 与所述小区标识对应的公共移动陆地网络 PLMN。 5. The method according to any one of claims 1 to 4, wherein the first network information includes a cell identity and a public mobile land network PLMN corresponding to the cell identity.
6、 如权利要求 1至 5任一所述的方法, 其特征在于, 与每个第一网络信息对应的区 间信息包括节点信息、 脱网区间的距离信息、 或脱网时长中的至少一个; 所述节点信息包 括第一节点信息和第二节点信息, 所述第一节点信息用于指示终端在用户实际出行的路线 接入第一网络信息对应的小区时脱网的起始位置; 所述第二节点信息用于指示终端在所述 第一节点信息指示的位置脱网后, 恢复驻网时的起始位置。 6. The method according to any one of claims 1 to 5, wherein the interval information corresponding to each first network information includes at least one of node information, distance information of an offline interval, or an offline duration; The node information includes first node information and second node information, and the first node information is used to indicate the starting position of the terminal to disconnect from the network when the user's actual travel route accesses the cell corresponding to the first network information; The second node information is used for instructing the terminal to restore the initial position when the network is stationed after being offline at the location indicated by the first node information.
7、 如权利要求 6 所述的方法, 其特征在于, 与每个第一网络信息对应的区间信息包 括所述节点信息和 /或所述脱网区间的距离信息、 以及脱网时长; 7. The method according to claim 6, wherein the interval information corresponding to each first network information includes the node information and/or the distance information of the offline interval, and the offline duration;
所述终端才艮据与所述当前接入的小区的网络信息对应的区间信息, 确定目标时长, 包 括: The terminal determines the target duration according to the interval information corresponding to the network information of the currently accessed cell, including:
所述终端根据所述节点信息或所述脱网区间的距离信息, 确定与所述当前接入的小区 的网络信息对应的脱网区间的距离; 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 obtains the real-time moving speed; The terminal determines the first offline duration according to the distance of the offline interval and the real-time moving speed; the terminal determines that the target duration is the time between the first offline duration and the actual travel of the user The smaller value of the offline duration corresponding to the network information of the currently accessed cell included in the network distribution information of the route.
8、 如权利要求 1至 7任一所述的方法, 其特征在于, 所述用户实际出行的路线的网 络分布信息还包括: 与每个第一网络信息对应的第二网络信息, 所述第二网络信息用于指 示所述终端在所述用户实际出行的路线接入第一网络信息对应的小区后, 恢复驻网时所述 接入的小区; 8. The method according to any one of claims 1 to 7, wherein the network distribution information of the actual travel route of the user further comprises: second network information corresponding to each first network information, and the first network information 2. The network information is used to instruct the terminal to restore the accessed cell when the user is on the network after accessing the cell corresponding to the first network information on the actual travel route of the user;
所述终端开始进行搜网之后, 还包括: After the terminal starts to search the network, it further includes:
所述终端获取到特定网络信息; The terminal obtains specific network information;
所述终端确定与所述当前接入的小区的网络信息对应的第二网络信息包括所述特定 信息, 根据所述特定信息接入到相应的网络、 并驻网。 The terminal determines that the second network information corresponding to the network information of the currently accessed cell includes the specific information, and accesses the corresponding network according to the specific information.
9、 如权利要求 1至 8任一所述的方法, 其特征在于, 所述方法还包括: 9. The method according to any one of claims 1 to 8, wherein the method further comprises:
所述终端根据采集的相关数据, 预先存储至少一个路线的网络分布信息, 所述相关数 据用于指示终端在路线上的接入网络的情况。 The terminal pre-stores the network distribution information of at least one route according to the collected relevant data, and the relevant data is used to indicate the network access status of the terminal on the route.
10、 如权利要求 9所述的方法, 其特征在于, 所述终端根据采集的相关数据, 预先存 储至少一个路线的网络分布信息包括: 10. The method according to claim 9, wherein the terminal pre-storing network distribution information of at least one route according to the collected relevant data comprises:
所述终端向服务器发送采集的相关数据; The terminal sends the collected related data to the server;
所述终端接收到所述服务器发送的根据所述采集的相关数据, 得到的至少一个路线的 网络分布信息后, 并存储。 After the terminal receives the network distribution information of at least one route obtained according to the collected related data sent by the server, and stores it.
11、 如权利要求 10所述的方法, 其特征在于, 所述方法还包括: 11. The method according to claim 10, wherein the method further comprises:
所述终端接收用户的第三操作, 所述第三操作为用户同意终端向所述服务器上报采集 的相关数据的操作; The terminal receives a user's third operation, where the third operation is an operation for the user to agree to the terminal to report collected related data to the server;
所述终端响应于所述第三操作, 确定用户同意所述终端向所述服务器上艮采集的相关 数据。 In response to the third operation, the terminal determines that the user agrees to upload the collected related data to the server by the terminal.
12、 一种终端, 其特征在于, 所述终端包括至少一个处理器和存储器; 12. A terminal, characterized in that the terminal includes at least one processor and a memory;
其中, 所述存储器存储有程序指令; Wherein, the memory stores program instructions;
所述至少一个处理器, 用于调用所述存储器中存储的程序指令, 使得所述终端执行下 述步骤: The at least one processor is configured to call program instructions stored in the memory, so that the terminal executes the following steps:
获取第一路线信息, 所述第一路线信息用于指示用户实际出行的路线; Acquiring first route information, where the first route information is used to indicate a route the user actually travels;
根据所述第一路线信息, 从预先存储的至少一个路线的网络分布信息中, 获取用户实 际出行的路线的网络分布信息; 所述用户实际出行的路线的网络分布信息包括路线信息、 至少一个第一网络信息、 与每个第一网络信息对应的区间信息; 每个第一网络信息用于指 示终端在所述用户实际出行的路线脱网时接入的小区; According to the first route information, from the pre-stored network distribution information of at least one route, the network distribution information of the route the user actually travels is acquired; the network distribution information of the route the user actually travels includes route information, at least one first route One network information, section information corresponding to each first network information; each first network information is used to indicate a cell that the terminal accesses when the user's actual travel route is offline;
判断终端是否脱网; Determine whether the terminal is offline;
若是, 则判断所述至少一个网络信息中是否包括当前接入的小区的网络信息; 若是, 则控制不进行搜网、 以及根据与所述当前接入的小区的网络信息对应的区间信 息, 确定目标时长; 所述目标时长为与所述当前接入的小区的网络信息对应的控制实际不 进行搜网的时长; If yes, determine whether the at least one network information includes the network information of the currently accessed cell; if yes, control not to search the network, and determine based on the interval information corresponding to the network information of the currently accessed cell Target duration; the target duration is the duration corresponding to the network information of the currently accessed cell during which control does not actually perform network search;
在经过所述目标时长后, 开始进行搜网。 After the target time period has elapsed, a network search is started.
13、 如权利要求 12所述的终端, 其特征在于, 所述获取第一路线信息, 包括: 识别自身安装的第一应用程序接收到车票订单信息; 并根据所述车票订单信息, 获取 所述第一路线信息。 13. The terminal according to claim 12, wherein said acquiring first route information comprises: Recognize that the first application installed by itself receives the ticket order information; and obtain the first route information according to the ticket order information.
14、 如权利要求 12或 13所述的终端, 其特征在于, 所述至少一个处理器, 用于调用 所述存储器中的存储的程序指令, 使得所述终端在获取第一路线信息之前, 还执行下述步 骤: 14. The terminal according to claim 12 or 13, wherein the at least one processor is configured to call a program instruction stored in the memory, so that before acquiring the first route information, the terminal further Perform the following steps:
接收用户的第一操作, 所述第一操作为用户开启控制搜网功能的操作; Receiving a first operation from a user, where the first operation is an operation for the user to enable a control search function;
响应于所述第一操作, 开启控制搜网功能。 In response to the first operation, the control search function is turned on.
15、 如权利要求 12所述的终端, 其特征在于, 所述获取第一路线信息, 包括: 接收用户的第二操作, 所述第二操作为用户开启控制搜网功能的操作; 15. The terminal according to claim 12, wherein the obtaining the first route information comprises: receiving a second operation of the user, and the second operation is an operation of the user to enable a control search function;
响应于所述第二操作, 开启控制搜网功能, 以及在显示屏显示路线相关信息输入框; 根据用户在所述路线相关信息输入框中输入的信息, 获取第一路线信息。 In response to the second operation, the control search function is turned on, and the route-related information input box is displayed on the display screen; and the first route information is acquired according to the information input by the user in the route-related information input box.
16、 如权利要求 12至 15任一所述的终端, 其特征在于, 所述第一网络信息包括小区 标识、 与所述小区标识对应的公共移动陆地网络 PLMN。 16. The terminal according to any one of claims 12 to 15, wherein the first network information includes a cell identity and a public mobile land network PLMN corresponding to the cell identity.
17、 如权利要求 12至 16任一所述的终端, 其特征在于, 与每个第一网络信息对应的 区间信息包括节点信息、 脱网区间的距离信息、 或脱网时长中的至少一个; 所述节点信息 包括第一节点信息和第二节点信息, 所述第一节点信息用于指示终端在用户实际出行的路 线接入第一网络信息对应的小区时脱网的起始位置; 所述第二节点信息用于指示终端在所 述第一节点信息指示的位置脱网后, 恢复驻网时的起始位置。 17. The terminal according to any one of claims 12 to 16, wherein the interval information corresponding to each first network information includes at least one of node information, distance information of an offline interval, or an offline duration; The node information includes first node information and second node information, and the first node information is used to indicate the starting position of the terminal to disconnect from the network when the user's actual travel route accesses the cell corresponding to the first network information; The second node information is used for instructing the terminal to restore the initial position when the network is stationed after being offline at the location indicated by the first node information.
18、 如权利要求 17 所述的终端, 其特征在于, 与每个第一网络信息对应的区间信息 包括所述节点信息和 /或所述脱网区间的距离信息、 以及脱网时长; 18. The terminal according to claim 17, wherein the interval information corresponding to each first network information includes the node information and/or distance information of the offline interval, 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 terminal and the current distance information according to the node information or the distance information of the offline interval The distance of the offline interval corresponding to the accessed cell network information;
获取实时移动速度; Get real-time moving speed;
根据所述脱网区间的距离和所述实时移动速度, 确定第一脱网时长; Determine the first offline duration according to the distance of the offline interval and the real-time moving speed;
确定所述目标时长为所述第一脱网时长和所述用户实际出行的路线的网络分布信息 中包括的与所述当前接入的小区的网络信息对应的脱网时长中的较小值。 The target duration is determined to be the smaller of the first offline duration and the offline duration corresponding to the network information of the currently accessed cell included in the network distribution information of the actual travel route of the user.
19、 如权利要求 18 所述的终端, 其特征在于, 所述终端还包括通用智能传感集线器 和加速度传感器; 19. The terminal according to claim 18, wherein the terminal further comprises a general smart sensor hub and an acceleration sensor;
所述获取实时移动速度, 包括: The acquiring real-time moving speed includes:
从通用智能传感集线器获取实时移动速度; 其中, 通用智能传感器是根据加速度传感 器采集的加速度确定所述终端的实时移动速度的。 Obtain the real-time moving speed from the universal smart sensor hub; where the universal smart sensor determines the real-time moving speed of the terminal according to the acceleration collected by the acceleration sensor.
20、 如权利要求 12至 19任一所述的终端, 其特征在于, 所述用户实际出行的路线的 网络分布信息还包括: 与每个第一网络信息对应的第二网络信息, 所述第二网络信息用于 指示所述终端在所述用户实际出行的路线接入第一网络信息对应的小区后, 恢复驻网时所 述接入的小区; 20. The terminal according to any one of claims 12 to 19, wherein the network distribution information of the actual travel route of the user further comprises: second network information corresponding to each first network information, and the first network information 2. The network information is used to instruct the terminal to restore the accessed cell when the user is on the network after accessing the cell corresponding to the first network information on the actual travel route of the user;
所述至少一个处理器, 用于调用所述存储器中的存储的程序指令, 使得所述终端开始 进行搜网之后, 还执行下述步骤: The at least one processor is configured to call the program instructions stored in the memory, so that after the terminal starts to search the Internet, the following steps are further executed:
获取到特定网络信息; 并在确定与所述当前接入的小区的网络信息对应的第二网络信 息包括所述特定信息时, 根据所述特定信息接入到相应的网络、 并驻网。 Obtain specific network information; and when it is determined that the second network information corresponding to the network information of the currently accessed cell includes the specific information, access to the corresponding network according to the specific information, and connect to the parallel network.
21、 如权利要求 12至 20任一所述的终端, 其特征在于, 所述至少一个处理器, 用于 调用所述存储器中的存储的程序指令, 还执行以下步骤: 21. The terminal according to any one of claims 12 to 20, wherein the at least one processor is configured to call the stored program instructions in the memory, and further executes the following steps:
根据采集的相关数据, 预先存储至少一个路线的网络分布信息, 所述相关数据用于指 示终端在路线上的接入网络的情况。 According to the collected relevant data, the network distribution information of at least one route is stored in advance, and the relevant data is used to indicate the network access status of the terminal on the route.
22、 如权利要求 21 所述的终端, 其特征在于, 所述根据采集的相关数据, 预先存储 至少一个路线的网络分布信息, 包括: 22. The terminal according to claim 21, wherein the pre-stored network distribution information of at least one route according to the collected related data comprises:
向服务器发送采集的相关数据; Send the collected relevant data to the server;
接收到所述服务器发送的根据所述采集的相关数据, 得到的至少一个路线的网络分布 信息后, 并存储。 After receiving the network distribution information of at least one route obtained according to the collected related data sent by the server, and storing it.
23、 如权利要求 22 所述的终端, 其特征在于, 所述至少一个处理器, 用于调用所述 存储器中的存储的程序指令, 还执行以下步骤: 23. The terminal according to claim 22, wherein the at least one processor is configured to call the program instructions stored in the memory, and further execute the following steps:
接收用户的第三操作, 所述第三操作为用户同意终端向所述服务器上报采集的相关数 据的操作; 并响应于所述第三操作, 确定用户同意所述终端向所述服务器上艮采集的相关 数据。 Receive a third operation of the user, where the third operation is an operation of the user agreeing to the terminal to report collected related data to the server; and in response to the third operation, it is determined that the user agrees to the terminal to upload the collected data to the server Related data.
24、 一种芯片, 其特征在于, 所述芯片与终端中的存储器耦合, 使得所述芯片在运行 时调用所述存储器中存储的程序指令,使得所述终端执行如权利要求 1至 11任一所述的方 法。 24. A chip, characterized in that the chip is coupled with a memory in a terminal, so that the chip invokes program instructions stored in the memory during operation, so that the terminal executes any one of claims 1 to 11 The method described.
25、 一种计算机存储介质, 其特征在于, 所述计算机存储介质中存储有程序指令, 当 所述程序指令在终端上运行时, 使得终端执行如权利要求 1至 11任一所述的方法。 25. A computer storage medium, characterized in that program instructions are stored in the computer storage medium, and when the program instructions are run on a terminal, the terminal executes the method according to any one of claims 1 to 11.
PCT/CN2020/075977 2019-02-28 2020-02-20 Method for controlling network searching, and terminal WO2020173373A1 (en)

Applications Claiming Priority (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
CN201910152489.7 2019-02-28

Publications (1)

Publication Number Publication Date
WO2020173373A1 true WO2020173373A1 (en) 2020-09-03

Family

ID=72239087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/075977 WO2020173373A1 (en) 2019-02-28 2020-02-20 Method for controlling network searching, and terminal

Country Status (2)

Country Link
CN (1) CN111629337B (en)
WO (1) WO2020173373A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113891408A (en) * 2021-04-20 2022-01-04 荣耀终端有限公司 Method for switching Wi-Fi network and cellular network and electronic equipment
CN116095791A (en) * 2022-05-26 2023-05-09 荣耀终端有限公司 Method for searching network and terminal equipment
CN116321330A (en) * 2022-12-27 2023-06-23 荣耀终端有限公司 Network switching inhibition method, electronic equipment, medium and product

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112969204B (en) * 2021-02-26 2022-12-02 维沃移动通信有限公司 Cell data transmission method and device and electronic equipment
CN114338641B (en) * 2022-01-27 2023-09-15 中国第一汽车股份有限公司 Networking control method, device, terminal and storage medium for vehicle remote communication

Citations (5)

* Cited by examiner, † Cited by third party
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
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
CN106102130A (en) * 2016-06-07 2016-11-09 华为技术有限公司 Search network method and wireless terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103781155B (en) * 2012-10-17 2019-01-04 希姆通信息技术(上海)有限公司 Mobile terminal and its method for searching network
CN103906189B (en) * 2014-04-15 2017-12-15 宇龙计算机通信科技(深圳)有限公司 Network search method and web search device, terminal
CN106412892B (en) * 2016-09-07 2019-10-29 努比亚技术有限公司 Mobile terminal falls net reconnection method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
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
CN106102130A (en) * 2016-06-07 2016-11-09 华为技术有限公司 Search network method and wireless terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113891408A (en) * 2021-04-20 2022-01-04 荣耀终端有限公司 Method for switching Wi-Fi network and cellular network and electronic equipment
CN116095791A (en) * 2022-05-26 2023-05-09 荣耀终端有限公司 Method for searching network and terminal equipment
CN116095791B (en) * 2022-05-26 2024-04-02 荣耀终端有限公司 Method for searching network and terminal equipment
CN116321330A (en) * 2022-12-27 2023-06-23 荣耀终端有限公司 Network switching inhibition method, electronic equipment, medium and product

Also Published As

Publication number Publication date
CN111629337A (en) 2020-09-04
CN111629337B (en) 2022-01-14

Similar Documents

Publication Publication Date Title
WO2020173373A1 (en) Method for controlling network searching, and terminal
AU2017423688B2 (en) Measurement configuration method and related product
EP3852440A1 (en) Method for quickly searching for high-standard network, and terminal device
EP3624404B1 (en) Method and device for establishing wireless communication connection
US11212677B2 (en) Method for accessing wireless network, and terminal device
WO2021164332A1 (en) Network selection method and apparatus
US20230164868A1 (en) Method for changing rrc state, communication apparatus, and storage medium
US20220312292A1 (en) Method and device for cell handover
EP4149183A1 (en) Method and apparatus for sending paging message, communication device, and storage medium
WO2021104115A1 (en) Cell measurement method, measurement apparatus, terminal device, chip, and storage medium
WO2021217488A1 (en) Paging processing method and apparatus, communication device and storage medium
WO2022257617A1 (en) Method for detecting bluetooth positioning device, device, and storage medium
WO2020248121A1 (en) Manual network searching method, apparatus and system
WO2018120032A1 (en) Cell switching method and terminal device
CN107770863A (en) Paging method, device and equipment
WO2022006786A1 (en) Network data collection method and apparatus, network device, user equipment, and storage medium
TWI682680B (en) Method and electronic device for optimizing network search in out of service state
CN115278932A (en) Network reconnection method, device, terminal equipment and storage medium
WO2022089254A1 (en) Cell handover method and a communication apparatus
WO2022067544A1 (en) Wireless communication method, terminal device, and network device
WO2020088320A1 (en) Method for quickly searching for high-standard network, and terminal device
WO2024092679A1 (en) Paging cycle determination method and apparatus
WO2019071880A1 (en) Soft sim card network access control method and device
EP3914040A1 (en) Information sharing method and user equipment
WO2019237356A1 (en) Method and device for scanning wireless fidelity network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20763521

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20763521

Country of ref document: EP

Kind code of ref document: A1