CN112770368B - Network switching method and device, mobile terminal and storage medium - Google Patents
Network switching method and device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN112770368B CN112770368B CN202110167925.5A CN202110167925A CN112770368B CN 112770368 B CN112770368 B CN 112770368B CN 202110167925 A CN202110167925 A CN 202110167925A CN 112770368 B CN112770368 B CN 112770368B
- Authority
- CN
- China
- Prior art keywords
- network
- mobile terminal
- preset
- quality
- communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0083—Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
- H04W36/0085—Hand-off measurements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/14—Reselecting a network or an air interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本公开涉及电子设备技术领域,尤其涉及一种网络切换方法及装置、移动终端及存储介质。The present disclosure relates to the technical field of electronic equipment, and in particular to a network switching method and device, a mobile terminal and a storage medium.
背景技术Background technique
现有技术中,移动终端通常支持多种网络制式,例如,支持第五代移动通信技术(5th-Generation,5G)、第四代移动通信技术(4th-Generation,4G)、第三代移动通信技术(3th-Generation,3G)和第二代移动通信技术(2th-Generation,2G)等。In the prior art, mobile terminals usually support multiple network standards, for example, supporting fifth-generation mobile communication technology (5th-Generation, 5G), fourth-generation mobile communication technology (4th-Generation, 4G), third-generation mobile communication technology technology (3th-Generation, 3G) and second-generation mobile communication technology (2th-Generation, 2G), etc.
当移动终端有多种网络覆盖时,例如同时存在系统带宽大的网络或系统带宽低的网络,存在一种情况是,移动终端在带宽大的网络覆盖下,网速仍然较低。When the mobile terminal is covered by multiple networks, for example, a network with a large system bandwidth or a network with a low system bandwidth exists at the same time, there is a situation that the network speed of the mobile terminal is still low under the coverage of a network with a large bandwidth.
发明内容Contents of the invention
本公开提供一种网络切换方法及装置、移动终端及存储介质。The disclosure provides a network switching method and device, a mobile terminal and a storage medium.
根据本公开实施例的第一方面,提供一种网络切换方法,应用于移动终端中,包括:According to the first aspect of the embodiments of the present disclosure, there is provided a network handover method applied to a mobile terminal, including:
在所述移动终端被触发从第一网络切换到第二网络时,检测所述第一网络的网络质量;其中,所述第二网络的系统带宽小于所述第一网络的系统带宽;When the mobile terminal is triggered to switch from the first network to the second network, detecting the network quality of the first network; wherein, the system bandwidth of the second network is smaller than the system bandwidth of the first network;
在检测到所述第一网络的网络质量满足预设网络质量条件时,进入连接到所述第一网络且向网络侧屏蔽所述移动终端支持所述第二网络通信的注册流程。When it is detected that the network quality of the first network satisfies the preset network quality condition, enter a registration process of connecting to the first network and shielding the mobile terminal from supporting the second network communication from the network side.
可选的,所述方法还包括:Optionally, the method also includes:
在触发所述移动终端从所述第一网络切换到所述第二网络的触发条件解除时,在所述移动终端的小区切换或重选的注册过程中,通知所述网络侧所述移动终端支持所述第二网络通信。When the trigger condition that triggers the handover of the mobile terminal from the first network to the second network is released, during the cell handover or reselection registration process of the mobile terminal, notify the network side of the mobile terminal The second network communication is supported.
可选的,所述进入连接到所述第一网络且向网络侧屏蔽所述移动终端支持第二网络通信的注册流程,包括:Optionally, the entering into the registration process of connecting to the first network and shielding the mobile terminal from supporting the communication of the second network from the network side includes:
发起连接到所述第一网络的注册请求;其中,所述注册请求携带预设标识,所述预设标识的第一取值,指示所述移动终端不支持所述第二网络通信。Initiate a registration request to connect to the first network; wherein, the registration request carries a preset identifier, and a first value of the preset identifier indicates that the mobile terminal does not support communication on the second network.
可选的,所述预设标识的第二取值,指示所述移动终端支持所述第二网络通信;所述第二取值不同于所述第一取值。Optionally, the second value of the preset identifier indicates that the mobile terminal supports the second network communication; the second value is different from the first value.
可选的,所述触发所述移动终端从第一网络切换到第二网络的触发条件,包括:Optionally, the trigger condition for triggering the handover of the mobile terminal from the first network to the second network includes:
所述移动终端接入所述第一网络的预设小区;The mobile terminal accesses a preset cell of the first network;
和/或,and / or,
接收触发所述移动终端从所述第一网络切换到所述第二网络的切换指令。A handover instruction triggering handover of the mobile terminal from the first network to the second network is received.
可选的,所述方法还包括:Optionally, the method also includes:
若所述第一网络的网络质量不满足所述预设网络质量条件,切换到所述第二网络。If the network quality of the first network does not meet the preset network quality condition, switching to the second network.
可选的,所述在检测到所述第一网络的网络质量满足预设网络质量条件时,进入连接到所述第一网络且向网络侧屏蔽所述移动终端支持所述第二网络通信的注册流程,包括以下至少之一:Optionally, when it is detected that the network quality of the first network satisfies the preset network quality condition, enter the process of connecting to the first network and shielding the mobile terminal from supporting the second network communication from the network side. Registration process, including at least one of the following:
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且不向所述网络侧上报所述移动终端支持所述第二网络通信的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and not reporting to the network side that the mobile terminal supports the communication of the second network process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端不支持所述第二网络通信的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and reporting to the network side that the mobile terminal does not support the communication of the second network process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端的所述第二网络通信异常的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and reporting the abnormal communication of the second network of the mobile terminal to the network side process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端的所述第二网络通信被禁用的注册流程。When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the process of connecting to the first network and reporting to the network side that the second network communication of the mobile terminal is disabled registration process.
可选的,所述第一网络的网络质量满足预设网络质量条件,包括:Optionally, the network quality of the first network meets a preset network quality condition, including:
所述第一网络的信号强度大于预设强度阈值;和/或,The signal strength of the first network is greater than a preset strength threshold; and/or,
所述第一网络的信噪比大于预设比值;和/或,The signal-to-noise ratio of the first network is greater than a preset ratio; and/or,
所述第一网络的误码率小于预设误码率。The bit error rate of the first network is less than a preset bit error rate.
可选的,所述检测第一网络的网络质量,包括:Optionally, the detecting the network quality of the first network includes:
基于所述移动终端内的网络诊断工具,检测所述第一网络的网络质量;或,Detecting the network quality of the first network based on a network diagnostic tool in the mobile terminal; or,
基于与所述第一网络的业务交互状况,检测所述第一网络的网络质量。Detecting the network quality of the first network based on the service interaction status with the first network.
根据本公开实施例的第二方面,提供一种网络切换装置,应用于移动终端中,包括:According to the second aspect of the embodiments of the present disclosure, there is provided a network switching device applied to a mobile terminal, including:
检测模块,配置为在所述移动终端被触发从第一网络切换到第二网络时,检测所述第一网络的网络质量;其中,所述第二网络的系统带宽小于所述第一网络的系统带宽;A detection module configured to detect the network quality of the first network when the mobile terminal is triggered to switch from the first network to the second network; wherein, the system bandwidth of the second network is smaller than that of the first network system bandwidth;
第一注册模块,配置为在检测到所述第一网络的网络质量满足预设网络质量条件时,进入连接到所述第一网络且向网络侧屏蔽所述移动终端支持所述第二网络通信的注册流程。The first registration module is configured to, when it is detected that the network quality of the first network satisfies a preset network quality condition, connect to the first network and shield the mobile terminal from supporting the second network communication from the network side registration process.
可选的,所述装置还包括:Optionally, the device also includes:
第二注册模块,配置为在触发所述移动终端从所述第一网络切换到所述第二网络的触发条件解除时,在所述移动终端的小区切换或重选的注册过程中,通知所述网络侧所述移动终端支持所述第二网络通信。The second registration module is configured to notify the mobile terminal during the cell handover or reselection registration process of the mobile terminal when the trigger condition that triggers the handover of the mobile terminal from the first network to the second network is released The mobile terminal on the network side supports the second network communication.
可选的,所述第一注册模块,具体配置为发起连接到所述第一网络的注册请求;其中,所述注册请求携带预设标识,所述预设标识的第一取值,指示所述移动终端不支持所述第二网络通信。Optionally, the first registration module is specifically configured to initiate a registration request to connect to the first network; wherein, the registration request carries a preset identifier, and the first value of the preset identifier indicates that the The mobile terminal does not support the second network communication.
可选的,所述预设标识的第二取值,指示所述移动终端支持所述第二网络通信;所述第二取值不同于所述第一取值。Optionally, the second value of the preset identifier indicates that the mobile terminal supports the second network communication; the second value is different from the first value.
可选的,所述触发所述移动终端从第一网络切换到第二网络的触发条件,包括:Optionally, the trigger condition for triggering the handover of the mobile terminal from the first network to the second network includes:
所述移动终端接入所述第一网络的预设小区;The mobile terminal accesses a preset cell of the first network;
和/或,and / or,
接收触发所述移动终端从所述第一网络切换到所述第二网络的切换指令。A handover instruction triggering handover of the mobile terminal from the first network to the second network is received.
可选的,所述装置还包括:Optionally, the device also includes:
切换模块,配置为若所述第一网络的网络质量不满足所述预设网络质量条件,切换到所述第二网络。A switching module configured to switch to the second network if the network quality of the first network does not meet the preset network quality condition.
可选的,所述第一注册模块,具体配置为包括以下至少之一:Optionally, the first registration module is specifically configured to include at least one of the following:
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且不向所述网络侧上报所述移动终端支持所述第二网络通信的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and not reporting to the network side that the mobile terminal supports the communication of the second network process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端不支持所述第二网络通信的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and reporting to the network side that the mobile terminal does not support the communication of the second network process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端的所述第二网络通信异常的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and reporting the abnormal communication of the second network of the mobile terminal to the network side process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端的所述第二网络通信被禁用的注册流程。When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the process of connecting to the first network and reporting to the network side that the second network communication of the mobile terminal is disabled registration process.
可选的,所述第一网络的网络质量满足预设网络质量条件,包括:Optionally, the network quality of the first network meets a preset network quality condition, including:
所述第一网络的信号强度大于预设强度阈值;和/或,The signal strength of the first network is greater than a preset strength threshold; and/or,
所述第一网络的信噪比大于预设比值;和/或,The signal-to-noise ratio of the first network is greater than a preset ratio; and/or,
所述第一网络的误码率小于预设误码率。The bit error rate of the first network is less than a preset bit error rate.
可选的,所述检测模块,具体配置为基于所述移动终端内的网络诊断工具,检测所述第一网络的网络质量;或,基于与所述第一网络的业务交互状况,检测所述第一网络的网络质量。Optionally, the detection module is specifically configured to detect the network quality of the first network based on a network diagnostic tool in the mobile terminal; or, based on the service interaction status with the first network, detect the The network quality of the first network.
根据本公开实施例的第三方面,提供一种移动终端,包括:According to a third aspect of the embodiments of the present disclosure, a mobile terminal is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为执行如上述第一方面中所述的网络切换方法。Wherein, the processor is configured to execute the network switching method described in the first aspect above.
根据本公开实施例的第四方面,提供一种存储介质,包括:According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, including:
当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行如上述第一方面中所述的网络切换方法。When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal is enabled to execute the network switching method described in the first aspect above.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
在本公开的实施例中,移动终端被触发从第一网络切换到系统带宽低于第一网络的系统带宽的第二网络时,检测第一网络的网络质量,并在检测到第一网络的网络质量满足预设网络质量条件时,进入连接到第一网络且向网络侧屏蔽移动终端支持第二网络通信的注册流程。通过该种方式,能使得移动终端在位于多种网络覆盖的区域下能自动判断网络情况,并在第一网络质量满足预设网络质量条件时维持在第一网络下工作,而不会切换到第二网络。此外,本公开因在第一网络质量满足预设网络质量条件时不会切换到第二网络,也无需用户手动操作切换回第一网络,移动终端仍能保持以较高的网速工作,因而能提升用户体验。In the embodiment of the present disclosure, when the mobile terminal is triggered to switch from the first network to the second network whose system bandwidth is lower than that of the first network, the mobile terminal detects the network quality of the first network, and detects the network quality of the first network When the network quality satisfies the preset network quality condition, enter a registration process of connecting to the first network and shielding the mobile terminal from supporting the communication of the second network from the network side. In this way, the mobile terminal can automatically judge the network situation in the area covered by multiple networks, and maintain the work under the first network when the quality of the first network meets the preset network quality conditions, without switching to second network. In addition, because the present disclosure does not switch to the second network when the quality of the first network satisfies the preset network quality conditions, and does not require manual operation by the user to switch back to the first network, the mobile terminal can still work at a relatively high network speed. Can improve user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是本公开实施例示出的一种网络切换方法流程图。Fig. 1 is a flow chart of a network switching method shown in an embodiment of the present disclosure.
图2为本公开实施例中移动终端的网络环境示例图。FIG. 2 is an example diagram of a network environment of a mobile terminal in an embodiment of the present disclosure.
图3为本公开一种网络切换方法交互示例图。FIG. 3 is an interaction example diagram of a network switching method in the present disclosure.
图4是根据一示例性实施例示出的一种网络切换装置图。Fig. 4 is a diagram showing a network switching device according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种移动终端的框图。Fig. 5 is a block diagram of a mobile terminal according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
图1是本公开实施例示出的一种网络切换方法流程图,如图1所示,应用于移动终端中的网络切换方法包括以下步骤:FIG. 1 is a flowchart of a network switching method shown in an embodiment of the present disclosure. As shown in FIG. 1 , the network switching method applied to a mobile terminal includes the following steps:
S11、在所述移动终端被触发从第一网络切换到第二网络时,检测所述第一网络的网络质量;其中,所述第二网络的系统带宽小于所述第一网络的系统带宽;S11. When the mobile terminal is triggered to switch from the first network to the second network, detect the network quality of the first network; wherein the system bandwidth of the second network is smaller than the system bandwidth of the first network;
S12、在检测到所述第一网络的网络质量满足预设网络质量条件时,进入连接到所述第一网络且向网络侧屏蔽所述移动终端支持所述第二网络通信的注册流程。S12. When it is detected that the network quality of the first network satisfies a preset network quality condition, enter a registration process of connecting to the first network and shielding the mobile terminal from supporting the communication of the second network from the network side.
在本公开的实施例中,移动终端包括手机、平板电脑、智能手表或智能眼镜等可移动的电子设备。In the embodiments of the present disclosure, the mobile terminal includes mobile electronic devices such as mobile phones, tablet computers, smart watches or smart glasses.
在步骤S11中,若移动终端被触发从第一网络切换到第二网络,则移动终端会检测第一网络的网络质量,以确定是否要执行网络切换动作。其中,第二网络的系统带宽小于第一网络的系统带宽。例如,移动终端在使用第一网络时,单位时间内传输数据的数据量优于工作在第二网络或者是数据传输速率优于工作在第二网络。In step S11, if the mobile terminal is triggered to switch from the first network to the second network, the mobile terminal will detect the network quality of the first network to determine whether to perform a network switching action. Wherein, the system bandwidth of the second network is smaller than the system bandwidth of the first network. For example, when the mobile terminal uses the first network, the amount of data transmitted per unit time is better than that of the second network or the data transmission rate is better than that of the second network.
在本公开的实施例中,例如第一网络是基于长期演进技术(Long TermEvolution,LTE)的3G或4G网络,第二网络是基于全球移动通信系统(Global System forMobile communications,GSM)的2G网络。In the embodiments of the present disclosure, for example, the first network is a 3G or 4G network based on Long Term Evolution (Long Term Evolution, LTE), and the second network is a 2G network based on Global System for Mobile communications (Global System for Mobile communications, GSM).
图2为本公开实施例中移动终端的网络环境示例图,如图2所示,网络环境100包括LTE网络覆盖范围101、GSM网络覆盖范围102以及处于LTE网络和GSM网络共同覆盖范围的移动终端103。在本公开的实施例中,例如,第一网络是基于LTE技术的4G网络,第二网络是基于GSM技术的2G网络,当移动终端处于4G网络和2G网络共同覆盖的范围时,通常移动终端会与4G网络连接并在4G网络上驻留,而在网络侧存在网络优化故障,或网络限制等情况,移动终端可能会从4G网络切换到2G网络。FIG. 2 is an example diagram of a network environment of a mobile terminal in an embodiment of the present disclosure. As shown in FIG. 2 , the
需要说明的是,在本公开的实施例中,并不限定于第一网络是4G,第二网络是2G。例如,第一网络可以是5G,第二网络是4G;第一网络可以是4G,第二网络是3G;或者第一网络是5G,第二网络是2G等,本公开实施例不做限制。It should be noted that, in the embodiment of the present disclosure, it is not limited that the first network is 4G and the second network is 2G. For example, the first network may be 5G, and the second network may be 4G; the first network may be 4G, and the second network may be 3G; or the first network may be 5G, and the second network may be 2G, etc., which are not limited in this embodiment of the present disclosure.
在一种实施例中,所述触发所述移动终端从第一网络切换到第二网络的触发条件,包括:In one embodiment, the trigger condition for triggering the handover of the mobile terminal from the first network to the second network includes:
所述移动终端接入所述第一网络的预设小区;The mobile terminal accesses a preset cell of the first network;
和/或,and / or,
接收触发所述移动终端从所述第一网络切换到所述第二网络的切换指令。A handover instruction triggering handover of the mobile terminal from the first network to the second network is received.
在该实施例中,预设小区可以是基于网络限制而预设的小区,当移动终端接入该第一网络的预设小区时,则可能触发移动终端从当前连接的第一网络切换到第二网络。其中,网络限制可以是接入用户数的限制,例如,网络侧为了保证接入用户的网络传输速度,从而限制接入用户数在预设用户数范围内。当网络侧确定该预设小区的接入用户数超过预设用户范围数时,则可能触发移动终端从第一网络切换到第二网络。In this embodiment, the preset cell may be a cell preset based on network restrictions. When the mobile terminal accesses the preset cell of the first network, it may trigger the mobile terminal to switch from the currently connected first network to the second network. Two networks. The network restriction may be a restriction on the number of access users. For example, the network side restricts the number of access users within a preset range of the number of users in order to ensure the network transmission speed of the access users. When the network side determines that the number of users accessing the preset cell exceeds the number of preset user ranges, it may trigger the handover of the mobile terminal from the first network to the second network.
此外,当网络侧的网络优化算法出现异常,网络侧也可能会向移动终端发送切换指令,从而触发移动终端从第一网络切换到第二网络。In addition, when the network optimization algorithm on the network side is abnormal, the network side may also send a switching instruction to the mobile terminal, thereby triggering the mobile terminal to switch from the first network to the second network.
在一种实施例中,检测第一网络的网络质量,包括:In an embodiment, detecting the network quality of the first network includes:
基于所述移动终端内的网络诊断工具,检测所述第一网络的网络质量;或,Detecting the network quality of the first network based on a network diagnostic tool in the mobile terminal; or,
基于与所述第一网络的业务交互状况,检测所述第一网络的网络质量。Detecting the network quality of the first network based on the service interaction status with the first network.
在该实施例中,移动终端可基于内置的网络诊断工具来检测第一网络的网络质量,例如该网络诊断工具是因特网包探索器(Ping),用于测试网络连接量的程序。移动终端可通过网络诊断工具向连接移动终端的服务器发送网络诊断请求,基于发送的网络诊断请求接收服务器返回的信息从而推断出当前的网络质量。In this embodiment, the mobile terminal can detect the network quality of the first network based on a built-in network diagnostic tool, for example, the network diagnostic tool is an Internet packet explorer (Ping), a program for testing network connection volume. The mobile terminal can send a network diagnosis request to the server connected to the mobile terminal through the network diagnosis tool, and infer the current network quality based on the information returned by the server based on the sent network diagnosis request.
例如,移动终端基于网络诊断工具获得当前第一网络的信号强度、信噪比以及误码率等网络信息,从而将第一网络的信号强度与预设强度阈值对比、信噪比与预设比值对比、误码率与预设误码率对比等来检测第一网络的网络质量。For example, the mobile terminal obtains network information such as the signal strength, signal-to-noise ratio, and bit error rate of the current first network based on the network diagnostic tool, thereby comparing the signal strength of the first network with the preset strength threshold, and the signal-to-noise ratio with the preset ratio The network quality of the first network is detected by comparing the bit error rate with the preset bit error rate and so on.
此外,当移动终端和第一网络有业务交互时,也可通过业务交互状况来检测第一网络的网络质量。其中,移动终端与第一网络的业务交互例如是基于第一网络的微信信息交互、网页浏览或游戏控制等,本公开实施例对此不做限制。当移动终端通过业务交互状况来检测第一网络的网络质量时,可以是移动终端确定当前交互的业务是否能正常进行,例如,微信信息是否能正常发送或接收、网页是否能正常打开,游戏控制能否执行等。In addition, when the mobile terminal has service interaction with the first network, the network quality of the first network may also be detected through the service interaction status. Wherein, the service interaction between the mobile terminal and the first network is, for example, WeChat information interaction, web page browsing, or game control based on the first network, which is not limited in this embodiment of the present disclosure. When the mobile terminal detects the network quality of the first network through the service interaction status, the mobile terminal may determine whether the current interactive service can be carried out normally, for example, whether WeChat information can be sent or received normally, whether the webpage can be opened normally, game control Can it be executed etc.
在步骤S12中,若移动终端检测到第一网络的网络质量满足预设网络质量条件,则会进入连接到第一网络且向网络侧屏蔽移动终端支持第二网络通信的注册流程。In step S12, if the mobile terminal detects that the network quality of the first network satisfies the preset network quality condition, it will enter a registration process of connecting to the first network and shielding the mobile terminal from supporting the communication of the second network to the network side.
在本公开的一种实施例中,第一网络的网络质量满足预设质量条件可以是指业务交互能快速响应,例如微信信息交互、网页浏览或游戏控制能快速响应等。In an embodiment of the present disclosure, the network quality of the first network meeting the preset quality condition may refer to quick response to business interaction, for example, quick response to WeChat information interaction, web browsing or game control, and the like.
在本公开的另一种实施例中,所述第一网络的网络质量满足预设网络质量条件,包括:In another embodiment of the present disclosure, the network quality of the first network meets a preset network quality condition, including:
所述第一网络的信号强度大于预设强度阈值;和/或,The signal strength of the first network is greater than a preset strength threshold; and/or,
所述第一网络的信噪比大于预设比值;和/或,The signal-to-noise ratio of the first network is greater than a preset ratio; and/or,
所述第一网络的误码率小于预设误码率。The bit error rate of the first network is less than a preset bit error rate.
如前所述的,移动终端可基于内置的诊断工具获得第一网络的信号强度、信噪比以及误码率等信息来检测网络质量。在该实施例中,在第一网络的信号强度大于预设强度阈值,和/或第一网络的信噪比大于预设比值,和/或第一网络的误码率小于预设误码率的情况下,即可确定第一网络的网络质量满足预设网络质量条件。As mentioned above, the mobile terminal can obtain information such as signal strength, signal-to-noise ratio, and bit error rate of the first network based on a built-in diagnostic tool to detect network quality. In this embodiment, the signal strength of the first network is greater than a preset strength threshold, and/or the signal-to-noise ratio of the first network is greater than a preset ratio, and/or the bit error rate of the first network is lower than a preset bit error rate In the case of , it can be determined that the network quality of the first network satisfies the preset network quality condition.
需要说明的是,如前所述的,移动终端已经和第一网络建立有连接,因而移动终端在进入连接到第一网络且向网络侧屏蔽移动终端支持第二网络通信的注册流程前,需要先发起去注册流程,断开和第一网络的连接后,再重新向网络侧发起注册流程,并在注册过程中屏蔽移动终端支持第二网络通信的能力。其中,移动终端在注册过程中屏蔽移动终端支持第二网络通信的能力,可以是移动终端在注册请求携带信息,以告知网络侧移动终端不支持第二网络通信能力;还可以是在注册过程中,移动终端额外向网络侧发送消息以告知网络侧移动终端不支持第二网络通信能力。It should be noted that, as mentioned above, the mobile terminal has established a connection with the first network, so the mobile terminal needs to Initiate the de-registration process first, disconnect the connection with the first network, and then initiate the registration process to the network side again, and shield the ability of the mobile terminal to support the second network communication during the registration process. Wherein, the mobile terminal shields the ability of the mobile terminal to support the second network communication during the registration process. It may be that the mobile terminal carries information in the registration request to inform the network side that the mobile terminal does not support the second network communication capability; it may also be during the registration process. , the mobile terminal additionally sends a message to the network side to inform the network side that the mobile terminal does not support the second network communication capability.
移动终端在和网络侧进行注册时,可以是移动终端向网络侧发送连接请求;基站在接收到连接请求之后,反馈响应信息给移动终端。移动终端在接收到网络侧的响应信息后,即发送表征接入成功的确认消息(Acknowledgement,ACK),或表征接入失败的非确认消息(Negative ACKnowledgment,NACK),从而完成注册过程。移动终端在成功接入网络侧之后,即可进行下载或者上传的数据业务。When the mobile terminal registers with the network side, the mobile terminal may send a connection request to the network side; after receiving the connection request, the base station feeds back response information to the mobile terminal. After receiving the response information from the network side, the mobile terminal sends an acknowledgment message (Acknowledgment, ACK) indicating successful access, or a non-acknowledgment message (Negative ACKnowledgment, NACK) indicating access failure, thereby completing the registration process. After the mobile terminal successfully accesses the network side, it can perform download or upload data services.
需要说明的是,在本公开的实施例中,在步骤S12中,可设定预定次数的注册,以使得移动终端在首次注册第一网络失败时,仍能通过多次注册增加成功率。当然,若移动终端在预定次数均失败后,则切换到第二网络,以使得移动终端能正常工作。It should be noted that, in the embodiment of the present disclosure, in step S12, a predetermined number of registrations may be set, so that when the mobile terminal fails to register with the first network for the first time, the success rate can still be increased through multiple registrations. Of course, if the mobile terminal fails for a predetermined number of times, it will switch to the second network so that the mobile terminal can work normally.
在一种实施例中,所述在检测到所述第一网络的网络质量满足预设网络质量条件时,进入连接到所述第一网络且向网络侧屏蔽所述移动终端支持所述第二网络通信的注册流程,包括以下至少之一:In one embodiment, when it is detected that the network quality of the first network satisfies the preset network quality condition, entering the connection to the first network and shielding the mobile terminal from supporting the second network from the network side A registration process for network communications, including at least one of the following:
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且不向所述网络侧上报所述移动终端支持所述第二网络通信的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and not reporting to the network side that the mobile terminal supports the communication of the second network process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端不支持所述第二网络通信的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and reporting to the network side that the mobile terminal does not support the communication of the second network process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端的所述第二网络通信异常的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and reporting the abnormal communication of the second network of the mobile terminal to the network side process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端的所述第二网络通信被禁用的注册流程。When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the process of connecting to the first network and reporting to the network side that the second network communication of the mobile terminal is disabled registration process.
在本公开的实施例中,移动终端在检测到第一网络的网络质量满足预设网络质量条件时,从而进入连接到第一网络且向网络侧屏蔽移动终端支持第二网络通信的注册流程时,可以是移动终端进入连接到第一网络且不向网络侧上报移动终端支持第二网络通信的注册流程,即移动终端支持第二网络通信能力,但不向网络侧上报该能力。移动终端进入连接到第一网络且向网络侧屏蔽移动终端支持第二网络通信的注册流程,还可以是移动终端进入连接到第一网络且向网络侧上报移动终端不支持第二网络通信的注册流程,即移动终端支持第二网络通信能力,但向网络侧上报移动终端不支持该能力。移动终端进入连接到第一网络且向网络侧屏蔽移动终端支持第二网络通信的注册流程,还可以是移动终端进入连接到第一网络且向网络侧上报移动终端的第二网络通信异常的注册流程,即移动终端支持第二网络通信能力,但向网络侧上报移动终端的第二网络通信异常。移动终端进入连接到第一网络且向网络侧屏蔽移动终端支持第二网络通信的注册流程,还可以是移动终端进入连接到第一网络且向网络侧上报移动终端的第二网络通信被禁用的注册流程,即移动终端支持第二网络通信能力,但当前移动终端的第二网络通信被禁用了。In the embodiment of the present disclosure, when the mobile terminal detects that the network quality of the first network satisfies the preset network quality condition, it enters the registration process of connecting to the first network and shielding the mobile terminal from supporting the communication of the second network to the network side. , it may be that the mobile terminal enters a registration process that connects to the first network and does not report to the network side that the mobile terminal supports communication on the second network, that is, the mobile terminal supports the communication capability of the second network but does not report this capability to the network side. The mobile terminal enters the registration process of connecting to the first network and shielding the mobile terminal from supporting the second network communication to the network side, or the mobile terminal enters the registration process of connecting to the first network and reporting to the network side that the mobile terminal does not support the second network communication The procedure is that the mobile terminal supports the communication capability of the second network, but reports to the network side that the mobile terminal does not support the capability. The mobile terminal enters the registration process of connecting to the first network and shielding the mobile terminal from supporting the communication of the second network to the network side, or the mobile terminal enters the registration process of connecting to the first network and reporting the abnormal communication of the mobile terminal to the network side in the second network The process is that the mobile terminal supports the communication capability of the second network, but reports the abnormality of the second network communication of the mobile terminal to the network side. The mobile terminal enters the registration process that connects to the first network and shields the mobile terminal from supporting the second network communication to the network side, or the mobile terminal enters the connection to the first network and reports to the network side that the second network communication of the mobile terminal is disabled Registration process, that is, the mobile terminal supports the second network communication capability, but the second network communication of the mobile terminal is currently disabled.
需要说明的是,移动终端上报移动终端不支持第二网络通信、或第二网络通信异常以及第二网络通信被禁用的消息时可以是以不同的标识信息来区分,本公开实施例对此不做限制。It should be noted that when the mobile terminal reports the message that the mobile terminal does not support the second network communication, or the second network communication is abnormal, or the second network communication is disabled, it may be distinguished by different identification information, which is not the case in the embodiments of the present disclosure. Do limit.
相关技术中,若移动终端位于多种网络覆盖的区域下被触发从带宽高的网络切换到带宽低的网络时,通常需要在用户发现的情况下,通过重启移动终端或者开关飞行模式等手动操作尝试终端重新搜索带宽较高的网络并注册。该种方式存在两方面问题,一是移动终端会切换到带宽较低的网络,且若用户未发现该网络切换时,移动终端以带宽较小的网络进行工作,对有数据需求的终端用户不够友好;二是若用户发现了该网络切换,需要用户手动操作,智能性差,从而使得用户体验不好。In related technologies, if a mobile terminal is located in an area covered by multiple networks and is triggered to switch from a high-bandwidth network to a low-bandwidth network, it is usually necessary to restart the mobile terminal or switch the flight mode manually when the user finds out. Try the terminal to re-search for a network with higher bandwidth and register. There are two problems in this method. One is that the mobile terminal will switch to a network with a lower bandwidth, and if the user does not find the network switch, the mobile terminal will work on a network with a smaller bandwidth, which is not enough for terminal users with data needs. Friendly; the second is that if the user finds the network switching, the user needs to manually operate, which is poor in intelligence, thus making the user experience bad.
相对的,本公开在移动终端被触发从第一网络切换到系统带宽低于第一网络的系统带宽的第二网络时,检测第一网络的网络质量,并在检测到第一网络的网络质量满足预设网络质量条件时,进入连接到第一网络且向网络侧屏蔽移动终端支持第二网络通信的注册流程。通过该种方式,能使得移动终端在位于多种网络覆盖的区域下能自动判断网络情况,并在第一网络质量满足预设网络质量条件时维持在第一网络下工作,而不会切换到第二网络。此外,本公开因在第一网络质量满足预设网络质量条件时不会切换到第二网络,也无需用户手动操作切换回第一网络,移动终端仍能保持以较高的网速工作,因而能提升用户体验。In contrast, the present disclosure detects the network quality of the first network when the mobile terminal is triggered to switch from the first network to the second network whose system bandwidth is lower than that of the first network, and detects the network quality of the first network When the preset network quality condition is satisfied, a registration process of connecting to the first network and shielding the mobile terminal from supporting the communication of the second network to the network side is entered. In this way, the mobile terminal can automatically judge the network situation in the area covered by multiple networks, and maintain the work under the first network when the quality of the first network meets the preset network quality conditions, without switching to second network. In addition, because the present disclosure does not switch to the second network when the quality of the first network satisfies the preset network quality conditions, and does not require manual operation by the user to switch back to the first network, the mobile terminal can still work at a relatively high network speed. Can improve user experience.
在一种实施例中,网络切换方法还包括:In one embodiment, the network switching method further includes:
若所述第一网络的网络质量不满足所述预设网络质量条件,切换到所述第二网络。If the network quality of the first network does not meet the preset network quality condition, switching to the second network.
在本公开的实施例中,若移动终端确定第一网络的网络质量不满足预设网络质量条件,则切换到第二网络工作,以使得移动终端能以当前网络质量可能相对较优的第二网络工作,以提升用户使用体验。In the embodiment of the present disclosure, if the mobile terminal determines that the network quality of the first network does not meet the preset network quality conditions, it will switch to the second network to work, so that the mobile terminal can use the second network with relatively better current network quality. Network work to enhance user experience.
在一种实施例中,网络切换方法还包括:In one embodiment, the network switching method further includes:
在触发所述移动终端从所述第一网络切换到所述第二网络的触发条件解除时,在所述移动终端的小区切换或重选的注册过程中,通知所述网络侧所述移动终端支持所述第二网络通信。When the trigger condition that triggers the handover of the mobile terminal from the first network to the second network is released, during the cell handover or reselection registration process of the mobile terminal, notify the network side of the mobile terminal The second network communication is supported.
在该实施例中,若触发移动终端从第一网络切换到第二网络的触发条件解除,即可在移动终端的小区切换或重选的注册过程中,通知网络侧移动终端支持第二网络通信,从而恢复移动终端的通信能力。In this embodiment, if the trigger condition that triggers the handover of the mobile terminal from the first network to the second network is released, the mobile terminal can notify the network side that the mobile terminal supports communication on the second network during the cell handover or reselection registration process of the mobile terminal. , thereby restoring the communication capability of the mobile terminal.
在本公开的实施例中,触发移动终端从第一网络切换到第二网络的触发条件解除,可以是移动终端离开了预设小区,或者网络侧的网路故障解除等。其中,移动终端离开了预设小区包括:移动终端从第一网络覆盖的预设小区,移动至第一网络覆盖的预设小区之外的小区;还包括:移动终端从第一网络覆盖的预设小区,移动至第一网络覆盖的小区范围外。In the embodiments of the present disclosure, the release of the trigger condition that triggers the handover of the mobile terminal from the first network to the second network may be that the mobile terminal leaves a preset cell, or a network fault on the network side is released, and the like. Wherein, the mobile terminal leaves the preset cell includes: the mobile terminal moves from the preset cell covered by the first network to a cell other than the preset cell covered by the first network; it also includes: the mobile terminal moves from the preset cell covered by the first network; Set up a cell, and move outside the range of the cell covered by the first network.
在一种实施例中,所述进入连接到所述第一网络且向网络侧屏蔽所述移动终端支持第二网络通信的注册流程,包括:In one embodiment, the entering into the registration process of connecting to the first network and shielding the mobile terminal from supporting the communication of the second network from the network side includes:
发起连接到所述第一网络的注册请求;其中,所述注册请求携带预设标识,所述预设标识的第一取值,指示所述移动终端不支持所述第二网络通信。Initiate a registration request to connect to the first network; wherein, the registration request carries a preset identifier, and a first value of the preset identifier indicates that the mobile terminal does not support communication on the second network.
在该实施例中,移动终端进入连接到第一网络且向网络侧屏蔽移动终端支持第二网络通信的注册流程时,可以是移动终端发起连接到第一网络的注册请求,并在注册请求中携带取值为第一取值的预设标识,从而告知网络侧移动终端不支持第二网络通信。In this embodiment, when the mobile terminal enters the registration process of connecting to the first network and shielding the mobile terminal from supporting communication on the second network from the network side, the mobile terminal may initiate a registration request to connect to the first network, and in the registration request Carrying a preset identifier whose value is the first value, so as to inform the network side that the mobile terminal does not support the second network communication.
在一种实施例中,所述预设标识的第二取值,指示所述移动终端支持所述第二网络通信;所述第二取值不同于所述第一取值。In an embodiment, the second value of the preset identifier indicates that the mobile terminal supports the second network communication; the second value is different from the first value.
在该实施例中,若移动终端在发起注册请求时,注册请求中携带的是取值为第二取值的预设标识,则告知网络侧移动终端支持第二网络通信。In this embodiment, if the mobile terminal initiates a registration request and the registration request carries a preset identifier with a second value, the network side is notified that the mobile terminal supports the second network communication.
图3为本公开一种网络切换方法交互示例图,如图3所示,应用于移动终端侧和网络侧的网络切换方法包括如下步骤:FIG. 3 is an interactive example diagram of a network switching method in the present disclosure. As shown in FIG. 3 , the network switching method applied to the mobile terminal side and the network side includes the following steps:
S101、移动终端接收从LTE网络切换到GSM网络的网络切换命令。S101. The mobile terminal receives a network switching command for switching from an LTE network to a GSM network.
在该实施例中,网络切换命令是由网络侧发送的,用于指示移动终端从LTE网络切换到GSM网络。In this embodiment, the network switching command is sent by the network side to instruct the mobile terminal to switch from the LTE network to the GSM network.
S102、移动终端根据网络切换命令,确定与LTE网络重新注册或切换到GSM网络;其中,在注册过程中屏蔽掉支持GSM网络通信的能力。S102. According to the network switching command, the mobile terminal determines to re-register with the LTE network or switch to the GSM network; where the ability to support GSM network communication is blocked during the registration process.
在该实施例中,移动终端可以是在确定当前LTE网络的网络质量满足预设网络质量条件后,重新和LTE网络进行注册来建立连接,并在注册过程中屏蔽掉支持GSM网络通信的能力。而若移动终端确定当前LTE网络的网络质量不满足预设网络质量条件,则切换到GSM网络。In this embodiment, after determining that the network quality of the current LTE network satisfies the preset network quality condition, the mobile terminal re-registers with the LTE network to establish a connection, and blocks the ability to support GSM network communication during the registration process. And if the mobile terminal determines that the network quality of the current LTE network does not meet the preset network quality condition, it will switch to the GSM network.
S103、若移动终端发生小区切换或重选,与LTE网络重新注册;其中,在注册过程中上报支持GSM网络通信的能力。S103. If cell handover or reselection occurs in the mobile terminal, re-register with the LTE network; wherein, report the ability to support GSM network communication during the registration process.
在该实施例中,如果移动终端是在屏蔽支持GSM网络的能力后重新注册到LTE小区,或者选择到其他LTE小区,那么需要再重新发起一次注册流程并向网络侧上报移动终端支持GSM网络通信的能力。In this embodiment, if the mobile terminal re-registers to the LTE cell after shielding the ability to support the GSM network, or chooses to select another LTE cell, it needs to re-initiate the registration process and report to the network side that the mobile terminal supports GSM network communication. Ability.
本公开在移动终端被触发从LTE网络切换到GSM时,进入连接到LTE网络且向网络侧屏蔽移动终端支持GSM网络通信的注册流程。能使得移动终端在位于多种网络覆盖的区域下能在质量较好的LTE网络条件下工作,或者是当LTE网络条件不好时切换到GSM网络,从而使得移动终端能主动控制网络的使用,具备智能性,能提升用户的使用体验。In the present disclosure, when the mobile terminal is triggered to switch from the LTE network to the GSM, it enters into a registration process of connecting to the LTE network and shielding the mobile terminal from supporting GSM network communication from the network side. It can enable the mobile terminal to work under the LTE network condition with better quality in the area covered by various networks, or switch to the GSM network when the LTE network condition is not good, so that the mobile terminal can actively control the use of the network, With intelligence, it can improve the user experience.
图4是根据一示例性实施例示出的一种网络切换装置图。该装置应用于移动终端中,参照图4,所述装置包括:Fig. 4 is a diagram showing a network switching device according to an exemplary embodiment. The device is applied in a mobile terminal. Referring to FIG. 4, the device includes:
检测模块201,配置为在所述移动终端被触发从第一网络切换到第二网络时,检测所述第一网络的网络质量;其中,所述第二网络的系统带宽小于所述第一网络的系统带宽;The detection module 201 is configured to detect the network quality of the first network when the mobile terminal is triggered to switch from the first network to the second network; wherein, the system bandwidth of the second network is smaller than that of the first network system bandwidth;
第一注册模块202,配置为在检测到所述第一网络的网络质量满足预设网络质量条件时,进入连接到所述第一网络且向网络侧屏蔽所述移动终端支持所述第二网络通信的注册流程。The first registration module 202 is configured to connect to the first network and shield the mobile terminal from supporting the second network from the network side when it is detected that the network quality of the first network satisfies a preset network quality condition Newsletter registration process.
可选的,所述装置还包括:Optionally, the device also includes:
第二注册模块203,配置为在触发所述移动终端从所述第一网络切换到所述第二网络的触发条件解除时,在所述移动终端的小区切换或重选的注册过程中,通知所述网络侧所述移动终端支持所述第二网络通信。The second registration module 203 is configured to, when the trigger condition that triggers the handover of the mobile terminal from the first network to the second network is released, during the cell handover or reselection registration process of the mobile terminal, notify The mobile terminal on the network side supports the second network communication.
可选的,所述第一注册模块203,具体配置为发起连接到所述第一网络的注册请求;其中,所述注册请求携带预设标识,所述预设标识的第一取值,指示所述移动终端不支持所述第二网络通信。Optionally, the first registration module 203 is specifically configured to initiate a registration request to connect to the first network; wherein, the registration request carries a preset identifier, and the first value of the preset identifier indicates The mobile terminal does not support the second network communication.
可选的,所述预设标识的第二取值,指示所述移动终端支持所述第二网络通信;所述第二取值不同于所述第一取值。Optionally, the second value of the preset identifier indicates that the mobile terminal supports the second network communication; the second value is different from the first value.
可选的,所述触发所述移动终端从第一网络切换到第二网络的触发条件,包括:Optionally, the trigger condition for triggering the handover of the mobile terminal from the first network to the second network includes:
所述移动终端接入所述第一网络的预设小区;The mobile terminal accesses a preset cell of the first network;
和/或,and / or,
接收触发所述移动终端从所述第一网络切换到所述第二网络的切换指令。A handover instruction triggering handover of the mobile terminal from the first network to the second network is received.
可选的,所述装置还包括:Optionally, the device also includes:
切换模块204,配置为若所述第一网络的网络质量不满足所述预设网络质量条件,切换到所述第二网络。The switching module 204 is configured to switch to the second network if the network quality of the first network does not meet the preset network quality condition.
可选的,所述第一注册模块,具体配置为包括以下至少之一:Optionally, the first registration module is specifically configured to include at least one of the following:
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且不向所述网络侧上报所述移动终端支持所述第二网络通信的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and not reporting to the network side that the mobile terminal supports the communication of the second network process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端不支持所述第二网络通信的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and reporting to the network side that the mobile terminal does not support the communication of the second network process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端的所述第二网络通信异常的注册流程;When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the registration of connecting to the first network and reporting the abnormal communication of the second network of the mobile terminal to the network side process;
在检测到所述第一网络的网络质量满足所述预设网络质量条件时,进入连接到所述第一网络且向所述网络侧上报所述移动终端的所述第二网络通信被禁用的注册流程。When it is detected that the network quality of the first network satisfies the preset network quality condition, enter the process of connecting to the first network and reporting to the network side that the second network communication of the mobile terminal is disabled registration process.
可选的,所述第一网络的网络质量满足预设网络质量条件,包括:Optionally, the network quality of the first network meets a preset network quality condition, including:
所述第一网络的信号强度大于预设强度阈值;和/或,The signal strength of the first network is greater than a preset strength threshold; and/or,
所述第一网络的信噪比大于预设比值;和/或,The signal-to-noise ratio of the first network is greater than a preset ratio; and/or,
所述第一网络的误码率小于预设误码率。The bit error rate of the first network is less than a preset bit error rate.
可选的,所述检测模块201,具体配置为基于所述移动终端内的网络诊断工具,检测所述第一网络的网络质量;或,基于与所述第一网络的业务交互状况,检测所述第一网络的网络质量。Optionally, the detection module 201 is specifically configured to detect the network quality of the first network based on a network diagnostic tool in the mobile terminal; or, based on the service interaction status with the first network, detect the network quality of the first network. Describe the network quality of the first network.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
图5是根据一示例性实施例示出的一种移动终端800的框图。例如,装置800可以是移动电话,移动电脑等。Fig. 5 is a block diagram of a
参照图5,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。Referring to FIG. 5, the
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The
存储器804被配置为存储各种类型的数据以支持在设备800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The
电源组件806为装置800的各种组件提供电力。电力组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。The
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如Wi-Fi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment,
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行网络切换方法,所述方法包括:A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of the mobile terminal, the mobile terminal is enabled to perform a network switching method, the method comprising:
在所述移动终端被触发从第一网络切换到第二网络时,检测所述第一网络的网络质量;其中,所述第二网络的系统带宽小于所述第一网络的系统带宽;When the mobile terminal is triggered to switch from the first network to the second network, detecting the network quality of the first network; wherein, the system bandwidth of the second network is smaller than the system bandwidth of the first network;
在检测到所述第一网络的网络质量满足预设网络质量条件时,进入连接到所述第一网络且向网络侧屏蔽所述移动终端支持所述第二网络通信的注册流程。When it is detected that the network quality of the first network satisfies the preset network quality condition, enter a registration process of connecting to the first network and shielding the mobile terminal from supporting the second network communication from the network side.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any modification, use or adaptation of the present disclosure. These modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (18)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110167925.5A CN112770368B (en) | 2021-02-07 | 2021-02-07 | Network switching method and device, mobile terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110167925.5A CN112770368B (en) | 2021-02-07 | 2021-02-07 | Network switching method and device, mobile terminal and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112770368A CN112770368A (en) | 2021-05-07 |
| CN112770368B true CN112770368B (en) | 2022-12-13 |
Family
ID=75705271
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110167925.5A Active CN112770368B (en) | 2021-02-07 | 2021-02-07 | Network switching method and device, mobile terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112770368B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105722159A (en) * | 2016-02-05 | 2016-06-29 | 中国移动通信集团江苏有限公司 | Network switching method, method and device for determining network switching area |
| WO2017092678A1 (en) * | 2015-11-30 | 2017-06-08 | 华为技术有限公司 | Network switching method for terminal, and terminal device |
| CN108029066A (en) * | 2015-09-18 | 2018-05-11 | 三星电子株式会社 | For the method switched in a wireless communication system and the device for supporting this method |
| CN108419279A (en) * | 2018-02-08 | 2018-08-17 | 四川速宝网络科技有限公司 | Network switching system |
| CN112243280A (en) * | 2020-10-20 | 2021-01-19 | Oppo广东移动通信有限公司 | Service initiating method, device, terminal and storage medium |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101932057B (en) * | 2009-06-22 | 2013-08-28 | 华为技术有限公司 | Handover processing method, communication device and communication system for handover processing |
| CN108811006B (en) * | 2017-05-02 | 2022-01-07 | 大唐移动通信设备有限公司 | Information processing method and device |
| CN107484217B (en) * | 2017-09-20 | 2018-11-27 | 广东欧珀移动通信有限公司 | Method for switching and registering IP multimedia subsystem, mobile terminal and storage medium |
-
2021
- 2021-02-07 CN CN202110167925.5A patent/CN112770368B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108029066A (en) * | 2015-09-18 | 2018-05-11 | 三星电子株式会社 | For the method switched in a wireless communication system and the device for supporting this method |
| WO2017092678A1 (en) * | 2015-11-30 | 2017-06-08 | 华为技术有限公司 | Network switching method for terminal, and terminal device |
| CN105722159A (en) * | 2016-02-05 | 2016-06-29 | 中国移动通信集团江苏有限公司 | Network switching method, method and device for determining network switching area |
| CN108419279A (en) * | 2018-02-08 | 2018-08-17 | 四川速宝网络科技有限公司 | Network switching system |
| CN112243280A (en) * | 2020-10-20 | 2021-01-19 | Oppo广东移动通信有限公司 | Service initiating method, device, terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112770368A (en) | 2021-05-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108496385B (en) | Information reporting method and device and bandwidth part-based operation method and device | |
| CN112954812B (en) | Information transmission method and information transmission device | |
| CN110291840B (en) | A connection processing method, device and medium | |
| WO2018076820A1 (en) | Method and device for processing wireless link failure | |
| CN113873607B (en) | Cell switching method and device | |
| WO2017166739A1 (en) | Method and device for performing neighbor cell detection during cell re-selection | |
| CN106413011B (en) | Network switching method and device | |
| CN110337825A (en) | Service switching method and device | |
| WO2020237523A1 (en) | Method for determining network switching resource and method for configuring network switching resource | |
| CN110337826A (en) | Network switching resource determining method and network switching resource configuration method | |
| CN108112089A (en) | Accidental access method, device and non-transitorycomputer readable storage medium | |
| CN106792937A (en) | The processing method and processing device of call request | |
| CN106792941B (en) | Processing method and device for continuous switching of single radio frequency voice call | |
| CN112671978B (en) | Call control method, device and storage medium | |
| CN115334582A (en) | Information transmission method, device, storage medium and chip | |
| CN112492654A (en) | Network control method, device and storage medium | |
| CN104853401A (en) | Method and device for controlling access | |
| CN105792296A (en) | Voice fallback trigger method and terminal | |
| CN112752315B (en) | Method for reducing terminal temperature, device for reducing terminal temperature and storage medium | |
| CN111837411B (en) | Information transmitting method, base station switching method, information receiving method and device | |
| CN112770368B (en) | Network switching method and device, mobile terminal and storage medium | |
| CN106535147A (en) | Communication signal processing method and apparatus | |
| CN109451832B (en) | Wireless communication method, device and computer readable storage medium | |
| CN112804769B (en) | Method, device and storage medium for connecting network | |
| CN115039510B (en) | Capability sending method and device, capability receiving method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |