CN105376773A - Network communication function anomaly processing method, application processor and mobile terminal - Google Patents

Network communication function anomaly processing method, application processor and mobile terminal Download PDF

Info

Publication number
CN105376773A
CN105376773A CN 201510824799 CN201510824799A CN105376773A CN 105376773 A CN105376773 A CN 105376773A CN 201510824799 CN201510824799 CN 201510824799 CN 201510824799 A CN201510824799 A CN 201510824799A CN 105376773 A CN105376773 A CN 105376773A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
protocol stack
application processor
modem
network
registration
Prior art date
Application number
CN 201510824799
Other languages
Chinese (zh)
Other versions
CN105376773B (en )
Inventor
李伟清
陈燕绿
蔚宝珠
张强
王旭康
周千里
杜渊华
蔡文龙
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATIONS NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATIONS NETWORKS
    • H04W60/00Registration, e.g. affiliation to network; De-registration, e.g. terminating affiliation
    • H04W60/04Registration, e.g. affiliation to network; De-registration, e.g. terminating affiliation using triggered events

Abstract

The embodiment of the invention discloses a network communication function anomaly processing method. The method comprises the following steps that: after an application processor receives an anomalous indication message sent by a modem, a judgment on whether an anomalous situation under which protocol stack registration is rejected for set times within a set time or not, and a first protocol stack currently used by the modem is acquired if a judgment result is positive, wherein the anomalous indication message indicates that rejection of the protocol stack registration is detected by the modem; the application processor disables the first protocol stack, and selects a second protocol stack other than the first protocol stack from a plurality of protocol stacks supported by the modem; the application processor enables the second protocol stack, and performs network registration with the second protocol stack; and if the network registration succeeds, the application processor records current position information. The embodiment of the invention also discloses the application processor and the mobile terminal. Through adoption of the method, the application processor and the mobile terminal, network communication function anomalies can be rapidly detected and recovered.

Description

网络通信功能异常的处理方法、应用处理器和移动终端 Abnormal network communication processing method, the application processor and the mobile terminal

技术领域 FIELD

[0001] 本发明涉及通信领域,尤其涉及一种网络通信功能异常的处理方法、应用处理器和移动终端。 [0001] The present invention relates to the field of communications, particularly to a processing method for a network communication function, and an application processor of the mobile terminal abnormalities.

背景技术 Background technique

[0002] 随着通信技术的发展,手机支持的通信制式的类型越来越多,例如:一部手机同时支持不同运营商的2G、3G和4G的通信制式,省去更换手机的不便。 [0002] With the development of communication technology, the type of phone communications standard supported by more and more, such as: a mobile phone while supporting different operators of 2G, 3G and 4G communication standard, eliminating the inconvenience of replacing the phone. 移动互联网的高速发展使数据业务占据绝对的比重,从而手机中的调制解调器的作用和地位日益重要,调制解调器用于将待发送数据转换为射频信号以及将射频信号转换为待处理数据、处理接入层(AS) 和非接入层(NAS)的信令、以及与AP处理器进行接口等。 That the rapid development of mobile Internet data services take the absolute specific gravity, so that the phone modem in role and status increasingly important for modem data to be transmitted is converted into a radio frequency signal and a radio frequency signal into data to be processed, processing the access layer signaling (AS) and non-access Stratum (NAS), and the processor interface with the AP. 在手机所处的移动网络环境十分复杂,手机经常会在不同的通信制式之间进行切换,在通信制式切换的过程中经常会发生异常,手机无法正常连网通信,例如协议栈注册被拒绝。 A mobile phone network in which the environment is very complex, the phone will often be communication between different switch modes, often exception occurs during the handover communications standard, Internet phone can not communicate normally, e.g. protocol stack registration is rejected. 为了解决无法连网通信的异常,目前常采用的解决方案是:手机移动到新的位置区域时,向网络侧发起位置更新请求,网络侧重新对手机进行配置,恢复调制解调器的配置参数;或用户发现长时间不能连网通信后,手动对移动终端进行强制重启恢复或设置调制解调器的配置参数。 In order to solve the abnormal communication can not networked, the current solutions are often used: when a mobile phone moves to a new location area, to initiate a location update request to the network side, the mobile phone network to configure the new focus, the modem restore the configuration parameters; or the user Internet communication is not long after the discovery, the mobile terminal is forced to manually restart recovery set configuration parameters of the modem. 但是,两种方案耗费的时间均过长,用户难以忍受。 However, the two programs are time-consuming too long, users unbearable.

发明内容 SUMMARY

[0003] 本发明实施例所要解决的技术问题在于,提供一种网络通信功能异常的处理方法、应用处理器和移动终端,以解决现有技术中发生异常无法连网通信的情况下,无法自动尝试恢复或者恢复通信业务耗时过长的问题。 [0003] The technical problem to be solved by embodiments of the present invention is to provide a network communication function abnormality processing method, an application processor and a mobile terminal to solve the case of the prior art can not be networked communication abnormality can not be automatically try to recover or to restore communications services take too long problem.

[0004] 为了解决上述技术问题,本发明实施例第一方面提供了一种网络通信功能异常的处理方法,包括: [0004] To solve the above problems, a first aspect of the present invention provides an abnormality processing method according to a network communication function, comprising:

[0005] 应用处理器接收调制解调器发送的异常指示消息后,判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,其中,所述异常指示消息指示所述调制解调器检测到协议栈注册被拒绝; Stack Register abnormality indication message after an exception [0005] application processor receiving modem transmission is set is determined whether the number occurring within a set time to be rejected, wherein said indication message indicating the abnormality detected by the modem protocol stack registration denied;

[0006] 若所述判断的结果为是,所述应用处理器获取所述调制解调器当前使用的第一协议栈; [0006] If the result of the determination is YES, the application processor obtains the currently used first modem protocol stack;

[0007] 所述应用处理器关闭所述第一协议栈,以及从所述调制解调器支持的多个协议栈中选择除所述第一协议栈的第二协议栈; [0007] the application processor closes the first protocol stack, and selecting a second protocol other than the first protocol stack from a plurality of protocol stack in the modem supports the stack;

[0008] 所述应用处理器开启所述第二协议栈,并使用所述第二协议栈进行网络注册; [0008] opening the application processor and the second protocol, and using the second network protocol stack register;

[0009] 若网络注册成功,所述应用处理器记录当前的位置信息。 [0009] When network registration is successful, the application processor records the current position information.

[0010] 结合第一方面,在第一种可能的实现方式中,所述方法还包括: [0010] with the first aspect, in a first possible implementation, the method further comprising:

[0011] 若所述判断的结果为否,所述应用处理器对所述调制解调器进行复位操作。 [0011] If the determination result is NO, the application processor to the modem reset operation.

[0012] 结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述方法还包括: [0012] The first possible implementation of the first aspect, in a second possible implementation, the method further comprising:

[0013] 若网络注册失败,所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位所述调制解调器。 A plurality of protocol stacks a plurality of protocol stacks [0013] When network registration failed, the application processor to restore said support in the default switching state protocol stack or the application processor to restore said support in the default protocol stack switching state and simultaneously resetting the modem.

[0014] 结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述若网络注册成功,记录当前的位置信息之后, 还包括: [0014] with the first aspect or the first possible implementation of the first aspect or the second possible implementation of the first aspect, in a third possible implementation, the network if the registration is successful, the recording after the current location information, including:

[0015] 当位置发生变化时,所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位所述调制解调器。 A plurality of protocol stacks a plurality of protocol stacks [0015] When the position is changed, the application processor to restore said support in the default switching state protocol stack or the application processor to restore the default protocol is supported the switching state of the stack and simultaneously resetting the modem.

[0016] 结合第一方面或第一方面的第一种可能的实现方式或第一方面的第二种可能的实现方式或第一方面的第三种可能的实现方式,在第四种可能的实现方式中,所述方法还包括: [0016] with the first aspect or the first possible implementation of the first aspect or the second aspect of the first or the third possible implementation manner possible implementation of the first aspect, in a fourth possible implementations, the method further comprising:

[0017] 若所述协议栈注册被拒绝的异常原因未上报,获取所述协议栈注册被拒绝的异常原因和日志; [0017] If the cause of the abnormality register stack rejected unreported obtain the protocol stack register logs the error and rejected;

[0018] 将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。 [0018] The error cause, the current position information and the log report to the network side and / or user.

[0019] 结合第一方面的第四种可能的实现方式,在第五种可能的实现方式中,所述将所述异常原因、所述当前的位置信息和日志上报给网络侧包括: [0019] combination with the fourth possible implementation of the first aspect, in a fifth possible implementation manner, the reason for the exception, the current position information and the log report to the network side comprises:

[0020] 扫描周围的wifi热点并在与wifi热点建立通信连接后,通过建立通信连接的wifi热点将所述异常原因、所述当前的位置信息和日志上报给网络侧。 [0020] Hotspots wifi around and after establishing communication connection with wifi hotspot, wifi hotspot by establishing a communication connection to the cause of the error of the current position information and the log report to the network side.

[0021] 本发明实施例第二方面提供了一种应用处理器,包括: Provides an application processor of the second aspect, an embodiment [0021] of the present invention, comprising:

[0022] 判断模块,用于接收调制解调器发送的异常指示消息后,判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,其中,所述异常指示消息指示所述调制解调器检测到协议栈注册被拒绝; After the abnormal situation register stack [0022] determination means for receiving abnormality indication message sent by the modem, the set number is determined whether the set time of the occurrence of rejected, wherein said indication message indicating the abnormality detected by the modem stack the registration was denied;

