CN105517029B - Processing method, application processor and the mobile terminal of network communicating function exception - Google Patents

Processing method, application processor and the mobile terminal of network communicating function exception Download PDF

Info

Publication number
CN105517029B
CN105517029B CN201510830026.3A CN201510830026A CN105517029B CN 105517029 B CN105517029 B CN 105517029B CN 201510830026 A CN201510830026 A CN 201510830026A CN 105517029 B CN105517029 B CN 105517029B
Authority
CN
China
Prior art keywords
protocol stack
modem
application processor
network
location information
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.)
Active
Application number
CN201510830026.3A
Other languages
Chinese (zh)
Other versions
CN105517029A (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 CN201510830026.3A priority Critical patent/CN105517029B/en
Publication of CN105517029A publication Critical patent/CN105517029A/en
Application granted granted Critical
Publication of CN105517029B publication Critical patent/CN105517029B/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

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of processing method of network communicating function exception, including:After the abnormal instruction message that application processor receiving modem is sent, judge whether occur to set the abnormal conditions of the MT/MO call failures of number in setting time, wherein, the exception instruction message indicates that the modem detects MT/MO call failures;If the result judged is yes, the application processor obtains the first currently used protocol stack of the modem;The application processor closes first protocol stack and the second protocol stack except first protocol stack is selected from multiple protocol stacks that the modem is supported;The application processor opens the second protocol stack, and carries out network registry using the second protocol stack;If network registry success, the application processor record current location information.The embodiment of the invention also discloses a kind of application processor and mobile terminals.Using the present invention, the exception of network communicating function can be quickly detected and restored.

Description

Processing method, application processor and the mobile terminal of network communicating function exception
Technical field
The present invention relates to the processing method of the communications field more particularly to a kind of network communicating function exception, application processors And mobile terminal.
Background technology
With the development of the communication technology, the type for the communication standard that mobile phone is supported is more and more, such as:One mobile phone is simultaneously It supports the communication standard of 2G, 3G and 4G of different operators, saves the inconvenience for replacing mobile phone.The high speed development of mobile Internet makes Data service occupies absolute proportion, so as to which the effect of the modem in mobile phone and status become more and more important, modem For by data to be sent be converted to radiofrequency signal and by radiofrequency signal be converted to pending data, processing access layer (AS) and The signaling of Non-Access Stratum (NAS) and with AP processors into line interface etc..It is very multiple in the mobile network environment residing for mobile phone Miscellaneous, mobile phone often switches between different communication standards, often occurs during communication standard switches different Often, mobile phone can not normal Networked communication, such as MT/MO call failures.In order to solve can not Networked communication exception, often adopt at present Solution is:It when mobile phone is moved to the new band of position, updates and asks to network side launch position, network side is again right Mobile phone is configured, and restores the configuration parameter of modem;Or user is had found after being unable to Networked communication for a long time, manually to moving Dynamic terminal carries out forcing to restart recovery or sets the configuration parameter of modem.But the time mistake that two schemes expend Long, user is difficult to endure.
Invention content
Technical problem to be solved of the embodiment of the present invention is, provides a kind of processing side of network communicating function exception Method, application processor and mobile terminal, with solve in the prior art network communicating function be abnormal can not Networked communication feelings Under condition, restore network communicating function manually and take the problem of long.
In order to solve the above-mentioned technical problem, first aspect of the embodiment of the present invention provides a kind of network communicating function exception Processing method, including:
After the abnormal instruction message that application processor receiving modem is sent, judge whether set in setting time Determine the abnormal conditions of the MT/MO call failures of number, wherein, the exception instruction message indicates that the modem detects MT/MO call failures;
If the result judged is yes, the application processor obtains the first currently used association of the modem Discuss stack;
The application processor closes first protocol stack and the multiple protocol stacks supported from the modem Middle selection is except the second protocol stack of first protocol stack;
The application processor opens the second protocol stack, and carries out network registry using the second protocol stack;
If network registry success, the application processor record current location information.
With reference to first aspect, in the first possible implementation, the method further includes:
If the result judged is no, the application processor carries out reset operation to the modem.
The possible realization method of with reference to first aspect the first, in second of possible realization method, the method It further includes:
If network registry fails, the default protocol stack that the application processor restores in multiple protocol stacks of the support is opened The default protocol stack switch state that off status or the application processor restore in multiple protocol stacks of the support is simultaneously multiple simultaneously The position modem.
With reference to first aspect or second of the first possible realization method of first aspect or first aspect possible Realization method, in the third possible realization method, if network registry success, after recording current location information, It further includes:
If position changes, the default protocol stack that the application processor restores in multiple protocol stacks of the support is opened The default protocol stack switch state that off status or the application processor restore in multiple protocol stacks of the support is simultaneously multiple simultaneously The position modem.
With reference to first aspect or the first or second or the third possible realization method, in the 4th kind of possible realization method In, it further includes:
If the abnormal cause of MT/MO call failures does not report, abnormal cause and the day of the MT/MO call failures are obtained Will;
The abnormal cause, the current location information and daily record are reported to network side and/or user.
The 4th kind of possible realization method with reference to first aspect, it is described by institute in the 5th kind of possible realization method Abnormal cause, the current location information and daily record is stated to be reported to network side and include:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi for establishing communication connection The abnormal cause, the current location information and daily record are reported to network side by hot spot.
Second aspect of the embodiment of the present invention provides a kind of application processor, including:
Judgment module, for receiving modem send abnormal instruction message after, judge whether sent out in setting time The abnormal conditions of the MT/MO call failures of raw setting number, wherein, the exception instruction message indicates the modem inspection Measure MT/MO call failures;
Determining module if being yes for the result judged, obtains the first currently used association of the modem Discuss stack;
Selecting module, for the multiple protocol stacks closed first protocol stack and supported from the modem Middle selection is except the second protocol stack of first protocol stack;
Registration module for opening the second protocol stack, and carries out network registry using the second protocol stack;
If logging modle for network registry success, records current location information.
With reference to second aspect, in the first possible implementation, further include:
Recovery module, for when network registry fails;Or when after network registry success and when position changes;Restore Default protocol stack switch state in multiple protocol stacks of the support or the acquiescence in multiple protocol stacks of the recovery support Protocol stack on off state simultaneously resets the modem simultaneously.
With reference to the first possible realization method of second aspect, in second of possible realization method, further include:
Reporting module if the abnormal cause for MT/MO call failures does not report, obtains the MT/MO call failures Abnormal cause and daily record;The abnormal cause, the current location information and daily record are reported to network side and/or user.
It is described to report in the third possible realization method with reference to second of possible realization method of second aspect Module is specifically used for:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi for establishing communication connection The abnormal cause, the current location information and daily record are reported to network side by hot spot.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including the application processing described in above-mentioned any one Device.
Implement the embodiment of the present invention, have the advantages that:
Application processor receives modem and detects the abnormal instruction message sent during MT/MO call failures, closes The currently used protocol stack of modem is closed, currently used association is selected in the multiple protocol stacks supported from modem Other protocol stacks of stack are discussed, open other protocol stacks and use other protocol stack registered networks, in network on successful registration, note Record current location information.It is quickly detected when modem can not work normally in this way, and passes through other agreements The mode of stack network registration makes modem automatically attempt to restore normal, avoids hand-operated forced restarting mobile phone or location updating is made Into take the problem of long, reduce time of network disaster recovery.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of the processing method of network communicating function exception provided in an embodiment of the present invention;
Fig. 2 is a kind of another flow signal of the processing method of network communicating function exception provided in an embodiment of the present invention Figure;
Fig. 3 is a kind of another flow signal of the processing method of network communicating function exception provided in an embodiment of the present invention Figure;
Fig. 4 is a kind of structure diagram of application processor provided in an embodiment of the present invention;
Fig. 5 is a kind of another structure diagram of application processor provided in an embodiment of the present invention;
Fig. 6 is a kind of another structure diagram of application processor provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
It is that a kind of flow of processing method of network communicating function exception provided in an embodiment of the present invention is illustrated referring to Fig. 1 Figure, in embodiments of the present invention, the method includes:
After the abnormal instruction message that S101, application processor receiving modem are sent, judge in setting time whether Terminal initiation (Mobile Original, abbreviation MO)/terminal termination of generation setting number (Mobile Terminating, Abbreviation MT) call failure abnormal conditions, wherein, it is described exception instruction message instruction Modem detect MT/MO call failures. Wherein, the calling that terminal is initiated is terminal caller, and the calling that terminal terminates is as terminal called.
After the abnormal instruction message for receiving modem transmission in application processor, judge whether sent out in setting time The abnormal conditions of the MT/MO call failures of raw setting number, to ensure the stability of detection case;If do not have in setting time It detects the abnormal conditions of the MT/MO call failures of setting number, then continues to detect.
If S102, the result judged are yes, it is currently used that the application processor obtains the modem First protocol stack.
Specifically, application processor full name is MAP, (Multimedia Application Processor, multimedia should With processor, abbreviation MAP), for extending the ultra-large collection of audio and video function and special purpose interface on the basis of low power consumption CPU It is the important component in smart mobile phone, application processor is general and baseband processor is two independent chips into circuit.
Modem is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to baseband signal, processing The signaling of access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modem supports a variety of associations Discuss stack.Due to certain networks, legal user terminal (User Equipment, abbreviation UE) caller or it is called when also have It may fail, it is necessary to restarted manually by user and retry registration again, specifically, wireless heterogeneous networks (Radio Resource Control, abbreviation RRC) connection the reason of establishing is divided into the RRC of terminal called initiation and establishes and RRC that terminal caller is initiated is built It is vertical.The reason of MT/MO call failures, has:(the RRC connections foundation that UE initiates MO or MT is preceding according to System information block for call congestion The call congestion parameter of (System Information Block, abbreviation SIB) 2 carries out access occlusion detection, if detection access Be blocked, do not send RRC connections and establish request message), receive RRC connection reject message (base before timer T300 time-out Station, which receives, to carry out access control after request is established in RRC connections or loads controlling the result is that RRC connections is not allowed to establish, then base station Send RRC connection reject message to UE), the RRC connections foundation of base station transmission or RRC connections are not received before T300 timer expiries Refuse information, UE send RRC connections and establish during request message failure (failure including random access procedure), call foundation Any one signaling process failure (such as network is not responding to page-response message paging response, failed authentication).Association The summation of the corresponding various protocols of some communication standard of view stack representation, such as:Protocol stack includes global system for mobile communications (Global System for Mobile Communication, abbreviation GSM) protocol stack, enhanced data rates for gsm evolution Technology (Enhanced Data Rate for GSM Evolution, abbreviation EDGE) protocol stack, high-speed slender body theory skill The Code Division Multiple Access of art (High Speed Downlink Packet Access, abbreviation HSPDA) protocol stack, time division synchronous (Time Division-Synchronous Code Division Multiple Access, abbreviation TD-SCDMA) protocol stack, Time division duplex long term evolution LTE (Time-Division Duplex Long Term Evolution, abbreviation TDD-LTE) agreement Stack, frequency division duplex long term evolution (Frequency-Division Duplex, abbreviation FDD-LTE) protocol stack etc., each communication system Again including multiple sub-protocol stacks below formula protocol stack, details are not described herein again.When MT/MO call failures occur, modulatedemodulate will be led to It adjusts device abnormal, at this point, modem can detect MT/MO call failures, and determines the first currently used protocol stack.
It should be noted that modem can be integrated in the inside of application processor AP or independently of should With a chip of processor, the present invention is not restricted.
S103, the application processor are closed first protocol stack and are supported from the modem multiple Selection is except the second protocol stack of first protocol stack in protocol stack.
Specifically, the first protocol stack is the protocol stack for causing MT/MO call failures, application processor needs to close the first association The problem of discussing stack, preventing MT/MO call failures repeated.Then, application processor determines that modem is supported multiple Selection removes the second protocol stack of the first protocol stack in protocol stack, wherein, the strategy of modem selection can be:Selection is than the The protocol stack of the low level-one of one protocol stack is as second protocol stack;Or measure the signal of the corresponding cell signal of each protocol stack of surrounding Intensity, using the protocol stack of signal strength maximum as second protocol stack;Or selection protocol stack more higher leveled than the first protocol stack is made For second protocol stack;Or using the determining second protocol stack of other strategies, the present invention is not restricted.
S104, the application processor open the second protocol stack, and carry out network note using the second protocol stack Volume.
Specifically, after closing the first protocol stack, mobile terminal becomes non-service state, and application processor opens the of selection Two protocol stacks carry out network registry using second protocol stack, for example, the process registered of LTE network as:It is mobile to be initiated to network side If network side allows mobile terminal to access, attachment response is returned to mobile terminal for attach request (attach request) (attach accept), represents network registry success, and mobile terminal has been converted to service state by non-service state;If network Side does not allow mobile terminal to access, and refusal/error message is returned to mobile terminal, represents network registry failure.
If the success of S105, network registry, the application processor record current location information.
Specifically, location information represents that logical place, location information can be small to mobile terminal in the mobile communication network Area identifies or regional location code or position tracking region etc., and the present invention is not restricted.If use second protocol stack registered network Success, application processor record current location information.
Implement the embodiment of the present invention, application processor is received when modem detects MT/MO call failures and sent out The abnormal instruction message sent closes the currently used protocol stack of modem, the multiple protocol stacks supported from modem In select other protocol stacks of currently used protocol stack, open other protocol stacks and use other protocol stack registered networks, In network on successful registration, current location information is recorded.In this way modem can not normal communication when quick quilt It detects, and modem is made automatically to restore communication just by way of switching other protocol stacks and carrying out network registry Often, avoid the problem that it is hand-operated forced restart take caused by mobile phone or location updating it is long, reduce network disaster recovery when Between.
It is that a kind of flow of processing method of network communicating function exception provided in an embodiment of the present invention is illustrated referring to Fig. 2 Figure, in embodiments of the present invention, the method includes:
Whether S201, modem detect MT/MO call failures.
Specifically, modem is mounted in mobile phone, can be encapsulated as in application processor AP or independently of at Device is managed, the present invention is not restricted.
Modem is used to baseband signal being converted to radiofrequency signal, processing access layer (AS) and Non-Access Stratum (NAS) Signaling and with AP processors into line interface etc.;Modem supports various protocols stack.Due to certain networks, close The UE of method caller or it is called when be also possible to failure, it is necessary to restarted manually by user and retry registration, specifically, radio resource again Control (Radio Resource Control, abbreviation RRC) connection the reason of establishing be divided into terminal called initiation RRC establish and The RRC that terminal caller is initiated is established.The reason of MT/MO call failures, has:Call congestion (build by the RRC connections that UE initiates MO or MT Access resistance is carried out according to the call congestion parameter of System information block (System Information Block, abbreviation SIB) 2 before vertical Plug detection, if detection access be blocked, do not send RRC connections and establish request message), received before timer T300 time-out RRC connection reject message (base station receive RRC connections establish request after carry out access control or load control the result is that not allowing RRC connections are established, then base station sends RRC connection reject message to UE), base station transmission is not received before T300 timer expiries RRC connections are established or RRC connection reject message, UE send RRC connections and establish request message failure (including random access procedure Unsuccessfully), (such as network is not responding to paging response, authenticates mistake any one signaling process failure during call is established It loses).When MT/MO call failures occur, modem will be caused abnormal, at this point, modem can detect MT/MO Call failure, and determine the first currently used protocol stack.
If MT/MO call failures occur, S202 is performed, if MT/MO call failures do not occur, continues to execute S201.Hair During raw MT/MO call failures, UE will be into no network service state.
S202, the modem indicate this exception of application processor processes.
Specifically, this abnormal method of modem instruction application processor processes can be:Modem to Application processor sends abnormal instruction message, and application processor receives abnormal instruction message and shows that modem detects MT/MO call failures, at this time application processor needs the exception is handled.Wherein, this hair of the form of abnormal instruction message It is bright not to be restricted, it can be realized using the mode of extended field in existing message to realize or construct new message.
S203, the application processor judge the different of the MT/MO call failures for whether occurring to set number in setting time Reason condition, if so, proceeding to S204;Otherwise, proceed to S205, the application processor answers the modem Bit manipulation.
After the abnormal instruction message for receiving modem transmission in application processor, judge whether sent out in setting time The abnormal conditions of the MT/MO call failures of raw setting number, to ensure the stability of detection case.
S204, the application processor obtain the first currently used protocol stack of the modem.
Specifically, protocol stack represents the summation of the corresponding various protocols stack of some communication standard, such as:Protocol stack includes Gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks Deng, again including multiple sub-protocol stacks below each communication standard protocol stack, such as:TD-LTE protocol stacks include physical layer protocol again Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS associations Discuss stack etc..Details are not described herein again.The method that application processor obtains currently used the first protocol stack of modem can be: The state flag bit of presentation protocol stack obtains the first currently used protocol stack in application processor inquiry modem, such as Flag bit 1 represents corresponding protocol stack as opening, and flag bit 0 represents that corresponding protocol stack is in off state.
S206, the application processor are closed first protocol stack and are supported from the modem multiple Selection is except the second protocol stack of first protocol stack in protocol stack.
Specifically, using the first protocol stack MT/MO call failures occur for modem, application processor needs closing the One protocol stack, the problem of preventing MT/MO call failures, repeated.Then, application processor determines what modem was supported Selection removes the second protocol stack of the first protocol stack in multiple protocol stacks, wherein, the strategy of application processor selection can be:Selection The protocol stack of level-one lower than the first protocol stack is as second protocol stack;Or measure the corresponding cell signal of each protocol stack of surrounding Signal strength, using the protocol stack of signal strength maximum as second protocol stack;Or selection agreement more higher leveled than the first protocol stack Stack is as second protocol stack;Or using the determining second protocol stack of other strategies, the present invention is not restricted.
S207, the application processor open the second protocol stack, and carry out network note using the second protocol stack Volume.
Specifically, after closing the first protocol stack, mobile terminal becomes non-service state, and application processor opens the of selection Two protocol stacks carry out network registry using second protocol stack, for example, the process registered of LTE network as:It is mobile to be initiated to network side If network side allows mobile terminal to access, attachment response is returned to mobile terminal for attach request (attach request) (attach accept), represents network registry success, and mobile terminal has been converted to service state by non-service state;If network Side does not allow mobile terminal to access, and refusal/error message is returned to mobile terminal, represents network registry failure.
Whether S208, network registry succeed.
Specifically, if application processor performs S209, if application processor using network on second protocol stack successful registration It registers upper network not successfully using second protocol stack, performs S210.
S209, the application processor record current location information.Then S213 is performed, and starts and S211's and advances Journey.
Specifically, location information represents the mark of logical place planned in advance in mobile communications network, for example, position is believed Breath includes cell ID or location area code etc..
S210, the application processor restore the default protocol stack switch state or same in multiple protocol stacks of the support Modem described in Shi Fuwei.
Specifically, application processor is using the second protocol stack upper network of registration not successfully, modem according to it is advance The on off state of default protocol stack known restores default protocol stack switch state or carries out reset behaviour to modem simultaneously Make.A pre-set protocol stack in multiple protocol stacks that default protocol stack is supported for modem, herein can be with needle The protocol stack that the protocol stack of same acquiescence is set to use as modem initial selected to all regions, can also be directed to Single area sets different default protocol stacks respectively in some region of multiple areas, and the embodiment of the present invention is not made any It limits.After carrying out reset operation, application processor carries out network registry using default protocol stack, after network registry success, uses Default protocol stack works.
Whether S211, location information change.
Specifically, application processor periodically obtains location information, upper obtain in the location information that currently obtains and once The location information taken performs S212 compared to when changing, and otherwise continues to obtain location information.For example, location information is cell Mark, mobile terminal are moved to another cell by a cell, represent that location information changes;Location information is the band of position Code, mobile terminal are moved to another band of position by a band of position, show that location information changes.Application processor The period present invention for obtaining location information is not restricted, and can be configured according to actual demand.
S212, the application processor restore the default protocol stack switch state or same in multiple protocol stacks of the support Modem described in Shi Fuwei.
Whether the abnormal cause of S213, MT/MO call failure has reported.
Specifically, if the abnormal cause of MT/MO call failures had reported, S216 is performed, otherwise, performs S214.
S214, the abnormal cause for obtaining the MT/MO call failures and daily record.
S215, the abnormal cause, the current location information and daily record are reported to network side and/or user.
Specifically, abnormal cause, current location information and daily record are reported to network side by application processor, wherein, it can In the case of connecting wifi hotspot in mobile terminal, above- mentioned information is reported to by network side by wifi hotspot, to save Flow.Or application processor can also include abnormal cause on the display screen of mobile terminal, be checked for user.
S216, the application processor processes this abnormal endings.
Implement the embodiment of the present invention, application processor is connected to when modem detects MT/MO call failures and sends Abnormal instruction message, close currently used protocol stack, currently used agreement selected from multiple protocol stacks of support Other protocol stacks of stack open other protocol stacks and use other protocol stack registered networks, in network on successful registration, record Current location information, and in change in location and when registered network fails restores default protocol stack switch state or simultaneously Restart modem.It can not be quickly detected during normal communication, and pass through and switch other associations in modem in this way View stack carry out network registry mode make modem automatically restore communication it is normal, avoid it is hand-operated forced restart mobile phone or The problem of long is taken caused by location updating, reduces the time of network disaster recovery.
It is a kind of another flow of the processing method of network communicating function exception provided in an embodiment of the present invention referring to Fig. 3 Schematic diagram, in embodiments of the present invention, the method includes:
Whether S301, modem detect MT/MO call failures.
Specifically, modem is mounted in mobile phone, can be encapsulated as in application processor AP or independently of at Device is managed, the present invention is not restricted.
Modem is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to baseband signal, processing The signaling of access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modem supports a variety of associations Discuss stack.Due to certain networks, legal UE caller or it is called when be also possible to failure, it is necessary to restarted manually again by user Registration is retried, specifically, wireless heterogeneous networks (Radio Resource Control, abbreviation RRC) connect the reason of establishing point The RRC that RRC for terminal called initiation is established and terminal caller is initiated is established.The reason of MT/MO call failures, has:Call congestion (the RRC connections foundation that UE initiates MO or MT is preceding according to System information block (System Information Block, abbreviation SIB) 2 Call congestion parameter carry out access occlusion detection, if detection access be blocked, do not send RRC connections and establish request message), Timer T300 time-out before receive RRC connection reject message (base station receive RRC connections establish request after carry out access control or Load control the result is that RRC connections is not allowed to establish, then base station is to UE transmissions RRC connection reject message), T300 timers surpass Shi Qianwei receives the RRC connections foundation of base station transmission or RRC connection reject message, UE send RRC connections and establish request message mistake Lose (failure including random access procedure), call establish during any one signaling process failure (such as network is to paging Response is not responding to, failed authentication etc.).At this point, modem will detect exception, and judge whether to be called by MT/MO Caused by failure.Certainly, detection herein can receive user instructions to be detected or be periodically detected or in MT/MO The detection operation of modem is triggered during call failure.If MT/MO call failures occur, modem will be caused different Often, at this point, modem can detect MT/MO call failures, and determine the first currently used protocol stack.
If MT/MO call failures occur, S302 is performed, if MT/MO call failures do not occur, continues to execute S301.Hair During raw MT/MO call failures, UE will be into no network service state.
S302, the modem indicate this exception of application processor processes.
Specifically, this abnormal method of modem instruction application processor processes can be:Modem to Application processor sends abnormal instruction message, and application processor receives abnormal instruction message and shows that modem detects MT/MO call failures, at this time application processor needs the exception is handled.Wherein, this hair of the form of abnormal instruction message It is bright not to be restricted, it can be realized using the mode of extended field in existing message to realize or construct new message.
S303, the application processor judge the different of the MT/MO call failures for whether occurring to set number in setting time Reason condition, if so, proceeding to S304;Otherwise, proceed to S301.
After the abnormal instruction message for receiving modem transmission in application processor, judge whether sent out in setting time The abnormal conditions of the MT/MO call failures of raw setting number, to ensure the stability of detection case.
S304, the application processor obtain the first currently used protocol stack of the modem.
Specifically, protocol stack represents the summation of the corresponding various protocols stack of some communication standard, such as:Protocol stack includes Gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks Deng, again including multiple sub-protocol stacks below each communication standard protocol stack, such as:TD-LTE protocol stacks include physical layer protocol again Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS associations Discuss stack etc..Details are not described herein again.The method that application processor obtains currently used the first protocol stack of modem can be: The state flag bit of presentation protocol stack obtains the first currently used protocol stack in application processor inquiry modem, such as Flag bit 1 represents corresponding protocol stack as opening, and flag bit 0 represents that corresponding protocol stack is in off state.
S305, the application processor are closed first protocol stack and are supported from the modem multiple Selection is except the second protocol stack of first protocol stack in protocol stack.
Specifically, using the first protocol stack MT/MO call failures occur for modem, modem needs closing the One protocol stack, the problem of preventing MT/MO call failures, repeated.Then, application processor determines what modem was supported Selection removes the second protocol stack of the first protocol stack in multiple protocol stacks, wherein, the strategy of application processor selection can be:Selection The protocol stack of level-one lower than the first protocol stack is as second protocol stack;Or measure the corresponding cell signal of each protocol stack of surrounding Signal strength, using the protocol stack of signal strength maximum as second protocol stack;Or selection agreement more higher leveled than the first protocol stack Stack is as second protocol stack;Or using the determining second protocol stack of other strategies, the present invention is not restricted.
S306, the application processor open the second protocol stack, and carry out network note using the second protocol stack Volume.
Specifically, after closing the first protocol stack, mobile terminal becomes non-service state, and application processor opens the of selection Two protocol stacks carry out network registry using second protocol stack, for example, the process registered of LTE network as:It is mobile to be initiated to network side If network side allows mobile terminal to access, attachment response is returned to mobile terminal for attach request (attach request) (attach accept), represents network registry success, and mobile terminal has been converted to service state by non-service state;If network Side does not allow mobile terminal to access, and refusal/error message is returned to mobile terminal, represents network registry failure.
If the success of S307, network registry, the application processor record current location information.It can perform step later S308;It simultaneously can be with parallel execution of steps S310.
Specifically, location information represents the mark of logical place planned in advance in mobile communications network, for example, position is believed Breath includes cell ID or location area code etc..
Whether S308, location information change.
Specifically, application processor periodically obtains location information, upper obtain in the location information that currently obtains and once The location information taken performs S309 compared to when changing, and otherwise continues to obtain location information.For example, location information is cell Mark, mobile terminal are moved to another cell by a cell, represent that location information changes;Location information is the band of position Code, mobile terminal are moved to another band of position by a band of position, show that location information changes.Application processor The period present invention for obtaining location information is not restricted, and can be configured according to actual demand.
S309, the application processor restore the default protocol stack switch state or same in multiple protocol stacks of the support Modem described in Shi Fuwei.
Whether the abnormal cause of S310, MT/MO call failure has reported.
Specifically, if the abnormal cause of MT/MO call failures had reported, S301 is performed, when MT/MO call failures Abnormal cause reported after, user can be adjusted or repair according to abnormal cause, continue to jump to S301 later Exception is detected by modem, if modem still detects MT/MO call failures, S302 etc. is continued to execute and subsequently walks Suddenly.Otherwise, S311 is performed.
S311, the abnormal cause for obtaining the MT/MO call failures and daily record.
S312, the abnormal cause, the current location information and daily record are reported to network side and/or user.
Specifically, abnormal cause, current location information and daily record are reported to network side by application processor, wherein, it can In the case of connecting wifi hotspot in mobile terminal, above- mentioned information is reported to by network side by wifi hotspot, to save Flow.Or application processor can also include abnormal cause on the display screen of mobile terminal, be checked for user.
After above- mentioned information reports, step S301 can be equally jumped to, exception is detected by modem, if modulatedemodulate Device is adjusted still to detect MT/MO call failures, then continues to execute the subsequent steps such as S302.
By way of cycle, it can be ensured that the solution of MT/MO call failure problems, after Resolving probiems, modulation /demodulation Device will not detect MT/MO call failures again, and terminal can be restored to work normally.
Implement the embodiment of the present invention, application processor is connected to when modem detects MT/MO call failures and sends Abnormal instruction message, close currently used protocol stack, currently used agreement selected from multiple protocol stacks of support Other protocol stacks of stack open other protocol stacks and use other protocol stack registered networks, in network on successful registration, record Current location information, and in change in location and in network failure in registration, restore default protocol stack switch state or same Shi Chongqi modems.It can not be quickly detected, and pass through and switch other during normal communication in modem in this way The mode that protocol stack carries out network registry makes modem automatically restore the normal of communication, avoids hand-operated forced restarting mobile phone Or the problem of long is taken caused by location updating, reduce the time of network disaster recovery.
It is a kind of structure diagram of application processor provided in an embodiment of the present invention, in the embodiment of the present invention referring to Fig. 4 In, the application processor 4 includes:Judgment module 401, determining module 402, selecting module 403, registration module 404, record mould Block 405.
Judgment module 401, after the abnormal instruction message sent for receiving modem, judge in setting time whether The abnormal conditions of the MT/MO call failures of setting number occur, wherein, the exception instruction message indicates the modem Detect MT/MO call failures.
Determining module 402, if being yes for the result judged, obtain the modem it is currently used first Protocol stack.
Selecting module 403, for the multiple agreements closed first protocol stack and supported from the modem Selection is except the second protocol stack of first protocol stack in stack.
Registration module 404 for opening the second protocol stack, and carries out network registry using the second protocol stack.
If logging modle 405 for network registry success, records current location information.
The embodiment of the present invention and embodiment of the method one are based on same design, and the technique effect brought is also identical, specific former Reason please refers to the description of embodiment of the method one, and details are not described herein again.
Optionally, application processor further includes:
Recovery module (Fig. 4 does not show), for when network registry fails;Or when network registry success after and position become During change;Restore the default protocol stack switch state in multiple protocol stacks of the support or reset the modem simultaneously.
Optionally, application processor further includes:
Reporting module if the abnormal cause for the MT/MO call failures does not report, obtains the MT/MO callings and loses The abnormal cause lost and daily record;The abnormal cause, the current location information and daily record are reported to network side and/or use Family.
Optionally, reporting module is used for:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi for establishing communication connection The abnormal cause, the current location information and daily record are reported to network side by hot spot.
The embodiment of the present invention and embodiment of the method two and three are based on same design, and the technique effect brought is also identical, tool Body principle please refers to the description of embodiment of the method two and three, and details are not described herein again.
Referring to Fig. 5, it is a kind of another structure diagram of application processor of the embodiment of the present invention, does not have in this schematic diagram There is integrated modem modem, in this embodiment, application processor is used to implement the processing side of the Network Abnormal described in Fig. 1 Method, application processor 5 include CPU_ap501, memory 502 and communication interface 503, the CPU_ap501's in application processor Quantity can be one or more, and Fig. 5 is by taking a CPU as an example.In some embodiments of the present invention, CPU_ap 501, memory 502 can be connected with communication interface 503 by bus or other modes, in Fig. 5 by taking bus connects as an example.
Wherein, communication interface 503 communicate for the modem modem with application processor chip exterior;
Wherein, batch processing code is stored in memory 502, and CPU_ap 501 stores for calling in memory 502 Program code, for performing the following operations:
After the abnormal instruction message that receiving modem is sent, judge whether occur to set number in setting time The abnormal conditions of MT/MO call failures, wherein, the exception instruction message indicates that the modem detects that MT/MO is exhaled Cry failure;
If the result judged is yes, the first currently used protocol stack of the modem is obtained;
Close first protocol stack and from multiple protocol stacks that the modem is supported selection except described the The second protocol stack of one protocol stack;
The second protocol stack is opened, and network registry is carried out using the second protocol stack;
If network registry success, records current location information.
In some embodiments of the invention, CPU_ap 501 is additionally operable to perform:
If the result judged is no, reset operation is carried out to the modem.
In some embodiments of the invention, CPU_ap 501 is additionally operable to perform:
If network registry fails, restore the default protocol stack switch state or multiple simultaneously in multiple protocol stacks of the support The position modem.
In some embodiments of the invention, if CPU_ap 501 performs the network registry success, current position is recorded After confidence breath, it is additionally operable to perform:
If position changes, restore the default protocol stack switch state or multiple simultaneously in multiple protocol stacks of the support The position modem.
In some embodiments of the invention, if CPU_ap 501 performs the network registry success, the application processing Device records current location information;Or if network registry failure, the acquiescence restored in multiple protocol stacks of the support are assisted After discussing stack switch state or resetting the modem simultaneously, it is additionally operable to perform:
If the abnormal cause of the MT/MO call failures does not report, obtain the MT/MO call failures abnormal cause and Daily record;
The abnormal cause, the current location information and daily record are reported to network side and/or user.
In some embodiments of the invention, CPU_ap 501 performs described by the abnormal cause, the current position Confidence ceases and daily record is reported to network side and includes:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi for establishing communication connection The abnormal cause, the current location information and daily record are reported to network side by hot spot.
It is a kind of another structure diagram of application processor provided in an embodiment of the present invention, in this schematic diagram referring to Fig. 6 In be integrated with modem modem.Work as CPU_ap601 and the CPU_ap501 of Fig. 5 execution of Fig. 6, it is different The interaction for being the CPU_ap601 and modem modem of this figure is to carry out (being to pass through communication interface and Fig. 5 by bus 503 progress).
The embodiment of the present invention additionally provides a kind of mobile terminal for including above application processor, and mobile terminal is included but not It is limited to carry Or the mobile terminal of other operating systems, such as mobile phone. Can also be other mobile terminals, such as meter on knee with touch sensitive surface (for example, touch-screen display and/or Trackpad) Calculation machine or tablet computer or desktop computer.
In the following discussion, a kind of mobile terminal including display and touch sensitive surface is described.It should be appreciated, however, that Mobile terminal can include other one or more physical user-interface devices, such as physical keyboard, mouse and/or operating lever.
Mobile terminal usually supports a variety of application programs, it is such as following in it is one or more:Picture application program is presented Application program, word-processing application, webpage create application program, disk editor application program, spreadsheet applications, trip Play application program, telephony application, videoconference application, email application, instant message application program, forging Application program, photograph management application program, digital camera applications program, digital video camcorder application program, network are supported in refining Viewer applications, digital music player application, and/or video frequency player application program.
At least one shared physical user-interface device can be used in the various application programs that can be performed on mobile terminals, Such as touch sensitive surface.The corresponding information of the one or more functions and display of touch sensitive surface on mobile terminals can be answered from one kind It is adjusted with program and/or is changed to a kind of lower application program and/or is adjusted and/or changes in corresponding application programs.In this way, The shared physical structure (such as touch sensitive surface) of mobile terminal can be propped up using intuitive clearly user interface for a user Hold various application programs.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly Sharp range one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and is weighed according to the present invention Profit requires made equivalent variations, still falls within and invents covered range.

Claims (10)

1. a kind of processing method of network communicating function exception, which is characterized in that including:
After the abnormal instruction message that application processor receiving modem is sent, judge setting time whether occurs in setting time The abnormal conditions of several MT/MO call failures, wherein, the exception instruction message indicates that the modem detects MT/ MO call failures;
If the result judged is yes, the application processor obtains the first currently used agreement of the modem Stack;
The application processor is closed first protocol stack and is selected from multiple protocol stacks that the modem is supported Select the second protocol stack except first protocol stack;
The application processor opens the second protocol stack, and carries out network registry using the second protocol stack;
If network registry success, the application processor record current location information;
If network registry fails, the application processor restores the default protocol stack switch shape in multiple protocol stacks of the support State simultaneously resets the modem simultaneously, and network registry is carried out using the default protocol stack.
2. the method as described in claim 1, which is characterized in that further include:
If the result judged is no, the application processor carries out reset operation to the modem.
3. method as claimed in claim 1 or 2, which is characterized in that if network registry success, record current position letter After breath, further include:
If position changes, the application processor restores the default protocol stack switch shape in multiple protocol stacks of the support State or the application processor restore the default protocol stack switch state in multiple protocol stacks of the support and reset institute simultaneously State modem.
4. the method as described in claim 1, which is characterized in that further include:
If the abnormal cause of MT/MO call failures does not report, abnormal cause and the daily record of the MT/MO call failures are obtained;
The abnormal cause, the current location information and daily record are reported to network side and/or user.
5. method as claimed in claim 4, which is characterized in that described by the abnormal cause, the current location information Network side is reported to daily record, including:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi hotspot for establishing communication connection The abnormal cause, the current location information and daily record are reported to network side.
6. a kind of application processor, which is characterized in that including:
Judgment module, for receiving modem send abnormal instruction message after, judge whether set in setting time Determine the abnormal conditions of the MT/MO call failures of number, wherein, the exception instruction message indicates that the modem detects MT/MO call failures;
Determining module if being yes for the result judged, obtains the first currently used protocol stack of the modem;
Selecting module, for closing first protocol stack and being selected from multiple protocol stacks that the modem is supported Select the second protocol stack except first protocol stack;
Registration module for opening the second protocol stack, and carries out network registry using the second protocol stack;
If logging modle for network registry success, records current location information;
Recovery module, for when network registry fails, restoring the default protocol stack switch in multiple protocol stacks of the support State simultaneously resets the modem simultaneously;
The registration module, the default protocol stack being additionally operable in the multiple protocol stacks for restoring the support in the recovery module are opened After off status simultaneously resets the modem simultaneously, the default protocol stack is used to carry out network registry.
7. application processor as claimed in claim 6, which is characterized in that further include:
The recovery module is additionally operable to when after network registry success and when position changes;Restore multiple associations of the support Discuss the default protocol stack switch state in stack or the default protocol stack switch state in multiple protocol stacks of the recovery support simultaneously Reset the modem simultaneously.
8. processor the use as claimed in claim 7, which is characterized in that further include:
Reporting module if the abnormal cause for MT/MO call failures does not report, obtains the exception of the MT/MO call failures Reason and daily record;The abnormal cause, the current location information and daily record are reported to network side and/or user.
9. application processor as claimed in claim 8, which is characterized in that the reporting module is specifically used for:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi hotspot for establishing communication connection The abnormal cause, the current location information and daily record are reported to network side.
10. a kind of mobile terminal, which is characterized in that including the application processor as described in claim 6-9 any one.
CN201510830026.3A 2015-11-24 2015-11-24 Processing method, application processor and the mobile terminal of network communicating function exception Active CN105517029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510830026.3A CN105517029B (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
CN201510830026.3A CN105517029B (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
CN105517029A CN105517029A (en) 2016-04-20
CN105517029B true CN105517029B (en) 2018-07-06

Family

ID=55724589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510830026.3A Active CN105517029B (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) CN105517029B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110022602A (en) * 2018-03-14 2019-07-16 联发科技股份有限公司 The method and communication device for a possibility that increasing the call setup success of communication device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175055A (en) * 2006-11-03 2008-05-07 上海科泰信息技术有限公司 Network double-frequency wireless modem
CN101552973A (en) * 2009-04-19 2009-10-07 张晓华 Public safety prewarning broadcast system
CN103339913A (en) * 2011-01-05 2013-10-02 下一步公司 Consumer electronic registration, control and support concierge device and method
CN104081826A (en) * 2012-03-16 2014-10-01 Lg电子株式会社 Method and apparatus for processing NAS signaling request in wireless communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9294946B2 (en) * 2010-08-27 2016-03-22 Qualcomm Incorporated Adaptive automatic detail diagnostic log collection in a wireless communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175055A (en) * 2006-11-03 2008-05-07 上海科泰信息技术有限公司 Network double-frequency wireless modem
CN101552973A (en) * 2009-04-19 2009-10-07 张晓华 Public safety prewarning broadcast system
CN103339913A (en) * 2011-01-05 2013-10-02 下一步公司 Consumer electronic registration, control and support concierge device and method
CN104081826A (en) * 2012-03-16 2014-10-01 Lg电子株式会社 Method and apparatus for processing NAS signaling request in wireless communication system

Also Published As

Publication number Publication date
CN105517029A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN105376773B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105357053B (en) Processing method, application processor and the user terminal of network communicating function exception
CN108599986B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN106488492A (en) The abnormal processing method and processing device of network communicating function
CN105338663B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105357049B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105491603B (en) Network communicating function abnormal processing method, application processor and mobile terminal
CN105376113B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105407461B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105491604B (en) Processing method, modem and the user terminal of network communicating function exception
CN105376775B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105490838B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105517029B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376783B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376784B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105472648B (en) Network communicating function abnormal processing method, modem and mobile terminal
CN105376786B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105491608B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376873B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105491607B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376789B (en) Network communicating function abnormal processing method, modem and mobile terminal
CN105376774B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105357705B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105357704B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105491609B (en) Network communicating function abnormal processing method, modem 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

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.

CP01 Change in the name or title of a patent holder