CN106851702A - Method and device for processing abnormality of network communication function - Google Patents
Method and device for processing abnormality of network communication function Download PDFInfo
- Publication number
- CN106851702A CN106851702A CN201611146431.4A CN201611146431A CN106851702A CN 106851702 A CN106851702 A CN 106851702A CN 201611146431 A CN201611146431 A CN 201611146431A CN 106851702 A CN106851702 A CN 106851702A
- Authority
- CN
- China
- Prior art keywords
- modem
- cell
- abnormal
- network
- network 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/02—Access restriction performed under specific conditions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信领域,尤其涉及一种网络通信功能异常的处理方法及装置。The invention relates to the communication field, in particular to a method and device for processing abnormal network communication functions.
背景技术Background technique
移动互联网的高速发展使数据业务占据绝对的比重,手机中的调制解调器的作用和地位日益重要。在手机所处的移动网络环境十分复杂,手机经常会在不同的通信制式之间进行切换,或者尝试某个问题小区或者驻留在某个信号较弱的小区。调制解调器在这些场景下经常会发生网络通信功能异常,手机无法正常连网通信或者死机。With the rapid development of mobile Internet, data services occupy an absolute proportion, and the role and status of modems in mobile phones are becoming increasingly important. The mobile network environment where the mobile phone is located is very complicated, and the mobile phone often switches between different communication systems, or tries a certain problematic cell or resides in a cell with a weak signal. In these scenarios, the modem often has abnormal network communication functions, and the mobile phone cannot communicate with the network normally or crashes.
在现有技术中,当手机的调制解调器无法连网引起的通信异常或者死机时,手机无法自动规避问题和恢复正常,只能自动关闭无线接入技术(Radio Access Technology,RAT)或者由用户手动关闭出现问题的RAT,或者手机需要反馈厂商,通过厂商进行问题分析和解决,操作不灵活,适用性低。In the prior art, when the modem of the mobile phone cannot be connected to the Internet and the communication is abnormal or crashes, the mobile phone cannot automatically avoid the problem and return to normal, and can only automatically turn off the Radio Access Technology (RAT) or manually by the user The RAT or mobile phone that has a problem needs to be reported to the manufacturer, and the manufacturer analyzes and solves the problem. The operation is inflexible and the applicability is low.
发明内容Contents of the invention
本发明实施例提供一种网络通信功能异常的处理方法及装置,可提高网络通信异常的恢复效率。Embodiments of the present invention provide a method and device for processing abnormal network communication functions, which can improve recovery efficiency of abnormal network communication functions.
第一方面,本发明实施例提供了一种网络通信功能异常的处理方法,包括:In the first aspect, the embodiment of the present invention provides a method for processing an abnormal network communication function, including:
检测调制解调器的网络通信功能;Detect the network communication function of the modem;
当所述调制解调器的网络通信功能异常时,断开所述调制解调器与当前小区的网络连接,并将所述当前小区设置为禁止小区;When the network communication function of the modem is abnormal, disconnect the network connection between the modem and the current cell, and set the current cell as a prohibited cell;
搜索所述调制解调器支持的无线接入技术RAT对应的小区,所述小区不包括所述禁止小区;Searching for a cell corresponding to the radio access technology RAT supported by the modem, where the cell does not include the forbidden cell;
若搜索得到所述调制解调器支持的RAT对应的目标小区,则建立所述调制解调器与所述目标小区的网络连接。If searching for a target cell corresponding to the RAT supported by the modem, establishing a network connection between the modem and the target cell.
第二方面,本发明实施例提供了一种网络通信功能异常的处理装置,包括:In a second aspect, an embodiment of the present invention provides a device for processing abnormal network communication functions, including:
检测模块,用于检测调制解调器的网络通信功能;The detection module is used to detect the network communication function of the modem;
连接模块,用于当所述检测模块检测得到所述调制解调器的网络通信功能异常时,断开所述调制解调器与当前小区的网络连接;A connection module, configured to disconnect the network connection between the modem and the current cell when the detection module detects that the network communication function of the modem is abnormal;
设置模块,用于将所述当前小区设置为禁止小区;a setting module, configured to set the current cell as a prohibited cell;
搜索模块,用于搜索所述调制解调器支持的无线接入技术RAT对应的小区,所述小区不包括所述禁止小区;A search module, configured to search for a cell corresponding to the radio access technology RAT supported by the modem, and the cell does not include the forbidden cell;
连接模块,还用于在所述搜索模块搜索得到所述调制解调器支持的RAT对应的目标小区时,建立所述调制解调器与所述目标小区的网络连接。The connection module is further configured to establish a network connection between the modem and the target cell when the search module searches for a target cell corresponding to a RAT supported by the modem.
第三方面,本发明实施例提供的一种终端设备,其可包括:存储器和处理器;In a third aspect, a terminal device provided by an embodiment of the present invention may include: a memory and a processor;
所述存储器用于存储一组程序代码;The memory is used to store a set of program codes;
所述处理器用于调用所述存储器中存储的程序代码执行第一方面提供的方法。The processor is configured to invoke program codes stored in the memory to execute the method provided in the first aspect.
在本发明实施例中,当调制解调器的网络通信功能出现异常时,可直接断开调制解调器与当前小区的网络连接,并将当前小区设置为禁止小区,以避免调制解调器反复尝试建立与当前小区的通信连接,消耗资源。进一步的,可重新搜索调制解调器支持的无线接入技术对应的其他小区,从其他小区中选择目标小区,建立调制解调器与目标小区的通信连接,恢复调制解调器的网络通信功能,提高了网络通信功能恢复的效率。In the embodiment of the present invention, when the network communication function of the modem is abnormal, the network connection between the modem and the current cell can be directly disconnected, and the current cell can be set as a prohibited cell, so as to avoid the modem repeatedly trying to establish a communication connection with the current cell ,Consume resources. Further, other cells corresponding to the wireless access technology supported by the modem can be searched again, the target cell can be selected from other cells, the communication connection between the modem and the target cell can be established, and the network communication function of the modem can be restored, thereby improving the recovery efficiency of the network communication function .
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明实施例提供的一种网络通信功能异常的处理方法的流程示意图;FIG. 1 is a schematic flowchart of a method for processing abnormal network communication functions provided by an embodiment of the present invention;
图2是本发明实施例提供的一种网络通信功能异常的处理方法的另一流程示意图;FIG. 2 is another schematic flowchart of a method for processing abnormal network communication functions provided by an embodiment of the present invention;
图3是本发明实施例提供的一种网络通信功能异常的处理装置的一结构示意图;FIG. 3 is a schematic structural diagram of a device for processing abnormal network communication functions provided by an embodiment of the present invention;
图4是本发明实施例提供的一种网络通信功能异常的处理装置的另一结构示意图;FIG. 4 is another schematic structural diagram of a processing device for abnormal network communication functions provided by an embodiment of the present invention;
图5是本发明实施例提供的一种终端设备的结构示意图。Fig. 5 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
参见图1,为本发明实施例提供的一种网络通信功能异常的处理方法的流程示意图,在本发明实施例中,所述方法包括步骤:Referring to FIG. 1 , it is a schematic flowchart of a method for processing abnormal network communication functions provided by an embodiment of the present invention. In the embodiment of the present invention, the method includes steps:
S101,检测调制解调器的网络通信功能。S101. Detect the network communication function of the modem.
在一些可行的实施方式中,本发明实施例提供的网络通信功能异常的处理方法的执行主体可为应用处理器(英文:Application Processor,简称AP)和调制解调器,即应用处理器和调制解调器协作完成。其中,上述AP用于在低功耗CPU的基础上扩展音视频功能和专用接口的超大规模集成电路,是智能手机中的重要部件。AP和基带处理器(或称基带芯片)可以是独立的两个芯片,基带芯片中包含调制解调器等多个模块。AP和基带处理器也可以是集成在一起的一个芯片,具体可根据实际应用场景确定,在此不做限制。调制解调器用于将基带信号转换为射频信号、将射频信号转换为基带信号、处理接入层(AS)和非接入层(NAS)的信令、以及与AP进行接口等。In some feasible implementation manners, the execution subject of the method for handling abnormal network communication functions provided by the embodiments of the present invention may be an application processor (English: Application Processor, AP for short) and a modem, that is, the application processor and the modem cooperate to complete. Among them, the above-mentioned AP is used to expand audio and video functions and special interface VLSI on the basis of low-power CPU, and is an important component in smart phones. The AP and the baseband processor (or baseband chip) may be two independent chips, and the baseband chip includes multiple modules such as a modem. The AP and the baseband processor may also be integrated into one chip, which may be determined according to actual application scenarios, and is not limited here. The modem is used to convert baseband signals to radio frequency signals, convert radio frequency signals to baseband signals, handle access stratum (AS) and non-access stratum (NAS) signaling, and interface with APs, etc.
在一些可行的实施方式中,调制解调器支持多种协议栈。调制解调器出现异常时,可通过其支持的多种协议栈进行网络注册,以恢复通信功能。当调制解调器检测到发生网络通信功能异常之后;如死机/assert,调制解调器会发生崩溃crash/dump;又如上/下行信道解调CRC高概率失败等;无法正常进行数据处理,导致用户不能上网和打电话等。为了恢复正常网络,调制解调器则需要对网络通信功能异常的原因进行判断,进而可根据具体原因进行规避/自动恢复。进一步的,调制解调器出现网络通信功能异常之后,也可向AP发送网络通信功能异常的指示消息,并由AP执行网络通信功能异常的处理过程。In some possible implementations, the modem supports multiple protocol stacks. When the modem is abnormal, it can register with the network through various protocol stacks it supports to restore the communication function. When the modem detects that the network communication function is abnormal; such as crash/assert, the modem will crash/dump; and the demodulation CRC of the up/down channel has a high probability of failure, etc.; data processing cannot be performed normally, resulting in users being unable to access the Internet and make calls Wait. In order to restore the normal network, the modem needs to judge the cause of the abnormal network communication function, and then avoid/automatically recover according to the specific cause. Further, after the modem has an abnormal network communication function, it may also send an indication message indicating the abnormal network communication function to the AP, and the AP executes a processing procedure for the abnormal network communication function.
在一些可行的实施方式中,调制解调器处理网络功能异常的原因可包括终端被叫(Mobile Terminating,简称MT)呼叫失败或者终端主叫(Mobile Original,简称MO)呼叫失败、信道解码失败、专用承载激活失败或者专用承载修改失败、公用数据网(Public DataNetwork,PDN)连接建立失败、传输数据失败、位置更新失败以及网络注册失败等,在此不做限制。In some feasible implementation manners, the reason why the modem handles the abnormality of the network function may include failure of the called terminal (Mobile Terminating, MT for short) call failure or mobile original calling (Mobile Original, MO) call failure, channel decoding failure, dedicated bearer activation Failure or dedicated bearer modification failure, public data network (Public DataNetwork, PDN) connection establishment failure, data transmission failure, location update failure, network registration failure, etc., are not limited here.
在一些可行的实施方式中,无线资源控制(Radio Resource Control,简称RRC)连接建立的原因分为MT发起的RRC建立和MO发起的RRC建立。MT/MO呼叫失败的原因有:呼叫阻塞(用户设备(User Equipment,UE)发起MO或MT的RRC连接建立前根据系统消息块(SystemInformation Block,简称SIB)的呼叫阻塞参数进行接入阻塞检测,若检测接入被阻塞,不发送RRC连接建立请求消息)、在定时器T300超时之前收到RRC连接拒绝消息(基站收到RRC连接建立请求后进行接入控制或负载控制的结果是不允许RRC连接建立,则基站向UE发送RRC连接拒绝消息)、T300定时器超时前未收到基站发送的RRC连接建立或RRC连接拒绝消息、UE发送RRC连接建立请求消息失败(包括随机接入过程的失败)、call建立过程中的任一个信令流程失败(如网络对寻呼响应消息paging response不响应、鉴权失败等)。UE发起MT/MO呼叫失败时,将导致调制解调器的网络通信异常,调制解调器可以检测到网络通信异常的原因为MT/MO呼叫失败。In some feasible implementation manners, the reasons for establishing a radio resource control (Radio Resource Control, RRC for short) connection are divided into RRC establishment initiated by the MT and RRC establishment initiated by the MO. The reasons for MT/MO call failure are: call blocking (user equipment (User Equipment, UE) initiates MO or before the RRC connection establishment of MT, according to the call blocking parameter of system information block (SystemInformation Block, referred to as SIB), the access blocking detection is performed, If it is detected that the access is blocked, the RRC connection establishment request message is not sent), and the RRC connection rejection message is received before the timer T300 times out (the base station performs access control or load control after receiving the RRC connection establishment request. If the connection is established, the base station sends an RRC connection rejection message to the UE), the RRC connection establishment or RRC connection rejection message sent by the base station is not received before the T300 timer expires, and the UE fails to send the RRC connection establishment request message (including the failure of the random access process ), any signaling process in the call establishment process fails (such as the network does not respond to the paging response message, authentication fails, etc.). When the UE fails to initiate an MT/MO call, it will cause abnormal network communication of the modem, and the modem can detect that the cause of the abnormal network communication is the failure of the MT/MO call.
在一些可行的实施方式中,由于某些网络原因,合法的UE注册网络有时候也会被网络拒绝导致无服务,必须由用户手动重启再重试注册。其中,UE注册网络失败的原因包括网络鉴权流程失败、国际漫游时运营商之间签约问题等。例如:UE发送附着请求(AttachRequest或LAU)消息后,在定时器T3410超时之前接收到网络发送的附着拒绝(AttachReject)消息,附着拒绝消息里携带网络拒绝UE附着的原因,例如,非法UE(Illegal ME)、EPS服务不被允许(EPS services not allowed)、PLMN不被允许(PLMN not allowed)以及跟踪区域不被允许(Tracking area not allowed)等。当UE收到附着拒绝后进入无服务(Out of Service,OOS)状态,调制解调器可检测到网络通信功能异常的原因为网络注册失败等。In some feasible implementation manners, due to some network reasons, the legitimate UE registration network may sometimes be rejected by the network, resulting in no service, and the user must manually restart and retry the registration. Among them, the reasons for the failure of the UE to register with the network include the failure of the network authentication process, the signing problem between operators during international roaming, and the like. For example: after the UE sends an Attach Request (AttachRequest or LAU) message, it receives an Attach Reject (AttachReject) message from the network before the timer T3410 expires. ME), EPS services not allowed, PLMN not allowed (PLMN not allowed), tracking area not allowed (Tracking area not allowed), etc. When the UE enters an Out of Service (OOS) state after receiving the attach rejection, the modem may detect that the reason for the abnormality of the network communication function is the network registration failure and the like.
在一些可行的实施方式中,调制解调器在UE的网络注册或网络使用过程中一般需要进行专用承载处理,包括专用承载激活或专用承载修改。专用承载激活或专用承载修改可以由UE或者网络侧发起。网络侧具体可以通过向移动终端发送专用承载激活请求(ACTIVATE DEDICATED EPS BEARER CONTEXT REQUEST)或专用承载修改请求(MODIFY EPSBEARER CONTEXT REQUEST)发起专用承载激活或专用承载修改。UE的调制解调器具体通过发送承载资源分配请求消息(BEARER RESOURCE ALLOCATION REQUEST)或承载资源修改请求消息(BEARER RESOURCE MODIFICATION REQUEST)发起专用承载激活或专用承载修改。而在专用承载激活或专用承载修改的过程中,如果在UE侧出现以下情况,专用承载处理将产生异常,例如:专用承载激活失败或专用承载修改失败。这些情况包括:欲激活的专用承载标识与已存在的默认承载标识冲突、欲激活的专用承载标识与已存在的专用承载标识冲突、欲激活的专用承载所关联的默认承载未建立、发送专用承载激活完成消息(ACTIVATEDEDICATED EPS BEARER CONTEXT ACCEPT)或发送专用承载修改完成消息(MODIFY EPSBEARER CONTEXT ACCEPT)时RRC层指示消息发送失败。调制解调器可通过检测在专用承载激活或专用承载修改的过程中是否存在上述情况,以此来判断专用承载激活或专用承载修改是否失败,以确定调制解调器的专用承载处理是否发生异常。若检测得到专用承载激活失败或者专用承载修改失败,则可确定调制解调器的网络通信功能异常。In some feasible implementation manners, the modem generally needs to perform dedicated bearer processing, including dedicated bearer activation or dedicated bearer modification, during network registration or network use of the UE. Dedicated bearer activation or dedicated bearer modification can be initiated by the UE or the network side. Specifically, the network side may initiate dedicated bearer activation or dedicated bearer modification by sending a dedicated bearer activation request (ACTIVATE DEDICATED EPS BEARER CONTEXT REQUEST) or a dedicated bearer modification request (MODIFY EPSBEARER CONTEXT REQUEST) to the mobile terminal. Specifically, the modem of the UE initiates dedicated bearer activation or dedicated bearer modification by sending a bearer resource allocation request message (BEARER RESOURCE ALLOCATION REQUEST) or a bearer resource modification request message (BEARER RESOURCE MODIFICATION REQUEST). However, during the process of activating or modifying the dedicated bearer, if the following situations occur on the UE side, the processing of the dedicated bearer will generate an exception, for example: the activation of the dedicated bearer fails or the modification of the dedicated bearer fails. These situations include: the dedicated bearer identifier to be activated conflicts with the existing default bearer identifier, the dedicated bearer identifier to be activated conflicts with the existing dedicated bearer identifier, the default bearer associated with the dedicated bearer to be activated has not been established, and the dedicated bearer When sending an activation completion message (ACTIVATEDEDICATED EPS BEARER CONTEXT ACCEPT) or sending a dedicated bearer modification completion message (MODIFY EPSBEARER CONTEXT ACCEPT), the RRC layer indicates that the sending of the message failed. The modem can determine whether the activation of the dedicated bearer or the modification of the dedicated bearer fails by detecting whether the above situation exists during the process of activating the dedicated bearer or modifying the dedicated bearer, so as to determine whether the processing of the dedicated bearer of the modem is abnormal. If it is detected that the activation of the dedicated bearer fails or the modification of the dedicated bearer fails, it can be determined that the network communication function of the modem is abnormal.
在一些可行的实施方式中,公用数据网(Public Data Network,PDN)是一种由电信运营商组建的广域网,提供接入广域网的服务与技术,为用户提供高质量数据传输服务。PDN是由局域或长途电信局提供的一种分组交换或电路交换服务,提供的分组交换服务通常包括X.25、帧中继、交换式多兆位数据服务或异步传送模式,电路交换服务包括拨号线、交换56线路和综合业务数字网络。移动终端通过接入点名称(Access Point Name,APN)访问PDN,不同的APN也对应不同的PDN网络,由运营商定义。APN指一种网络接入技术,是通过UE上网时必须配置的一个参数,它决定了UE通过哪种接入方式来访问网络。对于UE用户来说,可以访问的外部网络类型有很多,例如:Internet、WAP网站、集团企业内部网络、行业内部专用网络。而不同的接入点所能访问的范围以及接入的方式是不同的。PDN通过调制解调器,将网络控制中心和用户入网设备互连起来进行数据通信,从而达到上网的目的。当UE与PDN成功建立连接时,用户才能通过手机正常上网,一旦所述PDN连接建立失败,手机将无法正常上网。In some feasible implementation manners, a public data network (Public Data Network, PDN) is a wide area network established by a telecom operator, which provides services and technologies for accessing the wide area network, and provides users with high-quality data transmission services. PDN is a packet switching or circuit switching service provided by a local or long-distance telecommunications bureau. The packet switching services provided usually include X.25, frame relay, switched multi-megabit data service or asynchronous transfer mode, circuit switching service Including dial-up lines, switching 56 lines and ISDN. The mobile terminal accesses the PDN through an access point name (Access Point Name, APN), and different APNs correspond to different PDN networks, which are defined by operators. APN refers to a network access technology, which is a parameter that must be configured when the UE accesses the Internet, and it determines which access method the UE uses to access the network. For UE users, there are many types of external networks that can be accessed, such as: Internet, WAP website, group enterprise internal network, and industry internal private network. However, different access points have different access ranges and access methods. The PDN interconnects the network control center and the user's network access equipment through a modem for data communication, so as to achieve the purpose of surfing the Internet. When the connection between the UE and the PDN is successfully established, the user can normally access the Internet through the mobile phone. Once the PDN connection fails to be established, the mobile phone will not be able to access the Internet normally.
调制解调器在运行过程中实时检测PDN连接是否成功建立,当检测到PDN连接失败时,可以确定此时调制解调器与PDN之间的连接建立失败。UE通过发送PDN连接请求消息发起建立新的PDN连接,网络侧为新的PDN连接建立新的默认承载。引起PDN连接建立失败的原因包括网络侧拒绝PDN连接建立、UE发送的PDN连接建立请求消息超时或无线资源控制协议RRC层指示PDN连接建立请求发送失败。网络侧拒绝PDN连接建立请求的原因包括:运营商阻塞、APN未知、PDN类型未知、鉴权失败、不允许PDN类型IPv4、不允许PDN类型IPv6、指定APN不允许多个PDN或资源受限等。调制解调器检测到PDN连接失败,则可确定调制解调器的网络通信功能异常。During operation, the modem detects in real time whether the PDN connection is successfully established, and when it detects that the PDN connection fails, it can be determined that the connection between the modem and the PDN fails to be established at this time. The UE initiates establishing a new PDN connection by sending a PDN connection request message, and the network side establishes a new default bearer for the new PDN connection. The reasons causing the PDN connection establishment failure include that the network side rejects the PDN connection establishment, the PDN connection establishment request message sent by the UE times out, or the RRC layer of the radio resource control protocol indicates that the PDN connection establishment request fails to be sent. The reasons why the network side rejects the PDN connection establishment request include: operator blocking, unknown APN, unknown PDN type, authentication failure, PDN type IPv4 is not allowed, PDN type IPv6 is not allowed, multiple PDNs are not allowed for the specified APN, or resources are limited, etc. . If the modem detects that the PDN connection fails, it can be determined that the network communication function of the modem is abnormal.
在一些可行的实施方式中,UE通过发送位置更新请求消息(如LOCATION UPDATEREQUEST、TRACKING AREA UPDATE REQUEST等)发起位置注册过程,在UE完成位置更新之前,协议栈异常或网络侧拒绝位置更新都可以导致UE位置更新失败。导致位置更新失败的异常原因还包括:信号覆盖差或信号干扰大导致RRC无线链路建立失败、NAS层收到RRC层的错误指示或者收到RRC层的NAS信令连接释放指示、UE进入了一个新的跟踪区域(TA)、RRC层指示位置更新请求消息发送失败、UE发送位置更新完成消息(TRACKING AREA UPDATECOMPLETE)时RRC层指示消息发送失败、定时器T3430超时之前未收到网络侧发送的位置更新允许消息(TRACKING AREA UPDATE ACCEPT)位置更新拒绝(TRACKING AREA UPDATEREJECT)消息、位置更新拒绝(TRACKING AREA UPDATE REJECT)消息中的原因字段检测失败、位置更新过程和其他过程冲突、UE鉴权失败或安全激活失败等。如果检测到UE的位置注册失败,此时可确定调制解调器的网络通信功能异常。In some feasible implementations, the UE initiates the location registration process by sending a location update request message (such as LOCATION UPDATEREQUEST, TRACKING AREA UPDATE REQUEST, etc.). Before the UE completes the location update, the protocol stack exception or the network side rejects the location update. UE location update failed. The abnormal causes of location update failure also include: poor signal coverage or strong signal interference leading to RRC wireless link establishment failure, NAS layer receiving an error indication from RRC layer or receiving NAS signaling connection release indication from RRC layer, UE entering A new tracking area (TA), the RRC layer indicates that the location update request message fails to be sent, the UE sends the location update completion message (TRACKING AREA UPDATECOMPLETE) when the RRC layer indicates that the message fails to be sent, and the timer T3430 expires before it does not receive the message sent by the network side Location update permission message (TRACKING AREA UPDATE ACCEPT) location update rejection (TRACKING AREA UPDATE REJECT) message, location update rejection (TRACKING AREA UPDATE REJECT) message reason field detection failure, location update process conflicts with other processes, UE authentication failure or Security activation failed, etc. If it is detected that the location registration of the UE fails, it can be determined that the network communication function of the modem is abnormal.
在一些可行的实施方式中,调制解调器可在检测到网络通信功能异常时,判断引起网络通信功能异常的原因是否为信道解码失败,若是则可进行网络修复。上述信道解码失败可包括:paging寻呼信道等公共信道解码失败,或者Broadcast广播信道解码失败等,在此不做限制。In some feasible implementation manners, when the modem detects the abnormality of the network communication function, it can determine whether the cause of the abnormality of the network communication function is channel decoding failure, and if so, it can perform network repair. The foregoing channel decoding failure may include: a common channel decoding failure such as a paging paging channel, or a Broadcast channel decoding failure, etc., which are not limited here.
S102,当所述调制解调器的网络通信功能异常时,断开所述调制解调器与当前小区的网络连接,并将所述当前小区设置为禁止小区。S102. When the network communication function of the modem is abnormal, disconnect the network connection between the modem and the current cell, and set the current cell as a forbidden cell.
在一些可行的实施方式中,调制解调器(或者应用处理器,本发明实施例将以调制解调器为例进行说明)检测到调制解调器的网络通信功能异常之后,则可断开调制解调器与当前小区的网络连接,并将当前小区设置为禁止小区。具体实现中,调制解调器断开与当前小区的网络连接并将当前小区设置为禁止小区,可避免调制解调器重新搜索网络时反复尝试建立与当前小区的网络连接,进而可避免反复出现网络通信功能异常,可节省功耗。In some feasible implementation manners, after the modem (or application processor, the embodiment of the present invention will use the modem as an example) detects that the network communication function of the modem is abnormal, it can disconnect the network connection between the modem and the current cell, and Set the current cell as a forbidden cell. In the specific implementation, the modem disconnects the network connection with the current cell and sets the current cell as a forbidden cell, which can prevent the modem from repeatedly trying to establish a network connection with the current cell when it searches the network again, thereby avoiding repeated network communication function abnormalities, which can Save power consumption.
S103,搜索所述调制解调器支持的无线接入技术RAT对应的小区。S103. Search for a cell corresponding to the radio access technology RAT supported by the modem.
在一些可行的实施方式中,调制解调器断开与当前小区的网络连接之后,则可重新搜索可接入的网络。具体实现中,调制解调器可搜索其支持的无线接入技术(RadioAccess Technology,RAT)对应的小区服务。此时,由于调制解调器出现网络通信异常时接入的网络已经被设置为禁止小区,因此重新搜网时禁止小区不包含的搜索对象中,可避免再次接入禁止小区,进而避免反复出现相同的网络通讯功能异常故障。In some feasible implementation manners, after the modem is disconnected from the network connection of the current cell, it can re-search for an accessible network. In a specific implementation, the modem may search for a cell service corresponding to a radio access technology (Radio Access Technology, RAT) that it supports. At this time, since the network accessed by the modem when the network communication is abnormal has been set as a forbidden cell, when re-searching the network, the search objects not included in the forbidden cell can avoid re-accessing the forbidden cell, thereby avoiding the same network from appearing repeatedly The communication function is abnormal.
S104,若搜索得到所述调制解调器支持的RAT对应的目标小区,则建立所述调制解调器与所述目标小区的网络连接。S104. If searching for a target cell corresponding to the RAT supported by the modem, establish a network connection between the modem and the target cell.
在一些可行的实施方式中,若搜索得到调制解调器支持的RAT对应的小区(即目标小区),则可建立调制解调器与目标小区的网络连接,通过目标小区实行调制解调器的网络通信。调制解调器建立与目标小区的通信连接,可快速恢复调制解调器的网络通信功能。In some feasible implementation manners, if the cell corresponding to the RAT supported by the modem (that is, the target cell) is searched, a network connection between the modem and the target cell may be established, and network communication of the modem may be performed through the target cell. The modem establishes a communication connection with the target cell, and the network communication function of the modem can be quickly restored.
进一步的,在一些可行的实施方式中,若搜索不到调制解调器支持的RAT对应的目标小区,也可重启调制解调器,以恢复调制解调器的网络通信功能,操作简单,网络通信功能的恢复效率高。Further, in some feasible implementation manners, if the target cell corresponding to the RAT supported by the modem cannot be searched, the modem can also be restarted to restore the network communication function of the modem, the operation is simple, and the recovery efficiency of the network communication function is high.
在本发明实施例中,当调制解调器的网络通信功能出现异常时,可直接断开调制解调器与当前小区的网络连接,并将当前小区设置为禁止小区,以避免调制解调器反复尝试建立与当前小区的通信连接,消耗资源。进一步的,可重新搜索调制解调器支持的无线接入技术对应的其他小区,从其他小区中选择目标小区,建立调制解调器与目标小区的通信连接,恢复调制解调器的网络通信功能,提高了网络通信功能恢复的效率。In the embodiment of the present invention, when the network communication function of the modem is abnormal, the network connection between the modem and the current cell can be directly disconnected, and the current cell can be set as a prohibited cell, so as to avoid the modem repeatedly trying to establish a communication connection with the current cell ,Consume resources. Further, other cells corresponding to the wireless access technology supported by the modem can be searched again, the target cell can be selected from other cells, the communication connection between the modem and the target cell can be established, and the network communication function of the modem can be restored, thereby improving the recovery efficiency of the network communication function .
参见图2,为本发明实施例提供的一种网络通信功能异常的处理方法的另一流程示意图,在本发明实施例中,所述方法包括步骤:Referring to FIG. 2 , it is another schematic flowchart of a method for processing abnormal network communication functions provided by an embodiment of the present invention. In an embodiment of the present invention, the method includes steps:
S201,检测调制解调器的网络通信功能。S201. Detect the network communication function of the modem.
在一些可行的实施方式中,调制解调器(或者AP)检测调制解调器的网络通信功能,以确定调制解调器的网络通信功能是否出现异常的实现方式可参见上述步骤S101中描述的实现方式,在此不再赘述。In some feasible implementation manners, the modem (or AP) detects the network communication function of the modem to determine whether the network communication function of the modem is abnormal.
S202,当所述调制解调器的网络通信功能异常时,断开所述调制解调器与当前小区的网络连接,并将所述当前小区设置为禁止小区。S202. When the network communication function of the modem is abnormal, disconnect the network connection between the modem and the current cell, and set the current cell as a forbidden cell.
在一些可行的实施方式中,调制解调器(或者AP)在调制解调器的网络通信功能异常时,断开调制解调器与当前小区的网络连接的具体实现方式可参见上述实施例中的步骤S102,在此不再赘述。In some feasible implementation manners, the modem (or AP) disconnects the network connection between the modem and the current cell when the network communication function of the modem is abnormal, and the specific implementation manner may refer to step S102 in the above-mentioned embodiment, and will not be repeated here. .
进一步的,在一些可行的实施方式中,调制解调器也可预先设定调制解调器的网络通信功能的监测时长。若在该监测时长内,调制解调器多次出现网络通信功能异常,则可断开调制解调器与当前小区的网络连接,并将当前小区设置为禁止小区。在监测时长内多次出现网络通信功能异常的情况下,再断开与当前小区的网络连接,可避免在其他因素导致调制解调器的网络通信功能异常的情况下,将当前小区错误地禁止,影响调制解调器的网络通信功能的恢复。Further, in some feasible implementation manners, the modem may also preset a monitoring duration of the network communication function of the modem. If within the monitoring period, the modem has network communication function abnormalities many times, the network connection between the modem and the current cell can be disconnected, and the current cell can be set as a prohibited cell. If the network communication function is abnormal for many times within the monitoring period, then disconnect the network connection with the current cell, which can avoid the current cell being wrongly banned and affecting the modem when other factors cause the modem’s network communication function to be abnormal. Restoration of the network communication function.
在一些可行的实施方式中,调制解调器可预先建立一个禁止小区信息列表并将该列表存储至指定存储空间(例如UE的非易失存储空间)中。调制解调器将当前小区设置为禁止小区之后,可在上述禁止小区信息列表中记录当前小区的标识信息,以将禁止小区的标识信息存储至上述指定存储空间中。其中,上述当前小区的标识信息可为当前小区的位置信息。上述位置信息表示移动通信网络中预先规划的逻辑位置的标识。上述位置信息可包括小区号(Cell Identity,CID)、位置区域码(location area code,LAC)以及跟踪区域码(Tracking area code,TAC)等,具体可根据实际应用场景需求确定,在此不做限制。In some feasible implementation manners, the modem may pre-establish a forbidden cell information list and store the list in a designated storage space (such as a non-volatile storage space of the UE). After the modem sets the current cell as a forbidden cell, it can record the identification information of the current cell in the above-mentioned forbidden cell information list, so as to store the identification information of the forbidden cell in the above-mentioned designated storage space. Wherein, the above-mentioned identification information of the current cell may be location information of the current cell. The above location information represents an identifier of a pre-planned logical location in the mobile communication network. The above location information may include cell ID (Cell Identity, CID), location area code (location area code, LAC) and tracking area code (Tracking area code, TAC), etc., which can be determined according to the requirements of actual application scenarios, and will not be discussed here. limit.
S203,搜索所述调制解调器支持的RAT对应的小区,若搜索得到目标小区,则执行步骤S204,否则执行步骤S205。S203. Search for a cell corresponding to the RAT supported by the modem. If the target cell is found, execute step S204, otherwise execute step S205.
在一些可行的实施方式中,上述调制解调器搜网的实现方式可参见上述实施例中的步骤S103,在此不再赘述。In some feasible implementation manners, reference may be made to step S103 in the above embodiment for the implementation manner of the above modem searching the network, which will not be repeated here.
S204,建立所述调制解调器与所述目标小区的网络连接。S204. Establish a network connection between the modem and the target cell.
在一些可行的实施方式中,调制解调器搜索得到目标小区,则可建立调制解调器与目标小区的网络连接,以快速恢复调制解调器的网络通信功能,操作简单,调制解调器的网络通信功能恢复效率高。In some feasible implementation manners, after the modem searches for the target cell, a network connection between the modem and the target cell can be established to quickly restore the network communication function of the modem, the operation is simple, and the recovery efficiency of the modem's network communication function is high.
S205,释放所述禁止小区以将所述禁止小区加入重新搜索的小区中,并执行步骤S203。S205. Release the forbidden cell to add the forbidden cell to the re-searched cells, and perform step S203.
在一些可行的实施方式中,若调制解调器搜索网络的时候,搜索完调制解调器支持的所有RAT之后,若还没搜索得到目标小区,则可释放上述禁止小区,将上述禁止小区加入搜网的搜索对象中。具体实现中,释放禁止小区时,可将上述禁止小区的标识信息从上述禁止小区信息列表中清除。调制解调器释放上述禁止小区之后,则可重新搜索其支持的RAT对应的小区。此时,在当前场景中,禁止小区此前出现的问题若已经修复好,若调制解调器搜索得到此前的禁止小区,则可再次尝试接入该小区,以恢复调制解调器的网络通信功能。In some feasible implementation manners, if the modem searches the network, after searching all the RATs supported by the modem, if the target cell has not been searched, the above-mentioned forbidden cell can be released, and the above-mentioned forbidden cell can be added to the search object of the network search . In a specific implementation, when the forbidden cell is released, the identification information of the forbidden cell may be cleared from the forbidden cell information list. After the modem releases the forbidden cell, it can re-search for the cell corresponding to the RAT it supports. At this point, in the current scenario, if the previous problems in the forbidden cell have been repaired, and if the modem finds the previous forbidden cell through search, it can try to access the cell again to restore the network communication function of the modem.
S206,判断网络通信功能异常的异常原因是否上报。S206, judging whether the abnormal cause of the abnormal network communication function is reported.
具体的,如果网络通信功能异常的异常原因上报过,继续执行S209,否则,执行S207。Specifically, if the abnormal cause of the abnormal network communication function has been reported, continue to execute S209, otherwise, execute S207.
S207,获取所述网络通信功能异常的异常原因和日志。S207. Obtain the abnormal cause and log of the abnormal network communication function.
在一些可行的实施方式中,上述网络通信功能异常的原因可参见上述实施例中步骤S101所描述的实现方式,在此不再赘述。上述日志表示调制解调器访问内存的操作信息,操作信息包括:操作指令、操作时间和返回结果等。In some feasible implementation manners, the reason for the above abnormal network communication function may refer to the implementation manner described in step S101 in the above embodiment, which will not be repeated here. The above-mentioned log represents the operation information of the modem accessing the memory, and the operation information includes: operation instruction, operation time and return result, etc.
S208,将所述异常原因、日志和所述调制解调器的当前位置信息上报给网络侧。S208. Report the abnormality cause, the log, and the current location information of the modem to the network side.
在一些可行的实施方式中,调制解调器可将异常原因、当前位置信息和日志上报给网络侧。具体的,调制解调器可扫描周围的WiFi热点并与WiFi热点建立连接。调制解调器可以在移动终端连接上WiFi热点的情况下,通过WiFi热点将上述信息上报给网络侧,以节省流量。或者调制解调器也可以将异常原因显示在移动终端的显示屏上,供用户进行查看。In some feasible implementation manners, the modem can report the cause of the abnormality, the current location information and the log to the network side. Specifically, the modem can scan surrounding WiFi hotspots and establish a connection with the WiFi hotspots. The modem can report the above information to the network side through the WiFi hotspot when the mobile terminal is connected to the WiFi hotspot, so as to save traffic. Or the modem may also display the cause of the abnormality on the display screen of the mobile terminal for the user to check.
S209,网络通信功能异常处理结束。S209, the abnormal processing of the network communication function ends.
在本发明实施例中,当调制解调器的网络通信功能出现异常时,可在监测时长内多次发生网络通信功能异常的情况下,断开调制解调器与当前小区的网络连接,并将当前小区设置为禁止小区,即可避免由于其他问题导致调制解调器的网络通信功能异常时错误地将当前小区禁止,又可避免在当前小区的服务异常时调制解调器反复尝试建立与当前小区的通信连接,消耗资源。进一步的,可重新搜索调制解调器支持的无线接入技术对应的其他小区,从其他小区中选择目标小区,建立调制解调器与目标小区的通信连接,恢复调制解调器的网络通信功能,提高了网络通信功能恢复的效率。若搜索不到其他小区,则可释放禁止小区,以将禁止小区接入搜网对象中,以进一步保障调制解调器的网络通信功能,增强调制解调器的网络通信功能异常的恢复的灵活性。In the embodiment of the present invention, when the network communication function of the modem is abnormal, the network connection between the modem and the current cell can be disconnected and the current cell can be set as prohibited The cell can prevent the current cell from being banned by mistake when the network communication function of the modem is abnormal due to other problems, and can also avoid the modem from repeatedly trying to establish a communication connection with the current cell when the service of the current cell is abnormal, consuming resources. Further, other cells corresponding to the wireless access technology supported by the modem can be searched again, the target cell can be selected from other cells, the communication connection between the modem and the target cell can be established, and the network communication function of the modem can be restored, thereby improving the recovery efficiency of the network communication function . If no other cells can be searched, the prohibited cells can be released, so that the prohibited cells can be included in the network search object, so as to further ensure the network communication function of the modem and enhance the flexibility of recovering from abnormal network communication functions of the modem.
参见图3,为本发明实施例提供的一种网络通信功能异常的处理装置的结构示意图。在本发明实施例中,上述网络通信功能异常的处理装置可为调制解调器,也可为AP。上述调制解调器可为AP中的一个功能模块,也可为外置于AP并与AP建立通信连接的功能模块,在此不做限制。本发明实施例提供的网络通信功能异常的处理装置,包括:Referring to FIG. 3 , it is a schematic structural diagram of an apparatus for processing an abnormal network communication function according to an embodiment of the present invention. In the embodiment of the present invention, the above-mentioned processing device for abnormal network communication function may be a modem, or may be an AP. The aforementioned modem may be a functional module in the AP, or a functional module external to the AP and establishing a communication connection with the AP, which is not limited here. The device for processing abnormal network communication functions provided by the embodiments of the present invention includes:
检测模块10,用于检测调制解调器的网络通信功能。The detection module 10 is used for detecting the network communication function of the modem.
连接模块20,用于当所述检测模块检测得到所述调制解调器的网络通信功能异常时,断开所述调制解调器与当前小区的网络连接。The connection module 20 is configured to disconnect the network connection between the modem and the current cell when the detection module detects that the network communication function of the modem is abnormal.
设置模块30,用于将所述当前小区设置为禁止小区。A setting module 30, configured to set the current cell as a forbidden cell.
搜索模块40,用于搜索所述调制解调器支持的无线接入技术RAT对应的小区,所述小区不包括所述禁止小区。The search module 40 is configured to search for a cell corresponding to the radio access technology RAT supported by the modem, and the cell does not include the forbidden cell.
所述连接模块20,还用于在所述搜索模块搜索得到所述调制解调器支持的RAT对应的目标小区时,建立所述调制解调器与所述目标小区的网络连接。The connection module 20 is further configured to establish a network connection between the modem and the target cell when the search module searches for a target cell corresponding to the RAT supported by the modem.
在一些可行的实施方式中,上述设置模块30,还用于在所述搜索模块搜索不到所述调制解调器支持的RAT对应的小区时,释放所述禁止小区以将所述禁止小区加入所述搜索模块重新搜索的小区中;In some feasible implementation manners, the above-mentioned setting module 30 is further configured to release the forbidden cell to add the forbidden cell to the search when the search module cannot search for a cell corresponding to the RAT supported by the modem In the cell re-searched by the module;
上述搜索模块40,还用于重新搜索所述调制解调器支持的RAT对应的小区。The above-mentioned searching module 40 is further configured to re-search for the cell corresponding to the RAT supported by the modem.
在一些可行的实施方式中,如图4,是本发明实施例提供的网络通信功能异常的处理装置的另一结构示意图。本发明实施例提供的处理装置还包括:In some feasible implementation manners, as shown in FIG. 4 , it is another structural schematic diagram of a processing device for abnormal network communication function provided by an embodiment of the present invention. The processing device provided by the embodiment of the present invention also includes:
存储模块50,用于在预设的禁止小区信息列表中记录所述禁止小区的标识信息,并将所述禁止小区信息列表存储至指定存储空间。The storage module 50 is configured to record the identification information of the forbidden cell in the preset forbidden cell information list, and store the forbidden cell information list in a designated storage space.
上述设置模块30,用于将所述禁止小区信息列表中包含的禁止小区的标识信息清除。The above-mentioned setting module 30 is configured to clear the identification information of prohibited cells included in the prohibited cell information list.
在一些可行的实施方式中,本发明实施例提供的处理装置还包括:In some feasible implementation manners, the processing device provided in the embodiment of the present invention further includes:
上报模块60,用于在所述检测模块检测到的所述网络通信功能异常的异常原因未上报时,获取所述网络通信功能异常的异常原因和日志,并将所述异常原因、日志和所述调制解调器的当前位置信息上报给网络侧。The reporting module 60 is configured to obtain the abnormal cause and log of the abnormal network communication function detected by the detection module when the abnormal cause of the abnormal network communication function detected by the detection module is not reported, and store the abnormal reason, log and all Report the current location information of the modem to the network side.
在一些可行的实施方式中,上述上报模块60用于:In some feasible implementation manners, the above-mentioned reporting module 60 is used to:
扫描周围的wifi热点并在与wifi热点建立通信连接后,通过建立通信连接的wifi热点将所述异常原因、日志和所述当前位置信息上报给网络侧。After scanning the surrounding wifi hotspots and establishing a communication connection with the wifi hotspots, the abnormal reason, the log and the current location information are reported to the network side through the wifi hotspots where the communication connection is established.
本发明实施例和上述本发明实施例提供的网络通信功能异常的处理方法中各个实施例基于同一构思,其带来的技术效果也相同。具体实现方式可参见上述各个实施例所描述的实现方式,此处不再赘述。The embodiments of the present invention and the methods for processing abnormal network communication functions provided by the above-mentioned embodiments of the present invention are based on the same idea, and the technical effects brought about by them are also the same. For specific implementation manners, reference may be made to the implementation manners described in the foregoing embodiments, which will not be repeated here.
在本发明实施例中,当调制解调器的网络通信功能出现异常时,可在监测时长内多次发生网络通信功能异常的情况下,断开调制解调器与当前小区的网络连接,并将当前小区设置为禁止小区,即可避免由于其他问题导致调制解调器的网络通信功能异常时错误地将当前小区禁止,又可避免在当前小区的服务异常时调制解调器反复尝试建立与当前小区的通信连接,消耗资源。进一步的,可重新搜索调制解调器支持的无线接入技术对应的其他小区,从其他小区中选择目标小区,建立调制解调器与目标小区的通信连接,恢复调制解调器的网络通信功能,提高了网络通信功能恢复的效率。若搜索不到其他小区,则可释放禁止小区,以将禁止小区接入搜网对象中,以进一步保障调制解调器的网络通信功能,增强调制解调器的网络通信功能异常的恢复的灵活性。In the embodiment of the present invention, when the network communication function of the modem is abnormal, the network connection between the modem and the current cell can be disconnected and the current cell can be set as prohibited The cell can prevent the current cell from being banned by mistake when the network communication function of the modem is abnormal due to other problems, and can also avoid the modem from repeatedly trying to establish a communication connection with the current cell when the service of the current cell is abnormal, consuming resources. Further, other cells corresponding to the wireless access technology supported by the modem can be searched again, the target cell can be selected from other cells, the communication connection between the modem and the target cell can be established, and the network communication function of the modem can be restored, thereby improving the recovery efficiency of the network communication function . If no other cells can be searched, the prohibited cells can be released, so that the prohibited cells can be included in the network search object, so as to further ensure the network communication function of the modem and enhance the flexibility of recovering from abnormal network communication functions of the modem.
参见图5,为本发明实施例的一种终端设备的结构示意图。在本发明实施例中,上述终端设备可为调制解调器,也可为AP。上述调制解调器可为AP中的一个功能模块,也可为外置于AP并与AP建立通信连接的功能模块,在此不做限制。在本发明实施中,终端设备(调制解调器或者AP)用于实现上述本发明实施例提供的网络通信功能异常的处理方法。上述终端设备包括CPU501、存储器502和通信接口503,上述终端设备中的CPU501的数量可以是一个或多个,图5以一个CPU为例。本发明的一些实施例中,CPU501、存储器502和通信接口503可通过总线或其他方式连接,图5中以总线连接为例。Referring to FIG. 5 , it is a schematic structural diagram of a terminal device according to an embodiment of the present invention. In the embodiment of the present invention, the above-mentioned terminal device may be a modem, or may be an AP. The aforementioned modem may be a functional module in the AP, or a functional module external to the AP and establishing a communication connection with the AP, which is not limited here. In the implementation of the present invention, the terminal device (modem or AP) is used to implement the method for processing abnormal network communication functions provided by the above embodiments of the present invention. The above-mentioned terminal device includes a CPU 501 , a memory 502 and a communication interface 503 , and the number of CPUs 501 in the above-mentioned terminal device may be one or more. FIG. 5 takes one CPU as an example. In some embodiments of the present invention, the CPU 501 , the memory 502 and the communication interface 503 may be connected via a bus or other methods, and bus connection is taken as an example in FIG. 5 .
其中,存储器502中存储一组程序代码,且CPU501用于调用存储器502中存储的程序代码执行以下操作:Wherein, a set of program codes are stored in the memory 502, and the CPU 501 is used to call the program codes stored in the memory 502 to perform the following operations:
检测调制解调器的网络通信功能;Detect the network communication function of the modem;
当所述调制解调器的网络通信功能异常时,断开所述调制解调器与当前小区的网络连接,并将所述当前小区设置为禁止小区;When the network communication function of the modem is abnormal, disconnect the network connection between the modem and the current cell, and set the current cell as a prohibited cell;
搜索所述调制解调器支持的无线接入技术RAT对应的小区,所述小区不包括所述禁止小区;Searching for a cell corresponding to the radio access technology RAT supported by the modem, where the cell does not include the forbidden cell;
若搜索得到所述调制解调器支持的RAT对应的目标小区,则建立所述调制解调器与所述目标小区的网络连接。If searching for a target cell corresponding to the RAT supported by the modem, establishing a network connection between the modem and the target cell.
在本发明的一些实施例中,上述CPU501还用于执行:In some embodiments of the present invention, the above-mentioned CPU501 is also used to perform:
若搜索不到所述调制解调器支持的RAT对应的小区,则释放所述禁止小区以将所述禁止小区加入重新搜索的小区中;If the cell corresponding to the RAT supported by the modem cannot be found, releasing the prohibited cell to add the prohibited cell to the re-searched cell;
重新搜索所述调制解调器支持的RAT对应的小区。Re-search for the cell corresponding to the RAT supported by the modem.
在本发明的一些实施例中,上述CPU501还用于执行:In some embodiments of the present invention, the above-mentioned CPU501 is also used to perform:
在预设的禁止小区信息列表中记录所述禁止小区的标识信息,并将所述禁止小区信息列表存储至指定存储空间。Recording the identification information of the forbidden cell in a preset forbidden cell information list, and storing the forbidden cell information list in a designated storage space.
在本发明的一些实施例中,上述CPU501还用于执行:将所述禁止小区信息列表中包含的禁止小区的标识信息清除。In some embodiments of the present invention, the above-mentioned CPU 501 is further configured to: clear the identification information of the forbidden cell included in the forbidden cell information list.
在本发明的一些实施例中,上述CPU501还用于执行:In some embodiments of the present invention, the above-mentioned CPU501 is also used to perform:
若所述调制解调器网络通信功能异常的异常原因未上报,则获取所述网络通信功能异常的异常原因和日志;If the abnormal cause of the abnormal network communication function of the modem is not reported, then obtain the abnormal reason and log of the abnormal network communication function;
将所述异常原因、日志和所述调制解调器的当前位置信息上报给网络侧。Reporting the cause of the abnormality, the log, and the current location information of the modem to the network side.
在本发明的一些实施例中,上述CPU501还用于执行:In some embodiments of the present invention, the above-mentioned CPU501 is also used to perform:
扫描周围的wifi热点并在与wifi热点建立通信连接后,通过建立通信连接的wifi热点将所述异常原因、日志和所述当前位置信息上报给网络侧。After scanning the surrounding wifi hotspots and establishing a communication connection with the wifi hotspots, the abnormal reason, the log and the current location information are reported to the network side through the wifi hotspots where the communication connection is established.
具体实现中,上述终端设备(调制解调器或者AP)的各个模块的具体实现过程可参见上述方法的第一实施例和第二实施例中各个步骤所描述的内容,在此不再赘述。In specific implementation, the specific implementation process of each module of the terminal device (modem or AP) can refer to the content described in each step in the first embodiment and the second embodiment of the above method, and will not be repeated here.
在本发明实施例中,当调制解调器的网络通信功能出现异常时,可在监测时长内多次发生网络通信功能异常的情况下,断开调制解调器与当前小区的网络连接,并将当前小区设置为禁止小区,即可避免由于其他问题导致调制解调器的网络通信功能异常时错误地将当前小区禁止,又可避免在当前小区的服务异常时调制解调器反复尝试建立与当前小区的通信连接,消耗资源。进一步的,可重新搜索调制解调器支持的无线接入技术对应的其他小区,从其他小区中选择目标小区,建立调制解调器与目标小区的通信连接,恢复调制解调器的网络通信功能,提高了网络通信功能恢复的效率。若搜索不到其他小区,则可释放禁止小区,以将禁止小区接入搜网对象中,以进一步保障调制解调器的网络通信功能,增强调制解调器的网络通信功能异常的恢复的灵活性。In the embodiment of the present invention, when the network communication function of the modem is abnormal, the network connection between the modem and the current cell can be disconnected and the current cell can be set as prohibited The cell can prevent the current cell from being banned by mistake when the network communication function of the modem is abnormal due to other problems, and can also avoid the modem from repeatedly trying to establish a communication connection with the current cell when the service of the current cell is abnormal, consuming resources. Further, other cells corresponding to the wireless access technology supported by the modem can be searched again, the target cell can be selected from other cells, the communication connection between the modem and the target cell can be established, and the network communication function of the modem can be restored, thereby improving the recovery efficiency of the network communication function . If no other cells can be searched, the prohibited cells can be released, so that the prohibited cells can be included in the network search object, so as to further ensure the network communication function of the modem and enhance the flexibility of recovering from abnormal network communication functions of the modem.
本发明实施例还提供了一种包括上述调制解调器或者AP的移动终端,移动终端包括但不限于搭载或者其它操作系统的移动终端,诸如移动电话。也可以是其它移动终端,诸如具有触敏表面(例如,触摸屏显示器和/或触控板)的膝上型计算机或平板电脑或台式计算机。The embodiment of the present invention also provides a mobile terminal including the above-mentioned modem or AP, the mobile terminal includes but is not limited to carrying Or mobile terminals with other operating systems, such as mobile phones. Other mobile terminals are also possible, such as laptops or tablets or desktop computers with touch-sensitive surfaces (eg, touch screen displays and/or touchpads).
在下面的讨论中,介绍了一种包括显示器和触敏表面的移动终端。然而应当理解,移动终端可以包括一个或多个其他物理用户接口设备,诸如物理键盘、鼠标和/或操作杆。In the following discussion, a mobile terminal including a display and a touch-sensitive surface is presented. It should be understood, however, that a mobile terminal may include one or more other physical user interface devices, such as a physical keyboard, mouse and/or joystick.
移动终端通常支持多种应用程序,诸如以下中的一种或多种:画图应用程序、呈现应用程序、文字处理应用程序、网页创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、锻炼支持应用程序、相片管理应用程序、数字相机应用程序、数字视频摄像机应用程序、网络浏览应用程序、数字音乐播放器应用程序、和/或数字视频播放器应用程序。Mobile terminals typically support multiple applications, such as one or more of the following: drawing applications, rendering applications, word processing applications, web page creation applications, disk editing applications, spreadsheet applications, gaming applications , phone applications, video conferencing applications, email applications, instant messaging applications, exercise support applications, photo management applications, digital camera applications, digital video camera applications, web browsing applications, digital music players applications, and/or digital video player applications.
可在移动终端上执行的各种应用程序可使用至少一个共用的物理用户接口设备,诸如触敏表面。触敏表面的一种或多种功能以及显示在移动终端上的相应信息可从一种应用程序调整和/或变化至下一种应用程序和/或在相应应用程序内被调整和/或变化。这样,移动终端的共用物理架构(诸如触敏表面)可利用对于用户而言直观清楚的用户界面来支持各种应用程序。The various applications executable on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the mobile terminal may be adjusted and/or varied from one application to the next and/or within a corresponding application . In this way, the common physical architecture of the mobile terminal, such as a touch-sensitive surface, can support various applications with a user interface that is intuitive and clear to the user.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and of course it cannot limit the scope of rights of the present invention. Those of ordinary skill in the art can understand all or part of the process for realizing the above embodiments, and according to the rights of the present invention The equivalent changes required still belong to the scope covered by the invention.
Claims (11)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611146431.4A CN106851702A (en) | 2016-12-13 | 2016-12-13 | Method and device for processing abnormality of network communication function |
| PCT/CN2017/107163 WO2018107892A1 (en) | 2016-12-13 | 2017-10-20 | Network-communication function exception processing method and processing apparatus, terminal device, and computer storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611146431.4A CN106851702A (en) | 2016-12-13 | 2016-12-13 | Method and device for processing abnormality of network communication function |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106851702A true CN106851702A (en) | 2017-06-13 |
Family
ID=59140087
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611146431.4A Pending CN106851702A (en) | 2016-12-13 | 2016-12-13 | Method and device for processing abnormality of network communication function |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106851702A (en) |
| WO (1) | WO2018107892A1 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107333311A (en) * | 2017-07-25 | 2017-11-07 | 武汉虹信通信技术有限责任公司 | A kind of method for preventing LTE terminal in Idle state initiating updating of tracking area flow repeatedly |
| WO2018107892A1 (en) * | 2016-12-13 | 2018-06-21 | 广东欧珀移动通信有限公司 | Network-communication function exception processing method and processing apparatus, terminal device, and computer storage medium |
| WO2018107799A1 (en) * | 2016-12-13 | 2018-06-21 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and apparatus for handling abnormality of network communication function and storage medium |
| CN109151949A (en) * | 2018-11-12 | 2019-01-04 | 奇酷互联网络科技(深圳)有限公司 | Block method, mobile terminal and the storage medium of access abnormal network cell |
| CN113747546A (en) * | 2021-08-20 | 2021-12-03 | 深圳市广和通无线股份有限公司 | Network access method, device, electronic equipment and storage medium |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111148102B (en) * | 2019-12-31 | 2024-01-30 | 京信网络系统股份有限公司 | Network authentication method, device, computer equipment and storage medium |
| CN115052322B (en) * | 2022-06-23 | 2023-10-13 | 北京小米移动软件有限公司 | Method, device, storage medium and chip for triggering cell switching |
| CN116506977B (en) * | 2023-06-25 | 2023-10-20 | 荣耀终端有限公司 | A communication method, terminal and system |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1852564A (en) * | 2005-08-12 | 2006-10-25 | 上海华为技术有限公司 | Method for processing fault of network-side object for access-in subscriber terminal |
| CN102065477A (en) * | 2009-11-13 | 2011-05-18 | 中兴通讯股份有限公司 | Base station selection method and terminal |
| US20110244902A1 (en) * | 2010-04-04 | 2011-10-06 | Sun Hee Kim | Method and apparatus for handling barred cell in wireless communication system |
| US20130165077A1 (en) * | 2011-12-23 | 2013-06-27 | Samsung Electronics Co., Ltd. | Method and apparatus for identifying fake networks |
| CN104918303A (en) * | 2015-06-12 | 2015-09-16 | 联想(北京)有限公司 | Mobile terminal equipment and control method |
| CN105338663A (en) * | 2015-11-24 | 2016-02-17 | 广东欧珀移动通信有限公司 | Method for processing abnormality of network communication function, modem and mobile terminal |
| CN105357049A (en) * | 2015-11-24 | 2016-02-24 | 广东欧珀移动通信有限公司 | Network communication functional abnormity processing method, application processor and mobile terminal |
| CN105376773A (en) * | 2015-11-24 | 2016-03-02 | 广东欧珀移动通信有限公司 | Network communication function anomaly processing method, application processor and mobile terminal |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10341904B2 (en) * | 2015-03-27 | 2019-07-02 | Intel Corporation | Communication terminal and method for switching a call between radio access technologies |
| CN105357050B (en) * | 2015-11-24 | 2018-03-27 | 广东欧珀移动通信有限公司 | Method for processing abnormality of network communication function, application processor and mobile terminal |
| CN106851702A (en) * | 2016-12-13 | 2017-06-13 | 广东欧珀移动通信有限公司 | Method and device for processing abnormality of network communication function |
| CN106686638A (en) * | 2016-12-13 | 2017-05-17 | 广东欧珀移动通信有限公司 | Method and device for processing abnormality of network communication function |
| CN106507405A (en) * | 2016-12-13 | 2017-03-15 | 广东欧珀移动通信有限公司 | Method and device for processing abnormality of network communication function |
| CN106488492A (en) * | 2016-12-13 | 2017-03-08 | 广东欧珀移动通信有限公司 | Method and device for processing abnormality of network communication function |
-
2016
- 2016-12-13 CN CN201611146431.4A patent/CN106851702A/en active Pending
-
2017
- 2017-10-20 WO PCT/CN2017/107163 patent/WO2018107892A1/en not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1852564A (en) * | 2005-08-12 | 2006-10-25 | 上海华为技术有限公司 | Method for processing fault of network-side object for access-in subscriber terminal |
| CN102065477A (en) * | 2009-11-13 | 2011-05-18 | 中兴通讯股份有限公司 | Base station selection method and terminal |
| US20110244902A1 (en) * | 2010-04-04 | 2011-10-06 | Sun Hee Kim | Method and apparatus for handling barred cell in wireless communication system |
| US20130165077A1 (en) * | 2011-12-23 | 2013-06-27 | Samsung Electronics Co., Ltd. | Method and apparatus for identifying fake networks |
| CN104918303A (en) * | 2015-06-12 | 2015-09-16 | 联想(北京)有限公司 | Mobile terminal equipment and control method |
| CN105338663A (en) * | 2015-11-24 | 2016-02-17 | 广东欧珀移动通信有限公司 | Method for processing abnormality of network communication function, modem and mobile terminal |
| CN105357049A (en) * | 2015-11-24 | 2016-02-24 | 广东欧珀移动通信有限公司 | Network communication functional abnormity processing method, application processor and mobile terminal |
| CN105376773A (en) * | 2015-11-24 | 2016-03-02 | 广东欧珀移动通信有限公司 | Network communication function anomaly processing method, application processor and mobile terminal |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018107892A1 (en) * | 2016-12-13 | 2018-06-21 | 广东欧珀移动通信有限公司 | Network-communication function exception processing method and processing apparatus, terminal device, and computer storage medium |
| WO2018107799A1 (en) * | 2016-12-13 | 2018-06-21 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and apparatus for handling abnormality of network communication function and storage medium |
| US10285122B2 (en) | 2016-12-13 | 2019-05-07 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and apparatus for handling abnormality of network communication function and storage medium |
| CN107333311A (en) * | 2017-07-25 | 2017-11-07 | 武汉虹信通信技术有限责任公司 | A kind of method for preventing LTE terminal in Idle state initiating updating of tracking area flow repeatedly |
| CN107333311B (en) * | 2017-07-25 | 2020-04-24 | 武汉虹信通信技术有限责任公司 | Method for preventing LTE terminal from repeatedly initiating tracking area updating process in idle state |
| CN109151949A (en) * | 2018-11-12 | 2019-01-04 | 奇酷互联网络科技(深圳)有限公司 | Block method, mobile terminal and the storage medium of access abnormal network cell |
| CN113747546A (en) * | 2021-08-20 | 2021-12-03 | 深圳市广和通无线股份有限公司 | Network access method, device, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2018107892A1 (en) | 2018-06-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106507405A (en) | Method and device for processing abnormality of network communication function | |
| CN106488492A (en) | Method and device for processing abnormality of network communication function | |
| CN106851702A (en) | Method and device for processing abnormality of network communication function | |
| CN105376773B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
| CN106686638A (en) | Method and device for processing abnormality of network communication function | |
| CN105491603B (en) | Method for processing abnormality of network communication function, application processor and mobile terminal | |
| CN106686637A (en) | Method and device for processing abnormality of network communication function | |
| CN106488491A (en) | Method and device for processing abnormality of network communication function | |
| CN105357049B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
| CN105338663B (en) | Processing method for network communication function abnormity, modem and mobile terminal | |
| CN105376772A (en) | Network communication function anomaly processing method, modem and mobile terminal | |
| CN105376094B (en) | Method for processing abnormality of network communication function, modem and mobile terminal | |
| CN105376783B (en) | Method for processing abnormality of network communication function, modem and mobile terminal | |
| CN105490838B (en) | Method for processing abnormality of network communication function, modem and mobile terminal | |
| CN105376786B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
| CN108684056B (en) | Method for processing abnormal network communication function, modem, mobile terminal and storage medium | |
| CN105517029B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
| CN105472648B (en) | Network communicating function abnormal processing method, modem and mobile terminal | |
| CN105491608B (en) | Processing method for network communication function abnormity, application processor and mobile terminal | |
| CN105357705B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
| CN105491607B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
| CN105357704B (en) | Processing method for network communication function abnormity, application processor and mobile terminal |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170613 |