CN108599987B - Processing method for network communication function abnormity, application processor and user terminal - Google Patents

Processing method for network communication function abnormity, application processor and user terminal Download PDF

Info

Publication number
CN108599987B
CN108599987B CN201810224325.6A CN201810224325A CN108599987B CN 108599987 B CN108599987 B CN 108599987B CN 201810224325 A CN201810224325 A CN 201810224325A CN 108599987 B CN108599987 B CN 108599987B
Authority
CN
China
Prior art keywords
protocol stack
application processor
modem
abnormal
protocol
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.)
Expired - Fee Related
Application number
CN201810224325.6A
Other languages
Chinese (zh)
Other versions
CN108599987A (en
Inventor
李伟清
陈燕绿
蔚宝珠
张强
王旭康
周千里
杜渊华
蔡文龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810224325.6A priority Critical patent/CN108599987B/en
Publication of CN108599987A publication Critical patent/CN108599987A/en
Application granted granted Critical
Publication of CN108599987B publication Critical patent/CN108599987B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

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

Abstract

本发明公开了一种网络通信功能异常的处理方法,该方法包括:应用处理器接收调制解调器检测到协议栈状态异常而发送的异常指示消息;所述应用处理器关闭引起协议栈状态异常的第一协议栈;所述应用处理器开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息。本发明实施例还提供了一种应用处理器和用户终端。采用本发明实施例可快速检测和恢复网络通信功能的异常。

The invention discloses a method for processing abnormal network communication function. The method includes: an application processor receives an abnormal indication message sent by a modem when a protocol stack state abnormality is detected; protocol stack; the application processor starts a second protocol stack, and uses the second protocol stack to perform network registration, and the second protocol stack is a plurality of protocol stacks supported by the modem except the first protocol stack If the registration of the second protocol stack is successful, the application processor records the current location information. The embodiments of the present invention also provide an application processor and a user terminal. By adopting the embodiments of the present invention, the abnormality of the network communication function can be quickly detected and recovered.

Description

网络通信功能异常的处理方法、应用处理器和用户终端Method for handling abnormal network communication function, application processor and user terminal

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种网络通信功能异常的处理方法、应用处理器和用户终端。The present invention relates to the field of communication technologies, and in particular, to a method for processing abnormal network communication functions, an application processor and a user terminal.

背景技术Background technique

随着移动互联网的高速发展数据业务占据的比重越来越大,使得智能手机中的调制解调器的作用和地位变得日益重要,调制解调器用于将待发送数据转换为射频信号以及将射频信号转换为待处理数据、处理接入层(AS)和非接入层(NAS)的信令、以及与AP处理器进行接口等。在智能手机的使用过程中,智能手机可能会在不同的通信制式(比如2G、3G和4G的通信制式)之间切换,在通信制式切换的过程中经常可能会发生异常,手机无法正常连网通信,例如协议栈状态异常。目前,解决因异常而无法连网通信的解决方案有:智能手机移动到新的位置区域时,向网络侧设备发起位置更新通知,网络侧设备重新对智能手机进行配置,恢复调制解调器的配置参数;或用户发现长时间不能连网通信后,手动对用户终端进行强制重启恢复或设置调制解调器的配置参数。该两种方案耗费的时间均过长,影响用户体验。With the rapid development of the mobile Internet, the proportion of data services is increasing, which makes the role and status of the modem in the smartphone become increasingly important. The modem is used to convert data to be sent into radio frequency signals and convert radio frequency signals into Process data, handle access stratum (AS) and non-access stratum (NAS) signaling, and interface with AP processors. During the use of the smartphone, the smartphone may switch between different communication systems (such as 2G, 3G and 4G communication systems). Abnormalities may often occur during the process of switching communication systems, and the phone cannot be connected to the Internet normally. Communication, such as the abnormal status of the protocol stack. At present, the solutions to solve the inability to connect to the Internet due to abnormality include: when the smartphone moves to a new location area, a location update notification is sent to the network-side device, and the network-side device reconfigures the smartphone and restores the configuration parameters of the modem; Or after the user finds that the network communication cannot be connected for a long time, the user terminal is manually forced to restart to restore or set the configuration parameters of the modem. Both of the two solutions take too long and affect the user experience.

发明内容SUMMARY OF THE INVENTION

本发明实施例所要解决的技术问题在于,提供一种网络通信功能异常的处理方法、调制解调器和用户终端,用于解决现有技术中网络通信功能发生异常无法连网通信的情况下,手动恢复网络通信功能耗时过长的问题。The technical problem to be solved by the embodiments of the present invention is to provide a processing method for abnormal network communication function, a modem and a user terminal, which are used to solve the problem of manual restoration of the network when the network communication function is abnormal and cannot communicate with the network in the prior art. The communication function takes too long.

为了解决上述技术问题,本发明实施例第一方面提供一种网络通信功能异常的处理方法,包括:In order to solve the above technical problem, a first aspect of the embodiments of the present invention provides a method for processing an abnormal network communication function, including:

应用处理器接收调制解调器检测到协议栈状态异常而发送的异常指示消息;The application processor receives the abnormal indication message sent by the modem when the protocol stack state is detected abnormal;

所述应用处理器关闭引起协议栈状态异常的第一协议栈;The application processor closes the first protocol stack that causes the abnormal state of the protocol stack;

所述应用处理器开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;The application processor opens a second protocol stack, and uses the second protocol stack to perform network registration, where the second protocol stack is a protocol other than the first protocol stack among the plurality of protocol stacks supported by the modem stack;

若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息。If the registration of the second protocol stack is successful, the application processor records the current location information.

结合本发明实施例第一方面,在第一方面的第一种可能的实现方式中,所述方法还包括:With reference to the first aspect of the embodiments of the present invention, in a first possible implementation manner of the first aspect, the method further includes:

若所述第二协议栈注册失败,所述应用处理器恢复所述调制解调器支持的多个协议栈中的默认协议栈开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈开关状态并同时复位所述调制解调器。If the registration of the second protocol stack fails, the application processor restores the default protocol stack switch states in the multiple protocol stacks supported by the modem or the application processor restores the default protocol stacks in the supported multiple protocol stacks The protocol stack switches state and resets the modem at the same time.

结合本发明实施例第一方面或第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息之后,所述方法还包括:With reference to the first aspect of the embodiments of the present invention or the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, if the registration of the second protocol stack is successful, the application After the processor records the current location information, the method further includes:

若位置发生变化,所述应用处理器恢复所述调制解调器支持的多个协议栈中的默认协议栈开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈开关状态并同时复位所述调制解调器。If the position changes, the application processor restores the default protocol stack switch state in the plurality of protocol stacks supported by the modem or the application processor restores the default protocol stack switch state in the supported plurality of protocol stacks and Also reset the modem.

结合本发明实施例第一方面、在第一方面的第三种可能的实现方式中,所述方法还包括:With reference to the first aspect of the embodiments of the present invention, in a third possible implementation manner of the first aspect, the method further includes:

若所述协议栈状态异常原因未上报,所述应用处理器获取所述协议栈状态异常原因和日志;If the abnormal cause of the protocol stack state is not reported, the application processor obtains the abnormal cause of the protocol stack state and a log;

所述应用处理器将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。The application processor reports the abnormal cause, the current location information and the log to the network side and/or the user.

结合本发明实施例第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述应用处理器将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户,包括:With reference to the third possible implementation manner of the first aspect of the embodiments of the present invention, in the fourth possible implementation manner of the first aspect, the application processor stores the abnormal cause, the current location information, and the log Reporting to the network side and/or users, including:

所述应用处理器通过无线保真WiFi网络向网络侧设备上报所述协议栈状态异常原因、日志和所述当前的位置信息。The application processor reports the abnormal reason of the protocol stack state, the log and the current location information to the network-side device through the Wi-Fi network.

本发明实施例第二方面提供一种应用处理器,包括:A second aspect of the embodiments of the present invention provides an application processor, including:

接收模块,用于接收调制解调器检测到协议栈状态异常而发送的异常指示消息;The receiving module is used to receive the abnormal indication message sent by the modem when the protocol stack state is abnormal;

关闭模块,用于关闭引起协议栈状态异常的第一协议栈;A shutdown module for closing the first protocol stack that causes the abnormal state of the protocol stack;

注册模块,用于开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;a registration module, configured to enable a second protocol stack and perform network registration using the second protocol stack, where the second protocol stack is a protocol other than the first protocol stack among the multiple protocol stacks supported by the modem stack;

记录模块,用于若所述第二协议栈注册成功,记录当前的位置信息。A recording module, configured to record the current location information if the registration of the second protocol stack is successful.

结合本发明实施例第二方面,在第二方面的第一种可能的实现方式中,所述应用处理器还包括:With reference to the second aspect of the embodiment of the present invention, in a first possible implementation manner of the second aspect, the application processor further includes:

恢复模块,用于当所述第二协议栈注册失败;以及当所述第二协议栈注册成功后且位置发生变化时,恢复所述调制解调器支持的多个协议栈中的默认协议栈开关状态或恢复所述支持的多个协议栈中的默认协议栈开关状态并同时复位所述调制解调器。A recovery module, configured to restore the default protocol stack switch state in the multiple protocol stacks supported by the modem when the second protocol stack is successfully registered and the location changes when the second protocol stack is successfully registered or Restoring the default protocol stack switch state in the supported multiple protocol stacks and simultaneously resetting the modem.

结合本发明实施例第二方面,在第二方面的第二种可能的实现方式中,所述应用处理器还包括:With reference to the second aspect of the embodiment of the present invention, in a second possible implementation manner of the second aspect, the application processor further includes:

上报模块,用于协议栈状态异常原因未上报,获取所述协议栈状态异常原因和日志;将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。The reporting module is used to obtain the abnormal cause of the protocol stack state and the log, and report the abnormal cause, the current location information and the log to the network side and/or the user.

结合本发明实施例第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述上报单元具体用于:With reference to the second possible implementation manner of the second aspect of the embodiments of the present invention, in the third possible implementation manner of the second aspect, the reporting unit is specifically used for:

通过无线保真WiFi网络向网络侧设备上报所述协议栈状态异常原因、日志和所述当前的位置信息。The reason for the abnormal state of the protocol stack, the log and the current location information are reported to the network-side device through the Wi-Fi network.

本发明实施例第三方面提供了一种用户终端,包括上述任意一项所述的应用处理器。A third aspect of the embodiments of the present invention provides a user terminal, including the application processor described in any one of the foregoing.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

应用处理器接收调制解调器检测到协议栈状态异常而发送的异常指示消息;所述应用处理器关闭引起协议栈状态异常的第一协议栈;所述应用处理器开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息。这样在协议栈状态异常而引起调制解调器无法正常工作时,通过网络注册的方式使调制解调器自动尝试恢复正常,避免手动强制重启手机或位置更新造成的耗时过长的问题,减少了网络故障恢复的时间。The application processor receives the abnormality indication message sent by the modem after detecting that the protocol stack state is abnormal; the application processor closes the first protocol stack that causes the abnormal state of the protocol stack; the application processor opens the second protocol stack, and uses the The second protocol stack performs network registration, and the second protocol stack is a protocol stack other than the first protocol stack among the multiple protocol stacks supported by the modem; if the registration of the second protocol stack is successful, the application The processor records the current location information. In this way, when the modem cannot work normally due to the abnormal state of the protocol stack, the modem will automatically try to restore to normal by means of network registration, avoiding the problem of excessively time-consuming caused by manually restarting the mobile phone or updating the location, and reducing the time for network failure recovery. .

附图说明Description of drawings

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

图1为本发明实施例提供的网络通信功能异常的处理方法的第一实施例流程图;1 is a flowchart of a first embodiment of a method for processing an abnormal network communication function provided by an embodiment of the present invention;

图2为本发明实施例提供的网络通信功能异常的处理方法的第二实施例流程图;2 is a flowchart of a second embodiment of a method for processing an abnormal network communication function provided by an embodiment of the present invention;

图3为本发明实施例提供的网络通信功能异常的处理方法的第三实施例流程图;3 is a flowchart of a third embodiment of a method for processing an abnormal network communication function provided by an embodiment of the present invention;

图4为本发明实施例提供的应用处理器的第一实施例结构示意图;FIG. 4 is a schematic structural diagram of a first embodiment of an application processor provided by an embodiment of the present invention;

图5为本发明实施例提供的应用处理器的第二实施例结构示意图。FIG. 5 is a schematic structural diagram of a second embodiment of an application processor according to an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例所要解决的技术问题在于,提供一种网络通信功能异常的处理方法、调制解调器和用户终端,用于解决现有技术中网络通信功能发生异常无法连网通信的情况下,手动恢复网络通信功能耗时过长的问题。The technical problem to be solved by the embodiments of the present invention is to provide a processing method for abnormal network communication function, a modem and a user terminal, which are used to solve the problem of manual restoration of the network when the network communication function is abnormal and cannot communicate with the network in the prior art. The communication function takes too long.

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

以下分别进行详细说明。Each of them will be described in detail below.

本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the description and claims of the present invention and the accompanying drawings are used to distinguish different objects, rather than to describe a specific order. . Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.

本发明涉及的用户终端例如可以是下面中的任何一项或者全部,智能电话、可穿戴设备(个人中枢)、个人或移动多媒体播放器、个人数字助理(PDA)、膝上型计算机、平板电脑、智能本、掌上型计算机以及类似的个人电子设备,上述用户终端可以包括网络接口、处理器、存储器、音频处理电路、麦克风、摄像头、闪光灯,并且包括可以在内部或外部的音频放大器以及包括连接到音频放大器的扬声器单元。The user terminal to which the present invention relates may be, for example, any one or all of the following: a smart phone, a wearable device (personal hub), a personal or mobile multimedia player, a personal digital assistant (PDA), a laptop computer, a tablet computer , smartbooks, palmtop computers and similar personal electronic devices, the above-mentioned user terminal may include a network interface, a processor, a memory, an audio processing circuit, a microphone, a camera, a flash, and an audio amplifier that may be internal or external and includes a connection to the speaker unit of the audio amplifier.

请参见图1,图1为本发明实施例提供的一种网络通信功能异常的处理方法的第一实施例流程图。其中,如图1所示,本发明的一个实施例提供的一种网络通信功能异常的处理方法可以包括步骤S101~S104:Referring to FIG. 1 , FIG. 1 is a flowchart of a first embodiment of a method for processing an abnormal network communication function according to an embodiment of the present invention. Wherein, as shown in FIG. 1 , a method for processing an abnormal network communication function provided by an embodiment of the present invention may include steps S101 to S104:

S101、应用处理器接收调制解调器检测到协议栈状态异常而发送的异常指示消息。S101. The application processor receives an exception indication message sent by the modem after detecting that the protocol stack state is abnormal.

本发明实施例中,上述应用处理器全称为多媒体应用处理器(MultimediaApplication Processor,简称MAP),用于在低功耗CPU的基础上扩展音视频功能和专用接口的超大规模集成电路,是智能手机中的重要部件,应用处理器一般和基带处理器是独立的两个芯片。上述调制解调器用于将基带信号转换为射频信号、将射频信号转换为基带信号、处理接入层(AS)和非接入层(NAS)的信令、以及与AP处理器进行接口等,调制解调器可支持多种协议栈。协议栈状态异常指的是在通信过程中对当前的状态上下文的检测结果与预先期望的结果不相符合,比如,当检测到一段时间内只有上行数据包,而没有任何下行数据包时则认为协议栈状态异常(即上下行链路不通);或者,用户终端(User Equipment,简称UE)智能算法根据状态异常的现象判断出协议栈运行出现了异常;或者,UE与网络侧设备的通信过程受到不确定因素的影响而出现失步的情况;等等。当调制解调器检测到协议栈状态异常之后,调制解调器会发生崩溃,无法正常进行数据处理,导致UE不能上网。协议栈表示某个通信制式对应的多种协议的总和。可选的,协议栈包括全球移动通信系统(GlobalSystem for Mobile Communication,GSM)协议栈、增强型数据速率GSM演进(EnhancedData Rate for GSM Evolution,EDGE)协议栈、高速分组接入(High Speed DownlinkPacket Access,HSPDA)协议栈、时分同步码分多址(Time Division-Synchronous CodeDivision Multiple Access,TD-SCDMA)协议栈、分时长期演进(Time Division Long TermEvolution,TDD-LTE)协议栈、频分双工长期演进(Frequency Division Dual Long TermEvolution,FDD-LTE)协议栈等,各个通信制式协议栈下面又包括多个子协议栈,此处不再赘述。调制解调器在检测到内存访问错误时,确定当前使用的第一协议栈。In the embodiment of the present invention, the above-mentioned application processor is called a multimedia application processor (Multimedia Application Processor for short, MAP for short), which is an ultra-large-scale integrated circuit used to expand audio and video functions and dedicated interfaces on the basis of a low-power CPU, and is a smart phone. The important components in the application processor and the baseband processor are generally two independent chips. The above-mentioned modems are used to convert baseband signals into radio frequency signals, convert radio frequency signals into baseband signals, process signaling of the access stratum (AS) and non-access stratum (NAS), and interface with the AP processor. Supports multiple protocol stacks. The abnormal status of the protocol stack means that the detection results of the current status context during the communication process do not match the expected results. For example, when only upstream data packets and no downstream data packets are detected for a period of time, it is considered The protocol stack state is abnormal (that is, the uplink and downlink are blocked); or, the user terminal (User Equipment, UE for short) intelligent algorithm judges that the protocol stack operation is abnormal according to the abnormal state phenomenon; or, the communication process between the UE and the network side device Loss of synchronization due to uncertainty; etc. When the modem detects an abnormal state of the protocol stack, the modem will crash and cannot process data normally, resulting in the UE not being able to access the Internet. The protocol stack represents the sum of multiple protocols corresponding to a certain communication standard. Optionally, the protocol stack includes a Global System for Mobile Communication (GSM) protocol stack, an Enhanced Data Rate for GSM Evolution (EDGE) protocol stack, a High Speed Downlink Packet Access (High Speed Downlink Packet Access) HSPDA) protocol stack, Time Division-Synchronous CodeDivision Multiple Access (TD-SCDMA) protocol stack, Time Division Long Term Evolution (TDD-LTE) protocol stack, Frequency Division Duplex Long Term Evolution (Frequency Division Dual Long TermEvolution, FDD-LTE) protocol stack, etc., each communication standard protocol stack includes multiple sub-protocol stacks, which will not be repeated here. When the modem detects a memory access error, it determines the currently used first protocol stack.

