CN105491608B - 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
CN105491608B
CN105491608B CN201510828670.7A CN201510828670A CN105491608B CN 105491608 B CN105491608 B CN 105491608B CN 201510828670 A CN201510828670 A CN 201510828670A CN 105491608 B CN105491608 B CN 105491608B
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
CN201510828670.7A
Other languages
Chinese (zh)
Other versions
CN105491608A (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 CN201510828670.7A priority Critical patent/CN105491608B/en
Publication of CN105491608A publication Critical patent/CN105491608A/en
Application granted granted Critical
Publication of CN105491608B publication Critical patent/CN105491608B/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 kind of processing methods of network communicating function exception, including:After the abnormal instruction message that application processor receiving modem is sent, the first currently used protocol stack of modem is obtained;Wherein, abnormal instruction message instruction modem detects that location updating fails;Application processor closes the first protocol stack, and second protocol stack of the selection except the first protocol stack from multiple protocol stacks that modem is supported;Application processor opens second protocol stack, and carries out network registry using second protocol stack;If network registry success, 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 The communication standard for supporting 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, 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..Mobile network environment residing for mobile phone is very multiple 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 location updating failure.In order to solve the exception that can not be networked, at present frequently with Solution is:When mobile phone is moved to the new band of position, updates and ask to network side launch position, network side is again to mobile phone It is configured, restores the configuration parameter of modem;Or user has found after being unable to Networked communication for a long time, manually to mobile whole End carries out forcing to restart the configuration parameter for restoring modem.But the time that two schemes expend is long, user is difficult to It endures.
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 can not be automatic with solve to be abnormal in the prior art can not be in the case of Networked communication It attempts to restore or recovery communication service takes long problem.
In order to solve the above-mentioned technical problem, it is abnormal to provide a kind of network communicating function for first aspect of the embodiment of the present invention Processing method, including:
After the abnormal instruction message that application processor receiving modem is sent, obtaining the modem currently makes First protocol stack;Wherein, the abnormal instruction message indicates that the modem detects that location updating fails;
The application processor closes first protocol stack, and the multiple protocol stacks supported from the modem Second protocol stack of the middle selection 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.
With reference to first aspect, in the first possible implementation, further include:
If network registry fails, the application processor restores the default protocol stack in multiple protocol stacks of the support On off state or the application processor restore the on off state of the default protocol stack in multiple protocol stacks of the support and same Modem described in Shi Fuwei.
With reference to first aspect or the first possible realization method, in second of possible realization method, if the net Network succeeds in registration, and after recording current location information, further includes:
When position changes, the application processor restores the default protocol stack in multiple protocol stacks of the support On off state or the application processor restore the on off state of the default protocol stack in multiple protocol stacks of the support simultaneously Reset the modem simultaneously.
With reference to first aspect or second of possible realization method of the first possible realization method or first aspect, exist In the third possible realization method, the method further includes:
If the abnormal cause of the location updating failure does not report, abnormal cause and the day of the location updating failure are obtained Will;
The abnormal cause, the current location information and daily record are reported to network side and/or user.
The third possible realization method with reference to first aspect, it is described by institute in the 4th kind of possible realization method State abnormal cause, the current location information and daily record are reported to network side and include:
It scans the wifi hotspot of surrounding and after establishing communication connection 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:
Determining module obtains the modem and works as after being used for the abnormal instruction message that receiving modem is sent Preceding the first protocol stack used;Wherein, the abnormal instruction message indicates that the modem detects that location updating fails;
Selecting module, for closing first protocol stack, and multiple protocol stacks from modem support Second protocol stack of the middle selection except first protocol stack;
Registration module carries out network registry for opening the second protocol stack, and using the second protocol stack;
If logging modle records current location information for network registry success.
In conjunction with second aspect, in the first possible implementation, further include:
Recovery module is used for when network registry fails, or after network registry success and when position changes, is restored It is silent in the on off state of default protocol stack in multiple protocol stacks of the support or multiple protocol stacks of the recovery support Recognize the on off state of protocol stack and resets the modem simultaneously.
In conjunction with the possible realization method of the first of second aspect or second aspect, in second of possible realization method In, further include:
Reporting module obtains the location updating failure if the abnormal cause for location updating failure does not report Abnormal cause and daily record;The abnormal cause, the current location information and daily record are reported to network side and/or use Family.
It is described to report in the third possible realization method in conjunction with second of possible realization method of second aspect Module is specifically used for:
It scans the wifi hotspot of surrounding and after establishing communication connection 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, has the advantages that:
Application processor receives modem and detects the abnormal instruction message sent when location updating failure, closes The currently used protocol stack of modem, selection is except currently used agreement from multiple protocol stacks that modem is supported 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.It can not be quickly detected when normal communication in modem in this way, and pass through other protocol stacks The mode of mechanical energy network registry makes modem automatically attempt to restore normal, avoids forcing to restart mobile phone or location updating is made At take long problem, reduce the time of network disaster recovery.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, 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 Obtain other attached drawings 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 structural schematic diagram of application processor provided in an embodiment of the present invention;
Fig. 5 is a kind of another structural schematic diagram of application processor provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments 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.
Referring to Fig. 1, for a kind of flow signal of the processing method of network communicating function exception provided in an embodiment of the present invention Figure, in embodiments of the present invention, the method includes:
After the abnormal instruction message that S101, application processor receiving modem are sent, the modem is obtained The first currently used protocol stack;Wherein, the abnormal instruction message instruction Modem detects that location updating fails.
Specifically, application processor full name is that MAP (answer by Multimedia Application Processor, multimedia With processor, abbreviation MAP), the ultra-large collection for extending 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 independent two chips at circuit.Modulation Demodulator is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to baseband signal, processing access layer (AS) and The signaling of Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modem supports various protocols stack.User is whole Hold (User Equipment, abbreviation UE) by send location update request message (such as LOCATION UPDATE REQUEST, TRACKING AREA UPDATE REQUEST etc.) launch position registration process, before UE completes location updating, protocol stack is different Often or network side refusal location updating can result in the failure of UE location updatings.Lead to the abnormal cause packet of location updating failure It includes:Signal covering difference or signal interference cause greatly RRC wireless links failure, the NAS layers of error indication for receiving rrc layer or Receive the NAS signaling Connection Release instruction of rrc layer, UE enters a new tracing area (TA), the update of rrc layer indicating positions Request message sends failure, UE sends location updating and completes rrc layer when message (TRACKING AREA UPDATE COMPLETE) Instruction message does not receive network side transmission location updating before sending failure, timer T3430 time-out allows message (TRACKING AREA UPDATE ACCEPT) location updating refuses (TRACKING AREA UPDATE REJECT) message, position The reason field set in update refusal (TRACKING AREA UPDATE REJECT) message detects failure, position updating process With other conflict in process, UE failed authentications or the safe activation reasons such as unsuccessfully.The reason of network side refusal location updating, has:Illegally UE (Illegal ME), EPS service are not allowed to (EPS services not allowed), PLMN is not allowed to (PLMN Not allowed), tracing area is not allowed to (Tracking area not allowed), EPS services are not allowed to etc.. If UE can not initiate business after carrying out cell reselection, it can be determined that location registration fails.Protocol stack indicates some communication standard The summation of corresponding various protocols, such as:Protocol stack includes gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA Protocol stack, TDD-LTE protocol stacks, FDD-LTE protocol stacks etc. include multiple sub-protocols again below each communication standard protocol stack Stack, details are not described herein again.Modem determines the first currently used agreement when detecting that protocol stack registration is rejected Stack.Application processor obtains first protocol stack.
Can also be independently of answering it should be noted that modem can be integrated in the inside of application processor AP With a chip of processor, the present invention is not restricted.
S102, the application processor close first protocol stack, and support from the modem multiple Second protocol stack of the selection except first protocol stack in protocol stack.
Specifically, the first protocol stack is the protocol stack for causing location updating failure, application processor needs to close the first association The problem of discussing stack, preventing location updating from failing repeated.Then, modem determines multiple associations that modem is supported Discuss stack in selection except the first protocol stack second protocol stack, wherein modem selection strategy can be:Select ratio first The protocol stack of the low level-one of protocol stack is as second protocol stack;Or the signal of the corresponding cell signal of each protocol stack of measurement surrounding is strong Degree, using the maximum protocol stack of signal strength as second protocol stack;Or select protocol stack more higher leveled than the first protocol stack as Second protocol stack;Or determine that second protocol stack, the present invention are not restricted using other strategies.
S103, 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, using second protocol stack carry out network registry, such as the process registered of LTE network as:Mobile terminal is to network side Attach request (attach request) is initiated, if network side allows mobile terminal to access, attachment response is returned to mobile terminal (attach accept) indicates that network registry success, mobile terminal are converted to connected state by Idle state;If network side does not allow Mobile terminal accesses, and error message is returned to mobile terminal, indicates network registry failure.
If the success of S104, network registry, the application processor record current location information.
Specifically, location information indicates 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 using 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 location updating failure and sent Abnormal instruction message, the currently used protocol stack of modem is closed, from multiple protocol stacks that modem is supported Selection opens other protocol stacks and uses other protocol stack registered networks except other protocol stacks of currently used protocol stack, On successful registration when network, current location information is recorded.It can not be quickly detected when normal communication in modem in this way It measures, and makes modem automatically attempt to restore normal in such a way that other protocol stacks carry out network registry, avoid forcing Long problem is taken caused by restarting mobile phone or location updating, reduces the time of network disaster recovery.
Referring to Fig. 2, for a kind of flow signal of the processing method of network communicating function exception provided in an embodiment of the present invention Figure, in embodiments of the present invention, the method includes:
Whether S201, modem detect that location updating fails.
Specifically, modem is mounted in mobile phone, it 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 base Band signal, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc..UE passes through hair Send location update request message (such as LOCATION UPDATE REQUEST, TRACKING AREA UPDATE REQUEST) Launch position registration process, before UE completes location updating, protocol stack exception or network side refusal location updating can be led Cause the failure of UE location updatings.Cause location updating failure abnormal cause include:Signal covering difference or signal interference lead to greatly RRC Wireless link failure, the NAS layers of error indication for receiving rrc layer or the NAS signaling Connection Release instruction for receiving rrc layer, UE enters a new tracing area (TA), rrc layer indicating positions update request message sends failure, UE transmission location updatings It is super to complete rrc layer instruction message transmission failure, timer T3430 when message (TRACKING AREA UPDATE COMPLETE) When before do not receive network side transmission location updating allow message (TRACKING AREA UPDATE ACCEPT) location updating Refuse (TRACKING AREA UPDATE REJECT) message, location updating refuses (TRACKING AREA UPDATE REJECT) the reason field detection failure in message, position updating process and other conflict in process, UE failed authentications or safety swash The reasons such as unsuccessfully living.The reason of network side refusal location updating, has:Illegal UE (Illegal ME), EPS service is not allowed to (EPS services not allowed), PLMN are not allowed to (PLMN not allowed), tracing area is not allowed to (Tracking area not allowed), EPS service are not allowed to etc..If UE can not be initiated after carrying out cell reselection Business, it can be determined that location registration fails.Protocol stack indicates the summation of the corresponding various protocols of some communication standard, such as:Association It includes gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE to discuss stack Protocol stack etc. includes again multiple sub-protocol stacks below each communication standard protocol stack, and details are not described herein again.If location updating occurs Failure executes S202, if location updating failure does not occur, continues to execute S201.When location updating failure occurs, UE will enter Without 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 modem detection in place Update failure is set, application processor needs handle the exception at this time.Wherein, the format present invention of abnormal instruction message is not Be restricted, can by existing message extended field in the way of realize to realize or construct new message.
S203, the application processor obtain the first currently used protocol stack of the modem.
Specifically, protocol stack indicates 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, include multiple sub-protocol stacks again 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.Application processor obtain the first currently used protocol stack of modem method 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 indicates that corresponding protocol stack is open state, and flag bit 0 indicates that corresponding protocol stack is in off state.
S204, the application processor close first protocol stack, and support from the modem multiple Second protocol stack of the selection except first protocol stack in protocol stack.
Fail specifically, using the first protocol stack location updating occurs for modem, it is different so as to cause modem Often, modem needs to close the first protocol stack, prevents protocol stack from registering the problem of being rejected and repeated.Then, it applies Processor determines that selection is except the second protocol stack of the first protocol stack in multiple protocol stacks that modem is supported, wherein application Processor selection strategy can be:Select the protocol stack of level-one lower than the first protocol stack as second protocol stack;Or measure week The signal strength for enclosing the corresponding cell signal of each protocol stack, using the maximum protocol stack of signal strength as second protocol stack;Or Select protocol stack more higher leveled than the first protocol stack as second protocol stack;Or determine second protocol stack using other strategies, The present invention is not restricted.
S205, 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, using second protocol stack carry out network registry, such as the process registered of LTE network as:It is mobile to be initiated to network side Attach request returns to attachment response to mobile terminal, indicates network registry success, move if network side allows mobile terminal to access Dynamic terminal has been converted to service state by no service state;If network side does not allow mobile terminal to access, refused to mobile terminal return Absolutely/error message indicates network registry failure.
Whether S206, network registry succeed.
Specifically, if application processor executes S207, if application processor using network on second protocol stack successful registration It registers upper network not successfully using second protocol stack, executes S208.
S207, the application processor record current location information.
Specifically, location information indicates the mark for the logical place planned in advance in mobile communications network, for example, position is believed Breath includes cell ID or location area code etc..
S208, the application processor restore the default protocol stack in multiple protocol stacks of the support on off state or The application processor restores the on off state of the default protocol stack in multiple protocol stacks of the support simultaneously while described in reset Modem.
Specifically, application processor is using the second protocol stack upper network of registration not successfully, application processor according to it is advance The on off state for the default protocol stack known restores the on off state of default protocol stack or sends reset instruction simultaneously to modulation /demodulation Device carries out reset operation.Default protocol stack is a pre-set agreement in multiple protocol stacks that modem is supported Herein the agreement that the protocol stack of the same acquiescence is used as modem initial selected can be arranged for all regions in stack Stack can also be directed to single area or different default protocol stacks is respectively set in some region of multiple areas, the present invention Embodiment is not limited in any way.After carrying out reset operation, application processor carries out network registry, network note using default protocol stack After volume success, worked using default protocol stack.
Whether S209, 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 executes S210, otherwise continues to execute S209 compared to when changing.For example, location information is cell ID, Mobile terminal is moved to another cell by a cell, indicates that location information changes;Location information is location area code, is moved Dynamic terminal is moved to another band of position by a band of position, shows that location information changes.Application processor obtains The period present invention of location information is not restricted, and can be configured according to actual demand.
S210, the application processor restore the default protocol stack in multiple protocol stacks of the support on off state or The application processor restores the on off state of the default protocol stack in multiple protocol stacks of the support simultaneously while described in reset Modem.
Whether the abnormal cause that S211, location updating fail has reported.
Specifically, if the abnormal cause of location updating failure had reported, S214 is executed;Otherwise, S212 is executed.
S212, the abnormal cause for obtaining the location updating failure and daily record.
S213, 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 can In the case where mobile terminal connects upper wifi hotspot, above- mentioned information is reported to network side by wifi hotspot, to save Flow.Or abnormal cause can also be included being checked for user on the display screen of mobile terminal by application processor.
It should be noted that after having executed S207, execution S209 and S211 that can be parallel.
S214, the application processor processes this abnormal endings.
Implement the embodiment of the present invention, application processor is connected to when modem detects location updating failure and sends Abnormal instruction message closes currently used protocol stack, and selection is except currently used protocol stack from multiple protocol stacks of support Other protocol stacks, open other protocol stacks and use other protocol stack registered networks, in network on successful registration, record is worked as Preceding location information, and in change in location or when registered network fails, restore the on off state of default protocol stack or reset to adjust Modulator-demodulator.Can not be quickly detected when normal communication in modem in this way, and by switch other protocol stacks into The mode of row network registry makes modem automatically restore the normal of communication, avoids forcing to restart mobile terminal or position more Long problem is taken caused by new, 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 that location updating fails.
Specifically, modem is mounted in mobile phone, it can be encapsulated as in application processor AP, or independently of at Device is managed, the present invention is not restricted.Baseband signal is converted to radiofrequency signal, radiofrequency signal is converted to base band letter by modem Number, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc..UE is by sending position Update request message (such as LOCATION UPDATE REQUEST, TRACKING AREA UPDATE REQUEST) is set to initiate Location registration procedure, before UE completes location updating, protocol stack exception or network side refusal location updating can result in UE Location updating fails.Cause location updating failure abnormal cause include:Signal covering difference or signal interference cause greatly RRC wireless Link establishment failure, the NAS layer error indication for receiving rrc layer or receive rrc layer NAS signaling Connection Release indicate, UE into A new tracing area is entered, rrc layer indicating positions update request message sends failure, UE sends location updating and completes message When rrc layer instruction message send failure, timer T3430 time-out before do not receive the location updating of network side transmission and allow message Reason field detection failure, position updating process and other processes in location updating refuse information, location updating refuse information Conflict, UE failed authentications or the safe activation reasons such as unsuccessfully.The reason of network side refusal location updating, has:Illegal UE, EPS service It is not allowed to, PLMN is not allowed to, tracing area is not allowed to, EPS services are not allowed to etc..If UE carries out cell reselection After can not initiate business, it can be determined that location registration fail.Protocol stack indicates the total of the corresponding various protocols of some communication standard With, such as:Protocol stack includes gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE agreements Stack, FDD-LTE protocol stacks etc. include again multiple sub-protocol stacks below each communication standard protocol stack, and details are not described herein again.If hair Raw location updating failure, executes S302, if location updating failure does not occur, continues to execute S301.Location updating failure occurs When, 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 modem detection in place Update failure is set, application processor needs handle the exception at this time.Wherein, the format present invention of abnormal instruction message is not Be restricted, can by existing message extended field in the way of realize to realize or construct new message.
S303, the application processor obtain the first currently used protocol stack of the modem.
Specifically, protocol stack indicates 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, include multiple sub-protocol stacks again 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.Application processor obtain the first currently used protocol stack of modem method 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 indicates that corresponding protocol stack is open state, and flag bit 0 indicates that corresponding protocol stack is in off state.
S304, the application processor close first protocol stack, and support from the modem multiple Second protocol stack of the selection except first protocol stack in protocol stack.
Fail specifically, using the first protocol stack location updating occurs for modem, it is different so as to cause modem Often, modem needs to close the first protocol stack, prevents protocol stack from registering the problem of being rejected and repeated.Then, it applies Processor determines that selection is except the second protocol stack of the first protocol stack in multiple protocol stacks that modem is supported, wherein application Processor selection strategy can be:Select the protocol stack of level-one lower than the first protocol stack as second protocol stack;Or measure week The signal strength for enclosing the corresponding cell signal of each protocol stack, using the maximum protocol stack of signal strength as second protocol stack;Or Select protocol stack more higher leveled than the first protocol stack as second protocol stack;Or determine second protocol stack using other strategies, The present invention is not restricted.
S305, 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, using second protocol stack carry out network registry, such as the process registered of LTE network as:It is mobile to be initiated to network side Attach request returns to attachment response to mobile terminal, indicates network registry success, move if network side allows mobile terminal to access Dynamic terminal has been converted to service state by no service state;If network side does not allow mobile terminal to access, refused to mobile terminal return Absolutely/error message indicates network registry failure.
If the success of S306, network registry, the application processor record current location information.It can perform step later S307;It simultaneously can be with parallel execution of steps S309.
Specifically, location information indicates the mark for the logical place planned in advance in mobile communications network, for example, position is believed Breath includes cell ID or location area code etc..
Whether S307, 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 executes S308 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, indicate 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.
S308, the application processor restore the default protocol stack in multiple protocol stacks of the support on off state or The application processor restores the on off state of the default protocol stack in multiple protocol stacks of the support simultaneously while described in reset Modem.
Whether the abnormal cause that S309, location updating fail has reported.
Specifically, if the abnormal cause of location updating failure had reported, S301 is executed;When location updating failure After abnormal cause had reported, user can be adjusted or repair according to abnormal cause, continue to jump to later S301 by Modem detection is abnormal, if modem still detects that location updating fails, continues to execute the subsequent steps such as S302. Otherwise, S310 is executed.
S310, the abnormal cause for obtaining the location updating failure and daily record.
S311, 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 can In the case where mobile terminal connects upper wifi hotspot, above- mentioned information is reported to network side by wifi hotspot, to save Flow.Or abnormal cause can also be included being checked for user on the display screen of mobile terminal by application processor.
After above- mentioned information reports, can equally go to step S301, exception be detected by modem, if modulatedemodulate It adjusts device still to detect that location updating fails, then continues to execute the subsequent steps such as S302.
By way of cycle, it can be ensured that the solution of location updating failure problem, after Resolving probiems, modem It will not detect that location updating fails again, terminal can be restored to work normally.
Implement the embodiment of the present invention, application processor is connected to when modem detects location updating failure and sends Abnormal instruction message closes currently used protocol stack, and selection is except currently used protocol stack from multiple protocol stacks of support Other protocol stacks, open other protocol stacks and use other protocol stack registered networks, in network on successful registration, record is worked as Preceding location information, and in change in location, restore the on off state of default protocol stack or reset modem.It is adjusting in this way Modulator-demodulator can not be quickly detected when normal communication, and be made by way of switching other protocol stacks and carrying out network registry Modem automatically restores the normal of communication, avoids taking caused by forcing to restart mobile terminal or location updating long Problem reduces the time of network disaster recovery.
It is a kind of structural schematic 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:Determining module 401, selecting module 402, registration module 403, logging modle 404.
Determining module 401 obtains the modem after being used for the abnormal instruction message that receiving modem is sent The first currently used protocol stack;Wherein, the abnormal instruction message indicates that the modem detects that location updating loses It loses.
Selecting module 402, for closing first protocol stack, and multiple agreements from modem support Second protocol stack of the selection except first protocol stack in stack.
Registration module 403 carries out network registry for opening the second protocol stack, and using the second protocol stack.
If logging modle 404 records current location information for network registry success.
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 is used for when network registry fails, or after network registry success and when position changes, is restored It is silent in the on off state of default protocol stack in multiple protocol stacks of the support or multiple protocol stacks of the recovery support Recognize the on off state of protocol stack and resets the modem simultaneously.
Optionally, application processor further includes:
Reporting module obtains the location updating failure if the abnormal cause for location updating failure does not report Abnormal cause 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 establishing communication connection 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, another structural schematic diagram for a kind of application processor of the embodiment of the present invention is answered in this embodiment With processor for realizing the processing method of the network communicating function exception described in Fig. 1, application processor 5 includes CPU501, deposits The quantity of reservoir 502 and communication interface 503, the CPU501 in application processor can be one or more, and Fig. 5 is with a CPU For.In some embodiments of the present invention, CPU501, memory 502 and communication interface 503 can be connected by bus or other modes It connects, in Fig. 5 by taking bus connects as an example.
Wherein, batch processing code is stored in memory 502, and CPU501 is for calling the journey stored in memory 502 Sequence code, for performing the following operations:
After the abnormal instruction message that receiving modem is sent, the first currently used association of the modem is obtained Discuss stack;Wherein, the abnormal instruction message indicates that the modem detects that location updating fails;
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, CPU501 is additionally operable to execute:
If network registry fails, the application processor restores the default protocol stack in multiple protocol stacks of the support On off state or the application processor restore the on off state of the default protocol stack in multiple protocol stacks of the support and same Modem described in Shi Fuwei.
In some embodiments of the invention, if CPU501 executes the network registry success, current position letter is recorded After breath, it is additionally operable to execute:
When position changes, the application processor restores the default protocol stack in multiple protocol stacks of the support On off state or the application processor restore the on off state of the default protocol stack in multiple protocol stacks of the support simultaneously Reset the modem simultaneously.
In some embodiments of the invention, CPU501 is additionally operable to execute:
If the abnormal cause of the location updating failure does not report, abnormal cause and the day of the location updating failure are obtained Will;
The abnormal cause, the current location information and daily record are reported to network side and/or user.
In some embodiments of the invention, CPU501 execute it is described by the abnormal cause, the current position letter Breath and daily record are reported to network side and include:
It scans the wifi hotspot of surrounding and after establishing communication connection 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 additionally provides a kind of mobile terminal including above application processor, and mobile terminal includes but not It is limited to carryOr the mobile terminal of other operating systems, such as mobile electricity Words.Can also be other mobile terminals, such as with the above-knee of touch sensitive surface (for example, touch-screen display and/or Trackpad) Type computer 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 may 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, 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 executed 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..
It is above disclosed to be only a preferred embodiment of the present invention, the power of the present invention cannot be limited with this certainly Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and is weighed according to the present invention Equivalent variations made by profit requirement, still belong to the scope covered by the invention.

Claims (9)

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, it is currently used to obtain the modem First protocol stack;Wherein, the abnormal instruction message indicates that the modem detects that location updating fails;
The application processor closes 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 switch of the default protocol stack 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 if network registry success, records current location information Later, further include:
When position changes, the application processor restores opening for the default protocol stack in multiple protocol stacks of the support Off status or the application processor restore the on off state of the default protocol stack in multiple protocol stacks of the support and simultaneously Reset the modem.
3. method as claimed in claim 1 or 2, which is characterized in that further include:
If the abnormal cause of the location updating failure does not report, abnormal cause and the daily record of the location updating failure are obtained;
The abnormal cause, the current location information and daily record are reported to network side and/or user.
4. method as claimed in claim 3, which is characterized in that described by the abnormal cause, the current location information It is reported to network side with daily record, including:
It scans the wifi hotspot of surrounding and after establishing communication connection 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.
5. a kind of application processor, which is characterized in that including:
Determining module, after being used for the abnormal instruction message that receiving modem is sent, obtaining the modem currently makes First protocol stack;Wherein, the abnormal instruction message indicates that the modem detects that location updating fails;
Selecting module for closing first protocol stack, and is selected from multiple protocol stacks that the modem is supported Select the second protocol stack except first protocol stack;
Registration module carries out network registry for opening the second protocol stack, and using the second protocol stack;
If logging modle records current location information for network registry success;
Recovery module, for when network registry fails, restoring opening for the default protocol stack in multiple protocol stacks of the support Off status simultaneously resets the modem simultaneously;
The registration module is additionally operable to the default protocol stack in multiple protocol stacks that the recovery module restores the support After on off state simultaneously resets the modem simultaneously, the default protocol stack is used to carry out network registry.
6. application processor as claimed in claim 5, which is characterized in that
The recovery module, be additionally operable to when network registry success after and position change when, restore multiple associations of the support Discuss the switch shape of the on off state of the default protocol stack in stack or the default protocol stack in multiple protocol stacks of the recovery support State simultaneously resets the modem simultaneously.
7. such as application processor described in claim 5 or 6, which is characterized in that further include:
Reporting module obtains the different of the location updating failure if the abnormal cause for location updating failure does not report Normal reason and daily record;The abnormal cause, the current location information and daily record are reported to network side and/or user.
8. processor the use as claimed in claim 7, which is characterized in that the reporting module is specifically used for:
It scans the wifi hotspot of surrounding and after establishing communication connection 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.
9. a kind of mobile terminal, which is characterized in that include the application processor as described in claim 5-8 any one.
CN201510828670.7A 2015-11-24 2015-11-24 Processing method, application processor and the mobile terminal of network communicating function exception Active CN105491608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510828670.7A CN105491608B (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
CN201510828670.7A CN105491608B (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
CN105491608A CN105491608A (en) 2016-04-13
CN105491608B true CN105491608B (en) 2018-09-04

Family

ID=55678239

Family Applications (1)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019187613A1 (en) * 2018-03-26 2019-10-03 住友電気工業株式会社 Vehicle-mounted communication system, switch device, communication control method, and communication control program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8504902B2 (en) * 2009-09-09 2013-08-06 Apple Inc. Methods and apparatus for virtually connected communication modes

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105491608A (en) 2016-04-13

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
CN105357049B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105338663B (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
CN105376113B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105491604B (en) Processing method, modem and the user terminal of network communicating function exception
CN105634794B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105491608B (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
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
CN108684056B (en) Processing method, modem, mobile terminal and the storage medium of network communicating function exception
CN105517029B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376774B (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
CN105376789B (en) Network communicating function abnormal processing method, modem and mobile terminal
CN105491607B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105491605B (en) A kind of network communicating function abnormality eliminating method, modem and mobile terminal
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
CN105376779B (en) A kind of network communicating function abnormality eliminating method, application processor and mobile terminal
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