[0023] 确定模块,用于若所述判断的结果为是,获取所述调制解调器当前使用的第一协议栈; [0023] determining means for determining if the result is YES, the first obtaining the current modem protocol stack used;

[0024] 选择模块,用于关闭所述第一协议栈,以及从所述调制解调器支持的多个协议栈中选择除所述第一协议栈的第二协议栈; [0024] selection module, for closing the first protocol stack, and selecting a second protocol other than the first protocol stack from a plurality of protocol stack in the modem supports the stack;

[0025] 注册模块,用于开启所述第二协议栈,并使用所述第二协议栈进行网络注册; [0025] The registration module for opening said second protocol stack, and using the second network protocol stack register;

[0026] 记录模块,用于若网络注册成功,记录当前的位置信息。 [0026] The recording module, configured to, if the network registration is successful, the current position information.

[0027] 结合第二方面,在第一种可能的实现方式中,所述应用处理器还包括: [0027] combination with the second aspect, in a first possible implementation, the application processor further comprises:

[0028] 恢复模块,用于当网络注册失败时、或当网络注册成功后且位置发生变化时,恢复所述支持的多个协议栈中的默认协议栈的开关状态或恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位所述调制解调器。 [0028] Recovery module configured to switch the state of the plurality of default protocol stack protocol stack when the network registration failed, or when the network is changed and the position registration is successful, the support in the recovery or restoration of said plurality of support a protocol stack protocol stack default switching state and simultaneously resetting the modem.

[0029] 结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,还包括: [0029] combination with the second aspect or the first possible implementation of the second aspect, in a second possible implementation, further comprising:

[0030] 上报模块,用于若所述协议栈注册被拒绝的异常原因未上报,获取所述协议栈注册被拒绝的异常原因和日志;将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。 [0030] The reporting module, configured to, if the cause of the abnormality protocol stack rejected registration not reported, obtains the protocol stack rejected registration error cause and log; the cause of the error of the current position information and the log reported to the network side and / or user.

[0031] 结合第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述上报模块具体用于: [0031] combination with the second possible implementation of the second aspect, in a third possible implementation, the reporting module is configured to:

[0032] 扫描周围的wifi热点并在与wifi热点建立通信连接后,通过建立通信连接的wifi热点将所述异常原因、所述当前的位置信息和日志上报给网络侧。 [0032] Hotspots wifi around and after establishing communication connection with wifi hotspot, wifi hotspot by establishing a communication connection to the cause of the error of the current position information and the log report to the network side.

[0033] 本发明实施例第三方面提供一种移动终端,包括上述任意一项所述的应用处理器。 A mobile terminal a third aspect, an embodiment [0033] of the present invention, includes an application processor of any preceding claim.

[0034] 实施本发明实施例,具有如下有益效果: [0034] Example embodiments of the present invention has the following advantages:

[0035] 应用处理器接收到调制解调器检测到协议栈注册被拒绝时发送的异常指示消息, 关闭调制解调器当前使用的协议栈,从调制解调器支持的多个协议栈中选择除当前使用的协议栈的其他协议栈,开启其他协议栈并使用其他协议栈注册网络,在成功注册上网络时, 记录当前的位置信息。 [0035] The application processor receives the modem detects an abnormal indication message sent by the protocol stack when the registration is rejected, the protocol stack off the modem currently used, select protocols other currently used protocol stack protocol stack from a plurality of modem support stack, open other protocol stacks and other home network protocol stack, upon successful registration on the network, record the current location information. 这样在调制解调器无法正常通信时快速的被检测到,并通过其他协议栈进行网络注册的方式使调制解调器自动尝试恢复正常,避免强制重启手机或位置更新造成的耗时过长的问题,减少了网络故障恢复的时间。 So when the modem can not communicate quickly be detected and registered to a network protocol stack through other ways to make the modem automatically tries to return to normal, avoid forcing restart the phone or problems caused by time-consuming long position update, reducing network failure recovery time.

附图说明 BRIEF DESCRIPTION

[0036] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 [0036] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only some embodiments of the present invention, those of ordinary skill in the art is concerned, without creative efforts, can derive from these drawings other drawings.

[0037] 图1是本发明实施例提供的一种网络通信功能异常的处理方法的流程示意图; [0037] FIG. 1 is a flow diagram of a network communication function provided by the exception processing method of the present invention;

[0038] 图2是本发明实施例提供的一种网络通信功能异常的处理方法的另一流程示意图; [0038] FIG. 2 is a flow diagram of another embodiment of a network communication function provided by the exception processing method of the present invention;

[0039] 图3是本发明实施例提供的一种网络通信功能异常的处理方法的又一流程示意图; [0039] FIG. 3 is a schematic view of still another embodiment of the process provides a network communication function of the exception processing method of the present invention;

[0040] 图4是本发明实施例提供的一种应用处理器的结构示意图; [0040] FIG. 4 is a schematic structural diagram of an application processor according to an embodiment of the present invention;

[0041] 图5是本发明实施例提供的一种应用处理器的另一结构示意图。 [0041] FIG. 5 is another schematic structural diagram of an application processor according to an embodiment of the present invention.

具体实施方式 detailed description

[0042] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0042] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, but not all embodiments example. 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, those of ordinary skill in the art to make all other embodiments without creative work obtained by, it falls within the scope of the present invention.

[0043] 参见图1,为本发明实施例提供的一种网络通信功能异常的处理方法的流程示意图,在本发明实施例中,所述方法包括: [0043] Referring to Figure 1, a schematic flowchart of a network communication function provided by the exception processing method of the embodiment of the invention, in the embodiment of the invention, the method comprising:

[0044] S101、应用处理器接收调制解调器发送的异常指示消息后,判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,其中,所述异常指示消息指示Modem检测到协议栈注册被拒绝。 Stack Register anomalies [0044] S101, the application processor receives the message sent by the modem exception indication, whether to set the number of occurrences within a predetermined time is determined to be rejected, wherein the abnormality detection indication message indicates to the protocol stack Modem registration is rejected.

[0045] 在应用处理器接收到调制解调器发送的异常指示消息后,判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,以保证检测情况的稳定性;若在设定时间内没有检测到设定次数的协议栈注册被拒绝的异常情况,则继续检测。 Abnormality protocol stack after the registration is rejected [0045] in the application processor receives an exception indication message sent by the modem, the set number is determined whether there is a set time, to ensure the stability testing conditions; if the set time is not detected within a set number of times of abnormality register stack is rejected, the detection is continued.

[0046] S102、若所述判断的结果为是,所述应用处理器获取所述调制解调器当前使用的第一协议栈。 [0046] S102, if the result of the determination is YES, the processor obtains a first application of the modem currently used protocol stack.

[0047] 具体的,应用处理器全称为MAP (Multimedia Application Processor,多媒体应用处理器,简称MAP),用于在低功耗CPU的基础上扩展音视频功能和专用接口的超大规模集成电路,是智能手机中的重要部件,应用处理器一般和基带处理器是独立的两个芯片。 [0047] Specifically, the application processor called the MAP (Multimedia Application Processor, multimedia application processor, referred to as the MAP), a VLSI extended audio and video features and dedicated interfaces based on the low-power CPU, is smartphone important component, the application processor and baseband processor are typically two separate chips. 调制解调器用于将基带信号转换为射频信号、将射频信号转换为基带信号、处理接入层(AS) 和非接入层(NAS)的信令、以及与AP处理器进行接口等;调制解调器支持多种协议栈。 A modem for converting the baseband signal into a radio frequency signal, the radio frequency signal into a baseband signal processing access stratum (AS) layer and non-access signaling (NAS), and the AP interface processors; modem supports multiple kind of protocol stack. 由于某些网络原因,合法的用户终端(User Equipment,简称UE)注册网络有时候也会被网络拒绝导致无服务,必须由用户手动重启再重试注册,通常原因包括网络鉴权流程失败、 国际漫游时运营商之间签约问题等。 For some reason the network, the legitimate user terminal (User Equipment, abbreviated UE) registered network is a network sometimes lead to denial-of-service must be restarted manually by the user try again registered, usually causes include network authentication process fails, international contracting issues when roaming between operators. 例如:UE发送附着请求(Attach Request或LAU)消息后,在定时器T3410超时之前接收到网络发送的附着拒绝(Attach Reject)消息,附着拒绝消息里携带网络拒绝UE附着的原因,例如,非法UE(Illegal ME)、EPS服务不被允许(EPS services not allowed)、PLMN 不被允许(PLMN not allowed)、跟踪区域不被允许(Tracking area not allowed)、EPS服务不被允许等。 For example: After the UE sends an attach request (Attach Request or LAU) message prior to receiving the timer T3410 timeout ATTACH REJECT sent by the network (Attach Reject) message, ATTACH REJECT message rejection cause in the network carrying the UE is attached, for example, illegal UE (Illegal ME), EPS services not allowed (EPS services not allowed), PLMN not allowed (PLMN not allowed), the tracking area is not allowed (tracking area not allowed), not allowed to EPS services. 当UE收到附着拒绝后进入无服务(Out of Service,00S)状态。 After the UE receives the attach reject enters the no-service (Out of Service, 00S) state. 协议栈表示某个通信制式对应的多种协议的总和,例如:协议栈包括GSM协议栈、EDGE协议栈、HSPDA协议栈、TD-SCDMA协议栈、TDD-LTE协议栈、FDD-LTE 协议栈等,各个通信制式协议栈下面又包括多个子协议栈,此处不再赘述。 Represents a standard communication protocol stack corresponding to the sum of the various protocols, for example: GSM protocol stack protocol stack comprises, EDGE protocol stack, the protocol stack of the HSPDA, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stacks , the following respective communication standard protocol stack comprises a plurality of sub-stack and is not repeated here. 调制解调器在检测到协议栈注册被拒绝时,确定当前使用的第一协议栈。 Upon detection of the modem protocol stack registration is rejected, determining a first protocol stack currently used.