需要说明的是,调制解调器可以集成在应用处理器的内部,也可以是独立于应用处理器的一个芯片,本发明不作限制。It should be noted that the modem may be integrated inside the application processor, or may be a chip independent of the application processor, which is not limited in the present invention.

S102、所述应用处理器关闭引起协议栈状态异常的第一协议栈。S102. The application processor closes the first protocol stack that causes the abnormal state of the protocol stack.

本发明实施例中,有的协议栈状态异常现象是常见的并易于处理的,有的协议栈状态异常是罕见并难以处理的,对于难以处理的协议栈状态异常现象放任不管可能导致协议栈错误进一步恶化而难以控制。为了防止协议栈状态异常反复发生或进一步恶化,应用处理器需要关闭引起协议栈状态异常的第一协议栈。In the embodiments of the present invention, some protocol stack status exceptions are common and easy to handle, and some protocol stack status exceptions are rare and difficult to handle, and leaving unhandled protocol stack status exceptions may lead to protocol stack errors further deterioration and uncontrollable. In order to prevent the abnormality of the protocol stack state from recurring or further deterioration, the application processor needs to close the first protocol stack which causes the abnormality of the protocol stack state.

S103、所述应用处理器开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈。S103. The application processor starts a second protocol stack, and uses the second protocol stack to perform network registration, where the second protocol stack is other than the first protocol stack among multiple protocol stacks supported by the modem the protocol stack.

