CN105357050A - Network communication functional abnormity processing method, application processor and mobile terminal - Google Patents

Network communication functional abnormity processing method, application processor and mobile terminal Download PDF

Info

Publication number
CN105357050A
CN105357050A CN201510828487.7A CN201510828487A CN105357050A CN 105357050 A CN105357050 A CN 105357050A CN 201510828487 A CN201510828487 A CN 201510828487A CN 105357050 A CN105357050 A CN 105357050A
Authority
CN
China
Prior art keywords
demodulator
modulator
protocol stack
application processor
abnormal
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.)
Granted
Application number
CN201510828487.7A
Other languages
Chinese (zh)
Other versions
CN105357050B (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 CN201810220798.9A priority Critical patent/CN108390789B/en
Priority to CN201510828487.7A priority patent/CN105357050B/en
Publication of CN105357050A publication Critical patent/CN105357050A/en
Application granted granted Critical
Publication of CN105357050B publication Critical patent/CN105357050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks

Abstract

The embodiment of the invention discloses a network communication functional abnormity processing method, an application processor and a mobile terminal. The network communication functional abnormity processing method comprises: determining whether a public module in a modem is abnormal by an application processor when the application processor detects that the modem in a mobile terminal is abnormal; if the public module in the modem is not abnormal, determining that protocol stacks in the modem are abnormal by the application processor and acquiring the first protocol stack used by the modem at present; determining whether the preset number of modem abnormity occurs within the preset time range by the application processor; if the preset number of modem abnormity occurs within the preset time range, closing the first protocol stack by the application processor, and selecting the second protocol stack except for the first protocol stack among a plurality of protocol stacks supported by the modem; starting the second protocol stack by the application processor, and using the second protocol stack to perform network registration; and if network registration is successful, recording the current location information by the application processor. The network communication functional abnormity processing method, the application processor and the mobile terminal can quickly recover normality of network.

Description

The processing method of network communicating function exception, application processor and mobile terminal
Technical field
The present invention relates to communication technical field, be specifically related to a kind of processing method of network communicating function exception, application processor and mobile terminal.
Background technology
Along with the development of the communication technology, the function and position of the modulator-demodulator in mobile phone becomes more and more important, modulator-demodulator is used for data to be sent being converted to radiofrequency signal and the radiofrequency signal of reception is converted to the signaling of pending data, process Access Layer (AS) and Non-Access Stratum (NAS), and modulator-demodulator is also for carrying out interface etc. with AP processor.But modulator-demodulator often exception can occur, and causes Network Abnormal, mobile phone cannot normally be surfed the Net.The normal solution adopted is at present: manually carry out pressure to the modulator-demodulator of mobile terminal and restart, recover or arrange the configuration parameter of modulator-demodulator.Reason due to modulator-demodulator exception has multiple, manually restarts modulator-demodulator and can not solve all modulator-demodulators extremely, cannot recover network fast normal.
Summary of the invention
The embodiment of the present invention provides a kind of processing method of network communicating function exception, application processor and mobile terminal, can recover network fast normal.
Embodiment of the present invention first aspect, provides a kind of processing method of network communicating function exception, comprising:
When application processor detects that the modulator-demodulator in mobile terminal is abnormal, judge that whether the public module in described modulator-demodulator is abnormal;
When the public module in described modulator-demodulator is normal, described application processor determines that the protocol stack in described modulator-demodulator is abnormal, and obtains the first protocol stack of the current use of described modulator-demodulator;
Described application processor judges that the described modulator-demodulator whether preset times occurred in preset time range is abnormal;
When the described modulator-demodulator that described preset times occurred in described preset time range is abnormal, described application processor closes described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Described application processor opens described second protocol stack, and uses described second protocol stack to carry out network registry;
When described network registry success, the current location information of mobile terminal described in described application processor record.
In the first possible implementation of embodiment of the present invention first aspect, described method also comprises:
When described network registry failure, described application processor recovers the default protocol stack switch state in described multiple protocol stack of described modulator-demodulator support, and/or the described modulator-demodulator that resets.
In conjunction with in the first possible implementation of embodiment of the present invention first aspect, in the implementation that the second of embodiment of the present invention first aspect is possible, after the current location information of mobile terminal described in described application processor record, described method also comprises:
Whether the positional information that described application processor detects described mobile terminal changes;
If so, then described application processor performs the default protocol stack switch state in described multiple protocol stack of the described support of described recovery, and/or the step of the described modulator-demodulator that resets.
In conjunction with the implementation that the first or the second of embodiment of the present invention first aspect are possible, in the third possible implementation of embodiment of the present invention first aspect, described application processor recovers the default protocol stack switch state in described multiple protocol stack of described support, and/or after the described modulator-demodulator that resets, described method also comprises:
Whether the abnormal cause of the modulator-demodulator exception that described application processor judges in described mobile terminal reports;
When described modulator-demodulator exception abnormal cause not on give the correct time, described application processor obtains the abnormal cause of described modulator-demodulator exception and described modulator-demodulator abnormal log;
The abnormal cause of described modulator-demodulator exception and described modulator-demodulator abnormal log are reported network and/or show the abnormal cause of described modulator-demodulator exception by described application processor.
In conjunction with the third possible implementation of embodiment of the present invention first aspect, in the 4th kind of possible implementation of embodiment of the present invention first aspect, the abnormal cause of described modulator-demodulator exception and described modulator-demodulator abnormal log are reported network by described application processor, comprising:
The abnormal cause of the described modulator-demodulator exception of record and described modulator-demodulator abnormal log also, after establishing a communications link with described wifi hotspot, are reported described network side by described wifi hotspot by the wifi hotspot around described application processor scanning.
Embodiment of the present invention second aspect, provides a kind of application processor, comprising:
First judging unit, during for the modulator-demodulator exception in mobile terminal being detected, judges that whether the public module in described modulator-demodulator is abnormal;
Determining unit, for when described first judging unit judged result is no, determines that the protocol stack in described modulator-demodulator is abnormal;
First acquiring unit, during for determining the protocol stack exception in described modulator-demodulator when described determining unit, obtains the first protocol stack of the current use of described modulator-demodulator;
Second judging unit, abnormal for judging the described modulator-demodulator whether preset times occurred in preset time range;
Selected cell, for when described second judging unit judged result is for being, closes described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Registering unit, for opening described second protocol stack, and uses described second protocol stack to carry out network registry;
Record cell, for when described network registry is successful, records the current location information of described mobile terminal.
In the first possible implementation of embodiment of the present invention second aspect, described application processor also comprises:
Recovery unit, for when described network registry is failed, recovers the default protocol stack switch state in described multiple protocol stack of described modulator-demodulator support, and/or the described modulator-demodulator that resets.
In conjunction with the first possible implementation of embodiment of the present invention second aspect, in the implementation that the second of embodiment of the present invention second aspect is possible, described application processor also comprises:
Whether detecting unit, change for the positional information detecting described mobile terminal;
Described recovery unit, also for when the positional information that described detecting unit detects described mobile terminal changes, recovers the default protocol stack switch state in described multiple protocol stack of described support, and/or the described modulator-demodulator that resets.
In conjunction with the implementation that the first or the second of embodiment of the present invention second aspect are possible, in the third possible implementation of embodiment of the present invention second aspect, described application processor also comprises:
3rd judging unit, after returning to described initial switch state for the current switch states corresponding when each protocol stack in described multiple protocol stack that described modulator-demodulator is supported by described recovery unit, judge whether the abnormal cause of the modulator-demodulator exception in described mobile terminal reports;
Second acquisition unit, for when described 3rd judging unit judged result is no, obtains the abnormal cause of described modulator-demodulator exception and described modulator-demodulator abnormal log;
Report unit, report network for the abnormal cause of described modulator-demodulator exception that described second acquisition unit is obtained and described modulator-demodulator abnormal log and/or show the abnormal cause of described modulator-demodulator exception.
In conjunction with the third possible implementation of embodiment of the present invention second aspect, in the 4th kind of possible implementation of embodiment of the present invention second aspect, described in report unit the mode that the abnormal cause of described modulator-demodulator exception and described modulator-demodulator abnormal log report network to be specially:
Describedly report the wifi hotspot around unit scan and after establishing a communications link with described wifi hotspot, by described wifi hotspot, the abnormal cause of the described modulator-demodulator exception of record and described modulator-demodulator abnormal log are reported described network side.
The embodiment of the present invention third aspect provides a kind of mobile terminal, comprises the application processor described in above-mentioned any one.
In the embodiment of the present invention, when application processor detects that the modulator-demodulator in mobile terminal is abnormal, judge that whether the public module in modulator-demodulator is abnormal; When the public module in modulator-demodulator is normal, the protocol stack in application processor determination modulator-demodulator is abnormal, and obtains the first protocol stack of the current use of modulator-demodulator; Application processor judges that the modulator-demodulator whether preset times occurred in preset time range is abnormal; When the modulator-demodulator that preset times occurred in preset time range is abnormal, application processor closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported; Application processor opens second protocol stack, and uses second protocol stack to carry out network registry; When network registry success, the current location information of application processor record move terminal.Implement the embodiment of the present invention, it is normal that the mode of carrying out network registry by switching other protocol stacks makes modulator-demodulator recover automatically to communicate, and avoids forcing restarting the consuming time long problem that mobile phone causes, can recover network fast normal.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the processing method of a kind of network communicating function exception disclosed in the embodiment of the present invention;
Fig. 2 is the flow chart of the processing method of another kind of network communicating function exception disclosed in the embodiment of the present invention;
Fig. 3 is the flow chart of the processing method of another kind of network communicating function exception disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of application processor disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of application processor disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another kind of application processor disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of mobile terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in embodiment of the present invention, the technical scheme in embodiment of the present invention is clearly and completely described.Obviously, described execution mode is a part of execution mode of the present invention, instead of whole execution mode.Based on the execution mode in the present invention, the every other execution mode that those of ordinary skill in the art obtain under the prerequisite not making creative work, all should belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of processing method of network communicating function exception, application processor and mobile terminal, can recover network fast normal.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the flow chart of the processing method of a kind of network communicating function exception disclosed in the embodiment of the present invention.As shown in Figure 1, the processing method of the Network Abnormal described in the present embodiment, comprises step:
S100, whether the modulator-demodulator that application processor detects in mobile terminal is abnormal, if so, then performs step S101, if not, then continues to perform step S100.
S101, application processor judges that whether the public module in modulator-demodulator is abnormal, if not, then performs step S102, if so, performs step S109.
In the embodiment of the present invention, mobile terminal comprises application processor and modulator-demodulator, wherein, application processor can be connected by universal asynchronous receiving-transmitting transmitter (URAT) interface or dual-ported memory (DualPortRAM) interface with modulator-demodulator, and modulator-demodulator (Modem) is for being converted to radiofrequency signal and the radiofrequency signal of reception being converted to pending data, the signaling processing Access Layer (AS) and Non-Access Stratum (NAS), modulator-demodulator also for carrying out interface etc. with AP processor by data to be sent.Modulator-demodulator comprises public module and protocol stack, and public module is used for the configuration parameter in setup of modulator-demodulator, protocol stack represents the summation of the various protocols that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., multiple sub-protocol stack is comprised again below each communication standard protocol stack, as, LTE protocol stack comprises physical layer protocol, mac-layer protocol (MultipleAccessControlProtocol), RRC agreement (RadioResourceControlProtocol, radio resource control), PDCP agreement ((PacketDataConvergenceProtocol, PDCP) etc., repeat no more herein.
S102, the protocol stack in application processor determination modulator-demodulator is abnormal, and obtains the first protocol stack of the current use of modulator-demodulator.
In the embodiment of the present invention, when the public module in modulator-demodulator is normal, the protocol stack in application processor determination modulator-demodulator is abnormal, and the first protocol stack is the protocol stack causing modulator-demodulator exception.
S103, application processor judges that the modulator-demodulator whether preset times occurred in preset time range is abnormal, if so, then performs step S104, if not, then performs step S109.
In the embodiment of the present invention, Preset Time and preset times can preset, and such as, Preset Time can be set to 24 hours, and preset times can be set to 3 times.
S104, application processor closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported.
In the embodiment of the present invention, there is dividing of priority level height in multiple protocol stacks that modulator-demodulator is supported, herein, feasible execution mode is: can the priority level of each protocol stack of Premises modem, such as: the priority level that can arrange each protocol stack when modulator-demodulator dispatches from the factory; Or, can be configured in mobile terminal at modulator-demodulator and carry out in initialized process, use network during each protocol stack to connect according to mobile terminal and network signal intensity situation arranges priority level; Etc..Another kind of feasible execution mode is: the priority level that can adjust each protocol stack of modulator-demodulator flexibly, such as: network during each protocol stack can be used to connect in certain band of position according to mobile terminal and network signal intensity situation arranges priority level; Or, the priority level of each protocol stack can be set according to the order of the conventional network service standard of mobile terminal; Etc..It should be noted that, the priority level of certain protocol stack is higher, illustrates that mobile terminal can obtain better network based on this protocol stack and connect or stronger network signal.Modulator-demodulator medium priority not the highest protocol stack is commonly called default protocol stack, and modulator-demodulator is also realize the network registry of mobile terminal and Web vector graphic according to priority level from height to low each protocol stack that uses in order usually.
When the modulator-demodulator that preset times occurred in preset time range is abnormal, application processor closes the first protocol stack causing modulator-demodulator exception, from multiple protocol stacks that modulator-demodulator is supported, select the second protocol stack except the first protocol stack, application processor is closed the first protocol stack and can be prevented the problem of modulator-demodulator exception from repeatedly occurring.Application processor occur before can also obtaining from network modulator-demodulator abnormal time processing method and according to said method to solve modulator-demodulator abnormal.Application processor selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported, wherein, the strategy that application processor is selected can be: the protocol stack of the low one-level of Selection radio first protocol stack is as second protocol stack; Or measure the signal strength signal intensity of the cell signal that each protocol stack is corresponding around, using protocol stack maximum for signal strength signal intensity as second protocol stack; Or the higher leveled protocol stack of Selection radio first protocol stack is as second protocol stack; Or adopting other strategy to determine second protocol stack, the present invention is not restricted.
S105, application processor opens second protocol stack, and uses second protocol stack to carry out network registry.
In the embodiment of the present invention, after application processor closes the first protocol stack, mobile terminal is converted to without service state by there being service state, application processor opens the second protocol stack selected, second protocol stack is used to carry out network registry, such as, the process registered of LTE network as: mobile terminal initiates attachment request (attacherequest) to network side, if network side allows mobile terminal access, attachment response (attachaccept) is returned to mobile terminal, represent network registry success, mobile terminal has been converted to service state by without service state; If network side does not allow mobile terminal to access, return refusal/error message to mobile terminal, represent network registry failure.
S106, application processor judges that whether network registry is successful, if so, performs step S107, if not, performs step S108.
S107, the current location information of application processor record move terminal.
In the embodiment of the present invention, the current location information of mobile terminal represents mobile terminal logical place in the mobile communication network, positional information can be cell ID (CellIdentity, or regional location code (LocationAreaCode CID), LAC) or position tracing area etc., the present invention is not restricted.If use the success of second protocol stack registered network, the current location information of application processor record move terminal.Implement the embodiment of the present invention, application processor cannot can detect that modulator-demodulator is abnormal during proper communication fast at modulator-demodulator, and the mode of carrying out network registry by switching other protocol stacks makes modulator-demodulator recover the normal of communication automatically, avoid forcing restarting the consuming time long problem that mobile phone or location updating cause, network can be recovered fast normal.
S108, application processor recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator.
In the embodiment of the present invention, the process of the on off state of the default protocol stack in multiple protocol stacks of application processor recovery modulator-demodulator support can be understood as the reseting procedure of protocol stack; And the process of the modulator-demodulator that resets can be understood as the Default Value recovering modulator-demodulator.Be understandable that, default protocol stack herein both may be the first protocol stack, also may be other protocol stacks beyond the first protocol stack.It should be noted that, if default protocol stack is the first protocol stack (namely pent, cause dedicated bearer process to produce abnormal protocol stack) in the present embodiment, so, this step is equivalent to reopen the first protocol stack.Default protocol stack is the protocol stack pre-set, one in multiple protocol stacks that default protocol stack can be supported for modulator-demodulator.If use the failure of second protocol stack registered network, application processor is opened the default protocol stack that pre-sets and is carried out reset operation to modulator-demodulator, and after reset operation, modulator-demodulator use default protocol stack carries out work.
S109, application processor restarts modulator-demodulator.
In the embodiment of the present invention, when the public module that application processor is judged in modulator-demodulator is abnormal, the configuration parameter namely in modulator-demodulator is incorrect, and application processor restarts modulator-demodulator, and the configuration parameter in modulator-demodulator is configured to default parameters.
In the embodiment of the present invention, when application processor detects that the modulator-demodulator in mobile terminal is abnormal, judge that whether the public module in modulator-demodulator is abnormal; When the public module in modulator-demodulator is normal, the protocol stack in application processor determination modulator-demodulator is abnormal, and obtains the first protocol stack of the current use of modulator-demodulator; Application processor judges that the modulator-demodulator whether preset times occurred in preset time range is abnormal; When the modulator-demodulator that preset times occurred in preset time range is abnormal, application processor closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported; Application processor opens second protocol stack, and uses second protocol stack to carry out network registry; When network registry success, the current location information of application processor record move terminal; When network registry failure, application processor recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator.Implement the embodiment of the present invention, it is normal that the mode of carrying out network registry by switching other protocol stacks makes modulator-demodulator recover automatically to communicate, and avoids forcing restarting the consuming time long problem that mobile phone causes, can recover network fast normal.
Refer to Fig. 2, Fig. 2 is the flow chart of the processing method of another kind of network communicating function exception disclosed in the embodiment of the present invention.As shown in Figure 2, the processing method of the Network Abnormal described in the present embodiment, comprises step:
S200, whether the modulator-demodulator that application processor detects in mobile terminal is abnormal, if so, then performs step S201, if not, then continues to perform step S200.
S201, application processor judges that whether the public module in modulator-demodulator is abnormal, if not, then performs step S202, if so, performs step S210.
S202, the protocol stack in application processor determination modulator-demodulator is abnormal, and obtains the first protocol stack of the current use of modulator-demodulator.
S203, application processor judges that the modulator-demodulator whether preset times occurred in preset time range is abnormal, if so, then performs step S204, if not, then performs step S210.
S204, application processor closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported.
S205, application processor opens second protocol stack, and uses second protocol stack to carry out network registry.
S206, application processor judges that whether network registry is successful, if so, performs step S207, if not, performs step S209.
S207, the current location information of application processor record move terminal.
S208, whether the positional information that application processor detects mobile terminal changes, and if so, performs step S209, if not, continues to perform step S208.
In the embodiment of the present invention, positional information can be cell ID (CellIdentity, or location area code (LocationAreaCode CID), LAC), application processor is after the positional information that record move terminal is current, to periodically obtain the positional information of mobile terminal, and the positional information periodically obtained is compared with the positional information of record; When the positional information periodically obtained changes compared to the positional information recorded, perform step S209, otherwise continue to obtain positional information.Such as, positional information is cell ID, and mobile terminal moves to another community by a community, represents that positional information changes; Positional information is location area code, and mobile terminal moves to another band of position by a band of position, shows that positional information changes.Cycle the present invention that application processor obtains positional information is not restricted, and can arrange according to the actual requirements.
S209, application processor recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator.
S210, application processor restarts modulator-demodulator.
Step S200 in the embodiment of the present invention ~ step S207 can be shown in Figure 1 step S100 ~ step S107, step S108 ~ step S109 that step S209 ~ step S210 can be shown in Figure 1, the embodiment of the present invention repeats no more.
In the embodiment of the present invention, when application processor detects that the modulator-demodulator in mobile terminal is abnormal, application processor judges that whether the public module in modulator-demodulator is abnormal; When the public module in modulator-demodulator is normal, the protocol stack in application processor determination modulator-demodulator is abnormal, and obtains the first protocol stack of the current use of modulator-demodulator; Application processor judges that the modulator-demodulator whether preset times occurred in preset time range is abnormal; When the modulator-demodulator that preset times occurred in preset time range is abnormal, application processor closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported; Application processor opens second protocol stack, and uses second protocol stack to carry out network registry; When network registry success, the current location information of application processor record move terminal; Whether the positional information that application processor detects mobile terminal changes, and if so, application processor recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator; When network registry failure, application processor recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator.Implement the embodiment of the present invention, it is normal that the mode of carrying out network registry by switching other protocol stacks makes modulator-demodulator recover automatically to communicate, and avoids forcing restarting the consuming time long problem that mobile phone causes, can recover network fast normal.
Refer to Fig. 3, Fig. 3 is the flow chart of the processing method of another kind of network communicating function exception disclosed in the embodiment of the present invention.As shown in Figure 3, the processing method of the Network Abnormal described in the present embodiment, comprises step:
S300, whether the modulator-demodulator that application processor detects in mobile terminal is abnormal, if so, then performs step S301, if not, then continues to perform step S300.
S301, application processor judges that whether the public module in modulator-demodulator is abnormal, if not, then performs step S302, if so, performs step S313.
S302, the protocol stack in application processor determination modulator-demodulator is abnormal, and obtains the first protocol stack of the current use of modulator-demodulator.
S303, application processor judges that the modulator-demodulator whether preset times occurred in preset time range is abnormal, if so, then performs step S304, if not, then performs step S313.
S304, application processor closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported.
S305, application processor opens second protocol stack, and uses second protocol stack to carry out network registry.
S306, application processor judges that whether network registry is successful, if so, performs step S307, if not, performs step S309.
S307, the current location information of application processor record move terminal.
S308, whether the positional information that application processor detects mobile terminal changes, and if so, performs step S309, if not, continues to perform step S308.
S309, application processor recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator.
S310, whether the abnormal cause of the modulator-demodulator exception that application processor judges in mobile terminal reports, and if not, then performs step S311, if so, then performs step S300.
S311, application processor obtains abnormal cause and the modulator-demodulator abnormal log of modulator-demodulator exception.
In the embodiment of the present invention, abnormal cause modulator-demodulator exception being detected when application processor not on give the correct time, application processor obtains abnormal cause and the modulator-demodulator abnormal log of modulator-demodulator exception.There is the abnormal time for recording modulator-demodulator in modulator-demodulator abnormal log, initial position message and the information such as the reason of modulator-demodulator exception, the solution of modulator-demodulator exception of mobile terminal during exception occur.
S312, the abnormal cause of modulator-demodulator exception and modulator-demodulator abnormal log are reported the abnormal cause of network and/or modulation demodulator exception by application processor.
In the embodiment of the present invention, the abnormal cause of modulator-demodulator exception and modulator-demodulator abnormal log are reported network by application processor, wherein, application processor can in mobile terminal connection when WIFI hot spot, by WIFI hot spot, the abnormal cause of modulator-demodulator exception and modulator-demodulator abnormal log are reported network, to save flow.Or the abnormal cause of modulator-demodulator exception also can be presented on the display screen of mobile terminal by application processor, checks for user.Implementing the embodiment of the present invention, by reporting modulator-demodulator abnormal cause, modulator-demodulator current location information and modulator-demodulator abnormal log, facilitating follow-up quick solution to occur the abnormal Network Abnormal caused of similar modulator-demodulator.
In the execution mode that some are feasible, step S312 can comprise:
The abnormal cause of the modulator-demodulator exception of record and modulator-demodulator abnormal log also, after establishing a communications link with wifi hotspot, are reported network side by wifi hotspot by the wifi hotspot around application processor scanning.
S313, application processor restarts modulator-demodulator.
Part steps in the embodiment of the present invention can executed in parallel, as step S308 and step S310 can executed in parallel, step S300 in the embodiment of the present invention ~ step S309 can be shown in Figure 2 step S200 ~ step S209, step S313 can be shown in Figure 2 step S210, the embodiment of the present invention repeats no more.
In the embodiment of the present invention, when application processor detects that the modulator-demodulator in mobile terminal is abnormal, application processor judges that whether the public module in modulator-demodulator is abnormal; When the public module in modulator-demodulator is normal, the protocol stack in application processor determination modulator-demodulator is abnormal, and obtains the first protocol stack of the current use of modulator-demodulator; Application processor judges that the modulator-demodulator whether preset times occurred in preset time range is abnormal; When the modulator-demodulator that preset times occurred in preset time range is abnormal, application processor closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported; Application processor opens second protocol stack, and uses second protocol stack to carry out network registry; When network registry success, the current location information of application processor record move terminal; Whether the positional information that application processor detects mobile terminal changes, and if so, application processor recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator; Whether the abnormal cause of the modulator-demodulator exception that application processor judges in mobile terminal reports; When modulator-demodulator exception abnormal cause not on give the correct time, application processor obtains abnormal cause and the modulator-demodulator abnormal log of modulator-demodulator exception; The abnormal cause of modulator-demodulator exception and modulator-demodulator abnormal log are reported the abnormal cause of network and/or modulation demodulator exception by application processor; When network registry failure, application processor recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator.Implement the embodiment of the present invention, the mode of carrying out network registry by switching other protocol stacks makes modulator-demodulator recover the normal of communication automatically, avoid forcing restarting the consuming time long problem that mobile phone causes, network can be recovered fast normal, and, by reporting modulator-demodulator abnormal cause, modulator-demodulator current location information and modulator-demodulator abnormal log, follow-up quick solution is facilitated to occur the abnormal Network Abnormal caused of similar modulator-demodulator.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of application processor disclosed in the embodiment of the present invention.As shown in Figure 4, application processor described in the present embodiment, comprise detecting unit 400, first judging unit 401, determining unit 402, first acquiring unit 403, second judging unit 404, selected cell 405, registering unit 406, first record cell 407, recovery unit 408 and restart unit 412, wherein:
Detecting unit 400, whether abnormal for the modulator-demodulator detected in mobile terminal.
First judging unit 401, during for the modulator-demodulator exception in mobile terminal being detected, judges that whether the public module in modulator-demodulator is abnormal.
In the embodiment of the present invention, when the modulator-demodulator that detecting unit 400 detects in mobile terminal is abnormal, the first judging unit 401 judges that whether the public module in modulator-demodulator is abnormal.Mobile terminal comprises application processor and modulator-demodulator, wherein, application processor can be connected by universal asynchronous receiving-transmitting transmitter (URAT) interface or dual-ported memory (DualPortRAM) interface with modulator-demodulator, and modulator-demodulator (Modem) is for being converted to radiofrequency signal and the radiofrequency signal of reception being converted to pending data, the signaling processing Access Layer (AS) and Non-Access Stratum (NAS), modulator-demodulator also for carrying out interface etc. with AP processor by data to be sent.Modulator-demodulator comprises public module and protocol stack, and public module is used for the configuration parameter in setup of modulator-demodulator, protocol stack represents the summation of the various protocols that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., multiple sub-protocol stack is comprised again below each communication standard protocol stack, as, LTE protocol stack comprises physical layer protocol, mac-layer protocol (MultipleAccessControlProtocol), RRC agreement (RadioResourceControlProtocol, radio resource control), PDCP agreement ((PacketDataConvergenceProtocol, PDCP) etc., repeat no more herein.
Determining unit 402, for when the first judging unit 401 judged result is no, determines that the protocol stack in modulator-demodulator is abnormal.
First acquiring unit 403, during for determining the protocol stack exception in modulator-demodulator when determining unit 402, obtains the first protocol stack of the current use of modulator-demodulator.
In the embodiment of the present invention, when the public module that the first judging unit 401 is judged in modulator-demodulator is normal, determining unit 402 determines that the protocol stack in modulator-demodulator is abnormal, first acquiring unit 403 obtains the first protocol stack of the current use of modulator-demodulator, and the first protocol stack is the protocol stack causing modulator-demodulator exception.
Second judging unit 404, abnormal for judging the modulator-demodulator whether preset times occurred in preset time range, when the second judging unit 404 judged result is for being, triggering selection unit 405, when the second judging unit 404 judged result is no, triggers and restart unit 412.
In the embodiment of the present invention, second judging unit 404 judges that the modulator-demodulator whether preset times occurred in preset time range is abnormal, and Preset Time and preset times can preset, such as, Preset Time can be set to 24 hours, and preset times can be set to 3 times.
Selected cell 405, for when the second judging unit 404 judged result is for being, closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported.
In the embodiment of the present invention, when the modulator-demodulator that the second judging unit 404 judges to occur in preset time range preset times is abnormal, selected cell 405 closes the first protocol stack causing modulator-demodulator exception, from multiple protocol stacks that modulator-demodulator is supported, select the second protocol stack except the first protocol stack, selected cell 405 is closed the first protocol stack and can be prevented the problem of modulator-demodulator exception from repeatedly occurring.Selected cell 405 occur before can also obtaining from network modulator-demodulator abnormal time processing method and according to said method to solve modulator-demodulator abnormal.Selected cell 405 selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported, wherein, the strategy that selected cell 405 is selected can be: the protocol stack of the low one-level of Selection radio first protocol stack is as second protocol stack; Or measure the signal strength signal intensity of the cell signal that each protocol stack is corresponding around, using protocol stack maximum for signal strength signal intensity as second protocol stack; Or the higher leveled protocol stack of Selection radio first protocol stack is as second protocol stack; Or adopting other strategy to determine second protocol stack, the present invention is not restricted.
Registering unit 406, for opening second protocol stack, and uses second protocol stack to carry out network registry.
In the embodiment of the present invention, after selected cell 405 closes the first protocol stack, mobile terminal is converted to without service state by there being service state, registering unit 406 opens the second protocol stack selected, second protocol stack is used to carry out network registry, such as, the process registered of LTE network as: mobile terminal initiates attachment request (attacherequest) to network side, if network side allows mobile terminal access, attachment response (attachaccept) is returned to mobile terminal, represent network registry success, mobile terminal has been converted to service state by without service state; If network side does not allow mobile terminal to access, return refusal/error message to mobile terminal, represent network registry failure.
Record cell 407, for when network registry is successful, the current location information of record move terminal.
In the embodiment of the present invention, when using the success of second protocol stack registered network, the current location information of record cell 407 record move terminal.The current location information of mobile terminal represents mobile terminal logical place in the mobile communication network, positional information can be cell ID (CellIdentity, or regional location code (LocationAreaCode CID), LAC) or position tracing area etc., the present invention is not restricted.Implement the embodiment of the present invention, modulator-demodulator cannot proper communication time application processor can detect that modulator-demodulator is abnormal fast, and the mode of carrying out network registry by switching other protocol stacks makes modulator-demodulator recover the normal of communication automatically, avoid forcing restarting the consuming time long problem that mobile phone or location updating cause, network can be recovered fast normal.
Recovery unit 408, for when network registry is failed, recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator.
In the embodiment of the present invention, when using the failure of second protocol stack registered network, recovery unit 408 recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator, after reset operation, modulator-demodulator uses default protocol stack to carry out work.Default protocol stack is the protocol stack pre-set, one in multiple protocol stacks that default protocol stack can be supported for modulator-demodulator.
Restart unit 412, for restarting modulator-demodulator.
In the embodiment of the present invention, when the public module that the first judging unit 401 is judged in modulator-demodulator is abnormal, namely the configuration parameter in modulator-demodulator is incorrect, and triggering is restarted unit 412 and restarted modulator-demodulator, and the configuration parameter in modulator-demodulator is configured to default parameters.
In the embodiment of the present invention, when detecting unit 400 detects that the modulator-demodulator in mobile terminal is abnormal, the first judging unit 401 judges that whether the public module in modulator-demodulator is abnormal; When the public module in modulator-demodulator is normal, determining unit 402 determines that the protocol stack in modulator-demodulator is abnormal, and the first acquiring unit 403 obtains the first protocol stack of the current use of modulator-demodulator; Second judging unit 404 judges that the modulator-demodulator whether preset times occurred in preset time range is abnormal; When the modulator-demodulator that preset times occurred in preset time range is abnormal, selected cell 405 closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported; Registering unit 406 opens second protocol stack, and uses second protocol stack to carry out network registry; When network registry success, the current location information of record cell 407 record move terminal; When network registry failure, recovery unit 408 recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator.Implement the embodiment of the present invention, it is normal that the mode of carrying out network registry by switching other protocol stacks makes modulator-demodulator recover automatically to communicate, and avoids forcing restarting the consuming time long problem that mobile phone causes, can recover network fast normal.
Refer to Fig. 5, Fig. 5 is the structural representation of another kind of application processor disclosed in the embodiment of the present invention.As shown in Figure 5, application processor described in the present embodiment, comprise detecting unit 400, first judging unit 401 shown in Fig. 4, determining unit 402, first acquiring unit 403, second judging unit 404, selected cell 405, registering unit 406, record cell 407, recovery unit 408 and restart unit 412, wherein:
Detecting unit 400, whether the positional information also for detecting mobile terminal changes.
In the embodiment of the present invention, positional information can be cell ID (CellIdentity, or location area code (LocationAreaCode CID), LAC), record cell 407 is after the positional information that record move terminal is current, detecting unit 400 periodically obtains the positional information of mobile terminal, and the positional information periodically obtained is compared with the positional information of record; When the positional information periodically obtained changes compared to the positional information recorded, triggers recovery unit 408 recovers the default protocol stack switch state in the multiple protocol stacks supported, and/or reset modulator-demodulator, otherwise continues to obtain positional information.Such as, positional information is cell ID, and mobile terminal moves to another community by a community, represents that positional information changes; Positional information is location area code, and mobile terminal moves to another band of position by a band of position, shows that positional information changes.Cycle the present invention that modulator-demodulator obtains positional information is not restricted, and can arrange according to the actual requirements.
When the positional information that detecting unit 400 detects mobile terminal changes, recovery unit 408 recovers the default protocol stack switch state in the multiple protocol stacks supported, and/or reset modulator-demodulator.
In the embodiment of the present invention, when detecting unit 400 detects that the modulator-demodulator in mobile terminal is abnormal, the first judging unit 401 judges that whether the public module in modulator-demodulator is abnormal; When the public module in modulator-demodulator is normal, determining unit 402 determines that the protocol stack in modulator-demodulator is abnormal, and the first acquiring unit 403 obtains the first protocol stack of the current use of modulator-demodulator; Second judging unit 404 judges that the modulator-demodulator whether preset times occurred in preset time range is abnormal; When the modulator-demodulator that preset times occurred in preset time range is abnormal, selected cell 405 closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported; Registering unit 406 opens second protocol stack, and uses second protocol stack to carry out network registry; When network registry success, the current location information of record cell 407 record move terminal; Whether the positional information that detecting unit 40 detects mobile terminal changes, when the positional information that detecting unit 400 detects mobile terminal changes, recovery unit 408 recovers the default protocol stack switch state in the multiple protocol stacks supported, and/or reset modulator-demodulator; When network registry failure, recovery unit 408 recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator.Implement the embodiment of the present invention, it is normal that the mode of carrying out network registry by switching other protocol stacks makes modulator-demodulator recover automatically to communicate, and avoids forcing restarting the consuming time long problem that mobile phone causes, can recover network fast normal.
Refer to Fig. 6, Fig. 6 is the structural representation of another kind of application processor disclosed in the embodiment of the present invention.As shown in Figure 6, application processor described in the present embodiment, except comprising detecting unit 400, first judging unit 401 shown in Fig. 5, determining unit 402, first acquiring unit 403, second judging unit 404, selected cell 405, registering unit 406, record cell 407, recovery unit 408 and restarting except unit 412, also comprise the 3rd judging unit 409, second acquisition unit 410 and report unit 411, wherein:
3rd judging unit 409, for recovering the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support when recovery unit 408, and/or after reset modulator-demodulator, judge whether the abnormal cause of the modulator-demodulator exception in mobile terminal reports, if, trigger detecting unit 400, if not, triggers second acquisition unit 410.
Second acquisition unit 410, for when the 3rd judging unit 409 judged result is no, obtains abnormal cause and the modulator-demodulator abnormal log of modulator-demodulator exception.
In the embodiment of the present invention, whether the abnormal cause of the modulator-demodulator exception that the 3rd judging unit 409 judges in mobile terminal reports, if do not report, second acquisition unit 410 obtains abnormal cause and the modulator-demodulator abnormal log of modulator-demodulator exception.There is the abnormal time for recording modulator-demodulator in modulator-demodulator abnormal log, initial position message and the information such as the reason of modulator-demodulator exception, the solution of modulator-demodulator exception of mobile terminal during exception occur.
Report unit 411, report the abnormal cause of network and/or modulation demodulator exception for the abnormal cause of modulator-demodulator exception that obtained by second acquisition unit 410 and modulator-demodulator abnormal log.
In the embodiment of the present invention, report unit 411 that the abnormal cause of modulator-demodulator exception and modulator-demodulator abnormal log are reported network, wherein, report unit 411 can when mobile terminal connect on WIFI hot spot, by WIFI hot spot, the abnormal cause of modulator-demodulator exception and modulator-demodulator abnormal log are reported network, to save flow.Or report unit 411 also can be presented on the display screen of mobile terminal by the abnormal cause of modulator-demodulator exception, check for user.Implementing the embodiment of the present invention, reporting unit 411 by reporting modulator-demodulator abnormal cause, modulator-demodulator current location information and modulator-demodulator abnormal log, facilitate follow-up quick solution to occur the abnormal Network Abnormal caused of similar modulator-demodulator.
Optionally, unit 411 is reported the mode that the abnormal cause of modulator-demodulator exception and modulator-demodulator abnormal log report network to be specially:
Unit 411 is reported to scan wifi hotspot around and after establishing a communications link with wifi hotspot, by wifi hotspot, the abnormal cause of the modulator-demodulator exception of record and modulator-demodulator abnormal log reported network side.
In the embodiment of the present invention, when detecting unit 400 detects that the modulator-demodulator in mobile terminal is abnormal, the first judging unit 401 judges that whether the public module in modulator-demodulator is abnormal; When the public module in modulator-demodulator is normal, determining unit 402 determines that the protocol stack in modulator-demodulator is abnormal, and the first acquiring unit 403 obtains the first protocol stack of the current use of modulator-demodulator; Second judging unit 404 judges that the modulator-demodulator whether preset times occurred in preset time range is abnormal; When the modulator-demodulator that preset times occurred in preset time range is abnormal, selected cell 405 closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator is supported; Registering unit 406 opens second protocol stack, and uses second protocol stack to carry out network registry; When network registry success, the current location information of record cell 407 record move terminal; Whether the positional information that detecting unit 400 detects mobile terminal changes, when the positional information that detecting unit 400 detects mobile terminal changes, recovery unit 408 recovers the default protocol stack switch state in the multiple protocol stacks supported, and/or reset modulator-demodulator; Whether the abnormal cause of the modulator-demodulator exception that the 3rd judging unit 409 judges in mobile terminal reports; When the 3rd judging unit 409 judged result is no, second acquisition unit 410 obtains abnormal cause and the modulator-demodulator abnormal log of modulator-demodulator exception; The abnormal cause of the modulator-demodulator exception reporting unit 411 to be obtained by second acquisition unit 410 and modulator-demodulator abnormal log report the abnormal cause of network and/or modulation demodulator exception; When network registry failure, recovery unit 408 recovers the default protocol stack switch state in multiple protocol stacks of modulator-demodulator support, and/or reset modulator-demodulator.Implement the embodiment of the present invention, the mode of carrying out network registry by switching other protocol stacks makes modulator-demodulator recover the normal of communication automatically, avoid forcing restarting the consuming time long problem that mobile phone causes, network can be recovered fast normal, and, by reporting modulator-demodulator abnormal cause, modulator-demodulator current location information and modulator-demodulator abnormal log, follow-up quick solution is facilitated to occur the abnormal Network Abnormal caused of similar modulator-demodulator.
Refer to Fig. 7, Fig. 7 is the structural representation of a kind of mobile terminal that the embodiment of the present invention provides, as shown in Figure 7, mobile terminal comprises application processor 1001, modulator-demodulator 1002 and memory 1003, memory 1003 is for the handling procedure of storage networking exception, application processor 1001 connects modulator-demodulator 1002 and memory 1003 by bus, application processor 1001 and modulator-demodulator 1002 are also connected by universal asynchronous receiving-transmitting transmitter (URAT) interface or dual-ported memory (DualPortRAM) interface, wherein, modulator-demodulator 1002 comprises several protocol stacks 10021 and a public module 10022, public module 10022 is for the configuration parameter in setup of modulator-demodulator 1002.Modulator-demodulator 1002 calls the handling procedure of Network Abnormal for performing following steps from memory 1003:
When application processor 1001 detects that the modulator-demodulator 1002 in mobile terminal is abnormal, judge that whether the public module in modulator-demodulator 1002 is abnormal;
When the public module in modulator-demodulator 1002 is normal, application processor 1001 determines that the protocol stack in modulator-demodulator 1002 is abnormal, and obtains the first protocol stack of the current use of modulator-demodulator 1002;
Application processor 1001 judges that the modulator-demodulator 1002 whether preset times occurred in preset time range is abnormal;
When the modulator-demodulator 1002 that preset times occurred in preset time range is abnormal, application processor 1001 closes the first protocol stack, and selects the second protocol stack except the first protocol stack from multiple protocol stacks that modulator-demodulator 1002 is supported;
Application processor 1001 opens second protocol stack, and uses second protocol stack to carry out network registry;
When network registry success, the current location information of application processor 1001 record move terminal.
In an embodiment, when network registry failure, application processor 1001 recovers the default protocol stack in multiple protocol stacks of modulator-demodulator 1002 support or carries out reset operation to modulator-demodulator 1002.
In an embodiment, application processor 1001 also performs following operation before judging that whether the public module 10022 in modulator-demodulator 1002 is abnormal:
Application processor 1001 records the initial position message that mobile terminal when exception occurs for abnormal time and modulator-demodulator 1002 occurs modulator-demodulator 1002, and modulator-demodulator 1002 is occurred the initial position message of mobile terminal when exception occurs for abnormal time and modulator-demodulator 1002 charges in modulator-demodulator abnormal log.
In an embodiment, after the current location information of application processor 1001 record move terminal, also perform following operation:
Application processor 1001 judges whether the current location information of mobile terminal mates with the initial position message of mobile terminal;
When the current location information of mobile terminal does not mate with the initial position message of mobile terminal, application processor 1001 obtain modulator-demodulator 1002 abnormal before each protocol stack is corresponding in multiple protocol stacks of supporting of modulator-demodulator 1002 initial switch state;
The current switch states that in multiple protocol stacks that modulator-demodulator 1002 is supported by application processor 1001, each protocol stack is corresponding returns to initial switch state.
In an embodiment, after the current switch states that in multiple protocol stacks that modulator-demodulator 1002 is supported by application processor 1001, each protocol stack is corresponding returns to initial switch state, also perform following operation:
Whether the abnormal cause of modulator-demodulator 1002 exception that application processor 1001 judges in mobile terminal reports;
When modulator-demodulator 1002 exception abnormal cause not on give the correct time, application processor 1001 obtains abnormal cause and the modulator-demodulator abnormal log of modulator-demodulator 1002 exception;
The abnormal cause of modulator-demodulator 1002 exception and modulator-demodulator abnormal log are reported the abnormal cause of network and/or modulation demodulator 1002 exception by application processor 1001.
Visible, by the mobile terminal described by Fig. 7, make modulator-demodulator 1002 recover normal by the mode of network registry, avoid forcing restarting the consuming time long problem that mobile phone causes, network can be recovered fast normal.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-OnlyMemory, ROM), random access device (RandomAccessMemory, RAM), disk or CD etc.
Above the processing method of a kind of network communicating function exception that the embodiment of the present invention provides, application processor and mobile terminal are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.

Claims (11)

1. a processing method for network communicating function exception, is characterized in that, comprising:
When application processor detects that the modulator-demodulator in mobile terminal is abnormal, judge that whether the public module in described modulator-demodulator is abnormal;
When the public module in described modulator-demodulator is normal, described application processor determines that the protocol stack in described modulator-demodulator is abnormal, and obtains the first protocol stack of the current use of described modulator-demodulator;
Described application processor judges that the described modulator-demodulator whether preset times occurred in preset time range is abnormal;
When the described modulator-demodulator that described preset times occurred in described preset time range is abnormal, described application processor closes described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Described application processor opens described second protocol stack, and uses described second protocol stack to carry out network registry;
When described network registry success, the current location information of mobile terminal described in described application processor record.
2. method according to claim 1, is characterized in that, described method also comprises:
When described network registry failure, described application processor recovers the default protocol stack switch state in described multiple protocol stack of described modulator-demodulator support, and/or the described modulator-demodulator that resets.
3. method as claimed in claim 2, it is characterized in that, after the current location information of mobile terminal described in described application processor record, described method also comprises:
Whether the positional information that described application processor detects described mobile terminal changes;
If so, then described application processor performs the default protocol stack switch state in described multiple protocol stack of the described support of described recovery, and/or the step of the described modulator-demodulator that resets.
4. method as claimed in claim 2 or claim 3, it is characterized in that, described application processor recovers the default protocol stack switch state in described multiple protocol stack of described support, and/or after the described modulator-demodulator that resets, described method also comprises:
Whether the abnormal cause of the modulator-demodulator exception that described application processor judges in described mobile terminal reports;
When described modulator-demodulator exception abnormal cause not on give the correct time, described application processor obtains the abnormal cause of described modulator-demodulator exception and described modulator-demodulator abnormal log;
The abnormal cause of described modulator-demodulator exception and described modulator-demodulator abnormal log are reported network and/or show the abnormal cause of described modulator-demodulator exception by described application processor.
5. method according to claim 4, is characterized in that, the abnormal cause of described modulator-demodulator exception and described modulator-demodulator abnormal log are reported network by described application processor, comprising:
The abnormal cause of the described modulator-demodulator exception of record and described modulator-demodulator abnormal log also, after establishing a communications link with described wifi hotspot, are reported described network side by described wifi hotspot by the wifi hotspot around described application processor scanning.
6. an application processor, is characterized in that, comprising:
First judging unit, during for the modulator-demodulator exception in mobile terminal being detected, judges that whether the public module in described modulator-demodulator is abnormal;
Determining unit, for when described first judging unit judged result is no, determines that the protocol stack in described modulator-demodulator is abnormal;
First acquiring unit, during for determining the protocol stack exception in described modulator-demodulator when described determining unit, obtains the first protocol stack of the current use of described modulator-demodulator;
Second judging unit, abnormal for judging the described modulator-demodulator whether preset times occurred in preset time range;
Selected cell, for when described second judging unit judged result is for being, closes described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Registering unit, for opening described second protocol stack, and uses described second protocol stack to carry out network registry;
Record cell, for when described network registry is successful, records the current location information of described mobile terminal.
7. application processor according to claim 6, is characterized in that, described application processor also comprises:
Recovery unit, for when described network registry is failed, recovers the default protocol stack switch state in described multiple protocol stack of described modulator-demodulator support, and/or the described modulator-demodulator that resets.
8. application processor according to claim 7, is characterized in that, described application processor also comprises:
Whether detecting unit, change for the positional information detecting described mobile terminal;
Described recovery unit, also for when the positional information that described detecting unit detects described mobile terminal changes, recovers the default protocol stack switch state in described multiple protocol stack of described support, and/or the described modulator-demodulator that resets.
9. the application processor according to claim 7 or 8, is characterized in that, described application processor also comprises:
3rd judging unit, after returning to described initial switch state for the current switch states corresponding when each protocol stack in described multiple protocol stack that described modulator-demodulator is supported by described recovery unit, judge whether the abnormal cause of the modulator-demodulator exception in described mobile terminal reports;
Second acquisition unit, for when described 3rd judging unit judged result is no, obtains the abnormal cause of described modulator-demodulator exception and described modulator-demodulator abnormal log;
Report unit, report network for the abnormal cause of described modulator-demodulator exception that described second acquisition unit is obtained and described modulator-demodulator abnormal log and/or show the abnormal cause of described modulator-demodulator exception.
10. application processor according to claim 9, is characterized in that, described in report unit the mode that the abnormal cause of described modulator-demodulator exception and described modulator-demodulator abnormal log report network to be specially:
Describedly report the wifi hotspot around unit scan and after establishing a communications link with described wifi hotspot, by described wifi hotspot, the abnormal cause of the described modulator-demodulator exception of record and described modulator-demodulator abnormal log are reported described network side.
11. 1 kinds of mobile terminals, is characterized in that, comprise the application processor as described in claim 6 ~ 10 any one.
CN201510828487.7A 2015-11-24 2015-11-24 Network communicating function abnormal processing method, application processor and mobile terminal Active CN105357050B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810220798.9A CN108390789B (en) 2015-11-24 2015-11-24 Processing method, application processor and the mobile terminal of network communicating function exception
CN201510828487.7A CN105357050B (en) 2015-11-24 2015-11-24 Network communicating function abnormal processing method, application processor and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510828487.7A CN105357050B (en) 2015-11-24 2015-11-24 Network communicating function abnormal processing method, application processor and mobile terminal

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201810220798.9A Division CN108390789B (en) 2015-11-24 2015-11-24 Processing method, application processor and the mobile terminal of network communicating function exception

Publications (2)

Publication Number Publication Date
CN105357050A true CN105357050A (en) 2016-02-24
CN105357050B CN105357050B (en) 2018-03-27

Family

ID=55332926

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810220798.9A Active CN108390789B (en) 2015-11-24 2015-11-24 Processing method, application processor and the mobile terminal of network communicating function exception
CN201510828487.7A Active CN105357050B (en) 2015-11-24 2015-11-24 Network communicating function abnormal processing method, application processor and mobile terminal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810220798.9A Active CN108390789B (en) 2015-11-24 2015-11-24 Processing method, application processor and the mobile terminal of network communicating function exception

Country Status (1)

Country Link
CN (2) CN108390789B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106255091A (en) * 2016-08-22 2016-12-21 努比亚技术有限公司 Changing method and device
WO2018107892A1 (en) * 2016-12-13 2018-06-21 广东欧珀移动通信有限公司 Network-communication function exception processing method and processing apparatus, terminal device, and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102317A (en) * 2007-06-29 2008-01-09 中兴通讯股份有限公司 Multi-protocol stack connection device and method
US20100165940A1 (en) * 2008-12-29 2010-07-01 Interdigital Patent Holdings, Inc. Method and apparatus for tracking area update procedure and eps bearer contexts representation
CN102413529A (en) * 2011-11-28 2012-04-11 青岛海信移动通信技术股份有限公司 Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal
CN102612136A (en) * 2012-03-28 2012-07-25 华为技术有限公司 Method and device for restarting communication in case of registration failure of identification SIM (subscriber identity module) card of customer
CN103841615A (en) * 2012-11-22 2014-06-04 三星电子株式会社 Apparatus and method for selecting network in communication system
CN104081826A (en) * 2012-03-16 2014-10-01 Lg电子株式会社 Method and apparatus for processing NAS signaling request in wireless communication system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611750A (en) * 2012-03-15 2012-07-25 中兴通讯股份有限公司 Double-protocol-stack accessing method and system
CN103516546A (en) * 2013-08-19 2014-01-15 北京佳讯飞鸿电气股份有限公司 IP terminal device management system and method for double-center networking

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102317A (en) * 2007-06-29 2008-01-09 中兴通讯股份有限公司 Multi-protocol stack connection device and method
US20100165940A1 (en) * 2008-12-29 2010-07-01 Interdigital Patent Holdings, Inc. Method and apparatus for tracking area update procedure and eps bearer contexts representation
CN102413529A (en) * 2011-11-28 2012-04-11 青岛海信移动通信技术股份有限公司 Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal
CN104081826A (en) * 2012-03-16 2014-10-01 Lg电子株式会社 Method and apparatus for processing NAS signaling request in wireless communication system
CN102612136A (en) * 2012-03-28 2012-07-25 华为技术有限公司 Method and device for restarting communication in case of registration failure of identification SIM (subscriber identity module) card of customer
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
CN106255091A (en) * 2016-08-22 2016-12-21 努比亚技术有限公司 Changing method and device
WO2018107892A1 (en) * 2016-12-13 2018-06-21 广东欧珀移动通信有限公司 Network-communication function exception processing method and processing apparatus, terminal device, and computer storage medium

Also Published As

Publication number Publication date
CN108390789B (en) 2019-09-06
CN105357050B (en) 2018-03-27
CN108390789A (en) 2018-08-10

Similar Documents

Publication Publication Date Title
CN105376773A (en) Network communication function anomaly processing method, application processor and mobile terminal
CN105357052A (en) Network communication functional abnormity processing method, application processor and mobile terminal
CN105357053B (en) Processing method, application processor and the user terminal of network communicating function exception
CN105376776A (en) Processing method of network communication function abnormity, application processor and mobile terminal
CN105376785A (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN108601018B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN105357049A (en) Network communication functional abnormity processing method, application processor and mobile terminal
CN108738054B (en) Processing method for network communication function abnormity, modem, mobile terminal and storage medium
CN108419258B (en) Processing method for network communication function abnormity, modem and mobile terminal
CN105338663B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105357050A (en) Network communication functional abnormity processing method, application processor and mobile terminal
CN105407461A (en) Processing method for network communication function abnormality, application processor and mobile terminal
CN105491604B (en) Processing method, modem and the user terminal of network communicating function exception
CN105515824A (en) Processing method for network communication function abnormity and modem
CN105490838B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105491610A (en) Network communication function abnormality processing method, modem and mobile terminal
CN105376787A (en) Method for processing network communication function abnormity and application processor
CN108684054B (en) Processing method for network communication function abnormity, modem and mobile terminal
CN105376782A (en) Method for handling network communication function exception, modulator-demodulator and mobile terminal
CN105357703A (en) Network communication functional abnormity processing method, application processor and mobile terminal
CN105517029A (en) Processing method for network communication function abnormity, application processor, and mobile terminal
CN105472648B (en) Network communicating function abnormal processing method, modem and mobile terminal
CN105376873A (en) Method for handling network communication function exception, modulator-demodulator and mobile terminal
CN105491605A (en) Network communication function abnormality processing method, modulator-demodulator and mobile terminal
CN105491608A (en) Processing method for network communication function exception, application processor and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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