[0048] 需要说明的是,调制解调器可以集成在应用处理器AP的内部,也可以是独立于应用处理器的一个芯片,本发明不作限制。 [0048] Incidentally, the modem may be integrated within the application processor (AP), or may be independent of an application processor chip, the present invention is not limited.

[0049] S103、所述应用处理器关闭所述第一协议栈,以及从所述调制解调器支持的多个协议栈中选择除所述第一协议栈的第二协议栈。 [0049] S103, the application processor closes the first protocol stack, and selecting a second protocol stack than said first protocol stack protocol stack from a plurality of said modem supports.

[0050] 具体的,第一协议栈是引发协议栈注册被拒绝的协议栈,应用处理器需要关闭第一协议栈,防止协议栈注册被拒绝的问题反复发生。 [0050] Specifically, the first protocol stack is a protocol stack protocol stack initiator registration is rejected, the application processor needs to close first protocol stack, the protocol stack to prevent the problem of repeated registration is rejected. 然后,调制解调器确定调制解调器支持的多个协议栈中选择除第一协议栈的第二协议栈,其中,调制解调器选择的策略可以是:选择比第一协议栈低一级的协议栈作为第二协议栈;或测量周围各个协议栈对应的小区信号的信号强度,将信号强度最大的协议栈作为第二协议栈;或选择比第一协议栈高一级的协议栈作为第二协议栈;或采用其他的策略确定第二协议栈,本发明不作限制。 Then, a plurality of modems determine the modem protocol stack support selected second protocol stack in addition to the first protocol stack, wherein, the modem may be selected strategy: selecting a first protocol stack protocol stack than the low level as the second protocol stack ; around or signal strength measurements corresponding to the respective protocol stack cell signal, the maximum signal strength of a second protocol stack as the protocol stack; or select a first protocol stack than the stack as high a second protocol stack; or by other policy determining a second protocol stack, the present invention is not limited.

[0051] S104、所述应用处理器开启所述第二协议栈,并使用所述第二协议栈进行网络注ΠΠ. 册。 [0051] S104, the application processor is turned on and the second protocol, and using the second network protocol stack injection ΠΠ. Volumes.

[0052] 具体的,关闭第一协议栈后,移动终端由连接态转换为空闲态,应用处理器开启选择的第二协议栈,使用第二协议栈进行网络注册,网络注册的过程为:移动终端向网络侧发起附着请求(attach request),若网络侧允许移动终端接入,向移动终端返回附着响应(attach accept),表示网络注册成功,移动终端由空闲态转换为连接态;若网络侧不允许移动终端接入,向移动终端返回错误信息,表示网络注册失败。 [0052] Specifically, after closing the first protocol stack, the mobile terminal by the connection state to the idle state, the second protocol stack of the application processor turns on the selection, using the second network protocol stack register, a network registration procedure is: Mobile terminal initiates an attach request (attach request) to the network side, when the mobile terminal is allowed access to the network side returns attach response (attach accept) to the mobile terminal, the network indicates a successful registration, the mobile by the idle state to the connected state terminal; if the network side allowed access to the mobile terminal, the mobile terminal returns an error message indicating the network registration failed.

[0053] S105、若网络注册成功,所述应用处理器记录当前的位置信息。 [0053] S105, if the network registration is successful, the application processor records the current position information.

[0054] 具体的,位置信息表示移动终端在移动通信网络中逻辑位置,位置信息可以是小区标识或区域位置码或位置跟踪区域等,本发明不作限制。 [0054] Specifically, the position information indicating the mobile terminal in a mobile communication network logical location, location information may be a cell identifier or a location area code or tracking area location, etc., the present invention is not limited. 如果使用第二协议栈注册网络成功,应用处理器记录当前的位置信息。 If a second network protocol stack registration is successful, the application processor records the current location information.

[0055] 实施本发明的实施例,应用处理器接收到调制解调器检测到协议栈注册被拒绝时发送的异常指示消息,关闭调制解调器当前使用的协议栈,从调制解调器支持的多个协议栈中选择除当前使用的协议栈的其他协议栈,开启其他协议栈并使用其他协议栈注册网络,在成功注册上网络时,记录当前的位置信息。 [0055] Example embodiments of the present invention, the application processor receives the modem detects an abnormal indication when the transmission is rejected registration message protocol stack, the protocol stack off the modem currently used, selected from a plurality of protocol stack supported by the modem, in addition to the current other protocol stack protocol stack, the protocol stack and other open other home network protocol stack, upon successful registration on the network, record the current location information. 这样在调制解调器无法正常通信时快速的被检测到,并通过其他协议栈进行网络注册的方式使调制解调器自动尝试恢复正常,避免强制重启手机或位置更新造成的耗时过长的问题,减少了网络故障恢复的时间。 So when the modem can not communicate quickly be detected and registered to a network protocol stack through other ways to make the modem automatically tries to return to normal, avoid forcing restart the phone or problems caused by time-consuming long position update, reducing network failure recovery time.

[0056] 参见图2,为本发明实施例提供的一种网络通信功能异常的处理方法的流程示意图,在本发明实施例中,所述方法包括: [0056] Referring to Figure 2, a schematic diagram of the abnormal state processing method for network communication function according to an embodiment of the present invention, in the embodiment of the present invention, the method comprising:

[0057] S201、调制解调器是否检测到协议栈注册被拒绝。 [0057] S201, the modem has detected a protocol stack registration is rejected.

[0058] 具体的,调制解调器安装在手机内,可以封装为应用处理器AP内,或独立于应用处理器,本发明不作限制。 [0058] Specifically, a modem is mounted in the phone, the application processor may be encapsulated within the AP, or independent of the application processor, the present invention is not limited. 调制解调器用于将基带信号转换为射频信号、将射频信号转换为基带信号、处理接入层(AS)和非接入层(NAS)的信令、以及与AP处理器进行接口等。 A modem for converting the baseband signal into a radio frequency signal, the radio frequency signal into a baseband signal, processing the signaling access stratum (AS) and Non-Access Stratum (NAS), and the AP interface processors. 由于某些网络原因,合法的UE用户注册网络有时候也会被网络拒绝导致无服务,必须由用户手动重启再重试注册,通常原因包括网络鉴权流程失败、国际漫游时运营商之间签约问题等。 For some reason the network, the UE legitimate registered user network is a network sometimes lead to denial-of-service must be restarted manually by the user try again registered, usually causes include network authentication process fails, signing international roaming between operators issues. 例如:UE发送附着请求(Attach Request或LAU)消息后,在定时器T3410超时之前接收到网络发送的附着拒绝(Attach Reject)消息,附着拒绝消息里携带网络拒绝UE附着的原因,例如,非法UE (Illegal ME)、EPS 服务不被允许(EPS services not allowed)、PLMN 不被允许(PLMN not allowed)、跟踪区域不被允许(Tracking area not allowed)、EPS 服务不被允许等。 For example: After the UE sends an attach request (Attach Request or LAU) message prior to receiving the timer T3410 timeout ATTACH REJECT sent by the network (Attach Reject) message, ATTACH REJECT message rejection cause in the network carrying the UE is attached, for example, illegal UE (Illegal ME), EPS services not allowed (EPS services not allowed), PLMN not allowed (PLMN not allowed), the tracking area is not allowed (tracking area not allowed), not allowed to EPS services. 当UE收到附着拒绝后进入无服务(Out of Service,00S)状态。 After the UE receives the attach reject enters the no-service (Out of Service, 00S) state. 若发生协议栈注册被拒绝,执行S202,若没有发生协议栈注册被拒绝,继续执行S201。 If the protocol stack is denied registration occurs, perform S202, if the stack did not happen registration is denied, continues S201. 发生协议栈注册被拒绝时,UE将进入无网络服务状态。 When the registration was denied the occurrence of the protocol stack, UE will enter service no network status.

[0059] S202、所述调制解调器指示应用处理器处理本次异常。 [0059] S202, the modem processor indicates that the application of this exception.

[0060] 具体的,调制解调器指示应用处理器处理本次异常的方法可以是:调制解调器向应用处理器发送异常指示消息,应用处理器接收到异常指示消息表明调制解调器检测到协议栈注册被拒绝,此时应用处理器需要对该异常进行处理。 [0060] Specifically, the method of indicating the modem processor processes the application of this exception may be: a modem transmits a message to the application processor exception indication, the application processor receives an indication message indicating the abnormality detected by the modem protocol stack registration is rejected, then application processor needs to handle the exception. 其中,异常指示消息的格式本发明不作限制,可以利用现有的消息中扩展字段的方式来实现或构造新的消息来实现。 Wherein the abnormality indication message format is not limited in the present invention may be utilized in a manner conventional in the message an extension field to implement a new message or configuration to achieve.

[0061] S203、所述应用处理器判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,如果是,进行到S204 ;否则,进行到S205,所述应用处理器复位所述调制解调器。 [0061] S203, whether the application abnormal condition set number register stack rejected occurs in the processor determines the set time, and if so, proceeds to S204; otherwise, proceed to S205, the application processor resets said modem.

