CN105490838B - Processing method, modem and the mobile terminal of network communicating function exception - Google Patents
Processing method, modem and the mobile terminal of network communicating function exception Download PDFInfo
- Publication number
- CN105490838B CN105490838B CN201510827873.4A CN201510827873A CN105490838B CN 105490838 B CN105490838 B CN 105490838B CN 201510827873 A CN201510827873 A CN 201510827873A CN 105490838 B CN105490838 B CN 105490838B
- Authority
- CN
- China
- Prior art keywords
- modem
- protocol stack
- network
- protocol
- location updating
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of processing method of network communicating function exception, including:After modem detects location updating failure, the first currently used protocol stack of modem is obtained;Modem closes the first protocol stack and the second protocol stack except the first protocol stack is selected from multiple protocol stacks that modem is supported;Modem opens second protocol stack, and carries out network registry using second protocol stack;If network registry success, modem record current location information.The embodiment of the invention also discloses a kind of modem 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, modems
And mobile terminal.
Background technology
With the development of the communication technology, the type for the communication standard that mobile phone is supported is more and more, such as:One mobile phone is simultaneously
It supports the communication standard of 2G, 3G and 4G of different operators, saves the inconvenience for replacing mobile phone.The high speed development of mobile Internet makes
Data service occupies absolute proportion, so as to which the effect of the modem in mobile phone and status become more and more important, modem
For by data to be sent be converted to radiofrequency signal and by radiofrequency signal be converted to pending data, processing access layer (AS) and
The signaling of Non-Access Stratum (NAS) and with AP processors into line interface etc..It is very multiple in the mobile network environment residing for mobile phone
Miscellaneous, mobile phone often switches between different communication standards, often occurs during communication standard switches different
Often, mobile phone can not normal Networked communication, such as location updating failure.In order to solve can not Networked communication exception, often adopt at present
Solution is:It when mobile phone is moved to the new band of position, updates and asks to network side launch position, network side is again right
Mobile phone is configured, and restores the configuration parameter of modem;Or user is had found after being unable to Networked communication for a long time, manually to moving
Dynamic terminal carries out forcing to restart the configuration parameter for restoring modem.But the time that two schemes expend is long, user
It 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, modem 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
Attempt to restore or restore communication service to take the problem of long.
In order to solve the above-mentioned technical problem, first aspect of the embodiment of the present invention provides a kind of network communicating function exception
Processing method, including:
Modem detects that location updating fails;
The modem obtains the first currently used protocol stack of the modem;
The modem closes first protocol stack and the multiple protocol stacks supported from the modem
Middle selection is except the second protocol stack of first protocol stack;
The modem opens the second protocol stack, and carries out network registry using the second protocol stack;
If network registry success, the modem record current location information.
With reference to first aspect, in the first possible implementation, it further includes:
If network registry fails, the default protocol stack in the multiple protocol stacks supported described in the modem recovery
The on off state of default protocol stack in the multiple protocol stacks supported described on off state or the modem recovery is simultaneously 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 the modem records current location information, further includes:
When position changes, the default protocol stack in the multiple protocol stacks supported described in the modem recovery
On off state or the modem recovery described in default protocol stack in multiple protocol stacks for supporting on off state simultaneously
Reset the modem simultaneously.
With reference to first aspect or the first possible realization method or second of possible realization method of 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, the modem obtains the location updating failure
Abnormal cause and daily record;
The modem by the abnormal cause, the current location information and daily record be reported to network side and/
Or user.
The third possible realization method with reference to first aspect, in the 4th kind of possible realization method, the modulation
The abnormal cause, the current location information and daily record are reported to network side and included by demodulator:
Scan the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, the modem passes through foundation
The abnormal cause, the current location information and daily record are reported to network side by the wifi hotspot of communication connection.
Second aspect of the embodiment of the present invention provides a kind of modem, including:
Detection module, for detecting that location updating fails;
Determining module, for obtaining the first currently used protocol stack of the modem;
Selecting module, for the multiple protocol stacks closed first protocol stack and supported from the modem
Middle selection is except the second protocol stack of first protocol stack;
Registration module for opening the second protocol stack, and carries out network registry using the second protocol stack;
If logging modle for network registry success, records current location information.
With reference to second aspect, in the first possible implementation, the modem further includes:
Recovery module, for when network registry fails or when 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 reset the modem simultaneously.
With reference to the possible realization method of the first of second aspect or second aspect, in second of possible realization method
In, the modem further includes:
Reporting module if the abnormal cause for location updating failure does not report, obtains the location updating failure
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 with reference to second of possible realization method of second aspect
Module is specifically used for:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi for establishing communication connection
The abnormal cause, the current location information and daily record are reported to network side by hot spot.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including the modulation /demodulation described in above-mentioned any one
Device.
Implement the embodiment of the present invention, have the advantages that:
Modem closes modem currently used protocol stack when detecting location updating failure, from modulatedemodulate
Selection in multiple protocol stacks of device support is adjusted except other protocol stacks of currently used protocol stack, to open other protocol stacks and use
Other protocol stack registered networks in network on successful registration, record current location information.It in this way can not in modem
It is quickly detected during normal communication, and modem is made to taste automatically in a manner that other protocol stacks carry out network registry
Examination restores normal, and it is long to avoid the problem that pressure takes caused by restarting mobile phone or location updating, reduces network disaster recovery
Time.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of the processing method of network communicating function exception provided in an embodiment of the present invention;
Fig. 2 is a kind of another flow signal of the processing method of network communicating function exception provided in an embodiment of the present invention
Figure;
Fig. 3 is a kind of another flow signal of the processing method of network communicating function exception provided in an embodiment of the present invention
Figure;
Fig. 4 is a kind of structure diagram of modem provided in an embodiment of the present invention;
Fig. 5 is a kind of another structure diagram of modem provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
It is that a kind of flow of processing method of network communicating function exception provided in an embodiment of the present invention is illustrated referring to Fig. 1
Figure, in embodiments of the present invention, the method includes:
S101, modem detect that location updating fails.
S102, the modem obtain the first currently used protocol stack of the modem.
Specifically, modem is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to base band letter
Number, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modem branch
Hold various protocols stack.UE is by sending location update request message (such as LOCATION UPDATE REQUEST, TRACKING
AREA UPDATE REQUEST etc.) launch position registration process, it is completed in user terminal (User Equipment, abbreviation UE)
Before location updating, protocol stack exception or network side refusal location updating can result in the failure of UE location updatings.Lead to position
The abnormal cause of update failure includes:Signal covering difference or signal interference lead to greatly the failure of RRC wireless links, NAS layers of receipts
To rrc layer error indication or receive rrc layer NAS signaling Connection Release instruction, UE enter a new tracing area
(TA), rrc layer indicating positions update request message sends failure, UE sends location updating and completes message (TRACKING AREA
UPDATE COMPLETE) when rrc layer instruction message send failure, timer T3430 time-out before do not receive network side transmission
Location updating allows message (TRACKING AREA UPDATE ACCEPT) location updating to refuse (TRACKING AREA
UPDATE REJECT) message, location updating refusal (TRACKING AREA UPDATE REJECT) message in the reason of field
Detection failure, position updating process and other conflict in process, UE failed authentications or the safe activation reasons such as unsuccessfully.Network side is refused
The reason of location updating, has: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 etc..If UE can not initiate business after carrying out cell reselection, it can be determined that note position
Volume failure.Protocol stack represents the summation of the corresponding various protocols of some communication standard, such as:Protocol stack include gsm protocol stack,
EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks etc., each communication
Again including multiple sub-protocol stacks below standard protocol stack, details are not described herein again.Modem is detecting location updating failure
When, determine the first currently used protocol stack.
It should be noted that modem can be integrated in the inside of application processor AP or independently of should
With a chip of processor, the present invention is not restricted.
S103, the modem are closed first protocol stack and are supported from the modem multiple
Selection is except the second protocol stack of first protocol stack in protocol stack.
Specifically, the first protocol stack is the protocol stack for causing location updating failure, modem 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
The second protocol stack that selection in stack removes the first protocol stack is discussed, wherein, the strategy of modem selection 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 protocol stack of signal strength maximum as second protocol stack;Or select protocol stack more higher leveled than the first protocol stack as
Second protocol stack;Or using the determining second protocol stack of other strategies, the present invention is not restricted.
S104, the modem 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 modem opens the of selection
Two protocol stacks carry out network registry using second protocol stack, for example, 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), represents network registry success, and mobile terminal is converted to connected state by Idle state;If network side does not allow
Mobile terminal accesses, and error message is returned to mobile terminal, represents network registry failure.
If the success of S105, network registry, the modem record current location information.
Specifically, location information represents that logical place, location information can be small to mobile terminal in the mobile communication network
Area identifies or regional location code or position tracking region etc., and the present invention is not restricted.If use second protocol stack registered network
Success, modem record current location information.
Implement the embodiment of the present invention, when modem detects location updating failure, it is current to close modem
The protocol stack used, selection is except other agreements of currently used protocol stack from multiple protocol stacks of modem support
Stack opens other protocol stacks and uses other protocol stack registered networks, in network on successful registration, records current position letter
Breath.It can not be quickly detected during normal communication in modem in this way, and pass through other protocol stacks and carry out network registry
Mode modem is made to automatically attempt to restore normal, avoid forcing to take caused by restarting mobile phone or location updating long
Problem reduces the time of network disaster recovery.
It is that a kind of flow of processing method of network communicating function exception provided in an embodiment of the present invention is illustrated referring to Fig. 2
Figure, in embodiments of the present invention, the method includes:
S201, modem detect that location updating fails.
Specifically, modem is mounted in mobile phone, can be encapsulated as in application processor AP or independently of at
Device is managed, the present invention is not restricted.Modem is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to 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.The abnormal cause of location updating failure is caused to include:Signal covering difference or signal interference lead to greatly RRC
Wireless link failure, the NAS layer error indication for receiving rrc layer or receive rrc layer NAS signaling Connection Release indicate,
UE enters a new tracing area (TA), rrc layer indicating positions update request message sends failure, UE transmission location updatings
Rrc layer instruction message sends failure when completing message (TRACKING AREA UPDATE COMPLETE), timer T3430 surpasses
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 refusal (TRACKING AREA UPDATE
REJECT the field detection failure of) in message the reason of, 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.Modem can detect that location updating fails.
S202, the modem obtain the first currently used protocol stack of the modem.
Specifically, protocol stack represents the summation of the corresponding various protocols stack of some communication standard, such as:Protocol stack includes
Gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks
Deng, again including multiple sub-protocol stacks below each communication standard protocol stack, such as:TD-LTE protocol stacks include physical layer protocol again
Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS associations
Discuss stack etc..Details are not described herein again.The method that modem obtains currently used the first protocol stack of modem can be:
The state flag bit for inquiring presentation protocol stack in modem obtains the first currently used protocol stack, such as 1 table of flag bit
Show corresponding protocol stack for opening, flag bit 0 represents that corresponding protocol stack is in off state.
S203, the modem are closed first protocol stack and are supported from the modem multiple
Selection is except the second protocol stack of first protocol stack in protocol stack.
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 modulates
Demodulator determines that selection is except the second protocol stack of the first protocol stack in multiple protocol stacks that modem is supported, wherein, modulation
Demodulator selection strategy can be:The protocol stack of level-one lower than the first protocol stack is selected as second protocol stack;Or measure week
The signal strength of the corresponding cell signal of each protocol stack is enclosed, using the protocol stack of signal strength maximum as second protocol stack;Or
Protocol stack more higher leveled than the first protocol stack is selected as second protocol stack;Or determine second protocol stack using other strategies,
The present invention is not restricted.
S204, the modem 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 modem opens the of selection
Two protocol stacks carry out network registry using second protocol stack, for example, the process registered of LTE network as:It is mobile to be initiated to network side
Attach request if network side allows mobile terminal to access, returns to attachment response to mobile terminal, represents network registry success, move
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 represents network registry failure.
Whether S205, network registry succeed.
Specifically, if modem performs S206, if modem using network on second protocol stack successful registration
It registers upper network not successfully using second protocol stack, performs S207.
S206, the modem record current location information.
Specifically, location information represents the mark of logical place planned in advance in mobile communications network, for example, position is believed
Breath includes cell ID or location area code etc..
The on off state of default protocol stack in the multiple protocol stacks supported described in S207, the modem recovery or
The on off state of default protocol stack in the multiple protocol stacks supported described in the modem recovery is simultaneously while described in reset
Modem.
Specifically, modem is using the second protocol stack upper network of registration not successfully, modem according to it is advance
The on off state of default protocol stack known restores the on off state of default protocol stack or resets modem simultaneously.Acquiescence association
A pre-set protocol stack in multiple protocol stacks that stack is supported for modem is discussed, all regions can be directed to herein
The protocol stack that the protocol stack of same acquiescence is set to be used as modem initial selected, can also be directed to it is single area or
Different default protocol stacks is set respectively in some region of multiple areas, the embodiment of the present invention is not limited in any way.It carries out
After resetting operation, modem carries out network registry using default protocol stack, after network registry success, uses default protocol stack
It works.
Whether S208, location information change.
Specifically, modem periodically obtains location information, upper obtain in the location information that currently obtains and once
The location information taken performs S209, otherwise continues to execute S208 compared to when changing.For example, location information is cell ID,
Mobile terminal is moved to another cell by a cell, represents 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.Modem obtains
The period present invention of location information is not restricted, and can be configured according to actual demand.
The on off state of default protocol stack in the multiple protocol stacks supported described in S209, the modem recovery or
The on off state of default protocol stack in the multiple protocol stacks supported described in the modem recovery is simultaneously while described in reset
Modem.
Whether the abnormal cause that S210, location updating fail has reported.
Specifically, if the abnormal cause of location updating failure had reported, S213 is performed;Otherwise, S211 is performed.
S211, the abnormal cause for obtaining the location updating failure and daily record.
S212, 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 modem, wherein, it can
In the case of connecting wifi hotspot in mobile terminal, above- mentioned information is reported to by network side by wifi hotspot, to save
Flow.Or modem can also include abnormal cause on the display screen of mobile terminal, be checked for user.
It should be noted that after having performed S206, execution S208 and S210 that can be parallel.
S213, the modem processes this abnormal endings.
Implement the embodiment of the present invention, when modem detects location updating failure, close currently used agreement
Stack selects other protocol stacks except currently used protocol stack from multiple protocol stacks of support, opens other protocol stacks and make
With other protocol stack registered networks, in network on successful registration, current location information is recorded, and in change in location or note
During volume network failure, restore the on off state of default protocol stack or reset modem.It in this way can not be just in modem
Normal open is quickly detected when believing, and makes modem automatic by way of switching other protocol stacks and carrying out network registry
Recovery communication it is normal, avoid the problem that forcing to restart and take caused by mobile terminal or location updating long, reduce net
The time of network fault 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:
S301, modem detect that location updating fails.
Specifically, modem is mounted in mobile phone, can be encapsulated as in application processor AP or independently of at
Device is managed, the present invention is not restricted.Modem is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to 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
Location update request message launch position registration process is sent, before UE completes location updating, protocol stack exception or network side are refused
Exhausted location updating can result in the failure of UE location updatings.The abnormal cause of location updating failure is caused to include:Signal covering is poor
Or signal interference leads to greatly the failure of RRC wireless links, the NAS layers of error indication for receiving rrc layer or receives rrc layer
The instruction of NAS signaling Connection Release, UE enter a new tracing area (TA), rrc layer indicating positions update request message hair
Failure, UE is sent to send before rrc layer instruction message when location updating completes message sends failure, timer T3430 time-out not receive
The location updating sent to network side allows field the reason of in message, location updating refuse information, location updating refuse information
Detection failure, position updating process and other conflict in process, UE failed authentications or the safe activation reasons such as unsuccessfully.Network side is refused
The reason of location updating, has:Illegal UE, EPS service is not allowed to, PLMN is not allowed to, tracing area is not allowed to, EPS services
Be not allowed to etc..If UE can not initiate business after carrying out cell reselection, it can be determined that location registration fails.Modem
It can detect that location updating fails.
S302, the modem obtain the first currently used protocol stack of the modem.
Specifically, protocol stack represents the summation of the corresponding various protocols stack of some communication standard, such as:Protocol stack includes
Gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks
Deng, again including multiple sub-protocol stacks below each communication standard protocol stack, such as:TD-LTE protocol stacks include physical layer protocol again
Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS associations
Discuss stack etc..Details are not described herein again.The method that modem obtains currently used the first protocol stack of modem can be:
The state flag bit for inquiring presentation protocol stack in modem obtains the first currently used protocol stack, such as 1 table of flag bit
Show corresponding protocol stack for opening, flag bit 0 represents that corresponding protocol stack is in off state.
S303, the modem are closed first protocol stack and are supported from the modem multiple
Selection is except the second protocol stack of first protocol stack in protocol stack.
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 modulates
Demodulator determines that selection is except the second protocol stack of the first protocol stack in multiple protocol stacks that modem is supported, wherein, modulation
Demodulator selection strategy can be:The protocol stack of level-one lower than the first protocol stack is selected as second protocol stack;Or measure week
The signal strength of the corresponding cell signal of each protocol stack is enclosed, using the protocol stack of signal strength maximum as second protocol stack;Or
Protocol stack more higher leveled than the first protocol stack is selected as second protocol stack;Or determine second protocol stack using other strategies,
The present invention is not restricted.
S304, the modem 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 modem opens the of selection
Two protocol stacks carry out network registry using second protocol stack, for example, the process registered of LTE network as:It is mobile to be initiated to network side
Attach request if network side allows mobile terminal to access, returns to attachment response to mobile terminal, represents network registry success, move
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 represents network registry failure.
If the success of S305, network registry, the modem record current location information.It can perform step later
S306;It simultaneously can be with parallel execution of steps S308.
Specifically, location information represents the mark of logical place planned in advance in mobile communications network, for example, position is believed
Breath includes cell ID or location area code etc..
Whether S306, location information change.
Specifically, modem periodically obtains location information, upper obtain in the location information that currently obtains and once
The location information taken performs S307, otherwise continues to execute S306 compared to when changing.For example, location information is cell ID,
Mobile terminal is moved to another cell by a cell, represents 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.Modem obtains
The period present invention of location information is not restricted, and can be configured according to actual demand.
The on off state of default protocol stack in the multiple protocol stacks supported described in S307, the modem recovery or
The on off state of default protocol stack in the multiple protocol stacks supported described in the modem recovery is simultaneously while described in reset
Modem.
Whether the abnormal cause that S308, location updating fail has reported.
Specifically, if the abnormal cause of location updating failure had reported, S301 is performed;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, S309 is performed.
S309, the abnormal cause for obtaining the location updating failure and daily record.
S310, 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 modem, wherein, it can
In the case of connecting wifi hotspot in mobile terminal, above- mentioned information is reported to by network side by wifi hotspot, to save
Flow.Or modem can also include abnormal cause on the display screen of mobile terminal, be checked for user.
After above- mentioned information reports, step S301 can be equally jumped to, exception is detected by modem, if modulatedemodulate
Device is adjusted still to detect 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, modem be connected to modem detect location updating failure when, close
Currently used protocol stack, selection is except other protocol stacks of currently used protocol stack, unlatching from multiple protocol stacks of support
Other protocol stacks simultaneously use other protocol stack registered networks, in network on successful registration, record current location information, and
During change in location, restore the on off state of default protocol stack or reset modem.It in this way can not be normal in modem
It is quickly detected during communication, and makes modem automatic by way of switching other protocol stacks and carrying out network registry
Restore the normal of communication, it is long to avoid the problem that pressure takes caused by restarting mobile terminal or location updating, reduces network
The time of fault recovery.
It is a kind of structure diagram of modem provided in an embodiment of the present invention, in the embodiment of the present invention referring to Fig. 4
In, the modem 4 includes:Detection module 401, determining module 402, selecting module 403, registration module 404, record mould
Block 405.
Detection module 401, for detecting that location updating fails.
Determining module 402, for obtaining the first currently used protocol stack of the modem.
Selecting module 403, for the multiple agreements closed first protocol stack and supported from the modem
Selection is except the second protocol stack of first protocol stack in stack.
Registration module 404 for opening the second protocol stack, and carries out network registry using the second protocol stack.
If logging modle 405 for network registry success, records current location information.
The embodiment of the present invention and embodiment of the method one are based on same design, and the technique effect brought is also identical, specific former
Reason please refers to the description of embodiment of the method one, and details are not described herein again.
Optionally, modem further includes:
Recovery module, for when network registry fails or when 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 reset the modem simultaneously.
Optionally, modem further includes:
Reporting module if the abnormal cause for location updating failure does not report, obtains the location updating failure
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 communication connection is established with wifi hotspot, passes through the wifi for establishing communication connection
The abnormal cause, the current location information and daily record are reported to network side by hot spot.
The embodiment of the present invention and embodiment of the method two and three are based on same design, and the technique effect brought is also identical, tool
Body principle please refers to the description of embodiment of the method two and three, and details are not described herein again.
It is a kind of another structure diagram of modem of the embodiment of the present invention referring to Fig. 5, in this embodiment, adjusts
Modulator-demodulator is used to implement the processing method of the network communicating function exception described in Fig. 1, and modem includes CPU501, storage
Device 502 and communication interface 503, the quantity of the CPU501 in modem can be it is one or more, Fig. 5 using a CPU as
Example.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 used to call the journey stored in memory 502
Sequence code, for performing the following operations:
Detect that location updating fails;
Obtain the first currently used protocol stack of the modem;
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 perform:
If network registry fails, restore the on off state or extensive of the default protocol stack in multiple protocol stacks of the support
The on off state of default protocol stack in multiple protocol stacks of the multiple support simultaneously resets the modem simultaneously.
In some embodiments of the invention, if CPU501 performs the network registry success, current position letter is recorded
After breath, it is additionally operable to perform:
When position changes, the default protocol stack in the multiple protocol stacks supported described in the modem recovery
On off state or the modem recovery described in default protocol stack in multiple protocol stacks for supporting on off state simultaneously
Reset the modem simultaneously.
In some embodiments of the invention, CPU501 is additionally operable to perform:
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 perform 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 communication connection is established with wifi hotspot, passes through the wifi for establishing communication connection
The abnormal cause, the current location information and daily record are reported to network side by hot spot.
The embodiment of the present invention additionally provides a kind of mobile terminal for including above-mentioned modem, and mobile terminal is included 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 can include other one or more physical user-interface devices, such as physical keyboard, mouse and/or operating lever.
Mobile terminal usually supports a variety of application programs, it is such as following in it is one or more:Picture application program is presented
Application program, word-processing application, webpage create application program, disk editor application program, spreadsheet applications, trip
Play application program, telephony application, videoconference application, email application, instant message application program, forging
Application program, photograph management application program, digital camera applications program, digital video camcorder application program, network are supported in refining
Viewer applications, digital music player application, and/or video frequency player application program.
At least one shared physical user-interface device can be used in the various application programs that can be performed on mobile terminals,
Such as touch sensitive surface.The corresponding information of the one or more functions and display of touch sensitive surface on mobile terminals can be answered from one kind
It is adjusted with program and/or is changed to a kind of lower application program and/or is adjusted and/or changes in corresponding application programs.In this way,
The shared physical structure (such as touch sensitive surface) of mobile terminal can be propped up using intuitive clearly user interface for a user
Hold various application programs.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and is weighed according to the present invention
Profit requires made equivalent variations, still falls within and invents covered range.
Claims (5)
1. a kind of processing method of network communicating function exception, which is characterized in that including:
Modem detects that location updating fails;
The modem obtains the first currently used protocol stack of the modem;
The modem is closed first protocol stack and is selected from multiple protocol stacks that the modem is supported
Select the second protocol stack except first protocol stack;It closes after the first protocol stack as non-service state;
The modem opens the second protocol stack, and carries out network registry using the second protocol stack;
If network registry success, the modem record current location information;
If network registry fails, the switch of the default protocol stack in the multiple protocol stacks supported described in the modem recovery
State simultaneously resets the modem simultaneously, and after the modem is resetted, net is carried out using the default protocol stack
Network is registered;
If the abnormal cause of the location updating failure does not report, the modem obtains the different of the location updating failure
Normal reason and daily record;Scan the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, the modem leads to
It crosses the wifi hotspot established and communicated to connect and the abnormal cause, the current location information and daily record is reported to network side.
2. the method as described in claim 1, which is characterized in that if network registry success, the modem record
After current location information, further include:
When position changes, default protocol stack in the multiple protocol stacks supported described in the modem recovery is opened
The on off state of default protocol stack in the multiple protocol stacks supported described in off status or the modem recovery and simultaneously
Reset the modem.
3. a kind of modem, which is characterized in that including:
Detection module, for detecting that location updating fails;
Determining module, for obtaining the first currently used protocol stack of the modem;
Selecting module, for closing first protocol stack and being selected from multiple protocol stacks that the modem is supported
Select the second protocol stack except first protocol stack;It closes after the first protocol stack as non-service state;
Registration module for opening the second protocol stack, and carries out network registry using the second protocol stack;
If logging modle for network registry success, records current location information;
Recovery module, for when network registry fails, restoring opening for the default protocol stack in multiple protocol stacks of the support
Off status simultaneously resets the modem simultaneously, after the modem is resetted, is carried out using the default protocol stack
Network registry;
Reporting module if the abnormal cause for location updating failure does not report, obtains the different of the location updating failure
Normal reason and daily record;It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, is communicated to connect by establishing
Wifi hotspot the abnormal cause, the current location information and daily record are reported to network side.
4. modem as claimed in claim 3, which is characterized in that
The recovery module is additionally operable to when after network registry success and when position changes, restoring multiple associations of the support
The switch shape of the on off state for discussing the default protocol stack in stack or the default protocol stack in the multiple protocol stacks for restoring the support
State simultaneously resets the modem simultaneously.
5. a kind of mobile terminal, which is characterized in that including the modem as described in claim 3-4 any one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810360779.6A CN108307417B (en) | 2015-11-24 | 2015-11-24 | Processing method for network communication function abnormity, modem and mobile terminal |
CN201510827873.4A CN105490838B (en) | 2015-11-24 | 2015-11-24 | Processing method, modem and the mobile terminal of network communicating function exception |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510827873.4A CN105490838B (en) | 2015-11-24 | 2015-11-24 | Processing method, modem and the mobile terminal of network communicating function exception |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810360779.6A Division CN108307417B (en) | 2015-11-24 | 2015-11-24 | Processing method for network communication function abnormity, modem and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105490838A CN105490838A (en) | 2016-04-13 |
CN105490838B true CN105490838B (en) | 2018-06-29 |
Family
ID=55677582
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510827873.4A Active CN105490838B (en) | 2015-11-24 | 2015-11-24 | Processing method, modem and the mobile terminal of network communicating function exception |
CN201810360779.6A Expired - Fee Related CN108307417B (en) | 2015-11-24 | 2015-11-24 | Processing method for network communication function abnormity, modem and mobile terminal |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810360779.6A Expired - Fee Related CN108307417B (en) | 2015-11-24 | 2015-11-24 | Processing method for network communication function abnormity, modem and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN105490838B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112543477B (en) | 2019-09-23 | 2022-04-22 | 北京小米移动软件有限公司 | Method, device, terminal and storage medium for sending measurement report |
CN114048063B (en) * | 2021-09-28 | 2024-06-07 | 北京控制工程研究所 | Method and system for processing cutting machine or reset fault in spark vehicle driving-away process |
CN117812549A (en) * | 2024-02-29 | 2024-04-02 | 荣耀终端有限公司 | Communication method and device |
Citations (2)
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 |
CN104994565A (en) * | 2015-06-11 | 2015-10-21 | 惠州Tcl移动通信有限公司 | Method and system for quickly starting WIFI based on Cell ID |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102984795B (en) * | 2012-11-19 | 2016-08-03 | 华为技术有限公司 | The method realizing initiative report of position register information for terminal |
CN104469901B (en) * | 2013-09-17 | 2018-09-07 | 华为终端(东莞)有限公司 | The method and device of data processing |
CN103747504A (en) * | 2014-01-24 | 2014-04-23 | 宇龙计算机通信科技(深圳)有限公司 | Communicator and communication method |
-
2015
- 2015-11-24 CN CN201510827873.4A patent/CN105490838B/en active Active
- 2015-11-24 CN CN201810360779.6A patent/CN108307417B/en not_active Expired - Fee Related
Patent Citations (2)
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 |
CN104994565A (en) * | 2015-06-11 | 2015-10-21 | 惠州Tcl移动通信有限公司 | Method and system for quickly starting WIFI based on Cell ID |
Also Published As
Publication number | Publication date |
---|---|
CN108307417A (en) | 2018-07-20 |
CN108307417B (en) | 2021-04-09 |
CN105490838A (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 | |
CN105376776B (en) | Network communicating function abnormal processing method, application processor and mobile terminal | |
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 | |
CN105490838B (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 | |
CN108601018A (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105407461B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105491604B (en) | Processing method, modem and the user terminal of network communicating function exception | |
CN105634794B (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 | |
CN105376783B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376784B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376786B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105491608B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376873B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
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 | |
CN105472648B (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 | |
CN105357705B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105357704B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105491609B (en) | Network communicating function abnormal processing method, modem and mobile terminal | |
CN105376789A (en) | Method for processing network communication function abnormity, 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 |