本发明实施例中,在关闭第一协议栈后,UE由连接态转换为空闲态,应用处理器选择第二协议栈,第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈,应用处理器开启第二协议栈,并使用第二协议栈进行网络注册。可选的,网络注册的具体实现方式可以是:UE向网络侧设备发起附着请求(attache request),若网络侧设备允许UE接入,向UE返回附着响应(attach response),表示网络注册成功,UE由空闲态转换为连接态;若网络侧设备不允许UE接入,向UE返回错误信息,表示网络注册失败。可选的,应用处理器选择第二协议栈的策略可以是:选择比第一协议栈低一级的协议栈作为第二协议栈;或者,测量调制解调器支持的各个协议栈对应的小区信号的信号强度,并将信号强度最大的协议栈作为第二协议栈;或者,选择比第一协议栈高一级的协议栈作为第二协议栈;或者,采用其他的策略确定第二协议栈,本发明不作限制。In this embodiment of the present invention, after the first protocol stack is closed, the UE is converted from a connected state to an idle state, and the application processor selects a second protocol stack, which is the second protocol stack except the one among the multiple protocol stacks supported by the modem. For protocol stacks other than the first protocol stack, the application processor enables the second protocol stack and uses the second protocol stack to perform network registration. Optionally, the specific implementation manner of the network registration may be: the UE initiates an attach request (attache request) to the network side device, and if the network side device allows the UE to access, returns an attach response (attach response) to the UE, indicating that the network registration is successful, The UE transitions from the idle state to the connected state; if the network side device does not allow the UE to access, it returns an error message to the UE, indicating that the network registration fails. Optionally, the strategy for the application processor to select the second protocol stack may be: selecting a protocol stack that is one level lower than the first protocol stack as the second protocol stack; or, measuring the signal of the cell signal corresponding to each protocol stack supported by the modem strength, and use the protocol stack with the highest signal strength as the second protocol stack; or, select a protocol stack one level higher than the first protocol stack as the second protocol stack; or, adopt other strategies to determine the second protocol stack, the present invention No restrictions apply.

S104、若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息。S104. If the registration of the second protocol stack is successful, the application processor records the current location information.

可选的,位置信息表示UE在移动通信网络中逻辑位置,位置信息可以是小区标识或区域位置码或位置跟踪区域等,本发明不作限定。若果使用第二协议栈注册网络成功,应用处理器记录当前的位置信息。Optionally, the location information represents the logical location of the UE in the mobile communication network, and the location information may be a cell identifier, an area location code, or a location tracking area, etc., which is not limited in the present invention. If the registration of the network using the second protocol stack is successful, the application processor records the current location information.

可以看出,本发明实施例中,应用处理器接收调制解调器检测到协议栈状态异常而发送的异常指示消息;所述应用处理器关闭引起协议栈状态异常的第一协议栈;所述应用处理器开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息。这样在协议栈状态异常而引起调制解调器无法正常通信时快速的被检测到,并通过切换其他协议栈进行网络注册的方式使调制解调器自动的恢复通信的正常,避免手动强制重启手机或位置更新造成的耗时过长的问题,减少了网络故障恢复的时间。It can be seen that, in this embodiment of the present invention, the application processor receives an exception indication message sent by the modem after detecting that the protocol stack state is abnormal; the application processor closes the first protocol stack that causes the protocol stack state abnormality; the application processor Open a second protocol stack, and use the second protocol stack for network registration, where the second protocol stack is a protocol stack other than the first protocol stack among the multiple protocol stacks supported by the modem; if the The registration of the second protocol stack is successful, and the application processor records the current location information. In this way, when the modem cannot communicate normally due to the abnormal state of the protocol stack, it is quickly detected, and the modem can automatically restore the normal communication by switching other protocol stacks for network registration, avoiding the consumption caused by manually restarting the mobile phone or updating the location. The problem of excessive time reduces the time for network failure recovery.

可选的,图1所示的网络通信功能异常的处理方法还包括:Optionally, the method for processing an abnormal network communication function shown in FIG. 1 further includes:

若所述第二协议栈注册失败,所述应用处理器恢复所述调制解调器支持的多个协议栈中的默认协议栈开关状态或同时复位所述调制解调器。If the registration of the second protocol stack fails, the application processor restores the default protocol stack switch state among the plurality of protocol stacks supported by the modem or resets the modem at the same time.

可选的,所述若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息之后,图1所示的网络通信功能异常的处理方法还包括:Optionally, if the registration of the second protocol stack is successful, after the application processor records the current location information, the method for processing an abnormal network communication function shown in FIG. 1 further includes:

若位置发生变化,所述调制解调器恢复所述调制解调器支持的多个协议栈中的默认协议栈开关状态或同时复位所述调制解调器。If the location changes, the modem restores the default protocol stack switch state among the plurality of protocol stacks supported by the modem or resets the modem simultaneously.

可选的,图1所示的网络通信功能异常的处理方法还包括:Optionally, the method for processing an abnormal network communication function shown in FIG. 1 further includes:

若协议栈状态异常原因未上报,所述应用处理器获取所述协议栈状态异常原因和日志;所述应用处理器将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。If the abnormal cause of the protocol stack state is not reported, the application processor obtains the abnormal cause and log of the protocol stack state; the application processor reports the abnormal cause, the current location information and the log to the network side and/or or user.

可选的,应用处理器将所述异常原因、所述当前的位置信息和日志上报给网络侧,包括:所述应用处理器通过无线保真WiFi网络向网络侧设备上报所述协议栈状态异常原因、日志和所述当前的位置信息。Optionally, the application processor reports the abnormal cause, the current location information, and the log to the network side, including: the application processor reporting the abnormal state of the protocol stack to the network side device through the Wireless Fidelity WiFi network. Reason, log and the current location information.

请参见图2,图2为本发明实施例提供的一种网络通信功能异常的处理方法的第二实施例流程图。其中,如图2所示,本发明的一个实施例提供的一种网络通信功能异常的处理方法可以包括步骤S201~S212:Referring to FIG. 2, FIG. 2 is a flowchart of a second embodiment of a method for processing an abnormal network communication function according to an embodiment of the present invention. Wherein, as shown in FIG. 2 , a method for processing an abnormal network communication function provided by an embodiment of the present invention may include steps S201 to S212:

