CN108419258A - 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
- CN108419258A CN108419258A CN201810123001.3A CN201810123001A CN108419258A CN 108419258 A CN108419258 A CN 108419258A CN 201810123001 A CN201810123001 A CN 201810123001A CN 108419258 A CN108419258 A CN 108419258A
- Authority
- CN
- China
- Prior art keywords
- modem
- protocol stack
- mobile terminal
- location information
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a kind of processing method of network communicating function exception, modem and mobile terminals.Wherein, this method includes:When detecting modem exception, restart modem, if modem does not restore normal yet, modem is shut off the first currently used protocol stack, the second protocol stack in addition to the first protocol stack is chosen in the multiple protocol stacks supported from it, while opening the second protocol stack, and re-starts network registry using the second protocol stack, when network registry success, the location information of mobile terminal is recorded.In this way by restarting abnormal cause can not be quickly found out in modem when normal communication, when modem, which is restarted, does not restore normal, modem is set to automatically attempt to restore normal by way of switching other protocol stacks and carrying out network registry, reduce the time of network disaster recovery, improves the treatment effeciency of network communicating function exception.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of processing method of network communicating function exception, modulatedemodulate
Adjust device and mobile terminal.
Background technology
Currently, the network type for the communication network that the mobile terminals such as mobile phone are supported is more and more, such as:One mobile phone is same
When support different operators 2G, 3G and 4G communication network, can save replace mobile phone inconvenience.And with mobile Internet
High speed development, mobile data services occupy absolute proportion, therefore, the effect of the modem in mobile terminal and status
Also it becomes more and more important.Wherein, modem is mainly used for data to be sent being converted to radiofrequency signal, is converted to radiofrequency signal
Pending data, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc..
In practice, it has been found that due to the complexity of communication network environment, mobile terminal is usually needed different types of logical
It is switched between communication network.And be often abnormal in the handoff procedure of communication network, so as to cause mobile terminal without
The normal Networked communication of method.In order to solve the problems, such as can not Networked communication, at present frequently with settling mode be:It is moved in mobile terminal
It when moving the new band of position, updates and asks to network server launch position, network server is to again to mobile terminal
It is configured, to restore the configuration parameter of modem;Or user has found after being unable to Networked communication for a long time, manually to movement
Terminal carries out the configuration parameter for forcing to restart or be arranged modem.But it is different to solve network using above two mode
Normal problem, it is less efficient.
Invention content
The embodiment of the invention discloses a kind of processing method of network communicating function exception, modem and movements eventually
End can solve network communicating function in the prior art and be abnormal and it is logical can not restore network manually in the case of Networked communication
The less efficient problem of telecommunication function.
The embodiment of the invention discloses a kind of processing methods of Network Abnormal, including:
When detecting the modem exception of mobile terminal, the modem restarts the modem;
When the modem does not restore normal, the modem closes the first currently used protocol stack,
And the second protocol stack in addition to first protocol stack is chosen from multiple protocol stacks that the modem is supported;
The modem opens the second protocol stack, and re-starts network using the second protocol stack and note
Volume;
When network registry success, the modem records the location information of the mobile terminal.
As a kind of feasible embodiment, described when network registry success, the modem record is mobile eventually
After the location information at end, the method further includes:
The modem judges whether the location information of the mobile terminal updates;
If so, the modem then restores the on off state of default protocol stack in the multiple protocol stack.
As another feasible embodiment, the method further includes:
When the modem does not restore normal, first protocol stack is set as different by the modem extremely
Normal reason;
When the modem recovery is normal, public module is set as abnormal cause by the modem extremely,
And record the location information of the mobile terminal.
As another feasible embodiment, the method further includes:
The modem is by the abnormal cause, the location information of the mobile terminal and the modem
The log information of record is reported to network server and/or the display abnormal cause.
As another feasible embodiment, the modem is by the abnormal cause, the mobile terminal
The log information of location information and modem record is reported to network server and/or the display exception is former
Cause, including:
When detecting that the mobile terminal is connected to Wi-Fi hotspot, the modem will by the Wi-Fi hotspot
The log information of the abnormal cause, the location information of the mobile terminal and modem record is sent to network
Server and/or the display abnormal cause.
Correspondingly, the embodiment of the invention discloses a kind of modems, including:
Unit is restarted, for when detecting the modem exception, restarting the modem;
Closing unit, for restarting after unit restarts the modem described, the modem does not restore
When normal, the first currently used protocol stack is closed;
Selection unit, for from multiple protocol stacks that the modem is supported choose remove first protocol stack it
Outer second protocol stack;
Registering unit re-starts network registry for opening the second protocol stack, and using the second protocol stack;
Recording unit, in network registry success, recording the location information of the mobile terminal.
As a kind of feasible embodiment, the modem further includes:
Judging unit, for after the location information of mobile terminal described in the recording unit records, judging the shifting
Whether the location information of dynamic terminal updates;
Recovery unit when updating location information for judging the mobile terminal in the judging unit, restores institute
State the on off state of default protocol stack in multiple protocol stacks.
As another feasible embodiment, the modem further includes:
Processing unit, for restarting after unit restarts the modem described, the modem does not restore
When normal, first protocol stack is set as to the abnormal cause of the modem extremely, or restart unit weight described
After opening the modem, when the modem recovery is normal, public module is set as to the modem extremely
Abnormal cause;
Wherein, the recording unit is additionally operable to restart after unit restarts the modem described, the modulatedemodulate
When device being adjusted to restore normal, the location information of the mobile terminal is recorded.
As another feasible embodiment, the modem further includes:
Reporting unit is used for the abnormal cause of the modem, the location information of the mobile terminal and institute
The log information for stating modem record is reported to network server and/or the display abnormal cause.
The embodiment of the invention discloses a kind of mobile terminals, including the modem described in above-mentioned any one.
Implement the embodiment of the present invention, has the advantages that:
In the embodiment of the present invention, modem restarts modem, if modulation /demodulation when detecting itself exception
Think highly of and do not restore normal after opening yet, is shut off the first currently used protocol stack, and the multiple associations supported from the modem
The second protocol stack chosen in stack in addition to the first protocol stack is discussed, while opening the second protocol stack, and uses the second protocol
Stack re-starts network registry, when network registry success, records the location information of mobile terminal.In this way modem without
It is quickly found out abnormal cause by restarting when method normal communication, when modem, which is restarted, does not restore normal, passes through switching
The mode that other protocol stacks carry out network registry makes modem automatically attempt to restore normal, avoids hand-operated forced restarting movement
Long problem is taken caused by terminal or update position, reduces the time of network disaster recovery, improves the place of Network Abnormal
Manage efficiency.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of flow diagram of the processing method of network communicating function exception disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of the processing method of another network communicating function exception disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of the processing method of another network communicating function exception disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of modem disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another modem disclosed by the embodiments 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.
The embodiment of the invention discloses a kind of processing method of network communicating function exception, modem and movements eventually
End, can improve treatment effeciency when network communicating function exception.
Referring to Fig. 1, Fig. 1 is a kind of flow of the processing method of network communicating function exception disclosed by the embodiments of the present invention
Schematic diagram.As shown in Figure 1, the processing method of network communicating function exception may comprise steps of:
S101, when detecting the modem exception of mobile terminal, modem restarts the modem.
In the embodiment of the present invention, modem is used to baseband signal being converted to radiofrequency signal, converts radiofrequency signal
For baseband signal, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modulation
Demodulator supports various protocols stack.It can be whether extremely modem detects itself, can also be the other of mobile terminal
Whether device (such as application processor) detects modem abnormal.It may be modulation to cause the reason of modem exception
Protocol stack in demodulator is abnormal, it is also possible to which the public module in modem in addition to protocol stack is abnormal, and the present invention is real
Example is applied not limit.When modem exception, mobile terminal can not be normally carried out data processing, cause user cannot on
Net.
Therefore, when detecting the modem exception of mobile terminal, modem can be restarted first, pass through inspection
Whether modem restores normally to judge its abnormal cause after check weighing opens.Wherein, mobile terminal may include but unlimited
The terminal of data service can be carried out in smart mobile phone, tablet computer, palm PC, intelligent wearable device etc..
S102, when the modem does not restore normal, modem closes the first currently used protocol stack, and
The second protocol stack in addition to the first protocol stack is chosen from multiple protocol stacks that the modem is supported.
In the embodiment of the present invention, protocol stack indicates the summation of the corresponding various protocols of some communication standard, and protocol stack can be with
Including but not limited to global system for mobile communications (Global System for Mobile Communication, abbreviation GSM)
Protocol stack, enhanced data rates for gsm evolution technology (Enhanced Data Rate for GSM Evolution, abbreviation
EDGE) protocol stack, high speed downlink packet access technology (High Speed Downlink Packet Access, abbreviation HSPDA)
Code Division Multiple Access (the Time Division-Synchronous Code Division of protocol stack, time division synchronous
Multiple Access, abbreviation TD-SCDMA) protocol stack, time division duplex long term evolution LTE (Time-Division
DuplexLong Term Evolution, abbreviation TDD-LTE) protocol stack, frequency division duplex long term evolution (Frequency-
Division Duplex, abbreviation FDD-LTE) protocol stack etc., and may include multiple sons below each communication standard protocol stack
Protocol stack, such as:TD-LTE protocol stacks include physical layer protocol stack, media access control layer MAC protocol stack, Radio Link control again
Rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS protocol stacks processed etc., details are not described herein for the embodiment of the present invention.If adjusted
When modulator-demodulator does not restore normal yet after restarting, it may be possible to the first currently used protocol stack is abnormal, therefore, modem
First protocol stack is may turn off, and is chosen in addition to the first protocol stack from multiple protocol stacks that the modem is supported
Second protocol stack.
In the embodiment of the present invention, the first protocol stack may result in internal storage access mistake, network registry unsuccessfully etc. extremely, because
This, modem can choose second protocol stack from remaining protocol stack.Wherein, modem selects second protocol stack
Strategy can be:Select the protocol stack of level-one lower than the first protocol stack as second protocol stack;Or each agreement around measuring
The signal strength of the corresponding cell signal of stack, using the maximum protocol stack of signal strength as second protocol stack;Or selection ratio first
The higher leveled protocol stack of protocol stack is as second protocol stack;Or determine that second protocol stack, the present invention are implemented using other strategies
Example does not limit.
S103, modem open the second protocol stack, and re-start network registry using the second protocol stack.
In the embodiment of the present invention, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, because
This, modem can open the second protocol stack of selection, and carry out network registry using second protocol stack.Such as LTE network
The process registered as:Mobile terminal initiates attach request (attach request) to network side, if network side allows movement eventually
Terminate into, will to mobile terminal return attachment response (attach accept), indicate network registry success, mobile terminal by
No service state has been converted to service state;If network side does not allow mobile terminal to access, refusal or mistake letter are returned to mobile terminal
Breath indicates network registry failure.
S104, when network registry success when, modem record mobile terminal location information.
In the embodiment of the present invention, location information indicates the logical place of mobile terminal in the mobile communication network, position letter
Breath can be cell ID or regional location code or position tracking region etc., and the embodiment of the present invention does not limit.If modulatedemodulate
It adjusts device using the success of second protocol stack registered network, the current location information of mobile terminal will be recorded.And if network registry
Failure, then modem, which can reselect protocol stack, carries out network registry.
As it can be seen that in the method described in Fig. 1, in the modem exception for detecting mobile terminal, modulation is restarted
Demodulator, if modem does not restore normal yet after restarting, modem is shut off the first currently used protocol stack,
And the second protocol stack in addition to the first protocol stack is chosen from multiple protocol stacks that the modem is supported, while opening should
Second protocol stack, and network registry is re-started using the second protocol stack, when network registry success, record mobile terminal
Location information.By restarting it can not be quickly found out abnormal cause when normal communication in modem in this way, work as modulation /demodulation
Think highly of and open when not restoring normal, so that modem is automatically attempted to by way of switching other protocol stacks and carrying out network registry extensive
It is multiple normal, avoid it is hand-operated forced restart mobile terminal or take long problem caused by updating position, reduce network failure
The time of recovery improves the treatment effeciency of network communicating function exception.
Referring to Fig. 2, Fig. 2 is the stream of the processing method of another network communicating function exception disclosed by the embodiments of the present invention
Journey schematic diagram.As shown in Fig. 2, the processing method of network communicating function exception may comprise steps of:
S201, when detecting the modem exception of mobile terminal, modem restarts the modem.
In the embodiment of the present invention, modem is used to baseband signal being converted to radiofrequency signal, converts radiofrequency signal
For baseband signal, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modulation
Demodulator supports various protocols stack.It can be whether extremely modem detects itself, can also be the other of mobile terminal
Whether device (such as application processor) detects modem abnormal.It may be modulation to cause the reason of modem exception
Protocol stack in demodulator is abnormal, it is also possible to which the public module in modem in addition to protocol stack is abnormal, and the present invention is real
Example is applied not limit.When modem exception, mobile terminal can not be normally carried out data processing, cause user cannot on
Net.
Therefore, when detecting the modem exception of mobile terminal, modem can be restarted first, pass through inspection
Whether modem restores normally to judge its abnormal cause after check weighing opens.
S202, when the modem does not restore normal, modem closes the first currently used protocol stack, and
The second protocol stack in addition to the first protocol stack is chosen from multiple protocol stacks that the modem is supported.
In the embodiment of the present invention, protocol stack indicates the summation of the corresponding various protocols of some communication standard, and protocol stack can be with
Including but not limited to gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks,
FDD-LTE protocol stacks etc., and below each communication standard protocol stack may include multiple sub-protocol stacks, such as:TD-LTE is assisted
It includes physical layer protocol stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC agreements to discuss stack again
Stack, PDCP protocol stacks and NAS protocol stacks etc., details are not described herein for the embodiment of the present invention.If modem is restarted later still
When not restoring normal, it may be possible to which the first currently used protocol stack is abnormal, and therefore, modem may turn off first agreement
Stack, and second protocol stack of the selection in addition to the first protocol stack from multiple protocol stacks that the modem is supported.
In the embodiment of the present invention, the first protocol stack may result in internal storage access mistake, network registry unsuccessfully etc. extremely, because
This, modem can choose second protocol stack from remaining protocol stack.Wherein, modem selects second protocol stack
Strategy can be:Select the protocol stack of level-one lower than the first protocol stack as second protocol stack;Or each agreement around measuring
The signal strength of the corresponding cell signal of stack, using the maximum protocol stack of signal strength as second protocol stack;Or selection ratio first
The higher leveled protocol stack of protocol stack is as second protocol stack;Or determine that second protocol stack, the present invention are implemented using other strategies
Example does not limit.
Specifically, modem is closed before the first currently used protocol stack, currently used can be first obtained
One protocol stack can indicate the state flag bit of protocol stack to obtain the first currently used protocol stack by inquiry, such as mark
Will position is that the corresponding protocol stack of 1 expression is open state, and flag bit is that the corresponding protocol stack of 0 expression is in off state.And it modulates
The flag bit of first protocol stack can be changed to 0, to close by demodulator after getting the first currently used protocol stack
Close the first protocol stack.
S203, modem open the second protocol stack, and re-start network registry using the second protocol stack.
In the embodiment of the present invention, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, because
This, modem can open the second protocol stack of selection, and carry out network registry using second protocol stack.Such as LTE network
The process registered as:Mobile terminal initiates attach request (attach request) to network side, if network side allows movement eventually
Terminate into, will to mobile terminal return attachment response (attach accept), indicate network registry success, mobile terminal by
No service state has been converted to service state;If network side does not allow mobile terminal to access, refusal or mistake letter are returned to mobile terminal
Breath indicates network registry failure.
S204, when network registry success when, modem record mobile terminal location information.
In the embodiment of the present invention, location information indicates the logical place of mobile terminal in the mobile communication network, position letter
Breath can be cell ID or regional location code or position tracking region etc., and the embodiment of the present invention does not limit.If modulatedemodulate
It adjusts device using the success of second protocol stack registered network, the current location information of mobile terminal will be recorded.And if network registry
Failure such as selects then modem, which can reselect protocol stack, carries out network registry in multiple protocol stacks that it is supported
Default protocol stack carries out network registry.
S205, modem judge whether the location information of the mobile terminal updates, if so, executing step S206;If
It is no, continue to execute step S205.
In the embodiment of the present invention, for modem after the location information of record mobile terminal, mobile terminal can be real-time
Its location information is detected, and the location information is sent to modem, then modem will judge movement end
Whether the location information at end updates with the location information recorded before.If update, modem can be supported
Multiple protocol stacks be reduced to abnormal preceding state respectively;If do not updated, mobile terminal will continue to detect itself
Location information.
The on off state of default protocol stack in S206, the multiple protocol stack of modem recovery.
In the embodiment of the present invention, the first currently used protocol stack is closed in modem, and use second protocol stack
After carrying out network registry success, if the location information of mobile terminal updates, modem can be according to pre-
The on off state of default protocol stack known to elder generation, restores the on off state of the default protocol stack.Wherein, default protocol stack is modulation
It is same can be directed to all regions setting herein for a pre-set protocol stack in multiple protocol stacks that demodulator is supported
The protocol stack that the protocol stack of acquiescence is used as modem initial selected can also be directed to single area or be in a certain area
Different default protocol stacks is respectively set in multiple areas in domain, and the embodiment of the present invention does not limit.Restoring default protocol stack
After on off state, modem carries out network registry after network registry success using default protocol stack and uses default protocol
Stack works.
Further, modem can also restore acquiescence association after second protocol stack carries out network registry failure
The on off state of stack is discussed, and network registry is carried out using the default protocol stack.
As it can be seen that in the method described in Fig. 2, in the modem exception for detecting mobile terminal, modulation is restarted
Demodulator, if modem does not restore normal yet after restarting, modem is shut off the first currently used protocol stack,
And the second protocol stack in addition to the first protocol stack is chosen from multiple protocol stacks that the modem is supported, while opening should
Second protocol stack, and network registry is re-started using the second protocol stack, when network registry success, record mobile terminal
Location information.By restarting it can not be quickly found out abnormal cause when normal communication in modem in this way, work as modulation /demodulation
Think highly of and open when not restoring normal, so that modem is automatically attempted to by way of switching other protocol stacks and carrying out network registry extensive
It is multiple normal, and after location information of mobile terminal changes, restore the on off state of default protocol stack, to avoid manually
It forces to restart mobile terminal or takes long problem caused by updating position, reduce the time of network disaster recovery, improve
The treatment effeciency of network communicating function exception.
Referring to Fig. 3, Fig. 3 is the stream of the processing method of another network communicating function exception disclosed by the embodiments of the present invention
Journey schematic diagram.As shown in figure 3, the processing method of network communicating function exception may comprise steps of:
S301, when detecting the modem exception of mobile terminal, modem restarts the modem.
In the embodiment of the present invention, modem is used to baseband signal being converted to radiofrequency signal, converts radiofrequency signal
For baseband signal, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modulation
Demodulator supports various protocols stack.It can be whether extremely modem detects itself, can also be the other of mobile terminal
Whether device (such as application processor) detects modem abnormal.It may be modulation to cause the reason of modem exception
Protocol stack in demodulator is abnormal, it is also possible to which the public module in modem in addition to protocol stack is abnormal, and the present invention is real
Example is applied not limit.When modem exception, mobile terminal can not be normally carried out data processing, cause user cannot on
Net.
Therefore, when detecting the modem exception of mobile terminal, modem can be restarted first, pass through inspection
Whether modem restores normally to judge its abnormal cause after check weighing opens.
S302, modem judge whether to restore normal, if so, executing step S303;If it is not, executing step S306.
In the embodiment of the present invention, modem after restarting, determines whether to restore normal, if restoring normal,
With regard to obtaining the first currently used protocol stack, and close the first protocol stack;If not restoring normal, the position of mobile terminal is just recorded
Confidence ceases.
S303, when the modem does not restore normal, modem closes the first currently used protocol stack, and
The second protocol stack in addition to the first protocol stack is chosen from multiple protocol stacks that the modem is supported.
In the embodiment of the present invention, protocol stack indicates the summation of the corresponding various protocols of some communication standard, and protocol stack can be with
Including but not limited to gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks,
FDD-LTE protocol stacks etc., and below each communication standard protocol stack may include multiple sub-protocol stacks, such as:TD-LTE is assisted
It includes physical layer protocol stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC agreements to discuss stack again
Stack, PDCP protocol stacks and NAS protocol stacks etc., details are not described herein for the embodiment of the present invention.If modem is restarted later still
When not restoring normal, it may be possible to which the first currently used protocol stack is abnormal, and therefore, modem may turn off first agreement
Stack, and second protocol stack of the selection in addition to the first protocol stack from multiple protocol stacks that the modem is supported.
In the embodiment of the present invention, the first protocol stack may result in internal storage access mistake, network registry unsuccessfully etc. extremely, because
This, modem can choose second protocol stack from remaining protocol stack.Wherein, modem selects second protocol stack
Strategy can be:Select the protocol stack of level-one lower than the first protocol stack as second protocol stack;Or each agreement around measuring
The signal strength of the corresponding cell signal of stack, using the maximum protocol stack of signal strength as second protocol stack;Or selection ratio first
The higher leveled protocol stack of protocol stack is as second protocol stack;Or determine that second protocol stack, the present invention are implemented using other strategies
Example does not limit.
As a kind of feasible embodiment, after modem is restarted, if not restoring normal, indicate that
First protocol stack is abnormal, and therefore, the first protocol stack can be set as the abnormal cause of modem extremely by modem.
S304, modem open the second protocol stack, and re-start network registry using the second protocol stack.
In the embodiment of the present invention, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, because
This, modem can open the second protocol stack of selection, and carry out network registry using second protocol stack.Such as LTE network
The process registered as:Mobile terminal initiates attach request (attach request) to network side, if network side allows movement eventually
Terminate into, will to mobile terminal return attachment response (attach accept), indicate network registry success, mobile terminal by
No service state has been converted to service state;If network side does not allow mobile terminal to access, refusal or mistake letter are returned to mobile terminal
Breath indicates network registry failure.
S305, modem judge whether network registry succeeds, if so, executing step S306;If it is not, executing step
S303。
In the embodiment of the present invention, after modem carries out network registry using second protocol stack, it can judge that network is noted
Whether volume succeeds, if it is successful, the location information of record mobile terminal, if it fails, protocol stack can be selected to carry out with gravity treatment
Network registry such as selects default protocol stack in multiple protocol stacks of its support to carry out network registry.
The location information of S306, modem record mobile terminal.
In the embodiment of the present invention, after modem is restarted, if restoring normal, modem is indicated that
Public module it is abnormal, therefore, public exception can be set as the abnormal cause of modem by modem.Wherein, public
Module refers to other utility modules in addition to protocol stack, such as the module of modem and Application Processor Interface, public mould
The communication function that block also results in entire modem extremely is abnormal, can not surf the Internet so as to cause mobile terminal.
Further, if modem carries out network registry success using second protocol stack, modem also can
Record the location information of mobile terminal.And whether the location information of real-time judge mobile terminal updates, if update, just restores silent
Recognize the on off state of protocol stack.
S307, modem judge whether the abnormal cause of modem reported, if so, terminating this flow;If
It is no, execute step S308.
In the embodiment of the present invention, abnormal cause can be indicated by reason-code, and different abnormal causes corresponds to different
The reason of code, while abnormal cause can text description by way of indicate.It, just will be abnormal if abnormal cause does not report
The work log information reporting of reason, the location information of mobile terminal and modem is to network server;If abnormal
Reason reported, then modem will continue to detect whether itself is abnormal, and terminated current abnormality processing operation.
It should be noted that after the location information of exception record mobile terminal can be restored after restarting modem,
Judge whether the abnormal cause of modem reported;It can also be updated in location information of mobile terminal and restore default protocol
After the on off state of stack, judge whether the abnormal cause of modem reported.
The daily record that S308, modem record abnormal cause, the location information of mobile terminal and modem
Information reporting is to network server and/or shows the abnormal cause, and terminates this flow.
In the embodiment of the present invention, modem during the work time, can record the log information of its work.When judging
Modem did not reported abnormal cause, then will be by its abnormal cause, the location information of mobile terminal and modulation
The log information of demodulator record is reported to network server.Wherein, log information indicates modem during the work time
Operation information, operation information includes:It operational order, operating time and returns the result.
Specifically, the day that modem records abnormal cause, the location information of mobile terminal and modem
Will information reporting is to network server and/or shows that the concrete mode of the abnormal cause can be:
When detecting that mobile terminal is connected to Wi-Fi hotspot, by the Wi-Fi hotspot by abnormal cause, mobile terminal
The log information of location information and modem record is sent to network server and/or shows the abnormal cause.
That is, modem can be when mobile terminal be connected to Wi-Fi hotspot, it will be abnormal by Wi-Fi hotspot
The log information of reason, the location information of mobile terminal and modem record is reported to network server, to save stream
Amount.Abnormal cause can also be included on the display interface of mobile terminal, so that user checks by modem.
As it can be seen that in the method described in Fig. 3, in the modem exception for detecting mobile terminal, modulation is restarted
Demodulator, if modem does not restore normal yet after restarting, modem is shut off the first currently used protocol stack,
And the second protocol stack in addition to the first protocol stack is chosen from multiple protocol stacks that the modem is supported, while opening should
Second protocol stack, and network registry is re-started using the second protocol stack, when network registry success, record mobile terminal
Location information.By restarting it can not be quickly found out abnormal cause when normal communication in modem in this way, work as modulation /demodulation
Think highly of and open when not restoring normal, so that modem is automatically attempted to by way of switching other protocol stacks and carrying out network registry extensive
It is multiple normal, and after location information of mobile terminal changes, restore the on off state of default protocol stack, to avoid manually
It forces to restart mobile terminal or takes long problem caused by updating position, reduce the time of network disaster recovery, improve
The treatment effeciency of network communicating function exception.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of modem disclosed by the embodiments of the present invention.Wherein, Fig. 4
Shown in modem 400 can be applied to smart mobile phone, tablet computer, palm PC, intelligent wearable device etc. can be into
The mobile terminal of row data service.As shown in figure 4, the modem 400 may include with lower unit:
Unit 401 is restarted, for when detecting that modem 400 is abnormal, restarting modem 400.
Closing unit 402, for restarting after unit 401 restarts modem 400 above-mentioned, the modem 400
When not restoring normal, the first currently used protocol stack is closed.
Selection unit 403, for from multiple protocol stacks that the modem 400 is supported choose remove the first protocol stack it
Outer second protocol stack.
Registering unit 404 re-starts network registry for opening the second protocol stack, and using the second protocol stack.
Recording unit 405, for when network registry is successful, recording the location information of mobile terminal.
Please refer to fig. 5, Fig. 5 is the structural schematic diagram of another modem disclosed by the embodiments of the present invention.Its
In, modem 400 shown in fig. 5 is to optimize on the basis of modem 400 shown in Fig. 4 to obtain.Such as Fig. 5 institutes
Show, which may further include the following units:
Judging unit 406, it is mobile whole for after the location information that above-mentioned recording unit 405 records mobile terminal, judging
Whether the location information at end updates.
Recovery unit 407 when updating location information for judging mobile terminal in above-mentioned judging unit 406, restores
The on off state of default protocol stack in multiple protocol stacks.
As a kind of feasible embodiment, network registry mistake is carried out using second protocol stack in above-mentioned registering unit 404
When losing, recovery unit 407 can also restore the on off state of default protocol stack in multiple protocol stacks.
As another feasible embodiment, which can also include processing unit 408 and upper declaration form
Member 409, wherein:
Processing unit 408, for restarting after unit 401 restarts modem 400 above-mentioned, the modem 400
When not restoring normal, the first protocol stack is set as to the abnormal cause of modem 400 extremely, or restart unit above-mentioned
After 401 restart modem 400, when which restores normal, the public module of modem is set extremely
For the abnormal cause of modem 400.
Wherein, above-mentioned recording unit 405 is additionally operable to restart after unit 401 restarts modem 400 above-mentioned, the tune
When modulator-demodulator 400 restores normal, the location information of mobile terminal is recorded.
Reporting unit 409, for recording the location information of the abnormal cause, mobile terminal and modem 400
Log information be reported to network server and/or show the abnormal cause.
Specifically, reporting unit 409 remembers the abnormal cause, the location information of mobile terminal and modem 400
The log information of record is reported to network server and/or shows that the concrete mode of the abnormal cause can be:
When detecting that mobile terminal is connected to Wi-Fi hotspot, by the Wi-Fi hotspot by the abnormal cause, mobile terminal
Location information and modem 400 record log information be sent to network server and/or show the abnormal cause.
As it can be seen that in the modem described in Fig. 4 and Fig. 5, it is abnormal in the modem for detecting mobile terminal
When, restart modem, if modem does not restore normal yet after restarting, modem is shut off currently used
First protocol stack, and second protocol of the selection in addition to the first protocol stack from multiple protocol stacks that the modem is supported
Stack, while the second protocol stack is opened, and network registry is re-started using the second protocol stack, when network registry success,
Record the location information of mobile terminal.In this way modem can not normal communication when be quickly found out by restarting it is abnormal former
Cause makes modulatedemodulate when modem, which is restarted, does not restore normal by way of switching other protocol stacks and carrying out network registry
It adjusts device to automatically attempt to restore normal, and after location information of mobile terminal changes, restores the switch shape of default protocol stack
State, to avoid it is hand-operated forced restart mobile terminal or take long problem caused by updating position, reduce network failure
The time of recovery improves the treatment effeciency of network communicating function exception.
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..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (11)
1. a kind of processing method of network communicating function exception, which is characterized in that including:
When detecting the modem exception of mobile terminal, the modem restarts the modem;
When the modem does not restore normal, the modem closes the first currently used protocol stack, and from
The second protocol stack in addition to first protocol stack is chosen in multiple protocol stacks that the modem is supported;
The modem opens the second protocol stack, and re-starts network registry using the second protocol stack;
When network registry success, the modem records the location information of the mobile terminal.
2. according to the method described in claim 1, it is characterized in that, described when network registry success, the modem
After the location information for recording mobile terminal, the method further includes:
The modem judges whether the location information of the mobile terminal updates;
If so, the modem then restores the on off state of default protocol stack in the multiple protocol stack.
3. method according to claim 1 or 2, which is characterized in that the method further includes:
When the modem does not restore normal, first protocol stack is set as abnormal former by the modem extremely
Cause;
When the modem recovery is normal, public module is set as abnormal cause by the modem extremely, and is remembered
Record the location information of the mobile terminal.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
The modem records the abnormal cause, the location information of the mobile terminal and the modem
Log information be reported to network server and/or the display abnormal cause.
5. according to the method described in claim 4, it is characterized in that, the modem is by the abnormal cause, the shifting
The location information of dynamic terminal and the log information of modem record are reported to described in network server and/or display
Abnormal cause, including:
When detecting that the mobile terminal is connected to Wi-Fi hotspot, the modem will be described by the Wi-Fi hotspot
The log information of abnormal cause, the location information of the mobile terminal and modem record is sent to network service
Device and/or the display abnormal cause.
6. a kind of modem is applied to mobile terminal, which is characterized in that including:
Unit is restarted, for when detecting the modem exception, restarting the modem;
Closing unit, for restarting after unit restarts the modem described, the modem does not restore normal
When, close the first currently used protocol stack;
Selection unit, for being chosen in addition to first protocol stack from multiple protocol stacks that the modem is supported
Second protocol stack;
Registering unit re-starts network registry for opening the second protocol stack, and using the second protocol stack;
Recording unit, in network registry success, recording the location information of the mobile terminal.
7. modem according to claim 6, which is characterized in that the modem further includes:
Judging unit, it is described mobile whole for after the location information of mobile terminal described in the recording unit records, judging
Whether the location information at end updates;
Recovery unit when updating location information for judging the mobile terminal in the judging unit, restores described more
The on off state of default protocol stack in a protocol stack.
8. the modem described according to claim 6 or 7, which is characterized in that the modem further includes:
Processing unit, for restarting after unit restarts the modem described, the modem does not restore normal
When, first protocol stack is set as to the abnormal cause of the modem extremely, or restart unit described and restart institute
After stating modem, when the modem recovery is normal, public module is set as to the different of the modem extremely
Normal reason;
Wherein, the recording unit is additionally operable to restart after unit restarts the modem described, the modem
When restoring normal, the location information of the mobile terminal is recorded.
9. modem according to claim 8, which is characterized in that the modem further includes:
Reporting unit is used for the abnormal cause of the modem, the location information of the mobile terminal and the tune
The log information of modulator-demodulator record is reported to network server and/or the display abnormal cause.
10. a kind of mobile terminal, which is characterized in that include the modem as described in claim 6~9 any one.
11. a kind of computer storage media, which is characterized in that the computer storage media is stored with computer program, described
Computer program is for so that the modem perform claim of mobile terminal requires the method described in 1 to 5 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810123001.3A CN108419258B (en) | 2015-11-24 | 2015-11-24 | Processing method for network communication function abnormity, modem and mobile terminal |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810123001.3A CN108419258B (en) | 2015-11-24 | 2015-11-24 | Processing method for network communication function abnormity, modem and mobile terminal |
CN201510830460.1A CN105517030B (en) | 2015-11-24 | 2015-11-24 | Network communicating function abnormal processing method, modem and mobile terminal |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510830460.1A Division CN105517030B (en) | 2015-11-24 | 2015-11-24 | Network communicating function abnormal processing method, modem and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108419258A true CN108419258A (en) | 2018-08-17 |
CN108419258B CN108419258B (en) | 2021-06-01 |
Family
ID=55724590
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510830460.1A Active CN105517030B (en) | 2015-11-24 | 2015-11-24 | Network communicating function abnormal processing method, modem and mobile terminal |
CN201810123001.3A Active CN108419258B (en) | 2015-11-24 | 2015-11-24 | Processing method for network communication function abnormity, modem and mobile terminal |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510830460.1A Active CN105517030B (en) | 2015-11-24 | 2015-11-24 | Network communicating function abnormal processing method, modem and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN105517030B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109634778A (en) * | 2018-11-16 | 2019-04-16 | 歌尔股份有限公司 | A kind of method, apparatus and electronic equipment of factory reset |
CN111405546A (en) * | 2020-03-03 | 2020-07-10 | Oppo广东移动通信有限公司 | Call exception handling method and device |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106130763A (en) * | 2016-06-24 | 2016-11-16 | 平安科技(深圳)有限公司 | Server cluster and be applicable to the database resource group method for handover control of this cluster |
CN110264716A (en) * | 2019-06-25 | 2019-09-20 | 徐海连 | A kind of intelligent transportation system and application method based on Internet of Things |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120063419A1 (en) * | 2007-08-17 | 2012-03-15 | Research In Motion Limited | Mobility Mechanism for Service Continuity with Core Element Failure |
CN103777539A (en) * | 2012-10-22 | 2014-05-07 | 北京国通创安报警网络技术有限公司 | System self-repairing controller |
CN103841615A (en) * | 2012-11-22 | 2014-06-04 | 三星电子株式会社 | Apparatus and method for selecting network in communication system |
CN104469901A (en) * | 2013-09-17 | 2015-03-25 | 华为终端有限公司 | Method and device for data processing |
CN104657251A (en) * | 2015-02-04 | 2015-05-27 | 广东小天才科技有限公司 | Method and device for monitoring use state of electronic equipment |
CN104994565A (en) * | 2015-06-11 | 2015-10-21 | 惠州Tcl移动通信有限公司 | Method and system for quickly starting WIFI based on Cell ID |
-
2015
- 2015-11-24 CN CN201510830460.1A patent/CN105517030B/en active Active
- 2015-11-24 CN CN201810123001.3A patent/CN108419258B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120063419A1 (en) * | 2007-08-17 | 2012-03-15 | Research In Motion Limited | Mobility Mechanism for Service Continuity with Core Element Failure |
CN103777539A (en) * | 2012-10-22 | 2014-05-07 | 北京国通创安报警网络技术有限公司 | System self-repairing controller |
CN103841615A (en) * | 2012-11-22 | 2014-06-04 | 三星电子株式会社 | Apparatus and method for selecting network in communication system |
CN104469901A (en) * | 2013-09-17 | 2015-03-25 | 华为终端有限公司 | Method and device for data processing |
CN104657251A (en) * | 2015-02-04 | 2015-05-27 | 广东小天才科技有限公司 | Method and device for monitoring use state of electronic equipment |
CN104994565A (en) * | 2015-06-11 | 2015-10-21 | 惠州Tcl移动通信有限公司 | Method and system for quickly starting WIFI based on Cell ID |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109634778A (en) * | 2018-11-16 | 2019-04-16 | 歌尔股份有限公司 | A kind of method, apparatus and electronic equipment of factory reset |
CN109634778B (en) * | 2018-11-16 | 2024-01-26 | 歌尔股份有限公司 | Method and device for restoring factory settings and electronic equipment |
CN111405546A (en) * | 2020-03-03 | 2020-07-10 | Oppo广东移动通信有限公司 | Call exception handling method and device |
CN111405546B (en) * | 2020-03-03 | 2023-12-08 | Oppo广东移动通信有限公司 | Call abnormity processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN105517030A (en) | 2016-04-20 |
CN105517030B (en) | 2018-03-02 |
CN108419258B (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105376785B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
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 | |
CN105517030B (en) | Network communicating function abnormal processing method, modem and mobile terminal | |
CN105357053B (en) | Processing method, application processor and the user terminal of network communicating function exception | |
CN105357049B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376113B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105338663B (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 | |
CN105376784B (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 | |
CN105490838B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376777B (en) | A kind of network communicating function abnormality eliminating method and mobile terminal | |
CN105376787B (en) | A kind of processing method and application processor of network communicating function exception | |
CN105376778B (en) | A kind of processing method and mobile terminal of network communicating function exception | |
CN105515824B (en) | A kind of processing method and modem of network communicating function exception | |
CN105376779B (en) | A kind of network communicating function abnormality eliminating method, application processor and mobile terminal | |
CN105491605B (en) | A kind of network communicating function abnormality eliminating method, modem and mobile terminal | |
CN105376774B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105491608B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105517029B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN112118619A (en) | NSA double-link management method and device, storage medium and electronic device | |
CN108684056B (en) | Processing method, modem, mobile terminal and the storage medium of network communicating function exception | |
CN105357393A (en) | Network communication functional abnormity processing method, modem and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18 Wusha Haibin Road, Chang'an Town, Dongguan City, Guangdong Province Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |