CN105491605B - A kind of network communicating function abnormality eliminating method, modem and mobile terminal - Google Patents
A kind of network communicating function abnormality eliminating method, modem and mobile terminal Download PDFInfo
- Publication number
- CN105491605B CN105491605B CN201510824894.0A CN201510824894A CN105491605B CN 105491605 B CN105491605 B CN 105491605B CN 201510824894 A CN201510824894 A CN 201510824894A CN 105491605 B CN105491605 B CN 105491605B
- Authority
- CN
- China
- Prior art keywords
- protocol stack
- modem
- mobile terminal
- exception
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000005856 abnormality Effects 0.000 title claims abstract description 17
- 230000002159 abnormal effect Effects 0.000 claims description 32
- 238000011084 recovery Methods 0.000 claims description 14
- 238000012545 processing Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 24
- 230000006854 communication Effects 0.000 description 20
- 238000004891 communication Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 108700026140 MAC combination Proteins 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005242 forging Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000007670 refining Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
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)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
An embodiment of the present invention provides a kind of network communicating function abnormality eliminating method, modem and mobile terminal, the method includes:When the modem of mobile terminal detects the first currently used protocol stack exception, the modem judges whether the number of the first protocol stack exception in preset duration reaches default value;If the number of the first protocol stack exception reaches the default value in the preset duration, then the modem closes first 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 registry using the second protocol stack;In network registry success, the modem records the location information of the mobile terminal.Treatment effeciency during network communicating function exception can be improved through the embodiment of the present invention.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of network communicating function abnormality eliminating method, modulation /demodulation
Device and mobile terminal.
Background technology
At present, the network type of 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, processing access layer (English:Access stratum, abbreviation:AS) and Non-Access Stratum is (English:non-access
Stratum, abbreviation:NAS signaling) and with application processor (English:Application processor, abbreviation:AP) into
Line interface etc..
In practice, it has been found that since the network environment residing for mobile terminal is sufficiently complex, as a result, it is often necessary in inhomogeneity
It switches between the communication network of type, and is often abnormal in the handoff procedure of communication network, so as to cause user
Terminal can not normal Networked communication, such as protocol stack abnormal state.In order to solve the problems, such as can not Networked communication, at present frequently with
Solution be:When user terminal is moved to the new band of position, updates and ask to network server launch position, network
Server is so as to again be configured user terminal, to restore the configuration parameter of modem;Or user has found for a long time
After being unable to Networked communication, manually mobile terminal is carried out forcing to restart recovery or the configuration parameter of modem is set.But
The time expended using above two scheme is long, and user is difficult to endure.
Invention content
An embodiment of the present invention provides a kind of network communicating function abnormality eliminating method, modem and mobile terminal,
It can solve network communicating function in the prior art and be abnormal and can not restore network communication work(manually in the case of Networked communication
The problem of long can be taken.
First aspect of the embodiment of the present invention provides a kind of network communicating function abnormality eliminating method, including:
When the modem of mobile terminal detects the first currently used protocol stack exception, the modem
Judge whether the number of the first protocol stack exception in preset duration reaches default value;
If the number of the first protocol stack exception reaches the default value, the modulatedemodulate in the preset duration
Device is adjusted to close first protocol stack, and is chosen from multiple protocol stacks that the modem is supported except first agreement
Second protocol stack except stack;
The modem opens the second protocol stack, and re-starts network using the second protocol stack and note
Volume;
In network registry success, the modem records the location information of the mobile terminal.
Optionally, it further includes:
When network registry fails, the switch shape of default protocol stack in the multiple protocol stack of modem recovery
Default protocol stack switch state in state or the multiple protocol stack of the modem recovery simultaneously resets the modulation simultaneously
Demodulator.
Optionally, described in network registry success, the modem records the location information of the mobile terminal
Later, it further includes:
When the location information changes, default protocol stack in the multiple protocol stack of modem recovery
On off state or the multiple protocol stack of the modem recovery in default protocol stack switch state and reset simultaneously
The modem.
Optionally, it further includes:
The modem is by the location information of abnormal, the described mobile terminal of first protocol stack and the modulation
The log information of demodulator record is reported to server.
Optionally, it further includes:
If the number of the first protocol stack exception is not up to the default value, the modulation in the preset duration
Demodulator resets the modem.
Second aspect of the embodiment of the present invention provides a kind of modem, including:
Detection module, it is whether abnormal for detecting the first currently used protocol stack of the modem of mobile terminal;
Judgment module, for when the detection module detects the first protocol stack exception, judging in preset duration
Whether the number of the first protocol stack exception reaches default value;
Module is chosen, for judging time that first protocol stack is abnormal in the preset duration in the judgment module
When number reaches the default value, first protocol stack is closed, and from multiple protocol stacks that the modem is supported
Choose the second protocol stack in addition to first protocol stack;
Registration module for opening the second protocol stack, and re-starts network registry using the second protocol stack;
Logging modle, in registration module network registry success, recording the location information of the mobile terminal.
Optionally, it further includes:
First processing module, for when the registration module network registry fails, restoring to write from memory in the multiple protocol stack
Recognize the on off state of protocol stack or restore the default protocol stack switch state in the multiple protocol stack and reset the tune simultaneously
Modulator-demodulator.
Optionally, it further includes:
Second processing module, for when the logging modle is in registration module network registry success, described in record
After the location information of mobile terminal, when the location information changes, restore default protocol in the multiple protocol stack
The on off state of stack restores the default protocol stack switch state in the multiple protocol stack and resets the modulation /demodulation simultaneously
Device.
Optionally, it further includes:
Reporting module, for by the location information of abnormal, the described mobile terminal of first protocol stack and the modulation
The log information of demodulator record is reported to server.
Optionally, it further includes:
Reseting module, for judging time that first protocol stack is abnormal in the preset duration in the judgment module
When number is not up to the default value, the modem is resetted.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including above-mentioned second aspect any one of them tune
Modulator-demodulator.
In the embodiment of the present invention, when the modem of mobile terminal detects that the first currently used protocol stack is abnormal
When, which judges whether the number of the first protocol stack exception preset duration Nei reaches default value, if it is,
The modem closes first protocol stack, and opens in multiple protocol stacks of modem support except first agreement
Second protocol stack except stack, and then the second protocol stack registered network is used, record movement end in network registry success
Current location information is held, can automatically attempt to modem by way of switching other protocol stacks and carrying out network registry
Restore normal, avoid the problem that it is hand-operated forced restart mobile terminal or change in location caused by take long, improve network and lead to
Treatment effeciency during telecommunication function exception.
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, the accompanying drawings in the following description is only some embodiments of the present 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 that a kind of first embodiment flow of network communicating function abnormality eliminating method provided in an embodiment of the present invention is shown
It is intended to;
Fig. 2 is that a kind of second embodiment flow of network communicating function abnormality eliminating method provided in an embodiment of the present invention is shown
It is intended to;
Fig. 3 is that a kind of 3rd embodiment flow of network communicating function abnormality eliminating method provided in an embodiment of the present invention is shown
It is intended to;
Fig. 4 is a kind of first embodiment structure diagram of modem provided in an embodiment of the present invention;
Fig. 5 is a kind of second embodiment 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.
Referring to Fig. 1, first for a kind of network communicating function abnormality eliminating method provided in an embodiment of the present invention implements
Example flow diagram.Network communicating function abnormality eliminating method described in the present embodiment, includes the following steps:
S101, when the modem of mobile terminal detects the first currently used protocol stack exception, the modulation
Demodulator judges whether the number of the first protocol stack exception in preset duration reaches default value, if so, performing step
S102。
Wherein, modem be used to baseband signal being converted to radiofrequency signal, radiofrequency signal be converted to baseband signal,
Handle the signaling of access layer AS and Non-Access Stratum NAS and with AP processors into line interface etc..Modem can be supported a variety of
Protocol stack, protocol stack represent 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.
Wherein, protocol stack refer to extremely in communication process to the testing result of current state context with it is pre- in advance
The result of prestige is inconsistent, such as when detecting in a period of time only upstream data packet but then recognize without any downlink data packet
For protocol stack abnormal state (i.e. uplink downlink is obstructed);Mobile terminal intelligent algorithm is judged to assist according to the phenomenon that abnormal state
Is there is step-out by the influence of uncertain factor in the communication process that exception or mobile terminal and network side occurs in view stack operation
Situation, abnormal state phenomenon be it is common and easy-to-handle, abnormal state be it is rare and reluctant, it is right
Leing go unchecked in reluctant abnormal state phenomenon may cause protocol stack is abnormal further to deteriorate and be difficult to control.
S102, the modem close first protocol stack, and the multiple associations supported from the modem
Discuss the second protocol stack chosen in stack in addition to first protocol stack.
Specifically, when modem detects the first currently used protocol stack exception, judge in preset duration this
Whether the number of one protocol stack exception reaches default value, if it is, modem closes first protocol stack, prevents this
First protocol stack repeated extremely.Then, modem selects one except first association from multiple protocol stacks of support
The second protocol stack except stack is discussed, wherein, the strategy of modem selection can be:Selection level-one lower than the first protocol stack
Protocol stack is as second protocol stack;Or the signal strength of the corresponding cell signal of each protocol stack of surrounding is measured, by signal strength
Maximum protocol stack is as second protocol stack;Or protocol stack more higher leveled than the first protocol stack is selected as second protocol stack;Or
Using the determining second protocol stack of other strategies, the present invention is not restricted.
S103, the modem open the second protocol stack, and re-start net using the second protocol stack
Network is registered.
In the specific implementation, after closing the first protocol stack, mobile terminal is by there is service state to be converted to no service state, modulation /demodulation
Device opens the second protocol stack of selection, and network registry is carried out using second protocol stack, for example, the process registered of LTE network as:It moves
Dynamic terminal initiates attach request (English to network side:Attach request), if network side allows mobile terminal to access, net
Network lateral movement terminal returns to attachment response (English:Attach accept), represent network registry success, mobile terminal is by nothing
Service state has been converted to service state;If network side does not allow mobile terminal to access, the lateral mobile terminal of network returns to refusal/mistake
False information represents network registry failure.
S104, network registry success when, the modem records the location information of the mobile terminal.
Wherein, location information represents the logical place of mobile terminal in the mobile communication network, and location information can be small
Area identifies or regional location code or position tracking region etc., and the embodiment of the present invention does not limit.If modem uses the
Two protocol stack registered networks are successful, then the current location information of modem record mobile terminal.
S105, when network registry fails, default protocol stack in the multiple protocol stack of modem recovery
Default protocol stack switch state on off state or the multiple protocol stack of the modem recovery simultaneously resets institute simultaneously
State 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, restore the default protocol stack on off state or modem according in advance
The on off state of default protocol stack known restores the on off state of the default protocol stack and modem is resetted simultaneously
Operation.A pre-set protocol stack in multiple protocol stacks that the default protocol stack is supported for modem, herein may be used
The protocol stack for the protocol stack of same acquiescence being set to be used as modem initial selected to be directed to all regions, can also
Different default protocol stacks is set respectively for single area or in some region of multiple areas, the embodiment of the present invention is not made
Any restriction.After carrying out reset operation, modem carries out network registry, network registry success using the default protocol stack
Afterwards, it is worked using the default protocol stack.
In the embodiment of the present invention, when the modem of mobile terminal detects that the first currently used protocol stack is abnormal
When, which judges whether the number of the first protocol stack exception preset duration Nei reaches default value, if it is,
The modem closes first protocol stack, and opens in multiple protocol stacks of modem support except first agreement
Second protocol stack except stack, and then the second protocol stack registered network is used, record movement end in network registry success
Current location information is held, when network registry fails, default protocol stack in the multiple protocol stack of the modem recovery
On off state resets the modem simultaneously, can be made by way of switching other protocol stacks and carrying out network registry
Modem automatically attempts to restore normal, avoid it is hand-operated forced restart mobile terminal or change in location caused by take it is long
Problem improves treatment effeciency during network communicating function exception.
Referring to Fig. 2, second for a kind of network communicating function abnormality eliminating method provided in an embodiment of the present invention implements
Example flow diagram.Network communicating function abnormality eliminating method described in the present embodiment, includes the following steps:
S201, when the modem of mobile terminal detects the first currently used protocol stack exception, the modulation
Demodulator judges whether the number of the first protocol stack exception in preset duration reaches default value, if so, performing step
S202;If it is not, then perform step S208.
Wherein, 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 etc., respectively
Again including multiple sub-protocol stacks below a communication standard protocol stack, such as:TD-LTE protocol stacks include physical layer protocol stack, are situated between again
Matter MAC layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS protocol stacks
Deng.Details are not described herein again.
S202, the modem close first protocol stack, and the multiple associations supported from the modem
Discuss the second protocol stack chosen in stack in addition to first protocol stack.
Specifically, when modem detects the first currently used protocol stack exception, judge in preset duration this
Whether the number of one protocol stack exception reaches default value, if it is, modem closes first protocol stack, prevents this
First protocol stack repeated extremely.Then, modem selects one except first association from multiple protocol stacks of support
The second protocol stack except stack is discussed, wherein, the strategy of modem selection can be:Selection level-one lower than the first protocol stack
Protocol stack is as second protocol stack;Or the signal strength of the corresponding cell signal of each protocol stack of surrounding is measured, by signal strength
Maximum protocol stack is as second protocol stack;Or protocol stack more higher leveled than the first protocol stack is selected as second protocol stack;Or
Using the determining second protocol stack of other strategies, the present invention is not restricted.
S203, the modem open the second protocol stack, and re-start net using the second protocol stack
Network is registered.
In the specific implementation, after closing the first protocol stack, mobile terminal is by there is service state to be converted to no service state, modulation /demodulation
Device opens the second protocol stack of selection, and network registry is carried out using second protocol stack, for example, the process registered of LTE network as:It moves
Dynamic terminal initiates attach request (English to network side:Attach request), if network side allows mobile terminal to access, net
Network lateral movement terminal returns to attachment response (English:Attach accept), represent network registry success, mobile terminal is by nothing
Service state has been converted to service state;If network side does not allow mobile terminal to access, the lateral mobile terminal of network returns to refusal/mistake
False information represents network registry failure.
S204, the modem judge whether network registry succeeds, if so, performing step S205;If it is not, it then holds
Row step S207.
S205, the modem record the location information of the mobile terminal.
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..
S206, the modem judge whether the location information of the mobile terminal changes, if so, performing
Step S207;If it is not, then continue to execute step S206.
Specifically, modem periodically obtains location information, upper obtain in the location information that currently obtains and once
The location information taken performs step S207 compared to when changing, and the location information for otherwise continuing to judge the mobile terminal is
It is no to change.For example, location information is cell ID, mobile terminal is moved to another cell by a cell, represents position
Information changes;Location information is location area code, and mobile terminal is moved to another band of position by a band of position,
Show that location information changes.The period embodiment of the present invention that modem obtains location information does not limit, Ke Yigen
It is configured according to actual demand.
The on off state of default protocol stack or the modulation in S207, the multiple protocol stack of the modem recovery
Demodulator restores the default protocol stack switch state in the multiple protocol stack and resets the modem simultaneously.
Specifically, on off state of the modem according to previously known default protocol stack, restores the default protocol stack
On off state or reset the modem or modem opening according to previously known default protocol stack simultaneously
Off status restores the on off state of the default protocol stack simultaneously.Wherein, which is multiple associations that modem is supported
A pre-set protocol stack in stack is discussed, all regions can be directed to herein, the protocol stack of same acquiescence is set as tune
The protocol stack that modulator-demodulator initial selected uses can also be directed to single area or be set respectively in some region of multiple areas
Different default protocol stacks is put, the embodiment of the present invention is not limited in any way.
S208, the modem reset the modem.
In the embodiment of the present invention, when the modem of mobile terminal detects that the first currently used protocol stack is abnormal
When, which judges whether the number of the first protocol stack exception preset duration Nei reaches default value, if it is not,
Then the modem resets;If it is, the modem closes first protocol stack, and open the modem branch
Second protocol stack in the multiple protocol stacks held in addition to first protocol stack, and then the second protocol stack registered network is used,
The current location information of the mobile terminal is recorded in network registry success, and when information changes in the position, to restore this more
In a protocol stack the on off state of default protocol stack or the modem is resetted simultaneously, it can be by switching other protocol stacks
Carrying out the mode of network registry makes modem automatically attempt to restore normal, avoids hand-operated forced restarting mobile terminal or position
The problem of long is taken caused by variation, improves treatment effeciency during network communicating function exception.
Referring to Fig. 3, the third for a kind of network communicating function abnormality eliminating method provided in an embodiment of the present invention is implemented
Example flow diagram.Network communicating function abnormality eliminating method described in the present embodiment, includes the following steps:
S301, when the modem of mobile terminal detects the first currently used protocol stack exception, the modulation
Demodulator judges whether the number of the first protocol stack exception in preset duration reaches default value, if so, performing step
S302;If it is not, then perform step S306.
Wherein, 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 etc., respectively
Again including multiple sub-protocol stacks below a communication standard protocol stack, such as:TD-LTE protocol stacks include physical layer protocol stack, are situated between again
Matter MAC layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS protocol stacks
Deng.Details are not described herein again.
S302, the modem close first protocol stack, and the multiple associations supported from the modem
Discuss the second protocol stack chosen in stack in addition to first protocol stack.
Specifically, when modem detects the first currently used protocol stack exception, judge in preset duration this
Whether the number of one protocol stack exception reaches default value, if it is, modem closes first protocol stack, prevents this
First protocol stack repeated extremely.Then, modem selects one except first association from multiple protocol stacks of support
The second protocol stack except stack is discussed, wherein, the strategy of modem selection can be:Selection level-one lower than the first protocol stack
Protocol stack is as second protocol stack;Or the signal strength of the corresponding cell signal of each protocol stack of surrounding is measured, by signal strength
Maximum protocol stack is as second protocol stack;Or protocol stack more higher leveled than the first protocol stack is selected as second protocol stack;Or
Using the determining second protocol stack of other strategies, the present invention is not restricted.
S303, the modem open the second protocol stack, and re-start net using the second protocol stack
Network is registered.
In the specific implementation, after closing the first protocol stack, mobile terminal is by there is service state to be converted to no service state, modulation /demodulation
Device opens the second protocol stack of selection, and network registry is carried out using second protocol stack, for example, the process registered of LTE network as:It moves
Dynamic terminal initiates attach request (English to network side:Attach request), if network side allows mobile terminal to access, net
Network lateral movement terminal returns to attachment response (English:Attach accept), represent network registry success, mobile terminal is by nothing
Service state has been converted to service state;If network side does not allow mobile terminal to access, the lateral mobile terminal of network returns to refusal/mistake
False information represents network registry failure.
S304, network registry success when, the modem records the location information of the mobile terminal.
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..
S305, the modem are by the location information of abnormal, the described mobile terminal of first protocol stack and institute
The log information for stating modem record is reported to server.
Wherein, log information represents the operation information of the multiple protocol stack of modem operation, and operation information includes:Behaviour
It instructs, the operating time and return the result.
Specifically, modem by abnormal cause (i.e. first protocol stack abnormal), mobile terminal location information and
Daily record is reported to server (i.e. network side), wherein it is possible to mobile terminal connection on Wireless Fidelity Wi-Fi Hotspot situation
Under, above- mentioned information is reported to network side, abnormal cause can also be included moving to save flow or the modem
On the display screen of dynamic terminal, checked for user.
S306, the modem reset the modem.
In the embodiment of the present invention, when the modem of mobile terminal detects that the first currently used protocol stack is abnormal
When, which judges whether the number of the first protocol stack exception preset duration Nei reaches default value, if it is not,
Then the modem resets;If it is, the modem closes first protocol stack, and open the modem branch
Second protocol stack in the multiple protocol stacks held in addition to first protocol stack, and then the second protocol stack registered network is used,
The current location information of the mobile terminal is recorded in network registry success, which can also be different by first protocol stack
Often, the log information of the location information of the mobile terminal and modem record is reported to server, can be by cutting
Changing other protocol stacks and carrying out the modes of network registries makes modem automatically attempt to restore normal, avoids hand-operated forced restarting shifting
The problem of long is taken caused by dynamic terminal or change in location, improves treatment effeciency during network communicating function exception.
Referring to Fig. 4, the first embodiment structure diagram for a kind of modem provided in an embodiment of the present invention.This
Modem described in embodiment, including:Detection module 401, chooses module 403, registration module at judgment module 402
404 and logging modle 405, wherein:
Detection module 401, it is whether abnormal for detecting the first currently used protocol stack of the modem of mobile terminal.
Judgment module 402, for when the detection module detects the first protocol stack exception, judging preset duration
Whether the number of the interior first protocol stack exception reaches default value.
Module 403 is chosen, for judging that first protocol stack is abnormal in the preset duration in the judgment module
Number when reaching the default value, close first protocol stack, and the multiple agreements supported from the modem
The second protocol stack in addition to first protocol stack is chosen in stack.
Registration module 404 for opening the second protocol stack, and re-starts network using the second protocol stack and notes
Volume.
Logging modle 405, in registration module network registry success, recording the position letter of the mobile terminal
Breath.
In some feasible embodiments, the modem further includes:
First processing module, for when the registration module network registry fails, restoring to write from memory in the multiple protocol stack
Recognize the on off state of protocol stack or restore the default protocol stack switch state in the multiple protocol stack and reset the tune simultaneously
Modulator-demodulator.
In some feasible embodiments, the modem further includes:
Second processing module, for when the logging modle is in registration module network registry success, described in record
After the location information of mobile terminal, when the location information changes, restore default protocol in the multiple protocol stack
The on off state of stack restores the default protocol stack switch state in the multiple protocol stack and resets the modulation /demodulation simultaneously
Device.
In some feasible embodiments, the modem further includes:
Reporting module, for by the location information of abnormal, the described mobile terminal of first protocol stack and the modulation
The log information of demodulator record is reported to server.
In some feasible embodiments, the modem further includes:
Reseting module, for judging time that first protocol stack is abnormal in the preset duration in the judgment module
When number is not up to the default value, the modem is resetted.
It should be noted that the function of each function module of the modem of the embodiment of the present invention can be according to the above method
Method specific implementation in embodiment, specific implementation process are referred to the associated description of above method embodiment, herein not
It repeats again.
In the embodiment of the present invention, when the modem of mobile terminal detects that the first currently used protocol stack is abnormal
When, which judges whether the number of the first protocol stack exception preset duration Nei reaches default value, if it is,
The modem closes first protocol stack, and opens in multiple protocol stacks of modem support except first agreement
Second protocol stack except stack, and then the second protocol stack registered network is used, record movement end in network registry success
Current location information is held, when network registry fails, default protocol stack in the multiple protocol stack of the modem recovery
On off state resets the modem simultaneously, can be made by way of switching other protocol stacks and carrying out network registry
Modem automatically attempts to restore normal, avoid it is hand-operated forced restart mobile terminal or change in location caused by take it is long
Problem improves treatment effeciency during network communicating function exception.
Referring to Fig. 5, the second embodiment structure diagram for a kind of modem provided in an embodiment of the present invention.This
Modem described in embodiment, including:CPU501, memory 502 and communication interface 503, the quantity of CPU501 can
To be one or more, for Fig. 5 by taking a CPU as an example, above-mentioned CPU501, memory 502 and communication interface 503 can pass through bus
504 or other modes connection, in Fig. 5 by taking bus connects as an example.
Wherein, batch processing code is stored in above-mentioned memory 502, and above-mentioned CPU501 is used to call above-mentioned memory
The program code stored in 502, for performing the following operations:
When detecting the first currently used protocol stack exception, the first protocol stack exception in preset duration is judged
Whether number reaches default value.
If the number of the first protocol stack exception reaches the default value in the preset duration, described is closed
One protocol stack, and second protocol of the selection in addition to first protocol stack from multiple protocol stacks that modem is supported
Stack.
The second protocol stack is opened, and network registry is re-started using the second protocol stack.
In network registry success, the location information of the mobile terminal is recorded.
In some feasible embodiments, above-mentioned CPU501 is additionally operable to perform:
When network registry fails, restore the on off state of default protocol stack in the multiple protocol stack or restore described more
Default protocol stack switch state in a protocol stack simultaneously resets the modem simultaneously.
In some feasible embodiments, above-mentioned CPU501 is additionally operable to perform:
In network registry success, after the location information for recording the mobile terminal, when the location information becomes
During change, restore the on off state of default protocol stack in the multiple protocol stack or restore default protocol in the multiple protocol stack
Stack switch state simultaneously resets the modem simultaneously.
In some feasible embodiments, above-mentioned CPU501 is additionally operable to perform:
By the day of the location information of abnormal, the described mobile terminal of first protocol stack and modem record
Will information reporting is to server.
In some feasible embodiments, above-mentioned CPU501 is additionally operable to perform:
If the number of the first protocol stack exception is not up to the default value in the preset duration, reset described in
Modem.
In the embodiment of the present invention, when the modem of mobile terminal detects that the first currently used protocol stack is abnormal
When, which judges whether the number of the first protocol stack exception preset duration Nei reaches default value, if it is,
The modem closes first protocol stack, and opens in multiple protocol stacks of modem support except first agreement
Second protocol stack except stack, and then the second protocol stack registered network is used, record movement end in network registry success
Current location information is held, when network registry fails, default protocol stack in the multiple protocol stack of the modem recovery
On off state resets the modem simultaneously, can be made by way of switching other protocol stacks and carrying out network registry
Modem automatically attempts to restore normal, avoid it is hand-operated forced restart mobile terminal or change in location caused by take it is long
Problem improves treatment effeciency during network communicating function exception.
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, abbreviation RAM) etc..
A kind of network communicating function abnormality eliminating method, modem and the shifting provided above the embodiment of the present invention
Dynamic terminal is described in detail, and specific case used herein is expounded the principle of the present invention and embodiment,
The explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention;Meanwhile for the one of this field
As technical staff, thought according to the present invention, there will be changes in specific embodiments and applications, to sum up institute
It states, the content of the present specification should not be construed as limiting the invention.
Claims (9)
1. a kind of network communicating function abnormality eliminating method, which is characterized in that including:
When the modem of mobile terminal detects the first currently used protocol stack exception, the modem judges
Whether the number of the first protocol stack exception reaches default value in preset duration;
If the number of the first protocol stack exception reaches the default value, the modem in the preset duration
Close first protocol stack, and choose from multiple protocol stacks that the modem is supported except first protocol stack it
Outer second protocol stack;
The modem opens the second protocol stack, and re-starts network registry using the second protocol stack;
In network registry success, the modem records the location information of the mobile terminal;
When network registry fails, the default protocol stack switch state in the multiple protocol stack of modem recovery is simultaneously
The modem is resetted simultaneously, network registry is carried out using the default protocol stack.
2. according to the method described in claim 1, it is characterized in that, described in network registry success, the modem
After the location information for recording the mobile terminal, further include:
When the location information changes, default protocol stack opens in the multiple protocol stack of modem recovery
Described in default protocol stack switch state in off status or the multiple protocol stack of the modem recovery simultaneously resets simultaneously
Modem.
3. method according to claim 1 or 2, which is characterized in that further include:
The modem is by the location information of abnormal, the described mobile terminal of first protocol stack and the modulation /demodulation
The log information of device record is reported to server.
4. it according to the method described in claim 1, it is characterized in that, further includes:
If the number of the first protocol stack exception is not up to the default value, the modulation /demodulation in the preset duration
Device resets the modem.
5. a kind of modem, which is characterized in that including:
Detection module, it is whether abnormal for detecting the first currently used protocol stack of the modem of mobile terminal;
Judgment module, it is described in preset duration for when the detection module detects the first protocol stack exception, judging
Whether the number of the first protocol stack exception reaches default value;
Module is chosen, the number for judging the first protocol stack exception in the preset duration in the judgment module reaches
During to the default value, first protocol stack is closed, and chosen from multiple protocol stacks that the modem is supported
Second protocol stack in addition to first protocol stack;
Registration module for opening the second protocol stack, and re-starts network registry using the second protocol stack;
After one processing module restores the default protocol stack switch state in the multiple protocol stack and resets the modem simultaneously,
Network registry is carried out using default protocol stack;
Logging modle, in registration module network registry success, recording the location information of the mobile terminal;
First processing module, for when the registration module network registry fails, restoring the acquiescence in the multiple protocol stack
Protocol stack on off state simultaneously resets the modem simultaneously.
6. modem according to claim 5, which is characterized in that further include:
Second processing module, for when the logging modle is in registration module network registry success, recording the movement
After the location information of terminal, when the location information changes, restore default protocol stack in the multiple protocol stack
On off state restores the default protocol stack switch state in the multiple protocol stack and resets the modem simultaneously.
7. modem according to claim 5 or 6, which is characterized in that further include:
Reporting module, for by the location information of abnormal, the described mobile terminal of first protocol stack and the modulation /demodulation
The log information of device record is reported to server.
8. modem according to claim 5, which is characterized in that further include:
Reseting module, for judging the number of the first protocol stack exception in the preset duration in the judgment module not
When reaching the default value, the modem is resetted.
9. a kind of mobile terminal, which is characterized in that including the modem as described in any one of claim 5~8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510824894.0A CN105491605B (en) | 2015-11-24 | 2015-11-24 | A kind of network communicating function abnormality eliminating method, modem and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510824894.0A CN105491605B (en) | 2015-11-24 | 2015-11-24 | A kind of network communicating function abnormality eliminating method, modem and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105491605A CN105491605A (en) | 2016-04-13 |
CN105491605B true CN105491605B (en) | 2018-07-06 |
Family
ID=55678236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510824894.0A Expired - Fee Related CN105491605B (en) | 2015-11-24 | 2015-11-24 | A kind of network communicating function abnormality eliminating method, modem and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105491605B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106982450B (en) * | 2017-05-27 | 2020-10-30 | 奇酷互联网络科技(深圳)有限公司 | Communication exception handling method and device and mobile terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413529A (en) * | 2011-11-28 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Multi-mode application method and device of mobile terminal including LTE mode |
CN103841615A (en) * | 2012-11-22 | 2014-06-04 | 三星电子株式会社 | Apparatus and method for selecting network in communication system |
CN104081826A (en) * | 2012-03-16 | 2014-10-01 | Lg电子株式会社 | Method and apparatus for processing NAS signaling request in wireless communication system |
CN104902524A (en) * | 2014-03-06 | 2015-09-09 | 中兴通讯股份有限公司 | Method for terminal to automatically switch data link and terminal |
-
2015
- 2015-11-24 CN CN201510824894.0A patent/CN105491605B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413529A (en) * | 2011-11-28 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Multi-mode application method and device of mobile terminal including LTE mode |
CN104081826A (en) * | 2012-03-16 | 2014-10-01 | Lg电子株式会社 | Method and apparatus for processing NAS signaling request in wireless communication system |
CN103841615A (en) * | 2012-11-22 | 2014-06-04 | 三星电子株式会社 | Apparatus and method for selecting network in communication system |
CN104902524A (en) * | 2014-03-06 | 2015-09-09 | 中兴通讯股份有限公司 | Method for terminal to automatically switch data link and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105491605A (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 | |
CN105376785B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN108599986B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105357049B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105338663B (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 | |
CN105517030B (en) | Network communicating function abnormal processing method, modem and mobile terminal | |
CN105376113B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105634794B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105491605B (en) | A kind of network communicating function abnormality eliminating method, modem and mobile terminal | |
CN105490838B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105491604B (en) | Processing method, modem and the user terminal of network communicating function exception | |
CN105376784B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376779B (en) | A kind of network communicating function abnormality eliminating method, application processor and mobile terminal | |
CN105376783B (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 | |
CN108684056B (en) | Processing method, modem, mobile terminal and the storage medium of network communicating function exception | |
CN105376786B (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 | |
CN105517029B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN108347740A (en) | A kind of processing method and application processor of network communicating function exception | |
CN105491607B (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 |
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 | ||
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. |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180706 |