S201、调制解调器是否检测到协议栈状态异常。S201. Whether the modem detects that the protocol stack state is abnormal.

若是,则执行步骤S202。If yes, step S202 is executed.

若否,则执行步骤S201。If not, step S201 is executed.

本发明实施例中,调制解调器用于将基带信号转换为射频信号、将射频信号转换为基带信号、处理接入层(AS)和非接入层(NAS)的信令、以及与AP处理器进行接口等;调制解调器支持多种协议栈。协议栈状态异常指的是在通信过程中对当前的状态上下文的检测结果与预先期望的结果不相符合,例如当检测到一段时间内只有上行数据包,但没有任何下行数据包则认为协议栈状态异常(即上下行链路不通);或者,UE智能算法根据状态异常的现象判断出协议栈运行出现了异常;或者,UE与网络侧设备的通信过程受到不确定因素的影响而出现失步的情况;协议栈状态异常原因可分为多种,相同的协议栈状态异常可能由不同的异常原因导致的,具体的异常原因的定位可采用任意已知的手段来确定,本发明不作限制。In this embodiment of the present invention, the modem is configured to convert baseband signals into radio frequency signals, convert radio frequency signals into baseband signals, process signaling of the access stratum (AS) and non-access stratum (NAS), and communicate with the AP processor interface, etc.; the modem supports multiple protocol stacks. The abnormal status of the protocol stack means that the detection results of the current status context during the communication process do not match the expected results. For example, when only upstream data packets are detected for a period of time, but there are no downstream data packets, it is considered that the protocol stack The status is abnormal (that is, the uplink and downlink are blocked); or, the UE intelligent algorithm judges that the protocol stack is running abnormally according to the abnormal status; or, the communication process between the UE and the network side device is affected by uncertain factors and the synchronization occurs The reasons for the abnormal state of the protocol stack can be divided into multiple types, the same abnormal state of the protocol stack may be caused by different abnormal causes, and the location of the specific abnormal cause can be determined by any known means, which is not limited in the present invention.

S202、所述调制解调器指示应用处理器处理本次异常。S202. The modem instructs the application processor to handle this exception.

可选的,调制解调器指示应用处理器处理本次异常的具体实施方式为:调制解调器向应用处理器发送异常指示消息,应用处理器接收到异常指示消息表明调制解调器检测到协议栈状态异常,此时应用处理器需要对该异常进行处理。其中,异常指示消息的格式本发明不作限制,可以利用现有的消息中扩展字段的方式来实现或构造新的消息来实现。Optionally, the specific implementation manner of the modem instructing the application processor to handle this abnormality is as follows: the modem sends an abnormality indication message to the application processor, and the application processor receives the abnormality indication message indicating that the modem detects that the protocol stack state is abnormal, and at this time, the application processes the abnormality. The device needs to handle the exception. The format of the exception indication message is not limited in the present invention, and can be realized by using the method of extending fields in the existing message or constructing a new message.

S203、所述应用处理器关闭引起协议栈状态异常的第一协议栈。S203. The application processor shuts down the first protocol stack that causes the abnormal state of the protocol stack.

若调制解调器使用第一协议栈发生协议栈状态异常,为了防止协议栈状态异常反复发生或进一步恶化,应用处理器需要关闭第一协议栈。可选的,应用处理器关闭引起协议栈状态异常的第一协议栈具体实施方式为:应用处理器查询调制解调器中表示协议栈的状态标志位以获取当前使用的第一协议栈(例如状态标志位为1表示对应的协议栈为开启状态,状态标志位为0表示对应的协议栈为关闭状态),应用处理器将第一协议栈的状态标志位置为0以关闭第一协议栈。If a protocol stack state abnormality occurs when the modem uses the first protocol stack, in order to prevent the protocol stack state abnormality from recurring or further deteriorating, the application processor needs to close the first protocol stack. Optionally, the application processor closes the first protocol stack that causes the abnormal state of the protocol stack. If it is 1, it means that the corresponding protocol stack is in an open state, and if the status flag is 0, it means that the corresponding protocol stack is in a closed state).

S204、所述应用处理器开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈。S204. The application processor starts a second protocol stack, and uses the second protocol stack to perform network registration, where the second protocol stack is a plurality of protocol stacks supported by the modem except the first protocol stack the protocol stack.

本发明实施例中,在关闭第一协议栈后,UE由连接态转换为空闲态,应用处理器选择第二协议栈,第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈,应用处理器开启第二协议栈,并使用第二协议栈进行网络注册。可选的,网络注册的具体实现方式可以是:UE向网络侧设备发起附着请求(attache request),若网络侧设备允许UE接入,向UE返回附着响应(attach response),表示网络注册成功,UE由空闲态转换为连接态;若网络侧设备不允许UE接入,向UE返回错误信息,表示网络注册失败。可选的,应用处理器选择第二协议栈的策略可以是:选择比第一协议栈低一级的协议栈作为第二协议栈;或者,测量调制解调器支持的各个协议栈对应的小区信号的信号强度,并将信号强度最大的协议栈作为第二协议栈;或者,选择比第一协议栈高一级的协议栈作为第二协议栈;或者,采用其他的策略确定第二协议栈,本发明不作限制。In this embodiment of the present invention, after the first protocol stack is closed, the UE is converted from a connected state to an idle state, and the application processor selects a second protocol stack, which is the second protocol stack except the one among the multiple protocol stacks supported by the modem. For protocol stacks other than the first protocol stack, the application processor enables the second protocol stack and uses the second protocol stack to perform network registration. Optionally, the specific implementation manner of the network registration may be: the UE initiates an attach request (attache request) to the network side device, and if the network side device allows the UE to access, returns an attach response (attach response) to the UE, indicating that the network registration is successful, The UE transitions from the idle state to the connected state; if the network side device does not allow the UE to access, it returns an error message to the UE, indicating that the network registration fails. Optionally, the strategy for the application processor to select the second protocol stack may be: selecting a protocol stack that is one level lower than the first protocol stack as the second protocol stack; or, measuring the signal of the cell signal corresponding to each protocol stack supported by the modem strength, and use the protocol stack with the highest signal strength as the second protocol stack; or, select a protocol stack one level higher than the first protocol stack as the second protocol stack; or, adopt other strategies to determine the second protocol stack, the present invention No restrictions apply.

S205、所述应用处理器判断网络注册是否成功。S205. The application processor determines whether the network registration is successful.

若是,则执行步骤S206。If yes, step S206 is executed.

若否,则执行步骤S207。If not, step S207 is executed.

S206、所述应用处理器记录当前的位置信息。然后执行步骤S209,并启动步骤S208的并行进程。S206. The application processor records the current location information. Then step S209 is executed, and the parallel process of step S208 is started.

可选的,位置信息表示移动通信网络中预先规划的逻辑位置的标识,例如,位置信息包括小区标识或位置区域码等。Optionally, the location information represents an identifier of a pre-planned logical location in the mobile communication network, for example, the location information includes a cell identifier or a location area code.

S207、所述应用处理器恢复所述调制解调器支持的多个协议栈中的默认协议栈开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈开关状态并同时复位所述调制解调器。S207. The application processor restores the default protocol stack switch states in the multiple protocol stacks supported by the modem or the application processor restores the default protocol stack switch states in the supported multiple protocol stacks and simultaneously resets all the described modem.

其中,调制解调器所支持的多个协议栈存在优先级别高低之分。可选的,调制解调器所支持的各个协议栈的优先级别可以是预置的,比如,可以在调制解调器出厂时即设置调制解调器所支持的各个协议栈的优先级别;或者,可以在调制解调器被配置于UE内并进行初始化的过程中,按照UE使用各个协议栈时的网络连接以及网络信号强度情况设置调制解调器所支持的各个协议栈的优先级别;等等。可选的,调制解调器所支持的各个协议栈的优先级别可以是灵活调整的,比如,可以依据UE在某个位置区域使用各个协议栈时的网络连接及网络信号强度情况设置优先级别;或者,可以按照UE的常用网络通信制式的顺序设置各个协议栈的优先级别;等等。需要说明的是,某个协议栈的优先级别越高,说明UE基于该协议栈可以获得更好的网络连接或更强的网络信号。调制解调器中优先级别最高的协议栈通常被称为默认协议栈,而应用处理器通常也是按照优先级别从高至低的顺序使用各个协议栈实现UE的网络注册及网络使用的。Among them, the multiple protocol stacks supported by the modem have different priority levels. Optionally, the priority levels of each protocol stack supported by the modem may be preset, for example, the priority levels of each protocol stack supported by the modem may be set when the modem is shipped from the factory; or, the modem may be configured in the UE. And in the process of initialization, the priority of each protocol stack supported by the modem is set according to the network connection and the network signal strength when the UE uses each protocol stack; and so on. Optionally, the priority level of each protocol stack supported by the modem can be flexibly adjusted, for example, the priority level can be set according to the network connection and network signal strength when the UE uses each protocol stack in a certain location area; The priority of each protocol stack is set according to the order of the common network communication system of the UE; and so on. It should be noted that, the higher the priority of a certain protocol stack, the better network connection or stronger network signal the UE can obtain based on the protocol stack. The protocol stack with the highest priority in the modem is usually referred to as the default protocol stack, and the application processor usually uses each protocol stack in order of priority from high to low to implement network registration and network use of the UE.

