WO2021164332A1 - 网络选择的方法和装置 - Google Patents

网络选择的方法和装置 Download PDF

Info

Publication number
WO2021164332A1
WO2021164332A1 PCT/CN2020/127536 CN2020127536W WO2021164332A1 WO 2021164332 A1 WO2021164332 A1 WO 2021164332A1 CN 2020127536 W CN2020127536 W CN 2020127536W WO 2021164332 A1 WO2021164332 A1 WO 2021164332A1
Authority
WO
WIPO (PCT)
Prior art keywords
cell
information
terminal device
identity
cells
Prior art date
Application number
PCT/CN2020/127536
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to EP20919918.1A priority Critical patent/EP4096293A4/en
Publication of WO2021164332A1 publication Critical patent/WO2021164332A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • 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/0245Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal according to signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0061Transmission or use of information for re-establishing the radio link of neighbour cell information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • 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/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0216Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
    • 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/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • 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 communications, and more specifically, to methods and devices for network selection.
  • the big data statistics of the live network show that the power consumption of the modem in the terminal equipment accounts for 64% of the power consumption of the whole machine.
  • standby power consumption and data service power consumption are the main components of modem power consumption.
  • the standby power consumption accounts for 23.24%.
  • the terminal device can select a neighboring cell that meets the R criterion for cell reselection through measurement. If the terminal device is in a connected state, the terminal device can report the A3 event through the neighbor cell measurement configured on the network side to perform cell handover. In this way, the terminal device can only use the single dimension of the signal strength of the neighboring cell as the judgment standard for the next hop cell. In this way, the number of neighboring cells measured by the terminal equipment will be large, resulting in high modem power consumption.
  • the present application provides a method and device for network selection, so that terminal equipment can perform network searches in a targeted manner, thereby helping to reduce the power consumption of the terminal equipment.
  • a method for network selection is provided, and the method is applied to a terminal device.
  • the method includes the following processes or steps.
  • the first information includes cell information of a cell where the terminal device resides;
  • the first cell information is the cell information of the cell where the terminal device camps on a fixed route
  • the second cell information is the cell information Cell information of the cell where the terminal equipment resides in a fixed place
  • the first valid camping cell is obtained by preprocessing the first cell information according to a first preset rule
  • the second valid camping cell is obtained by preprocessing the second cell according to a second preset rule.
  • the second information includes cell information of the first cell where the terminal device currently resides;
  • the cell information of the first cell is cell information in a fixed route or cell information in a fixed location
  • the second cell is determined in the first effective camping cell, and when the cell information of the first cell is cell information in a fixed location, The second cell is determined in the second effective camping cell, where the second cell is the next cell where the terminal device camps after the first cell.
  • the embodiment of the present application can classify the cell information of the cell where the terminal device resides on a fixed route or a fixed place, and perform different preprocessing on different categories according to preset rules, and obtain the effective residency of terminal devices under different categories.
  • the cell then, based on the effective camping cells under different classifications, generates a current network selection strategy suitable for the terminal device.
  • the network selection strategy is used to instruct the terminal device to be the next hop cell of the cell where the terminal device is currently camping, so that the terminal device can Targeted network search can help reduce the power consumption of terminal equipment.
  • the cell information further includes the signal reception of the terminal device in the camped cell when the terminal device switches from the camped cell to the next hop cell power;
  • the method also includes:
  • the cell measurement threshold includes an initiation threshold and/or an escape threshold
  • the initiation threshold is a threshold for starting cell measurement on the next hop cell of the camped cell
  • the escape threshold is an A threshold for cell measurement performed by neighboring cells of the camped cell
  • the cell measurement threshold is determined according to the maximum signal received power among the at least one signal received power
  • the escape threshold is determined according to the at least one signal received Power is determined by the minimum signal received power.
  • the embodiment of the application can make the signal received power of the terminal device in the first cell greater than the start threshold (at this time, it can be considered that the signal of the terminal device in the first cell is good), no specific neighboring cell or all predicted neighbors can be evaluated.
  • the specific neighboring cell or all predicted neighboring cells Perform measurement, which helps to reduce the waste of terminal equipment measurement and reduce the power consumption of terminal equipment.
  • the embodiment of the present application can make the signal received power of the terminal device in the first cell less than or equal to the escape threshold (at this time, it can be considered that the signal of the terminal device in the first cell is already very poor), according to the existing neighbors
  • the cell measurement mechanism performs cell measurement instead of measuring only the predicted cell (for example, the second cell), thereby helping to increase the probability that the terminal device measures the neighboring cell.
  • the embodiment of the present application obtains the received power of the terminal device in the first cell when it switches to the next hop cell in the cell handover path, and determines the starting point for the terminal device to perform cell measurement in the first cell based on the received power.
  • the measurement threshold and/or escape threshold allow the terminal device to perform cell measurement according to the measurement threshold and/or escape threshold, thereby helping to reduce the number of neighboring cells measured by the terminal device, or the number of times the neighboring cells are measured, or the cell
  • the number of reselections helps reduce the power consumption of the terminal device.
  • the threshold may also be measured from by the maximum received power offset signal obtained, for example, received power and the maximum signal of ⁇ 1.
  • the escape threshold can also be obtained by offsetting the minimum signal received power, for example, the minimum signal received power plus ⁇ 2.
  • ⁇ 1 or ⁇ 2 may be a positive value or a negative value, which is not limited in the embodiment of the present application.
  • the first effective camping cell when the first cell information is acquired in the cell information, includes the first cell and the second cell.
  • a cell, the second cell is the historical next hop cell of the first cell on a fixed route, and the method further includes:
  • the embodiment of the present application can reduce the power consumption of the terminal device by turning off the cell measurement of the terminal device in a time period less than T min.
  • T min ⁇ t ⁇ k*T min +(1-k)T max it is determined to configure the measurement interval of the terminal device as the first measurement interval, where 0 ⁇ k ⁇ 1.
  • T min ⁇ t ⁇ k*T min +(1-k)T max When T min ⁇ t ⁇ k*T min +(1-k)T max is satisfied, the possibility of the terminal device recovering the network is still not very large. At this time, a long measurement interval can be set so that the terminal device does not need to perform frequent Neighborhood measurement helps to reduce the power consumption of terminal equipment.
  • t ⁇ k*T min +(1-k)T max When t ⁇ k*T min +(1-k)T max is satisfied, the possibility of the terminal device recovering the network is already very high. At this time, you can set a short measurement interval to help the terminal device to recover more quickly The internet.
  • t represents the time period after the terminal device is disconnected in the second cell
  • T max represents the maximum recovery time for the terminal device to resume connection after the second cell is disconnected from the network
  • T min represents the minimum recovery time obtained by statistics for the terminal device to recover the connection after the second cell is disconnected from the network.
  • the embodiment of the present application determines whether the terminal device is disconnected in the second cell in the history record, and when the terminal device is disconnected from the second cell, the terminal device generates the data according to the recovery time after the historical disconnection of the terminal device.
  • the measurement strategy suitable for different time periods after the terminal device is currently offline in the second cell, so that the terminal device can perform cell measurement in a targeted manner, thereby helping to reduce the invalid measurement of the terminal device, thereby helping to reduce the terminal device The power consumption of the device.
  • the first effective camping cell when the first cell information is acquired in the cell information, includes the first cell, and the second A cell and a third cell, where the second cell and the third cell are two different historical next hop cells of the first cell on a fixed route;
  • the first frequency of the second cell as the next hop node of the terminal device in the first cell is greater than that of the third cell as the next hop node of the terminal device in the first cell
  • the first signal strength of the terminal device in the second cell is greater than the second signal strength of the terminal device in the third cell;
  • the first power consumption of the terminal equipment in the second cell is greater than the second power consumption of the terminal equipment in the third cell, where the first power consumption is based on the
  • the discontinuous reception DRX cycle and invalid radio resource control RRC connection duration in the second cell are determined, and the second power consumption is determined based on the discontinuous reception DRX cycle and invalid radio resource control of the terminal device in the third cell.
  • the resource control RRC connection duration is determined.
  • the embodiment of the present application obtains the cell handover path of the terminal device on a fixed route, and when the first cell currently resides in the cell handover path, according to the next hop of the first cell in the cell handover path
  • the cell predicts the next hop cell of the terminal device currently in the first cell, so that the terminal device can search the network in a targeted manner according to the predicted next hop cell, thereby helping to reduce the number of neighboring cells measured by the terminal device. Or the number of cell reselections, which in turn helps to reduce the power consumption of the terminal equipment.
  • the preprocessing the first cell information or the second cell information according to a preset rule to obtain a valid camping cell includes:
  • the cell to which the terminal device ping-pong is switched is removed from the cell corresponding to the first cell information, and the first effective camping cell is acquired.
  • the network selection strategy when the network selection strategy is determined according to the effective camping cell, it can be ensured that the terminal device stably camps in the next hop cell indicated by the network selection strategy.
  • the removing the cell of the terminal device ping-pong handover from the cell corresponding to the first cell information to obtain the first effective camping cell includes:
  • the first cell identity list includes at least two cell identities corresponding to at least two cells on the fixed route one-to-one, and the at least two cells
  • the sequence of the identifiers in the first cell identifier list is the same as the sequence of the at least two cells in the fixed route;
  • the cell to which the terminal device ping-pong is switched is removed, so as to obtain the first effective camping cell.
  • the network selection strategy when the network selection strategy is determined according to the effective cell handover path, it can be ensured that the terminal device stably resides in the next hop cell indicated by the network selection strategy.
  • the removing the cell from the ping-pong handover of the terminal device includes:
  • the cell ID that is adjacent to the first time window in the first cell ID list is not the same as the first cell ID in the first time window, and the first cell ID is equal to
  • the condition of the last cell identity in the first time window is the condition
  • the first cell identity is acquired after the first time window in the first cell identity list, where the first cell identity and the The second cell identifier and the last cell identifier in the first time window are different;
  • the second cell identity is deleted from the first cell identity list to the The cell identity between the second cell identities;
  • the cell identity between the last cell identity and the second cell identity is deleted from the first cell identity list.
  • the embodiment of the present application can obtain a cell handover path of a ping-pong cell that does not include two cells.
  • the removing the cell from the ping-pong handover of the terminal device includes:
  • the cell identity that is adjacent to the second time window in the first cell identity list is not the same as the first cell identity in the second time window, and the first cell identity is equal to
  • the third cell identity is acquired after the second time window in the first cell identity list, where the third cell identity and the The second cell identity in the second time window, the third cell identity in the second time window, and the last cell identity are all different;
  • the second cell identity is deleted from the first cell identity list to the The cell identity between the fourth cell identities;
  • the embodiment of the present application can obtain a cell handover path of a ping-pong cell that does not include three cells.
  • the preprocessing the first cell information or the second cell information according to a preset rule to obtain a valid camping cell includes:
  • the second cell information in the cell information determines at least two of the longest camping time, the lowest power consumption, or the strongest received signal strength of the terminal device in the cell corresponding to the second cell information. Cells to obtain the second effective camping cell, where the second effective camping cell includes the at least two cells;
  • the determining the second cell in the second effective camping cell includes:
  • the first cell does not belong to the at least two cells, use at least one cell of the at least two cells as the second cell;
  • the terminal device When the first cell belongs to the at least two cells, and the terminal device does not perform a ping-pong handover between the first cell and other cells of the at least two cells except the first cell , Use at least one of the at least two cells as the second cell;
  • the terminal device When the first cell belongs to the at least two cells, and the terminal device performs a ping-pong handover between the first cell and a fourth cell other than the first cell among the at least two cells , Using other cells among the at least two cells except the first cell and the fourth cell as the second cell;
  • the terminal device ping-pongs between the first cell and a fifth cell that does not belong to the at least two cells
  • the at least two cells Among the cells cells other than the first cell serve as the second cell.
  • the embodiment of the application obtains the historical records of the terminal equipment camping in the cell in the fixed place, and predicts the terminal equipment currently staying in the first cell according to the historical camping situation of the terminal equipment in the cell of the fixed place.
  • One-hop cell allows the terminal device to search the network in a targeted manner based on the predicted cell, thereby helping to reduce the number of neighboring cells measured by the terminal device, or the number of times the neighboring cell is measured, or the number of cell reselections. Help reduce the power consumption of terminal equipment.
  • the first information further includes information about the time that the terminal device resides in a cell corresponding to the cell information
  • the obtaining the first cell information or the second cell information from the cell information includes:
  • the cell information is the first cell information or the second cell information.
  • the advantage of this classification method of distinguishing fixed routes and fixed places according to the time period is that it can reduce the complexity of cell classification, and it can also reduce the complexity of cell classification. Classify the cells accurately.
  • the first information further includes an identifier of the WiFi that the terminal device is connected to when the terminal device is camping on the cell corresponding to the cell information;
  • the obtaining the first cell information or the second cell information from the cell information includes:
  • the cell information is the first cell information or the second cell information.
  • the acquiring the first information includes:
  • the method further includes:
  • the method before the acquiring the first information, the method further includes:
  • the first configuration information is received from the application server AP, where the first configuration information is used to start the power consumption optimization mode.
  • the embodiments of the present application provide a network selection device, which is used to execute the method in the first aspect or any possible implementation of the first aspect.
  • the device includes a device for executing the first aspect. Aspect or the module of the method in any possible implementation of the first aspect.
  • an embodiment of the present application provides a network selection device, including: a memory and a processor.
  • the memory is used to store instructions
  • the processor is used to execute instructions stored in the memory
  • the execution causes the processor to execute the first aspect or any possibility of the first aspect The method in the implementation.
  • the embodiments of the present application provide a terminal device, including the network selection device in the second aspect or any possible implementation of the second aspect, or any possible implementation of the third aspect or the third aspect The device selected by the network in the mode.
  • the terminal device further includes a modem, which is used to send cell information of the cell where the terminal device resides to the device selected by the network.
  • the modem is also used to receive third information sent by the device selected by the network, where the third information is used to indicate cell information of the second cell.
  • the terminal device may also include an application server AP, configured to send first configuration information to the network selection device, where the first configuration information is used to configure the working mode of the network selection main control module as Power optimization mode.
  • an application server AP configured to send first configuration information to the network selection device, where the first configuration information is used to configure the working mode of the network selection main control module as Power optimization mode.
  • the network selection device can interact with APs, modems, and sensors to jointly realize the network selection function.
  • the system architecture of the embodiment of the present application can be compatible with the existing network search architecture. Therefore, the system architecture of the embodiments of the present application has the characteristics of low coupling, high cohesion, and intelligent processing, and also has the characteristics of facilitating transplantation and upgrade.
  • embodiments of the present application provide a computer-readable medium for storing a computer program, and the computer program includes instructions for executing the first aspect or any possible implementation of the first aspect.
  • the embodiments of the present application also provide a computer program product containing instructions, which when the computer program product runs on a computer, cause the computer to execute the method in the first aspect or any possible implementation of the first aspect .
  • a chip device including: an input interface, an output interface, at least one processor, and a memory.
  • the input interface, the output interface, the processor, and the memory are connected through an internal connection path.
  • the processor is configured to execute the code in the memory, and when the processor executes the code, the chip device implements the first aspect described above and any one of the possible implementation manners of the first aspect The method described.
  • FIG. 1A shows a schematic diagram of the architecture of a communication system applicable to an embodiment of the present application
  • FIG. 1B shows a schematic structural diagram of a terminal device applicable to an embodiment of the present application
  • FIG. 1C shows a schematic structural diagram of another terminal device suitable for an embodiment of the present application.
  • FIG. 1D is a schematic diagram of a way to turn on a power consumption optimization mode according to an embodiment of the application
  • FIG. 2 shows a schematic flowchart of a method for network selection according to an embodiment of the present application
  • FIG. 3 shows a schematic flowchart of a method for network selection according to an embodiment of the present application
  • FIG. 4 shows a schematic flowchart of a method for removing a ping-pong cell provided by an embodiment of the present application
  • Figure 5 shows an example of a cell identification list and time window
  • Figure 6 shows a specific example of deleting the cell identity list
  • FIG. 7 shows another specific example of deleting the cell identification list
  • FIG. 8 shows a schematic flowchart of another method for removing a ping-pong cell provided by an embodiment of the present application
  • Figure 9 shows another example of a cell identification list and time window
  • FIG. 10 shows another specific example of deleting the cell identification list
  • FIG. 11 shows another specific example of deleting the cell identification list
  • FIG. 12 shows another specific example of deleting the cell identification list
  • FIG. 13 shows a schematic flowchart of a method for network selection according to an embodiment of the present application
  • FIG. 14 shows a schematic flowchart of another network selection method provided by an embodiment of the present application.
  • FIG. 15 shows a specific example of the DRX threshold value and the invalid RRC connection duration threshold value
  • FIG. 16 shows a schematic flowchart of a method for network selection according to an embodiment of the present application
  • FIG. 17 shows a schematic flowchart of another network selection method provided by an embodiment of the present application.
  • FIG. 18 shows a schematic flowchart of another network selection method provided by an embodiment of the present application.
  • FIG. 19 shows a schematic block diagram of a network selection device provided by an embodiment of the present application.
  • FIG. 20 shows a schematic block diagram of another network selection device provided by an embodiment of the present application.
  • the embodiments of this application can be applied to mobile communication systems, such as global system for mobile communications (GSM), general packet radio service (GPRS) communication systems, code division multiple access (code division multiple access) 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) term evolution, LTE) communication systems, fifth generation (5th Generation, 5G) communication systems (such as next-generation radio (NR) systems), future communication systems, 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
  • 5G fifth generation radio
  • FIG. 1A shows a schematic diagram of the architecture of a communication system applicable to an embodiment of the present application.
  • the communication system shown in FIG. 1A includes network equipment and terminal equipment.
  • the communication system shown in FIG. 1A is only an example for illustration.
  • 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 device can access the network.
  • the network device in the embodiment of the present application may be a base station, or an access point, or the like.
  • the base transceiver station (BTS) in the GSM communication system or the CDMA communication system the node B (node B) in the WCDMA communication system, the evolutional node B (eNB) in the LTE communication system, and the NR system GNB and so on.
  • BTS base transceiver station
  • node B node B
  • eNB evolutional node B
  • LTE communication system Long Term Evolutional node B
  • NR system GNB evolutional node B
  • the terminal equipment in the embodiments of this application may also be referred to as: user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, Mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, etc.
  • UE user equipment
  • MS mobile station
  • MT mobile terminal
  • access terminal user unit, user station, Mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, etc.
  • the terminal device may be a device that provides voice/data connectivity to the user, for example, a handheld device with a wireless connection function, a vehicle-mounted device, and so on.
  • a handheld device with a wireless connection function for example, a vehicle-mounted device, and so on.
  • some examples of terminals are: mobile phones (mobile phones), tablet computers, notebook computers, handheld computers, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, and augmented reality.
  • Wireless terminals in transportation safety transportation safety
  • wireless terminals in smart city smart city
  • wireless terminals in smart home smart home
  • cellular phones cordless phones
  • session initiation protocol SIP
  • wireless local loop wireless local loop
  • WLL wireless local loop
  • PDA personal digital assistant
  • handheld device with wireless communication function computing device or other processing device connected to wireless modem
  • vehicle Devices wearable devices
  • terminal devices in a 5G network or terminal devices in an evolved public land mobile network (PLMN), etc., which are not limited in the embodiment of the present application.
  • PLMN evolved public land mobile network
  • the terminal device accesses the network through a cell provided by the network device.
  • the terminal device may perform cell reselection by measuring neighboring cells when in the idle state, and may perform cell handover through neighboring cell measurements when in the connected state.
  • the terminal equipment can only determine the next hop cell based on the single dimension of the signal strength of the neighboring cell. In this way, the number of neighboring cells measured by the terminal equipment will be large, resulting in high modem power consumption.
  • the embodiments of the present application provide a method for network selection, which helps terminal equipment to reduce power consumption of the terminal and improve user experience during cell reselection, cell handover, or cell measurement.
  • the terminal device can obtain the historical record of its camping in the cell, and determine the next hop cell of the current camping cell according to the historical record of camping in the cell.
  • the single dimension of the signal strength of the neighboring cell can only be used as the judgment criterion of the next hop cell. It can search the network in a targeted manner, so as to achieve the effect of reducing the power consumption of the terminal equipment.
  • 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 the like.
  • the processor 210 may include one or more processing units.
  • the processor 210 may include an application processor (AP), a modem (modem), a graphics processing unit (GPU), an image signal processor (ISP), a controller, and a video editor. Decoder, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc.
  • AP application processor
  • modem modem
  • GPU graphics processing unit
  • ISP image signal processor
  • NPU neural network processing unit
  • different processing units can be independent devices, or integrated into one or more independent processors, and can be integrated with other modules in the terminal in the same device. Take 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 communications.
  • 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, and the at least one computer program includes instructions.
  • the internal memory 221 may include a program storage area and a data storage area.
  • the storage program area can store at least one computer program.
  • the computer program may include an application program (such as a gallery, contacts, etc.), an operating system (such as an Android operating system, or an IOS operating system, etc.), or other programs.
  • the storage data area may store at least one of data created during the use of the terminal, received data from other devices (such as other terminals, network devices, servers, etc.), or pre-stored data before leaving the factory.
  • the data stored in the internal memory 221 may be at least one of information such as an image, a file, or an identification.
  • 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 (UFS).
  • 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 network selection method 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 also 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 and reduces the waiting time of the processor 210, thereby helping to 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 wave 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 a diversity antenna for a 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 in the camping 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 can amplify the signal modulated by the modem and send it to the network device via antenna A; the mobile communication module 231 can 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 a filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • LNA low noise amplifier
  • 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 (BT), and global navigation.
  • wireless access networks wireless local area networks, WLAN
  • Wi-Fi wireless-fidelity
  • BT Bluetooth
  • Global navigation satellite system global navigation satellite system
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • NFC near field communication
  • IR infrared technology
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), and quasi-zenith satellite system (quasi).
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • quadsi quasi-zenith satellite system
  • the wireless communication module 232 may be one or more devices integrating at least one communication processing module. Among them, 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 implement audio functions through the audio module 240, the speaker 240A, the receiver 240B, the microphone 240C, the earphone interface 240D, and AP. For example, music playback, recording, etc.
  • the terminal can realize the display function 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 (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • the terminal may include 1 or N display screens 251, and N is a positive integer greater than 1.
  • the button 254 may include a power-on button, a volume button, and so on.
  • the button 254 may be a mechanical button, or a virtual button or a 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, in response to selecting a virtual option for instructing to start the "power optimization mode", the terminal can count or collect some information related to the cell where the terminal resides within a period of time, so as to provide users with more personalized services. Thereby improving the 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 the like.
  • 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 magnitude of the acceleration of the terminal in various directions (generally three axes). When the terminal is stationary, the magnitude and direction of gravity can be detected. In addition, the acceleration sensor 260A can also be used to recognize the posture of the terminal, and is used in applications such as horizontal and vertical screen switching, pedometer, and so on. In some embodiments, the acceleration sensor 260A may be connected to the processor 210 through a microcontroller 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 microcontroller unit
  • the MCU may be a universal smart sensor hub (Sensor hub).
  • the touch sensor 260B may also be referred to as a “touch panel”.
  • the touch sensor 260B may be disposed on the display screen 251, and the touch 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 a touch operation acting on or near it.
  • the touch sensor 260B may 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 disposed 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 transceiver transmitter (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 transceiver transmitter
  • 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 may 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 an external memory card.
  • 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 complies with 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 earphones and play audio through earphones. 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 merely 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 charging 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. 1B is only an example.
  • the terminal of the embodiment of the present application may have more or fewer components than that shown in FIG. 1B, may combine two or more components, or may have different component configurations.
  • the various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
  • the processor 210 may include a network selection main control unit, configured to execute the network selection method provided in the embodiment of the present application.
  • a network selection main control unit configured to execute the network selection method provided in the embodiment of the present application.
  • the connection relationship between the AP, the network selection main control unit, the modem, and the sensor in the embodiment of the present application may be as shown in FIG. 1C.
  • the system architecture shown in FIG. 1C can be compatible with the existing terminal equipment baseband network search architecture.
  • FIG. 1C shows a module or unit of a network architecture applicable to the embodiment of the present application, but these modules or units are only examples, and the embodiment of the present application may also include other parts or components of each part in FIG. 1C. It may be deformed, or it may not include all the modules or units in FIG. 1.
  • the modem may further include a first buffer area
  • the sensor may further include a second buffer area, thereby helping to improve the processing efficiency of the modem and the sensor.
  • the first buffer area can be used to store cell information collected by the modem
  • the second buffer area can be used to store terminal movement information collected by the sensor.
  • the network selection main control unit 130 is configured to obtain the cell camping history record of the terminal device from the modem 140, and determine (ie predict) the next hop cell of the cell where the terminal device currently camps based on the history record.
  • the terminal equipment in the embodiment of the present application can perform the network based on the history record of the cell camping of the terminal equipment. Selection helps to enable terminal equipment to perform network searches in a targeted manner, thereby achieving the effect of reducing the power consumption of terminal equipment.
  • the cell camping history record of the terminal device may include cell information of the cell where the terminal device camps in the first time period, where the first time period is a time period before the current moment.
  • the cell information of the cell camped on in the first time period may include the cell information of the cell where the terminal device historically camped on and the time information corresponding to the cell information.
  • the time information corresponding to the cell information is used to indicate the time that the terminal device resides in the cell corresponding to the cell information.
  • the time information corresponding to the cell information may include the time stamp when the terminal device starts camping in the cell corresponding to the cell information, and/or the time stamp when the terminal device ends camping in the cell corresponding to the cell information.
  • the length of the first time period is not limited.
  • the first time period may be 7 days, 5 days, or 1 day, or 10 hours, or 2 hours, etc., which are all within the protection scope of the embodiments of the present application. within.
  • the network selection main control unit 130 may include a power consumption optimization mode and a normal working mode.
  • the power consumption optimization mode the network selection main control unit 130 performs network selection according to the historical record of the cell residence of the terminal device, so as to optimize the power consumption of the terminal device.
  • the normal working mode the network selection main control unit 130 does not work, that is, the modem 140 can perform network selection according to the existing method, and the single dimension of the signal strength of the neighboring cell is used as the judgment standard of the next hop cell.
  • the AP 110 may send configuration information to the network selection main control unit 130, and the configuration information is used to enable the power consumption optimization mode of the network main control unit 130.
  • the network selection main control unit 130 may determine whether to enable the power consumption optimization mode according to the configuration of the AP 110.
  • the AP 110 may configure the working mode of the network selection main control unit 130 through a control command (command, CMD).
  • the AP can complete the configuration of the working mode through the Android setting menu.
  • the system setting interface 1010 includes a virtual option 1011, and the terminal may display the user interface 1020 on the display screen 251 in response to the operation of the user selecting the virtual option.
  • the user interface 1020 includes a virtual button 1021.
  • the terminal may enable the function of the power consumption optimization mode in response to the operation of the virtual button 1021 by the user.
  • the user interface 1020 may also include a virtual button 1022. In response to the user's operation of the virtual button 1022, the terminal can turn off the function of the power consumption optimization mode, that is, turn on the function of the normal working mode.
  • the modem 140 may obtain the cell information of the cell where the terminal device resides, and the timestamp corresponding to the cell information, and send the cell information and the timestamp corresponding to the cell information to the network selection main control unit 130 .
  • the modem 140 may periodically send the cell information and the time stamp to the network selection main control unit 130.
  • the modem 140 may send the cell information and the time stamp to the network selection main control unit 130 in real time.
  • the network selection main control unit 130 may request the modem 140 for a history record of the cell camping of the terminal device within a preset time period.
  • the modem 140 may send the cell information and time stamp of the cell where the terminal device resides in the preset time period to the network selection main control unit 130.
  • the network master control unit 130 may receive and save the cell information and timestamp, for example, save the cell information and timestamp in a cache. In this way, the network selection main control unit 130 can learn the cell where the terminal device currently resides and the history record of the cell where the terminal device resides.
  • the cell information may include the cell identity of the cell where the terminal device resides.
  • the cell information may also include at least one of the cell identifier of the neighboring cell of the cell where the terminal device is camping, and the signal strength, frequency, and standard of the terminal device in the cell where the terminal device is camping. Not limited.
  • the signal strength may be received signal strength indication (RSSI), reference signal receiving power (RSRP), reference signal receiving quality (RSRQ), etc.
  • RSSI received signal strength indication
  • RSRP reference signal receiving power
  • RSSQ reference signal receiving quality
  • the senor 120 may obtain sensor information, and send the obtained sensor information to the network selection main control unit 130 to assist the network selection main control unit 130 in network selection.
  • the sensor may also obtain a timestamp corresponding to the sensor information.
  • the sensor and sensor information can be referred to the above description, and for the sake of brevity, it will not be repeated here.
  • the senor 120 may periodically send sensor information and a time stamp to the network selection main control unit 130.
  • the modem 140 may send sensor information and a time stamp to the network selection main control unit 130 in real time.
  • the network selection main control unit 130 may request the modem 140 for sensor information of the terminal device within a preset time period. In response to the request of the network selection main control unit 130, the modem 140 may send the sensor information and the time stamp of the terminal device in the preset time period to the network selection main control unit 130.
  • the network selection main control unit 130 may send the next hop cell to the modem 140.
  • the modem 140 may perform a targeted network search based on the next hop cell, for example, only perform measurement on the next hop cell, so as to achieve the effect of reducing the power consumption of the terminal device.
  • the modem 140 may also feed back the execution result of the strategy to the network selection main control unit 130, so that the network selection main control unit 130 can further optimize the network selection strategy according to the execution result of the strategy.
  • the terminal device can determine the next hop cell of the current camping cell according to the historical record of its cell camping.
  • the terminal equipment in the embodiment of the present application can perform the network based on the history record of the cell camping of the terminal equipment. Selection helps to enable terminal equipment to perform network searches in a targeted manner, thereby achieving the effect of reducing the power consumption of terminal equipment.
  • the network selection main control unit 130 may include an environment awareness unit 1310 and a policy interaction unit 1320. Further, the environment perception unit 1310 may include a collection module 1311 and a route and scene recognition module 1312, and the strategy interaction unit 1320 may include a learning module 1321 and a strategy matching module 1322.
  • the network selection method of the embodiment of the present application will be described in detail below in conjunction with the network architecture shown in FIG. 1C.
  • FIG. 2 shows a schematic flowchart of a method 200 for network selection provided by an embodiment of the present application.
  • the method 200 may be executed by the terminal device in FIG. 1C.
  • the same reference numerals in FIG. 2 as those in FIG. 1C have the same or similar meanings, and for the sake of brevity, they will not be repeated here.
  • step 201 to step 207 may be included.
  • the AP 110 sends a CMD to the network selection main control unit 130 to instruct the network main control unit 130 to turn on the power consumption optimization mode.
  • the modem 140 sends the cell information of the cell where the terminal device resides in the first time period to the network selection main control unit 130.
  • the collection module 1311 in the environment sensing unit 1310 can obtain the cell information of the cell where the cell resides in the first time period.
  • the cell information can be referred to the above description, for the sake of brevity, it will not be repeated here.
  • the sensor 120 sends sensor information of the terminal device in the first time period to the network selection main control unit 130.
  • the collection module 1311 in the environment sensing unit 1310 can acquire the sensor information of the first time period.
  • the sensor information can be referred to the above description, for the sake of brevity, it will not be repeated here.
  • step 201 may occur before step 202 or 203, or after step 202 or 203, all of which fall within the protection scope of the embodiments of the present application.
  • step 201 or 203 may not be required to be performed, but the embodiment of the present application does not limit this.
  • the environment sensing unit 1310 classifies fixed routes or fixed places.
  • the environment sensing unit 1310 may identify and extract the cell information of the cell where the terminal device resides in the fixed route (ie, the first cell information) from the cell information obtained in step 202, or identify and extract the terminal device in the fixed place Cell information of the camped cell (that is, the second cell information).
  • the environment sensing unit 1310 can perform route recognition or scene recognition, and extract cell information in different scenarios.
  • the route and scene recognition module 1312 in the environment sensing unit 1310 can classify the cell information obtained in step 202 on a fixed route or a fixed place based on the information obtained by the collection module 1311, that is, identify and extract the information obtained by the collection module 1311
  • the cell information in the fixed route scenario in the cell information, or the cell information in the fixed location scenario in the cell information acquired by the collection module 1311 is identified and extracted.
  • the fixed place may be a place where the user often stays regularly, such as a home, a school, a company, and so on.
  • terminal equipment can reside in one or more cells within the fixed location.
  • the fixed route may be a common route when the user travels, for example, it may be a route from the user's home to a school, or a route from the user's home to a company, which is not limited in the embodiment of the present application.
  • terminal equipment will sequentially reside in certain fixed cells.
  • it may be based on the time information of the terminal device staying in the cell corresponding to the cell information, or the identification of the WiFi that the terminal device is connected to when camping in the cell corresponding to the cell information, or sensor information, or other information.
  • the information identifies the scene in which the terminal device is located, which is not limited in the embodiment of the present application.
  • the cell is a fixed route or a fixed place cell according to the time period during which the terminal device resides in the cell.
  • the time period may be preset in the terminal device, but the embodiment of the present application is not limited to this.
  • the cell where the terminal device resides from 12 pm to 6 am during the working day can be determined as the cell in the fixed place, namely During the time period from 12 pm to 6 am in the working day, the terminal device is in a fixed place scene.
  • the user is usually located in the company from 9 am to 5 pm during the working day, so the cell where the terminal device resides during the working day from 1 am to 5 pm can also be determined as the cell in the fixed trial, that is During the time period from 12 pm to 6 am in the working day, the terminal device is in a fixed place scene.
  • the cell where the terminal equipment resides from 5 to 7 pm is determined to be the cell on the fixed route, that is, from 7 am to 9 am on weekdays, and the terminal equipment is in the time period from 5 pm to 7 pm. In the scene of a fixed route.
  • the advantage of this classification method of distinguishing between fixed routes and fixed locations based on time periods is that it can reduce the complexity of cell classification and accurately classify cells.
  • the cell can be distinguished whether the cell is a fixed route or a cell of a fixed location according to the identification of the WiFi that the terminal device is connected to when the terminal device resides in the cell.
  • the cell where the terminal device resides is a cell in a fixed place, that is, the terminal device is in a fixed place.
  • the cell where the terminal device resides during this period is a cell on a fixed route, that is, the terminal device is in a fixed route scenario Down.
  • the cell where the terminal device resides during this period is also a cell on a fixed route, that is, the terminal device is in a fixed route scenario Down.
  • the cell is a fixed route or a fixed place cell based on sensor information in the terminal device when the terminal device resides in the cell.
  • the cell where the terminal device resides can be a cell on a fixed route, that is, the terminal device is in a fixed route scenario .
  • the cell where the terminal device resides in this period of time may be a cell in a fixed location, that is, the terminal device is in a fixed location scenario.
  • the terminal device can be determined whether the terminal device is in a fixed place scene according to a preset time period, such as the identification of the WiFi to which the terminal device is connected in the time period from 12 pm to 6 am on weekdays.
  • a preset time period such as the identification of the WiFi to which the terminal device is connected in the time period from 12 pm to 6 am on weekdays.
  • the WiFi connected to the terminal device during the preset period of time is the WiFi at home
  • it can be determined that the cell where the terminal device resides in the period of time is determined to be a cell in a fixed location, that is, during the period of time, the terminal device is in In the scene of a fixed place.
  • the WiFi connected to the terminal device during the preset time period is not the WiFi at home, it can be determined that the cell where the terminal device resides in the time period is not a cell in a fixed location, that is, the terminal device does not have In a scene in a fixed place.
  • the strategy interaction unit 1320 learns the cell information.
  • the policy interaction unit 1320 may learn the cell information in different scenarios according to the first cell information or the second cell information obtained by the environment sensing unit 1310, and obtain the learning result. According to the learning result, the next hop cell of the current camping cell can be determined.
  • the first cell may be an example of the current camping cell
  • the second cell may be an example of the next hop cell.
  • the learning module 1321 in the policy interaction unit 1320 can learn effective camping cells suitable for terminal devices in different scenarios.
  • the learning module 1321 may preprocess the first cell information or the second cell information according to a preset rule to obtain a valid camping cell.
  • the first cell information is preprocessed according to the first preset rule
  • the first effective camping cell can be obtained.
  • the second cell information is preprocessed according to the second preset rule, the second valid camping cell can be obtained.
  • the effective camping cell includes the first effective camping cell or the second effective camping cell.
  • the first preset rule may be a cell where the terminal device ping-pong handover is removed from the cell corresponding to the first cell information.
  • the cell where the terminal device ping-pong handovers may be referred to as a ping-pong cell.
  • the number of ping-pong cells may be two or three, which is not limited in the embodiment of the present application.
  • the number of second effective camping cells may be one, two, or more than two. In some optional embodiments, the number of second valid camping cells may be predefined, or the number of second valid camping cells may be selected by the user, which is not limited in the embodiment of the present application.
  • the second preset rule may be to determine from the terminal device in the cell corresponding to the second cell information that the terminal device has the longest camping time and the lowest power consumption. , Or the cell with the strongest signal reception strength, this cell is the second effective camping cell.
  • the second preset rule may be to determine in the cell corresponding to the second cell information that the terminal device has the longest camping time, the lowest power consumption, or the strongest received signal strength. At least two cells in the at least two cells, and determine the cell where the terminal device ping-pongs over the at least two cells.
  • the basis for selecting the second effective camping cell is only described here based on the duration, power consumption, or received signal strength of the terminal device camping in the cell, but the embodiment of the present application does not limit this.
  • the second effective camping cell may also be determined according to at least two kinds of information of the length of time the terminal device resides in the cell, the power consumption, or the received signal strength at the same time.
  • the terminal device may be pre-configured to select the second effective camping cell based on at least one of the length of time, power consumption, or received signal strength camped in the cell, or the user may select according to the terminal At least one of the length of time the device camps on the cell, power consumption, or received signal strength is used as a basis for selecting the second effective camping cell, which is not limited in the embodiment of the present application.
  • step 204 and step 205 can be performed periodically based on the data collected in step 202 or 203, that is, the collected cell information can be classified by fixed routes or fixed locations, or by classification The community information for further study. For example, 3 days may be used as a cycle, or 7 days may be used as a cycle, which is not limited in the embodiment of the present application.
  • steps 202 to 205 will not be executed for a long period of time (for example, one month, three months, one year, etc.).
  • a long period of time for example, one month, three months, one year, etc.
  • step 201 to step 205 can be executed again.
  • a network selection strategy suitable for the first cell currently camped on can be determined according to the learning result of the learning module 1321, that is, the next hop cell of the current camped cell, that is, the second cell, can be predicted.
  • the next hop cell may be a cell with the best power consumption.
  • the collection module 1311 can obtain the cell information of the first cell where the terminal device currently resides, and the route and scene identification module 1312 identifies whether the cell information of the first cell is the cell information in the fixed route (that is, whether the terminal device is currently In a fixed route scenario), or whether the cell information of the first cell is cell information in a fixed location (that is, whether the terminal device is currently in a fixed location scenario).
  • the current scene can be determined according to the time information at the current moment, or according to the identification of the WiFi connected at the current moment, or sensor information. For example, when the current time is 8 o'clock in the morning on a working day, or the terminal device is in motion, it can be determined that the terminal device is currently in a fixed route scenario, that is, the cell information of the first cell is the cell information in the fixed route. For another example, when the current time is 10 pm, or the WiFi connected to the terminal device at the current time is WiFi at home or in the company, or the terminal device is in a static state, it can be determined that the terminal device is currently in a fixed location scenario, that is, the first cell The cell information of is the cell information in the fixed scene.
  • the strategy matching module 1322 may determine a network selection strategy that matches the current scene according to the identification result of the cell information of the current cell.
  • the second cell can be determined in the first effective camping cell.
  • the second cell can be determined in the second effective camping cell.
  • steps 204 and/or 205 may be performed before obtaining the cell information of the first cell where the terminal device currently camps, which is beneficial to quickly predict the next hop cell of the current camping cell.
  • step 204 and/or step 205 may be executed, which is not limited in the embodiment of the present application.
  • the policy interaction unit 1320 issues a policy to the modem 140.
  • the strategy interaction unit 1320 issues the learning strategy matching the current scene, that is, the network selection strategy acquired in step 206 to the modem 140.
  • the embodiment of the present application can classify the cell information of the cell where the terminal device resides on a fixed route or a fixed place, and perform different preprocessing on different categories according to preset rules, and obtain the effective residency of terminal devices under different categories.
  • the cell then, based on the effective camping cells under different classifications, generates a current network selection strategy suitable for the terminal device.
  • the network selection strategy is used to instruct the terminal device to be the next hop cell of the cell where the terminal device is currently camping, so that the terminal device can Targeted network search can help reduce the power consumption of terminal equipment.
  • the network selection main control unit in the embodiment of the present application can interact with APs, modems, and sensors to jointly realize the network selection function.
  • the system architecture of the embodiment of the present application can be compatible with the existing network search architecture. Therefore, the system architecture of the embodiments of the present application has the characteristics of low coupling, high cohesion, and intelligent processing, and also has the characteristics of facilitating transplantation and upgrade.
  • FIG. 3 shows a schematic flowchart of a method 300 for network selection according to an embodiment of the present application.
  • the method 300 may be executed by the network selection main control unit 130 described above.
  • step 301 to step 305 may be included.
  • step 301 may be executed by the collection module 1311.
  • the collection module 1311 For details, please refer to the description of step 202 in FIG. 2, which will not be repeated here.
  • the route and scene recognition module 1312 may obtain the original cell handover path of the terminal device according to the cell information obtained by the collection module 1311, that is, extract the cell information on the original cell handover path from the cell information obtained by the collection module 1311.
  • Community information includes the cells in which the terminal device resides in sequence on the fixed route in chronological order.
  • multiple original cell switching paths can be obtained, such as A-B-C-D-E, A-B-C-D-C-D-E, A-B-C-B-C-D-E, A-B-F-D-E, A-B-C-F-D-E, etc.
  • A, B, C, D, E, F, etc. are used to identify cells.
  • the cell handover path may correspond to a cell identity list, where the cell identity list includes at least two cell identities corresponding to at least two cells on the cell handover path, and the at least two cell identities are in the cell
  • the sequence in the identification list is the same as the sequence of the at least two cells in the cell handover path.
  • the original cell switching path may correspond to the original cell identification list, and the original cell identification list includes the cell identifications of the cells in which the terminal device camps on the fixed route in chronological order.
  • the terminal device may also obtain the signal strength of the terminal device in the camped cell before each handover in the cell handover path, such as RSRP, which is not limited in this embodiment of the application.
  • step 303 Determine whether the number of acquisitions is greater than or equal to m. When the number of acquisitions is less than m, continue to perform step 301. When the number of acquisitions is greater than m, step 304 is executed.
  • m is a positive integer. Exemplarily, m may be set in the collection module 1311 in advance.
  • the collection module 1311 By setting the number of collection times greater than or equal to m in the embodiment of the present application, it can help the collection module 1311 obtain sufficient cell history records, thereby helping to improve the accuracy of learning network selection strategies in the embodiment of the present application.
  • the learning module 1321 may perform step 304.
  • step 304 may be a specific example of step 205 in FIG. 2 in a fixed route scenario.
  • the first valid camping cell in step 205 includes a cell corresponding to at least one (that is, one or more) valid cell handover routes.
  • the two cells or three cells can be called ping-pong cells.
  • the signal strength of the multiple cells is equivalent, so that the terminal device may access any cell during the movement, which may cause the terminal device to be in the multiple cells. Ping-pong handover between cells.
  • the two cells (or three cells) can be considered as ping-pong Community.
  • the time period may be a unit time or a preset time period, which is not limited in the embodiment of the present application.
  • the ping-pong cell in the cell handover path may be removed to obtain an effective cell handover path.
  • the network selection strategy is determined according to the effective cell handover path, it can be ensured that the terminal device stably resides in the next hop cell indicated by the network selection strategy.
  • step 304 by performing ping-pong operations on multiple original cell switching paths in the fixed route from home to company, it is possible to finally obtain three effective cell switching paths in the fixed route from home to company: ABCDE , ABFDE and ABCFDE.
  • the ping-pong cell in the cell handover path may be removed according to the cell identification list corresponding to the cell handover path.
  • the following describes two methods for removing ping-pong cells provided by embodiments of the present application with reference to FIGS. 4 to 5.
  • FIG. 4 shows a schematic flowchart of a method 400 for removing a ping-pong cell containing two cells.
  • Fig. 5 shows an example of a cell identification list and time window.
  • the cell identification list can include multiple cells such as A 0 ,..., A n-1 , A n , A n+1 , A n+2 , A n+3 , A n+4 ,... Identification, where n is a positive integer.
  • the time window can be set until all ping-pong cells in the cell table list are removed.
  • the three cell identifiers included in the time window are A 1 , A 2 , and A 3 .
  • next step executed 405.
  • the condition is not satisfied, i.e., A k-1 and A n are not the same, the next step executed 406.
  • FIG. 6 shows a specific example of deleting the cell identification list.
  • a n to Ak are A, B, A, B, A, and C respectively.
  • a k-1 is A and A n is A, that is, A k-1 is the same as A n .
  • the cell identity between A n+1 and A k-1 is deleted (that is, the ping-pong cell B, A , B, A)
  • the cell list identities shown in the second row of FIG. 6 that is, the cell identities list containing only A and C
  • the cell identities An +1 to Ak-1 have been deleted. That is to say, it is deleted from the second cell identifier in the time window until the last ping-pong cell.
  • Ak can be used as the n+1th cell identity in the cell identity list, and Ak+1 can be used as the n+2th cell identity in the cell identity list. , And so on.
  • A, B, C, D, etc. are examples of specific cell identities, but the embodiments of the present application are not limited thereto.
  • Fig. 7 shows another specific example of deleting the cell identification list.
  • a n to Ak are A, B, A, B, A, B, and C respectively.
  • a k-1 is B and A n is A, that is, A k-1 and A n are not the same.
  • delete the cell identity between A n+2 and A k-1 ie delete ping-pong cell A, B, A, B
  • the cell list identity as shown in the second row of Figure 7 that is, the cell identity list containing only A, B, and C
  • the cell identities A n+2 to A k-1 have been been deleted. That is to say, it is deleted from the third cell identifier in the time window until the last ping-pong cell.
  • Ak can be used as the n+2th cell identity in the cell identity list, and Ak+1 can be used as the n+3th cell identity in the cell identity list. , And so on.
  • the cell handover path of the ping-pong cell that does not include two cells can be obtained.
  • FIG. 8 shows a schematic flowchart of a method 800 for removing a ping-pong cell containing three cells.
  • Fig. 9 shows another example of a cell identification list and a time window.
  • the list of cell identities in FIG. 9 reference may be made to the description in FIG. 5, which will not be repeated here.
  • the three cell identifiers included in the time window are A 1 , A 2 , A 3 , and A 4 .
  • the next step executed 803.
  • a n-1 is the same as A n
  • a n is not the same as A n+3
  • the next step is to execute 809.
  • the first Ak that satisfies the condition in 403 is searched after the time window in the cell identity list.
  • next step executed 805.
  • the condition is not satisfied, i.e., A k-1 and A n are not the same, the next step executed 806.
  • FIG. 10 shows a specific example of deleting the cell identification list.
  • a n to Ak are A, B, C, A, ..., A, D, respectively.
  • a k-1 is A
  • a n is A
  • a k-1 is the same as A n .
  • the cell identity between A n+1 and A k-1 is deleted (that is, the ping-pong cells B, C are deleted).
  • A...A the cell list identities shown in the second row of FIG. 10 (that is, the cell identities list containing only A and D) can be obtained, and the cell identities An +1 to Ak-1 have been deleted at this time. That is to say, it is deleted from the second cell identifier in the time window until the last ping-pong cell.
  • Ak can be used as the n+1th cell identity in the cell identity list, and Ak+1 can be used as the n+2th cell identity in the cell identity list. , And so on.
  • A, B, C, D, etc. are examples of specific cell identities, but the embodiments of the present application are not limited thereto.
  • next step is to execute 807.
  • the next step is to execute 808.
  • FIG. 11 shows another specific example of deleting the cell identification list.
  • a n to Ak are A, B, C, A, ..., B, D, respectively.
  • a k-1 is B
  • a n+1 is B
  • a k- 1 is the same as A n+1.
  • delete the cell identity between A n+2 and A k-1 ie delete the ping-pong Cells C, A...B
  • the cell list identities shown in the second row of Figure 11 that is, the cell identities list containing only A, B, and D
  • the cell identities A n+2 to Ak- 1 has been deleted. That is to say, it is deleted from the third cell identifier in the time window until the last ping-pong cell.
  • Ak can be used as the n+2th cell identity in the cell identity list, and Ak+1 can be used as the n+3th cell identity in the cell identity list. , And so on.
  • Fig. 12 shows another specific example of deleting the cell identification list.
  • a n to Ak are A, B, C, A, ..., C, D respectively.
  • a k-1 is C
  • a n+1 is B, that is, A k- 1 is not the same as A n+1 .
  • delete the cell identity between A n+3 and A k-1 that is, delete Ping-pong cell A...C
  • the cell list identity shown in the second row of Figure 12 that is, the cell identity list containing only A, B, C, and D
  • the cell identities A n+3 to A k -1 has been deleted. That is to say, it is deleted from the fourth cell identifier in the time window until the last ping-pong cell.
  • Ak can be used as the n+3th cell identity in the cell identity list, and Ak+1 can be used as the n+4th cell identity in the cell identity list. , And so on.
  • the cell handover path of the ping-pong cell that does not include three cells can be obtained.
  • the ping-pong cell containing two cells may be removed first. After that, the ping-pong cell containing three cells can be removed continuously on the cell handover path where the ping-pong cell of the two cells is removed.
  • the strategy matching module 1322 may determine a network selection strategy suitable for the cell currently camped on according to the effective cell handover path obtained in 304, that is, predict the next hop cell of the currently camped cell.
  • step 305 may be a specific example of step 206 in FIG. 2 under a fixed route.
  • step 305 Two specific implementations of step 305 will be described below with reference to FIG. 13 and FIG. 14 respectively.
  • FIG. 13 shows a schematic flowchart of a method 1300 for network selection according to an embodiment of the present application.
  • the method 1300 may include step 1301 to step 1305.
  • step 1301 may be performed by the environment sensing unit 1310
  • steps 1302 to 1305 may be performed by the policy interaction unit 1320.
  • the collecting unit 1311 may obtain the cell information of the first cell currently served, for example, obtain the cell information sent by the modem 140 in real time.
  • the route and scene identification module 1312 determines the first cell currently serving according to the cell information of the first cell, and determines that the terminal device is currently in a fixed route scene, that is, the cell information of the first cell is the cell information in the fixed route.
  • the existing cell handover path may be the effective cell handover path obtained in step 304.
  • the policy matching module 1322 may search for the cell identity of the first cell in the cell identity list corresponding to the handover path of the existing cell according to the cell identity of the first cell.
  • the cell identity of the first cell exists in a cell identity list, it is determined that the first cell exists in the cell handover path corresponding to the cell identity list.
  • the cell identity of the first cell does not exist in a cell identity list, it is determined that the first cell does not exist in the cell handover path corresponding to the cell identity list.
  • the policy matching module 1322 may use the cell corresponding to the next cell identifier adjacent to the cell identifier of the first cell in the cell identifier list corresponding to the cell handover path as the next hop cell of the first cell.
  • next hop cell of the first cell in multiple cell handover paths when there is a next hop cell of the first cell in multiple cell handover paths, the frequency of the next hop cell in the handover path of different cells can be counted, and at least two cells with the highest frequency can be determined.
  • Next-hop cells such as the top N cells with the highest frequency (topN).
  • the terminal device Obtains at least one signal received power of the terminal device when it switches to the next hop cell at least once.
  • Signal strength in As an example, the received power may be RSRP, but the embodiment of the present application is not limited to this.
  • the terminal device can obtain the signal strength of the terminal device in the cell where the terminal device resides before each handover, which can be obtained in step 302 in FIG. The received power of the signal of the first cell at time.
  • the terminal when the existing cell handover path includes multiple cell handover paths, and the next hop cell of the first cell in the multiple cell handover paths is the same, such as the second cell, the terminal can be obtained separately When the device switches from the first cell to the second cell multiple times, the received powers of the signals in the corresponding multiple first cells.
  • the signal received power in the first cell is -85 dbm.
  • the signal received power in the first cell is -90dbm.
  • the signal reception power in the first cell is -100 dbm.
  • the terminal device can be obtained multiple times from the first cell.
  • the cell is handed over to each next hop cell, the received power of the corresponding multiple signals in the first cell.
  • the terminal device is handed over from the first cell to the second cell, and the signal received power in the first cell is -85dbm.
  • the terminal device is handed over from the first cell to the third cell, and the signal received power in the first cell is -75dbm.
  • the policy matching module 1322 may use the next hop cell obtained by the terminal device in step 1303 as the next hop cell of the first cell selected by the terminal device after the current moment.
  • the cell with the highest handover frequency for example, the second cell
  • the first n cell with the highest handover frequency for example, the top 2 cells, that is, the first The second cell and the third cell
  • the terminal device can only perform cell measurement on the first n cells, and can further use the signal strength of the first n cells as the next hop The judgment standard of the community.
  • the embodiment of the present application obtains the cell handover path of the terminal device on a fixed route, and when the first cell currently resides in the cell handover path, according to the next hop of the first cell in the cell handover path
  • the cell predicts the next hop cell of the terminal device currently in the first cell, so that the terminal device can search the network in a targeted manner according to the predicted next hop cell, thereby helping to reduce the number of neighboring cells measured by the terminal device. Or the number of cell reselections, which in turn helps to reduce the power consumption of the terminal equipment.
  • the cell measurement threshold when step 1304 is performed, it is also possible to determine the cell measurement threshold of the terminal device in the first cell after the current moment according to the received power level obtained in step 1304.
  • the cell measurement threshold includes a measurement threshold and/or an escape threshold, where the measurement threshold refers to the threshold for starting cell measurement on the next hop cell, and the escape threshold refers to the threshold for restoring the default cell measurement. For example, it can be used for all The threshold for cell measurement in the neighboring cell.
  • the maximum signal reception power among the multiple signal reception powers may be used to determine the The starting threshold of the second cell, and/or the escape threshold is determined according to the minimum signal receiving power among the multiple signal receiving powers.
  • the starting threshold may be the maximum signal received power
  • the escape threshold may be the minimum signal received power.
  • -85dbm when switching from the first cell to the second cell three times, when the corresponding three signal received powers are -85dbm, -90dbm, and -100dbm respectively, -85dbm can be used as the starting threshold for the second cell. Use -100dbm as the escape threshold.
  • start threshold may also be referred to as the start threshold for the second cell in the first cell
  • escape threshold may also be referred to as the escape threshold for the second cell in the first cell.
  • the maximum signal received power among the multiple signal received powers may be obtained.
  • the power determines the starting threshold, and/or the escape threshold is determined according to the minimum signal received power among the multiple signal received powers. At this time, when the starting threshold is met, cell measurement can be performed on all predicted cells.
  • the starting threshold may be the maximum signal received power
  • the escape threshold may be the minimum signal received power.
  • the received power of the two signals corresponding to the handover from the first cell to the second cell is -85dbm, -100dbm
  • the received power of the signal corresponding to the handover from the first cell to the third cell is -75dbm
  • the starting threshold of any cell that may be predicted such as the second cell and the third cell
  • use -100dbm as the escape threshold.
  • the signal receiving power of the terminal equipment in the first cell is less than or equal to -75dbm, start cell measurement for the cell that may be predicted, and when the signal receiving power of the terminal equipment in the first cell is less than or equal to- At 100dbm, the default measurement configuration of the modem is restored, that is, the terminal device measures all neighboring cells of the first cell), that is to say, at this time, only the single dimension of the signal strength of the neighboring cell of the first cell can be used as the next dimension.
  • the starting threshold may also be referred to as a common starting threshold in the first cell
  • the escape threshold may also be referred to as a common escape threshold in the first cell.
  • the embodiment of the present application can make the terminal device's signal reception power in the first cell greater than the start-of-measurement threshold (at this time, it can be considered that the terminal device has a better signal in the first cell), and it does not affect specific neighboring cells (such as the second cell). Cell) or all predicted neighboring cells (such as the second cell and the third cell), and the signal received power in the first cell is less than or equal to the measurement threshold (at this time, it can be considered that the terminal device is in the first cell).
  • the measurement is performed on a specific neighboring cell (such as the second cell) or all predicted neighboring cells (such as the second cell and the third cell), which helps to reduce the waste of terminal equipment measurement.
  • the power consumption of the terminal device is performed on a specific neighboring cell (such as the second cell) or all predicted neighboring cells (such as the second cell and the third cell), which helps to reduce the waste of terminal equipment measurement. The power consumption of the terminal device.
  • the embodiment of the present application can make the signal received power of the terminal device in the first cell less than or equal to the escape threshold (at this time, it can be considered that the signal of the terminal device in the first cell is already very poor), according to the existing neighbors
  • the cell measurement mechanism performs cell measurement instead of measuring only the predicted cell (for example, the second cell), thereby helping to increase the probability that the terminal device measures the neighboring cell.
  • the starting threshold set by the embodiment of the present application is higher than the prior art, that is, more stringent.
  • the starting threshold determined by the solution of the embodiment of the application can be -70dbm, so that the terminal device can perform cell measurement when the signal quality is not too bad. It helps to reduce the number of times the terminal equipment measures neighboring cells.
  • the threshold from the measured maximum can also signal received power offset obtained, for example, the maximum signal and the received power of ⁇ 1.
  • the escape threshold can also be obtained by offsetting the minimum signal received power, for example, the minimum signal received power plus ⁇ 2.
  • ⁇ 1 or ⁇ 2 may be a positive value or a negative value, which is not limited in the embodiment of the present application.
  • the set starting threshold when the offset to the maximum signal received power (ie ⁇ 1 ) is positive, since the maximum signal received power is usually a negative value, the set starting threshold will become larger (That is, increase the start-of-measurement threshold), which in turn can help realize the late handover of cells, thereby helping to save measurement power consumption.
  • the offset to the maximum signal received power (ie ⁇ 1 ) is a negative value, since the maximum signal received power is usually a negative value, the set threshold for the measurement will become smaller (ie lower the threshold for the measurement). It helps to switch cells early, which helps to avoid switching when the signal is bad.
  • the set escape threshold when the deviation of the minimum signal received power (ie ⁇ 2 ) is positive, the set escape threshold will become larger, which can help realize the default of the modem to be restored later. Measurement configuration helps to save measurement power consumption. When the deviation of the minimum signal received power (ie ⁇ 2 ) is a negative value, the set escape threshold will become smaller, which can help to restore the modem’s default measurement configuration early, and help avoid signal Switch over when it is not good.
  • the starting threshold or the escape threshold may be configured in advance, which is not limited in the embodiment of the present application.
  • the embodiment of the present application obtains the received power of the terminal device in the first cell when it switches to the next hop cell in the cell handover path, and determines the starting point for the terminal device to perform cell measurement in the first cell based on the received power.
  • the measurement threshold and/or escape threshold allow the terminal device to perform cell measurement according to the measurement threshold and/or escape threshold, thereby helping to reduce the number of neighboring cells measured by the terminal device, or the number of times the neighboring cells are measured, or the cell
  • the number of reselections helps reduce the power consumption of the terminal device.
  • FIG. 14 shows a schematic flowchart of another method 1400 for network selection provided by an embodiment of the present application.
  • the method 1400 may include steps 1401 to 1410.
  • step 1401 may be performed by the environment sensing unit 1310
  • steps 1402 to 1410 may be performed by the policy interaction unit 1320.
  • steps 1401 to 1403 can refer to the description of steps 1301 to 1303 in FIG.
  • the terminal device is disconnected in the next hop cell of the first cell in the existing path before the current moment.
  • the current moment can be recorded as the first moment.
  • step 1405 is executed in the next step.
  • step 1410 is executed in the next step.
  • the following one-hop cells include the second cell and the third cell as an example. You can obtain the signal strength of the terminal equipment camped in the second cell (which can be recorded as the first signal strength), and the terminal equipment camping in the third cell Signal strength (can be recorded as the second signal strength).
  • the signal strength may be the average signal strength of the terminal device camped in the cell.
  • the first signal strength may be the average signal strength of RSRP in the second cell, denoted as RSRP#1
  • the second signal strength may be the average signal strength of RSRP in the third cell, denoted as RSRP #2.
  • the next step is to execute 1407.
  • TH is an example of the third preset value.
  • the cell corresponding to the larger signal strength of the first signal strength and the second signal strength may be used as the next hop cell of the terminal device after the first moment, that is, max(RSRP#1 , The cell corresponding to RSRP#2) serves as the next hop cell of the terminal device after the first moment.
  • the cell corresponding to the larger value of the two can be selected as the next hop cell after the first moment.
  • the cell with the best power consumption can be further selected as the next hop cell after the first moment. For details, refer to the description of step 1408.
  • the 1408 Determine the first power consumption situation and the second power consumption situation.
  • the first power consumption situation may be the power consumption situation of the terminal device in the second cell
  • the second power situation may be the power consumption situation of the terminal device in the third cell.
  • the terminal device is in the cell according to the discontinuous reception (DRX) period and/or invalid radio resource control (RRC) connection duration of the terminal device in the cell Power consumption.
  • the invalid RRC connection duration may be the duration between the time when the modem does not send data to the time when the RRC release ends.
  • a weighted summation can be performed on the DRX cycle and the RRC connection duration of the terminal device in the cell, and the value obtained by the summation can be used to indicate the power consumption of the terminal device in the cell.
  • the following formula (1) shows a specific example of power consumption.
  • S represents the power consumption score
  • SD represents the DRX cycle score
  • represents the weighted value of the DRX cycle score
  • SR represents the invalid RRC connection score
  • represents the weighted value of the invalid RRC connection score
  • the value of ⁇ can be 0.6, and the value of ⁇ can be 0.4.
  • DRX cycles correspond to different scores SD
  • different invalid RRC connection times correspond to different scores SR.
  • at least one DRX cycle threshold and at least one invalid RRC connection duration threshold can be set, and according to the threshold, the score SD corresponding to different DRX cycles and the score SR corresponding to different invalid RRC connection times are determined.
  • Fig. 15 shows a specific example of the DRX threshold value and the invalid RRC connection duration threshold value.
  • DRX threshold values a 0 and a 1 can be set, where a 0 > a 1 .
  • the value of a 0 can be sf128, and the value of a 1 can be sf10.
  • the invalid RRC connection duration thresholds t 0 , t 1 and t 2 can also be set, where t 2 >t 1 >t 0 .
  • the value of t can be 9s
  • the value of t 1 can be 15s
  • the value of t 2 can be 20s.
  • the invalid RRC connection duration a When the invalid RRC connection duration a satisfies t ⁇ t 0 , the invalid RRC connection duration is a very short connection duration, when t 0 ⁇ t ⁇ t 1 , the invalid RRC connection duration is a short connection duration, and when t 1 ⁇ t ⁇ t 2 , the invalid RRC connection duration is a long connection duration, and when t 0 ⁇ t ⁇ t 1 is satisfied, the invalid RRC connection duration is a very long connection duration.
  • Table 1 shows an example of the DRX cycle (denoted as a) and its corresponding score SD
  • Table 2 shows an example of invalid RRC connection time (denoted as t) and its corresponding score SR.
  • the cell corresponding to the smaller power consumption in the first power consumption situation and the second power consumption situation may be used as the next hop cell of the terminal device in the current cell.
  • the power consumption score of the terminal device in cell b can be expressed as Sb
  • the power consumption score in cell c can be expressed as Sc.
  • the cell corresponding to max(Sb, Sc) can be used as the terminal device in The next hop cell selected after the first moment.
  • the above steps 1405 to 1409 are only described by taking the signal strength of the top2 cell in the next hop cell as an example.
  • the signal strength of the top3 or top4 or other topN cells in the next hop cell can also be obtained, which is not limited in the embodiment of the present application.
  • the specific implementation can refer to the related description of acquiring the signal strength of top2 cells, some simple adaptations may be required, but it is also within the protection scope of the embodiments of this application .
  • the signal strength of the topN cell when the signal strength of the topN cell is acquired, it can be determined whether the absolute value of the signal strength difference between the N cells is less than the third preset value.
  • the next hop cell of the currently camped cell may be determined according to the signal strengths of the N cells. For example, the cell corresponding to the largest signal strength among the signal strength values of the N cells may be used as the next hop cell of the cell where the terminal device currently resides.
  • the power consumption of the N cells can be determined, and according to the power consumption of the N cells, the current The next hop cell of the camping cell. For example, the cell corresponding to the smallest power consumption among the N cells is used as the next hop cell of the current camping cell of the terminal device.
  • the embodiment of the application determines whether the terminal device is disconnected in the next hop cell before the current moment, and when the next hop cell is not disconnected, the current station is determined according to the signal strength of the terminal device in the next hop cell.
  • the next hop cell of the cell is reserved, so that the terminal device can search the network in a targeted manner, which helps to reduce the number of neighboring cells measured by the terminal device, or the number of neighboring cell measurements, or the number of cell reselections, and then Help reduce the power consumption of terminal equipment.
  • the recovery time after the terminal device is disconnected in the second cell may be acquired. Then, according to the recovery time, the measurement strategy to be adopted by the terminal device after the network drops in the second cell is determined.
  • the maximum recovery time (denoted as T max ) and the minimum recovery time (denoted as T min ) of the terminal equipment after being disconnected in the second cell in the historical record can be counted.
  • the measurement strategy at time t (that is, the time when the terminal device goes offline in the second cell is t) is as follows:
  • the terminal device turns off the cell measurement in the first cell. At this time, the terminal device is about to have or has no network available in this time period. If the terminal device continues to perform cell measurement at this time, it is very likely that the network cannot be searched. Based on this, the embodiment of the present application can reduce the power consumption of the terminal device by turning off the cell measurement of the terminal device in a time period less than T min.
  • T min ⁇ t ⁇ k*T min +(1-k)T max it is determined to configure the measurement interval of the terminal device as the first measurement interval, where 0 ⁇ k ⁇ 1.
  • k can take a value of 0.5.
  • the terminal device measurement interval is configured as the first measurement interval.
  • the measurement interval of the terminal device is configured as the second measurement interval in a time period greater than or equal to k*T min + (1-k) T max.
  • the second measurement interval is smaller than the first measurement interval.
  • the first measurement interval may be referred to as a long measurement interval, and the second measurement interval may be referred to as a short measurement interval.
  • the embodiment of the present application determines whether the terminal device is disconnected in the second cell in the history record, and when the terminal device is disconnected from the second cell, the terminal device generates the data according to the recovery time after the historical disconnection of the terminal device.
  • the measurement strategy suitable for different time periods after the terminal device is currently offline in the second cell, so that the terminal device can perform cell measurement in a targeted manner, thereby helping to reduce the invalid measurement of the terminal device, thereby helping to reduce the terminal device The power consumption of the device.
  • FIG. 16 shows a schematic flowchart of a method 1600 for network selection according to an embodiment of the present application.
  • the method 1600 may be executed by the network selection main control unit 130 described above. Specifically, step 1601 to step 1607 may be included.
  • step 1601 may be executed by the collection module 1311.
  • the collection module 1311 For details, please refer to the description of step 202 in FIG. 2, which will not be repeated here.
  • step 1602 is executed.
  • m is a positive integer.
  • m may be set in the collection module 1311 in advance.
  • N is a positive integer.
  • the first area may be an example of a fixed place, such as a home, a school, a company, etc., which is not limited in the embodiment of the present application.
  • the route and scene recognition module 1312 may obtain one or more cells where the terminal device resides in the first area according to the cell information obtained by the collection module 1311, that is, extract the information from the cell information obtained by the collection module 1311. Cell information of a cell camped in the first area.
  • N cells can be determined among the one or more cells, where N is a positive integer.
  • the learning module 1321 in the strategy interaction unit 1320 may determine the N cells.
  • the N cells may be the topN cells where the terminal device resides in the first area for the longest time, or the topN cells with the lowest power consumption, or the topN cells with the strongest received signal strength.
  • the cell is the cell in which the terminal device stays in the first area for the longest time, or has the lowest power consumption, or has the strongest received signal strength.
  • the cell is an example of the second effective camping cell.
  • steps 1603 to 1606 need to be performed.
  • the learning module 1321 in the strategy interaction unit 1320 may continue to perform the following steps 1603 to 1606. That is, at this time, the N cells are determined, and the following steps 1603 to 1606 may be a specific example in step 205 under a fixed location.
  • the N cells are an example of the second effective camping cell.
  • the N cells may also be two cells, four cells, or more cells, which is not limited in the embodiment of the present application.
  • the specific implementation can refer to the description of acquiring three cells camped in the first area, some simple adaptations may be needed, but it is also Within the protection scope of the embodiments of this application.
  • the learning module 1321 can acquire the number of times the terminal device switches between C1 and C2, the number of times the terminal device switches between C1 and C3, and the number of times the terminal device switches between C1 and C3. The number of times to switch between.
  • the learning module 1321 may also obtain multiple corresponding signal received powers in the current serving cell when the terminal device switches between cells for multiple times, such as RSRP. For example, when a terminal device is handed over from cell C1 to cell C2, obtain the signal received power of the terminal device in cell C1, such as -85dbm; when the terminal device is handed over from cell C2 to cell C3, obtain the terminal device in cell C2 When the terminal equipment is switched from cell C3 to C2, the signal receiving power of the terminal equipment in cell C3 is obtained, such as -90dbm.
  • step 1604 Determine whether the number of switching times per unit time is greater than a threshold value.
  • the threshold value may be preset.
  • the next step is step 1605.
  • the next step is step 1606.
  • the terminal device when the number of times of switching between two cells per unit time is less than or equal to the threshold, it means that the terminal device is camping stably between the two cells, that is, the two cells are not ping-pong cells.
  • the terminal device when the number of handovers between two cells per unit time is greater than the threshold, it means that the terminal device frequently reselects between the two cells, that is, the two cells are ping-pong cells.
  • the strategy matching module 1322 may determine a network selection strategy suitable for the cell currently camped on according to the learning results in steps 1603 to 1606, that is, predict the next hop cell of the cell currently camped on.
  • step 1607 may be a specific example of step 206 in FIG. 2 in a fixed place.
  • the cell when a cell camped in the first area is acquired in step 1602, the cell can be directly used as the next hop cell of the terminal device after the first cell.
  • the method described in FIG. 17 may be executed to determine the network selection strategy of the cell currently camped on.
  • FIG. 17 shows a schematic flowchart of a method 1700 for network selection according to an embodiment of the present application.
  • the method 1700 may include step 1701 to step 1307.
  • step 1301 may be performed by the environment sensing unit 1310
  • steps 1302 to 1305 may be performed by the strategy interaction unit 1320 (for example, the strategy matching module 1322 in the strategy interaction unit).
  • the collecting unit 1311 may obtain the cell information of the first cell currently served, for example, obtain the cell information sent by the modem 140 in real time.
  • the route and scene identification module 1312 determines the first cell currently serving according to the cell information of the first cell, and determines that the terminal device is currently in a fixed place scene, that is, the cell information of the first cell is the cell information in the fixed place.
  • the policy matching module 1322 may search for the cell identity of the first cell in the cell identity list corresponding to the existing fixed location according to the cell identity of the first cell.
  • the cell identification list corresponding to the fixed location is the cell identification list corresponding to the N cells included in the fixed location.
  • the cell camped at this time may be near the fixed place Or the cell with the 4th frequency in the fixed location. At this point, you can execute 1703.
  • the terminal device uses at least one cell among C1, C2, and C3 as a cell that can be selected by the terminal device in the first area.
  • the cells that the terminal device can select in the first area may be expressed as (C1, C2, C3). In this way, the terminal device can quickly switch to one of the top3 cells, and can camp on the cell stably.
  • the policy matching module 1322 may recommend the cell selected in the first area to the terminal device according to the priority order of the time that the terminal device resides in C1, C2, and C3.
  • C1 or C2 or C3 can be measured according to the default starting threshold.
  • the default starting test threshold may be the starting test threshold for all cells set by the modem.
  • the terminal device can also perform neighbor cell measurement according to the default escape threshold, that is, when the signal received power of the terminal device in any cell is less than the default escape threshold, cell measurement is performed on all neighboring cells.
  • C ⁇ indicates a cell having a ping-pong relationship with the cell C currently camped on. That is, in a unit time, the number of times the terminal device switches between cell C and cell C ⁇ is greater than the preset value.
  • C ⁇ (C1, C2, C3) When C ⁇ (C1, C2, C3) is satisfied, that is, C1, C2, and C3 include the cell C where the terminal device currently resides, and there is also a cell C ⁇ that has a ping-pong relationship with the cell C, then execute 1705.
  • C ⁇ (C1, C2, C3) When C ⁇ (C1, C2, C3) is not satisfied, that is, C1, C2, and C3 include the cell C where the terminal device currently resides, but there is no cell C which has a ping-pong relationship with the cell C, execute 1706.
  • (C1, C2, C3)-(C, C ⁇ ) as cells that can be selected by the terminal device in the first area.
  • (C1, C2, C3)-(C, C ⁇ ) represent the cells in C1, C2, C3 except for C, C ⁇ .
  • the terminal device can be switched to a cell that does not have a ping-pong relationship with the cell currently camped on, and it can be ensured that the terminal device stably camps on the next hop cell.
  • the measurement strategy in the current cell C can also be determined according to the acquisition of multiple corresponding signal received powers in the cell C when the terminal device switches between cells for multiple times.
  • the measurement strategy includes the start-of-measurement threshold and/or the escape threshold of the terminal equipment in cell C.
  • the multiple signal received powers can be included
  • the maximum signal received power of is used as the starting threshold, and the minimum signal received power of the multiple signal received powers is used as the escape threshold.
  • cell C is C1, and C ⁇ C2
  • the starting threshold of cell C3 (that is, when the received signal power in cell C1 is less than the maximum received power, measure cell C3), and the minimum signal received power is used as the escape threshold in cell C1 (that is, when in cell C1).
  • the signal receiving power in the cell C1 is the minimum signal receiving power, a strategy is applied to all neighboring cells).
  • the starting threshold can also be called the starting threshold corresponding to cell C2
  • the escape threshold can be called the starting threshold corresponding to cell C2.
  • (C1, C2, C3)-C Use at least one cell in (C1, C2, C3)-C as a cell that can be selected by the terminal device in the first area.
  • (C1, C2, C3)-C represents cells other than C in C1, C2, and C3.
  • the terminal device can be switched to a cell that does not have a ping-pong relationship with the cell currently camped on, and it can be ensured that the terminal device stably camps on the next hop cell.
  • the measurement strategy in the current cell C can also be determined according to the acquisition of multiple corresponding signal received powers in the cell C when the terminal device switches between cells for multiple times.
  • the measurement strategy includes the starting measurement threshold and the escape threshold of the terminal equipment in the cell C.
  • cell C when cell C is C1, multiple signal received powers in C1 that the terminal device has switched from C1 to C2 multiple times can be obtained, and the maximum signal received power among them can be used as the starting measurement for cell C2 in cell C1 Threshold (that is, when the signal received power in cell C1 is less than the maximum received power, measure cell C2), and use the minimum signal received power as the escape threshold in cell C1 (that is, when the signal in cell C1 When receiving the minimum signal receiving power of the cell, a strategy is applied to all neighboring cells).
  • the starting thresholds for different cells in cell C can be different, or the thresholds for escaping from different cells in cell C are different, so the starting threshold here can be the starting threshold for a specific cell, and the escape threshold can be It is the escape threshold for a specific cell.
  • the maximum signal received power of the multiple signal received powers can be used as Start the measurement threshold, and maximize the minimum signal received power to escape the threshold.
  • cell C when cell C is C1, multiple signal received powers in C1 that the terminal device has switched from C1 to C2 or C3 multiple times can be obtained, and the maximum signal received power among them can be used as the signal received power in cell C1 to cell C2 or
  • the threshold of C3 is the minimum signal received power as the escape threshold in cell C1.
  • the starting threshold may be a general starting threshold in cell C
  • the escape threshold may be a general starting threshold in cell C.
  • the starting threshold and the escape threshold can be referred to the above description, and for brevity, details are not repeated here.
  • the starting threshold or the escape threshold may be pre-configured, which is not limited in the embodiment of the present application.
  • the embodiment of the application obtains the historical records of the terminal equipment camping in the cell in the fixed place, and predicts the terminal equipment currently staying in the first cell according to the historical camping situation of the terminal equipment in the cell of the fixed place.
  • One-hop cell allows the terminal device to search the network in a targeted manner based on the predicted cell, thereby helping to reduce the number of neighboring cells measured by the terminal device, or the number of times the neighboring cell is measured, or the number of cell reselections. Help reduce the power consumption of terminal equipment.
  • the terminal device can obtain the current camping After leaving the cell, predict the next hop cell of the current cell more quickly.
  • the cell to which the terminal device ping-pongs is determined among the N cells.
  • the first cell currently camped on is C, and C ⁇ (C1, C2, C3)
  • the process of determining the cell for ping-pong handover of the terminal equipment among the N cells it can only be determined whether the terminal equipment is in Ping-pong handover between the first cell C and other cells except C in (C1, C2, C3). That is to say, there is no need to determine whether the terminal device ping-pongs between C2 and C3 at this time. In this way, the resources consumed by the calculation of the terminal device can be saved.
  • FIG. 18 shows a schematic flowchart of a method 1800 for network selection according to an embodiment of the present application.
  • the method 1800 may be executed by the terminal device shown in FIG. 1A, FIG. 1B, and FIG. 1C. Further, the method 1800 may be executed by the network selection main control unit 130 in the system architecture 100 in FIG. 1C.
  • the method 1800 includes steps 1810 and 1860.
  • first cell information is cell information of a cell where the terminal device resides on a fixed route
  • second cell information Cell information of the cell where the terminal device resides in a fixed place
  • the first valid camping cell is obtained by preprocessing the first cell information according to a first preset rule
  • the second valid camping cell is obtained by preprocessing the first cell information according to a second preset rule.
  • the second cell information is obtained by preprocessing.
  • the 1850 determines that the cell information of the first cell is cell information in a fixed route or cell information in a fixed location.
  • the cell information of the first cell is cell information in a fixed route
  • determine a second cell in the first effective camping cell and when the cell information of the first cell is cell information in a fixed location
  • the second cell is determined in the second effective camping cell, where the second cell is the next cell where the terminal device camps after the first cell.
  • the embodiment of the present application can classify the cell information of the cell where the terminal device resides on a fixed route or a fixed place, and perform different preprocessing on different categories according to preset rules, and obtain the effective residency of terminal devices under different categories.
  • the cell then, based on the effective camping cells under different classifications, generates a current network selection strategy suitable for the terminal device.
  • the network selection strategy is used to instruct the terminal device to be the next hop cell of the cell where the terminal device is currently camping, so that the terminal device can Targeted network search can help reduce the power consumption of terminal equipment.
  • the cell information further includes the signal received power in the cell where the terminal device is camping when the terminal device switches from the cell where it is camping to the next hop cell;
  • the method 1800 further includes:
  • the cell measurement threshold includes an initiation threshold and/or an escape threshold
  • the initiation threshold is a threshold for starting cell measurement on the next hop cell of the camped cell
  • the escape threshold is an A threshold for cell measurement performed by neighboring cells of the camped cell
  • the cell measurement threshold is determined according to the maximum signal received power among the at least one signal received power
  • the escape threshold is determined according to the at least one signal received Power is determined by the minimum signal received power.
  • the first effective camping cell includes the first cell and the second cell, and the second cell is the first cell.
  • the historical next hop cell of the cell on the fixed route the method 1800 further includes:
  • T min ⁇ t ⁇ k*T min + (1-k)T max it is determined to configure the measurement interval of the terminal device as the first measurement interval, where 0 ⁇ k ⁇ 1;
  • t represents the time period after the terminal device is disconnected in the second cell
  • T max represents the maximum recovery time for the terminal device to resume connection after the second cell is disconnected from the network
  • T min represents the minimum recovery time obtained by statistics for the terminal device to recover the connection after the second cell is disconnected from the network.
  • the first effective camping cell when the first cell information is acquired in the cell information, includes the first cell, the second cell and the third cell, the second cell and the The third cell is two different historical next hop cells of the first cell on a fixed route;
  • the first frequency of the second cell as the next hop node of the terminal device in the first cell is greater than that of the third cell as the next hop node of the terminal device in the first cell
  • the first signal strength of the terminal device in the second cell is greater than the second signal strength of the terminal device in the third cell;
  • the first power consumption of the terminal equipment in the second cell is greater than the second power consumption of the terminal equipment in the third cell, where the first power consumption is based on the
  • the discontinuous reception DRX cycle and invalid radio resource control RRC connection duration in the second cell are determined, and the second power consumption is determined based on the discontinuous reception DRX cycle and invalid radio resource control of the terminal device in the third cell.
  • the resource control RRC connection duration is determined.
  • the preprocessing the first cell information or the second cell information according to a preset rule to obtain a valid camping cell includes:
  • the cell to which the terminal device ping-pong is switched is removed from the cell corresponding to the first cell information, and the first effective camping cell is acquired.
  • the removing the cell of the terminal device ping-pong handover from the cell corresponding to the first cell information to obtain the first valid camping cell includes:
  • the first cell identity list includes at least two cell identities corresponding to at least two cells on the fixed route one-to-one, and the at least two cells
  • the sequence of the identifiers in the first cell identifier list is the same as the sequence of the at least two cells in the fixed route;
  • the cell to which the terminal device ping-pong is switched is removed, so as to obtain the first effective camping cell.
  • the removing the cell from ping-pong handover of the terminal device includes:
  • the cell ID that is adjacent to the first time window in the first cell ID list is not the same as the first cell ID in the first time window, and the first cell ID is equal to
  • the condition of the last cell identity in the first time window is the condition
  • the first cell identity is acquired after the first time window in the first cell identity list, where the first cell identity and the The second cell identifier and the last cell identifier in the first time window are different;
  • the second cell identity is deleted from the first cell identity list to the The cell identity between the second cell identities;
  • the cell identity between the last cell identity and the second cell identity is deleted from the first cell identity list.
  • the removing the cell from ping-pong handover of the terminal device includes:
  • the cell identity that is adjacent to the second time window in the first cell identity list is not the same as the first cell identity in the second time window, and the first cell identity is equal to
  • the third cell identity is acquired after the second time window in the first cell identity list, where the third cell identity and the The second cell identity in the second time window, the third cell identity in the second time window, and the last cell identity are all different;
  • the second cell identity is deleted from the first cell identity list to the The cell identity between the fourth cell identities;
  • the preprocessing the first cell information or the second cell information according to a preset rule to obtain a valid camping cell includes:
  • the second cell information in the cell information determines at least two of the longest camping time, the lowest power consumption, or the strongest received signal strength of the terminal device in the cell corresponding to the second cell information. Cells to obtain the second effective camping cell, where the second effective camping cell includes the at least two cells;
  • the determining the second cell in the second effective camping cell includes:
  • the first cell does not belong to the at least two cells, use at least one cell of the at least two cells as the second cell;
  • the terminal device When the first cell belongs to the at least two cells, and the terminal device does not perform a ping-pong handover between the first cell and other cells of the at least two cells except the first cell , Use at least one of the at least two cells as the second cell;
  • the terminal device When the first cell belongs to the at least two cells, and the terminal device performs a ping-pong handover between the first cell and a fourth cell other than the first cell among the at least two cells , Using other cells among the at least two cells except the first cell and the fourth cell as the second cell;
  • the terminal device ping-pongs between the first cell and a fifth cell that does not belong to the at least two cells
  • the at least two cells Among the cells cells other than the first cell serve as the second cell.
  • the first information further includes information about the time that the terminal device resides in the cell corresponding to the cell information;
  • the obtaining the first cell information or the second cell information from the cell information includes:
  • the cell information is the first cell information or the second cell information.
  • the first information further includes an identifier of the WiFi that the terminal device is connected to when camping in the cell corresponding to the cell information;
  • the obtaining the first cell information or the second cell information from the cell information includes:
  • the cell information is the first cell information or the second cell information.
  • each step or process of the method 1800 may correspond to the corresponding process in FIG. 2 to FIG. 17 above. For the sake of brevity, it will not be repeated here.
  • the network selection method provided by the embodiment of the present application is described in detail above with reference to FIG. 1 to FIG. 18.
  • the following describes the network selection apparatus of the embodiment of the present application with reference to FIG. 19 and FIG. 20.
  • the devices in FIG. 19 and FIG. 20 can execute each step in the network selection method in the embodiment of the present application.
  • the following description of the network selection device in FIG. 19 and FIG. 20 will appropriately omit the repetition. description of.
  • FIG. 19 shows a schematic block diagram of a network selection apparatus 1900 provided by an embodiment of the present application.
  • the apparatus 1900 may be a terminal device, or a circuit or chip provided in the terminal device.
  • the apparatus 1900 includes an acquiring unit 1910 and a processing unit 1920.
  • the obtaining unit 1910 is configured to obtain first information, where the first information includes cell information of a cell where the terminal device resides.
  • the processing unit 1920 is configured to obtain first cell information or second cell information from the cell information, where the first cell information is cell information of a cell where the terminal device resides on a fixed route, and The second cell information is cell information of the cell where the terminal device resides in a fixed place;
  • the processing unit 1920 is further configured to preprocess the first cell information or the second cell information according to a preset rule to obtain a valid camping cell, where the valid camping cell includes the first valid camping cell A cell or a second valid camping cell, the first valid camping cell is obtained by preprocessing the first cell information according to a first preset rule, and the second valid camping cell is obtained according to a second preset rule. It is assumed that the rule is obtained by preprocessing the second cell information.
  • the acquiring unit 1910 is further configured to acquire second information, where the second information includes cell information of the first cell where the terminal device currently resides.
  • the processing unit 1920 is further configured to determine that the cell information of the first cell is cell information in a fixed route or cell information in a fixed place.
  • the processing unit 1920 is further configured to determine a second cell in the first effective camping cell when the cell information of the first cell is cell information in a fixed route, and when the cell information of the first cell is When fixing cell information in a location, determine the second cell in the second effective camping cell, where the second cell is the next camping cell of the terminal device after the first cell .
  • the cell information further includes the signal received power in the cell where the terminal device is camping when the terminal device switches from the cell where it is camping to the next hop cell;
  • the processing unit 1920 is further configured to:
  • the cell measurement threshold includes an initiation threshold and/or an escape threshold
  • the initiation threshold is a threshold for starting cell measurement on the next hop cell of the camped cell
  • the escape threshold is an A threshold for cell measurement performed by neighboring cells of the camped cell
  • the cell measurement threshold is determined according to the maximum signal received power among the at least one signal received power
  • the escape threshold is determined according to the at least one signal received Power is determined by the minimum signal received power.
  • the processing unit 1920 is further configured to:
  • T min ⁇ t ⁇ k*T min + (1-k)T max it is determined to configure the measurement interval of the terminal device as the first measurement interval, where 0 ⁇ k ⁇ 1;
  • t represents the time period after the terminal device is disconnected in the second cell
  • T max represents the maximum recovery time for the terminal device to resume connection after the second cell is disconnected from the network
  • T min represents the minimum recovery time obtained by statistics for the terminal device to recover the connection after the second cell is disconnected from the network.
  • the first effective camping cell when the first cell information is acquired in the cell information, includes the first cell, the second cell and the third cell, the second cell and the The third cell is two different historical next hop cells of the first cell on a fixed route;
  • the first frequency of the second cell as the next hop node of the terminal device in the first cell is greater than that of the third cell as the next hop node of the terminal device in the first cell
  • the first signal strength of the terminal device in the second cell is greater than the second signal strength of the terminal device in the third cell;
  • the first power consumption of the terminal equipment in the second cell is greater than the second power consumption of the terminal equipment in the third cell, where the first power consumption is based on the
  • the discontinuous reception DRX cycle and invalid radio resource control RRC connection duration in the second cell are determined, and the second power consumption is determined based on the discontinuous reception DRX cycle and invalid radio resource control of the terminal device in the third cell.
  • the resource control RRC connection duration is determined.
  • processing unit 1920 is specifically configured to:
  • the cell to which the terminal device ping-pong is switched is removed from the cell corresponding to the first cell information, and the first effective camping cell is acquired.
  • processing unit 1920 is specifically configured to:
  • the first cell identity list includes at least two cell identities corresponding to at least two cells on the fixed route one-to-one, and the at least two cells
  • the sequence of the identifiers in the first cell identifier list is the same as the sequence of the at least two cells in the fixed route;
  • the cell to which the terminal device ping-pong is switched is removed, so as to obtain the first effective camping cell.
  • processing unit 1920 is specifically configured to:
  • the cell ID that is adjacent to the first time window in the first cell ID list is not the same as the first cell ID in the first time window, and the first cell ID is equal to
  • the condition of the last cell identity in the first time window is the condition
  • the first cell identity is acquired after the first time window in the first cell identity list, where the first cell identity and the The second cell identifier and the last cell identifier in the first time window are different;
  • the second cell identity is deleted from the first cell identity list to the The cell identity between the second cell identities;
  • the cell identity from the last cell identity to the second cell identity is deleted from the first cell identity list.
  • processing unit 1920 is specifically configured to:
  • the cell identity that is adjacent to the second time window in the first cell identity list is not the same as the first cell identity in the second time window, and the first cell identity is equal to
  • the third cell identity is acquired after the second time window in the first cell identity list, where the third cell identity and the The second cell identity in the second time window, the third cell identity in the second time window, and the last cell identity are all different;
  • the second cell identity is deleted from the first cell identity list to the The cell identity between the fourth cell identities;
  • processing unit 1920 is specifically configured to:
  • the second cell information in the cell information determines at least two of the longest camping time, the lowest power consumption, or the strongest received signal strength of the terminal device in the cell corresponding to the second cell information. Cells to obtain the second effective camping cell, where the second effective camping cell includes the at least two cells;
  • the processing unit 1920 is specifically configured to:
  • the first cell does not belong to the at least two cells, use at least one cell of the at least two cells as the second cell;
  • the terminal device When the first cell belongs to the at least two cells, and the terminal device does not perform a ping-pong handover between the first cell and other cells of the at least two cells except the first cell , Use at least one of the at least two cells as the second cell;
  • the terminal device When the first cell belongs to the at least two cells, and the terminal device performs a ping-pong handover between the first cell and a fourth cell other than the first cell among the at least two cells , Using other cells among the at least two cells except the first cell and the fourth cell as the second cell;
  • the terminal device ping-pongs between the first cell and a fifth cell that does not belong to the at least two cells
  • the at least two cells Among the cells cells other than the first cell serve as the second cell.
  • the first information further includes information about the time that the terminal device resides in the cell corresponding to the cell information;
  • the processing unit is specifically configured to determine that the cell information is the first cell information or the second cell information according to the time information.
  • the first information further includes an identifier of the WiFi that the terminal device is connected to when camping in the cell corresponding to the cell information;
  • the processing unit is specifically configured to determine that the cell information is the first cell information or the second cell information according to the WiFi identifier.
  • FIG. 20 shows a schematic block diagram of another network selection device 2000 improved by an embodiment of the present application.
  • the apparatus 2000 may include a communication interface 2010, a processor 2020, and a memory 2030.
  • the memory 2030 may be used to store intermediate data for data processing, codes executed by the processor 2020, and the like.
  • the processor 2020 may obtain data used for network selection through the communication interface 2010, such as cell information of the cell where the terminal device resides.
  • the processor 2020 may also obtain first configuration information from the AP through the communication interface 2010, where the first configuration information is used to configure the operating mode of the device 2000 selected by the network to the power consumption optimization mode.
  • each step of the above method can be completed by an integrated logic circuit of hardware in the processor 2020 or instructions in the form of software.
  • the steps of the method disclosed in combination with the embodiments of the present application may 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 can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory 2030, and the processor 2020 reads the information in the memory 2030, and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • An embodiment of the present application also provides a terminal device, including the network selection device described above.
  • the terminal equipment further includes a modem for sending cell information to the device selected by the network.
  • the foregoing network selection apparatus may further send third information to the modem, where the third information is used to indicate the cell information of the foregoing second cell.
  • the terminal device further includes an application server AP, configured to send first configuration information to the network selection device, where the first configuration information is used to configure the working mode of the network selection main control module to power consumption Optimization mode.
  • an application server AP configured to send first configuration information to the network selection device, where the first configuration information is used to configure the working mode of the network selection main control module to power consumption Optimization mode.
  • the embodiments of the present application also provide a computer-readable storage medium, which includes a computer program, which when running on a computer, causes the computer to execute the method provided in the foregoing method embodiment.
  • the embodiments of the present application also provide a computer program product containing instructions, which when the computer program product runs on a computer, cause the computer to execute the method provided in the foregoing method embodiment.
  • the processor mentioned in the embodiment of the present invention can be a central processing unit (central processing unit, CPU), or other general-purpose processors, digital signal processors (digital signal processors, DSP), and application-specific integrated circuits ( application specific integrated circuit (ASIC), ready-made programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory mentioned in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • dynamic RAM dynamic RAM
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory serial DRAM, SLDRAM
  • direct rambus RAM direct rambus RAM, DR RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component
  • the memory storage module
  • the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are only 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 It 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 indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, 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.
  • the functional units in the various embodiments 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 existing technology 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 Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) 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, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disks or optical disks and other media that can store program codes. .

Abstract

本申请提供一种网络选择的方法和装置。本申请实施例能够对终端设备驻留的小区的小区信息进行固定路线或固定场所分类,并根据预设规则对不同的分类进行不同的预处理,获取不同分类下终端设备的有效驻留小区,然后根据不同分类下的有效驻留小区,生成适用于该终端设备当前的选网策略,该选网策略用于指示终端设备在当前驻留的小区的下一跳小区,使得终端设备能够有针对性的进行网络搜索,从而有助于降低终端设备的功耗。

Description

网络选择的方法和装置
本申请要求于2020年02月19日提交中国专利局、申请号为202010105793.9、申请名称为“网络选择的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,并且更具体的,涉及网络选择的方法和装置。
背景技术
现网大数据统计结果显示,终端设备中调制解调器(modem)的功耗占到整机功耗的64%。其中,待机功耗和数据业务功耗是modem功耗的主要组成部分。例如,对于典型用户,待机功耗占比为23.24%。
目前,如果终端设备处于空闲(idle)态,则终端设备可以通过测量,选择满足R准则的邻区进行小区重选。如果终端设备处于连接(connected)态,则终端设备可以通过网络侧配置的邻区测量,上报A3事件来进行小区切换。这样,终端设备只能将邻区的信号强度这一单一维度作为下一跳小区的判断标准。这样,会造成终端设备测量的邻区的数量较多,导致modem功耗较高。
因此,如何降低终端设备的功耗是亟需解决的问题。
发明内容
本申请提供一种网络选择的方法和装置,使得终端设备能够有针对性的进行网络搜索,从而有助于降低终端设备的功耗。
第一方面,提供了一种网络选择的方法,该方法应用于终端设备。该方法包括以下流程或步骤。
获取第一信息,所述第一信息包括所述终端设备驻留的小区的小区信息;
从所述小区信息中获取第一小区信息或第二小区信息,其中,所述第一小区信息为所述终端设备在固定路线中驻留的小区的小区信息,所述第二小区信息为所述终端设备在固定场所中驻留的小区的小区信息;
根据预设规则对所述第一小区信息或所述第二小区信息进行预处理,获取有效驻留小区,其中,所述有效驻留小区包括第一有效驻留小区或第二有效驻留小区,所述第一有效驻留小区是根据第一预设规则对所述第一小区信息进行预处理获得的,所述第二有效驻留小区是根据第二预设规则对所述第二小区信息进行预处理获得的;
获取第二信息,所述第二信息包括所述终端设备当前驻留的第一小区的小区信息;
确定所述第一小区的小区信息为固定路线中的小区信息,或为固定场所中的小区信息;
当所述第一小区的小区信息为固定路线中的小区信息,在所述第一有效驻留小区中确 定第二小区,当所述第一小区的小区信息为固定场所中的小区信息时,在所述第二有效驻留小区中确定所述第二小区,其中,所述第二小区为所述终端设备在所述第一小区之后的下一个驻留小区。
因此,本申请实施例能够对终端设备驻留的小区的小区信息进行固定路线或固定场所分类,并根据预设规则对不同的分类进行不同的预处理,获取不同分类下终端设备的有效驻留小区,然后根据不同分类下的有效驻留小区,生成适用于该终端设备当前的选网策略,该选网策略用于指示终端设备在当前驻留的小区的下一跳小区,使得终端设备能够有针对性的进行网络搜索,从而有助于降低终端设备的功耗。
结合第一方面,在第一方面的某些实现方式中,所述小区信息中还包括所述终端设备从所述驻留的小区切换至下一跳小区时在驻留的小区中的信号接收功率;
所述方法还包括:
根据至少一个所述信号接收功率,确定所述终端设备在所述驻留的小区中的小区测量门限;
其中,所述小区测量门限包括起测门限和/或逃离门限,所述起测门限为开始对所述驻留的小区的下一跳小区进行小区测量的门限,所述逃离门限为对所述驻留的小区的邻小区进行小区测量的门限,其中,所述小区测量门限是根据所述至少一个信号接收功率中的最大信号接收功率确定的,所述逃离门限是根据所述至少一个信号接收功率中的最小信号接收功率确定的。
由于本申请实施例能够使得终端设备在第一小区中的信号接收功率大于起测门限(此时可以认为终端设备在第一小区中的信号较好)时,不对特定邻小区或所有预测的邻小区进行测量,而在第一小区中的信号接收功率小于或等于该起测门限(此时可以认为终端设备在第一小区中信号不好)时,才对特定邻小区或所有预测的邻小区进行测量,从而有助于减少对终端设备测量的浪费,减小终端设备的功耗。
另外,本申请实施例能够使得终端设备在第一小区中的信号接收功率小于或等于逃离门限(此时可以认为终端设备在第一小区中的信号已经很差了)时,按照现有对邻小区的测量机制进行小区测量,而不是只对预测的小区(例如第二小区)进行测量,从而有助于提高终端设备测量到邻小区的概率。
因此,本申请实施例通过获取终端设备在小区切换路径中切换至下一跳小区时在第一小区中的接收功率,并根据该接收功率,确定终端设备在第一小区中进行小区测量的起测门限和/或逃离门限,使得终端设备可以根据起测门限和/或逃离门限进行小区测量,从而有助于减少终端设备的测量的邻区的数量,或者测量邻区的次数,或者进行小区重选的次数,进而有助于降低终端设备的功耗。
可选的,起测门限还可以通过对最大信号接收功率进行偏移获得,例如为最大信号接收功率与δ 1之和。另外,逃离门限还可以通过对最小信号接收功率进行偏移获得,例如为最小信号接收功率与δ 2之和。这里,δ 1或δ 2可以为正值,或负值,本申请实施例对此不做限定。
结合第一方面,在第一方面的某些实现方式中,当在所述小区信息中获取第一小区信息时,所述第一有效驻留小区中包括所述第一小区和所述第二小区,所述第二小区为所述第一小区在固定路线上的历史下一跳小区,所述方法还包括:
在所述终端设备在所述第二小区发生掉网后,
当t<T min时,确定关闭所述终端设备的小区测量。
此时,终端设备在该时间段即将,或已经没有可用的网络,此时如果终端设备继续进行小区测量,有很大的可能是搜索不到网络的。基于此,本申请实施例可以通过在小于T min的时间段关闭终端设备的小区测量,来降低终端设备的功耗。
当T min≤t<k*T min+(1-k)T max时,确定将所述终端设备的测量间隔配置为第一测量间隔,其中,0<k<1。
当t≥k*T min+(1-k)T max时,确定将所述终端设备的测量间隔配置为第二测量间隔,其中,所述第二测量间隔小于所述第一测量间隔;
在满足T min≤t<k*T min+(1-k)T max时,终端设备恢复网络的可能性仍然不是很大,此时可以通过设置长测量间隔,使得终端设备不需要进行频繁的邻区测量,从而有助于降低终端设备的功耗。在满足t≥k*T min+(1-k)T max时,终端设备恢复网络的可能性已经很大了,此时可以通过设置短时间测量间隔,有助于使得终端设备能够更快速恢复网络。
其中,t表示所述终端设备在所述第二小区中的掉网时刻之后的时长,T max表示统计得到的所述终端设备在所述第二小区掉网后恢复连接的最大恢复时间,T min表示统计得到的所述终端设备在所述第二小区掉网后恢复连接的最小恢复时间。
因此,本申请实施例通过判断终端设备在历史记录中是否在第二小区中掉网,并终端设备在第二小区发生掉网的情况下,根据终端设备的历史掉网之后的恢复时间,生成适用于终端设备在当前在第二小区掉网之后的不同时间段的测量策略,使得终端设备可以有针对性的进行小区测量,从而有助于减少终端设备的无效测量,进而有助于降低终端设备的功耗。
结合第一方面,在第一方面的某些实现方式中,当在所述小区信息中获取第一小区信息时,所述第一有效驻留小区中包括所述第一小区,所述第二小区和第三小区,所述第二小区和所述第三小区是所述第一小区在固定路线上的两个不同的历史下一跳小区;
其中,所述第二小区作为所述终端设备在所述第一小区的下一跳节点的第一频数,大于所述第三小区作为所述终端设备在所述第一小区的下一跳节点的第二频数;或者
所述终端设备在所述第二小区中的第一信号强度大于所述终端设备在所述第三小区中的第二信号强度;或者
所述终端设备在所述第二小区中的第一功耗大于所述终端设备在所述第三小区中的第二功耗,其中,所述第一功耗是根据所述终端设备在所述第二小区中的不连续接收DRX周期和无效无线资源控制RRC连接时长确定的,所述第二功耗是根据所述终端设备在所述第三小区中的不连续接收DRX周期和无效无线资源控制RRC连接时长确定的。
因此,本申请实施例通过获取终端设备在固定路线上的小区切换路径,并在该小区切换路径中存在当前驻留的第一小区时,根据该小区切换路径中的第一小区的下一跳小区,预测终端设备当前在第一小区中的下一跳小区,使得终端设备可以根据预测的下一跳小区有针对性地进行搜网,从而有助于减少终端设备测量的邻区的数量,或者进行小区重选的次数,进而有助于降低终端设备的功耗。
结合第一方面,在第一方面的某些实现方式中,所述根据预设规则对第一小区信息或第二小区信息进行预处理,获取有效驻留小区,包括:
当在所述小区信息中获取所述第一小区信息时,从所述第一小区信息对应的小区去除所述终端设备乒乓切换的小区,获取所述第一有效驻留小区。
这样,当根据有效的驻留小区确定选网策略时,能够确保终端设备稳定驻留在该选网策略指示的下一跳小区中。
结合第一方面,在第一方面的某些实现方式中,所述从所述第一小区信息对应的小区去除所述终端设备乒乓切换的小区,获取所述第一有效驻留小区,包括:
获取所述固定路线对应的第一小区标识列表,其中,所述第一小区标识列表包括与所述固定路线上的至少两个小区一一对应的至少两个小区标识,所述至少两个小区标识在所述第一小区标识列表中的顺序与所述至少两个小区在所述固定路线中的顺序相同;
根据所述第一小区标识列表,去除所述终端设备乒乓切换的小区,以获取所述第一有效驻留小区。
这样,当根据有效的小区切换路径确定选网策略时,能够确保终端设备稳定驻留在该选网策略指示的下一跳小区中。
结合第一方面,在第一方面的某些实现方式中,所述去除所述终端设备乒乓切换的小区,包括:
在所述第一小区标识列表上设置第一时间窗,所述第一时间窗包括所述第一小区标识列表上的连续3个小区标识;
在满足所述第一小区标识列表中的与所述第一时间窗之前相邻的小区标识与所述第一时间窗中的第一个小区标识不相同,且所述第一个小区标识等于所述第一时间窗中的最后一个小区标识的条件时,在所述第一小区标识列表中的所述第一时间窗之后获取第一小区标识,其中,所述第一小区标识与所述第一时间窗中的第二个小区标识、所述最后一个小区标识均不同;
在满足与所述第一小区标识之前相邻的第二小区标识与所述第一个小区标识相同的条件时,在所述第一小区标识列表中删除所述第二个小区标识至所述第二小区标识之间的小区标识;
在满足所述第二小区标识与所述第一个小区标识不同的条件时,在所述第一小区标识列表中删除所述最后一个小区标识至所述第二小区标识之间的小区标识。
这样,本申请实施例能够获得不包含两个小区的乒乓小区的小区切换路径。
结合第一方面,在第一方面的某些实现方式中,所述去除所述终端设备乒乓切换的小区,包括:
在所述第一小区标识列表上设置第二时间窗,所述第二时间窗包括所述第一小区标识列表上的连续4个小区标识;
在满足所述第一小区标识列表中的与所述第二时间窗之前相邻的小区标识与所述第二时间窗中的第一个小区标识不相同,且所述第一个小区标识等于所述第二时间窗中的最后一个小区标识的条件时,在所述第一小区标识列表中的所述第二时间窗之后获取第三小区标识,其中,所述第三小区标识与所述第二时间窗中的第二个小区标识、所述第二时间窗中的第三个小区标识、所述最后一个小区标识均不同;
在满足与所述第三小区标识之前相邻的第四小区标识与所述第一个小区标识相同的条件时,在所述第一小区标识列表中删除所述第二个小区标识至所述第四小区标识之间的小区标识;
在满足所述第四小区标识与所述第一个小区标识不同,且所述第四小区标识与所述第二个小区标识相同的条件时,在所述第一小区标识列表中删除所述第三个小区标识至所述 第四小区标识之间的小区标识;
在满足所述第四小区标识与所述第一个小区标识不同,且所述第四小区标识与所述第二个小区标识不同的条件时,在所述第一小区标识列表中删除所述最后一个小区标识至所述第四小区标识之间的小区标识。
这样,本申请实施例能够获得不包含三个小区的乒乓小区的小区切换路径。
结合第一方面,在第一方面的某些实现方式中,所述根据预设规则对第一小区信息或第二小区信息进行预处理,获取有效驻留小区,包括:
当在所述小区信息中获取所述第二小区信息时,在所述第二小区信息对应的小区中确定所述终端设备驻留时长最长、功耗最低或接收信号强度最强的至少两个小区,以获取所述第二有效驻留小区,其中,所述第二有效驻留小区中包括所述至少两个小区;
在所述第二有效驻留小区中确定所述终端设备乒乓切换的小区。
这样,当在第二有效驻留小区确定终端设备将要驻留的小区时,能够确保终端设备稳定驻留在选网策略指示的小区中。
结合第一方面,在第一方面的某些实现方式中,所述在所述第二有效驻留小区中确定第二小区,包括:
当所述第一小区不属于所述至少两个小区,将所述至少两个小区中的至少一个小区作为所述第二小区;
当所述第一小区属于所述至少两个小区,且所述终端设备没有在所述第一小区与所述至少两个小区中除所述第一小区之外的其他小区之间乒乓切换时,将所述至少两个小区中中的至少一个小区作为所述第二小区;
当所述第一小区属于所述至少两个小区,且所述终端设备在所述第一小区与所述至少两个小区中除所述第一小区之外的第四小区之间乒乓切换时,将所述至少两个小区中除所述第一小区和所述第四小区之外的其他小区作为所述第二小区;
当所述第一小区属于所述至少两个小区,且所述终端设备在所述第一小区与不属于所述至少两个小区的第五小区之间乒乓切换时,将所述至少两个小区中除所述第一小区之外的其他小区作为所述第二小区。
因此,本申请实施例通过获取终端设备在固定场所中小区驻留的历史记录,并根据终端设备在该固定场所中的小区中的历史驻留情况,预测终端设备当前在第一小区中的下一跳小区,使得终端设备可以根据预测的小区有针对性的进行搜网,从而有助于减少终端设备测量的邻区的数量,或者测量邻区的次数,或者进行小区重选的次数,进而有助于降低终端设备的功耗。
结合第一方面,在第一方面的某些实现方式中,所述第一信息还包括所述终端设备在所述小区信息对应的小区中驻留的时间信息;
其中,所述从所述小区信息中获取第一小区信息或第二小区信息,包括:
根据所述时间信息,确定所述小区信息为所述第一小区信息或所述第二小区信息。
由于用户某些特定的时间段(例如工作日)的活动较为规律,因此根据时间段区分固定路线和固定场所的小区的这种分类方式的好处在于,既可以降低小区分类的复杂度,又能准确地对小区进行分类。
结合第一方面,在第一方面的某些实现方式中,所述第一信息中还包括所述终端设备在所述小区信息对应的小区中驻留时连接的WiFi的标识;
其中,所述从所述小区信息中获取第一小区信息或第二小区信息,包括:
根据所述WiFi的标识,确定所述小区信息为所述第一小区信息或所述第二小区信息。
结合第一方面,在第一方面的某些实现方式中,所述获取第一信息,包括:
从调制解调器获取所述终端设备驻留的小区的小区信息。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:
向调制解调器发送第三信息,所述第三信息用于指示所述第二小区的小区信息。
结合第一方面,在第一方面的某些实现方式中,所述获取所述第一信息之前,还包括:
从应用服务器AP接收第一配置信息,所述第一配置信息用于启动功耗优化模式。
第二方面,本申请实施例提供了一种网络选择的装置,用于执行上述第一方面或第一方面的任意可能的实现方式中的方法,具体的,该装置包括用于执行上述第一方面或第一方面任意可能的实现方式中的方法的模块。
第三方面,本申请实施例提供了一种网络选择的装置,包括:存储器和处理器。其中,该存储器用于存储指令,该处理器用于执行该存储器存储的指令,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第一方面或第一方面的任意可能的实现方式中的方法。
第四方面,本申请实施例提供了一种终端设备,包括第二方面或第二方面的任一可能的实现方式中的网络选择的装置,或者第三方面或第三方面任一可能的实现方式中的网络选择的装置。
可选的,该终端设备中还包括调制解调器,用于向该网络选择的装置发送终端设备驻留的小区的小区信息。该调制解调器还用于接收该网络选择的装置发送的第三信息,该第三信息用于指示所述第二小区的小区信息。
可选的,该终端设备中还可以包括应用服务器AP,用于向所述网络选择的装置发送第一配置信息,所述第一配置信息用于配置所述选网主控模块的工作模式为功耗优化模式。
因此,本申请实施例中,网络选择的装置能够与AP、modem以及传感器进行交互,共同实现选网功能,基于此本申请实施例的系统架构能够与现有搜网架构兼容。因此,本申请实施例的系统架构具有低耦合、高内聚以及智能化处理等特性,并且还具有便于移植和升级的特性。
第五方面,本申请实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。
第六方面,本申请实施例还提供一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得该计算机执行第一方面或第一方面的任意可能的实现方式中的方法。
第七方面、提供了一种芯片装置,包括:输入接口、输出接口、至少一个处理器、存储器,所述输入接口、所述输出接口、所述处理器以及所述存储器之间通过内部连接通路互相通信,所述处理器用于执行所述存储器中的代码,当所述处理器执行所述代码时,所述芯片装置实现上述第一方面以及第一方面中的任一可能实现的方式中所述的方法。
附图说明
图1A示出了适用于本申请实施例的一种通信系统的架构的示意图;
图1B示出了适用于本申请实施例的一种终端设备的结构示意图;
图1C示出了适用于本申请实施例的另一种终端设备的结构示意图;
图1D为本申请实施例的一种开启功耗优化模式的方式的示意图;
图2示出了本申请实施例提供的一种网络选择的方法的示意性流程图;
图3示出了本申请实施例提供的一种网络选择的方法的示意性流程图;
图4示出了本申请实施例提供的一种去除乒乓小区的方法的示意性流程图;
图5示出了小区标识列表和时间窗的一个示例;
图6示出了删除小区标识列表的一个具体示例;
图7示出了删除小区标识列表的另一个具体示例;
图8示出了本申请实施例提供的另一种去除乒乓小区的方法的示意性流程图;
图9示出了小区标识列表和时间窗的另一个示例;
图10示出了删除小区标识列表的另一个具体示例;
图11示出了删除小区标识列表的另一个具体示例;
图12示出了删除小区标识列表的另一个具体示例;
图13示出了本申请实施例提供的一种网络选择的方法的示意性流程图;
图14示出了本申请实施例提供的另一种网络选择的方法的示意性流程图;
图15示出了DRX门限值和无效RRC连接时长门限值的一个具体的示例;
图16示出了本申请实施例提供的一种网络选择的方法的示意性流程图;
图17示出了本申请实施例提供的另一种网络选择的方法的示意性流程图;
图18示出了本申请实施例提供的另一种网络选择的方法的示意性流程图;
图19示出了本申请实施例提供的一种网络选择的装置的示意性框图;
图20示出了本申请实施例提供的另一种网络选择的装置的示意性框图。
具体实施方式
本申请实施例可以应用于移动通信系统,例如全球移动通讯系统(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)系统)、未来的通信系统等。
下面将结合附图,对本申请中的技术方案进行描述。
图1A示出了适用于本申请实施例的一种通信系统的架构的示意图。具体的,如图1A所示的通信系统包括网络设备和终端设备。其中,图1A所示的通信系统仅为一个举例说明。
应理解,本申请实施例的网络设备也可以称之为接入网设备,用于提供小区,使得终端设备接入网络。
本申请实施例中的网络设备可以是基站、或者接入点等。例如,GSM通信系统或CDMA通信系统中的基站(base transceiver station,BTS)、WCDMA通信系统中的节点B(node B)、LTE通信系统中的演进型基站(evolutional node B,eNB)、NR系统中的gNB等。需要说明的是,本申请实施例对通信系统中网络设备的个数以及实现形式不作限定。
本申请实施例中的终端设备也可以称为:用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置等。
终端设备可以是一种向用户提供语音/数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,5G网络中的终端设备或者演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,本申请实施例对此并不限定。
具体的,终端设备是通过网络设备提供的小区接入网络的。示例性的,终端设备在idle态时可以通过测量邻区进行小区重选,在connected态时可以通过邻区测量进行小区切换。但是,终端设备只能根据邻区的信号强度这一单一维度作为下一跳小区的判断标准。这样,会造成终端设备测量的邻区的数量较多,导致modem功耗较高。
有鉴于此,本申请实施例提供了一种网络选择的方法,有助于终端设备在小区重选或小区切换或小区测量时,降低终端的功耗,提高用户体验。其中,终端设备可以获取自己在小区驻留的历史记录,并根据该小区驻留的历史记录,确定当前驻留小区的下一跳小区。相对于现有技术中的终端设备只能将邻区的信号强度这一单一维度作为下一跳小区的判断标准,本申请实施例中终端设备能够根据选网策略进行网络选择,以使得终端设备能够有针对性地进行网络搜索,从而达到降低终端设备功耗的效果。
以下介绍终端和用于使用这样的终端的实施例。示例的,如图1B所示,为本申请实施例终端的一种结构示意图。具体的如图1B所示,终端包括处理器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。在另一些实施例中,终端还可以包括马达、指示器等。
其中,处理器210可以包括一个或多个处理单元。例如,处理器210可以包括应用处理器(application processor,AP)、调制解调器(modem)、图形处理器(graphics processing unit,GPU)、图像信号处理器(image signal processor,ISP)、控制器、视频编解码器、数字信号处理器(digital signal processor,DSP)、基带处理器、和/或神经网络处理器(neural-network processing unit,NPU)等。需要说明的是,不同的处理单元可以是独立的器件,也可以集成在一个或多个独立的处理器,可以与终端中的其它模块集成在同一个 器件中。以调制解调器为例,调制解调器可以为独立于处理器210的一个处理单元,也可以与其它处理单元(例如AP、ISP、GPU等)集成在同一个器件中,还可以将部分或全部功能与移动通信模块231集成在同一个器件中。
内部存储器221可以用于存储数据和/或至少一个计算机程序,该至少一个计算机程序包括指令。具体的,内部存储器221可以包括存储程序区和存储数据区。其中,存储程序区可以存储至少一个计算机程序。计算机程序可以包括应用程序(比如图库、联系人等)、操作系统(比如Android操作系统、或者IOS操作系统等)、或者其它程序等。存储数据区可存储终端使用过程中所创建的数据、接收到的来自其它设备(例如其它终端、网络设备、服务器等)数据、或在出厂之前预先存储的数据等中的至少一个。例如,内部存储器221中存储的数据可以为图像、文件、或标识等信息中的至少一个。
在一些实施例中,内部存储器221可以包括高速随机存取存储器和/或非易失性存储器。例如,内部存储器221包括一个或多个磁盘存储器件、闪存器件(Flash)、或者通用闪存存储器(universal flash storage,UFS)等。
其中,处理器210可以通过调用存储在内部存储器221中存储的一个或多个计算机程序和/或数据,从而使得终端实现一个或多个功能,满足用户的需求。例如,处理器210可以通过调用存储在内部存储器221存储的指令和数据,使得电子设备执行本申请实施例中所提供的网络选择的方法。
外部存储器接口222可以用于连接外部存储卡(例如,Micro SD卡),实现扩展终端的存储能力。外部存储卡通过外部存储器接口222与处理器210通信,实现数据存储功能。例如将图像、音乐、视频等文件保存在外部存储卡中。
在一些实施例中,处理器210中还可以设置缓存区,用于保存处理器210需要循环使用的指令和/或数据,如果处理器210需要再次使用该指令或数据,可从该缓存区中直接调用。从而有助于避免重复存取,降低处理器210的等待时间,从而有助于提高系统的效率。例如,缓存区可以通过高速缓冲存储器实现。
天线A和天线B用于发射和接收电磁波信号。终端中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线A复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块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)等。
无线通信模块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实现与相应的设备通信的。
终端可以通过音频模块240、扬声器240A、受话器240B、麦克风240C、耳机接口240D以及AP等实现音频功能。例如音乐播放、录音等。
终端可以通过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的正整数。
按键254可以包括开机键、音量键等。按键254可以是机械按键,也可以是虚拟按钮或虚拟选项等。终端可以接收按键输入,产生与终端的用户设置以及功能控制有关的键信号输入。例如,终端可以响应于选中用于指示启动“功耗优化模式”的虚拟选项,统计或采集终端在一段时间内驻留的小区相关的一些信息,以实现为用户提供更为个性化的服务,从而提高用户体验。
传感器模块260可以包括一个或多个传感器。例如,传感器模块260包括加速度传感器260A、触摸传感器260B、指纹传感器260C等。在一些实施例中,传感器模块260还可以包括压力传感器、陀螺仪传感器、环境传感器、距离传感器、接近光传感器、骨传导传感器等。
加速度传感器(acceleration sensor,ACC sensor)260A可采集终端在各个方向上(一般为三轴)加速度的大小。当终端静止时可检测出重力的大小及方向。此外,加速度传感器260A还可以用于识别终端的姿态,应用于横竖屏切换、计步器等应用。在一些实施例中,加速度传感器260A可以通过微控制单元(micro controller unit,MCU)实现与处理器210连接,从而有助于节省终端的功耗。例如,加速度传感器260A可以通过MCU与AP、调制解调器连接。在一些实施例中,MCU可以为通用智能传感集线器(Sensor hub)。
触摸传感器260B,也可称为“触控面板”。触摸传感器260B可以设置于显示屏251,由触摸传感器260B与显示屏251组成触摸屏,也称“触控屏”。触摸传感器260B用于检测作用于其上或附近的触摸操作。触摸传感器260B可以将检测到的触摸操作传递给AP,以确定触摸事件类型。然后,终端根据确定的触摸事件类型,通过显示屏251提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感260B也可以设置于终端的表面,与显示屏251所处的位置不同。
指纹传感器260C用于采集指纹。终端可以利用采集的指纹特性实现指纹解锁,访问应用锁、指纹拍照、指纹接听来电等。
在另一些实施例中,处理器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可以通过接口连接终端的不同模块,从而使得终端能够实现不同的功能。例如搜网、拍照等。需要说明的是,本申请实施例对终端中接口的连接方式不作限定。
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卡可以嵌在终端中,不能和终端分离。
USB接口270是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口270可以用于连接充电器为终端充电,也可以用于终端与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端的结构限定。在本申请另一些实施例中,终端也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块280用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。电源管理模块281用于连接电池282、充电管理模块280与处理器210。电源管理模块281接收电池282和/或充电管理模块280的输入,为处理器210等模块供电。在一些实施例中,电源管理模块281还可以用于监测电池容量、电池循环次数、电池健康状态(漏电、阻抗)等参数。
应理解,图1B所示的终端的结构仅是一个示例。本申请实施例的终端可以具有比图1B中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
示例性的,处理器210中可以包括选网主控单元,用于执行本申请实施例中所提供的网络选择的方法。作为示例,本申请实施例中AP、选网主控单元、调制解调器、传感器的连接关系可以如图1C所示。其中,该图1C所示的系统架构可以与现有终端设备基带搜网架构兼容。
应理解,图1C示出了适用于本申请实施例的一种网络架构的模块或单元,但这些模块或单元仅是示例,本申请实施例还可以包括其他部分或者图1C中的各个部分的变形,或者有可能并非要包括图1中的全部模块或单元。
例如,在一些实施例中,调制解调器还可以包括第一缓存区,传感器还可以包括第二 缓存区,从而有助于提高调制解调器和传感器的处理效率。例如,第一缓存区可以用于存储调制解调器采集的小区信息,第二缓存区可以用于存储传感器采集的终端移动的信息。
其中,选网主控单元130用于从调制解调器140获取终端设备的小区驻留的历史记录,并根据该历史记录,确定(即预测)终端设备在当前驻留小区的下一跳小区。相对于现有技术中的终端设备只能将邻区的信号强度这一单一维度作为下一跳小区的判断标准,本申请实施例中终端设备能够根据终端设备的小区驻留的历史记录进行网络选择,有助于使得终端设备能够有针对性地进行网络搜索,从而达到降低终端设备功耗的效果。
示例性的,终端设备的小区驻留的历史记录可以包括终端设备在第一时间段驻留的小区的小区信息,其中,第一时间段为当前时刻之前的一个时间段。一个具体的例子,第一时间段驻留的小区的小区信息可以包括终端设备历史驻留的小区的小区信息以及该小区信息对应的时间信息。其中,小区信息对应的时间信息用于表示终端设备在该小区信息对应的小区中驻留的时间。其中,小区信息对应的时间信息可以包括终端设备在该小区信息对应的小区中开始驻留的时间戳,和/或终端设备在该小区信息对应的小区中结束驻留的时间戳。
这里,对第一时间段的长度不做限定,例如第一时间段可以为7天,5天,或者1天,或者10个小时,或者2个小时等,都在本申请实施例的保护范围之内。
在一些实施例中,选网主控单元130可以包括功耗优化模式和普通工作模式。在功耗优化模式下,选网主控单元130根据终端设备的小区驻留的历史记录,进行网络选择,以优化终端设备的功耗。在普通工作模式下,选网主控单元130不工作,即调制解调器140可以根据现有的方式进行网络选择,即将邻区的信号强度这一单一维度作为下一跳小区的判断标准。
作为一种实现方式,AP110可以向选网主控单元130发送配置信息,该配置信息用于开启网主控单元130的功耗优化模式。选网主控单元130可以根据AP 110的配置,确定是否开启功耗优化模式。示例性的,AP110可以通过控制命令(command,CMD)配置选网主控单元130的工作模式。
一个具体的例子,AP可以通过安卓(Android)设置菜单完成工作模式的配置。如图1D所示,系统设置界面1010包括虚拟选项1011,终端可以响应于用户选中虚拟选项的操作,在显示屏251显示用户界面1020。用户界面1020包括虚拟按钮1021。终端可以响应于用户对虚拟按钮1021的操作,开启功耗优化模式的功能。另外,用户界面1020还可以包括虚拟按钮1022。终端可以响应于用户对虚拟按钮1022的操作,关闭功耗优化模式的功能,即开启普通工作模式的功能。
在一些实施例中,调制解调器140可以获取终端设备驻留的小区的小区信息,以及该小区信息对应的时间戳,并将该小区信息以及该小区信息对应的时间戳发送给选网主控单元130。
作为一种实现方式,调制解调器140可以周期性地向选网主控单元130发送小区信息以及时间戳。作为另一种实现方式,调制解调器140可以实时地向选网主控单元130发送小区信息以及时间戳。作为另一种实现方式,选网主控单元130可以向调制解调器140请求预设时间段内终端设备的小区驻留的历史记录。响应于选网主控单元130的请求,调制解调器140可以将该预设时间段中终端设备驻留的小区的小区信息以及时间戳发送给选网主控单元130。
对应的,网主控单元130可以接收并保存该小区信息和时间戳,比如,将该小区信息和时间戳保存在缓存中。这样,选网主控单元130可以获知终端设备当前驻留的小区,以及终端设备的小区驻留的历史记录。
本申请实施例中,小区信息可以包括终端设备驻留的小区的小区标识。可选的,小区信息还可以包括终端设备驻留的小区的邻小区的小区标识、终端设备在驻留的小区中的信号强度、频点、制式中的至少一种,本申请实施例对此不做限定。
示例性的,信号强度可以为接收信号强度指示(received signal strength indication,RSSI)、参考信号接收质量(reference signal receiving power,RSRP)、参考信号接收质量(reference signal receiving quality,RSRQ)等,本申请实施例对此不做限定。
可选的,传感器120可以获取传感器信息,并将获取的传感器信息发送给选网主控单元130,以辅助选网主控单元130进行网络选择。在一些实施例中,传感器还可以获取与传感器信息对应的时间戳。具体的,传感器以及传感器信息可以参见上文中的描述,为了简洁,这里不再赘述。
作为一种实现方式,传感器120可以周期性地向选网主控单元130发送传感器信息以及时间戳。作为另一种实现方式,调制解调器140可以实时地向选网主控单元130发送传感器信息以及时间戳。作为另一种实现方式,选网主控单元130可以向调制解调器140请求预设时间段内终端设备的传感器信息。响应于选网主控单元130的请求,调制解调器140可以将该预设时间段中终端设备的传感器信息以及时间戳发送给选网主控单元130。
选网主控单元130在确定出终端设备在当前驻留小区的下一跳小区之后,可以将该下一跳小区发送给调制解调器140。调制解调器140可以根据该下一跳小区,进行有针对性的搜网,例如只对该下一跳小区进行测量,从而达到降低终端设备功耗的效果。
在一些实施例中,调制解调器140还可以向选网主控单元130反馈策略的执行结果,使得选网主控单元130能够进一步根据策略的执行结果,对选网策略进行优化。
因此,本申请实施例中,终端设备能够根据其小区驻留的历史记录,确定当前驻留小区的下一跳小区。相对于现有技术中的终端设备只能将邻区的信号强度这一单一维度作为下一跳小区的判断标准,本申请实施例中终端设备能够根据终端设备的小区驻留的历史记录进行网络选择,有助于使得终端设备能够有针对性地进行网络搜索,从而达到降低终端设备功耗的效果。
请继续参见图1C,选网主控单元130可以包括环境感知单元1310和策略交互单元1320。进一步的,环境感知单元1310中可以包括采集模块1311和路线及场景识别模块1312,策略交互单元1320中可以包括学习模块1321和策略匹配模块1322。下面结合图1C所示的网络架构对本申请实施例网络选择的方法进行详细说明。
图2示出了本申请实施例提供的一种网络选择的方法200的示意性流程图。方法200可以由图1C中的终端设备执行。图2中与图1C中相同的附图标记表示相同或相似的含义,为了简洁,此处不再赘述。具体可以包括步骤201至步骤207。
可选的,201,AP110向选网主控单元130发送CMD,指示网主控单元130开启功耗优化模式。
202,调制解调器140向选网主控单元130发送终端设备在第一时间段驻留的小区的小区信息。对应的,环境感知单元1310中的采集模块1311可以获取该第一时间段驻留的小区的小区信息。其中,小区信息可以参见上文中的描述,为了简洁,这里不再赘述。
可选的,203,传感器120向选网主控单元130发送终端设备在第一时间段的传感器信息。对应的,环境感知单元1310中的采集模块1311可以获取该第一时间段的传感器信息。其中,传感器信息可以参见上文中的描述,为了简洁,这里不再赘述。
在本申请实施例中,对步骤201、202,以及203的先后顺序不做限定。例如,步骤201可以在步骤202或203之前发生,或者在步骤202或203之后发生,这些都在本申请实施例的保护范围之内。另外,本申请实施例中,也可以不需要执行步骤201或203,但是本申请实施例对此不做限定。
204,环境感知单元1310进行固定路线或固定场所分类。
具体而言,环境感知单元1310可以在步骤202获取的小区信息中,识别并提取固定路线中终端设备驻留的小区的小区信息(即第一小区信息),或者识别并提取固定场所中终端设备驻留的小区的小区信息(即第二小区信息)。也就是说,环境感知单元1310可以进行路线识别或者场景识别,提取不同场景下的小区信息。
作为示例,环境感知单元1310中的路线及场景识别模块1312可以根据采集模块1311获取的信息,对步骤202中获取的小区信息进行固定路线或固定场所分类,即识别并提取出采集模块1311获取的小区信息中的固定路线场景下的小区信息,或者识别并提取出采集模块1311获取的小区信息中的固定场所场景下的小区信息。
示例性的,固定场所可以为用户经常固定停留的场所,例如家、学校、公司等。在固定场所上,终端设备可以驻留在该固定场所范围中的一个或多个小区中。
示例性的,固定路线可以为用户出行时常用路线,例如可以为用户从家到学校的路线,或者用户从家到公司的路线等,本申请实施例对此不做限定。在该固定路线上,终端设备会依次驻留在某些固定的小区中。
在一些实施例中,可以根据终端设备在该小区信息对应的小区中驻留的时间信息,或者终端设备在该小区信息对应的小区中驻留时连接的WiFi的标识,或者传感器信息,或者其他信息,识别终端设备所处的场景,本申请实施例对此不做限定。
作为一个示例,可以根据终端设备在小区中驻留的时间段,区分该小区是固定路线还是固定场所的小区。其中,该时间段可以预先设置在终端设备中,但是本申请实施例并不限于此。
例如,由于用户通常在工作日中的晚上12点至早上6点位于家中,因此可以将工作日中的晚上12点至早上6点中终端设备驻留的小区确定为固定场所中的小区,即工作日中的晚上12点至早上6点时间段中,终端设备处于固定场所的场景中。同时,用户通常在工作日中的早上9点至下午5点位于公司,因此还可以将该工作日中的早上点至下午5点中终端设备驻留的小区确定为固定尝试中的小区,即工作日中的晚上12点至早上6点时间段中,终端设备处于固定场所的场景中。
又例如,由于用户通常在工作日中的早上7点至9点从家去往公司,在下午5点至7点从公司去往家中,因此可以将工作日中的早上7点至9点,以及下午5点至7点中终端设备驻留的小区分别确定为固定路线中的小区,即工作日中的早上7点至9点,下午5点至7点的时间段中,终端设备均处于固定路线的场景中。
由于用户在工作日的活动较为规律,因此根据时间段区分固定路线和固定场所的小区的这种分类方式的好处在于,既可以降低小区分类的复杂度,又能准确地对小区进行分类。
作为另一个示例,可以根据终端设备在小区中驻留时连接的WiFi的标识,区分该小 区是固定路线还是固定场所的小区。
例如,当终端设备连接用户家中,或公司中的WiFi时,终端设备驻留的小区为固定场所中的小区,即终端设备处于固定场所的场景下。
又例如,当终端设备与用户家中的WiFi失去连接,并在一段时间之后连接到了公司的WiFi时,在这期间终端设备驻留的小区为固定路线中的小区,即终端设备处于固定路线的场景下。或者,当终端设备与用户公司的WiFi失去连接,并在一段时间之后连接到家中的WiFi时,在这期间终端设备驻留的小区也为固定路线中的小区,即终端设备处于固定路线的场景下。
作为另一个示例,可以根据终端设备在小区中驻留时,终端设备中的传感器信息,区分该小区是固定路线还是固定场所的小区。
例如,当传感器信息表示在某一时间段中终端设备大部分处于运动状态时,则在这个时间段中,终端设备驻留的小区可以为固定路线中的小区,即终端设备处于固定路线场景中。当传感器信息表示在某一时间段中终端设备大部分处于静止状态时,则在这个时间段中,终端设备驻留的小区可以为固定场所中的小区,即终端设备处于固定场所场景中。
可以理解的是,上述区分固定路线和固定场所的分类方法可以任意组合,本申请实施例对此不做限定。
例如,可以根据预先设置的时间段,比如工作日中的晚上12点至早上6点的时间段中终端设备连接的WiFi的标识,确定终端设备是否处于固定场所的场景中。比如,当在该预设时间段终端设备连接的WiFi为家中的WiFi时,可以确定在该时间段中终端设备驻留的小区确定为固定场所中的小区,即该时间段中,终端设备处于固定场所的场景中。又比如,当在该预设时间段终端设备连接的WiFi不是家中的WiFi时,可以确定在该时间段中终端设备驻留的小区不是固定场所中的小区,即该时间段中,终端设备没有处于固定场所的场景中。
205,策略交互单元1320对小区信息进行学习。
本申请实施例中,策略交互单元1320可以根据环境感知单元1310获取到的第一小区信息或第二小区信息,分别对不同场景下的小区信息进行学习,获取学习结果。根据该学习结果,可以确定当前驻留小区的下一跳小区。本申请实施例中,第一小区可以为当前驻留小区的一个示例,第二小区可以为下一跳小区的一个示例,
在一些实施例中,策略交互单元1320中的学习模块1321可以学习出适用于不同场景中终端设备的有效驻留小区。示例性的,学习模块1321可以根据预设规则对第一小区信息或第二小区信息进行预处理,获取有效驻留小区。当根据第一预设规则对第一小区信息进行预处理时,可以获得第一有效驻留小区。当根据第二预设规则对第二小区信息进行预处理时,可以获得第二有效驻留小区。有效驻留小区包括该第一有效驻留小区或第二有效驻留小区。
示例性的,第一预设规则可以为去除第一小区信息对应的小区中的终端设备乒乓切换的小区。本申请实施例中,可以将终端设备乒乓切换的小区称为乒乓小区。在具体实施例中,乒乓小区的个数可以为2个,或者3个,本申请实施例对此不做限定。
本申请实施例中,第二有效驻留小区的数量可以为一个,两个,或者大于两个。在一些可选的实施例中,可以预先定义第二有效驻留小区的数量,或者由用户选择第二有效驻留小区的数量,本申请实施例对此不做限定。
示例性的,当第二有效驻留小区的数量为一个时,该第二预设规则可以为从终端设备在第二小区信息对应的小区中确定出终端设备驻留时间最长、功耗最低、或者信号接收强度最强的一个小区,该小区即为该第二有效驻留小区。
当第二有效驻留小区的数量为至少两个时,第二预设规则可以为在第二小区信息对应的小区中确定终端设备驻留的时长最长、功耗最低或者接收信号强度最强的至少两个小区,并确定出该至少两个小区中终端设备乒乓切换的小区。
需要说明的是,这里仅以根据终端设备在小区中驻留的时长、功耗或者接收信号强度为例,说明选择第二有效驻留小区的依据,但是本申请实施例对此不作限定。例如,还可以同时根据终端设备在小区中驻留的时长、功耗或者接收信号强度中的至少两种信息来确定第二有效驻留小区。一些可能的实现方式中,可以预先配置终端设备根据在小区中驻留的时长、功耗或者接收信号强度中的至少一种,作为选择第二有效驻留小区的依据,或者由用户选择根据终端设备在小区中驻留的时长、功耗或者接收信号强度中的至少一种,作为选择第二有效驻留小区的依据,本申请实施例对此不作限定。
在一些实施例中,可以周期性的根据步骤202或203中采集到的数据执行步骤204和步骤205的操作,即对采集到的小区信息进行固定路线或固定场所分类,或者以及对个分类下的小区信息进行进一步的学习。例如,可以以3天为一个周期,或者7天为一个周期,本申请实施例对此不作限定。
在一些实施例中,当终端设备执行完一次步骤202至205的操作之后,很长的一段时间(例如一个月,三个月,一年等)将不再执行步骤202至205。当用户希望重新获取小区信息,并重新对小区信息进行分类以及进一步学习时,或者终端设备检测到用户更换了工作的城市,或者更换了家庭或公司住所时,可以再次执行步骤201至步骤205。
206,确定在当前驻留小区的选网策略。
作为示例,可以根据学习模块1321学习结果,确定出适合当前驻留的第一小区的选网策略,即预测当前驻留小区的下一跳小区,即第二小区。其中,该下一跳小区可以为功耗最优小区。
示例性的,采集模块1311可以获取终端设备当前驻留的第一小区的小区信息,路线及场景识别模块1312识别该第一小区的小区信息是否为固定路线中的小区信息(即终端设备当前是否处于固定路线场景中),或第一小区的小区信息是否固定场所中的小区信息(即终端设备当前是否处于固定场所场景中)。
一些可能的实现方式中,可以根据当前时刻的时间信息,或者根据当前时刻连接的WiFi的标识,或者传感器信息,确定当前所处的场景。例如,当当前时刻为工作日的早上8点,或者终端设备处于运动状态时,可以确定终端设备当前处于固定路线场景,即第一小区的小区信息为固定路线中的小区信息。又例如,当当前时刻为晚上10点,或者当前时刻终端设备设备连接的WiFi为家或公司中的WiFi,或者终端设备处于静止状态时,可以确定终端设备当前处于固定场所场景,即第一小区的小区信息为固定场景中的小区信息。
然后,策略匹配模块1322可以根据当前小区的小区信息的识别结果,确定与当前场景匹配的选网策略。当处于固定路线场景时,即第一小区的小区信息为固定路线中的小区信息时,可以在第一有效驻留小区中确定第二小区。当处于固定场所场景时,即第一小区的小区信息为固定场所中的小区信息时,可以在第二有效驻留小区中确定第二小区。
作为一种可能的实现方式,可以在获取终端设备当前驻留的第一小区的小区信息之前,执行步骤204和/或205,这样有利于快速预测当前驻留小区的下一跳小区。
作为另一种可能的实现方式,也可以在获取终端设备当前驻留的第一小区的小区信息之后,在执行步骤204和/或步骤205,本申请实施例对此不作限定。
207,策略交互单元1320向modem140进行策略下发。
作为示例,策略交互单元1320将与当前场景匹配的学习策略,即在步骤206中获取的选网策略下发给modem140。
因此,本申请实施例能够对终端设备驻留的小区的小区信息进行固定路线或固定场所分类,并根据预设规则对不同的分类进行不同的预处理,获取不同分类下终端设备的有效驻留小区,然后根据不同分类下的有效驻留小区,生成适用于该终端设备当前的选网策略,该选网策略用于指示终端设备在当前驻留的小区的下一跳小区,使得终端设备能够有针对性的进行网络搜索,从而有助于降低终端设备的功耗。
进一步的,本申请实施例中的选网主控单元能够与AP、modem以及传感器进行交互,共同实现选网功能,基于此本申请实施例的系统架构能够与现有搜网架构兼容。因此,本申请实施例的系统架构具有低耦合、高内聚以及智能化处理等特性,并且还具有便于移植和升级的特性。
下面,结合图3至图15,描述在固定路线场景下,本申请实施例提供的网络选择的方法。
图3示出了本申请实施例提供的一种网络选择的方法300示意性流程图。示例性的,方法300可以由上文中的选网主控单元130执行。具体可以包括步骤301至步骤305。
301,采集小区信息。
示例性的,可以由采集模块1311执行步骤301。具体的,可以参见图2中步骤202的描述,这里不再赘述。
302,获取原始的小区切换路径。
示例性的,路线及场景识别模块1312可以根据采集模块1311获取的小区信息,获取终端设备的原始的小区切换路径,即在采集模块1311获取的小区信息中提取原始的小区切换路径上的小区的小区信息。这里,该原始的小区切换路径上包括终端设备在固定路线上按照时间顺序依次驻留的小区。作为一个具体的例子,经过一段时间的数据采集,在从家到公司的固定路线上,可以获得多条原始的小区切换路径,例如A-B-C-D-E、A-B-C-D-C-D-E,A-B-C-B-C-D-E、A-B-F-D-E、A-B-C-F-D-E等。其中,A、B、C、D、E、F等用于标识小区。
本申请实施例中,小区切换路径可以对应小区标识列表,其中该小区标识列表包括与小区切换路径上的至少两个小区一一对应的至少两个小区标识,并且该至少两个小区标识在小区标识列表中的顺序与该至少两个小区在小区切换路径中的顺序相同。
作为示例,原始的小区切换路径可以对应原始的小区标识列表,该原始的小区标识列表中包括终端设备在固定路线上按照时间顺序依次驻留的小区的小区标识。
可选的,在步骤302中,终端设备还可以获取终端设备在小区切换路径中的每次切换前在驻留小区中的信号强度,例如RSRP等,本申请实施例对此不做限定。
303,判断采集次数是否大于或等于m。当采集次数小于m时,继续执行步骤301。当采集次数大于m时,执行步骤304。这里,m为正整数。示例性的,m可以预先设置在 采集模块1311中。
本申请实施例通过设置采集次数大于或等于m,能够有助于采集模块1311获取足够多的小区历史记录,进而有助于提高本申请实施例学习选网策略的准确性。
304,去除乒乓小区,生成有效的小区切换路径。
示例性的,学习模块1321可以执行步骤304。也就是说,步骤304可以为图2中的步骤205在固定路线场景下的一个具体示例。示例性的,步骤205中的第一有效驻留小区包括这里的至少一个(即一个或多个)有效的小区切换路线对应的小区。
本申请实施例中,当终端设备在两个小区或三个小区之间乒乓切换(即频繁来回切换)时,可以称该两个小区或三个小区为乒乓小区。示例性的,当终端设备处在多个小区的边界的时候,该多个小区的信号强度相当,使得终端设备在移动的过程中可能接入任何一个小区,进而可能导致终端设备在该多个小区之间的乒乓切换。
一种可能的实现方式,当终端设备在某个时间段在两个小区(或三个小区)之间切换的次数大于预设阈值时,可以认为该两个小区(或三个小区)为乒乓小区。作为示例,该时间段可以为单位时间,或预设的时间段,本申请实施例对此不做限定。
一些可选的实施例中,当小区切换路径中包含乒乓小区时,可以去除该小区切换路径中的乒乓小区,获得有效的小区切换路径。当根据有效的小区切换路径确定选网策略时,能够确保终端设备稳定驻留在该选网策略指示的下一跳小区中。
继续步骤304中的例子,通过对在从家到公司的固定路线中多条原始的小区切换路径进行去乒乓操作,最终可能获得从家到公司的固定路线中的三条有效的小区切换路径:A-B-C-D-E、A-B-F-D-E和A-B-C-F-D-E。
示例性的,可以根据小区切换路径对应的小区标识列表,去除该小区切换路径中的乒乓小区。下面结合图4至图5描述本申请实施例提供的两种去除乒乓小区的方法。
请参考图4,示出了去除包含两个小区的乒乓小区的方法400的示意性流程图。
401,设置时间窗为3,获取该时间窗内的三个小区标识:A n,A n+1,A n+2
图5示出了小区标识列表和时间窗的一个示例。如图5所示,小区标识列表中可以包括A 0,…,A n-1,A n,A n+1,A n+2,A n+3,A n+4,…等多个小区标识,其中,n为正整数。示例性的,可以从n=1开始,设置时间窗,直至将小区表列表中的所有乒乓小区去除。一个示例,当n=1时,时间窗中包括的三个小区标识为A 1,A 2,A 3
402,判断是否满足条件:A n-1!=A n&&A n==A n+2
也就是说,判断小区标识列表中的与时间窗之前相邻的小区标识A n-1是否与该时间窗中的第一个小区标识A n相同,并且判断该时间窗中的第一个小区标识A n是否与该时间窗中的第三个(即最后一个)小区标识A n+2相同。
当满足上述条件,即A n-1与A n不相同,并且A n与A n+2相同时,下一步执行403。当不满足上述条件,即A n-1与A n相同,和/或A n与A n+2不相同时,下一步执行407。
403,寻找第一个A k,满足:A k!=A n+2&&A k!=A n+1,其中,k>n+2。
具体而言,在该小区标识列表中的该时间窗之后寻找第一个满足不等于A n+2且不等于A n+1的A k
404,判断是否满足条件A k-1==A n
也就是说,判断A k之前相邻的A k-1是否与该时间窗中的第一个小区标识相同。
当满足上述条件,即A k-1与A n相同时,下一步执行405。当不满足上述条件,即A k-1 与A n不相同时,下一步执行406。
405,删除A n+1至A k-1
图6示出了删除小区标识列表的一个具体示例。如图6第一行所示,A n至A k依次分别为A、B、A、B、A、C。其中,A k-1为A,A n为A,即A k-1与A n相同,此时将A n+1至A k-1之间的小区标识删除(即删除乒乓小区B、A、B、A),可以获得如图6第二行所示的小区列表标识(即只包含A、C的小区标识列表),此时小区标识A n+1至A k-1已经被删除。也就是说,从时间窗中的第二个小区标识开始删除,直至最后一个乒乓小区。
然后,如图6中第三行所示,可以将A k作为该小区标识列表中的第n+1个小区标识,将A k+1作为该小区标识列表中的第n+2个小区标识,并以此类推。
需要说明的是,本申请实施例中,A、B、C、D等为具体的小区标识的示例,但是本申请实施例并不限于此。
406,删除A n+2至A k-1
图7示出了删除小区标识列表的另一个具体示例。如图7第一行所示,A n至A k依次分别为A、B、A、B、A、B、C。其中,A k-1为B,A n为A,即A k-1与A n不相同,此时将A n+2至A k-1之间的小区标识删除(即删除乒乓小区A、B、A、B),可以获得如图7第二行所示的小区列表标识(即只包含A、B、C的小区标识列表),此时小区标识A n+2至A k-1已经被删除。也就是说,从时间窗中的第三个小区标识开始删除,直至最后一个乒乓小区。
然后,如图7中第三行所示,可以将A k作为该小区标识列表中的第n+2个小区标识,将A k+1作为该小区标识列表中的第n+3个小区标识,并以此类推。
407,移动窗口至下一个位置,并且将n的值加1,即n++。
408,判断是否还存在A n+3
当存在A n+3时,返回继续执行402。当不存在A n+3时,结束流程。
图4的流程结束后,能够获得不包含两个小区的乒乓小区的小区切换路径。
请参考图8,示出了去除包含三个小区的乒乓小区的方法800的示意性流程图。
801,设置时间窗为4,获取该时间窗内的三个小区标识:A n,A n+1,A n+2,A n+3
图9示出了小区标识列表和时间窗的另一个示例。图9中的小区标识列表可以参考图5中的描述,这里不再赘述。一个示例,当n=1时,时间窗中包括的三个小区标识为A 1,A 2,A 3,A 4
802,判断是否满足条件:A n-1!=A n&&A n==A n+3
也就是说,判断小区标识列表中的与时间窗之前相邻的小区标识A n-1是否与该时间窗中的第一个小区标识A n相同,并且判断该时间窗中的第一个小区标识A n是否与该时间窗中的第四个(即最后一个)小区标识A n+3相同。
当满足上述条件,即A n-1与A n不相同,并且A n与A n+3相同时,下一步执行803。当不满足上述条件,即A n-1与A n相同,和/或A n与A n+3不相同时,下一步执行809。
803,寻找第一个A k,满足:A k!=A n+3&&A k!=A n+2&&A k!=A n+1,其中,k>n+3。
具体而言,在该小区标识列表中的该时间窗之后寻找第一个满足403中的条件的A k
804,判断是否满足条件A k-1==A n
也就是说,判断A k之前相邻的A k-1是否与该时间窗中的第一个小区标识相同。
当满足上述条件,即A k-1与A n相同时,下一步执行805。当不满足上述条件,即A k-1 与A n不相同时,下一步执行806。
805,删除A n+1至A k-1
图10示出了删除小区标识列表的一个具体示例。如图6第一行所示,A n至A k依次分别为A、B、C、A、…、A、D。其中,A k-1为A,A n为A,即A k-1与A n相同,此时将A n+1至A k-1之间的小区标识删除(即删除乒乓小区B、C、A…A),可以获得如图10第二行所示的小区列表标识(即只包含A、D的小区标识列表),此时小区标识A n+1至A k-1已经被删除。也就是说,从时间窗中的第二个小区标识开始删除,直至最后一个乒乓小区。
然后,如图10中第三行所示,可以将A k作为该小区标识列表中的第n+1个小区标识,将A k+1作为该小区标识列表中的第n+2个小区标识,并以此类推。
需要说明的是,本申请实施例中,A、B、C、D等为具体的小区标识的示例,但是本申请实施例并不限于此。
806,判断是否满足条件A k-1==A n+1
也就是说,判断A k之前相邻的A k-1是否与该时间窗中的第二个小区标识相同。
当满足上述条件,即A k-1与A n+1相同时,下一步执行807。当不满足上述条件,即A k-1与A n+2不相同时,下一步执行808。
807,删除A n+2至A k-1
图11示出了删除小区标识列表的另一个具体示例。如图11第一行所示,A n至A k依次分别为A、B、C、A、…、B、D。其中,A k-1为B,A n+1为B,即A k-1与A n+1相同,此时将A n+2至A k-1之间的小区标识删除(即删除乒乓小区C、A…B),可以获的如图11第二行所示的小区列表标识(即只包含A、B、D的小区标识列表),此时小区标识A n+2至A k-1已经被删除。也就是说,从时间窗中的第三个小区标识开始删除,直至最后一个乒乓小区。
然后,如图11中第三行所示,可以将A k作为该小区标识列表中的第n+2个小区标识,将A k+1作为该小区标识列表中的第n+3个小区标识,并以此类推。
808,删除A n+3至A k-1
图12示出了删除小区标识列表的另一个具体示例。如图12第一行所示,A n至A k依次分别为A、B、C、A、…、C、D。其中,A k-1为C,A n+1为B,即A k-1与A n+1不相同,此时将A n+3至A k-1之间的小区标识删除(即删除乒乓小区A…C),可以获的如图12第二行所示的小区列表标识(即只包含A、B、C、D的小区标识列表),此时小区标识A n+3至A k-1已经被删除。也就是说,从时间窗中的第四个小区标识开始删除,直至最后一个乒乓小区。
然后,如图12中第三行所示,可以将A k作为该小区标识列表中的第n+3个小区标识,将A k+1作为该小区标识列表中的第n+4个小区标识,并以此类推。
809,移动窗口至下一个位置,并且将n的值加1,即n++。
810,判断窗口之后是否还存在A n+4
当存在A n+4时,返回继续执行802。当不存在A n+4时,结束流程。
图8的流程结束后,能够获得不包含三个小区的乒乓小区的小区切换路径。
一些可能的实现方式中,在对原始的小区切换路径去除乒乓小区时,可以先去除包含两个小区的乒乓小区。之后,可以在去除两个小区的乒乓小区的小区切换路径上继续去除包含三个小区的乒乓小区。
305,确定在当前驻留小区的选网策略。
示例性的,策略匹配模块1322可以根据在304中获取的有效小区切换路径,确定适合当前驻留的小区的选网策略,即预测当前驻留小区的下一跳小区。这里,步骤305可以为图2中的步骤206在固定路线下的一个具体示例。
下面结合图13和图14分别描述步骤305的两种具体的实现方式。
图13示出了本申请实施例提供的一种网络选择的方法1300的示意性流程图。如图13所示,方法1300可以包括步骤1301至步骤1305。示例性的,步骤1301可以由环境感知单元1310执行,步骤1302至1305可以由策略交互单元1320执行。
1301,确定当前服务的第一小区。
例如,采集单元1311可以获取当前服务的第一小区的小区信息,例如获取modem140实时发送的小区信息。路线和场景识别模块1312根据该第一小区的小区信息,确定当前服务的第一小区,并确定终端设备当前处于固定路线场景,即第一小区的小区信息为固定路线中的小区信息。
1302,在已有小区切换路径中是否存在第一小区。
作为一个示例,该已有的小区切换路径可以为步骤304中获取的有效的小区切换路径。
作为一种实现方式,策略匹配模块1322可以根据第一小区的小区标识,在已有小区切换路径对应的小区标识列表中寻找第一小区的小区标识。当一个小区标识列表中存在第一小区的小区标识时,则确定在该小区标识列表对应的小区切换路径中存在第一小区。当一个小区标识列表中不存在第一小区的小区标识时,则确定在该小区标识列表对应的小区切换路径中不存在第一小区。
当存在第一小区时,下一步执行1303。当不存在第一小区时,下一步继续执行1301。
1303,在已有小区切换路径中获取第一小区的下一跳小区。
作为一种实现方式,策略匹配模块1322可以将小区切换路径对应的小区标识列表中与该第一小区的小区标识相邻的下一个小区标识对应的小区作为第一小区的下一跳小区。
一些实施例中,当存在多个小区切换路径中均存在该第一小区的下一跳小区时,可以统计不同小区切换路径中的下一跳小区出现的频数,并确定出频数最高的至少两个下一跳小区,例如频数最高的前N个(topN)小区。
以已有有效的小区切换路径为A-B-C-D-E、A-B-F-D-E和A-B-C-F-D-E,当前驻留小区为小区B为例,假设A-B-C-D-E出现的频数为7,A-B-C-F-D-E出现的频数为8,A-B-F-D-E出现的频数为5,在已有小区切换路径中存在当前小区B,且小区C(可以称为第二小区)作为小区B的频数为(7+8),小区F(可以成为第三小区)作为小区B的频数为5,可以确定小区C和F为频数最高的前2个小区,即top2小区。
可选的,1304,获取终端设备在至少一次切换至下一跳小区时的至少一个信号接收功率,该信号接收功率为终端设备对第一小区的信号的接收功率(即终端设备在第一小区中的信号强度)。作为示例,接收功率可以为RSRP,但是本申请实施例并不限于此。
作为一个示例,终端设备在可以在上文图3中的步骤302中获取的该终端设备每次切换前在驻留小区中的信号强度中,获取终端设备由第一小区切换至下一跳小区时对第一小区的信号的接收功率。
一些实施例中,当已有小区切换路径中包含多个小区切换路径,且该多个小区切换路径中该第一小区的下一跳小区相同,比如均为第二小区时,可以分别获取终端设备多次从 第一小区切换至第二小区时,对应的多个在第一小区中的信号接收功率。
作为示例,在其中一个小区切换路径中,终端设备由第一小区切换到第二小区时,在第一小区中的信号接收功率为-85dbm。在另一个小区切换路径中,终端设备由第一小区切换到第二小区时,在第一小区中的信号接收功率为-90dbm。在另一个小区切换路径中,终端设备由第一小区切换到第二小区时,在第一小区中的信号接收功率为-100dbm。
一些实施例中,当已有小区切换路径中包含多个小区切换路径,且该多个小区切换路径中该第一小区的下一跳小区不相同时,可以分别获取终端设备多次从第一小区切换至各个下一跳小区时,对应的多个在第一小区中的信号接收功率。
作为示例,在其中一个小区切换路径中,终端设备由第一小区切换到第二小区,在第一小区中的信号接收功率为-85dbm。在另一个小区切换路径中,终端设备由第一小区切换到第三小区,在第一小区中的信号接收功率为-75dbm。
1305,预测当前驻留小区的下一跳小区。
一个示例,策略匹配模块1322可以将终端设备在步骤1303中获取的下一跳小区作为终端设备在当前时刻之后选择的第一小区的下一跳小区。例如,可以将切换频数最高的小区(例如第二小区)作为在当前驻留小区的下一跳小区,或者可以在切换频数最高的前n小区(例如前2个(top 2)小区,即第二小区和第三小区)中确定当前驻留小区的下一跳小区。
当预测当前驻留小区的下一跳小区为切换频数最高的前n小区时,终端设备可以只对该前n小区进行小区测量,并可以进一步将该前n个小区的信号强度作为下一跳小区的判断标准。
因此,本申请实施例通过获取终端设备在固定路线上的小区切换路径,并在该小区切换路径中存在当前驻留的第一小区时,根据该小区切换路径中的第一小区的下一跳小区,预测终端设备当前在第一小区中的下一跳小区,使得终端设备可以根据预测的下一跳小区有针对性地进行搜网,从而有助于减少终端设备测量的邻区的数量,或者进行小区重选的次数,进而有助于降低终端设备的功耗。
在一些可选的实施例中,当执行步骤1304时,还可以根据步骤1304中获取的接收功率大小,确定终端设备在当前时刻之后在第一小区中的小区测量门限。具体而言,该小区测量门限包括起测门限和/或逃离门限,其中起测门限指开始对下一跳小区进行小区测量的门限,逃离门限指恢复默认小区测量的门限,例如可以对所有的邻区进行小区测量的门限值。
一个示例,当获取了多次从第一小区切换到第二小区时对应的多个在第一小区中的信号接收功率时,可以根据该多个信号接收功率中的最大信号接收功率确定对于该第二小区的起测门限,和/或,根据该多个信号接收功率中的最小信号接收功率确定逃离门限。
作为一种实现方式,起测门限可以为该最大信号接收功率,逃离门限为该最小信号接收功率。例如,当3次从第一小区切换到第二小区时,对应的3个信号接收功率分别为-85dbm、-90dbm和-100dbm时,可以将-85dbm作为对该第二小区的起测门限,将-100dbm作为逃离门限。也就是说,当终端设备在第一小区中的信号接收功率小于或等于-85dbm时,开始对第二小区进行小区测量,当终端设备在第一小区中的信号接收功率小于或等于-100dbm时,恢复modem的默认测量配置,即终端设备对第一小区的所有的邻小区进行测量),也就是说这时可以仅通过第一小区的邻区的信号强度这一单一维度作为下一跳小 区的判断标准。此时,该起测门限还可以称为在该第一小区中针对该第二小区的起测门限,该逃离门限还可以称为在该第一小区中针对该第二小区的逃离门限。
另一个示例,当获取了多次从第一小区切换到多个下一跳小区时对应的多个在第一小区中的信号接收功率时,可以根据该多个信号接收功率中的最大信号接收功率确定起测门限,和/或,根据该多个信号接收功率中的最小信号接收功率确定逃离门限。这时,当满足该起测门限时,可以对所有预测到的小区进行小区测量。
作为一种实现方式,起测门限可以为该最大信号接收功率,逃离门限为该最小信号接收功率。例如,当从第一小区切换到第二小区对应的两个信号接收功率为-85dbm,-100dbm,从第一小区切换到第三小区对应的信号接收功率为-75dbm时,可以将-75dbm作为对任意可能预测到的小区(比如第二小区和第三小区)的起测门限,将-100dbm作为逃离门限。也就是说,当终端设备在第一小区中的信号接收功率小于或等于-75dbm时,开始对可能预测到的小区进行小区测量,当终端设备在第一小区中的信号接收功率小于或等于-100dbm时,恢复modem的默认测量配置,即终端设备对第一小区的所有的邻小区进行测量),也就是说这时可以仅通过第一小区的邻区的信号强度这一单一维度作为下一跳小区的判断标准。此时,该起测门限还可以称为在该第一小区中通用的起测门限,该逃离门限还可以称为在该第一小区中通用的逃离门限。
因此,本申请实施例能够使得终端设备在第一小区中的信号接收功率大于起测门限(此时可以认为终端设备在第一小区中的信号较好)时,不对特定邻小区(比如第二小区)或所有预测的邻小区(比如第二小区和第三小区)进行测量,而在第一小区中的信号接收功率小于或等于该起测门限(此时可以认为终端设备在第一小区中信号不好)时,才对特定邻小区(比如第二小区)或所有预测的邻小区(比如第二小区和第三小区)进行测量,从而有助于减少对终端设备测量的浪费,减小终端设备的功耗。
另外,本申请实施例能够使得终端设备在第一小区中的信号接收功率小于或等于逃离门限(此时可以认为终端设备在第一小区中的信号已经很差了)时,按照现有对邻小区的测量机制进行小区测量,而不是只对预测的小区(例如第二小区)进行测量,从而有助于提高终端设备测量到邻小区的概率。
需要说明的是,本申请实施例设置的起测门限相对现有技术而言更高,即更加严格。例如在网络设备配置的测量门限为-80dbm的情况下,本申请实施例的方案确定的起测门限可以为-70dbm,从而使得终端设备在信号质量还没有很差时就可以进行小区测量,从而有助于减少终端设备测量邻小区的次数。
在其他实现方式中,该起测门限还可以通过对最大信号接收功率进行偏移获得,例如为最大信号接收功率与δ 1之和。另外,逃离门限还可以通过对最小信号接收功率进行偏移获得,例如为最小信号接收功率与δ 2之和。这里,δ 1或δ 2可以为正值,或负值,本申请实施例对此不做限定。
作为示例,对于起测门限而言,当对最大信号接收功率的偏移(即δ 1)为正值时,由于最大信号接收功率通常为负值,会使得设置的起测门限值变大(即提高起测门限),进而能够有助于实现晚点切换小区,从而有助于节省测量功耗。当对最大信号接收功率的偏移(即δ 1)为负值时,由于最大信号接收功率通常为负值,会使得设置的起测门限值变小(即降低起测门限),进而能够有助于实现早点切换小区,从而有助于避免在信号不好时再进行切换。
类似的,对于逃离门限而言,当对最小信号接收功率的偏移(即δ 2)为正值时,会使得设置的逃离门限值变大,进而能够有助于实现晚点恢复modem的默认测量配置,有助于节省测量功耗。当对最小信号接收功率的偏移(即δ 2)为负值时,会使得设置的逃离门限值变小,进而能够有助于实现早点恢复modem的默认测量配置,有助于避免在信号不好时再进行切换。
在一些可选的实施例中,当不执行步骤1304时,可以预先配置起测门限或逃离门限,本申请实施例对此不做限定。
因此,本申请实施例通过获取终端设备在小区切换路径中切换至下一跳小区时在第一小区中的接收功率,并根据该接收功率,确定终端设备在第一小区中进行小区测量的起测门限和/或逃离门限,使得终端设备可以根据起测门限和/或逃离门限进行小区测量,从而有助于减少终端设备的测量的邻区的数量,或者测量邻区的次数,或者进行小区重选的次数,进而有助于降低终端设备的功耗。
图14示出了本申请实施例提供的另一种网络选择的方法1400的示意性流程图。如图14所示,方法1400可以包括步骤1401至1410。示例性的,步骤1401可以由环境感知单元1310执行,步骤1402至1410可以由策略交互单元1320执行。
1401,确定当前服务的第一小区。
1402,在已有小区切换路径中是否存在第一小区。
1403,在已有小区切换路径中获取第一小区的下一跳小区。
具体的,步骤1401至1403可以参见图13中步骤1301至1303中的描述,为了简洁,这里不再赘述。
1404,判断下一跳小区是否掉网。
这里,判断的是在当前时刻之前的已有路径中,终端设备在第一小区的下一跳小区中是否发生掉网。作为示例,当前时刻可以记为第一时刻。
当在下一跳小区中没有发生掉网时,下一步执行步骤1405。当在下一跳小区中发生掉网时,下一步执行步骤1410。
1405,获取第一信号强度和第二信号强度。
以下一跳小区包括第二小区和第三小区为例,可以获取终端设备驻留在第二小区中的信号强度(可以记为第一信号强度),以及终端设备驻留在第三小区中的信号强度(可以记为第二信号强度)。
一个示例,信号强度可以为终端设备驻留在小区中的平均信号强度。一个具体的例子,第一信号强度可以为在第二小区中的RSRP的平均信号强度,记为RSRP#1,第二信号强度可以为在第三小区中的RSRP的平均信号强度,记为RSRP#2。
1406,判断第一信号强度和所述第二信号强度的差值的绝对值是否小于第三预设值。作为示例,判断是否满足abs(RSRP#1-RSRP#2)<TH。
在不满足第一信号强度和所述第二信号强度的差值的绝对值是否小于第三预设值,即不满足abs(RSRP#1-RSRP#2)<TH时,下一步执行1407。其中,TH是第三预设值的一个示例。在满足第一信号强度和所述第二信号强度的差值的绝对值是否小于第三预设值,即满足abs(RSRP#1-RSRP#2)<TH时,下一步执行1408。
1407,根据第一信号强度RSRP#1和第二平均信号RSRP#2,生成选网策略。
示例性的,可以将所述第一信号强度和所述第二信号强度中较大信号强度对应的小区, 作为终端设备在所述第一时刻之后的下一跳小区,即将max(RSRP#1,RSRP#2)对应的小区作为终端设备在所述第一时刻之后的下一跳小区。
也就是说,当第一信号强度RSRP#1和第二平均信号RSRP#2之差的绝对值小于或等于阈值TH时,说明第一信号强度RSRP#1和所述第二平均信号RSRP#2的差别比较大,此时可以选择二者中的较大值对应的小区作为第一时刻之后的下一跳小区。
而当第一信号强度RSRP#1和第二平均信号RSRP#2之差的绝对值大于阈值TH时,说明第一信号强度RSRP#1和所述第二平均信号RSRP#2的差别比较小,此时还可以根据其他网络配置参数,进一步选择功耗最优的小区作为第一时刻之后的下一跳小区。具体的可以参见步骤1408的描述。
1408,确定第一功耗情况和第二功耗情况。其中,第一功耗情况可以终端设备在为第二小区的功耗情况,第二功率情况可以为终端设备在第三小区的功耗情况。
作为一种可能的实现方式,可以根据终端设备在小区中的不连续接收(discontinuous reception,DRX)周期和/或无效无线资源控制(radio resource control,RRC)连接时长,确定终端设备在该小区中的功耗情况。其中,无效RRC连接时长可以为在modem没有数据发送的时刻至RRC释放结束的时刻之间的时长。其中,DRX周期越大,终端设备的功耗越小,RRC连接时长越大,终端设备的功耗越小。
示例性的,可以对终端设备在小区中的DRX周期和RRC连接时长进行加权求和,求和得到的值可以用于表示终端设备在该小区中的功耗情况。如下公式(1)示出了功耗情况的一个具体的例子。
S=SD*λ+SR*α           (1)
其中,S表示功耗情况得分,SD表示DRX周期得分,λ表示DRX周期得分的加权值,SR表示无效RRC连接得分,α表示无效RRC连接得分的加权值。由公式(1)可知,S值越大,对应的终端设备的功耗越小。
作为示例,λ的取值可以为0.6,α的取值可以0.4。
需要说明的是,不同的DRX周期对应的得分SD不同,不同的无效RRC连接时间对应的得分SR不同。其中,可以设置至少一个DRX周期门限值和至少一个无效RRC连接时长门限值,并根据该门限值,确定不同DRX周期对应的得分SD,以及不同无效RRC连接时间对应的得分SR。
图15示出了DRX门限值和无效RRC连接时长门限值的一个具体的示例。如图15所示,可以设置DRX门限值a 0和a 1,其中a 0>a 1。作为示例,a 0取值可以为sf128,a 1取值可以为sf10。当DRX周期a满足a≤a 1时,该DRX周期为短周期,当满足a 1<a≤a 0时,该DRX周期为长周期,当满足a>a 0时,该DRX周期为非常长周期。
如图15所示,还可以设置无效RRC连接时长门限值t 0、t 1和t 2,其中t 2>t 1>t 0。作为示例,t取值可以为9s,t 1取值可以为15s,t 2取值可以为20s。当无效RRC连接时长a满足t≤t 0时,该无效RRC连接时长为非常短连接时长,当满足t 0<t≤t 1时,该无效RRC连接时长为短连接时长,当满足t 1<t≤t 2,该无效RRC连接时长为长连接时长,当满足t 0<t≤t 1,该无效RRC连接时长为非常长连接时长。
表1示出了DRX周期(可表示为a)与其对应的得分SD的一个示例,表2示出了无效RRC连接时间(可表示为t)与其对应的得分SR的一个示例。
DRX的参数配置如下表1所示:
表1
Figure PCTCN2020127536-appb-000001
RRC连接的参数配置如下表2所示:
表2
Figure PCTCN2020127536-appb-000002
1409,根据第一功耗情况和第二功耗情况,确定当前驻留小区的下一跳小区。
示例性的,可以将第一功耗情况和第二功耗情况中较小功耗情况对应的小区,作为终端设备在当前小区的下一跳小区。例如,终端设备在b小区中的功耗情况得分可以表示为Sb,在c小区中的功耗情况得分可以表示为Sc,则此时可以将max(Sb,Sc)对应的小区作为终端设备在第一时刻之后选择的下一跳小区。
需要说明的是,以上步骤1405至1409仅以获取下一跳小区中的top2小区的信号强度为例进行描述。本申请实施例中还可以获取下一跳小区中的top3或top4或其他topN小区的信号强度,本申请实施例对此不做限定。当获取top3或top4或其他topN小区的信号强度时,其具体实现可以参照获取top2小区的信号强度的相关描述,可能需要做一些简单的适配,但是也在本申请实施例的保护范围之内。
示例性的,当获取的topN小区的信号强度时,可以判断该N个小区两两之间的信号强度的差值的绝对值是否小于第三预设值。
当该N个小区存在至少两个小区的信号强度的差值的绝对值不满足小于第三预设值时,可以根据该N个小区的信号强度,确定当前驻留小区的下一跳小区。例如,可以将该N个小区的信号强度值中最大信号强度对应的小区,作为终端设备的当前驻留小区的下一跳小区。
当该N个小区任意两个信号强度的差值的绝对值均满足小于第三预设值时,可以确定该N个小区的功耗情况,并根据该N个小区的功耗情况,确定当前驻留小区的下一跳小区。例如,将该N个小区中最小功耗对应的小区,作为终端设备的当前驻留小区的下一跳小区。
因此,本申请实施例通过判断终端设备在当前时刻之前是否在下一跳小区中掉网,并在下一跳小区没有掉网的情况下,根据终端设备在下一跳小区中的信号强度,确定当前驻 留小区的下一跳小区,使得终端设备可以有针对性的进行搜网,从而有助于减少终端设备测量的邻区的数量,或者测量邻区的次数,或者进行小区重选的次数,进而有助于降低终端设备的功耗。
1410,根据掉网后的恢复时间,生成在第一小区中的测量策略。
示例性的,当终端设备在第二小区发生掉网时,可以获取终端设备在第二小区中掉网后恢复的时间。然后,根据该恢复的时间,确定终端设备在第二小区中掉网后将采用的测量策略。
作为一种实现方式,可以统计历史记录中终端设备在第二小区中掉网后的最大恢复时间(记为T max)和最小恢复时间(可以记为T min)。此时,以终端设备在第二小区中掉网时刻起开始计时,在t时刻(即终端设备在第二小区中掉网之后的时长为t的时刻)的测量策略如下:
当t<T min时,确定关闭终端设备的小区测量。
也就是说,在第二小区掉网之后的小于T min的时间段内,终端设备关闭在第一小区的小区测量。此时,终端设备在该时间段即将,或已经没有可用的网络,此时如果终端设备继续进行小区测量,有很大的可能是搜索不到网络的。基于此,本申请实施例可以通过在小于T min的时间段关闭终端设备的小区测量,来降低终端设备的功耗。
当T min≤t<k*T min+(1-k)T max时,确定将终端设备的测量间隔配置为第一测量间隔,其中,0<k<1。一个示例,k可以取值为0.5。
也就是说,在第二小区掉网之后的大于或等于T min且小于k*T min+(1-k)T max的时间段内,将终端设备测量间隔配置为第一测量间隔。
当t≥k*T min+(1-k)T max时,确定将终端设备测量间隔配置为第二测量间隔。
也就是说,在第二小区掉网之后的大于或等于k*T min+(1-k)T max的时间段,将终端设备测量间隔配置为第二测量间隔。
其中,所述第二测量间隔小于所述第一测量间隔。作为一个示例,第一测量间隔可以称为长测量间隔,第二测量间隔可以称为短测量间隔。
本申请实施例中,在满足T min≤t<k*T min+(1-k)T max时,终端设备恢复网络的可能性仍然不是很大,此时可以通过设置长测量间隔,使得终端设备不需要进行频繁的邻区测量,从而有助于降低终端设备的功耗。在满足t≥k*T min+(1-k)T max时,终端设备恢复网络的可能性已经很大了,此时可以通过设置短时间测量间隔,有助于使得终端设备能够更快速恢复网络。
因此,本申请实施例通过判断终端设备在历史记录中是否在第二小区中掉网,并终端设备在第二小区发生掉网的情况下,根据终端设备的历史掉网之后的恢复时间,生成适用于终端设备在当前在第二小区掉网之后的不同时间段的测量策略,使得终端设备可以有针对性的进行小区测量,从而有助于减少终端设备的无效测量,进而有助于降低终端设备的功耗。
下面,结合图16和图17,描述在固定场所下,本申请实施例提供的网络选择的方法。
图16示出了本申请实施例提供的一种网络选择的方法1600的示意性流程图。方法1600可以由上文中的选网主控单元130执行。具体可以包括步骤1601至步骤1607。
1601,采集小区信息。
示例性的,可以由采集模块1311执行步骤1601。具体的,可以参见图2中步骤202 的描述,这里不再赘述。
可选的,当采集次数小于m时,继续执行步骤1601。当采集次数大于m时,执行步骤1602。这里,m为正整数。示例性的,m可以预先设置在采集模块1311中。
1602,获取在第一区域中驻留的N个小区,其中N为正整数。
这里,第一区域可以为固定场所的一个示例,例如为家、学校、公司等,本申请实施例对此不做限定。
示例性的,路线及场景识别模块1312可以根据采集模块1311获取的小区信息,获取在终端设备在第一区域中驻留的一个或多个小区,即在采集模块1311获取的小区信息中提取在该第一区域中驻留的一个小区的小区信息。
然后,可以在该一个或多个小区中确定N个小区,其中,N为正整数。示例性的,可以由策略交互单元1320中的学习模块1321确定该N个小区。这里,该N个小区可以为终端设备在第一区域中驻留时间最长的topN小区,或者功耗最低的topN小区,或者接收信号强度最强的topN个小区。作为一个示例,当N取1时,该小区即为终端设备在第一区域中驻留时间最长,或者功耗最低,或者接收信号强度最强的小区。此时,该小区即为第二有效驻留小区的一个示例。
这样,当在N个小区确定终端设备将要驻留的小区时,能够确保终端设备稳定驻留在选网策略指示的小区中。
当N取值大于或等于2时,还需要执行步骤1603至1606。示例性的,在获取该N个小区之后,策略交互单元1320中的学习模块1321可以继续执行以下步骤1603至1606。也就是说,此时,确定该N个小区,以及下面的步骤1603至1606可以为步骤205中的在固定场所下的一个具体示例。其中,该N个小区即为第二有效驻留小区的一个示例。
下文以获取第一区域中驻留的N个小区为三个小区,即C1,C2和C3为例进行描述。需要说明的是,该N个小区还可以为两个小区,四个小区,或者更多小区,本申请实施例对此不做限定。当获取的小区的数量为两个、四个或者更多小区时,其具体实现可以参照获取第一区域中驻留的三个小区的相关描述,可能需要做一些简单的适配,但是也在本申请实施例的保护范围之内。
1603,获取在N个小区之间两两切换的次数。
例如,当在步骤1602中获取了三个小区C1,C2、C3时,学习模块1321可以获取终端设备在C1和C2之间切换的次数,在C1和C3之间切换的次数,在C2和C3之间切换的次数。
可选的,学习模块1321还可以获取终端设备在小区之间多次切换时对应的多个在当前服务小区中的信号接收功率,例如RSRP。例如,当终端设备由小区C1切换到小区C2时,获取终端设备在小区C1中的信号接收功率,比如为-85dbm;当终端设备由小区C2切换到小区C3时,获取终端设备在小区C2中的信号接收功率,比如为-82dbm;当终端设备由小区C3切换到C2时,获取终端设备在小区C3中的信号接收功率,比如为-90dbm等。
1604,判断单位时间切换次数是否大于门限值。示例性的,门限值可以为预先设置的。当单位时间切换次数不大于该门限值时,下一步为步骤1605。当单位时间切换次数大于该门限值时,下一步为步骤1606。
1605,确定两小区为稳定驻留的小区。
也就是说,当单位时间在两个小区之间切换次数小于或等于门限值时,表示终端设备在该两个小区之间稳定驻留,即在该两个小区不是乒乓小区。
1606,确定两小区之间频繁重选。
也就是说,当单位时间在两个小区之间切换次数大于门限值时,表示终端设备在该两个小区之间频繁重选,即该两个小区为乒乓小区。
1607,确定在当前驻留小区的选网策略。
示例性的,策略匹配模块1322可以根据在步骤1603至1606中的学习结果,确定适合当前驻留的小区的选网策略,即预测当前驻留小区的下一跳小区。这里,步骤1607可以为图2中的步骤206在固定场所下的一个具体示例。
作为一个示例,当步骤1602中,获取了在第一区域中驻留的一个小区时,可以直接将该小区作为终端设备在第一小区之后的下一跳小区。
当在步骤1602中,获取了在第一区域中驻留的至少两个小区时,可以执行图17所描述方法,来确定在当前驻留小区的选网策略。
图17示出了本申请实施例提供的一种网络选择的方法1700的示意性流程图。如图17所示,方法1700可以包括步骤1701至步骤1307。示例性的,步骤1301可以由环境感知单元1310执行,步骤1302至1305可以由策略交互单元1320(例如策略交互单元中的策略匹配模块1322)执行。
1701,确定当前服务的第一小区C。
例如,采集单元1311可以获取当前服务的第一小区的小区信息,例如获取modem140实时发送的小区信息。路线和场景识别模块1312根据该第一小区的小区信息,确定当前服务的第一小区,并确定终端设备当前处于固定场所场景,即第一小区的小区信息为固定场所中的小区信息。
1702,是否满足C∈(C1,C2,C3)?
作为一种实现方式,策略匹配模块1322可以根据第一小区的小区标识,在已有固定场所对应的小区标识列表中寻找第一小区的小区标识。这里,固定场所对应的小区标识列表即该固定场所包括的N个小区对应的小区标识列表。
以该N个小区为C1、C2、C3,小区标识列表为(C1,C2,C3)为例,当小区标识列表(C1,C2,C3)中存在第一小区的小区标识C时,则确定在该小区标识列表(C1,C2,C3)对应的固定场所中存在第一小区,即满足C∈(C1,C2,C3)。当小区标识列表(C1,C2,C3)中不存在第一小区的小区标识C时,则确定在该小区标识列表(C1,C2,C3)对应的固定场所中不存在第一小区,即不满足C∈(C1,C2,C3)。
当不满足C∈(C1,C2,C3),即终端设备当前驻留的小区不属于(C1,C2,C3)时,执行1703。
作为示例,用户进入固定场所的区域范围之后,但是终端设备当前驻留的小区不是该固定场所中的频数最高的前3个(top3)小区,比如此时驻留的小区可能是该固定场所附近的一个小区,或者为该固定场所中的频数为第4的小区。此时,可以执行1703。
当满足C∈(C1,C2,C3),即终端设备当前驻留的小区属于(C1,C2,C3)时,执行1704。
1703,将C1,C2,C3中的至少一个小区作为终端设备在第一区域中能够选择的小区。此时,终端设备在第一区域中能够选择的小区可以表示为(C1,C2,C3)。这样,可以使得终端设备快速切换到top3小区中的一个小区,并可以在该小区中稳定驻留。
作为一种实现方式,策略匹配模块1322可以按照终端设备在C1,C2,C3中驻留的时长排序的优先级顺序,向终端设备推荐在第一区域中选择的小区。
可选的,当终端设备当前驻留的小区C不属于(C1,C2,C3)时,由于历史记录中没有记录由小区C切换到C1或C2或C3时,在小区C中的信号接收功率,因此可以根据默认的起测门限对C1或C2或C3进行测量。示例性的,默认的起测门限可以为modem设置的对所有小区的起测门限。可选的,终端设备还可以根据默认的逃离门限,进行邻区测量,即当终端设备在任一小区中的信号接收功率小于该默认的逃离门限时,对所有的邻区进行小区测量。
1704,是否满足C~∈(C1,C2,C3)?
其中,C~表示与当前驻留的小区C具有乒乓关系的小区。也就是说,在单位时间内,终端设备在小区C和小区C~之间切换的次数大于预设值。
当满足C~∈(C1,C2,C3),即C1,C2,C3中包括终端设备当前驻留的小区C,同时还存在与小区C具有乒乓关系的小区C~时,执行1705。当不满足C~∈(C1,C2,C3),即C1,C2,C3中包括终端设备当前驻留的小区C,但是并不存在与小区C具有乒乓关系的小区C~时,执行1706。
1705,将(C1,C2,C3)-(C,C~)作为终端设备在第一区域中能够选择的小区。其中,(C1,C2,C3)-(C,C~)表示C1,C2,C3中除C,C~之外的小区。这样,可以使终端设备切换到没有与当前驻留小区有乒乓关系的小区中,能够确保终端设备稳定驻留在下一跳小区中。
可选的,还可以根据获取终端设备在小区之间多次切换时对应的多个在小区C中的信号接收功率,来确定在当前小区C中的测量策略。其中,该测量策略包括终端设备在小区C中的起测门限和/或逃离门限。
作为一种实现方式,当获取了终端设备多次由小区C切换至(C1,C2,C3)-(C,C~)时的多个信号接收功率时,可以将该多个信号接收功率中的最大信号接收功率作为起测门限,将该多个信号接收功率中的最小信号接收功率作为逃离门限。例如,当小区C为C1,C~为C2时,可以获取终端设备多次由C1切换至C3的多个在C1中的信号接收功率,并将其中的最大信号接收功率作为在小区C1中对小区C3的起测门限(即当在小区C1中的信号接收功率小于该最大接收功率时,对小区C3进行测量),将其中的最小信号接收功率作为在小区C1中的逃离门限(即当在小区C1中的信号接收功率小区该最小信号接收功率时,对所有的邻区进行策略)。这种情况下,也可以称该起测门限为对应于小区C2的起测门限,称该逃离门限为对应于小区C2的逃离门限。
1706,将(C1,C2,C3)-C中的至少一个小区作为终端设备在第一区域中能够选择的小区。其中,(C1,C2,C3)-C表示C1,C2,C3中除C之外的小区。这样,可以使终端设备切换到没有与当前驻留小区有乒乓关系的小区中,能够确保终端设备稳定驻留在下一跳小区中。
可选的,还可以根据获取终端设备在小区之间多次切换时对应的多个在小区C中的信号接收功率,来确定在当前小区C中的测量策略。其中,该测量策略包括终端设备在小区C中的起测门限和逃离门限。
例如,当小区C为C1时,可以获取终端设备多次由C1切换至C2的多个在C1中的信号接收功率,并将其中的最大信号接收功率作为在小区C1中对小区C2的起测门限(即 当在小区C1中的信号接收功率小于该最大接收功率时,对小区C2进行测量),将其中的最小信号接收功率作为在小区C1中的逃离门限(即当在小区C1中的信号接收功率小区该最小信号接收功率时,对所有的邻区进行策略)。另外,还可以获取终端设备多次由C1切换至C3的多个在C1中的信号接收功率,并将其中的最大信号接收功率作为在小区C1中对小区C3的起测门限(即当在小区C1中的信号接收功率小于该最大接收功率时,对小区C3进行测量),将其中的最小信号接收功率作为在小区C1中的逃离门限(即当在小区C1中的信号接收功率小区该最小信号接收功率时,对所有的邻区进行策略)。此时,在小区C中对不同小区的起测门限可以不同,或者在小区C中对不同的小区逃离门限不同,因此这里的该起测门限可以为针对特定小区的起测门限,逃离门限可以为针对特定小区的逃离门限。
又例如,当获取了终端设备多次由小区C切换至(C1,C2,C3)-(C)时的多个信号接收功率时,可以将该多个信号接收功率中的最大信号接收功率作为起测门限,将最小信号接收功率最为逃离门限。例如,当小区C为C1时,可以获取终端设备多次由C1切换至C2或C3的多个在C1中的信号接收功率,并将其中的最大信号接收功率作为在小区C1中对小区C2或C3的起测门限,将其中的最小信号接收功率作为在小区C1中的逃离门限。此时,该起测门限可以为在小区C中的通用的起测门限,该逃离门限为在小区C中的通用逃离门限。
具体的,起测门限和逃离门限可以参见上文中的描述,为了简洁,这里不再赘述。
在一些可选的实施例中,可以预先配置起测门限或逃离门限,本申请实施例对此不做限定。
因此,本申请实施例通过获取终端设备在固定场所中小区驻留的历史记录,并根据终端设备在该固定场所中的小区中的历史驻留情况,预测终端设备当前在第一小区中的下一跳小区,使得终端设备可以根据预测的小区有针对性的进行搜网,从而有助于减少终端设备测量的邻区的数量,或者测量邻区的次数,或者进行小区重选的次数,进而有助于降低终端设备的功耗。
需要说明的是,对于固定场所的场景而言,当在确定终端设备当前驻留的第一小区之前,确定终端设备在上述N个小区中乒乓切换的小区时,能够使得终端设备在获取当前驻留的小区之后,更快速的预测出当前小区的下一跳小区。
可选的,在本申请实施例中,对于固定场所的场景而言,也可以在确定终端设备当前驻留的第一小区之后,再确定该N个小区中终端设备乒乓切换的小区。作为示例,当当前驻留的第一小区为C,且C∈(C1,C2,C3)时,在确定该N个小区中终端设备乒乓切换的小区的过程中,可以只确定终端设备是否在第一小区C与(C1,C2,C3)中除C之外的其他小区之间乒乓切换。也就是说,当此时不需要确定终端设备是否在C2和C3之间乒乓切换。这样,能够节省终端设备的计算所消耗的资源。
图18示出了本申请实施例提供的一种网络选择的方法1800的示意性流程图。示例性的,该方法1800可以由图1A、图1B、图1C中所示的终端设备执行。进一步的,该方法1800可以由图1C中该系统架构100中的选网主控单元130执行。该方法1800包括步骤1810和1860。
1810,获取第一信息,所述第一信息包括所述终端设备驻留的小区的小区信息。
1820,从所述小区信息中获取第一小区信息或第二小区信息,其中,所述第一小区信 息为所述终端设备在固定路线中驻留的小区的小区信息,所述第二小区信息为所述终端设备在固定场所中驻留的小区的小区信息;
1830,根据预设规则对所述第一小区信息或所述第二小区信息进行预处理,获取有效驻留小区,其中,所述有效驻留小区包括第一有效驻留小区或第二有效驻留小区,所述第一有效驻留小区是根据第一预设规则对所述第一小区信息进行预处理获得的,所述第二有效驻留小区是根据第二预设规则对所述第二小区信息进行预处理获得的。
1840,获取第二信息,所述第二信息包括所述终端设备当前驻留的第一小区的小区信息。
1850确定所述第一小区的小区信息为固定路线中的小区信息,或为固定场所中的小区信息。
1860,当所述第一小区的小区信息为固定路线中的小区信息,在所述第一有效驻留小区中确定第二小区,当所述第一小区的小区信息为固定场所中的小区信息时,在所述第二有效驻留小区中确定所述第二小区,其中,所述第二小区为所述终端设备在所述第一小区之后的下一个驻留小区。
因此,本申请实施例能够对终端设备驻留的小区的小区信息进行固定路线或固定场所分类,并根据预设规则对不同的分类进行不同的预处理,获取不同分类下终端设备的有效驻留小区,然后根据不同分类下的有效驻留小区,生成适用于该终端设备当前的选网策略,该选网策略用于指示终端设备在当前驻留的小区的下一跳小区,使得终端设备能够有针对性的进行网络搜索,从而有助于降低终端设备的功耗。
可选的,所述小区信息中还包括所述终端设备从所述驻留的小区切换至下一跳小区时在驻留的小区中的信号接收功率;
所述方法1800还包括:
根据至少一个所述信号接收功率,确定所述终端设备在所述驻留的小区中的小区测量门限;
其中,所述小区测量门限包括起测门限和/或逃离门限,所述起测门限为开始对所述驻留的小区的下一跳小区进行小区测量的门限,所述逃离门限为对所述驻留的小区的邻小区进行小区测量的门限,其中,所述小区测量门限是根据所述至少一个信号接收功率中的最大信号接收功率确定的,所述逃离门限是根据所述至少一个信号接收功率中的最小信号接收功率确定的。
可选的,当在所述小区信息中获取第一小区信息时,所述第一有效驻留小区中包括所述第一小区和所述第二小区,所述第二小区为所述第一小区在固定路线上的历史下一跳小区,所述方法1800还包括:
在所述终端设备在所述第二小区发生掉网后,
当t<T min时,确定关闭所述终端设备的小区测量;
当T min≤t<k*T min+(1-k)T max时,确定将所述终端设备的测量间隔配置为第一测量间隔,其中,0<k<1;
当t≥k*T min+(1-k)T max时,确定将所述终端设备的测量间隔配置为第二测量间隔,其中,所述第二测量间隔小于所述第一测量间隔;
其中,t表示所述终端设备在所述第二小区中的掉网时刻之后的时长,T max表示统计得到的所述终端设备在所述第二小区掉网后恢复连接的最大恢复时间,T min表示统计得到 的所述终端设备在所述第二小区掉网后恢复连接的最小恢复时间。
可选的,当在所述小区信息中获取第一小区信息时,所述第一有效驻留小区中包括所述第一小区,所述第二小区和第三小区,所述第二小区和所述第三小区是所述第一小区在固定路线上的两个不同的历史下一跳小区;
其中,所述第二小区作为所述终端设备在所述第一小区的下一跳节点的第一频数,大于所述第三小区作为所述终端设备在所述第一小区的下一跳节点的第二频数;或者
所述终端设备在所述第二小区中的第一信号强度大于所述终端设备在所述第三小区中的第二信号强度;或者
所述终端设备在所述第二小区中的第一功耗大于所述终端设备在所述第三小区中的第二功耗,其中,所述第一功耗是根据所述终端设备在所述第二小区中的不连续接收DRX周期和无效无线资源控制RRC连接时长确定的,所述第二功耗是根据所述终端设备在所述第三小区中的不连续接收DRX周期和无效无线资源控制RRC连接时长确定的。
可选的,所述根据预设规则对第一小区信息或第二小区信息进行预处理,获取有效驻留小区,包括:
当在所述小区信息中获取所述第一小区信息时,从所述第一小区信息对应的小区去除所述终端设备乒乓切换的小区,获取所述第一有效驻留小区。
可选的,所述从所述第一小区信息对应的小区去除所述终端设备乒乓切换的小区,获取所述第一有效驻留小区,包括:
获取所述固定路线对应的第一小区标识列表,其中,所述第一小区标识列表包括与所述固定路线上的至少两个小区一一对应的至少两个小区标识,所述至少两个小区标识在所述第一小区标识列表中的顺序与所述至少两个小区在所述固定路线中的顺序相同;
根据所述第一小区标识列表,去除所述终端设备乒乓切换的小区,以获取所述第一有效驻留小区。
可选的,所述去除所述终端设备乒乓切换的小区,包括:
在所述第一小区标识列表上设置第一时间窗,所述第一时间窗包括所述第一小区标识列表上的连续3个小区标识;
在满足所述第一小区标识列表中的与所述第一时间窗之前相邻的小区标识与所述第一时间窗中的第一个小区标识不相同,且所述第一个小区标识等于所述第一时间窗中的最后一个小区标识的条件时,在所述第一小区标识列表中的所述第一时间窗之后获取第一小区标识,其中,所述第一小区标识与所述第一时间窗中的第二个小区标识、所述最后一个小区标识均不同;
在满足与所述第一小区标识之前相邻的第二小区标识与所述第一个小区标识相同的条件时,在所述第一小区标识列表中删除所述第二个小区标识至所述第二小区标识之间的小区标识;
在满足所述第二小区标识与所述第一个小区标识不同的条件时,在所述第一小区标识列表中删除所述最后一个小区标识至所述第二小区标识之间的小区标识。
可选的,所述去除所述终端设备乒乓切换的小区,包括:
在所述第一小区标识列表上设置第二时间窗,所述第二时间窗包括所述第一小区标识列表上的连续4个小区标识;
在满足所述第一小区标识列表中的与所述第二时间窗之前相邻的小区标识与所述第 二时间窗中的第一个小区标识不相同,且所述第一个小区标识等于所述第二时间窗中的最后一个小区标识的条件时,在所述第一小区标识列表中的所述第二时间窗之后获取第三小区标识,其中,所述第三小区标识与所述第二时间窗中的第二个小区标识、所述第二时间窗中的第三个小区标识、所述最后一个小区标识均不同;
在满足与所述第三小区标识之前相邻的第四小区标识与所述第一个小区标识相同的条件时,在所述第一小区标识列表中删除所述第二个小区标识至所述第四小区标识之间的小区标识;
在满足所述第四小区标识与所述第一个小区标识不同,且所述第四小区标识与所述第二个小区标识相同的条件时,在所述第一小区标识列表中删除所述第三个小区标识至所述第四小区标识之间的小区标识;
在满足所述第四小区标识与所述第一个小区标识不同,且所述第四小区标识与所述第二个小区标识不同的条件时,在所述第一小区标识列表中删除所述最后一个小区标识至所述第四小区标识之间的小区标识。
可选的,所述根据预设规则对第一小区信息或第二小区信息进行预处理,获取有效驻留小区,包括:
当在所述小区信息中获取所述第二小区信息时,在所述第二小区信息对应的小区中确定所述终端设备驻留时长最长、功耗最低或接收信号强度最强的至少两个小区,以获取所述第二有效驻留小区,其中,所述第二有效驻留小区中包括所述至少两个小区;
在所述第二有效驻留小区中确定所述终端设备乒乓切换的小区。
可选的,所述在所述第二有效驻留小区中确定第二小区,包括:
当所述第一小区不属于所述至少两个小区,将所述至少两个小区中的至少一个小区作为所述第二小区;
当所述第一小区属于所述至少两个小区,且所述终端设备没有在所述第一小区与所述至少两个小区中除所述第一小区之外的其他小区之间乒乓切换时,将所述至少两个小区中中的至少一个小区作为所述第二小区;
当所述第一小区属于所述至少两个小区,且所述终端设备在所述第一小区与所述至少两个小区中除所述第一小区之外的第四小区之间乒乓切换时,将所述至少两个小区中除所述第一小区和所述第四小区之外的其他小区作为所述第二小区;
当所述第一小区属于所述至少两个小区,且所述终端设备在所述第一小区与不属于所述至少两个小区的第五小区之间乒乓切换时,将所述至少两个小区中除所述第一小区之外的其他小区作为所述第二小区。
可选的,所述第一信息还包括所述终端设备在所述小区信息对应的小区中驻留的时间信息;
其中,所述从所述小区信息中获取第一小区信息或第二小区信息,包括:
根据所述时间信息,确定所述小区信息为所述第一小区信息或所述第二小区信息。
可选的,所述第一信息中还包括所述终端设备在所述小区信息对应的小区中驻留时连接的WiFi的标识;
其中,所述从所述小区信息中获取第一小区信息或第二小区信息,包括:
根据所述WiFi的标识,确定所述小区信息为所述第一小区信息或所述第二小区信息。
具体的,方法1800的各个步骤或流程可以对应于上文图2至图17中对应的过程,为 了简洁,这里不再赘述。
上文结合图1至图18对本申请实施例提供的网络选择的方法进行了详细描述,下面结合图19和图20对本申请实施例的网络选择的装置进行介绍。应理解,图19和图20中的装置能够执行本申请实施例中的网络选择的方法中的各个步骤,为了避免重复,下面在介绍图19和图20中的网络选择的装置时适当省略重复的描述。
请参考图19,示出了本申请实施例提供的一种网络选择的装置1900的示意性框图。该装置1900可以为终端设备,或者设置于终端设备内的电路或芯片。如图19所示,装置1900包括获取单元1910和处理单元1920。
获取单元1910,用于获取第一信息,所述第一信息包括所述终端设备驻留的小区的小区信息。
处理单元1920,用于从所述小区信息中获取第一小区信息或第二小区信息,其中,所述第一小区信息为所述终端设备在固定路线中驻留的小区的小区信息,所述第二小区信息为所述终端设备在固定场所中驻留的小区的小区信息;
所述处理单元1920还用于根据预设规则对所述第一小区信息或所述第二小区信息进行预处理,获取有效驻留小区,其中,所述有效驻留小区包括第一有效驻留小区或第二有效驻留小区,所述第一有效驻留小区是根据第一预设规则对所述第一小区信息进行预处理获得的,所述第二有效驻留小区是根据第二预设规则对所述第二小区信息进行预处理获得的。
所述获取单元1910还用于获取第二信息,所述第二信息包括所述终端设备当前驻留的第一小区的小区信息。
所述处理单元1920还用于确定所述第一小区的小区信息为固定路线中的小区信息,或为固定场所中的小区信息。
所述处理单元还1920用于当所述第一小区的小区信息为固定路线中的小区信息,在所述第一有效驻留小区中确定第二小区,当所述第一小区的小区信息为固定场所中的小区信息时,在所述第二有效驻留小区中确定所述第二小区,其中,所述第二小区为所述终端设备在所述第一小区之后的下一个驻留小区。
可选的,所述小区信息中还包括所述终端设备从所述驻留的小区切换至下一跳小区时在驻留的小区中的信号接收功率;
所述处理单元1920还用于:
根据至少一个所述信号接收功率,确定所述终端设备在所述驻留的小区中的小区测量门限;
其中,所述小区测量门限包括起测门限和/或逃离门限,所述起测门限为开始对所述驻留的小区的下一跳小区进行小区测量的门限,所述逃离门限为对所述驻留的小区的邻小区进行小区测量的门限,其中,所述小区测量门限是根据所述至少一个信号接收功率中的最大信号接收功率确定的,所述逃离门限是根据所述至少一个信号接收功率中的最小信号接收功率确定的。
可选的,当在所述小区信息中获取第一小区信息时,所述第一有效驻留小区中包括所述第一小区和所述第二小区,所述第二小区为所述第一小区在固定路线上的历史下一跳小区,所述处理单元1920还用于:
在所述终端设备在所述第二小区发生掉网后,
当t<T min时,确定关闭所述终端设备的小区测量;
当T min≤t<k*T min+(1-k)T max时,确定将所述终端设备的测量间隔配置为第一测量间隔,其中,0<k<1;
当t≥k*T min+(1-k)T max时,确定将所述终端设备的测量间隔配置为第二测量间隔,其中,所述第二测量间隔小于所述第一测量间隔;
其中,t表示所述终端设备在所述第二小区中的掉网时刻之后的时长,T max表示统计得到的所述终端设备在所述第二小区掉网后恢复连接的最大恢复时间,T min表示统计得到的所述终端设备在所述第二小区掉网后恢复连接的最小恢复时间。
可选的,当在所述小区信息中获取第一小区信息时,所述第一有效驻留小区中包括所述第一小区,所述第二小区和第三小区,所述第二小区和所述第三小区是所述第一小区在固定路线上的两个不同的历史下一跳小区;
其中,所述第二小区作为所述终端设备在所述第一小区的下一跳节点的第一频数,大于所述第三小区作为所述终端设备在所述第一小区的下一跳节点的第二频数;或者
所述终端设备在所述第二小区中的第一信号强度大于所述终端设备在所述第三小区中的第二信号强度;或者
所述终端设备在所述第二小区中的第一功耗大于所述终端设备在所述第三小区中的第二功耗,其中,所述第一功耗是根据所述终端设备在所述第二小区中的不连续接收DRX周期和无效无线资源控制RRC连接时长确定的,所述第二功耗是根据所述终端设备在所述第三小区中的不连续接收DRX周期和无效无线资源控制RRC连接时长确定的。
可选的,所述处理单元1920具体用于:
当在所述小区信息中获取所述第一小区信息时,从所述第一小区信息对应的小区去除所述终端设备乒乓切换的小区,获取所述第一有效驻留小区。
可选的,所述处理单元1920具体用于:
获取所述固定路线对应的第一小区标识列表,其中,所述第一小区标识列表包括与所述固定路线上的至少两个小区一一对应的至少两个小区标识,所述至少两个小区标识在所述第一小区标识列表中的顺序与所述至少两个小区在所述固定路线中的顺序相同;
根据所述第一小区标识列表,去除所述终端设备乒乓切换的小区,以获取所述第一有效驻留小区。
可选的,所述处理单元1920具体用于:
在所述第一小区标识列表上设置第一时间窗,所述第一时间窗包括所述第一小区标识列表上的连续3个小区标识;
在满足所述第一小区标识列表中的与所述第一时间窗之前相邻的小区标识与所述第一时间窗中的第一个小区标识不相同,且所述第一个小区标识等于所述第一时间窗中的最后一个小区标识的条件时,在所述第一小区标识列表中的所述第一时间窗之后获取第一小区标识,其中,所述第一小区标识与所述第一时间窗中的第二个小区标识、所述最后一个小区标识均不同;
在满足与所述第一小区标识之前相邻的第二小区标识与所述第一个小区标识相同的条件时,在所述第一小区标识列表中删除所述第二个小区标识至所述第二小区标识之间的小区标识;
在满足所述第二小区标识与所述第一个小区标识不同的条件时,在所述第一小区标识 列表中删除所述最后一个小区标识至所述第二小区标识之间的小区标识。
可选的,所述处理单元1920具体用于:
在所述第一小区标识列表上设置第二时间窗,所述第二时间窗包括所述第一小区标识列表上的连续4个小区标识;
在满足所述第一小区标识列表中的与所述第二时间窗之前相邻的小区标识与所述第二时间窗中的第一个小区标识不相同,且所述第一个小区标识等于所述第二时间窗中的最后一个小区标识的条件时,在所述第一小区标识列表中的所述第二时间窗之后获取第三小区标识,其中,所述第三小区标识与所述第二时间窗中的第二个小区标识、所述第二时间窗中的第三个小区标识、所述最后一个小区标识均不同;
在满足与所述第三小区标识之前相邻的第四小区标识与所述第一个小区标识相同的条件时,在所述第一小区标识列表中删除所述第二个小区标识至所述第四小区标识之间的小区标识;
在满足所述第四小区标识与所述第一个小区标识不同,且所述第四小区标识与所述第二个小区标识相同的条件时,在所述第一小区标识列表中删除所述第三个小区标识至所述第四小区标识之间的小区标识;
在满足所述第四小区标识与所述第一个小区标识不同,且所述第四小区标识与所述第二个小区标识不同的条件时,在所述第一小区标识列表中删除所述最后一个小区标识至所述第四小区标识之间的小区标识。
可选的,所述处理单元1920具体用于:
当在所述小区信息中获取所述第二小区信息时,在所述第二小区信息对应的小区中确定所述终端设备驻留时长最长、功耗最低或接收信号强度最强的至少两个小区,以获取所述第二有效驻留小区,其中,所述第二有效驻留小区中包括所述至少两个小区;
在所述第二有效驻留小区中确定所述终端设备乒乓切换的小区。
1920,所述处理单元1920具体用于:
当所述第一小区不属于所述至少两个小区,将所述至少两个小区中的至少一个小区作为所述第二小区;
当所述第一小区属于所述至少两个小区,且所述终端设备没有在所述第一小区与所述至少两个小区中除所述第一小区之外的其他小区之间乒乓切换时,将所述至少两个小区中中的至少一个小区作为所述第二小区;
当所述第一小区属于所述至少两个小区,且所述终端设备在所述第一小区与所述至少两个小区中除所述第一小区之外的第四小区之间乒乓切换时,将所述至少两个小区中除所述第一小区和所述第四小区之外的其他小区作为所述第二小区;
当所述第一小区属于所述至少两个小区,且所述终端设备在所述第一小区与不属于所述至少两个小区的第五小区之间乒乓切换时,将所述至少两个小区中除所述第一小区之外的其他小区作为所述第二小区。
可选的,所述第一信息还包括所述终端设备在所述小区信息对应的小区中驻留的时间信息;
其中,所述处理单元具体用于根据所述时间信息,确定所述小区信息为所述第一小区信息或所述第二小区信息。
可选的,所述第一信息中还包括所述终端设备在所述小区信息对应的小区中驻留时连 接的WiFi的标识;
其中,所述处理单元具体用于根据所述WiFi的标识,确定所述小区信息为所述第一小区信息或所述第二小区信息。
应注意,本申请实施例中,获取单元1910、处理单元1920可以由处理器实现。图20示出了本申请实施例提高的另一种网络选择的装置2000的示意性框图。如图20所示,装置2000可以包括通信接口2010、处理器2020和存储器2030。其中,存储器2030可以用于存储数据处理的中间数据和处理器2020执行的代码等。
示例性的,处理器2020可以通过通信接口2010获取网络选择所用的数据,例如终端设备驻留的小区的小区信息等。又例如,处理器2020还可以通过通信接口2010从AP获取第一配置信息,该第一配置信息用于将该网络选择的装置2000的工作模式配置为功耗优化模式。
在实现过程中,上述方法的各步骤可以通过处理器2020中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器2030,处理器2020读取存储器2030中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
图19所示的网络选择的装置1900或图20所示的网络选择的装置2000所执行的操作或步骤可以参见上文中方法实施例中的各个操作或步骤的相关描述,为避免重复,这里不再赘述。
本申请实施例还提供了一种终端设备,包括上文所述的网络选择的装置。
可选的,该终端设备还包括调制解调器,用于向所网络选择的装置发送小区信息。可选的,上述网络选择的装置还可以向调制解调器发送第三信息,该第三信息用于指示上述第二小区的小区信息。
可选的,该终端设备还包括应用服务器AP,用于向所述网络选择的装置发送第一配置信息,所述第一配置信息用于配置所述选网主控模块的工作模式为功耗优化模式。
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质包括计算机程序,当其在计算机上运行时,使得该计算机执行上述方法实施例提供的方法。
本申请实施例还提供一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得该计算机执行上述方法实施例提供的方法。
应理解,本发明实施例中提及的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
还应理解,本发明实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM), 其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)集成在处理器中。
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
应理解,本申请实施例中出现的第一、第二等描述,仅作示意与区分描述对象之用,没有次序之分,也不表示本申请实施例中对设备个数的特别限定,不能构成对本申请实施例的任何限制。
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/“,表示前后关联对象是一种“或”的关系。
应理解,本申请实施例中各个流程图中的步骤或操作仅是示例,本申请实施例还可以执行其他操作或者流程图中的各个操作的变形。此外,各个流程图中的各个步骤可以按照与图中呈现的不同的顺序来执行,并且有可能并非要执行图中的全部操作。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储 在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (27)

  1. 一种网络选择的方法,应用于终端设备,其特征在于,包括:
    获取第一信息,所述第一信息包括所述终端设备驻留的小区的小区信息;
    从所述小区信息中获取第一小区信息或第二小区信息,其中,所述第一小区信息为所述终端设备在固定路线中驻留的小区的小区信息,所述第二小区信息为所述终端设备在固定场所中驻留的小区的小区信息;
    根据预设规则对所述第一小区信息或所述第二小区信息进行预处理,获取有效驻留小区,其中,所述有效驻留小区包括第一有效驻留小区或第二有效驻留小区,所述第一有效驻留小区是根据第一预设规则对所述第一小区信息进行预处理获得的,所述第二有效驻留小区是根据第二预设规则对所述第二小区信息进行预处理获得的;
    获取第二信息,所述第二信息包括所述终端设备当前驻留的第一小区的小区信息;
    确定所述第一小区的小区信息为固定路线中的小区信息,或为固定场所中的小区信息;
    当所述第一小区的小区信息为固定路线中的小区信息,在所述第一有效驻留小区中确定第二小区,当所述第一小区的小区信息为固定场所中的小区信息时,在所述第二有效驻留小区中确定所述第二小区,其中,所述第二小区为所述终端设备在所述第一小区之后的下一个驻留小区。
  2. 根据权利要求1所述的方法,其特征在于,所述小区信息中还包括所述终端设备从所述驻留的小区切换至下一跳小区时在驻留的小区中的信号接收功率;
    所述方法还包括:
    根据至少一个所述信号接收功率,确定所述终端设备在所述驻留的小区中的小区测量门限;
    其中,所述小区测量门限包括起测门限和/或逃离门限,所述起测门限为开始对所述驻留的小区的下一跳小区进行小区测量的门限,所述逃离门限为对所述驻留的小区的邻小区进行小区测量的门限,其中,所述小区测量门限是根据所述至少一个信号接收功率中的最大信号接收功率确定的,所述逃离门限是根据所述至少一个信号接收功率中的最小信号接收功率确定的。
  3. 根据权利要求1或2所述的方法,其特征在于,当在所述小区信息中获取第一小区信息时,所述第一有效驻留小区中包括所述第一小区和所述第二小区,所述第二小区为所述第一小区在固定路线上的历史下一跳小区,所述方法还包括:
    在所述终端设备在所述第二小区发生掉网后,
    当t<T min时,确定关闭所述终端设备的小区测量;
    当T min≤t<k*T min+(1-k)T max时,确定将所述终端设备的测量间隔配置为第一测量间隔,其中,0<k<1;
    当t≥k*T min+(1-k)T max时,确定将所述终端设备的测量间隔配置为第二测量间隔,其中,所述第二测量间隔小于所述第一测量间隔;
    其中,t表示所述终端设备在所述第二小区中的掉网时刻之后的时长,T max表示统计得到的所述终端设备在所述第二小区掉网后恢复连接的最大恢复时间,T min表示统计得到的所述终端设备在所述第二小区掉网后恢复连接的最小恢复时间。
  4. 根据权利要求1或2所述的方法,其特征在于,当在所述小区信息中获取第一小区信息时,所述第一有效驻留小区中包括所述第一小区,所述第二小区和第三小区,所述第二小区和所述第三小区是所述第一小区在固定路线上的两个不同的历史下一跳小区;
    其中,所述第二小区作为所述终端设备在所述第一小区的下一跳节点的第一频数,大于所述第三小区作为所述终端设备在所述第一小区的下一跳节点的第二频数;或者
    所述终端设备在所述第二小区中的第一信号强度大于所述终端设备在所述第三小区中的第二信号强度;或者
    所述终端设备在所述第二小区中的第一功耗大于所述终端设备在所述第三小区中的第二功耗,其中,所述第一功耗是根据所述终端设备在所述第二小区中的不连续接收DRX周期和无效无线资源控制RRC连接时长确定的,所述第二功耗是根据所述终端设备在所述第三小区中的不连续接收DRX周期和无效无线资源控制RRC连接时长确定的。
  5. 根据权利要求1或2所述的方法,其特征在于,所述根据预设规则对第一小区信息或第二小区信息进行预处理,获取有效驻留小区,包括:
    当在所述小区信息中获取所述第一小区信息时,从所述第一小区信息对应的小区去除所述终端设备乒乓切换的小区,获取所述第一有效驻留小区。
  6. 根据权利要求5所述的方法,其特征在于,所述从所述第一小区信息对应的小区去除所述终端设备乒乓切换的小区,获取所述第一有效驻留小区,包括:
    获取所述固定路线对应的第一小区标识列表,其中,所述第一小区标识列表包括与所述固定路线上的至少两个小区一一对应的至少两个小区标识,所述至少两个小区标识在所述第一小区标识列表中的顺序与所述至少两个小区在所述固定路线中的顺序相同;
    根据所述第一小区标识列表,去除所述终端设备乒乓切换的小区,以获取所述第一有效驻留小区。
  7. 根据权利要求5所述的方法,其特征在于,所述去除所述终端设备乒乓切换的小区,包括:
    在所述第一小区标识列表上设置第一时间窗,所述第一时间窗包括所述第一小区标识列表上的连续3个小区标识;
    在满足所述第一小区标识列表中的与所述第一时间窗之前相邻的小区标识与所述第一时间窗中的第一个小区标识不相同,且所述第一个小区标识等于所述第一时间窗中的最后一个小区标识的条件时,在所述第一小区标识列表中的所述第一时间窗之后获取第一小区标识,其中,所述第一小区标识与所述第一时间窗中的第二个小区标识、所述最后一个小区标识均不同;
    在满足与所述第一小区标识之前相邻的第二小区标识与所述第一个小区标识相同的条件时,在所述第一小区标识列表中删除所述第二个小区标识至所述第二小区标识之间的小区标识;
    在满足所述第二小区标识与所述第一个小区标识不同的条件时,在所述第一小区标识列表中删除所述最后一个小区标识至所述第二小区标识之间的小区标识。
  8. 根据权利要求5所述的方法,其特征在于,所述去除所述终端设备乒乓切换的小区,包括:
    在所述第一小区标识列表上设置第二时间窗,所述第二时间窗包括所述第一小区标识列表上的连续4个小区标识;
    在满足所述第一小区标识列表中的与所述第二时间窗之前相邻的小区标识与所述第二时间窗中的第一个小区标识不相同,且所述第一个小区标识等于所述第二时间窗中的最后一个小区标识的条件时,在所述第一小区标识列表中的所述第二时间窗之后获取第三小区标识,其中,所述第三小区标识与所述第二时间窗中的第二个小区标识、所述第二时间窗中的第三个小区标识、所述最后一个小区标识均不同;
    在满足与所述第三小区标识之前相邻的第四小区标识与所述第一个小区标识相同的条件时,在所述第一小区标识列表中删除所述第二个小区标识至所述第四小区标识之间的小区标识;
    在满足所述第四小区标识与所述第一个小区标识不同,且所述第四小区标识与所述第二个小区标识相同的条件时,在所述第一小区标识列表中删除所述第三个小区标识至所述第四小区标识之间的小区标识;
    在满足所述第四小区标识与所述第一个小区标识不同,且所述第四小区标识与所述第二个小区标识不同的条件时,在所述第一小区标识列表中删除所述最后一个小区标识至所述第四小区标识之间的小区标识。
  9. 根据权利要求1或2所述的方法,其特征在于,所述根据预设规则对第一小区信息或第二小区信息进行预处理,获取有效驻留小区,包括:
    当在所述小区信息中获取所述第二小区信息时,在所述第二小区信息对应的小区中确定所述终端设备驻留时长最长、功耗最低或接收信号强度最强的至少两个小区,以获取所述第二有效驻留小区,其中,所述第二有效驻留小区中包括所述至少两个小区;
    在所述第二有效驻留小区中确定所述终端设备乒乓切换的小区。
  10. 根据权利要求9所述的方法,其特征在于,所述在所述第二有效驻留小区中确定第二小区,包括:
    当所述第一小区不属于所述至少两个小区,将所述至少两个小区中的至少一个小区作为所述第二小区;
    当所述第一小区属于所述至少两个小区,且所述终端设备没有在所述第一小区与所述至少两个小区中除所述第一小区之外的其他小区之间乒乓切换时,将所述至少两个小区中中的至少一个小区作为所述第二小区;
    当所述第一小区属于所述至少两个小区,且所述终端设备在所述第一小区与所述至少两个小区中除所述第一小区之外的第四小区之间乒乓切换时,将所述至少两个小区中除所述第一小区和所述第四小区之外的其他小区作为所述第二小区;
    当所述第一小区属于所述至少两个小区,且所述终端设备在所述第一小区与不属于所述至少两个小区的第五小区之间乒乓切换时,将所述至少两个小区中除所述第一小区之外的其他小区作为所述第二小区。
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述第一信息还包括所述终端设备在所述小区信息对应的小区中驻留的时间信息;
    其中,所述从所述小区信息中获取第一小区信息或第二小区信息,包括:
    根据所述时间信息,确定所述小区信息为所述第一小区信息或所述第二小区信息。
  12. 根据权利要求1-10任一项所述的方法,其特征在于,所述第一信息中还包括所述终端设备在所述小区信息对应的小区中驻留时连接的WiFi的标识;
    其中,所述从所述小区信息中获取第一小区信息或第二小区信息,包括:
    根据所述WiFi的标识,确定所述小区信息为所述第一小区信息或所述第二小区信息。
  13. 一种网络选择的装置,应用于终端设备,其特征在于,包括:
    获取单元,用于获取第一信息,所述第一信息包括所述终端设备驻留的小区的小区信息;
    处理单元,用于从所述小区信息中获取第一小区信息或第二小区信息,其中,所述第一小区信息为所述终端设备在固定路线中驻留的小区的小区信息,所述第二小区信息为所述终端设备在固定场所中驻留的小区的小区信息;
    所述处理单元还用于根据预设规则对所述第一小区信息或所述第二小区信息进行预处理,获取有效驻留小区,其中,所述有效驻留小区包括第一有效驻留小区或第二有效驻留小区,所述第一有效驻留小区是根据第一预设规则对所述第一小区信息进行预处理获得的,所述第二有效驻留小区是根据第二预设规则对所述第二小区信息进行预处理获得的;
    所述获取单元还用于获取第二信息,所述第二信息包括所述终端设备当前驻留的第一小区的小区信息;
    所述处理单元还用于确定所述第一小区的小区信息为固定路线中的小区信息,或为固定场所中的小区信息;
    所述处理单元还用于当所述第一小区的小区信息为固定路线中的小区信息,在所述第一有效驻留小区中确定第二小区,当所述第一小区的小区信息为固定场所中的小区信息时,在所述第二有效驻留小区中确定所述第二小区,其中,所述第二小区为所述终端设备在所述第一小区之后的下一个驻留小区。
  14. 根据权利要求13所述的装置,其特征在于,所述小区信息中还包括所述终端设备从所述驻留的小区切换至下一跳小区时在驻留的小区中的信号接收功率;
    所述处理单元还用于:
    根据至少一个所述信号接收功率,确定所述终端设备在所述驻留的小区中的小区测量门限;
    其中,所述小区测量门限包括起测门限和/或逃离门限,所述起测门限为开始对所述驻留的小区的下一跳小区进行小区测量的门限,所述逃离门限为对所述驻留的小区的邻小区进行小区测量的门限,其中,所述小区测量门限是根据所述至少一个信号接收功率中的最大信号接收功率确定的,所述逃离门限是根据所述至少一个信号接收功率中的最小信号接收功率确定的。
  15. 根据权利要求13或14所述的装置,其特征在于,当在所述小区信息中获取第一小区信息时,所述第一有效驻留小区中包括所述第一小区和所述第二小区,所述第二小区为所述第一小区在固定路线上的历史下一跳小区,所述处理单元还用于:
    在所述终端设备在所述第二小区发生掉网后,
    当t<T min时,确定关闭所述终端设备的小区测量;
    当T min≤t<k*T min+(1-k)T max时,确定将所述终端设备的测量间隔配置为第一测量间隔,其中,0<k<1;
    当t≥k*T min+(1-k)T max时,确定将所述终端设备的测量间隔配置为第二测量间隔,其中,所述第二测量间隔小于所述第一测量间隔;
    其中,t表示所述终端设备在所述第二小区中的掉网时刻之后的时长,T max表示统计得到的所述终端设备在所述第二小区掉网后恢复连接的最大恢复时间,T min表示统计得到 的所述终端设备在所述第二小区掉网后恢复连接的最小恢复时间。
  16. 根据权利要求13或14所述的装置,其特征在于,当在所述小区信息中获取第一小区信息时,所述第一有效驻留小区中包括所述第一小区,所述第二小区和第三小区,所述第二小区和所述第三小区是所述第一小区在固定路线上的两个不同的历史下一跳小区;
    其中,所述第二小区作为所述终端设备在所述第一小区的下一跳节点的第一频数,大于所述第三小区作为所述终端设备在所述第一小区的下一跳节点的第二频数;或者
    所述终端设备在所述第二小区中的第一信号强度大于所述终端设备在所述第三小区中的第二信号强度;或者
    所述终端设备在所述第二小区中的第一功耗大于所述终端设备在所述第三小区中的第二功耗,其中,所述第一功耗是根据所述终端设备在所述第二小区中的不连续接收DRX周期和无效无线资源控制RRC连接时长确定的,所述第二功耗是根据所述终端设备在所述第三小区中的不连续接收DRX周期和无效无线资源控制RRC连接时长确定的。
  17. 根据权利要求13或14所述的装置,其特征在于,所述处理单元具体用于:
    当在所述小区信息中获取所述第一小区信息时,从所述第一小区信息对应的小区去除所述终端设备乒乓切换的小区,获取所述第一有效驻留小区。
  18. 根据权利要求17所述的装置,其特征在于,所述处理单元具体用于:
    获取所述固定路线对应的第一小区标识列表,其中,所述第一小区标识列表包括与所述固定路线上的至少两个小区一一对应的至少两个小区标识,所述至少两个小区标识在所述第一小区标识列表中的顺序与所述至少两个小区在所述固定路线中的顺序相同;
    根据所述第一小区标识列表,去除所述终端设备乒乓切换的小区,以获取所述第一有效驻留小区。
  19. 根据权利要求17所述的装置,其特征在于,所述处理单元具体用于:
    在所述第一小区标识列表上设置第一时间窗,所述第一时间窗包括所述第一小区标识列表上的连续3个小区标识;
    在满足所述第一小区标识列表中的与所述第一时间窗之前相邻的小区标识与所述第一时间窗中的第一个小区标识不相同,且所述第一个小区标识等于所述第一时间窗中的最后一个小区标识的条件时,在所述第一小区标识列表中的所述第一时间窗之后获取第一小区标识,其中,所述第一小区标识与所述第一时间窗中的第二个小区标识、所述最后一个小区标识均不同;
    在满足与所述第一小区标识之前相邻的第二小区标识与所述第一个小区标识相同的条件时,在所述第一小区标识列表中删除所述第二个小区标识至所述第二小区标识之间的小区标识;
    在满足所述第二小区标识与所述第一个小区标识不同的条件时,在所述第一小区标识列表中删除所述最后一个小区标识至所述第二小区标识之间的小区标识。
  20. 根据权利要求17所述的装置,其特征在于,所述处理单元具体用于:
    在所述第一小区标识列表上设置第二时间窗,所述第二时间窗包括所述第一小区标识列表上的连续4个小区标识;
    在满足所述第一小区标识列表中的与所述第二时间窗之前相邻的小区标识与所述第二时间窗中的第一个小区标识不相同,且所述第一个小区标识等于所述第二时间窗中的最后一个小区标识的条件时,在所述第一小区标识列表中的所述第二时间窗之后获取第三小 区标识,其中,所述第三小区标识与所述第二时间窗中的第二个小区标识、所述第二时间窗中的第三个小区标识、所述最后一个小区标识均不同;
    在满足与所述第三小区标识之前相邻的第四小区标识与所述第一个小区标识相同的条件时,在所述第一小区标识列表中删除所述第二个小区标识至所述第四小区标识之间的小区标识;
    在满足所述第四小区标识与所述第一个小区标识不同,且所述第四小区标识与所述第二个小区标识相同的条件时,在所述第一小区标识列表中删除所述第三个小区标识至所述第四小区标识之间的小区标识;
    在满足所述第四小区标识与所述第一个小区标识不同,且所述第四小区标识与所述第二个小区标识不同的条件时,在所述第一小区标识列表中删除所述最后一个小区标识至所述第四小区标识之间的小区标识。
  21. 根据权利要求13或14所述的装置,其特征在于,所述处理单元具体用于:
    当在所述小区信息中获取所述第二小区信息时,在所述第二小区信息对应的小区中确定所述终端设备驻留时长最长、功耗最低或接收信号强度最强的至少两个小区,以获取所述第二有效驻留小区,其中,所述第二有效驻留小区中包括所述至少两个小区;
    在所述第二有效驻留小区中确定所述终端设备乒乓切换的小区。
  22. 根据权利要求21所述的装置,其特征在于,所述处理单元具体用于:
    当所述第一小区不属于所述至少两个小区,将所述至少两个小区中的至少一个小区作为所述第二小区;
    当所述第一小区属于所述至少两个小区,且所述终端设备没有在所述第一小区与所述至少两个小区中除所述第一小区之外的其他小区之间乒乓切换时,将所述至少两个小区中中的至少一个小区作为所述第二小区;
    当所述第一小区属于所述至少两个小区,且所述终端设备在所述第一小区与所述至少两个小区中除所述第一小区之外的第四小区之间乒乓切换时,将所述至少两个小区中除所述第一小区和所述第四小区之外的其他小区作为所述第二小区;
    当所述第一小区属于所述至少两个小区,且所述终端设备在所述第一小区与不属于所述至少两个小区的第五小区之间乒乓切换时,将所述至少两个小区中除所述第一小区之外的其他小区作为所述第二小区。
  23. 根据权利要求13-22任一项所述的装置,其特征在于,所述第一信息还包括所述终端设备在所述小区信息对应的小区中驻留的时间信息;
    其中,所述处理单元具体用于根据所述时间信息,确定所述小区信息为所述第一小区信息或所述第二小区信息。
  24. 根据权利要求13-22任一项所述的装置,其特征在于,所述第一信息中还包括所述终端设备在所述小区信息对应的小区中驻留时连接的WiFi的标识;
    其中,所述处理单元具体用于根据所述WiFi的标识,确定所述小区信息为所述第一小区信息或所述第二小区信息。
  25. 一种网络选择的装置,其特征在于,包括存储器和处理器,所述存储器用于存储指令,所述处理器用于执行所述存储器中存储的指令,使得所述装置执行如权利要求1-12任一项所述的方法。
  26. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机 程序,当所述计算机程序被运行时,实现如权利要求1-12任一项所述的方法。
  27. 一种芯片,其特征在于,包括处理器和通信接口,所述处理器用于从所述通信接口调用并运行指令,当所述处理器执行所述指令时,实现如权利要求1-12任一项所述的方法。
PCT/CN2020/127536 2020-02-19 2020-11-09 网络选择的方法和装置 WO2021164332A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP20919918.1A EP4096293A4 (en) 2020-02-19 2020-11-09 GRID SELECTION METHOD AND APPARATUS

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010105793.9 2020-02-19
CN202010105793.9A CN113286333B (zh) 2020-02-19 2020-02-19 网络选择的方法和装置

Publications (1)

Publication Number Publication Date
WO2021164332A1 true WO2021164332A1 (zh) 2021-08-26

Family

ID=77275112

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/127536 WO2021164332A1 (zh) 2020-02-19 2020-11-09 网络选择的方法和装置

Country Status (3)

Country Link
EP (1) EP4096293A4 (zh)
CN (1) CN113286333B (zh)
WO (1) WO2021164332A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023066136A1 (zh) * 2021-10-19 2023-04-27 中兴通讯股份有限公司 终端驻留方法、系统和计算机可读存储介质
WO2023249604A1 (en) * 2022-06-20 2023-12-28 Nokia Technologies Oy Confidence-based advanced trajectory prediction

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023044691A1 (en) * 2021-09-24 2023-03-30 Apple Inc. Drx based ue behavior
CN117479276A (zh) * 2022-07-27 2024-01-30 华为技术有限公司 一种通信方法及通信装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588624A (zh) * 2008-05-23 2009-11-25 中国移动通信集团上海有限公司 一种目标小区确定方法及装置
WO2014134831A1 (en) * 2013-03-08 2014-09-12 Nokia Corporation Method and apparatus for handover of device-to-device communications

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060040390A1 (en) * 2004-08-19 2006-02-23 Minor John S Jr Device, method, system, and program for intelligent in vivo cell-level chemical or genetic material delivery
JP4489095B2 (ja) * 2007-05-29 2010-06-23 株式会社エヌ・ティ・ティ・ドコモ 移動機及び通信方式選択方法
CN101651898B (zh) * 2008-08-15 2012-12-12 华为技术有限公司 一种异构网络切换中获取位置区信息的方法、装置和系统
US8842648B2 (en) * 2011-08-12 2014-09-23 International Business Machines Corporation Apparatus, method and program product for seamless WiFi network transitions
CN103024666B (zh) * 2012-11-23 2015-08-19 华为软件技术有限公司 一种基于位置导航的信息发送方法、装置和系统
US20150038140A1 (en) * 2013-07-31 2015-02-05 Qualcomm Incorporated Predictive mobility in cellular networks
CN105208609B (zh) * 2014-06-27 2019-01-29 展讯通信(上海)有限公司 小区重选方法及装置
CN106327236B (zh) * 2015-07-10 2020-04-14 华为技术有限公司 一种确定用户行动轨迹的方法及装置
CN105704770A (zh) * 2016-04-20 2016-06-22 广东欧珀移动通信有限公司 无线网络智能接入方法及装置
CN106231650A (zh) * 2016-09-14 2016-12-14 努比亚技术有限公司 一种网络接入方法及终端
CN106792514B (zh) * 2016-11-30 2020-10-30 南京华苏科技有限公司 基于信令数据的用户职住地分析方法
US10075885B2 (en) * 2017-01-20 2018-09-11 Qualcomm Incorporated Cell history utilization in a wireless communication system
CN116744310A (zh) * 2017-12-22 2023-09-12 联想(新加坡)私人有限公司 网络片选择辅助信息配置
CN107911848A (zh) * 2017-12-26 2018-04-13 广东欧珀移动通信有限公司 网络切换方法及装置
CN108235398A (zh) * 2018-01-12 2018-06-29 深圳天珑无线科技有限公司 智能连接无线网络的方法、系统及移动终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588624A (zh) * 2008-05-23 2009-11-25 中国移动通信集团上海有限公司 一种目标小区确定方法及装置
WO2014134831A1 (en) * 2013-03-08 2014-09-12 Nokia Corporation Method and apparatus for handover of device-to-device communications
CN105122886A (zh) * 2013-03-08 2015-12-02 诺基亚技术有限公司 用于设备到设备通信的切换的方法和装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"3rd Generation Partnership Project; Technical Specification Group GSM/EDGE Radio Access Network; Radio link management in hierarchical networks (Release 11)", 3GPP STANDARD; 3GPP TS 45.022, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. GERAN WG1, no. V11.0.0, 18 September 2012 (2012-09-18), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, pages 1 - 45, XP050649453 *
See also references of EP4096293A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023066136A1 (zh) * 2021-10-19 2023-04-27 中兴通讯股份有限公司 终端驻留方法、系统和计算机可读存储介质
WO2023249604A1 (en) * 2022-06-20 2023-12-28 Nokia Technologies Oy Confidence-based advanced trajectory prediction

Also Published As

Publication number Publication date
EP4096293A1 (en) 2022-11-30
CN113286333B (zh) 2022-08-19
EP4096293A4 (en) 2023-05-24
CN113286333A (zh) 2021-08-20

Similar Documents

Publication Publication Date Title
WO2021164332A1 (zh) 网络选择的方法和装置
WO2021227615A1 (zh) 一种提升通话质量的方法及终端
CN111629337B (zh) 一种控制搜网的方法及终端
CN111491341B (zh) 一种小区重选的方法及终端
CN111132270A (zh) 快速搜索高制式网络的方法和终端设备
WO2021104115A1 (zh) 小区测量的方法、测量装置、终端设备、芯片及存储介质
EP4149183A1 (en) Method and apparatus for sending paging message, communication device, and storage medium
CN110300420B (zh) 一种快速搜网方法、移动终端和存储介质
CN113676966B (zh) 一种小区选择方法与终端设备
US20230133309A1 (en) Network data collection method
CN112954730A (zh) 终端设备以及通信方法
WO2022257617A1 (zh) 蓝牙定位设备的检测方法、设备和存储介质
CN112534879A (zh) 手动搜网的方法、装置及系统
US20230262547A1 (en) Cell Handover Method and Communication Apparatus
US20230012097A1 (en) Signal measurement method and apparatus, and communication device and storage medium
CN112311934A (zh) 数据卡切换方法、智能终端及计算机可读存储介质
WO2021227883A1 (zh) 一种小区选择方法与终端设备
US8270966B1 (en) Reducing mobile device roaming
US20230308967A1 (en) Information transmission method, communication device, and storage medium
US20230199896A1 (en) Method and apparatus for transferring service, communication device and storage medium
US20220015017A1 (en) Method for Quickly Searching for High-Rat Network, and Terminal Device
WO2024022270A1 (zh) 一种通信方法及通信装置
WO2021238381A1 (zh) 一种搜网方法与电子设备
CN111263348B (zh) 一种信息共享方法、用户设备及计算机可读存储介质
CN112566206B (zh) 小区变更的控制方法、装置、终端设备及存储介质

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: 20919918

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020919918

Country of ref document: EP

Effective date: 20220825

NENP Non-entry into the national phase

Ref country code: DE