[0062] 在应用处理器接收到调制解调器发送的异常指示消息后,判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,以保证检测情况的稳定性。 After the abnormal situation register stack [0062] in the application processor receives an exception indication message sent by the modem, the set number is determined whether the set time of the occurrence of rejected to ensure the stability of the situation detected.

[0063] S204、所述应用处理器获取所述调制解调器当前使用的第一协议栈。 [0063] S204, the application processor obtaining first protocol of the modem currently used.

[0064] 具体的,协议栈表示某个通信制式对应的多种协议栈的总和,例如:协议栈包括GSM协议栈、EDGE协议栈、HSPDA协议栈、TD-SCDMA协议栈、TDD-LTE协议栈、FDD-LTE协议栈等,各个通信制式协议栈下面又包括多个子协议栈,例如:TD-LTE协议栈又包括物理层协议栈、介质访问控制层MAC协议栈、无线链路控制RLC协议栈、RRC协议栈、PDCP协议栈和NAS协议栈等。 [0064] Specifically, the protocol stack represents the sum of a plurality of corresponding communications standard protocol stack, for example: GSM protocol stack protocol stack comprises, EDGE protocol stack, the protocol stack of the HSPDA, TD-SCDMA protocol stack, TDD-LTE protocol stack , FDD-LTE protocol stacks, the following respective communication standard protocol stack comprises a plurality of sub-protocol stacks in turn, for example: TD-LTE protocol stack protocol stack also includes a physical layer, medium access control MAC layer protocol stack, a radio link control RLC protocol stack , RRC protocol stack, PDCP protocol stack and NAS protocol stack and so on. 此处不再赘述。 Not repeat them here. 应用处理器获取调制解调器当前使用的第一协议栈的方法可以是:应用处理器查询调制解调器中表示协议栈的状态标志位获取当前使用的第一协议栈,例如标志位1表示对应的协议栈为开启状态,标志位〇表示对应的协议栈为关闭状态。 Application processor obtains a first modem protocol stack currently used method may be: the application processor queries the modem protocol stack indicating the status flag obtaining first protocol stack currently used, for example, a flag bit indicates that the corresponding protocol stack opening status flag indicates that the corresponding square of a protocol stack in a closed state.

[0065] S206、所述应用处理器关闭所述第一协议栈,以及从所述调制解调器支持的多个协议栈中选择除所述第一协议栈的第二协议栈。 [0065] S206, the application processor closes the first protocol stack, and selecting a second protocol stack than said first protocol stack protocol stack from a plurality of said modem supports.

[0066] 具体的,调制解调器使用第一协议栈发生协议栈注册被拒绝,从而引起调制解调器异常,调制解调器需要关闭第一协议栈,防止协议栈注册被拒绝的问题反复发生。 [0066] Specifically, the first protocol stack occurs using modem protocol stack registration is rejected, causing abnormal modem, the modem needs to close first protocol stack, the protocol stack to prevent the problem of repeated registration is rejected. 然后, 应用处理器确定调制解调器支持的多个协议栈中选择除第一协议栈的第二协议栈,其中, 应用处理器选择的策略可以是:选择比第一协议栈低一级的协议栈作为第二协议栈;或测量周围各个协议栈对应的小区信号的信号强度,将信号强度最大的协议栈作为第二协议栈;或选择比第一协议栈高一级的协议栈作为第二协议栈;或采用其他的策略确定第二协议栈,本发明不作限制。 Then, a plurality of protocol stack applications supported by the modem processor determines a protocol stack in addition to the first selecting a second protocol stack, wherein the application processor selection policy may be: selecting the protocol stack than the first protocol stack as a low second protocol stack; signal strength measurements of various protocol stacks or around a cell corresponding to the signal, the maximum signal strength as a second protocol stack protocol stack; or high selectivity first protocol stack as the protocol stack a second protocol stack ; or by other policy determining a second protocol stack, the present invention is not limited.

[0067] S207、所述应用处理器开启所述第二协议栈,并使用所述第二协议栈进行网络注ΠΠ. 册。 [0067] S207, the application processor is turned on and the second protocol, and using the second network protocol stack injection ΠΠ. Volumes.

[0068] 具体的,关闭第一协议栈后,移动终端由连接态转换为空闲态,应用处理器开启选择的第二协议栈,使用第二协议栈进行网络注册,例如LTE网络注册的过程为:移动向网络侧发起附着请求,若网络侧允许移动终端接入,向移动终端返回附着响应,表示网络注册成功,移动终端由无服务态转换为有服务状态;若网络侧不允许移动终端接入,向移动终端返回拒绝/错误信息,表示网络注册失败。 [0068] Specifically, after closing the first protocol stack, the mobile terminal by the connection state to the idle state, the second protocol stack of the application processor turns on the selection, using the second network protocol stack register, such as the LTE network registration process : mobile initiates a network attach request, if the mobile terminal is allowed access to the network side, the mobile terminal returns to the attachment response indicates that the network registration is successful, the mobile terminal from the service state to the no serve state has; if the network does not allow the mobile terminal access side into, the mobile terminal returns to the rejection / error information indicates that the network registration failed.

[0069] S208、网络注册是否成功。 [0069] S208, the network registration is successful.

[0070] 具体的,若应用处理器使用第二协议栈成功注册上网络,执行S209,若应用处理器使用第二协议栈未成功注册上网络,执行S210。 [0070] Specifically, when the application processor using the second protocol stack is successfully registered on the network, performing S209, when the application processor using the second protocol stack is not successfully registered on the network, performing S210.

[0071 ] S209、所述应用处理器记录当前的位置信息。 [0071] S209, the application processor records the current position information.

[0072] 具体的,位置信息表示移动通信网络中预先规划的逻辑位置的标识,例如,位置信息包括小区标识或位置区域码等。 [0072] Specifically, the position information identifier indicates the logical location of the mobile communication network pre-planned, for example, the location information includes a cell ID or location area codes.

[0073] S210、所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位所述调制解调器。 [0073] S210, the application processor to restore the default switching state protocol stack or protocol stack of the application processor of the plurality of support in the default state recovery switch protocol stack protocol stack of the plurality of support and simultaneously resetting the modem.

[0074] 具体的,应用处理器使用第二协议栈未成功注册上网络,应用处理器根据预先已知的默认协议栈的开关状态,恢复默认协议栈的开关状态或同时发送复位指令对调制解调器进行复位操作。 [0074] Specifically, the application processor using the second protocol stack is not successfully registered on the network, the application processor in accordance with the switching state previously known default protocol stack, the protocol stack to restore the default switching state simultaneously, or sends a reset command to the modem reset operation. 默认协议栈为调制解调器支持的多个协议栈中的一个预先设置的协议栈,此处可以针对所有地区设置同一个默认的协议栈作为调制解调器初始选择使用的协议栈,也可以针对单个地区或处于某一区域的多个地区分别设置不同的默认协议栈,本发明实施例不作任何限定。 A stack of a plurality of preset default protocol stack protocol stack supported by the modem, herein may be provided with a default protocol stack for all areas as a modem protocol stack used for initial selection can be for a single region or in a plurality of regions of different areas are provided default protocol stack, embodiments of the present invention is not limited in any way. 进行复位操作后,应用处理器使用默认协议栈进行网络注册,网络注册成功后,使用默认协议栈进行工作。 After the reset operation, the application processor using the default network protocol stack registered, after the network registration is successful, the default protocol stack work.

[0075] S211、位置信息是否发生变化。 [0075] S211, the location information is changed or not.

[0076] 具体的,应用处理器周期性的获取位置信息,在当前获取的位置信息和上一次获取的位置信息相比发生变化时,执行S212,否则继续获取位置信息。 [0076] Specifically, the application processor periodically acquires position information acquired when a change in the current compared to the acquired position information and the position information, performing S212, otherwise, continue to acquire position information. 例如,位置信息为小区标识,移动终端由一个小区移动到另一小区,表示位置信息发生变化;位置信息为位置区域码,移动终端由一个位置区域移动到另一个位置区域,表明位置信息发生变化。 For example, the position information of a cell identifier, a cell by a mobile terminal moves to another cell, position information indicating a change; position information for the location area code, the mobile terminal moves from one location area to another location area, position information indicating a change . 应用处理器获取位置信息的周期本发明不作限制,可以根据实际需求进行设置。 Acquiring location information of the application processor according to the present invention is not limited period, it can be set according to actual demand.

[0077] S212、所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位所述调制解调器。 [0077] S212, the application processor to restore said plurality of protocol stack supported by the default protocol stack or the application processor switching state to restore the default protocol stack protocol stack of a plurality of switching states in said support and simultaneously resetting the modem.

[0078] S213、协议栈注册被拒绝的异常原因是否已上报。 [0078] S213, the abnormality cause stack denied registration has been reported.

[0079] 具体的,如果协议栈注册被拒绝的异常原因已上报过,则执行S216 ;否则,执行S214〇 [0079] Specifically, if the reason for the exception is denied registration protocol stack has been reported, perform S216; otherwise, execution S214〇

[0080] S214、获取所述协议栈注册被拒绝的异常原因和日志。 [0080] S214, obtains the protocol stack register logs the error and rejected.

[0081] S215、将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。 [0081] S215, the error cause, the current position information and the log report to the network side and / or user.

[0082] 具体的,应用处理器将异常原因、当前的位置信息和日志上报给网络侧,其中,可以在移动终端连接上wifi热点的情况下,通过wifi热点将上述信息上报给网络侧,以节省流量。 [0082] Specifically, the abnormality cause the application processor, the current position information and the log report to the network side, which can be connected to the case where the mobile terminal wifi hotspot, the hotspot by wifi reports this information to the network side, save traffic. 或者应用处理器也可以将异常原因显示在移动终端的显示屏上,供用户进行查看。 The application processor or cause of abnormality may be displayed on the display screen of the mobile terminal for the user to view.

