CN105357704A - 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
CN105357704A
CN105357704A CN201510830348.8A CN201510830348A CN105357704A CN 105357704 A CN105357704 A CN 105357704A CN 201510830348 A CN201510830348 A CN 201510830348A CN 105357704 A CN105357704 A CN 105357704A
Authority
CN
China
Prior art keywords
protocol stack
application processor
demodulator
network
modulator
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
CN201510830348.8A
Other languages
Chinese (zh)
Other versions
CN105357704B (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 CN201510830348.8A priority Critical patent/CN105357704B/en
Publication of CN105357704A publication Critical patent/CN105357704A/en
Application granted granted Critical
Publication of CN105357704B publication Critical patent/CN105357704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Abstract

The embodiment of the invention discloses a network communication functional abnormity processing method. The network communication functional abnormity processing method comprises: acquiring the first protocol stack used by a modem at present after an application processor receives the abnormal indication information sent from the modem; 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; if network registration is successful, recording the current location information by the application processor; and if network registration fails, recovering the on/off state of the default protocol stack in the plurality of protocol stacks or restoring the modem by the application processor at the same time. The embodiment of the invention also discloses an application processor and a mobile terminal. The network communication functional abnormity processing method, the application processor and the mobile terminal can quickly detect and restore from abnormity of network.

Description

The processing method of network communicating function exception, application processor and mobile terminal
Technical field
The present invention relates to the communications field, particularly relate 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 type of the communication standard that mobile phone is supported gets more and more, and such as: the communication standard of 2G, 3G and 4G of different operators supported by a mobile phone simultaneously, saves the inconvenience changing mobile phone.The high speed development of mobile Internet makes data service occupy absolute proportion, thus the function and position of modulator-demodulator in mobile phone becomes more and more important, modulator-demodulator be used for data to be sent being converted to radiofrequency signal and device signal is converted to pending data, process Access Layer (AS) and Non-Access Stratum (NAS) signaling and carry out interface etc. with AP processor.Mobile network environment residing for mobile phone is very complicated, and mobile phone often can switch between different communication standards, and in the process that communication standard switches, often exception can occur, mobile phone cannot Networked communication, such as channel-decoding failure.Cannot the exception of Networked communication in order to solve, solution conventional is at present: when mobile phone moves to the new band of position, to network side launch position update request, network side is configured mobile phone again, recovers the configuration parameter of modulator-demodulator; Or user finds can not after Networked communication, manually to force to restart the configuration parameter recovering or arrange modulator-demodulator to mobile terminal for a long time.But the time that two schemes expends is all long, user is difficult to stand.
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 solve in prior art occur abnormal cannot Networked communication when, cannot automatically attempt recovering or recovering communication service long problem consuming time.
Embodiments provide a kind of processing method of network communicating function exception, comprising:
After the abnormal Indication message that application processor receiving modem sends, obtain the first protocol stack of the current use of described modulator-demodulator; Wherein, the network communicating function unexpected message that modulator-demodulator detects channel-decoding failure is carried in described abnormal Indication message;
Described application processor closes described first protocol stack, and from the second protocol stack of the selection multiple protocol stacks that described modulator-demodulator is supported except described first protocol stack;
Described application processor opens described second protocol stack, and uses described second protocol stack to carry out network registry;
If network registry success, the positional information that described application processor record is current;
If network registry failure, the default protocol stack switch state in the described multiple protocol stack of described application processor recovery or described application processor recover the default protocol stack switch state in described multiple protocol stack and the described modulator-demodulator that simultaneously resets.
Wherein, described channel-decoding unsuccessfully comprises: common signal channel is decoded unsuccessfully, or Broadcast broadcast channel is decoded unsuccessfully.
Wherein, if the success of described network registry, after recording current positional information, described method also comprises:
When position changes, recover the default protocol stack switch state in multiple protocol stacks of described support or recover default protocol stack switch state in multiple protocol stacks of described support and the described modulator-demodulator that simultaneously resets.
Wherein, described method also comprises:
If the abnormal cause of described network communicating function exception does not report, obtain abnormal cause and the daily record of described network communicating function exception;
Described abnormal cause, described current positional information and daily record are reported network side, and/or shows described abnormal cause.
Wherein, describedly described abnormal cause, described current positional information and daily record reported network side comprise:
Described abnormal cause, described current positional information and daily record also, after establishing a communications link with wifi hotspot, are reported network side by the wifi hotspot established a communications link by the wifi hotspot around scanning.
The embodiment of the present invention additionally provides a kind of application processor, comprising:
Determination module, for after the abnormal Indication message that receiving modem sends, obtains the first protocol stack of the current use of described modulator-demodulator; Wherein, the network communicating function unexpected message that modulator-demodulator detects channel-decoding failure is carried in described abnormal Indication message;
Select module, for closing described first protocol stack, and from the second protocol stack of the selection multiple protocol stacks that described modulator-demodulator is supported except described first protocol stack;
Registering modules, for opening described second protocol stack, and uses described second protocol stack to carry out network registry;
Logging modle, if for network registry success, record current positional information.
Wherein, described channel-decoding unsuccessfully comprises: common signal channel is decoded unsuccessfully, or Broadcast broadcast channel is decoded unsuccessfully.
Wherein, described application processor also comprises:
Recover module, for when network registry is failed, or when after network registry success and position changes time, recover the default protocol stack switch state in multiple protocol stacks of described support or recover default protocol stack switch state in multiple protocol stacks of described support and the described modulator-demodulator that simultaneously resets.
Wherein, described application processor also comprises:
Reporting module, if do not report for the abnormal cause of described network communicating function exception, obtains abnormal cause and the daily record of described network communicating function exception, and described abnormal cause, described current positional information and daily record is reported network side.
The embodiment of the present invention provides a kind of mobile terminal, comprises the application processor described in above-mentioned any one.
Implement the embodiment of the present invention, there is following beneficial effect:
Application processor receives the abnormal Indication message sent when modulator-demodulator detects channel-decoding failure, close the protocol stack of the current use of modulator-demodulator, other protocol stacks of the protocol stack of current use are selected from multiple protocol stacks of modulator-demodulator support, open other protocol stacks and use other protocol stack registered networks, when registered network success, record current positional information.Be detected fast when modulator-demodulator cannot normally work like this, and make modulator-demodulator automatically attempt recovering normal by the mode of network registry, avoid forcing restarting the consuming time long problem that mobile phone or location updating cause, decrease the time of network disaster recovery.
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 embodiment schematic flow sheet of the processing method of a kind of network communicating function exception that the embodiment of the present invention provides;
Fig. 2 is another embodiment schematic flow sheet of the processing method of a kind of network communicating function exception that the embodiment of the present invention provides;
Fig. 3 is the another embodiment schematic flow sheet of the processing method of a kind of network communicating function exception that the embodiment of the present invention provides;
Fig. 4 is the example structure schematic diagram of a kind of application processor that the embodiment of the present invention provides;
Fig. 5 is another example structure schematic diagram of a kind of application processor that the embodiment of the present invention provides;
Fig. 6 is another example structure schematic diagram of a kind of application processor that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, the schematic flow sheet of the processing method of a kind of channel-decoding failure provided for the embodiment of the present invention, in embodiments of the present invention, described method comprises:
After the abnormal Indication message that S101, described application processor receiving modem send, obtain the first protocol stack of the current use of described modulator-demodulator.
Concrete, application processor full name is AP (ApplicationProcessor, application processor, be called for short AP), for expanding the very lagre scale integrated circuit (VLSIC) of audio frequency and video function and special purpose interface on the basis of low power consumption CPU, be the vitals in smart mobile phone, the general and baseband processor of application processor is independently two chips.Modulator-demodulator is used for baseband signal to be converted to radiofrequency signal, and various protocols stack supported by modulator-demodulator.When modulator-demodulator occurs abnormal, the various protocols stack supported by it carries out network registry, to recover data service.After modulator-demodulator detects that generation network communicating function is abnormal, modulator-demodulator can collapse, and normally cannot carry out data processing, cause user could not get on to the Net.In order to recover proper network, modulator-demodulator then needs to judge the reason of network communicating function exception, and then can carry out network restoration according to concrete reason.Concrete, modulator-demodulator can when detecting that network communicating function is abnormal, judge to cause the reason of network communicating function exception whether to be channel-decoding failure, if abnormal Indication message then can be sent to application processor, inform that application processor detects channel-decoding failure by above-mentioned abnormal Indication message.Application processor then can be repaired network after being channel-decoding failure by the reason that the abnormal Indication message that modulator-demodulator sends determines network communicating function exception.
It should be noted that, modulator-demodulator can be integrated in the inside of application processor AP, and also can be a chip independent of application processor, the present invention be restricted.
S102, described application processor close described first protocol stack, and remove the second protocol stack of described first protocol stack from the selection multiple protocol stacks that described modulator-demodulator is supported.
In the execution mode that some are feasible, 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, TD-LTE protocol stack, FDD-LTE protocol stack etc., comprise again multiple sub-protocol stack below each communication standard protocol stack, repeat no more herein.In specific implementation, when modulator-demodulator determines to cause the reason of network communicating function exception to be channel-decoding failure, the protocol stack (i.e. the first protocol stack) of its current use can be determined.
In the execution mode that some are feasible, the first protocol stack is the protocol stack causing channel-decoding failure, and application processor needs closedown first protocol stack, prevents channel-decoding failure from repeatedly occurring.Application processor selects one except the second protocol stack of the first protocol stack from multiple protocol stacks that modulator-demodulator is supported.
S103, described application processor open described second protocol stack, and use described second protocol stack to carry out network registry.
In the execution mode that some are feasible, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, application processor opens the second protocol stack selected, second protocol stack is used to carry out network registry, the process of network registry is: 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 is converted to connected state by Idle state; If network side does not allow mobile terminal to access, return error message to mobile terminal, represent network registry failure.
If the success of S104 network registry, the positional information that described application processor record is current.
In the execution mode that some are feasible, positional information represents mobile terminal logical place in the mobile communication network, and positional information can be cell ID or regional location code or position tracing area etc., and the present invention is not restricted.If use the success of second protocol stack registered network, record current positional information.
If the failure of S105 network registry, the default protocol stack switch state in the described multiple protocol stack of described application processor recovery or the described modulator-demodulator that simultaneously resets.
In the execution mode that some are feasible, default protocol stack is the protocol stack pre-set, and default protocol stack is one in multiple protocol stacks of modulator-demodulator support.If use the failure of second protocol stack registered network, the default protocol stack that unlatching pre-sets also carries out reset operation to modulator-demodulator, and after reset operation, modulator-demodulator uses default protocol stack to carry out work.
Implement embodiments of the invention, application processor receives the abnormal Indication message sent when modulator-demodulator detects channel-decoding failure, close the protocol stack of the current use of modulator-demodulator, other protocol stacks of the protocol stack of current use are selected from multiple protocol stacks of modulator-demodulator support, open other protocol stacks and use other protocol stack registered networks, on registering during network, record current positional information.Be detected fast when modulator-demodulator cannot normally work like this, and make modem recovery normal by the mode of network registry, avoid forcing restarting the consuming time long problem that mobile phone or location updating cause, decrease the time of network disaster recovery.
See Fig. 2, the schematic flow sheet of the processing method of a kind of network communicating function exception provided for the embodiment of the present invention, in embodiments of the present invention, described method comprises:
Whether S201, modulator-demodulator detect channel-decoding failure.
Concrete, modulator-demodulator is arranged in mobile phone, can be encapsulated as in application processor AP, or independent of application processor, the present invention is not restricted.Modulator-demodulator is used for the mutual conversion between baseband signal and radiofrequency signal, is mainly used in data service.If there is channel-decoding failure, perform S202, if do not make a mistake, perform S201.When there is channel-decoding failure, the application program that modulator-demodulator is corresponding cannot normally be run, and even cause program crashing, because modulator-demodulator is mainly used in data service, directly cause user cannot accessing Internet.
S202, described modulator-demodulator indicate application processor processes, and this is abnormal.
Concrete, the method of this exception of modulator-demodulator instruction application processor processes can be: modulator-demodulator sends abnormal Indication message to application processor, application processor receives abnormal Indication message and shows that modulator-demodulator detects channel-decoding failure, and now application processor needs to process this exception.Wherein, form the present invention of abnormal Indication message is not restricted, and can utilize the mode of extended field in existing message to realize or construct new message to realize.
S203, described application processor obtain the first protocol stack of the current use of described modulator-demodulator.
Concrete, protocol stack represents the summation of the various protocols stack that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TD-LTE protocol stack, FDD-LTE protocol stack etc., multiple sub-protocol stack is comprised again, such as: TD-LTE protocol stack comprises again physical layer protocol stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stack, PDCP protocol stack and NAS protocol stack etc. below each communication standard protocol stack.Repeat no more herein.The method that application processor obtains the first protocol stack of the current use of modulator-demodulator can be: in application processor inquiry modulator-demodulator, the state flag bit of presentation protocol stack obtains the first protocol stack of current use, such as flag bit 1 represents that corresponding protocol stack is opening, and flag bit 0 represents that corresponding protocol stack is closed condition.
S204, described application processor close described first protocol stack, and select the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported.
Concrete, modulator-demodulator uses the first protocol stack generation channel-decoding failure, and in order to prevent channel-decoding failure from repeatedly occurring, application processor needs closedown first protocol stack.Then, select the second protocol stack except the first protocol stack in multiple protocol stacks that application processor determination 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.
S205, described application processor open described second protocol stack, and use described second protocol stack to carry out network registry.
Concrete, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, application processor opens the second protocol stack selected, second protocol stack is used to carry out network registry, the process registered of such as LTE network as: move to network side and initiate attachment request (attachrequest), 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 or error message to mobile terminal, represent network registry failure.
Whether S206, network registry be successful.
Concrete, if application processor uses network on second protocol stack successful registration, perform S207, if application processor uses network in the unsuccessful registration of second protocol stack, perform S208.
The positional information that S207, described application processor record are current, then performs S211, and starts the concurrent process of S209.
Concrete, positional information represents the mark of the logical place planned in advance in mobile communications network, and such as, positional information comprises cell ID or location area code etc.
S208, described application processor recover the default protocol stack switch state in multiple protocol stacks of described support or the described modulator-demodulator that simultaneously resets.
Concrete, application processor uses network in the unsuccessful registration of second protocol stack, application processor determination default protocol stack, according to default protocol stack switch state known in advance, recovers default protocol stack switch state or carries out reset operation to adjustment demodulator simultaneously.Default protocol stack is a protocol stack pre-set in multiple protocol stacks of modulator-demodulator support, the protocol stack that the protocol stack that can arrange same acquiescence for all regions herein uses as modulator-demodulator initial selected, also can arrange different default protocol stacks respectively for single area or the multiple areas being in a certain region, the embodiment of the present invention is not limited in any way.After carrying out reset operation, application processor uses default protocol stack to carry out network registry, after network registry success, uses default protocol stack to carry out work.
S209, judge whether positional information changes, if the determination result is YES, then perform step S210.
Concrete, application processor periodically obtains positional information, current acquisition positional information and on the positional information that once obtains compare change time, perform S210, otherwise continue acquisition 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.
S210, recover the default protocol stack switch state in multiple protocol stacks of described support or the described modulator-demodulator that simultaneously resets.
Whether the abnormal cause of S211, network communicating function exception reports.
If the abnormal cause of network communicating function exception reported, then performed S214, otherwise, perform S212.
S212, the abnormal cause obtaining described network communicating function exception and daily record.
Wherein, daily record represents the operation information of modem access internal memory, and operation information comprises: operational order, operating time and return results.
S213, described abnormal cause, described current positional information and daily record are reported network side, and/or show described abnormal cause.
Concrete, abnormal cause, current positional information and daily record are reported network side by application processor, wherein, can when on mobile terminal connects when wifi hotspot, by wifi hotspot by above-mentioned information reporting to network side, to save flow.Or abnormal cause also can be presented on the display screen of mobile terminal by application processor, checks for user.
S214, this abnormal ending of described application processor processes.
Implement embodiments of the invention, application processor receives the abnormal Indication message sent when modulator-demodulator detects channel-decoding failure, close the protocol stack of current use, other protocol stacks of the protocol stack of current use are selected from the multiple protocol stacks supported, open other protocol stacks and use other protocol stack registered networks, when registered network success, record current positional information, and when change in location and when network registry failure, recover the default protocol stack switch state in multiple protocol stack or restart modulator-demodulator simultaneously.Cannot be detected fast during proper communication at modulator-demodulator like this, 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, decrease the time of network disaster recovery.
See Fig. 3, another schematic flow sheet of the processing method of a kind of network communicating function exception provided for the embodiment of the present invention, in embodiments of the present invention, described method comprises:
Whether S301, modulator-demodulator detect channel-decoding failure.
Concrete, modulator-demodulator is arranged in mobile phone, can be encapsulated as in application processor AP, or independent of application processor, the present invention is not restricted.Modulator-demodulator is used for the mutual conversion between baseband signal and radiofrequency signal, is mainly used in data service.If there is channel-decoding failure, perform S302, if do not make a mistake, continue to perform S301.When there is channel-decoding failure, the application program that modulator-demodulator is corresponding cannot normally be run, and even cause program crashing, because modulator-demodulator is mainly used in data service, directly cause user cannot accessing Internet.
S302, described modulator-demodulator indicate application processor processes, and this is abnormal.
Concrete, the method of this exception of modulator-demodulator instruction application processor processes can be: modulator-demodulator sends abnormal Indication message to application processor, application processor receives abnormal Indication message and shows that modulator-demodulator detects channel-decoding failure, and now application processor needs to process this exception.Wherein, form the present invention of abnormal Indication message is not restricted, and can utilize the mode of extended field in existing message to realize or construct new message to realize.
S303, described application processor obtain the first protocol stack of the current use of described modulator-demodulator.
Concrete, protocol stack represents the summation of the various protocols stack that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TD-LTE protocol stack, FDD-LTE protocol stack etc., multiple sub-protocol stack is comprised again, such as: TD-LTE protocol stack comprises again physical layer protocol stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stack, PDCP protocol stack and NAS protocol stack etc. below each communication standard protocol stack.Repeat no more herein.The method that application processor obtains the first protocol stack of the current use of modulator-demodulator can be: in application processor inquiry modulator-demodulator, the state flag bit of presentation protocol stack obtains the first protocol stack of current use, such as flag bit 1 represents that corresponding protocol stack is opening, and flag bit 0 represents that corresponding protocol stack is closed condition.
S304, described application processor close described first protocol stack, and select the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported.
Concrete, modulator-demodulator uses the first protocol stack generation channel-decoding failure, and in order to prevent channel-decoding failure from repeatedly occurring, application processor needs closedown first protocol stack.Then, select the second protocol stack except the first protocol stack in multiple protocol stacks that application processor determination 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.
S305, described application processor open described second protocol stack, and use described second protocol stack to carry out network registry.
Concrete, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, application processor opens the second protocol stack selected, and use second protocol stack to carry out network registry, the process of network registry is: move to network side and initiate attachment request (attachrequest), if network side allows mobile terminal access, return attachment response (attachaccept) to mobile terminal, represent network registry success, mobile terminal is converted to connected state by Idle state; If network side does not allow mobile terminal to access, return error message to mobile terminal, represent network registry failure.
If the success of S306 network registry, the positional information that described application processor record is current, and perform S309.
Concrete, positional information represents the mark of the logical place planned in advance in mobile communications network, and such as, positional information comprises cell ID or location area code etc.
S307, judge whether positional information changes.
Concrete, application processor periodically obtains positional information, current acquisition positional information and on the positional information that once obtains compare change time, perform S308, otherwise continue acquisition 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.
S308, protocol stack return to the on off state occurred before channel-decoding failure.
S309, judge whether the abnormal cause of network communicating function exception reports.
If the abnormal cause of network communicating function exception did not also report, then performed S310.
S310, the abnormal cause obtaining described network communicating function exception and daily record.
Wherein, daily record represents the operation information of modem access internal memory, and operation information comprises: operational order, operating time and return results.
S311, described abnormal cause, described current positional information and daily record are reported network side, and/or show described abnormal cause.
Concrete, abnormal cause, current positional information and daily record are reported network side by application processor, wherein, can when on mobile terminal connects when wifi hotspot, by wifi hotspot by above-mentioned information reporting to network side, to save flow.Or abnormal cause also can be presented on the display screen of mobile terminal by application processor, checks for user.
It should be noted that, S307 and S309 after S306 can be executed in parallel.
Implement embodiments of the invention, application processor receives the abnormal Indication message sent when modulator-demodulator detects channel-decoding failure, close the protocol stack of current use, other protocol stacks of the protocol stack of current use are selected from the multiple protocol stacks supported, open other protocol stacks and use other protocol stack registered networks, when registered network success, record current positional information, and when change in location and when network registry failure, recover the default protocol stack switch state in multiple protocol stack or restart modulator-demodulator simultaneously.Cannot be detected fast during proper communication at modulator-demodulator like this, 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, decrease the time of network disaster recovery.
See Fig. 4, be the example structure schematic diagram of a kind of application processor that the embodiment of the present invention provides, in embodiments of the present invention, described application processor comprises: determination module 401, selection module 402, Registering modules 403, logging modle 404.
Determination module 401, for after the abnormal Indication message that receiving modem sends, obtains the first protocol stack of the current use of described modulator-demodulator; Wherein, the network communicating function unexpected message that modulator-demodulator detects channel-decoding failure is carried in described abnormal Indication message.
Select module 402, for closing described first protocol stack, and from the second protocol stack of the selection multiple protocol stacks that described modulator-demodulator is supported except described first protocol stack.
Registering modules 403, for opening described second protocol stack, and uses described second protocol stack to carry out network registry.
Logging modle 404, if for network registry success, record current positional information.
The embodiment of the present invention and embodiment of the method one are based on same design, and its technique effect brought is also identical, and concrete principle please refer to the description of embodiment of the method one, repeats no more herein.
See Fig. 5, be another example structure schematic diagram of a kind of application processor that the embodiment of the present invention provides, in embodiments of the present invention, described application processor comprises: determination module 401, selection module 402, Registering modules 403, logging modle 404.
In the execution mode that some are feasible, described in the embodiment of the present invention, application processor also comprises:
Recover module 407, for when network registry is failed, or when after network registry success and position changes time, recover the default protocol stack switch state in multiple protocol stacks of described support or recover default protocol stack switch state in multiple protocol stacks of described support and the described modulator-demodulator that simultaneously resets.
In the execution mode that some are feasible, described in the embodiment of the present invention, application processor also comprises:
Reporting module 408, if do not report for the abnormal cause of described network communicating function exception, obtains abnormal cause and the daily record of described network communicating function exception, and described abnormal cause, described current positional information and daily record is reported network side.
Optionally, reporting module 408 embody rule is used for:
Described abnormal cause, described current positional information and daily record also, after establishing a communications link with wifi hotspot, are reported network side by the wifi hotspot established a communications link by the wifi hotspot around scanning.
The embodiment of the present invention and embodiment of the method two and three are based on same design, and its technique effect brought is also identical, and concrete principle please refer to the description of embodiment of the method two and three, repeats no more herein.
See Fig. 6, for another example structure schematic diagram of a kind of application processor of the embodiment of the present invention, in this enforcement, application processor is for realizing the processing method of the network communicating function exception described in Fig. 1, application processor comprises CPU501, memory 502 and communication interface 503, the quantity of the CPU501 in application processor can be one or more, and Fig. 5 is for a CPU.In some embodiments of the present invention, CPU501, memory 502 are connected, for bus connection in Fig. 5 by bus or other modes with communication interface 503.
Wherein, in memory 502, store batch processing code, and CPU501 is for calling the program code stored in memory 502, for performing following operation:
After the abnormal Indication message that receiving modem sends, obtain the first protocol stack of the current use of described modulator-demodulator; Wherein, the network communicating function unexpected message that modulator-demodulator detects channel-decoding failure is carried in described abnormal Indication message;
Close described first protocol stack, and from the second protocol stack of the selection multiple protocol stacks that described modulator-demodulator is supported except described first protocol stack;
Open described second protocol stack, and use described second protocol stack to carry out network registry;
If network registry success, records current positional information.
If network registry failure, recovers the default protocol stack switch state in described multiple protocol stack or the described modulator-demodulator that resets simultaneously.
In some embodiments of the invention, if CPU501 performs described network registry success, after recording current positional information, also for performing:
When position changes, recover the default protocol stack switch state in multiple protocol stacks of described support or recover default protocol stack switch state in multiple protocol stacks of described support and the described modulator-demodulator that simultaneously resets.
In some embodiments of the invention, CPU501 perform described current switch states corresponding for each protocol stack in multiple protocol stacks of described support is returned to described initial switch state after, also for perform:
If the abnormal cause of described network communicating function exception does not report, obtain abnormal cause and the daily record of described network communicating function exception;
Described abnormal cause, described current positional information and daily record are reported network side.
In some embodiments of the invention, if CPU501 performs described network registry success, the positional information that described application processor record is current; If or described network registry is failed, after described application processor recovers the default protocol stack in multiple protocol stacks of described support or carries out reset operation to described modulator-demodulator, also for performing:
If the abnormal cause of described network communicating function exception does not report, obtain abnormal cause and the daily record of described network communicating function exception;
Described abnormal cause, described current positional information and daily record are reported network side.
In some embodiments of the invention, if the success of described network registry, after the positional information that described application processor record is current, also comprise:
If the abnormal cause of described network communicating function exception does not report, obtain abnormal cause and the daily record of described network communicating function exception;
Described abnormal cause, described current positional information and daily record are reported network side and/or show described abnormal cause.
In some embodiments of the invention, CPU501 performs and describedly described abnormal cause, described current positional information and daily record are reported network side comprises:
Described abnormal cause, described current positional information and daily record also, after establishing a communications link with wifi hotspot, are reported network side by the wifi hotspot established a communications link by the wifi hotspot around scanning.
In specific implementation, above-mentioned application processor performs the implementation in above-mentioned first embodiment to the 3rd embodiment described by each step by its built-in CPU, communication interface and memory, does not repeat them here.
The embodiment of the present invention additionally provides a kind of mobile terminal comprising above-mentioned application processor, and mobile terminal includes but not limited to carry or the mobile terminal of other operating system, such as mobile phone.Also can be other mobile terminal, such as there is the laptop computer of Touch sensitive surface (such as, touch-screen display and/or Trackpad) or panel computer or desktop computer.
In the following discussion, a kind of mobile terminal comprising display and Touch sensitive surface is described.But should be appreciated that mobile terminal can comprise other physical user-interface device one or more, such as physical keyboard, mouse and/or action bars.
Mobile terminal supports multiple application program usually, one or more in such as following: picture application program, present application program, word-processing application, webpage creates application program, dish editing application program, spreadsheet applications, game application, telephony application, videoconference application, email application, instant message application program, temper support application program, photograph management application program, digital camera applications program, digital video camcorder application program, network browsing application program, digital music player application, and/or video frequency player application program.
The various application programs that can perform on mobile terminals can use at least one physical user-interface device shared, such as Touch sensitive surface.One or more functions of Touch sensitive surface and display corresponding information on mobile terminals and/or can be changed to lower a kind of application program and/or adjusted in corresponding application programs and/or change from a kind of application program adjustment.Like this, the shared physical structure (such as Touch sensitive surface) of mobile terminal can to utilize for user clearly user interface directly perceived to support various application program.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (10)

1. a processing method for network communicating function exception, is characterized in that, comprising:
After the abnormal Indication message that application processor receiving modem sends, obtain the first protocol stack of the current use of described modulator-demodulator; Wherein, the network communicating function unexpected message that modulator-demodulator detects channel-decoding failure is carried in described abnormal Indication message;
Described application processor closes described first protocol stack, and from the second protocol stack of the selection multiple protocol stacks that described modulator-demodulator is supported except described first protocol stack;
Described application processor opens described second protocol stack, and uses described second protocol stack to carry out network registry;
If network registry success, the positional information that described application processor record is current;
If network registry failure, the default protocol stack switch state in the described multiple protocol stack of described application processor recovery or described application processor recover the default protocol stack switch state in described multiple protocol stack and the described modulator-demodulator that simultaneously resets.
2. the method for claim 1, is characterized in that, described channel-decoding unsuccessfully comprises: common signal channel is decoded unsuccessfully, or Broadcast broadcast channel is decoded unsuccessfully.
3. method as claimed in claim 1 or 2, is characterized in that, if the success of described network registry, after recording current positional information, described method also comprises:
When position changes, recover the default protocol stack switch state in multiple protocol stacks of described support or recover default protocol stack switch state in multiple protocol stacks of described support and the described modulator-demodulator that simultaneously resets.
4. method as claimed in claim 3, it is characterized in that, described method also comprises:
If the abnormal cause of described network communicating function exception does not report, obtain abnormal cause and the daily record of described network communicating function exception;
Described abnormal cause, described current positional information and daily record are reported network side, and/or shows described abnormal cause.
5. method as claimed in claim 4, is characterized in that, describedly described abnormal cause, described current positional information and daily record are reported network side comprises:
Described abnormal cause, described current positional information and daily record also, after establishing a communications link with wifi hotspot, are reported network side by the wifi hotspot established a communications link by the wifi hotspot around scanning.
6. an application processor, is characterized in that, comprising:
Determination module, for after the abnormal Indication message that receiving modem sends, obtains the first protocol stack of the current use of described modulator-demodulator; Wherein, the network communicating function unexpected message that modulator-demodulator detects channel-decoding failure is carried in described abnormal Indication message;
Select module, for closing described first protocol stack, and from the second protocol stack of the selection multiple protocol stacks that described modulator-demodulator is supported except described first protocol stack;
Registering modules, for opening described second protocol stack, and uses described second protocol stack to carry out network registry;
Logging modle, if for network registry success, record current positional information.
7. application processor as claimed in claim 6, it is characterized in that, described channel-decoding unsuccessfully comprises: common signal channel is decoded unsuccessfully, or Broadcast broadcast channel is decoded unsuccessfully.
8. application processor as claimed in claims 6 or 7, it is characterized in that, described application processor also comprises:
Recover module, for when network registry is failed, or when after network registry success and position changes time, recover the default protocol stack switch state in multiple protocol stacks of described support or recover default protocol stack switch state in multiple protocol stacks of described support and the described modulator-demodulator that simultaneously resets.
9. application processor as claimed in claim 8, it is characterized in that, described application processor also comprises:
Reporting module, if do not report for the abnormal cause of described network communicating function exception, obtains abnormal cause and the daily record of described network communicating function exception, and described abnormal cause, described current positional information and daily record is reported network side.
10. a mobile terminal, is characterized in that, comprises the application processor as described in claim 6-9 any one.
CN201510830348.8A 2015-11-24 2015-11-24 Processing method, application processor and the mobile terminal of network communicating function exception Active CN105357704B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510830348.8A CN105357704B (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
CN105357704A true CN105357704A (en) 2016-02-24
CN105357704B CN105357704B (en) 2018-09-04

Family

ID=55333535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510830348.8A Active CN105357704B (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 (1) CN105357704B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090046655A1 (en) * 2007-08-17 2009-02-19 Research In Motion Limited Mobility Mechanism for Service Continuity
CN101808429A (en) * 2010-04-23 2010-08-18 天津七一二通信广播有限公司 Tetra (Terrestrial Trunked Radio) and GSM (Global System for Mobile Communications) dual-mode handset
CN103428848A (en) * 2013-06-18 2013-12-04 华为终端有限公司 Terminal register method and terminal device
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090046655A1 (en) * 2007-08-17 2009-02-19 Research In Motion Limited Mobility Mechanism for Service Continuity
CN101808429A (en) * 2010-04-23 2010-08-18 天津七一二通信广播有限公司 Tetra (Terrestrial Trunked Radio) and GSM (Global System for Mobile Communications) dual-mode handset
CN104081826A (en) * 2012-03-16 2014-10-01 Lg电子株式会社 Method and apparatus for processing NAS signaling request in wireless communication system
CN103841615A (en) * 2012-11-22 2014-06-04 三星电子株式会社 Apparatus and method for selecting network in communication system
CN103428848A (en) * 2013-06-18 2013-12-04 华为终端有限公司 Terminal register method and terminal device

Also Published As

Publication number Publication date
CN105357704B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN105376773A (en) Network communication function anomaly processing method, application processor and mobile terminal
CN105357049A (en) Network communication functional abnormity processing method, application processor and mobile terminal
CN105357053A (en) Network communication functional abnormity processing method, application processor and user terminal
CN105376776A (en) Processing method of network communication function abnormity, application processor and mobile terminal
CN106686638A (en) Network communication function abnormality processing method and network communication function abnormality processing device
CN105376785A (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN105407461A (en) Processing method for network communication function abnormality, application processor and mobile terminal
CN105376113A (en) Processing method of network communication function abnormity, modem and mobile terminal
CN105338663A (en) Method for treating network communication function abnormity, modem and mobile terminal
CN105634794B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376775A (en) Processing method of network communication function abnormity, application processor and mobile terminal
CN105491604A (en) Network communication function abnormality processing method, modulator-demodulator and user terminal
CN108307417B (en) Processing method for network communication function abnormity, modem and mobile terminal
CN108347740B (en) Processing method for network communication function abnormity and application processor
CN108282804B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN108684054B (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
CN105376774A (en) Processing method of network communication function abnormity, modem and mobile terminal
CN108462973B (en) Processing method for network communication function abnormity, modem and mobile terminal
CN105357704A (en) Network communication functional abnormity processing method, application processor and mobile terminal
CN105491608A (en) Processing method for network communication function exception, application processor and mobile terminal
CN105376873A (en) Method for handling network communication function exception, modulator-demodulator and mobile terminal
CN105515824A (en) Processing method for network communication function abnormity and modem
CN105517029A (en) Processing method for network communication function abnormity, application processor, and mobile terminal
CN105491605A (en) Network communication function abnormality processing method, modulator-demodulator 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.