WO2023240453A1 - 网络切换方法及装置、存储介质 - Google Patents

网络切换方法及装置、存储介质 Download PDF

Info

Publication number
WO2023240453A1
WO2023240453A1 PCT/CN2022/098704 CN2022098704W WO2023240453A1 WO 2023240453 A1 WO2023240453 A1 WO 2023240453A1 CN 2022098704 W CN2022098704 W CN 2022098704W WO 2023240453 A1 WO2023240453 A1 WO 2023240453A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication standard
standard network
terminal
network
signal strength
Prior art date
Application number
PCT/CN2022/098704
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 PCT/CN2022/098704 priority Critical patent/WO2023240453A1/zh
Priority to CN202280004113.1A priority patent/CN117597980A/zh
Publication of WO2023240453A1 publication Critical patent/WO2023240453A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • 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

Definitions

  • the disclosed technical solution relates to the field of communication technology, and in particular, to a network switching method and device, and a storage medium.
  • 5G (5 Generation, fifth generation mobile communication technology) weak field refers to the situation where there is a 5G signal, but the signal strength of the 5G signal is weak.
  • the terminal In 5G weak field conditions, in order to ensure data transmission, the terminal will adjust its transmit power to the maximum value to meet its own communication needs. However, when the terminal adjusts the transmit power to the maximum value, it will increase its own power consumption, causing its own temperature to rise, thus affecting the performance of the terminal.
  • embodiments of the present disclosure provide a network switching method and device, and a storage medium.
  • a network switching method is proposed, the method is applied to a terminal, and the method includes:
  • the target type In response to the application of the target type being running, obtain the signal strength value of the first communication standard network accessed by the terminal; wherein the target type is that the power consumption generated by the terminal during operation is greater than or equal to the preset power consumption Threshold application type;
  • the target type includes any of the following:
  • Thermal mass type wherein the thermal mass type is an application type that supports a service delay greater than or equal to a preset service delay.
  • the target type includes a thermal mass type
  • the method further includes:
  • the preset temperature threshold is determined based on environmental information of the environment in which the terminal is located;
  • the environmental information includes at least one of the following:
  • the method further includes:
  • the second communication standard network In response to determining that the signal strength value of the terminal in the second communication standard network is less than or equal to the signal strength value of the terminal in the first communication standard network, the second communication standard network is switched back to the third communication standard network.
  • a communication standard network In response to determining that the signal strength value of the terminal in the second communication standard network is less than or equal to the signal strength value of the terminal in the first communication standard network, the second communication standard network is switched back to the third communication standard network.
  • a communication standard network In response to determining that the signal strength value of the terminal in the second communication standard network is less than or equal to the signal strength value of the terminal in the first communication standard network, the second communication standard network is switched back to the third communication standard network.
  • the method further includes:
  • the method further includes:
  • the second communication standard network is switched to the first communication standard network.
  • the preset temperature threshold is the lowest shell temperature at which the terminal causes power consumption loss.
  • a network switching device is proposed, the device is applied to a terminal, and the device includes:
  • the signal strength value acquisition module is configured to obtain the signal strength value of the first communication standard network accessed by the terminal in response to an application of the target type being run; wherein the target type is generated by the terminal during runtime.
  • Application types whose power consumption is greater than or equal to the preset power consumption threshold;
  • the redirection indication message receiving module is configured to receive a redirection indication message sent by the base station in response to the signal strength value of the first communication standard network being less than the preset signal threshold; wherein the redirection indication message is used to indicate that the The terminal switches from the first communication standard network to a second communication standard network, and the performance of the second communication standard network is lower than the performance of the first communication standard network;
  • a switching module configured to switch from the first communication standard network to the second communication standard network based on the redirection indication message
  • a parking module configured to, in response to determining that the signal strength value of the terminal in the second communication standard network is greater than the signal strength value of the terminal in the first communication standard network, camp in the second communication standard network.
  • a computer-readable storage medium storing machine-readable instructions, the machine-readable instructions, when called and executed by a processor, cause the processing
  • the server implements the network switching method according to any embodiment of the present disclosure.
  • an electronic device including
  • Memory used to store instructions executable by the processor
  • the processor is configured to execute the network switching method according to any embodiment of the present disclosure.
  • the network switching method, device, and storage medium determine that the signal strength value of the first communication standard network accessed by the terminal is less than the preset signal threshold, and the signal strength of the second communication standard network is When the strength value is higher than the signal strength value of the first communication standard network, the first communication standard network is switched to the second communication standard network. It can avoid the problem caused by using the method of switching the first communication standard network to the second communication standard network when the temperature of the terminal reaches the preset temperature threshold. The power consumption of the terminal itself is too large and the temperature of the terminal itself is reduced. If it rises too much, the signal strength of the second communication standard network in the current environment may be poor, resulting in the inability to effectively reduce power consumption and giving users a poor Internet experience.
  • Figure 1 is a flow chart of a network switching method according to an exemplary embodiment of the present disclosure
  • Figure 2 is a flow chart of another network switching method according to an exemplary embodiment of the present disclosure.
  • Figure 3 is a schematic structural diagram of a network switching device according to an exemplary embodiment of the present disclosure.
  • Figure 4 is a schematic structural diagram of another network switching device according to an exemplary embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure.
  • first, second, third, etc. may be used in this disclosure to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other.
  • first information may also be called second information, and similarly, the second information may also be called first information.
  • word “if” as used herein may be interpreted as "when” or “when” or “in response to determining.”
  • Figure 1 is a flow chart of a network switching method according to an exemplary embodiment of the present disclosure.
  • this exemplary embodiment method can be applied to terminals, including but not limited to mobile phones, notebook computers, desktop computers, iPads, etc.
  • the method of this exemplary embodiment can be executed by the operating system of the above-mentioned terminal, where the operating system includes but is not limited to android (Android) system, IOS system, etc.
  • the method may include the following steps:
  • step 100 in response to the target type application being running, obtain the signal strength value of the first communication standard network accessed by the terminal.
  • the target type is an application type whose power consumption generated by the terminal when running is greater than or equal to a preset power consumption threshold.
  • the first communication standard network may be a 4G network or a 5G network, which is not limited in this disclosure.
  • step 102 in response to the signal strength value of the first communication standard network being less than a preset signal threshold, a redirection indication message sent by the base station is received.
  • the preset signal threshold is identified through the internal logic of the terminal and exactly corresponds to the signal strength value of one bar of signal.
  • the terminal's internal logic can identify that the signal strength value corresponds to a two-bar or three-bar signal.
  • the above description of the corresponding relationship between the preset signal threshold and the number of signal grids displayed by the terminal is only schematic and is intended to enable those skilled in the art to better understand the technical solutions of the embodiments of the present disclosure.
  • the preset signal threshold may also correspond to the two-frame signal displayed by the terminal, which is not limited in this disclosure.
  • the redirection instruction message is used to instruct the terminal to switch from the first communication standard network to a second communication standard network, and the performance of the second communication standard network is lower than the performance of the first communication standard network.
  • the performance includes indicators such as speed and latency.
  • the performance of the second communication standard network is lower than the performance of the first communication standard network, which means that when the signals of both communication standard networks are good, the first communication standard network
  • the standard network has faster speed and shorter delay than the second communication standard network.
  • step 104 the first communication standard network is switched to the second communication standard network based on the redirection indication message.
  • step 106 in response to determining that the signal strength value of the terminal in the second communication standard network is greater than the signal strength value of the terminal in the first communication standard network, residing in the second communication standard network .
  • the signal strength value of the terminal under the second communication standard network can be measured.
  • the signal strength value of the terminal under the second communication standard network is When the strength value is higher than the signal strength value under the first communication standard network, it indicates that the terminal's online experience under the second communication standard network will be better than the online experience under the first communication standard network. Therefore , the terminal can continue to reside in the second communication standard network.
  • the measured signal strength value is -92dBm. It can be seen from the above that the signal strength value measured before switching can be -108dBm. Since -92dBm is greater than -108dBm, the terminal can continue to reside in the second communication standard network after switching.
  • Table 1 below shows that when it is determined that the signal strength value of the terminal in the second communication standard network is greater than the signal strength value of the terminal in the first communication standard network, it is determined to switch the first communication standard network to the After describing the second communication standard network, the communication performance benefits brought by it.
  • the standards include: CM (China Mobile), CU (China Unicom), and CT (China Telecom).
  • L2 in the item indicates a terminal that switches the first communication standard network to the second communication standard network under the above circumstances, and 1qoo8 indicates a terminal that does not perform the above switching. It can be seen from Table 1 that the average delay of terminal L2 is smaller than the average delay of terminal 1qoo8. That is, the terminal L2 has the communication performance benefit compared with the terminal 1qoo8.
  • the network switching method provided by the embodiment of the present disclosure determines that the signal strength value of the first communication standard network accessed by the terminal is less than a preset signal threshold, and the signal strength value of the second communication standard network is higher than the When the signal strength value of the first communication standard network is determined, it is determined to switch the first communication standard network to the second communication standard network. It can avoid the problem caused by using the method of switching the first communication standard network to the second communication standard network when the temperature of the terminal reaches the preset temperature threshold. The power consumption of the terminal itself is too large and the temperature of the terminal itself is reduced. If it rises too much, the signal strength of the second communication standard network in the current environment may be poor, resulting in the inability to effectively reduce power consumption and affecting communication performance.
  • the target type may include a game type and a thermal mass type.
  • the game types may include various games. For example, it can include games such as King of Glory, Lianliankan, and Xiaoxiaole.
  • the thermal mass type may include various applications that support service delay greater than or equal to the preset service delay. For example, it can include video playback, shopping and other applications. These applications can cache relevant videos, images, and text in advance while they are running.
  • the operating system of the terminal when the operating system of the terminal detects that an application is enabled, it can obtain the data package of the currently running application and compare the package name of the data package with the package name in the pre-created database. name to match.
  • the name of the application program of the target type and the package name of the data package corresponding thereto are stored in the database.
  • the operating system of the terminal can learn whether the currently running application belongs to the target type of application.
  • the signal strength value of the first communication standard network currently accessed by the terminal may be further obtained.
  • the signal strength value of the 4G network currently accessed by the terminal may be obtained, or the signal strength value of the 5G network currently accessed by the terminal may be obtained.
  • the preset signal threshold may be -105dBm.
  • the base station When the operating system of the terminal detects that the signal strength value of the first communication standard network accessed by the terminal is less than -105dBm, since the terminal is connected to the base station in real time, at this time, the base station will send a network redirection indication message to the terminal , that is, the terminal will receive the redirection indication message sent by the base station.
  • the redirection instruction message is used to instruct the terminal to switch from the first communication standard network to a second communication standard network, and the performance of the second communication standard network is lower than the performance of the first communication standard network.
  • the first communication standard network may be a 4G network.
  • the second communication standard network may be a 3G network.
  • the first communication standard network may also be a 5G network.
  • the second communication standard network may be a 4G network. The present disclosure does not limit this, as long as the performance of the second communication standard network is lower than the performance of the first communication standard network.
  • the terminal when the first communication standard network is a 4G network, based on the redirection indication message, the terminal can be switched from the 4G network to the 3G network.
  • the first communication standard network is a 5G network, based on the redirection indication message, the terminal can be switched from the 5G network to the 4G network.
  • step 106 when it is determined that the signal strength value of the terminal in the second communication standard network is less than or equal to the signal strength value of the terminal in the first communication standard network, by The second communication standard network is switched back to the first communication standard network.
  • the signal strength value of the terminal under the second communication standard network can be measured.
  • the signal strength value under the second communication standard network is smaller than the signal strength value under the first communication standard network, it indicates that the terminal's Internet experience under the first communication standard network will be better than that of the terminal under the second communication standard network. Internet experience under the network. Therefore, in order to enable the terminal to provide a better Internet access experience, the terminal may be switched from the second communication standard network back to the first communication standard network.
  • the measured signal strength value is -112dBm. It can be seen from the above that the signal strength value measured before switching can be -108dBm. Since -112dBm is less than -108dBm, the terminal can be switched from the second communication standard network back to the first communication standard network.
  • the terminal when it is measured that the signal strength value of the terminal under the second communication standard network is equal to the signal strength value under the first communication standard network, it indicates that the terminal's online experience under the two communication standard networks is not much different. .
  • the terminal in order to prevent the user from thinking that the terminal is a terminal that cannot better support access to a communication standard network with better performance, the terminal can be switched from the second communication standard network back to the first communication standard network.
  • the second communication standard network may be switched to the first communication standard network.
  • the second communication standard network can be switched to the first communication standard network.
  • the first communication standard network is a 5G network and the second communication standard network is a 4G network
  • the 4G network can be switched to the 5G network. This avoids the situation where the terminal does not have a 5G network for a long time, causing the user to think that the terminal is not a terminal that can better support the 5G network, giving the user a bad user experience.
  • the network switching method of this embodiment switches from the second communication standard network to the first communication standard network when it is detected that the terminal exits the target type application, thereby preventing the terminal from being in communication with poor performance for a long time.
  • standard networks it brings a bad user experience to users.
  • FIG. 2 is a flow chart of yet another network switching method according to an exemplary embodiment of the present disclosure.
  • the detailed steps of the network switching method when the target type is a thermal mass type are mainly described. Among them, the steps that are the same as those in the previous embodiment will be briefly described in this embodiment and will not be described in detail. For details, please refer to any of the previous embodiments.
  • this exemplary embodiment method may include the following steps:
  • step 200 in response to the target type application being running, obtain the signal strength value of the first communication standard network accessed by the terminal.
  • the target type is an application type whose power consumption generated by the terminal when running is greater than or equal to a preset power consumption threshold.
  • step 202 in response to the signal strength value of the first communication standard network being less than a preset signal threshold, a redirection indication message sent by the base station is received.
  • the redirection indication message is used to instruct the terminal to switch from the first communication standard network to a second communication standard network, and the performance of the second communication standard network is lower than the performance of the first communication standard network.
  • step 204 based on the redirection indication message, the first communication standard network is switched to the second communication standard network.
  • step 206 in response to determining that the signal strength value of the terminal in the second communication standard network is greater than the signal strength value of the terminal in the first communication standard network, the shell temperature of the terminal is obtained.
  • the shell temperature of the terminal may be a temperature fitted based on the temperature of internal components of the terminal.
  • the shell temperature of the terminal can be fitted according to a preset algorithm based on the temperature of the CPU (Central Processing Unit, central processing unit), motherboard, battery and other components inside the terminal.
  • the temperature of each component inside the terminal can be detected in real time by the operating system of the terminal.
  • the target type targeted by the method of this embodiment is a thermal mass type
  • applications of the thermal mass type may include: video playback, shopping, and other applications.
  • it can be iQiyi, for example.
  • the 5G network when it is detected that the signal strength value of the current 5G network is lower than the preset signal threshold, and the signal strength value of the 4G network is higher than the signal strength value of the 5G network, the 5G network will be switched. If it is a 4G network, the user will think that the terminal is a terminal that cannot support the 5G network well, which will bring a bad user experience to the user.
  • the target type is a thermal mass type
  • the shell of the terminal when it is determined that the signal strength value of the 4G network is greater than the signal strength value of the 5G network, the shell of the terminal can be further obtained. temperature.
  • the terminal when the signal strength value of the 5G network is less than the preset signal threshold, it indicates that the signal of the 5G network is not good. At this time, in order to ensure data transmission, the terminal will adjust its transmit power to the maximum value to meet its own communication needs. When the terminal adjusts the transmit power to the maximum value, power consumption will increase, causing the temperature of the terminal to rise.
  • the temperature of the terminal is represented by the shell temperature of the terminal. Therefore, the shell temperature of the terminal can reflect the power consumption of the terminal to a certain extent.
  • the network switching method of this embodiment in a thermal mass scenario, when it is determined that the signal strength value of the terminal in the second communication standard network is greater than the signal strength value of the terminal in the first communication standard network, further based on the The shell temperature of the terminal is used to determine whether to reside in the second communication standard network, so as to prevent users from thinking that the terminal is a terminal that cannot support the 5G network well, and bring a better user experience to the user.
  • the shell temperature of the terminal can be continuously obtained at a preset frequency, and when it is detected that the shell temperature of the terminal is lower than the preset temperature threshold, the second communication standard network is switched to The first communication standard network.
  • the preset temperature threshold is the lowest shell temperature at which the terminal causes power loss.
  • the preset temperature threshold may be 37°C.
  • the 4G network can be switched to the 5G network.
  • the preset temperature threshold may be determined based on environmental information of the environment in which the terminal is located.
  • the environmental information may include geographical location information; and/or environmental temperature information.
  • the ambient temperature information includes month information.
  • the preset temperature threshold may be correspondingly high.
  • the preset temperature threshold may be relatively low because the ambient temperature is low.
  • the preset temperature threshold may be determined to be 42 degrees.
  • the preset temperature threshold may be determined to be 38 degrees.
  • the preset temperature threshold may be determined to be 44 degrees, which is not limited in this disclosure.
  • the present disclosure also provides embodiments of application function implementation devices and corresponding terminals.
  • the redirection instruction message receiving module 32 is configured to receive a redirection instruction message sent by the base station in response to the signal strength value of the first communication standard network being less than the preset signal threshold; wherein the redirection instruction message is used to indicate The terminal switches from the first communication standard network to a second communication standard network, and the performance of the second communication standard network is lower than the performance of the first communication standard network;
  • the target type includes a thermal mass type
  • the device may also include:
  • the preset temperature threshold is determined based on environmental information of the environment where the terminal is located;
  • the switching module 33 is further configured to respond to determining that the signal strength value of the terminal in the second communication standard network is less than or equal to the signal strength value of the terminal in the first communication standard network. , switching from the second communication standard network back to the first communication standard network.
  • the preset temperature threshold is the lowest case temperature at which the terminal causes power loss.
  • an electronic device include:
  • Memory used to store instructions executable by the processor
  • FIG. 5 is a schematic structural diagram of an electronic device 500 according to an exemplary embodiment.
  • the electronic device 500 may be a user device, which may be a mobile phone, a computer, a tablet device, etc.
  • the electronic device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power supply component 506 , a multimedia component 508 , an audio component 510 , an input/output (I/O) interface 512 , and a sensor component 514 , and communication component 516.
  • a processing component 502 a memory 504 , a power supply component 506 , a multimedia component 508 , an audio component 510 , an input/output (I/O) interface 512 , and a sensor component 514 , and communication component 516.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • a non-transitory computer-readable storage medium is also provided, such as memory 504 including instructions that, when executed by the processor 520 of the electronic device 500, enable the electronic device 500 to Execute the network switching method according to any embodiment of the present disclosure.