[0083] S216、所述应用处理器处理本次异常结束。 [0083] S216, the application processor of this processing ends abnormally.

[0084] 实施本发明的实施例,应用处理器接到调制解调器检测到协议栈注册被拒绝时发送的异常指示消息,关闭当前使用的协议栈,从支持的多个协议栈中选择除当前使用的协议栈的其他协议栈,开启其他协议栈并使用其他协议栈注册网络,在成功注册上网络时,记录当前的位置信息,并在位置变化时或注册网络失败时,恢复默认协议栈的开关状态或复位调制解调器。 [0084] Example embodiments of the present invention, the application processor to the modem detects an abnormal indication message sent by the protocol stack when the registration is rejected, currently used protocol stack closed, in addition to the current selection from the plurality of stack supports used in when other stack protocol stack, open other protocol stack and other protocol stack home network, when successfully registered on the network, record the current location information, and when the position changes or registered network failure, restore the default protocol stack switch status or reset the modem. 这样在调制解调器无法正常通信时快速的被检测到,并通过切换其他协议栈进行网络注册的方式使调制解调器自动的恢复通信的正常,避免强制重启移动终端或位置更新造成的耗时过长的问题,减少了网络故障恢复的时间。 Thus when the modem is not communicating properly detected quickly, and causes the modem to automatically resume the normal communication protocol stack by switching the other way network registration to avoid time-consuming force restart problems caused by too long a mobile terminal or a location update, reducing the time network fault recovery.

[0085] 参见图3,为本发明实施例提供的一种网络通信功能异常的处理方法的另一流程示意图,在本发明实施例中,所述方法包括: [0085] Referring to Figure 3, another flow diagram of a network communication function provided by the exception processing method of the embodiment of the invention, in the embodiment of the invention, the method comprising:

[0086] S301、调制解调器是否检测到协议栈注册被拒绝。 [0086] S301, the modem has detected a protocol stack registration is rejected.

[0087] 具体的,调制解调器安装在手机内,可以封装为应用处理器AP内,或独立于应用处理器,本发明不作限制。 [0087] Specifically, a modem is mounted in the phone, the application processor may be encapsulated within the AP, or independent of the application processor, the present invention is not limited. 调制解调器用于将基带信号转换为射频信号、将射频信号转换为基带信号、处理接入层(AS)和非接入层(NAS)的信令、以及与AP处理器进行接口等。 A modem for converting the baseband signal into a radio frequency signal, the radio frequency signal into a baseband signal, processing the signaling access stratum (AS) and Non-Access Stratum (NAS), and the AP interface processors. 由于某些网络原因,合法的UE用户注册网络有时候也会被网络拒绝导致无服务,必须由用户手动重启再重试注册,通常原因包括网络鉴权流程失败、国际漫游时运营商之间签约问题等。 For some reason the network, the UE legitimate registered user network is a network sometimes lead to denial-of-service must be restarted manually by the user try again registered, usually causes include network authentication process fails, signing international roaming between operators issues. 例如:UE发送附着请求消息后,在定时器T3410超时之前接收到网络发送的附着拒绝消息, 附着拒绝消息里携带网络拒绝UE附着的原因,例如,非法UE、EPS服务不被允许、PLMN不被允许、跟踪区域不被允许、EPS服务不被允许等。 For example: UE sends an attach request message, before receiving the ATTACH REJECT message sent over the network in the timer T3410 expires, the ATTACH REJECT message rejection cause in the network carrying the UE is attached, for example, illegal UE, the EPS service is not allowed, the PLMN is not It allows the tracking area is not permitted, EPS services not allowed and so on. 当UE收到附着拒绝后进入无服务状态。 After the UE receives the attach denied access to service state. 若发生协议栈注册被拒绝,执行S302,若没有发生协议栈注册被拒绝,继续执行S301。 If the protocol stack is denied registration occurs, perform S302, if the stack did not happen registration is denied, continues S301. 发生协议栈注册被拒绝时,UE将进入无网络服务状态。 When the registration was denied the occurrence of the protocol stack, UE will enter service no network status.

[0088] S302、所述调制解调器指示应用处理器处理本次异常。 [0088] S302, the modem processor indicates that the application of this exception.

[0089] 具体的,调制解调器指示应用处理器处理本次异常的方法可以是:调制解调器向应用处理器发送异常指示消息,应用处理器接收到异常指示消息表明调制解调器检测到协议栈注册被拒绝,此时应用处理器需要对该异常进行处理。 [0089] Specifically, the method of indicating the modem processor processes the application of this exception may be: a modem transmits a message to the application processor exception indication, the application processor receives an indication message indicating the abnormality detected by the modem protocol stack registration is rejected, then application processor needs to handle the exception. 其中,异常指示消息的格式本发明不作限制,可以利用现有的消息中扩展字段的方式来实现或构造新的消息来实现。 Wherein the abnormality indication message format is not limited in the present invention may be utilized in a manner conventional in the message an extension field to implement a new message or configuration to achieve.

[0090] S303、所述应用处理器判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,如果是,进行到S304 ;否则,进行到S301。 [0090] S303, the application processor determines whether the abnormality register stack set the number of occurrences of rejected within a set time, and if so, proceeds to S304,; otherwise, proceeds to S301.

[0091] 在应用处理器接收到调制解调器发送的异常指示消息后,判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,以保证检测情况的稳定性。 After the abnormal situation register stack [0091] in the application processor receives an exception indication message sent by the modem, the set number is determined whether the set time of the occurrence of rejected to ensure the stability of the situation detected.

[0092] S304、所述应用处理器获取所述调制解调器当前使用的第一协议栈。 [0092] S304, the application processor obtaining first protocol of the modem currently used.

[0093] 具体的,协议栈表示某个通信制式对应的多种协议栈的总和,例如:协议栈包括GSM协议栈、EDGE协议栈、HSPDA协议栈、TD-SCDMA协议栈、TDD-LTE协议栈、FDD-LTE协议栈等,各个通信制式协议栈下面又包括多个子协议栈,例如:TD-LTE协议栈又包括物理层协议栈、介质访问控制层MAC协议栈、无线链路控制RLC协议栈、RRC协议栈、PDCP协议栈和NAS协议栈等。 [0093] Specifically, the protocol stack represents the sum of a plurality of corresponding communications standard protocol stack, for example: GSM protocol stack protocol stack comprises, EDGE protocol stack, the protocol stack of the HSPDA, TD-SCDMA protocol stack, TDD-LTE protocol stack , FDD-LTE protocol stacks, the following respective communication standard protocol stack comprises a plurality of sub-protocol stacks in turn, for example: TD-LTE protocol stack protocol stack also includes a physical layer, medium access control MAC layer protocol stack, a radio link control RLC protocol stack , RRC protocol stack, PDCP protocol stack and NAS protocol stack and so on. 此处不再赘述。 Not repeat them here. 应用处理器获取调制解调器当前使用的第一协议栈的方法可以是:应用处理器查询调制解调器中表示协议栈的状态标志位获取当前使用的第一协议栈,例如标志位1表示对应的协议栈为开启状态,标志位〇表示对应的协议栈为关闭状态。 Application processor obtains a first modem protocol stack currently used method may be: the application processor queries the modem protocol stack indicating the status flag obtaining first protocol stack currently used, for example, a flag bit indicates that the corresponding protocol stack opening status flag indicates that the corresponding square of a protocol stack in a closed state.

[0094] S305、所述应用处理器关闭所述第一协议栈,以及从所述调制解调器支持的多个协议栈中选择除所述第一协议栈的第二协议栈。 [0094] S305, the application processor closes the first protocol stack, and selecting a second protocol stack than said first protocol stack protocol stack from a plurality of said modem supports.

[0095] 具体的,调制解调器使用第一协议栈发生协议栈注册被拒绝,从而引起调制解调器异常,调制解调器需要关闭第一协议栈,防止协议栈注册被拒绝的问题反复发生。 [0095] Specifically, the first protocol stack occurs using modem protocol stack registration is rejected, causing abnormal modem, the modem needs to close first protocol stack, the protocol stack to prevent the problem of repeated registration is rejected. 然后, 应用处理器确定调制解调器支持的多个协议栈中选择除第一协议栈的第二协议栈,其中, 应用处理器选择的策略可以是:选择比第一协议栈低一级的协议栈作为第二协议栈;或测量周围各个协议栈对应的小区信号的信号强度,将信号强度最大的协议栈作为第二协议栈;或选择比第一协议栈高一级的协议栈作为第二协议栈;或采用其他的策略确定第二协议栈,本发明不作限制。 Then, a plurality of protocol stack applications supported by the modem processor determines a protocol stack in addition to the first selecting a second protocol stack, wherein the application processor selection policy may be: selecting the protocol stack than the first protocol stack as a low second protocol stack; signal strength measurements of various protocol stacks or around a cell corresponding to the signal, the maximum signal strength as a second protocol stack protocol stack; or high selectivity first protocol stack as the protocol stack a second protocol stack ; or by other policy determining a second protocol stack, the present invention is not limited.

[0096] S306、所述应用处理器开启所述第二协议栈,并使用所述第二协议栈进行网络注ΠΠ. 册。 [0096] S306, the application processor is turned on and the second protocol, and using the second network protocol stack injection ΠΠ. Volumes.