由于UE具备移动性以及平台更新性的特点,当UE出现位置移动或者进行平台更新时,其当前属性会发生变化,其网络连接情况也可能发生变化,例如:UE基于第二协议栈在位置A可以进行网络连接,然而当UE从位置A移动至位置B时则基于第二协议栈可能无法进行网络连接;同理,UE基于第一协议栈在位置A可能无法进行网络连接,然而在位置B时则可以进行网络连接。因此,应用处理器使用第二协议栈未成功注册上网络,应用处理器根据默认协议栈的开关状态,恢复默认协议栈开关状态或调制解调器恢复默认协议栈开关状态并同时对调制解调器进行复位操作。可以理解的是,此处的默认协议栈既可能是第一协议栈,也可能是第一协议栈以外的其他协议栈。需要说明的是,若本实施例中默认协议栈为第一协议栈(即已被关闭的、引起协议栈状态异常的协议栈),那么,此步骤相当于重新开启第一协议栈。因此,本步骤在重新开启第一协议栈之后,由于UE的当前属性已发生变化,这使得UE基于重新开启的第一协议栈可进行正常网络注册而恢复网络使用。Due to the characteristics of mobility and platform update of the UE, when the UE moves its location or performs a platform update, its current attributes will change, and its network connection may also change. Network connection can be performed, but when the UE moves from location A to location B, it may not be able to perform network connection based on the second protocol stack; similarly, the UE may not be able to perform network connection in location A based on the first protocol stack, but in location B network connection is available. Therefore, if the application processor fails to register on the network using the second protocol stack, the application processor restores the default protocol stack switch state or the modem restores the default protocol stack switch state according to the switch state of the default protocol stack and simultaneously resets the modem. It can be understood that the default protocol stack here may be either the first protocol stack or other protocol stacks other than the first protocol stack. It should be noted that, if the default protocol stack in this embodiment is the first protocol stack (that is, the protocol stack that has been turned off and caused the abnormal state of the protocol stack), then this step is equivalent to reopening the first protocol stack. Therefore, after restarting the first protocol stack in this step, since the current attribute of the UE has changed, this enables the UE to perform normal network registration based on the restarted first protocol stack and restore network usage.

S208、所述应用处理器检测位置信息是否发生变化。S208. The application processor detects whether the location information changes.

若是,则执行步骤S207。If yes, step S207 is executed.

若否,则执行步骤S208。If not, step S208 is executed.

可选的,应用处理器周期性的获取位置信息,在当前获取的位置信息和上一次获取的位置信息相比发生变化时,执行步骤S207,否则继续获取位置信息。例如,位置信息为小区标识,UE由一个小区移动到另一小区,表示位置信息发生变化;又如,位置信息为位置区域码,UE由一个位置区域移动到另一个位置区域,表明位置信息发生变化。应用处理器获取位置信息的周期本发明不作限制,可以根据实际需求进行设置。Optionally, the application processor periodically acquires the location information, and when the currently acquired location information changes compared with the last acquired location information, step S207 is performed, otherwise, the location information continues to be acquired. For example, if the location information is a cell identifier, and the UE moves from one cell to another, it indicates that the location information has changed; for another example, the location information is the location area code, and the UE moves from one location area to another location area, indicating that the location information has occurred. Variety. The cycle for the application processor to obtain the location information is not limited in the present invention, and can be set according to actual needs.

S209、所述应用处理器判断是否已上报协议栈状态异常原因。S209. The application processor determines whether the abnormal cause of the protocol stack state has been reported.

若是,则执行步骤S212。If yes, step S212 is executed.

若否,则执行步骤S210。If not, step S210 is executed.

可选的,协议栈状态异常原因可以通过原因代码来表示,不同的异常原因对应不同的原因代码,同时异常原因可通过文本描述的方式表示。Optionally, the abnormal cause of the protocol stack state may be represented by a reason code, different abnormal causes correspond to different reason codes, and the abnormal cause may be represented by a text description.

S210、所述应用处理器获取所述协议栈状态异常原因和日志。S210. The application processor acquires the abnormal cause and log of the protocol stack state.

本发明实施例中,日志表示调制解调器检测协议栈状态的操作信息,操作信息包括:操作指令、操作时间和返回结果。In this embodiment of the present invention, the log represents operation information of the modem detecting the state of the protocol stack, and the operation information includes: an operation instruction, an operation time, and a returned result.

S211、所述应用处理器将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。S211. The application processor reports the abnormal cause, the current location information and the log to the network side and/or the user.

可选的,应用处理器将异常原因、当前的位置信息和日志上报给网络侧设备的具体实施方式可以是:通过无线保真WiFi网络向网络侧设备上报;或者应用处理器也可以将异常原因显示在UE的显示屏上,供用户进行查看。Optionally, the specific implementation manner in which the application processor reports the abnormal cause, the current location information and the log to the network-side device may be: reporting to the network-side device through the Wi-Fi network; or the application processor may also report the abnormal cause. It is displayed on the display screen of the UE for the user to view.

S212、所述应用处理器处理本次异常结束。S212, the application processor processing this abnormal end.

可以看出,本发明实施例中,应用处理器接收调制解调器检测到协议栈状态异常而发送的异常指示消息;所述应用处理器关闭引起协议栈状态异常的第一协议栈;所述应用处理器开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息。这样在协议栈状态异常而引起调制解调器无法正常工作时,通过网络注册的方式使调制解调器恢复正常,避免手动强制重启手机或位置更新造成的耗时过长的问题,减少了网络故障恢复的时间。It can be seen that, in this embodiment of the present invention, the application processor receives an exception indication message sent by the modem after detecting that the protocol stack state is abnormal; the application processor closes the first protocol stack that causes the protocol stack state abnormality; the application processor Open a second protocol stack, and use the second protocol stack for network registration, where the second protocol stack is a protocol stack other than the first protocol stack among the multiple protocol stacks supported by the modem; if the The registration of the second protocol stack is successful, and the application processor records the current location information. In this way, when the modem cannot work normally due to the abnormal state of the protocol stack, the modem can be restored to normal by means of network registration, avoiding the problem of excessive time-consuming caused by manually restarting the mobile phone or updating the location, and reducing the time for network failure recovery.

请参见图3,图3为本发明实施例提供的一种网络通信功能异常的处理方法的第三实施例流程图。其中,如图3所示,本发明的一个实施例提供的一种网络通信功能异常的处理方法可以包括步骤S301~S310:Referring to FIG. 3 , FIG. 3 is a flowchart of a third embodiment of a method for processing an abnormal network communication function according to an embodiment of the present invention. Wherein, as shown in FIG. 3, a method for processing an abnormal network communication function provided by an embodiment of the present invention may include steps S301-S310:

S301、应用处理器是否检测到协议栈状态异常。S301. Whether the application processor detects that the protocol stack state is abnormal.

若是,则执行步骤S302。If yes, step S302 is executed.

若否,则执行步骤S301。If not, step S301 is executed.

S302、所述调制解调器指示应用处理器处理本次异常。S302, the modem instructs the application processor to handle this exception.

可选的,调制解调器指示应用处理器处理本次异常的具体实施方式为:调制解调器向应用处理器发送异常指示消息,应用处理器接收到异常指示消息表明调制解调器检测到协议栈状态异常,此时应用处理器需要对该异常进行处理。其中,异常指示消息的格式本发明不作限制,可以利用现有的消息中扩展字段的方式来实现或构造新的消息来实现。Optionally, the specific implementation manner of the modem instructing the application processor to handle this abnormality is as follows: the modem sends an abnormality indication message to the application processor, and the application processor receives the abnormality indication message indicating that the modem detects that the protocol stack state is abnormal, and at this time, the application processes the abnormality. The device needs to handle the exception. The format of the exception indication message is not limited in the present invention, and can be realized by using the method of extending fields in the existing message or constructing a new message.

