CN105376773B - 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 PDFInfo
- Publication number
- CN105376773B CN105376773B CN201510824799.0A CN201510824799A CN105376773B CN 105376773 B CN105376773 B CN 105376773B CN 201510824799 A CN201510824799 A CN 201510824799A CN 105376773 B CN105376773 B CN 105376773B
- Authority
- CN
- China
- Prior art keywords
- protocol stack
- application processor
- modem
- network
- rejected
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
- H04W60/04—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration using triggered events
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 methods of network communicating function exception, including:After the abnormal instruction message that application processor receiving modem is sent, judge that the protocol stack for whether occurring to set number in setting time registers the abnormal conditions being rejected, if the result judged is yes, obtains the first currently used protocol stack of modem;Wherein, abnormal instruction message instruction modem detects that protocol stack registration is rejected;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
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 protocol stack registration be rejected.In order to solve can not Networked communication exception, at present
Frequently with solution be:It when mobile phone is moved to the new band of position, updates and asks to network side launch position, network stresses
Newly mobile phone is configured, restores the configuration parameter of modem;Or user has found after being unable to Networked communication for a long time, manually
Mobile terminal is carried out forcing to restart recovery or the configuration parameter of modem is set.But the time 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 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, judge whether set in setting time
The protocol stack for determining number registers the abnormal conditions being rejected, wherein the exception instruction message indicates the modem inspection
Protocol stack registration is measured to be rejected;
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
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, 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
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 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,
Further include:
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 the first possible realization method of first aspect or first aspect possible
The possible realization method of the third of realization method or first aspect, in the 4th kind of possible realization method, the method is also
Including:
If the abnormal cause that the protocol stack registration is rejected does not report, obtains the protocol stack and register the exception being rejected
Reason and daily record;
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
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:
Judgment module judges whether sent out in setting time after being used for the abnormal instruction message that receiving modem is sent
The protocol stack of raw setting number registers the abnormal conditions being rejected, wherein the exception instruction message indicates the modulation /demodulation
Device detects that protocol stack registration is rejected;
Determining module obtains the first currently used association of the modem if being yes for the result judged
Discuss stack;
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, the application processor further includes:
Recovery module, for when network registry fails or after network registry success and when position changes, restoring
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 protocol stack note if the abnormal cause for protocol stack registration to be rejected does not report
The abnormal cause and daily record that volume is rejected;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 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 protocol stack registration is rejected,
The currently used protocol stack of modem is closed, selection is except currently used from multiple protocol stacks that modem is supported
Other protocol stacks of protocol 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 associations
The mode that view stack carries out network registry makes modem automatically attempt to restore normal, avoids forcing to restart mobile phone or location updating
Caused by 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, judge in setting time whether
The protocol stack that setting number occurs registers the abnormal conditions being rejected, wherein the exception instruction message instruction Modem is detected
Protocol stack registration is rejected.
After the abnormal instruction message that application processor receives modem transmission, judge whether sent out in setting time
The protocol stack of raw setting number registers the abnormal conditions being rejected, to ensure the stability of detection case;If in setting time
It does not detect that the protocol stack of setting number registers the abnormal conditions being rejected, 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 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.Due to certain
A little network reasons, legal user terminal (User Equipment, abbreviation UE) registered network sometimes can also be refused by network
Lead to no service, it is necessary to be restarted manually by user and retry registration again, usual reason includes the failure of network authentication flow, international roaming
When operator between signing problem etc..Such as:After UE sends attach request (Attach Request or LAU) message, in timing
Attachment refusal (Attach Reject) message that network transmission is received before device T3410 time-out, adheres in refuse information and carries
Network refuses the reason of UE attachments, for example, illegal UE (Illegal ME), EPS service is 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.Into no service (Out of Service, OOS) shape after UE receives attachment refusal
State.Protocol stack indicates the summation of the corresponding various protocols of some communication standard, such as:Protocol stack includes gsm protocol stack, EDGE associations
Discuss stack, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks etc., each communication standard association
It includes again multiple sub-protocol stacks to discuss below stack, and details are not described herein again.Modem detect protocol stack registration be rejected when,
Determine the first currently used 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.
S103, 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 to cause protocol stack to register the protocol stack that is rejected, application processor needs closing the
One protocol stack prevents protocol stack from registering the problem of being rejected and repeated.Then, modem determines that modem is supported
Multiple protocol stacks in selection except the first protocol stack second protocol stack, wherein modem selection strategy can be:Choosing
The protocol stack of level-one lower than the first protocol stack is selected as second protocol stack;Or measure the corresponding cell signal of each protocol stack of surrounding
Signal strength, using the maximum protocol stack of signal strength as second protocol stack;Or selection association more higher leveled than the first protocol stack
Stack is discussed as second protocol stack;Or determine that second protocol stack, the present invention are not restricted using other strategies.
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 is converted to Idle state by connected state, and application processor opens choosing
The second protocol stack selected carries out network registry using second protocol stack, and the process of network registry is:Mobile terminal is sent out to network side
Attach request (attach request) is played, 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 S105, 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 receives modem and detects protocol stack registration when being rejected
The abnormal instruction message of transmission closes the currently used protocol stack of modem, the multiple agreements supported from modem
Selection opens other protocol stacks and registers net using other protocol stacks except other protocol stacks of currently used protocol stack in stack
Network records current location information in network on successful registration.In this way modem can not normal communication when it is quick
It is detected, and makes modem automatically attempt to restore normal in such a way that other protocol stacks carry out network registry, avoid
It forces to take long problem 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 protocol stack registration is rejected.
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..Due to certain
Network reason, legal UE user's registrations network sometimes can also be refused to lead to no service by network, it is necessary to be weighed manually by user
It opens and retries registration again, signing problem etc. between operator when usual reason includes the failure of network authentication flow, international roaming.Example
Such as:After UE sends attach request (Attach Request or LAU) message, network is received before timer T3410 time-out
(Attach Reject) message is refused in the attachment of transmission, adheres in refuse information the reason of carrying network refusal UE attachments, example
Such as, illegal UE (Illegal ME), EPS are serviced and are not allowed to (EPS services not allowed), PLMN is not allowed to
(PLMN not allowed), tracing area are not allowed to (Tracking area not allowed), EPS services are not permitted
Perhaps etc..Into no service (Out of Service, OOS) state after UE receives attachment refusal.If protocol stack, which occurs, registers quilt
Refusal executes S202, is rejected if protocol stack registration does not occur, continues to execute S201.When generation protocol stack registration is rejected,
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 association
View stack registration is rejected, and application processor needs handle the exception at this time.Wherein, this hair of the format of abnormal instruction message
It is bright not to be restricted, can by existing message extended field in the way of realize to realize or construct new message.
S203, the application processor judge what the protocol stack for whether occurring to set number in setting time registration was rejected
Abnormal conditions, if so, proceeding to S204;Otherwise, proceed to S205, the application processor resets the modem.
After the abnormal instruction message that application processor receives modem transmission, judge whether sent out in setting time
The protocol stack of raw setting number registers the abnormal conditions being rejected, to ensure the stability of detection case.
S204, 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.
S206, 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.
It is rejected specifically, using the first protocol stack protocol stack registration occurs for modem, so as to cause modulation /demodulation
Device is abnormal, and modem needs to close the first protocol stack, prevents protocol stack from registering the problem of being rejected and repeated.Then,
Application 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 it surveys
The signal strength of the corresponding cell signal of each protocol stack of amount surrounding, 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 the second association using other strategies
Stack is discussed, 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 is converted to Idle state by connected state, and application processor opens choosing
The second protocol stack selected, using second protocol stack carry out network registry, such as the process registered of LTE network as:It moves to network
Side initiate attach request, if network side allow mobile terminal access, to mobile terminal return attachment response, indicate network registry at
Work(, mobile terminal have been converted to service state by no service state;If network side does not allow mobile terminal to access, returned to mobile terminal
Refusal/error message is returned, indicates network registry failure.
Whether S208, network registry succeed.
Specifically, if application processor executes S209, if application processor using network on second protocol stack successful registration
It registers upper network not successfully using second protocol stack, executes S210.
S209, 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..
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.
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 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 executes 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, 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.
S212, 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 S213, protocol stack registration are rejected has reported.
Specifically, if the abnormal cause that protocol stack registration is rejected had reported, S216 is executed;Otherwise, it executes
S214。
S214, abnormal cause and daily record that the protocol stack registration is rejected are obtained.
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 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.
S216, the application processor processes this abnormal endings.
Implement the embodiment of the present invention, application processor is connected to modem and detects that protocol stack is registered the when of being rejected and sent out
The abnormal instruction message sent, closes currently used protocol stack, and selection is except currently used association from multiple protocol stacks of support
Other protocol stacks for discussing stack open other protocol stacks and use other protocol stack registered networks, in network on successful registration, note
Current location information is recorded, and in change in location or when registered network fails, restores the on off state or multiple of default protocol stack
Position modem.It can not be quickly detected when normal communication in modem in this way, and by switching other agreements
The mode that stack carries out network registry makes modem automatically restore the normal of communication, avoids forcing to restart mobile terminal or position
Long problem is taken caused by setting update, 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 protocol stack registration is rejected.
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..Due to certain
Network reason, legal UE user's registrations network sometimes can also be refused to lead to no service by network, it is necessary to be weighed manually by user
It opens and retries registration again, signing problem etc. between operator when usual reason includes the failure of network authentication flow, international roaming.Example
Such as:After UE sends Attach Request message, the attachment refuse information of network transmission is received before timer T3410 time-out, it is attached
The reason of network refusal UE attachments are carried in refuse information, for example, illegal UE, EPS service is not allowed to, PLMN is not permitted
Perhaps, tracing area is not allowed to, EPS services are not allowed to.Enter non-service state after UE receives attachment refusal.If occurring
Protocol stack registration is rejected, and executes S302, is rejected if protocol stack registration does not occur, is continued to execute S301.Protocol stack occurs
When registration is rejected, 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 association
View stack registration is rejected, and application processor needs handle the exception at this time.Wherein, this hair of the format of abnormal instruction message
It is bright not to be restricted, can by existing message extended field in the way of realize to realize or construct new message.
S303, the application processor judge what the protocol stack for whether occurring to set number in setting time registration was rejected
Abnormal conditions, if so, proceeding to S304;Otherwise, proceed to S301.
After the abnormal instruction message that application processor receives modem transmission, judge whether sent out in setting time
The protocol stack of raw setting number registers the abnormal conditions being rejected, to ensure the stability of detection case.
S304, 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.
S305, 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.
It is rejected specifically, using the first protocol stack protocol stack registration occurs for modem, so as to cause modulation /demodulation
Device is abnormal, and modem needs to close the first protocol stack, prevents protocol stack from registering the problem of being rejected and repeated.Then,
Application 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 it surveys
The signal strength of the corresponding cell signal of each protocol stack of amount surrounding, 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 the second association using other strategies
Stack is discussed, 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 is converted to Idle state by connected state, and application processor opens choosing
The second protocol stack selected carries out network registry using second protocol stack, and the process of network registry is:It is mobile attached to network side initiation
Request, if network side allows mobile terminal to access, attachment response is returned to mobile terminal, indicates network registry success, it is mobile
Terminal has been converted to service state by no service state;If network side does not allow mobile terminal to access, to mobile terminal return refusal/
Error message indicates 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 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 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 executes 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, 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.
S309, 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 and resets modulation simultaneously
Demodulator.
Whether the abnormal cause that S310, protocol stack registration are rejected has reported.
Specifically, if the abnormal cause that protocol stack registration is rejected had reported, S301 is executed;When protocol stack is registered
After the abnormal cause being rejected had reported, user can be adjusted or repair according to abnormal cause, continue to redirect later
Exception is detected by modem to S301, registration is rejected if modem still detects protocol stack, is continued to execute
The subsequent steps such as S302.Otherwise, S311 is executed.
S311, abnormal cause and daily record that the protocol stack registration is rejected are obtained.
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 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 protocol stack registration is rejected, then continues to execute the subsequent steps such as S302.
By way of cycle, it can be ensured that protocol stack registers the solution for the problem that is rejected, after Resolving probiems, modulatedemodulate
Adjust device that will not detect that protocol stack registration is rejected again, terminal can be restored to work normally.
Implement the embodiment of the present invention, application processor is connected to modem and detects that protocol stack is registered the when of being rejected and sent out
The abnormal instruction message sent, closes currently used protocol stack, and selection is except currently used association from multiple protocol stacks of support
Other protocol stacks for discussing stack open other protocol stacks and use other protocol stack registered networks, in network on successful registration, note
Current location information is recorded, and in change in location, restore the on off state of default protocol stack or resets modem.In this way
It can not be quickly detected when normal communication in modem, and carry out the side of network registry by switching other protocol stacks
Formula makes modem automatically restore the normal of communication, avoids forcing to take caused by restarting 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: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 protocol stack that setting number occurs registers the abnormal conditions being rejected, wherein the exception instruction message indicates the modulatedemodulate
Device is adjusted to detect that protocol stack registration is rejected.
Determining module 402, if being yes for the result judged, obtain the modem it is currently used first
Protocol stack.
Selecting module 403, 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 404 carries out network registry for opening the second protocol stack, and using the second protocol stack.
If logging modle 405 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, for when network registry fails or after network registry success and when position changes, restoring
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 protocol stack note if the abnormal cause for protocol stack registration to be rejected does not report
The abnormal cause and daily record that volume is rejected;The abnormal cause, the current location information and daily record are reported to network side
And/or user.
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 association for whether occurring to set number in setting time is judged
View stack registers the abnormal conditions being rejected, wherein the exception instruction message indicates that the modem detects protocol stack
Registration is rejected;
If the result judged is yes, the application processor obtains the first currently used association of the modem
Discuss stack;
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 the result judged is no, the application processor resets the modem.
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 described in 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, CPU501 is additionally operable to execute:
If the abnormal cause that the protocol stack registration is rejected does not report, obtains the protocol stack and register the exception being rejected
Reason 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, 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, judge setting time whether occurs in setting time
Several protocol stacks registers the abnormal conditions being rejected, wherein the exception instruction message indicates that the modem detects
Protocol stack registration is rejected;
If the result judged is yes, the application processor obtains the first currently used agreement of the modem
Stack;
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 that the protocol stack registration is rejected does not report, obtains the protocol stack and register the abnormal cause being rejected
And daily record;
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:
Judgment module judges whether set in setting time after being used for the abnormal instruction message that receiving modem is sent
The protocol stack for determining number registers the abnormal conditions being rejected, wherein the exception instruction message indicates the modem inspection
Protocol stack registration is measured to be rejected;
Determining module obtains the first currently used protocol stack of the modem if being yes for the result judged;
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 opening for the default protocol stack when network registry fails, in multiple protocol stacks of the recovery support
Off status simultaneously resets the modem simultaneously;
The registration module is additionally operable to after the recovery module resets the modem, uses the default protocol stack
Carry out network registry.
6. application processor as claimed in claim 5, it is characterised 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 protocol stack registration quilt if the abnormal cause for protocol stack registration to be rejected does not report
The abnormal cause of refusal and daily record;By the abnormal cause, the current location information and daily record be 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-7 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510824799.0A CN105376773B (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 |
---|---|---|---|
CN201510824799.0A CN105376773B (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 |
---|---|
CN105376773A CN105376773A (en) | 2016-03-02 |
CN105376773B true CN105376773B (en) | 2018-09-04 |
Family
ID=55378482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510824799.0A Active CN105376773B (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) | CN105376773B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2786947C1 (en) * | 2020-10-22 | 2022-12-26 | Хонор Девайс Ко., Лтд. | Method for anomaly processing during registration in the communication network, equipment, storage media and integrated circuit |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106488492A (en) * | 2016-12-13 | 2017-03-08 | 广东欧珀移动通信有限公司 | The abnormal processing method and processing device of network communicating function |
CN106686637A (en) * | 2016-12-13 | 2017-05-17 | 广东欧珀移动通信有限公司 | Processing method of network communication function abnormities and processing device |
CN106507405A (en) * | 2016-12-13 | 2017-03-15 | 广东欧珀移动通信有限公司 | The abnormal processing method and processing device of network communicating function |
CN106686638A (en) * | 2016-12-13 | 2017-05-17 | 广东欧珀移动通信有限公司 | Network communication function abnormality processing method and network communication function abnormality processing device |
CN106851702A (en) * | 2016-12-13 | 2017-06-13 | 广东欧珀移动通信有限公司 | The abnormal processing method and processing device of network communicating function |
CN106488491A (en) * | 2016-12-13 | 2017-03-08 | 广东欧珀移动通信有限公司 | The abnormal processing method and processing device of network communicating function |
DE112019005926B4 (en) | 2018-11-28 | 2023-01-19 | Kyocera Corporation | COMMUNICATION DEVICE, VEHICLE AND METHOD |
CN110958684B (en) * | 2019-11-28 | 2022-09-20 | 维沃移动通信有限公司 | Network registration method and user equipment |
CN111212417B (en) * | 2019-12-20 | 2020-10-13 | 翱捷科技股份有限公司 | Mobile terminal and crash fault recovery method thereof |
CN112261682B (en) * | 2020-10-15 | 2023-05-05 | 高新兴物联科技股份有限公司 | Method and device for carrying out APN matching based on registration state |
CN113810937B (en) * | 2020-10-22 | 2022-08-23 | 荣耀终端有限公司 | Method, device, storage medium and chip for processing network registration exception |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413529A (en) * | 2011-11-28 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal |
CN102763484A (en) * | 2009-11-23 | 2012-10-31 | 捷讯研究有限公司 | Method and apparatus for state/mode transitioning |
CN103841615A (en) * | 2012-11-22 | 2014-06-04 | 三星电子株式会社 | Apparatus and method for selecting network in communication system |
-
2015
- 2015-11-24 CN CN201510824799.0A patent/CN105376773B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102763484A (en) * | 2009-11-23 | 2012-10-31 | 捷讯研究有限公司 | Method and apparatus for state/mode transitioning |
CN102413529A (en) * | 2011-11-28 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal |
CN103841615A (en) * | 2012-11-22 | 2014-06-04 | 三星电子株式会社 | Apparatus and method for selecting network in communication system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2786947C1 (en) * | 2020-10-22 | 2022-12-26 | Хонор Девайс Ко., Лтд. | Method for anomaly processing during registration in the communication network, equipment, storage media and integrated circuit |
RU2802818C2 (en) * | 2020-10-22 | 2023-09-04 | Хонор Девайс Ко., Лтд. | Method for processing anomalies during registration in a communication network, equipment, information storage medium and integral circuits |
Also Published As
Publication number | Publication date |
---|---|
CN105376773A (en) | 2016-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105376773B (en) | Processing method, application processor and the mobile 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 | |
CN105357053A (en) | Network communication functional abnormity processing method, application processor and user terminal | |
CN105338663B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
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 | |
CN105491603B (en) | Network communicating function abnormal processing method, application processor and mobile terminal | |
CN105376094B (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 | |
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 | |
CN105634794B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105490838B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376873B (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 | |
CN105491608B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376786B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105517029B (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 | |
CN105357705B (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 | |
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 | |
CN105357704B (en) | Processing method, application processor and the mobile terminal of network communicating function exception |
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 |