[0097] 具体的,关闭第一协议栈后,移动终端由连接态转换为空闲态,应用处理器开启选择的第二协议栈,使用第二协议栈进行网络注册,网络注册的过程为:移动向网络侧发起附着请求,若网络侧允许移动终端接入,向移动终端返回附着响应,表示网络注册成功,移动终端由无服务态转换为有服务状态;若网络侧不允许移动终端接入,向移动终端返回拒绝/错误信息,表示网络注册失败。 [0097] Specifically, after closing the first protocol stack, the mobile terminal by the connection state to the idle state, the second protocol stack of the application processor turns on the selection, using the second network protocol stack register, a network registration procedure is: Mobile initiating an attach request to the network side, when the mobile terminal is allowed access to the network side, the mobile terminal returns a response to the attachment, the network indicates a successful registration, the mobile terminal from the service state to the no serve state has; if the network side mobile terminal access is not allowed, the mobile terminal returns to the rejection / error information indicates that the network registration failed.

[0098] S307、若网络注册成功,所述应用处理器记录当前的位置信息。 [0098] S307, if the network registration is successful, the application processor records the current position information. 之后可执行步骤S308 ;同时还可以并行执行步骤S310。 After Step S308 execute; also can be performed in parallel to step S310.

[0099] 具体的,位置信息表示移动通信网络中预先规划的逻辑位置的标识,例如,位置信息包括小区标识或位置区域码等。 [0099] Specifically, the position information identifier indicates the logical location of the mobile communication network pre-planned, for example, the location information includes a cell ID or location area codes.

[0100] S308、位置信息是否发生变化。 [0100] S308, the location information is changed.

[0101] 具体的,应用处理器周期性的获取位置信息,在当前获取的位置信息和上一次获取的位置信息相比发生变化时,执行S309,否则继续获取位置信息。 [0101] Specifically, the application processor periodically acquires position information acquired when a change in the current compared to the acquired position information and the position information, performing S309, otherwise, continue to acquire position information. 例如,位置信息为小区标识,移动终端由一个小区移动到另一小区,表示位置信息发生变化;位置信息为位置区域码,移动终端由一个位置区域移动到另一个位置区域,表明位置信息发生变化。 For example, the position information of a cell identifier, a cell by a mobile terminal moves to another cell, position information indicating a change; position information for the location area code, the mobile terminal moves from one location area to another location area, position information indicating a change . 应用处理器获取位置信息的周期本发明不作限制,可以根据实际需求进行设置。 Acquiring location information of the application processor according to the present invention is not limited period, it can be set according to actual demand.

[0102] S309、所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位调制解调器。 [0102] S309, the application processor to restore the default switching state protocol stack or protocol stack of the application processor of the plurality of support in the default state recovery switch protocol stack protocol stack of the plurality of support and simultaneously reset the modem.

[0103] S310、协议栈注册被拒绝的异常原因是否已上报。 [0103] S310, the abnormality cause stack denied registration has been reported.

[0104] 具体的,如果协议栈注册被拒绝的异常原因已上报过,则执行S301 ;当协议栈注册被拒绝的异常原因已上报过之后,用户可以根据异常原因进行调整或修复,之后继续跳转到S301由调制解调器检测异常,若调制解调器仍检测到协议栈注册被拒绝,则继续执行S302等后续步骤。 [0104] In particular, the cause of the abnormality if the protocol stack registration was rejected has been reported before, then perform S301; when the reason for the exception stack registration was rejected has been reported before, the user may be adjusted or repaired according to the abnormal reason, then continue to jump S301 to detect an abnormality by a modem, if the modem is still detects the protocol stack registration is denied, the subsequent steps S302 to continue the like. 否则,执行S311。 Otherwise, S311.

[0105] S311、获取所述协议栈注册被拒绝的异常原因和日志。 [0105] S311, obtains the protocol stack register logs the error and rejected.

[0106] S312、将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。 [0106] S312, the error cause, the current position information and the log report to the network side and / or user.

[0107] 具体的,应用处理器将异常原因、当前的位置信息和日志上报给网络侧,其中,可以在移动终端连接上wifi热点的情况下,通过wifi热点将上述信息上报给网络侧,以节省流量。 [0107] Specifically, the abnormality cause the application processor, the current position information and the log report to the network side, which can be connected to the case where the mobile terminal wifi hotspot, the hotspot by wifi reports this information to the network side, save traffic. 或者应用处理器也可以将异常原因显示在移动终端的显示屏上,供用户进行查看。 The application processor or cause of abnormality may be displayed on the display screen of the mobile terminal for the user to view.

[0108] 当上述信息上报之后,同样可跳转至步骤S301,由调制解调器检测异常,若调制解调器仍检测到协议栈注册被拒绝,则继续执行S302等后续步骤。 [0108] After the above information is reported, the same jump to step S301, the abnormality is detected by a modem, if the modem is still detects the protocol stack registration is denied, the subsequent steps S302 to continue the like.

[0109] 通过循环的方式,可确保协议栈注册被拒绝问题的解决,当问题解决之后,调制解调器将不会再检测到协议栈注册被拒绝,终端可恢复正常工作。 [0109] By way of circulation, the protocol stack ensuring the registration was denied solve the problem, when the problem is solved, the modem will not detect the protocol stack registration is rejected, the terminal to resume normal work.

[0110] 实施本发明的实施例,应用处理器接到调制解调器检测到协议栈注册被拒绝时发送的异常指示消息,关闭当前使用的协议栈,从支持的多个协议栈中选择除当前使用的协议栈的其他协议栈,开启其他协议栈并使用其他协议栈注册网络,在成功注册上网络时,记录当前的位置信息,并在位置变化时,恢复默认协议栈的开关状态或复位调制解调器。 [0110] Example embodiments of the present invention, the application processor to the modem detects an abnormal indication message sent by the protocol stack when the registration is rejected, currently used protocol stack closed, in addition to the current selection from the plurality of stack supports used in other protocol stack protocol stack, the protocol stack and the other open to use other network protocol stack register, upon successful registration on the network, recording the current position information, and a change in the position, to restore the default state of the switch or reset the modem protocol stack. 这样在调制解调器无法正常通信时快速的被检测到,并通过切换其他协议栈进行网络注册的方式使调制解调器自动的恢复通信的正常,避免强制重启移动终端或位置更新造成的耗时过长的问题,减少了网络故障恢复的时间。 Thus when the modem is not communicating properly detected quickly, and causes the modem to automatically resume the normal communication protocol stack by switching the other way network registration to avoid time-consuming force restart problems caused by too long a mobile terminal or a location update, reducing the time network fault recovery.

[0111] 参见图4,为本发明实施例提供的一种应用处理器的结构示意图,在本发明实施例中,所述应用处理器4包括:判断模块401、确定模块402、选择模块403、注册模块404、记录模块405。 [0111] Referring to Figure 4, a schematic diagram of the structure of an application processor according to an embodiment of the invention, in the embodiment of the present invention, the application processor 4 includes: a determining module 401, a determining module 402, selection module 403, registration module 404, the recording module 405.

[0112] 判断模块401,用于接收调制解调器发送的异常指示消息后,判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,其中,所述异常指示消息指示所述调制解调器检测到协议栈注册被拒绝。 [0112] a determination module 401, the abnormality indication message sent by the receiving modem, the protocol stack is abnormal situation register set number is refused occurs in the setting time is determined, wherein the abnormality detection indication message instructs the modem protocol stack to be refused registration.

[0113] 确定模块402,用于若所述判断的结果为是,获取所述调制解调器当前使用的第一协议栈。 [0113] determination module 402, a determination result is yes if the acquired current first protocol stack used by the modem.

[0114] 选择模块403,用于关闭所述第一协议栈,以及从所述调制解调器支持的多个协议栈中选择除所述第一协议栈的第二协议栈。 [0114] selection module 403, for closing the first protocol stack, and selecting a second protocol stack than said first protocol stack protocol stack from a plurality of said modem supports.

[0115] 注册模块404,用于开启所述第二协议栈,并使用所述第二协议栈进行网络注册。 [0115] The registration module 404, for turning the second protocol stack, and using the second network protocol stack register.

[0116] 记录模块405,用于若网络注册成功,记录当前的位置信息。 [0116] The recording module 405, if the network for registration is successful, the current position information.

[0117] 本发明实施例和方法实施例一基于同一构思,其带来的技术效果也相同,具体原理请参照方法实施例一的描述,此处不再赘述。 A same concept Example embodiments and methods [0117] The present invention, which also brings the same technical effects, please refer to the specific method described in principle an embodiment of the embodiment will not be repeated here.

[0118] 可选的,应用处理器还包括: [0118] Alternatively, the application processor further comprises:

[0119] 恢复模块,用于当网络注册失败时、或当网络注册成功后且位置发生变化时,恢复所述支持的多个协议栈中的默认协议栈的开关状态或恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位所述调制解调器。 [0119] Recovery module configured to switch the state of the plurality of default protocol stack protocol stack when the network registration failed, or when the network is changed and the position registration is successful, the support in the recovery or restoration of said plurality of support a protocol stack protocol stack default switching state and simultaneously resetting the modem.

[0120] 可选的,应用处理器还包括: [0120] Alternatively, the application processor further comprises:

[0121] 上报模块,用于若所述协议栈注册被拒绝的异常原因未上报,获取所述协议栈注册被拒绝的异常原因和日志;将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。 [0121] The reporting module, configured to, if the cause of the abnormality protocol stack rejected registration not reported, obtains the protocol stack rejected registration error cause and log; the cause of the error of the current position information and the log reported to the network side and / or user.