S303、所述应用处理器关闭引起协议栈状态异常的第一协议栈。S303. The application processor closes the first protocol stack that causes the abnormal state of the protocol stack.

S304、所述应用处理器开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈。S304. The application processor starts a second protocol stack, and uses the second protocol stack to perform network registration, where the second protocol stack is a plurality of protocol stacks supported by the modem except the first protocol stack the protocol stack.

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

S306、所述应用处理器检测位置信息是否发生变化。S306. The application processor detects whether the location information changes.

若是,则执行步骤S307。If yes, step S307 is executed.

若否,则执行步骤S306。If not, step S306 is executed.

S307、所述应用处理器恢复所述调制解调器支持的多个协议栈中的默认协议栈开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈开关状态并同时复位所述调制解调器。S307. The application processor restores the default protocol stack switch states in the multiple protocol stacks supported by the modem, or the application processor restores the default protocol stack switch states in the supported multiple protocol stacks and resets all the supported protocol stacks at the same time. described modem.

S308、所述应用处理器判断是否已上报协议栈状态异常原因。S308. The application processor determines whether the abnormal cause of the protocol stack state has been reported.

可选的,若协议栈状态异常原因已上报过,则执行步骤S301;当协议栈状态异常原因已上报过之后,用户可根据异常原因调整或修复,之后继续跳转到步骤S301由调制解调器检测异常,若调制解调器仍检测到协议栈状态异常,则继续执行步骤S301等后续步骤。否则,执行步骤S309。Optionally, if the cause of the abnormality of the protocol stack state has been reported, step S301 is performed; after the cause of the abnormality of the protocol stack state has been reported, the user can adjust or repair according to the abnormal cause, and then continue to jump to step S301 to detect the abnormality by the modem. , if the modem still detects that the state of the protocol stack is abnormal, it continues to perform the subsequent steps such as step S301. Otherwise, step S309 is executed.

S309、所述应用处理器获取所述协议栈状态异常原因和日志。S309. The application processor acquires the abnormal reason and log of the protocol stack state.

S310、所述应用处理器将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。S310. The application processor reports the abnormal cause, the current location information and the log to the network side and/or the user.

当上述信息上报之后,同样可跳转至步骤S301,由应用处理器检测异常,若应用处理器仍检测到协议栈状态异常,则继续执行S302等后续步骤。After the above information is reported, it can also jump to step S301, and the application processor detects the abnormality. If the application processor still detects that the protocol stack state is abnormal, the subsequent steps such as S302 are continued.

通过循环的方式,可确保协议栈状态异常问题的解决,当问题解决之后,应用处理器将不会再检测到协议栈状态异常,UE可恢复正常工作。In a circular manner, the solution of the abnormal state of the protocol stack can be ensured. After the problem is solved, the application processor will no longer detect the abnormal state of the protocol stack, and the UE can resume normal work.

需要说明的是,本实施例中的步骤S301~步骤S310的具体实施方式请参照本发明第二实施例公开的一种网络通信功能异常的处理方法中的步骤S201~步骤S2012的相关描述和本发明第一实施例公开的一种网络通信功能异常的处理方法中的步骤S101~步骤S104的相关描述,此处不再赘述。It should be noted that, for the specific implementation of steps S301 to S310 in this embodiment, please refer to the relevant descriptions of steps S201 to S2012 in the method for processing an abnormal network communication function disclosed in the second embodiment of the present invention and this The related descriptions of steps S101 to S104 in the method for processing an abnormal network communication function disclosed in the first embodiment of the present invention will not be repeated here.

可以看出,本发明实施例中,应用处理器接收调制解调器检测到协议栈状态异常而发送的异常指示消息;所述应用处理器关闭引起协议栈状态异常的第一协议栈;所述应用处理器开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息。这样在协议栈状态异常而引起调制解调器无法正常工作时,通过网络注册的方式使调制解调器恢复正常,避免手动强制重启手机或位置更新造成的耗时过长的问题,减少了网络故障恢复的时间。It can be seen that, in this embodiment of the present invention, the application processor receives an exception indication message sent by the modem after detecting that the protocol stack state is abnormal; the application processor closes the first protocol stack that causes the protocol stack state abnormality; the application processor Open a second protocol stack, and use the second protocol stack for network registration, where the second protocol stack is a protocol stack other than the first protocol stack among the multiple protocol stacks supported by the modem; if the The registration of the second protocol stack is successful, and the application processor records the current location information. In this way, when the modem cannot work normally due to the abnormal state of the protocol stack, the modem can be restored to normal by means of network registration, avoiding the problem of excessively time-consuming caused by manually restarting the mobile phone or updating the location, and reducing the time for network failure recovery.

请参见图4,为本发明实施例提供的一种应用处理器400的结构示意图,在本发明实施例中,所述调制解调器包括:接收模块401、关闭模块402、注册模块403和记录模块404。Please refer to FIG. 4 , which is a schematic structural diagram of an application processor 400 according to an embodiment of the present invention. In the embodiment of the present invention, the modem includes: a receiving module 401 , a closing module 402 , a registration module 403 and a recording module 404 .

接收模块401,用于接收调制解调器检测到协议栈状态异常而发送的异常指示消息。The receiving module 401 is configured to receive an abnormality indication message sent by the modem when the protocol stack state is abnormal.

关闭模块402,用于关闭引起协议栈状态异常的第一协议栈。The shutting down module 402 is configured to shut down the first protocol stack which causes the abnormal state of the protocol stack.

注册模块403,用于开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈。The registration module 403 is configured to open a second protocol stack and use the second protocol stack to perform network registration, where the second protocol stack is a plurality of protocol stacks supported by the modem except the first protocol stack. protocol stack.

记录模块404,用于若所述第二协议栈注册成功,记录当前的位置信息。The recording module 404 is configured to record the current location information if the registration of the second protocol stack is successful.

可选的,图4所示的应用处理器还包括:Optionally, the application processor shown in FIG. 4 further includes:

恢复模块,用于当所述第二协议栈注册失败;以及当所述第二协议栈注册成功后且位置发生变化时,恢复所述调制解调器支持的多个协议栈中的默认协议栈开关状态或所述调制解调器恢复所述支持的多个协议栈中的默认协议栈开关状态并同时复位所述调制解调器。A recovery module, configured to restore the default protocol stack switch state in the multiple protocol stacks supported by the modem when the second protocol stack is successfully registered and the location changes when the second protocol stack is successfully registered or The modem restores default protocol stack switch states in the supported plurality of protocol stacks and simultaneously resets the modem.

可选的,图4所示的应用处理器还包括:Optionally, the application processor shown in FIG. 4 further includes:

上报模块,用于协议栈状态异常原因未上报,获取所述协议栈状态异常原因和日志;将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。The reporting module is used to obtain the abnormal cause of the protocol stack state and the log, and report the abnormal cause, the current location information and the log to the network side and/or the user.

可选的,上报模块具体用于:Optionally, the reporting module is specifically used to:

通过无线保真WiFi网络向网络侧设备上报所述协议栈状态异常原因、日志和所述当前的位置信息。The reason for the abnormal state of the protocol stack, the log and the current location information are reported to the network-side device through the Wi-Fi network.

可以理解的是,本实施例的应用处理器400的各功能模块的功能可根据所述方法实施例中的方法具体实现,其具体实现过程可以参照所述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of each functional module of the application processor 400 in this embodiment can be specifically implemented according to the method in the method embodiment, and the specific implementation process can refer to the relevant description of the method embodiment, which is not described here. Repeat.

可以看出,本发明实施例中,接收模块401接收调制解调器检测到协议栈状态异常而发送的异常指示消息;关闭模块402关闭引起协议栈状态异常的第一协议栈;注册模块403开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;记录模块404若所述第二协议栈注册成功,记录当前的位置信息。这样在协议栈状态异常而引起调制解调器无法正常工作时,通过网络注册的方式使调制解调器恢复正常,避免手动强制重启手机或位置更新造成的耗时过长的问题,减少了网络故障恢复的时间。It can be seen that, in the embodiment of the present invention, the receiving module 401 receives the abnormality indication message sent by the modem when the protocol stack state is abnormal; the closing module 402 closes the first protocol stack that causes the abnormal state of the protocol stack; the registration module 403 opens the second protocol stack, and use the second protocol stack for network registration, where the second protocol stack is a protocol stack other than the first protocol stack among the multiple protocol stacks supported by the modem; the recording module 404, if the first protocol stack The second protocol stack is successfully registered, and the current location information is recorded. In this way, when the modem cannot work normally due to the abnormal state of the protocol stack, the modem can be restored to normal by means of network registration, avoiding the problem of excessive time-consuming caused by manually restarting the mobile phone or updating the location, and reducing the time for network failure recovery.