Landscapes

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

Abstract

本公开提供一种网络切换方法及装置、存储介质。其中,所述网络切换方法包括:响应于目标类型的应用程序正在运行,获取终端接入的第一通信制式网络的信号强度值;响应于第一通信制式网络的信号强度值小于预设信号阈值,接收基站发送的重定向指示消息;基于重定向指示消息,由第一通信制式网络切换到第二通信制式网络;响应于确定终端在第二通信制式网络的信号强度值大于终端在第一通信制式网络的信号强度值,驻留在第二通信制式网络。本公开提供的上述方法,可以避免出现终端自身的功耗消耗太大而使得终端自身的温度升高太多、当前环境中的第二通信制式网络的信号强度不好,导致不能有效的降低功耗、给用户带来较差的上网体验的问题。

Description

网络切换方法及装置、存储介质 技术领域
本公开技术方案涉及通信技术领域,尤其涉及一种网络切换方法及装置、存储介质。
背景技术
5G(5 Generation,第五代移动通讯技术)弱场指的是有5G信号,但是5G信号的信号强度较弱的情况。在5G弱场情况下,为了保证数据传输,终端会将其发射功率调整到最大值,以满足自己的通信需求。但是当终端将发射功率调整到最大值之后,会增加自身的功耗,导致自身的温度升高,从而影响终端的性能。
为解决上述问题,在现有的技术方案中,通常会给终端设置一个温度阈值,当检测到终端的温度达到上述温度阈值时,直接将5G网络切换为4G(4 Generation,第四代移动通讯技术)网络,以达到降低功耗的目的。但事实上,当终端的温度达到上述温度阈值时,终端的功耗消耗已经较大,并且温度的变化已经可以使用户感知。并且,当终端的温度达到上述温度阈值时,终端所处环境中可能没有4G网络,或者4G网络的信号强度不足以满足终端的通信需求,在这种情况下,将5G网络切换为4G网络,不仅不能达到有效的降低功耗的目的,还会给用户带来较差的上网体验。
发明内容
有鉴于此,本公开实施例提供一种网络切换方法及装置、存储介质。
根据本公开的第一方面,提出了一种网络切换方法,所述方法应用于终端,所述方法包括:
响应于目标类型的应用程序正在运行,获取所述终端接入的第一通信制 式网络的信号强度值;其中,所述目标类型是运行时所述终端产生的功耗大于或等于预设功耗阈值的应用程序类型;
响应于所述第一通信制式网络的信号强度值小于预设信号阈值,接收基站发送的重定向指示消息;其中,所述重定向指示消息用于指示所述终端由所述第一通信制式网络切换到第二通信制式网络,所述第二通信制式网络的性能低于所述第一通信制式网络的性能;
基于所述重定向指示消息,由所述第一通信制式网络切换到所述第二通信制式网络;
响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,驻留在所述第二通信制式网络。
结合本公开提供的任一实施方式,所述目标类型包括以下任一项:
游戏类型;
热质量类型;其中,所述热质量类型是支持业务时延大于或等于预设业务时延的应用程序类型。
结合本公开提供的任一实施方式,所述目标类型包括热质量类型,所述方法还包括:
获取所述终端的壳温;
所述响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,驻留在所述第二通信制式网络,包括:
响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,且所述终端的壳温大于或等于预设温度阈值,驻留在所述第二通信制式网络。
结合本公开提供的任一实施方式,所述预设温度阈值基于所述终端所处环境的环境信息确定;
所述环境信息包括以下至少一项:
地理位置信息;
和/或,环境温度信息。
结合本公开提供的任一实施方式,所述由所述第一通信制式网络切换到所述第二通信制式网络之后,所述方法还包括:
响应于确定所述终端在所述第二通信制式网络的信号强度值小于或等于所述终端在所述第一通信制式网络的信号强度值,由所述第二通信制式网络切换回所述第一通信制式网络。
结合本公开提供的任一实施方式,所述驻留在所述第二通信制式网络之后,所述方法还包括:
响应于确定已退出所述目标类型的应用程序,由所述第二通信制式网络切换到所述第一通信制式网络。
结合本公开提供的任一实施方式,所述驻留在所述第二通信制式网络之后,所述方法还包括:
获取所述终端的壳温;
响应于所述终端的壳温低于预设温度阈值,由所述第二通信制式网络切换到所述第一通信制式网络。
结合本公开提供的任一实施方式,所述预设温度阈值是所述终端产生功耗损耗的最低壳温。
根据本公开的第二方面,提出了一种网络切换装置,所述装置应用于终端,所述装置包括:
信号强度值获取模块,被配置为响应于目标类型的应用程序正在运行,获取所述终端接入的第一通信制式网络的信号强度值;其中,所述目标类型是运行时所述终端产生的功耗大于或等于预设功耗阈值的应用程序类型;
重定向指示消息接收模块,被配置为响应于所述第一通信制式网络的信号强度值小于预设信号阈值,接收基站发送的重定向指示消息;其中,所述重定向指示消息用于指示所述终端由所述第一通信制式网络切换到第二通信制式网络,所述第二通信制式网络的性能低于所述第一通信制式网络的性能;
切换模块,被配置为基于所述重定向指示消息,由所述第一通信制式网 络切换到所述第二通信制式网络;
驻留模块,被配置为响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,驻留在所述第二通信制式网络。
根据本公开的第三方面,提供一种计算机可读存储介质,所述机器可读存储介质存储有机器可读指令,所述机器可读指令在被处理器调用和执行时,促使所述处理器实现本公开任一实施例的网络切换方法。
根据本公开的第四方面,提供一种电子设备,包括
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为用于执行本公开任一实施例的网络切换方法。
本公开的实施例提供的技术方案可以包括以下有益效果:
本公开实施例提供的网络切换方法及装置、存储介质,通过确定所述终端接入的所述第一通信制式网络的信号强度值小于预设信号阈值,并且所述第二通信制式网络的信号强度值高于所述第一通信制式网络的信号强度值时,将所述第一通信制式网络切换到所述第二通信制式网络。可以避免出现采用当终端的温度达到预设温度阈值时,再将第一通信制式网络切换到第二通信制式网络的方法而带来的,终端自身的功耗消耗太大而使得终端自身的温度升高太多、当前环境中的第二通信制式网络的信号强度可能不好,导致不能有效的降低功耗、给用户带来较差的上网体验的问题。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是本公开根据一示例性实施例示出的一种网络切换方法的流程图;
图2是本公开根据一示例性实施例示出的另一种网络切换方法的流程图;
图3是本公开根据一示例性实施例示出的一种网络切换装置的结构示意图;
图4是本公开根据一示例性实施例示出的另一种网络切换装置的结构示意图;
图5是本公开根据一示例性实施例示出的一种电子设备的结构示意图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
下面结合附图,对本公开实施例的网络切换方法进行详细的描述。
图1是本公开根据一示例性实施例示出的一种网络切换方法的流程图。 如图1所示,该示例性实施例方法可以应用于终端,包括但不限于手机、笔记本电脑、台式计算机、ipad等。具体的,该示例性实施例方法可以由上述终端的操作系统来执行,其中,所述操作系统包括但不限于android(安卓)系统、IOS系统等。该方法可以包括如下步骤:
在步骤100中,响应于目标类型的应用程序正在运行,获取所述终端接入的第一通信制式网络的信号强度值。
其中,所述目标类型是运行时所述终端产生的功耗大于或等于预设功耗阈值的应用程序类型。
所述第一通信制式网络可以为4G网络,也可以为5G网络,本公开对此不作限定。
在步骤102中,响应于所述第一通信制式网络的信号强度值小于预设信号阈值,接收基站发送的重定向指示消息。
其中,所述预设信号阈值为通过终端内部逻辑识别到的,刚好对应一格信号的信号强度值。当信号强度值大于所述预设信号阈值时,通过终端内部逻辑可以识别到该信号强度值对应两格或者三格信号。
上述针对预设信号阈值与终端显示的信号格数的对应关系的描述仅仅是示意性的,旨在使得本领域技术人员可以更好的理解本公开实施例的技术方案。所述预设信号阈值还可以对应终端显示的两格信号,本公开对此不作限定。
所述重定向指示消息用于指示所述终端由所述第一通信制式网络切换到第二通信制式网络,所述第二通信制式网络的性能低于所述第一通信制式网络的性能。
所述性能包括速度、时延等指标。在本实施例中,所述第二通信制式网络的性能低于所述第一通信制式网络的性能,指的是,在两种通信制式网络的信号均良好的情况下,所述第一通信制式网络较所述第二通信制式网络,拥有更快的速度和更短的时延。
在步骤104中,基于所述重定向指示消息,由所述第一通信制式网络切 换到所述第二通信制式网络。
在步骤106中,响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,驻留在所述第二通信制式网络。
在由所述第一通信制式网络切换到所述第二通信制式网络之后,可以测量终端在所述第二通信制式网络下的信号强度值,当终端在所述第二通信制式网络下的信号强度值高于在所述第一通信制式网络下的信号强度值时,表明终端在所述第二通信制式网络下的上网体验会好于在所述第一通信制式网络下的上网体验,因此,可以使终端继续驻留在所述第二通信制式网络。
例如,在由所述第一通信制式网络切换到所述第二通信制式网络之后,测量到的信号强度值为-92dBm。由前可得,切换前测量到的信号强度值可以为-108dBm。由于-92dBm大于-108dBm,因此,可以使终端继续驻留在切换后的所述第二通信制式网络下。
如下表1,示出了当确定终端在所述第二通信制式网络的信号强度值大于终端在所述第一通信制式网络的信号强度值时,确定将所述第一通信制式网络切换为所述第二通讯制式网络后,带来的通讯性能收益。其中,所述制式包括:CM(China Mobile,中国移动)、CU(China Unicom,中国连通)、CT(China Telecom,中国电信)。所述项目中的L2表示在上述情况下将所述第一通信制式网络切换为所述第二通讯制式网络的终端,所述1qoo8表示的是不进行上述切换的终端。由表1可得,终端L2的平均时延小于所述终端1qoo8的平均时延。即终端L2较终端1qoo8具有所述通讯性能收益。
表1
Figure PCTCN2022098704-appb-000001
本公开实施例提供的网络切换方法,通过确定所述终端接入的所述第一 通信制式网络的信号强度值小于预设信号阈值,并且所述第二通信制式网络的信号强度值高于所述第一通信制式网络的信号强度值时,确定将所述第一通信制式网络切换到所述第二通信制式网络。可以避免出现采用当终端的温度达到预设温度阈值时,再将第一通信制式网络切换到第二通信制式网络的方法而带来的,终端自身的功耗消耗太大而使得终端自身的温度升高太多、当前环境中的第二通信制式网络的信号强度可能不好,导致不能有效的降低功耗、影响通讯性能的问题。
下面对所述网络切换方法的各个步骤进行详细的描述:
针对上述步骤100,在一个可选示例中,所述目标类型可以包括游戏类型和热质量类型。
其中,所述游戏类型中可以包括各种游戏。例如,可以包括王者荣耀、连连看、消消乐等游戏。所述热质量类型中可以包括各种支持业务时延大于或等于预设业务时延的应用程序。例如,可以包括视频播放类、购物类等应用程序。这些应用程序在运行时可以提前缓存相关视频、图片和文字。
在本公开实施例中,当所述终端的操作系统检测到有应用程序启用时,可以获取当前运行的应用程序的数据包,并将所述数据包的包名与预先创建的数据库中的包名进行匹配。所述数据库中存储有所述目标类型的应用程序的名称以及与之相对应的数据包的包名。由此,终端的操作系统即可以获知当前运行的应用程序是否属于所述目标类型的应用程序。
当所述终端的操作系统检测到当前运行的应用程序属于所述目标类型的应用程序时,可以进一步获取所述终端当前接入的第一通信制式网络的信号强度值。例如,可以获取所述终端当前接入的4G网络的信号强度值,或者,可以获取所述终端当前接入的5G网络的信号强度值。
针对上述步骤102,在一个可选示例中,所述预设信号阈值可以为-105dBm。当所述终端的操作系统检测到终端接入的所述第一通信制式网络的信号强度值小于-105dBm时,由于终端与基站实时连接,此时,基站就会发送网络重定向指示消息至终端,即终端会接收到基站发送的重定向指示消息。
所述重定向指示消息用于指示所述终端由所述第一通信制式网络切换到第二通信制式网络,所述第二通信制式网络的性能低于所述第一通信制式网络的性能。
在一个可选示例中,所述第一通信制式网络可以为4G网络,当所述第一通信制式网络为4G网络时,所述第二通信制式网络可以为3G网络。或者,所述第一通信制式网络也可以为5G网络,当所述第一通信制式网络为5G网络时,所述第二通信制式网络可以为4G网络。本公开对此不作限定,只要满足所述第二通信制式网络的性能低于所述第一通信制式网络的性能即可。
针对上述步骤104,接着以上示例继续举例,当所述第一通信制式网络为4G网络时,基于所述重定向指示消息,可以使得终端由所述4G网络切换为3G网络。当所述第一通信制式网络为5G网络时,基于所述重定向指示消息,可以使得终端由所述5G网络切换为4G网络。
针对上述步骤106,在一个可选示例中,在确定所述终端在所述第二通信制式网络的信号强度值小于或等于所述终端在所述第一通信制式网络的信号强度值时,由所述第二通信制式网络切换回所述第一通信制式网络。
如前所述,在由所述第一通信制式网络切换到所述第二通信制式网络之后,可以测量终端在所述第二通信制式网络下的信号强度值,当所述终端在所述第二通信制式网络下的信号强度值小于在所述第一通信制式网络下的信号强度值时,表明终端在所述第一通信制式网络下的上网体验会好于终端在所述第二通信制式网络下的上网体验。因此,为了使终端表现出更好的上网体验,可以使终端由所述第二通信制式网络切换回所述第一通信制式网络。
例如,在由所述第一通信制式网络切换到所述第二通信制式网络之后,测量到的信号强度值为-112dBm。由前可得,切换前测量到的信号强度值可以为-108dBm。由于-112dBm小于-108dBm,因此,可以使终端由所述第二通信制式网络切换回所述第一通信制式网络。
或者,当测量到终端在所述第二通信制式网络下的信号强度值等于在所述第一通信制式网络下的信号强度值时,表明终端在两种通信制式网络下的 上网体验相差不大。此时,为了防止用户认为该终端是一个不能较好的支持接入较好性能的通信制式网络的终端,可以使终端由所述第二通信制式网络切换回所述第一通信制式网络。
在一个可选示例中,当确定终端已退出所述目标类型的应用程序,可以由所述第二通信制式网络切换到所述第一通信制式网络。
当终端退出所述目标类型的应用程序时,表明终端产生的功耗会大幅减少,此时,不论终端接入的信号是否良好,都不会产生太大的功率损耗。因此,当检测到终端退出所述目标类型的应用程序时,可以由所述第二通信制式网络切换到所述第一通信制式网络。例如,当所述第一通信制式网络为5G网络,第二通信制式网络为4G网络,且终端退出所述目标类型的应用程序时,可以由所述4G网络切换到所述5G网络。避免出现终端长期没有5G网络,使用户认为该终端不是一个可以较好的支持5G网络的终端,给用户带来不好的使用感受。
本实施例的网络切换方法,当检测到终端退出所述目标类型的应用程序时,即由所述第二通信制式网络切换到所述第一通信制式网络,避免终端长期处于性能较差的通信制式网络中,给用户带来不好的使用感受。
图2是本公开根据一示例性实施例示出的又一种网络切换方法的流程图。在本实施例中,主要描述当所述目标类型为热质量类型时,所述网络切换方法的详细步骤。其中,与前述实施例中相同的步骤,本实施例将简单描述,不再详述,具体可以参见前述的任一实施例。如图2所示,该示例性实施例方法可以包括以下步骤:
在步骤200中,响应于目标类型的应用程序正在运行,获取所述终端接入的第一通信制式网络的信号强度值。
其中,所述目标类型是运行时所述终端产生的功耗大于或等于预设功耗阈值的应用程序类型。
在步骤202中,响应于所述第一通信制式网络的信号强度值小于预设信号阈值,接收基站发送的重定向指示消息。
其中,所述重定向指示消息用于指示所述终端由所述第一通信制式网络切换到第二通信制式网络,所述第二通信制式网络的性能低于所述第一通信制式网络的性能。
在步骤204中,基于所述重定向指示消息,由所述第一通信制式网络切换到所述第二通信制式网络。
在步骤206中,响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,获取所述终端的壳温。
其中,所述终端的壳温可以是依据所述终端内部器件的温度拟合的温度。
例如,可以依据所述终端内部的CPU(Central Processing Unit,中央处理器)、主板、电池等器件的温度,依据预设的算法拟合出所述终端的壳温。其中,所述终端内部各个器件的温度可以由所述终端的操作系统实时检测得到。
以所述第一通信制式网络为5G网络,所述第二通信制式网络为4G网络为例。如前所述,本实施例方法针对的所述目标类型为热质量类型,所述热质量类型的应用程序可以包括:视频播放类、购物类等应用程序。具体的,例如可以为爱奇艺。当用户使用爱奇艺观看视频时,由于视频大多是提前缓存的,因此,即使当下的5G网络信号不好,用户也不会立即感知到。但是,如果使用前述实施例中的方法,当检测到当前5G网络的信号强度值低于预设信号阈值,且4G网络的信号强度值高于5G网络的信号强度值时,就将5G网络切换为4G网络,就会让用户认为该终端是一个不能较好的支持5G网络的终端,会给用户带来不好的使用体验。
因此,在本实施例中,当所述目标类型为热质量类型时,在确定所述4G网络的信号强度值大于所述5G网络的信号强度值的情况下,可以进一步获取所述终端的壳温。
在步骤208中,响应于确定所述终端的壳温大于或等于预设温度阈值,驻留在所述第二通信制式网络。
为了使得方案理解更加清楚,首先将终端的壳温与功耗的关系作如下介 绍:
仍以所述第一通信制式网络为5G网络为例,当所述5G网络的信号强度值小于所述预设信号阈值时,表明所述5G网络的信号不好。此时,终端为了保证数据传输,会将其发射功率调整到最大值,从而满足自身的通信需求。当终端将发射功率调整到最大值时,会增加功耗,从而使得终端的温度升高。在本示例中,以所述终端的壳温来表示终端的温度。因此,所述终端的壳温可以在一定程度上反应所述终端的功耗。
所述预设温度阈值是所述终端产生功耗损耗的最低壳温。当所述终端的壳温大于或者等于所述预设温度阈值时,表明终端产生了功耗损耗。
因此,在前述已经将所述5G网络切换为4G网络的情况下,当检测到终端的壳温大于或者等于预设温度阈值时,可以使所述终端驻留在4G网络,从而进一步降低所述功耗损耗。
下表2示出了将所述5G网络切换为所述4G网络之后,带来的功耗收益、以及温升收益。其中,所述功耗收益指的是接入5G网络时的功耗与接入4G网络时的功耗之差。所述温升收益指的是所述功耗收益相对应的发热温度。所述5G弱网指的是5G网络的信号强度值低。所述SA(Standalone,独立组网)为5G网络下的一种制式。所述LTE(Long Term Evolution,长期演进)为4G网络下的一种制式。
表2
Figure PCTCN2022098704-appb-000002
本实施例的网络切换方法,在热质量场景下,当确定终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值时,进一步依据所述终端的壳温来判定是否要驻留在所述第二通信制式网络,避免用户认为该终端是一个不能较好的支持5G网络的终端,给用户带来较好的使用感受。
在一个可选示例中,可以以预设的频率持续获取所述终端的壳温,并且当检测到所述终端的壳温低于预设温度阈值时,由所述第二通信制式网络切换到所述第一通信制式网络。
其中,所述预设温度阈值是所述终端产生功耗损耗的最低壳温。在一个可选示例中,所述预设温度阈值可以为37℃。
所述预设的频率可以为一分钟一次,也可以为两分钟一次,本公开对此不作限定。
当检测到所述终端的壳温低于37℃时,表明所述终端没有功耗损耗。此时,为了给用户带来较好的使用感受,可以将所述4G网络切换到5G网络。
在一个可选示例中,所述预设温度阈值可以基于所述终端所处环境的环境信息确定。
其中,所述环境信息可以包括地理位置信息;和/或,环境温度信息。所述环境温度信息包括月份信息。
例如,当所述终端所处环境为三亚的7月份时,由于环境温度较高,所述预设温度阈值相对应可以较高。当所述终端所处环境为东北的1月份时,由于环境温度较低,所述预设温度阈值相对应可以较低。
具体的,所述终端的操作系统可以获取到所述终端所处的地理位置,以及当前的月份信息,并进一步依据所述地理位置和月份信息,确定所述预设温度阈值。
例如,当所述终端获取到的地理位置为三亚,当前月份信息为7月时,可以将所述预设温度阈值确定为42度。再例如,当所述终端获取到的地理位置为东北,当前月份信息为7月时,可以将所述预设温度阈值确定为38度。
应当注意的是,上述针对所述环境信息与所述预设温度阈值的对应关系的说明仅仅是示意性的,当所述终端获取到的地理位置为三亚,当前月份信息为7月时,也可以将所述预设温度阈值确定为44度,本公开对此不作限定。
本公开实施例提供的网络切换方法,在确定所述终端接入的所述第一通信制式网络的信号强度值小于预设信号阈值,并且所述第二通信制式网络的信号强度值高于所述第一通信制式网络的信号强度值时,可以进一步获取所述终端的壳温,并在所述壳温达到预设温度阈值时,确定终端驻留在所述第二通信制式网络,避免在热质量场景下,当用户还没有感知到所述第一通信制式网络的信号不好时,就将所述第一通信制式网络切换为所述第二通信制式网络,让用户认为该终端是一个不能较好的支持所述第一通信制式网络的终端,给用户带来不好的使用体验。
对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动 作组合,但是本领域技术人员应该知悉,本公开并不受所描述的动作顺序的限制,因为依据本公开,某些步骤可以采用其他顺序或者同时进行。
其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本公开所必须的。
与前述应用功能实现方法实施例相对应,本公开还提供了应用功能实现装置及相应的终端的实施例。
图3是本公开根据一示例性实施例示出的一种网络切换装置的结构示意图,所述装置应用于终端,如图3所示,该网络切换装置可以包括:
信号强度值获取模块31,被配置为响应于目标类型的应用程序正在运行,获取所述终端接入的第一通信制式网络的信号强度值;其中,所述目标类型是运行时所述终端产生的功耗大于或等于预设功耗阈值的应用程序类型;
重定向指示消息接收模块32,被配置为响应于所述第一通信制式网络的信号强度值小于预设信号阈值,接收基站发送的重定向指示消息;其中,所述重定向指示消息用于指示所述终端由所述第一通信制式网络切换到第二通信制式网络,所述第二通信制式网络的性能低于所述第一通信制式网络的性能;
切换模块33,被配置为基于所述重定向指示消息,由所述第一通信制式网络切换到所述第二通信制式网络;
驻留模块34,被配置为响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,驻留在所述第二通信制式网络。
可选的,所述目标类型包括以下任一项:
游戏类型;
热质量类型;其中,所述热质量类型是支持业务时延大于或等于预设业务时延的应用程序类型。
可选的,如图4所示,所述目标类型包括热质量类型,所述装置还可以包括:
壳温获取模块41,被配置为获取所述终端的壳温;
所述驻留模块34,在被配置为响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,驻留在所述第二通信制式网络时,包括:
响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,且所述终端的壳温大于或等于预设温度阈值,驻留在所述第二通信制式网络。
可选的,所述预设温度阈值基于所述终端所处环境的环境信息确定;
所述环境信息包括以下至少一项:
地理位置信息;
和/或,环境温度信息。
可选的,所述切换模块33,还被配置为响应于确定所述终端在所述第二通信制式网络的信号强度值小于或等于所述终端在所述第一通信制式网络的信号强度值,由所述第二通信制式网络切换回所述第一通信制式网络。
可选的,所述切换模块33,还被配置为响应于确定已退出所述目标类型的应用程序,由所述第二通信制式网络切换到所述第一通信制式网络。
可选的,所述切换模块33,还被配置为响应于所述终端的壳温低于预设温度阈值,由所述第二通信制式网络切换到所述第一通信制式网络。
可选的,所述预设温度阈值是所述终端产生功耗损耗的最低壳温。
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
相应的,本公开实施例提供了一种电子设备。包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,上述处理器被配置为用于执行本公开任一实施例的网络切换方法。
图5是根据一示例性实施例示出的一种电子设备500的结构示意图。例如,电子设备500可以是用户设备,可以具体为移动电话,计算机,平板设备等。
参照图5,电子设备500可以包括以下一个或多个组件:处理组件502,存储器504,电源组件506,多媒体组件508,音频组件510,输入/输出(I/O)的接口512,传感器组件514,以及通信组件516。
处理组件502通常控制电子设备500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件502可以包括一个或多个处理器520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。
存储器504被配置为存储各种类型的数据以支持在设备500的操作。这些数据的示例包括用于在电子设备500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件506为电子设备500的各种组件提供电力。电源组件506可以包括电源管理系统,一个或多个电源,及其他与为电子设备500生成、管理和分配电力相关联的组件。
多媒体组件508包括在上述电子设备500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板 (TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。上述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与上述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当电子设备500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当电子设备500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。
I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件514包括一个或多个传感器,用于为电子设备500提供各个方面的状态评估。例如,传感器组件514可以检测到电子设备500的打开/关闭状态,组件的相对定位,例如上述组件为电子设备500的显示器和小键盘,传感器组件514还可以检测电子设备500或电子设备500一个组件的位置改变,用户与电子设备500接触的存在或不存在,电子设备500方位或加速/减速和电子设备500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件516被配置为便于电子设备500和其他设备之间有线或无线方 式的通信。电子设备500可以接入基于通信标准的无线网络,如WiFi,4G或5G,4G LTE、5G NR或它们的组合。在一个示例性实施例中,通信组件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,上述通信组件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,电子设备500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,例如包括指令的存储器504,当存储介质中的指令由电子设备500的处理器520执行时,使得电子设备500能够执行本公开任一实施例的网络切换方法。
所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (11)

  1. 一种网络切换方法,其特征在于,所述方法应用于终端,所述方法包括:
    响应于目标类型的应用程序正在运行,获取所述终端接入的第一通信制式网络的信号强度值;其中,所述目标类型是运行时所述终端产生的功耗大于或等于预设功耗阈值的应用程序类型;
    响应于所述第一通信制式网络的信号强度值小于预设信号阈值,接收基站发送的重定向指示消息;其中,所述重定向指示消息用于指示所述终端由所述第一通信制式网络切换到第二通信制式网络,所述第二通信制式网络的性能低于所述第一通信制式网络的性能;
    基于所述重定向指示消息,由所述第一通信制式网络切换到所述第二通信制式网络;
    响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,驻留在所述第二通信制式网络。
  2. 根据权利要求1所述的方法,其特征在于,所述目标类型包括以下任一项:
    游戏类型;
    热质量类型;其中,所述热质量类型是支持业务时延大于或等于预设业务时延的应用程序类型。
  3. 根据权利要求2所述的方法,其特征在于,所述目标类型包括热质量类型,所述方法还包括:
    获取所述终端的壳温;
    所述响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,驻留在所述第二通信制式网络,包括:
    响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终 端在所述第一通信制式网络的信号强度值,且所述终端的壳温大于或等于预设温度阈值,驻留在所述第二通信制式网络。
  4. 根据权利要求3所述的方法,其特征在于,所述预设温度阈值基于所述终端所处环境的环境信息确定;
    所述环境信息包括以下至少一项:
    地理位置信息;
    和/或,环境温度信息。
  5. 根据权利要求1所述的方法,其特征在于,所述由所述第一通信制式网络切换到所述第二通信制式网络之后,所述方法还包括:
    响应于确定所述终端在所述第二通信制式网络的信号强度值小于或等于所述终端在所述第一通信制式网络的信号强度值,由所述第二通信制式网络切换回所述第一通信制式网络。
  6. 根据权利要求1所述的方法,其特征在于,所述驻留在所述第二通信制式网络之后,所述方法还包括:
    响应于确定已退出所述目标类型的应用程序,由所述第二通信制式网络切换到所述第一通信制式网络。
  7. 根据权利要求1所述的方法,其特征在于,所述驻留在所述第二通信制式网络之后,所述方法还包括:
    获取所述终端的壳温;
    响应于所述终端的壳温低于预设温度阈值,由所述第二通信制式网络切换到所述第一通信制式网络。
  8. 根据权利要求3或7所述的方法,其特征在于,所述预设温度阈值是所述终端产生功耗损耗的最低壳温。
  9. 一种网络切换装置,其特征在于,所述装置应用于终端,所述装置包括:
    信号强度值获取模块,被配置为响应于目标类型的应用程序正在运行,获取所述终端接入的第一通信制式网络的信号强度值;其中,所述目标类型 是运行时所述终端产生的功耗大于或等于预设功耗阈值的应用程序类型;
    重定向指示消息接收模块,被配置为响应于所述第一通信制式网络的信号强度值小于预设信号阈值,接收基站发送的重定向指示消息;其中,所述重定向指示消息用于指示所述终端由所述第一通信制式网络切换到第二通信制式网络,所述第二通信制式网络的性能低于所述第一通信制式网络的性能;
    第一切换模块,被配置为基于所述重定向指示消息,由所述第一通信制式网络切换到所述第二通信制式网络;
    驻留模块,被配置为响应于确定所述终端在所述第二通信制式网络的信号强度值大于所述终端在所述第一通信制式网络的信号强度值,驻留在所述第二通信制式网络。
  10. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1至8任一所述的方法。
  11. 一种电子设备,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为用于执行权利要求1至8任一所述的网络切换方法。
PCT/CN2022/098704 2022-06-14 2022-06-14 网络切换方法及装置、存储介质 WO2023240453A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/098704 WO2023240453A1 (zh) 2022-06-14 2022-06-14 网络切换方法及装置、存储介质
CN202280004113.1A CN117597980A (zh) 2022-06-14 2022-06-14 网络切换方法及装置、存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/098704 WO2023240453A1 (zh) 2022-06-14 2022-06-14 网络切换方法及装置、存储介质

Publications (1)

Publication Number Publication Date
WO2023240453A1 true WO2023240453A1 (zh) 2023-12-21

Family

ID=89192987

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/098704 WO2023240453A1 (zh) 2022-06-14 2022-06-14 网络切换方法及装置、存储介质

Country Status (2)

Country Link
CN (1) CN117597980A (zh)
WO (1) WO2023240453A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338585A (zh) * 2015-11-28 2016-02-17 广东欧珀移动通信有限公司 一种网络制式切换方法、装置以及终端
CN108419279A (zh) * 2018-02-08 2018-08-17 四川速宝网络科技有限公司 网络切换系统
CN111654889A (zh) * 2020-05-28 2020-09-11 Oppo广东移动通信有限公司 一种网络连接控制方法及终端、存储介质
EP3843459A1 (en) * 2018-10-26 2021-06-30 Huawei Technologies Co., Ltd. Communication system switching method and terminal device
WO2021185100A1 (zh) * 2020-03-20 2021-09-23 华为技术有限公司 一种网络接入系统、方法及终端
US20220167232A1 (en) * 2020-11-24 2022-05-26 At&T Intellectual Property I, L.P. Using dynamic thresholds for non-mobility handovers in a fifth generation (5g) or other next generation network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338585A (zh) * 2015-11-28 2016-02-17 广东欧珀移动通信有限公司 一种网络制式切换方法、装置以及终端
CN108419279A (zh) * 2018-02-08 2018-08-17 四川速宝网络科技有限公司 网络切换系统
EP3843459A1 (en) * 2018-10-26 2021-06-30 Huawei Technologies Co., Ltd. Communication system switching method and terminal device
WO2021185100A1 (zh) * 2020-03-20 2021-09-23 华为技术有限公司 一种网络接入系统、方法及终端
CN111654889A (zh) * 2020-05-28 2020-09-11 Oppo广东移动通信有限公司 一种网络连接控制方法及终端、存储介质
US20220167232A1 (en) * 2020-11-24 2022-05-26 At&T Intellectual Property I, L.P. Using dynamic thresholds for non-mobility handovers in a fifth generation (5g) or other next generation network

Also Published As

Publication number Publication date
CN117597980A (zh) 2024-02-23

Similar Documents

Publication Publication Date Title
JP6228676B2 (ja) 接続状態プロンプティング方法および装置
KR101837333B1 (ko) 전자 디바이스를 깨우기 위한 방법 및 장치
CN107608561B (zh) 触摸屏控制方法及装置
US20170064182A1 (en) Method and device for acquiring image file
US20220159323A1 (en) Method for pre-loading content data, and electronic device
RU2649936C2 (ru) Способ и устройство для присоединения внешнего оборудования
WO2017028425A1 (zh) 节能模式启动方法和装置
WO2017020413A1 (zh) 网络接入方法、设备及系统
WO2019000414A1 (zh) 蜂窝网络中实现边缘计算的方法、装置、设备及基站
US20220342706A1 (en) Method for data processing and apparatus, and electronic device
CN110262692B (zh) 一种触摸屏扫描方法、装置及介质
US11596018B2 (en) Region configuration method and device
WO2015149524A1 (zh) 处理呼叫占线的方法、装置和系统
JP6554560B2 (ja) モバイルデバイス時間の表示方法及び装置
US20230217212A1 (en) Ranging capacity request method, ranging capacity sending method, and ranging capacity receiving method
WO2015131768A1 (en) Video processing method, apparatus and system
US10042328B2 (en) Alarm setting method and apparatus, and storage medium
US20180139790A1 (en) Methods, apparatuses and storage medium for controlling a wireless connection
WO2017088588A1 (zh) 触摸屏报点的处理方法及装置
US20220256230A1 (en) Method and apparatus for video playing
US20200213899A1 (en) Network connection management method, device and system
US20170280393A1 (en) Method and mobile device for controlling
WO2016023361A1 (zh) 控制路由器插件的方法和装置
CN106535147B (zh) 通信信号处理方法及装置
WO2023240453A1 (zh) 网络切换方法及装置、存储介质

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202280004113.1

Country of ref document: CN

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

Ref document number: 22946152

Country of ref document: EP

Kind code of ref document: A1