[0122] 可选的,上报模块用于: [0122] Optionally, the reporting module configured to:

[0123] 扫描周围的wifi热点并在与wifi热点建立通信连接后,通过建立通信连接的wifi热点将所述异常原因、所述当前的位置信息和日志上报给网络侧。 [0123] Hotspots wifi around and after establishing communication connection with wifi hotspot, wifi hotspot by establishing a communication connection to the cause of the error of the current position information and the log report to the network side.

[0124] 本发明实施例和方法实施例二和三基于同一构思,其带来的技术效果也相同,具体原理请参照方法实施例二和三的描述,此处不再赘述。 Example embodiments and methods [0124] embodiment of the present invention is based on the same concept II and III, which also brings the same technical effects, please refer to the specific principles and methods described in Example III two embodiments will not be repeated here.

[0125] 参见图5,为本发明实施例的一种应用处理器的另一结构示意图,在本实施中,应用处理器用于实现图1所述的网络通信功能异常的处理方法,应用处理器5包括CPU501、存储器502和通信接口503,应用处理器中的CPU501的数量可以是一个或多个,图5以一个CPU为例。 [0125] Referring to Figure 5, a schematic structure of an application according to another embodiment of the invention the processor, in the present embodiment, the application processor for implementing the abnormality FIG 1 a network communication function of the processing method, the application processor 5 comprises the CPU 501, memory 502, and a communication interface 503, the CPU 501 of the number of application processors may be one or more of a CPU in FIG. 5 as an example. 本发明的一些实施例中,CPU501、存储器502和通信接口503可通过总线或其他方式连接,图5中以总线连接为例。 Some embodiments of the present invention, the CPU 501, memory 502 and communication interface 503 can be connected by a bus or other means, FIG 5 is connected to the bus for example.

[0126] 其中,存储器502中存储一组程序代码,且CPU501用于调用存储器502中存储的程序代码,用于执行以下操作: [0126] wherein, the memory 502 stores a set of program codes, and the CPU501 program code stored in the memory 502 calls for performing the following operations:

[0127] 接收调制解调器发送的异常指示消息后,判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,其中,所述异常指示消息指示所述调制解调器检测到协议栈注册被拒绝; Abnormal situation register stack rejected [0127] After receiving the message sent by the modem exception indication, whether to set the number of occurrences within a predetermined time is determined, wherein the indication message instructs the abnormality detected by the modem protocol stack registration was denied ;

[0128] 若所述判断的结果为是,所述应用处理器获取所述调制解调器当前使用的第一协议栈; [0128] If the result of the determination is YES, the application processor obtains the currently used first modem protocol stack;

[0129] 关闭所述第一协议栈,以及从所述调制解调器支持的多个协议栈中选择除所述第一协议栈的第二协议栈; [0129] Close the first protocol stack, and selecting from said plurality of protocol stack supported by the other modem a second protocol stack, said first protocol stack;

[0130] 开启所述第二协议栈,并使用所述第二协议栈进行网络注册; [0130] Open and the second protocol, and using the second network protocol stack register;

[0131] 若网络注册成功,记录当前的位置信息。 [0131] If the network registration is successful, the current record position information.

[0132] 在本发明的一些实施例中,CPU501还用于执行: [0132] In some embodiments of the present invention, the CPU 501 is further configured to perform:

[0133] 若所述判断的结果为否,所述应用处理器复位所述调制解调器。 [0133] If the determination result is NO, the application processor reset the modem.

[0134] 在本发明的一些实施例中,CPU501还用于执行: [0134] In some embodiments of the present invention, the CPU 501 is further configured to perform:

[0135] 若网络注册失败,所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位所述调制解调器。 A plurality of protocol stacks a plurality of protocol stacks [0135] When network registration failed, the application processor to restore said support in the default switching state protocol stack or the application processor to restore said support in the default protocol stack switching state and simultaneously resetting the modem.

[0136] 在本发明的一些实施例中,CPU501执行所述若网络注册成功,记录当前的位置信息之后,还用于执行: [0136] In some embodiments of the present invention, the CPU 501 executes the network if the registration is successful, then the current record position information, further configured to perform:

[0137] 当位置发生变化时,所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位所述调制解调器。 A plurality of protocol stacks a plurality of protocol stacks [0137] When the position is changed, the application processor to restore said support in the default off state of the protocol stack of the application processor to restore the default supported protocol stack switching state and simultaneously resetting the modem.

[0138] 在本发明的一些实施例中,CPU501还用于执行: [0138] In some embodiments of the present invention, the CPU 501 is further configured to perform:

[0139] 若所述协议栈注册被拒绝的异常原因未上报,获取所述协议栈注册被拒绝的异常原因和日志; [0139] If the cause of the abnormality register stack rejected unreported obtain the protocol stack register logs the error and rejected;

[0140] 将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。 [0140] The error cause, the current position information and the log report to the network side and / or user.

[0141] 在本发明的一些实施例中,CPU501执行所述将所述异常原因、所述当前的位置信息和日志上报给网络侧包括: [0141] In some embodiments of the present invention, the CPU 501 performs the error cause the said current position information and the log report to the network side comprises:

[0142] 扫描周围的wifi热点并在与wifi热点建立通信连接后,通过建立通信连接的wifi热点将所述异常原因、所述当前的位置信息和日志上报给网络侧。 [0142] Hotspots wifi around and after establishing communication connection with wifi hotspot, wifi hotspot by establishing a communication connection to the cause of the error of the current position information and the log report to the network side.

[0143] 本发明实施例还提供了一种包括上述应用处理器的移动终端,移动终端包括但不限于搭载iOS_®、Android®、Microsoft®或者其它操作系统的移动终端,诸如移动电话。 [0143] Embodiments of the present invention further provides a mobile terminal comprising the above-described application processor, including but not limited to a mobile terminal mounted iOS_®, Android®, Microsoft® mobile terminal or other operating systems, such as mobile telephones. 也可以是其它移动终端,诸如具有触敏表面(例如,触摸屏显示器和/或触控板)的膝上型计算机或平板电脑或台式计算机。 It may be other mobile terminals such as a laptop or desktop computer or tablet computer having a touch-sensitive surface (e.g., touch screen displays and / or touch plate).

[0144] 在下面的讨论中,介绍了一种包括显示器和触敏表面的移动终端。 [0144] In the following discussion describes a mobile terminal comprising a display and a touch-sensitive surface. 然而应当理解, 移动终端可以包括一个或多个其他物理用户接口设备,诸如物理键盘、鼠标和/或操作杆。 However, it should be understood that the mobile terminal may include one or more other physical user-interface devices, such as a physical keyboard, a mouse and / or lever.

[0145] 移动终端通常支持多种应用程序,诸如以下中的一种或多种:画图应用程序、呈现应用程序、文字处理应用程序、网页创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、锻炼支持应用程序、相片管理应用程序、数字相机应用程序、数字视频摄像机应用程序、网络浏览应用程序、数字音乐播放器应用程序、和/或数字视频播放器应用程序。 [0145] mobile terminal typically supports multiple applications in one or more of the following such as: drawing application, a presentation application, a word processing application to create the application programs, web pages, disk editing application, a spreadsheet application, gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, a workout support application, a photo management application, a digital camera application, a digital video camera application, a web browsing application, a digital music player application, and / or a digital video player application.

[0146] 可在移动终端上执行的各种应用程序可使用至少一个共用的物理用户接口设备, 诸如触敏表面。 [0146] various applications that may be executed on the mobile terminal may use at least one common physical user-interface devices, such as a touch-sensitive surface. 触敏表面的一种或多种功能以及显示在移动终端上的相应信息可从一种应用程序调整和/或变化至下一种应用程序和/或在相应应用程序内被调整和/或变化。 A touch-sensitive surface or more functions and displays the information on the mobile terminal from an application may be to adjust and / or change of an application program and / or adjusted within a respective application and / or changes . 这样,移动终端的共用物理架构(诸如触敏表面)可利用对于用户而言直观清楚的用户界面来支持各种应用程序。 In this way, a common physical architecture (such as a touch-sensitive surface) of the mobile terminal may intuitively clear to the user using user interface to support a variety of applications.

[0147] 本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 [0147] Those of ordinary skill in the art may understand that the above-described method embodiments all or part of the processes may be related hardware instructed by a computer program, the program may be stored in a computer readable storage medium. when the program is executed, the processes of the foregoing method embodiments. 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。 Wherein the storage medium may be a magnetic disk, an optical disk, read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.

[0148] 以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。 [0148] The above descriptions are merely exemplary embodiments of the present invention only, but not intended to limit the scope of the present invention, those of ordinary skill in the art may understand that the above embodiments all or part, and by equivalent variations of the claimed invention is made, it is still covered by the scope of the invention.