请参见图5,为本发明实施例的一种应用处理器500结构示意图,在本实施中,应用处理器用于实现图1所示的网络通信功能异常的处理方法,应用处理器包括CPU_modem501、存储器502、基带处理503、通信接口/CPU_ap504(备注:对于modem单芯片的情况,此为通信接口504,用于与芯片外面的AP处理器进行通信接口;对于modem和ap集成在一个芯片的情况,此为CPU_ap504,即无需通信接口)、和基带射频接口505,应用处理器中的CPU_modem501的数量可以是一个或多个,图5以一个CPU为例(备注:此处所述CPU,也可以替换为DSP数字信号处理器)。本发明的一些实施例中,CPU_modem501、存储器502、基带处理503、通信接口/CPU_ap504和基带射频接口505可通过总线或其他方式连接,图5中以总线连接为例。Please refer to FIG. 5 , which is a schematic structural diagram of an application processor 500 according to an embodiment of the present invention. In this embodiment, the application processor is used to implement the method for processing abnormal network communication functions shown in FIG. 1 , and the application processor includes a CPU_modem501, a memory 502, baseband processing 503, communication interface/CPU_ap504 (Note: for the case of a single modem chip, this is the communication interface 504, which is used to communicate with the AP processor outside the chip; for the case that the modem and the ap are integrated in one chip, This is CPU_ap504, that is, no communication interface is required), and baseband radio frequency interface 505. The number of CPU_modem501 in the application processor can be one or more. Figure 5 takes one CPU as an example (note: the CPU described here can also be replaced for DSP digital signal processor). In some embodiments of the present invention, the CPU_modem 501 , the memory 502 , the baseband processing 503 , the communication interface/CPU_ap 504 and the baseband radio frequency interface 505 may be connected by a bus or other means. The bus connection is taken as an example in FIG. 5 .

其中,存储器502中存储一组程序代码,且CPU_modem501用于调用存储器502中存储的程序代码,用于执行以下操作:Wherein, a group of program codes are stored in the memory 502, and the CPU_modem501 is used to call the program codes stored in the memory 502 to perform the following operations:

接收调制解调器检测到协议栈状态异常而发送的异常指示消息;Receive an exception indication message sent by the modem when the protocol stack status is detected abnormal;

关闭引起协议栈状态异常的第一协议栈;Close the first protocol stack that causes the abnormal state of the protocol stack;

开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;Open a second protocol stack, and use the second protocol stack to perform network registration, where the second protocol stack is a protocol stack other than the first protocol stack among the multiple protocol stacks supported by the modem;

若所述第二协议栈注册成功,记录当前的位置信息。If the registration of the second protocol stack is successful, the current location information is recorded.

在本发明的一些实施例中,CPU_modem501还用于执行:In some embodiments of the present invention, CPU_modem501 is also used to execute:

若所述第二协议栈注册失败,恢复所述调制解调器支持的多个协议栈中的默认协议栈开关状态或恢复所述支持的多个协议栈中的默认协议栈开关状态并同时复位所述调制解调器。If the registration of the second protocol stack fails, restore the default protocol stack switch state in the multiple protocol stacks supported by the modem or restore the default protocol stack switch state in the supported multiple protocol stacks and reset the modem at the same time .

在本发明的一些实施例中,CPU_modem501执行若所述第二协议栈注册成功,记录当前的位置信息之后,还用于执行:In some embodiments of the present invention, if the second protocol stack is successfully registered, the CPU_modem501 is further used to execute after recording the current location information:

若位置发生变化,恢复所述调制解调器支持的多个协议栈中的默认协议栈开关状态或同时复位所述调制解调器。If the location changes, restore the default protocol stack switch state among the plurality of protocol stacks supported by the modem or reset the modem at the same time.

其中,基带处理503,用于处理基带信号,并通过总线与其他部分进行交互;Among them, the baseband processing 503 is used for processing baseband signals and interacting with other parts through the bus;

其中,框图“通信接口/CPU_ap”504,对于modem单芯片的情况,此框图504为通信接口而没有CPU_ap,通信接口504作为用于和modem芯片的外部的AP处理器进行通信的接口;对于modem和ap集成在一个芯片的情况,此框图504为CPU_ap而没有通信接口,CPU_modem通过总线和CPU_ap进行通信而无需其他通信接口;Among them, the block diagram "communication interface/CPU_ap" 504, for the case of a modem single chip, this block diagram 504 is a communication interface without CPU_ap, and the communication interface 504 is used as an interface for communicating with an external AP processor of the modem chip; for the modem In the case of integrating with ap in one chip, the block diagram 504 is CPU_ap without a communication interface, and CPU_modem communicates with CPU_ap through the bus without other communication interfaces;

其中,基带射频接口505,用于与调制解调器芯片外部的射频进行接口通信。The baseband radio frequency interface 505 is used for interface communication with the radio frequency outside the modem chip.

在本发明的一些实施例中,CPU_modem501还用于执行:In some embodiments of the present invention, CPU_modem501 is also used to execute:

若协议栈状态异常原因未上报,获取所述协议栈状态异常原因和日志;将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。If the abnormal cause of the protocol stack state is not reported, obtain the abnormal cause and log of the protocol stack state; report the abnormal cause, the current location information and the log to the network side and/or the user.

在本发明的一些实施例中,CPU_modem501将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户包括:In some embodiments of the present invention, the CPU_modem501 reporting the abnormal cause, the current location information and the log to the network side and/or the user includes:

通过无线保真WiFi网络向网络侧设备上报所述协议栈状态异常原因、日志和所述当前的位置信息。The reason for the abnormal state of the protocol stack, the log and the current location information are reported to the network-side device through the Wi-Fi network.

可以理解的是,本实施例的应用处理器500的各功能模块的功能可根据所述方法实施例中的方法具体实现,其具体实现过程可以参照所述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of each functional module of the application processor 500 in this embodiment can be specifically implemented according to the method in the method embodiment, and the specific implementation process can refer to the relevant description of the method embodiment, which is not described here. Repeat.

可以看出,本发明实施例中,应用处理器接收调制解调器检测到协议栈状态异常而发送的异常指示消息;所述应用处理器关闭引起协议栈状态异常的第一协议栈;所述应用处理器开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息。这样在协议栈状态异常而引起调制解调器无法正常工作时,通过网络注册的方式使调制解调器恢复正常,避免手动强制重启手机或位置更新造成的耗时过长的问题,减少了网络故障恢复的时间。It can be seen that, in this embodiment of the present invention, the application processor receives an exception indication message sent by the modem after detecting that the protocol stack state is abnormal; the application processor closes the first protocol stack that causes the protocol stack state abnormality; the application processor Open a second protocol stack, and use the second protocol stack for network registration, where the second protocol stack is a protocol stack other than the first protocol stack among the multiple protocol stacks supported by the modem; if the The registration of the second protocol stack is successful, and the application processor records the current location information. In this way, when the modem cannot work normally due to the abnormal state of the protocol stack, the modem can be restored to normal by means of network registration, avoiding the problem of excessive time-consuming caused by manually restarting the mobile phone or updating the location, and reducing the time for network failure recovery.

本发明实施例还提供了一种包括上述应用处理器的UE,UE包括但不限于搭载

Figure GDA0002194563800000151
或者其它操作系统的UE,诸如移动电话。也可以是其它UE,诸如具有触敏表面(例如,触摸屏显示器和/或触控板)的膝上型计算机或平板电脑或台式计算机。An embodiment of the present invention also provides a UE including the above application processor, the UE includes but is not limited to
Figure GDA0002194563800000151
Or UEs of other operating systems, such as mobile phones. Other UEs are also possible, such as a laptop or tablet or desktop computer with a touch-sensitive surface (eg, a touch screen display and/or trackpad).

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

UE通常支持多种应用程序,诸如以下中的一种或多种:画图应用程序、呈现应用程序、文字处理应用程序、网页创建应用程序、盘编辑应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、锻炼支持应用程序、相片管理应用程序、数字相机应用程序、数字视频摄像机应用程序、网络浏览应用程序、数字音乐播放器应用程序、和/或数字视频播放器应用程序。UEs typically support a variety of 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 apps, video conferencing apps, email apps, instant messaging apps, workout support apps, photo management apps, digital camera apps, digital video camera apps, web browsing apps, digital music player apps programs, and/or digital video player applications.

可在UE上执行的各种应用程序可使用至少一个共用的物理用户接口设备,诸如触敏表面。触敏表面的一种或多种功能以及显示在UE上的相应信息可从一种应用程序调整和/或变化至下一种应用程序和/或在相应应用程序内被调整和/或变化。这样,UE的共用物理架构(诸如触敏表面)可利用对于用户而言直观清楚的用户界面来支持各种应用程序。Various applications executable on the UE 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 UE may be adjusted and/or changed from one application to the next and/or within a corresponding application. In this way, the common physical architecture of the UE, 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 by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the processes of the embodiments of the above-mentioned methods may be included. 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) or the like.