Claims (10)

  1. 1. 一种网络通信功能异常的处理方法,其特征在于,包括: 应用处理器接收调制解调器发送的异常指示消息后,判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,其中,所述异常指示消息指示所述调制解调器检测到协议栈注册被拒绝; 若所述判断的结果为是,所述应用处理器获取所述调制解调器当前使用的第一协议栈; 所述应用处理器关闭所述第一协议栈,以及从所述调制解调器支持的多个协议栈中选择除所述第一协议栈的第二协议栈; 所述应用处理器开启所述第二协议栈,并使用所述第二协议栈进行网络注册; 若网络注册成功,所述应用处理器记录当前的位置信息。 1. A network communication function abnormality processing method, characterized by comprising: abnormality indication message sent by the receiving modem processor after the application, the protocol determines whether to set the number of occurrences within a set time register stack exceptions rejected, wherein the abnormality detection indication message instructs the modem to the protocol stack registration is refused; if the determination result is yes, the application processor obtains the first modem protocol stack currently used; the application processor closing the first protocol stack, and a plurality of protocol stacks from the selected modem supports a second protocol stack, said first protocol stack other; opening the application processor and the second protocol, and uses the said second protocol stack registered to a network; if the network registration is successful, the application processor records the current position information.
  2. 2. 如权利要求1所述的方法,其特征在于,还包括: 若网络注册失败,所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位所述调制解调器。 2. The method according to claim 1, characterized in that, further comprising: if a network registration fails, the switching state of the application processor to restore said plurality of protocol stack supported by the default protocol stack or the application process restoring the plurality of protocol stacks is supported by the protocol stack in the default switching state and simultaneously resetting the modem.
  3. 3. 如权利要求1或2所述的方法,其特征在于,所述若网络注册成功,记录当前的位置信息之后,还包括: 当位置发生变化时,所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位所述调制解调器。 3. The method of claim 1 or claim 2, wherein, if the network registration is successful, then record the current location information, further comprising: when the position changes, the application processor to restore said support a plurality of protocol stack protocol stack of a plurality of default protocol stack switches state or the recovery of the application processor supports a protocol stack in the default switching state and simultaneously resetting the modem.
  4. 4. 如权利要求1-3任意一项所述的方法,其特征在于,还包括: 若所述协议栈注册被拒绝的异常原因未上报,获取所述协议栈注册被拒绝的异常原因和日志; 将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。 4. A method as claimed in any one of claims 1-3, characterized in that, further comprising: if the cause of the abnormality protocol stack rejected registration not reported, logs the error and acquire the registration protocol stack rejected ; the error cause, the current position information and the log report to the network side and / or user.
  5. 5. 如权利要求4所述的方法,其特征在于,所述将所述异常原因、所述当前的位置信息和日志上报给网络侧,包括: 扫描周围的wifi热点并在与wifi热点建立通信连接后,通过建立通信连接的wifi热点将所述异常原因、所述当前的位置信息和日志上报给网络侧。 5. The method according to claim 4, characterized in that the said error cause, the current position information and the log report to the network side, comprising: scanning wifi hotspot around and establish communication with wifi hotspot after the connection by establishing communication connection hotspot wifi the error cause, the current position information and the log report to the network side.
  6. 6. -种应用处理器,其特征在于,包括: 判断模块,用于接收调制解调器发送的异常指示消息后,判断设定时间内是否发生设定次数的协议栈注册被拒绝的异常情况,其中,所述异常指示消息指示所述调制解调器检测到协议栈注册被拒绝; 确定模块,用于若所述判断的结果为是,获取所述调制解调器当前使用的第一协议栈; 选择模块,用于关闭所述第一协议栈,以及从所述调制解调器支持的多个协议栈中选择除所述第一协议栈的第二协议栈; 注册模块,用于开启所述第二协议栈,并使用所述第二协议栈进行网络注册; 记录模块,用于若网络注册成功,记录当前的位置信息。 6. - processor of applications, characterized by comprising: determining means for receiving abnormality indication message sent by the modem, the protocol determines whether to set the number of occurrences within a set time register stack abnormal condition is rejected, wherein, the abnormality indication message indicates that the modem detects the protocol stack registration is refused; determining means for determining if the result is YES, the modem is currently obtaining a first protocol stack used; selection module, for closing the said first protocol stack, and a plurality of protocol stacks from the other modem supports a second protocol selected first protocol stack; registration module for opening said second protocol stack, and using the second two registered to a network protocol stack; recording module for if the network registration is successful, the current position information.
  7. 7. 如权利要求6所述的应用处理器,其特征在于,还包括: 恢复模块,用于当网络注册失败时、或当网络注册成功后且位置发生变化时,恢复所述支持的多个协议栈中的默认协议栈的开关状态或恢复所述支持的多个协议栈中的默认协议栈的开关状态并同时复位所述调制解调器。 7. The application processor according to claim 6, characterized in that, further comprising: a restoration module configured to register when the network fails, or when the network is changed and the position registration is successful, the recovery of the plurality of support a plurality of protocol stack protocol stack protocol stack default switching state or to restore said support in the default switching state protocol stack and simultaneously resetting the modem.
  8. 8. 如权利要求6或7所述的应用处理器,其特征在于,还包括: 上报模块,用于若所述协议栈注册被拒绝的异常原因未上报,获取所述协议栈注册被拒绝的异常原因和日志;将所述异常原因、所述当前的位置信息和日志上报给网络侧和/ 或用户。 8. The application processor of claim 6 or claim 7, characterized in that, further comprising: a reporting module, configured to, if the error cause register stack rejected not reported, acquiring the stack registration is rejected the error and logs; the error cause, the current position information and the log report to the network side and / or user.
  9. 9. 如权利要求8所述的应用处理器,其特征在于,所述上报模块具体用于: 扫描周围的wifi热点并在与wifi热点建立通信连接后,通过建立通信连接的wifi热点将所述异常原因、所述当前的位置信息和日志上报给网络侧。 9. The application processor according to claim 8, wherein the reporting module is configured to: scan wifi hotspots around and after establishing communication connection with wifi hotspot, wifi hotspot by establishing a communication connection to the error cause, the current position information and the log report to the network side.
  10. 10. -种移动终端,其特征在于,包括如权利要求6-9任意一项所述的应用处理器。 10. - kind of mobile terminal, comprising 6-9 of the application processor as claimed in any one of claims.
CN 201510824799 2015-11-24 2015-11-24 Abnormal network communication processing method, the application processor and the mobile terminal CN105376773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510824799 CN105376773B (en) 2015-11-24 2015-11-24 Abnormal network communication processing method, the application processor and the mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510824799 CN105376773B (en) 2015-11-24 2015-11-24 Abnormal network communication processing method, the application processor and the mobile terminal

Publications (2)

Publication Number Publication Date
CN105376773A true true CN105376773A (en) 2016-03-02
CN105376773B CN105376773B (en) 2018-09-04

Family

ID=55378482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510824799 CN105376773B (en) 2015-11-24 2015-11-24 Abnormal network communication processing method, the application processor and the mobile terminal

Country Status (1)

Country Link
CN (1) CN105376773B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488491A (en) * 2016-12-13 2017-03-08 广东欧珀移动通信有限公司 Method and device for processing network communication function abnormality
CN106686637A (en) * 2016-12-13 2017-05-17 广东欧珀移动通信有限公司 Processing method of network communication function abnormities and processing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413529A (en) * 2011-11-28 2012-04-11 青岛海信移动通信技术股份有限公司 Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal
CN102763484A (en) * 2009-11-23 2012-10-31 捷讯研究有限公司 Method and apparatus for state/mode transitioning
CN103841615A (en) * 2012-11-22 2014-06-04 三星电子株式会社 Apparatus and method for selecting network in communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102763484A (en) * 2009-11-23 2012-10-31 捷讯研究有限公司 Method and apparatus for state/mode transitioning
CN102413529A (en) * 2011-11-28 2012-04-11 青岛海信移动通信技术股份有限公司 Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal
CN103841615A (en) * 2012-11-22 2014-06-04 三星电子株式会社 Apparatus and method for selecting network in communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488491A (en) * 2016-12-13 2017-03-08 广东欧珀移动通信有限公司 Method and device for processing network communication function abnormality
CN106686637A (en) * 2016-12-13 2017-05-17 广东欧珀移动通信有限公司 Processing method of network communication function abnormities and processing device

Also Published As

Publication number Publication date Type
CN105376773B (en) 2018-09-04 grant

Similar Documents

Publication Publication Date Title
US20110194505A1 (en) Methods and apparatus to support voice solutions for data centric terminals
US20090318199A1 (en) Mobile equipment autonomous quick release detection
US20130044613A1 (en) Optimizing voice calls on packet switched networks
US20130237197A1 (en) Methods and apparatus for subscription management in dual sim single standby devices
CN104081826A (en) Method and apparatus for processing NAS signaling request in wireless communication system
CN102404815A (en) Method for determining network interoperable mode and terminal equipment
US20120236707A1 (en) Method and Arrangement for Managing Radio Link Failure
CN102448187A (en) Method and terminal capable of automatically accessing Wi-Fi (Wireless Fidelity) network
US20080076405A1 (en) Method of handling radio link failure in wireless communications system and related device
CN102612084A (en) Method and device for controlling data traffic
CN101051981A (en) WLAN abnormal quick restoring method and device
CN102111853A (en) Method and device for automatically switching network connection as well as mobile terminal
JP2012518923A (en) How to locate the wireless network problems, devices, and systems
JP2007312393A (en) Method and system for signaling release cause indication in umts network
US20120135736A1 (en) Connection Re-Establishment in a Communication System
CN101826967A (en) Data card and dial-up networking method
CN101925153A (en) Access controlling method, equipment and system
CN103747504A (en) Communicator and communication method
US20150181639A1 (en) Method and apparatus for restricting ue session management procedure retry after network rejection
US20150312829A1 (en) Offload processing method, control unit, and system
CN101848535A (en) Method for initiating registration to communication network by using terminal and terminal
US20130286935A1 (en) Method for implementing specific termination cause codes in termination requests
US8478273B2 (en) Method and apparatus for intelligently reporting neighbor information to facilitate automatic neighbor relations
CN102804829A (en) Methods and apparatuses for avoiding denial of service attacks by rogue access points
US20150036512A1 (en) Method for reporting radio link failure information

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01