以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。The above disclosure 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 that all or part of the process for realizing the above-mentioned embodiment can be realized according to the rights of the present invention. The equivalent changes required to be made still belong to the scope covered by the invention.

Claims (7)

1.一种网络通信功能异常的处理方法,其特征在于,包括:1. a processing method of abnormal network communication function, is characterized in that, comprises: 应用处理器接收调制解调器检测到协议栈状态异常而发送的异常指示消息;The application processor receives the abnormal indication message sent by the modem when the protocol stack state is detected abnormal; 所述应用处理器关闭引起协议栈状态异常的第一协议栈;The application processor closes the first protocol stack that causes the abnormal state of the protocol stack; 所述应用处理器开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;The application processor opens a second protocol stack, and uses the second protocol stack to perform network registration, where the second protocol stack is a protocol other than the first protocol stack among the plurality of protocol stacks supported by the modem stack; 若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息;If the registration of the second protocol stack is successful, the application processor records the current location information; 若所述第二协议栈注册失败,所述应用处理器恢复所述支持的多个协议栈中的默认协议栈开关状态并同时复位所述调制解调器,使用默认协议栈进行网络注册。If the registration of the second protocol stack fails, the application processor restores the switch state of the default protocol stack in the supported multiple protocol stacks, resets the modem at the same time, and performs network registration using the default protocol stack. 2.根据权利要求1所述的方法,其特征在于,所述若所述第二协议栈注册成功,所述应用处理器记录当前的位置信息之后,所述方法还包括:2. The method according to claim 1, wherein, after the application processor records the current location information if the second protocol stack is successfully registered, the method further comprises: 若位置发生变化,所述应用处理器恢复所述调制解调器支持的多个协议栈中的默认协议栈开关状态或所述应用处理器恢复所述支持的多个协议栈中的默认协议栈开关状态并同时复位所述调制解调器。If the position changes, the application processor restores the default protocol stack switch state in the plurality of protocol stacks supported by the modem or the application processor restores the default protocol stack switch state in the supported plurality of protocol stacks and Also reset the modem. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, wherein the method further comprises: 若协议栈状态异常原因未上报,所述应用处理器获取所述协议栈状态异常原因和日志;If the abnormal cause of the protocol stack state is not reported, the application processor obtains the abnormal cause of the protocol stack state and a log; 所述应用处理器将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。The application processor reports the abnormal cause, the current location information and the log to the network side and/or the user. 4.一种应用处理器,其特征在于,包括:4. an application processor, is characterized in that, comprises: 接收模块,用于接收调制解调器检测到协议栈状态异常而发送的异常指示消息;The receiving module is used to receive the abnormal indication message sent by the modem when the protocol stack state is abnormal; 关闭模块,用于关闭引起协议栈状态异常的第一协议栈;A shutdown module for closing the first protocol stack that causes the abnormal state of the protocol stack; 注册模块,用于开启第二协议栈,并使用所述第二协议栈进行网络注册,所述第二协议栈为所述调制解调器支持的多个协议栈中除了所述第一协议栈以外的协议栈;a registration module, configured to enable a second protocol stack and perform network registration using the second protocol stack, where the second protocol stack is a protocol other than the first protocol stack among the multiple protocol stacks supported by the modem stack; 记录模块,用于若所述第二协议栈注册成功,记录当前的位置信息;a recording module, for recording the current location information if the second protocol stack is successfully registered; 恢复模块,用于当所述第二协议栈注册失败;以及当所述第二协议栈注册成功后且位置发生变化时,恢复所述支持的多个协议栈中的默认协议栈开关状态并同时复位所述调制解调器;A recovery module, used for when the registration of the second protocol stack fails; and when the registration of the second protocol stack succeeds and the position changes, restore the default protocol stack switch state in the supported multiple protocol stacks and simultaneously reset the modem; 所述注册模块,还用于在所述调制解调器复位完成后,使用默认协议栈进行网络注册。The registration module is further configured to perform network registration using a default protocol stack after the modem is reset. 5.根据权利要求4所述的应用处理器,其特征在于,所述应用处理器还包括:5. The application processor according to claim 4, wherein the application processor further comprises: 上报模块,用于协议栈状态异常原因未上报,获取所述协议栈状态异常原因和日志;将所述异常原因、所述当前的位置信息和日志上报给网络侧和/或用户。The reporting module is used to obtain the abnormal cause of the protocol stack state and the log, and report the abnormal cause, the current location information and the log to the network side and/or the user. 6.一种用户终端,其特征在于,包括如权利要求4-5任意一项所述的应用处理器。6. A user terminal, comprising the application processor according to any one of claims 4-5. 7.一种存储介质,其特征在于,其存储有程序指令,所述程序指令被处理器执行时实现权利要求1~3任意一项所述的方法。7 . A storage medium, characterized in that it stores program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 3 is implemented. 8 .
CN201810224325.6A 2015-11-24 2015-11-24 Processing method for network communication function abnormity, application processor and user terminal Expired - Fee Related CN108599987B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810224325.6A CN108599987B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, application processor and user terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510824824.5A CN105392130B (en) 2015-11-24 2015-11-24 Network communicating function abnormal processing method, application processor and user terminal
CN201810224325.6A CN108599987B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, application processor and user terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510824824.5A Division CN105392130B (en) 2015-11-24 2015-11-24 Network communicating function abnormal processing method, application processor and user terminal

Publications (2)

Publication Number Publication Date
CN108599987A CN108599987A (en) 2018-09-28
CN108599987B true CN108599987B (en) 2020-02-07

Family

ID=55423872

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510824824.5A Expired - Fee Related CN105392130B (en) 2015-11-24 2015-11-24 Network communicating function abnormal processing method, application processor and user terminal
CN201810224325.6A Expired - Fee Related CN108599987B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, application processor and user terminal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201510824824.5A Expired - Fee Related CN105392130B (en) 2015-11-24 2015-11-24 Network communicating function abnormal processing method, application processor and user terminal

Country Status (1)

Country Link
CN (2) CN105392130B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105392130B (en) * 2015-11-24 2018-03-27 广东欧珀移动通信有限公司 Network communicating function abnormal processing method, application processor and user terminal
CN113259165B (en) * 2021-05-26 2022-12-06 中国电子信息产业集团有限公司第六研究所 Airport refueling management system and management method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010078255A1 (en) * 2008-12-29 2010-07-08 Interdigital Patent Holdings, Inc. Method and apparatus for tracking area update procedure and eps bearer contexts representation
CN101977410A (en) * 2010-10-20 2011-02-16 中兴通讯股份有限公司 Method and device for dual-network and dual-standby terminal to perform communication
CN102611750A (en) * 2012-03-15 2012-07-25 中兴通讯股份有限公司 Double-protocol-stack accessing method and system
KR102008842B1 (en) * 2012-11-22 2019-08-08 삼성전자주식회사 Apparatus and method for selecting network in communication system
CN103516546A (en) * 2013-08-19 2014-01-15 北京佳讯飞鸿电气股份有限公司 IP terminal device management system and method for double-center networking
CN105392130B (en) * 2015-11-24 2018-03-27 广东欧珀移动通信有限公司 Network communicating function abnormal processing method, application processor and user terminal

Also Published As

Publication number Publication date
CN108599987A (en) 2018-09-28
CN105392130B (en) 2018-03-27
CN105392130A (en) 2016-03-09

Similar Documents

Publication Publication Date Title
CN105376776B (en) Network communicating function abnormal processing method, application processor and mobile terminal
CN106686638A (en) Method and device for processing abnormality of network communication function
CN105376785A (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN105407461B (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
CN108599987B (en) Processing method for network communication function abnormity, application processor and user terminal
CN105376775B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN108419258A (en) Method for processing abnormality of network communication function, modem and mobile terminal
CN105490838B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376784B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105634794B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376774B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376787B (en) A kind of processing method and application processor of network communicating function exception
CN105376781B (en) Processing method, modem and the user terminal of network communicating function exception
CN105491605B (en) A kind of network communicating function abnormality eliminating method, modem and mobile terminal
CN108462973B (en) Method for handling abnormal network communication function, modem and mobile terminal
CN108684056B (en) Method for processing abnormal network communication function, modem, mobile terminal and storage medium
CN105376779A (en) Processing method of network communication function abnormity, application processor and mobile terminal
CN105357704B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN105491609B (en) Network communicating function abnormal processing method, modem and mobile terminal
CN105376780B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105357705B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105491608A (en) Method for processing abnormality of network communication function, 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200207