CN105491605A - Network communication function abnormality processing method, modulator-demodulator and mobile terminal - Google Patents
Network communication function abnormality processing method, modulator-demodulator and mobile terminal Download PDFInfo
- Publication number
- CN105491605A CN105491605A CN201510824894.0A CN201510824894A CN105491605A CN 105491605 A CN105491605 A CN 105491605A CN 201510824894 A CN201510824894 A CN 201510824894A CN 105491605 A CN105491605 A CN 105491605A
- Authority
- CN
- China
- Prior art keywords
- protocol stack
- demodulator
- modulator
- mobile terminal
- default
- 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 provides a network communication function abnormality processing method, a modulator-demodulator and a mobile terminal. The method comprises that: when the modulator-demodulator at the mobile terminal detects that the currently used first protocol stack is abnormal, the modulator-demodulator judges whether the number of the abnormal times of the first protocol reaches a preset number value within a preset time period; if the number of the abnormal times of the first protocol reaches the preset number value within the preset time period, the modulator-demodulator closes the first protocol stack, a second protocol stack is selected from a plurality of protocol stacks supported by the modulator-demodulator in addition to the first protocol stack; the modulator-demodulator opens the second protocol stack and carries out network register again through the second protocol stack; when the network register is successful, the modulator-demodulator records the position information of the mobile terminal. Through the embodiment of the invention, the processing efficiency when the network communication function is abnormal is improved.
Description
Technical field
The present invention relates to communication technical field, be specifically related to a kind of network communicating function abnormality eliminating method, modulator-demodulator and mobile terminal.
Background technology
At present, the network type of the communication network that the mobile terminals such as mobile phone are supported gets more and more, and such as: the communication network of 2G, 3G and 4G of different operators supported by a mobile phone simultaneously, can save the inconvenience changing mobile phone.And along with the high speed development of mobile Internet, mobile data services occupy absolute proportion, and therefore, the function and position of the modulator-demodulator in mobile terminal also becomes more and more important.Wherein, modulator-demodulator is mainly used in data to be sent being converted to radiofrequency signal, radiofrequency signal is converted to pending data, processes Access Layer (English: accessstratum, abbreviation: AS) and Non-Access Stratum (English: non-accessstratum, abbreviation: signaling NAS) and with application processor (English: applicationprocessor, abbreviation: AP) carry out interface etc.
Find in practice; network environment residing for mobile terminal is very complicated; therefore; usually need to switch between dissimilar communication network; and in the handoff procedure of communication network, often can there is exception; thus cause user terminal cannot normally Networked communication, such as protocol stack abnormal state.Cannot the problem of Networked communication in order to solve, the normal solution adopted is at present: when user terminal moves to the new band of position, to webserver launch position update request, the webserver thus again user terminal is configured, to recover the configuration parameter of modulator-demodulator; Or user finds can not after Networked communication, manually to force to restart the configuration parameter recovering or arrange modulator-demodulator to mobile terminal for a long time.But the time adopting above-mentioned two schemes to expend is all long, and user is difficult to stand.
Summary of the invention
Embodiments provide a kind of network communicating function abnormality eliminating method, modulator-demodulator and mobile terminal, can to solve in prior art network communicating function occur abnormal cannot Networked communication when, manually recover network communicating function long problem consuming time.
Embodiment of the present invention first aspect provides a kind of network communicating function abnormality eliminating method, comprising:
When the modulator-demodulator of mobile terminal detects that the first protocol stack of current use is abnormal, described modulator-demodulator judges whether the number of times of described first protocol stack exception in preset duration reaches default value;
If the number of times of described first protocol stack exception reaches described default value in described preset duration, then described modulator-demodulator cuts out described first protocol stack, and from multiple protocol stacks that described modulator-demodulator is supported, choose the second protocol stack except described first protocol stack;
Described second protocol stack opened by described modulator-demodulator, and uses described second protocol stack to re-start network registry;
When network registry success, the positional information of mobile terminal described in described modulator-demodulator record.
Optionally, also comprise:
When network registry failure, the default protocol stack switch state in multiple protocol stack described in described modem recovery in multiple protocol stack described in the on off state of default protocol stack or described modem recovery the described modulator-demodulator that simultaneously resets.
Optionally, described when network registry success, after the positional information of mobile terminal described in described modulator-demodulator record, also comprise:
When described positional information changes, the default protocol stack switch state in multiple protocol stack described in described modem recovery in multiple protocol stack described in the on off state of default protocol stack or described modem recovery the described modulator-demodulator that simultaneously resets.
Optionally, also comprise:
Described first protocol stack exception, the positional information of described mobile terminal and the log information of described modulator-demodulator record are reported server by described modulator-demodulator.
Optionally, also comprise:
If the number of times of described first protocol stack exception does not reach described default value in described preset duration, then described modulator-demodulator resets described modulator-demodulator.
Embodiment of the present invention second aspect provides a kind of modulator-demodulator, comprising:
Detection module, whether the first protocol stack of the current use of the modulator-demodulator for detecting mobile terminal is abnormal;
Judge module, during for detecting that when described detection module described first protocol stack is abnormal, judges whether the number of times of described first protocol stack exception in preset duration reaches default value;
Choose module, during for judging that at described judge module the number of times of described first protocol stack exception in described preset duration reaches described default value, close described first protocol stack, and choose the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Registering modules, for opening described second protocol stack, and uses described second protocol stack to re-start network registry;
Logging modle, for when described Registering modules network registry is successful, records the positional information of described mobile terminal.
Optionally, also comprise:
First processing module, for when the failure of described Registering modules network registry, the on off state recovering default protocol stack in described multiple protocol stack or the default protocol stack switch state recovered in described multiple protocol stack the described modulator-demodulator that simultaneously resets.
Optionally, also comprise:
Second processing module, for described logging modle in the success of described Registering modules network registry time, after recording the positional information of described mobile terminal, when described positional information changes, recover the on off state of default protocol stack in described multiple protocol stack or recover default protocol stack switch state in described multiple protocol stack and the described modulator-demodulator that simultaneously resets.
Optionally, also comprise:
Reporting module, for reporting server by described first protocol stack exception, the positional information of described mobile terminal and the log information of described modulator-demodulator record.
Optionally, also comprise:
Reseting module, during for judging that at described judge module the number of times of described first protocol stack exception in described preset duration does not reach described default value, reset described modulator-demodulator.
The embodiment of the present invention third aspect provides a kind of mobile terminal, comprises the modulator-demodulator described in above-mentioned any one of second aspect.
In the embodiment of the present invention, when the modulator-demodulator of mobile terminal detects that the first protocol stack of current use is abnormal, this modulator-demodulator judges whether the number of times of this first protocol stack exception in preset duration reaches default value, if, then this modulator-demodulator cuts out this first protocol stack, and the second protocol stack opened in multiple protocol stacks of this modulator-demodulator support except this first protocol stack, and then use this second protocol stack registered network, the current positional information of this mobile terminal is recorded when network registry success, the mode can carrying out network registry by switching other protocol stack makes modulator-demodulator automatically attempt recovering normal, avoid the hand-operated forced consuming time long problem of restarting mobile terminal or change in location and causing, improve treatment effeciency during network communicating function exception.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of a kind of network communicating function abnormality eliminating method that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of a kind of network communicating function abnormality eliminating method that the embodiment of the present invention provides;
Fig. 3 is the 3rd embodiment schematic flow sheet of a kind of network communicating function abnormality eliminating method that the embodiment of the present invention provides;
Fig. 4 is the first example structure schematic diagram of a kind of modulator-demodulator that the embodiment of the present invention provides;
Fig. 5 is the second example structure schematic diagram of a kind of modulator-demodulator that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, is the first embodiment schematic flow sheet of a kind of network communicating function abnormality eliminating method that the embodiment of the present invention provides.Network communicating function abnormality eliminating method described in the present embodiment, comprises the following steps:
S101, when the modulator-demodulator of mobile terminal detects that the first protocol stack of current use is abnormal, described modulator-demodulator judges whether the number of times of described first protocol stack exception in preset duration reaches default value, if so, then execution step S102.
Wherein, modulator-demodulator is used for baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to baseband signal, processes the signaling of Access Layer AS and Non-Access Stratum NAS and carry out interface etc. with AP processor.Modulator-demodulator stack capable of supporting several protocols, protocol stack represents the summation of the various protocols that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., comprise again multiple sub-protocol stack below each communication standard protocol stack, repeat no more herein.
Wherein, protocol stack is abnormal to be referred in communication process inconsistent with the result expected in advance to the testing result of current state context, such as, only have upstream data bag when detecting in a period of time but then think protocol stack abnormal state (namely uplink downlink is obstructed) without any downlink data packet; According to the phenomenon of abnormal state, mobile terminal intelligent algorithm is judged that protocol stack runs and has been occurred exception, or the communication process of mobile terminal and network side is subject to the impact of uncertain factor and occurs the situation of step-out, some abnormal state phenomenons are common and easy-to-handle, some abnormal states are rare and reluctant, and leing go unchecked for reluctant abnormal state phenomenon may cause abnormal the deterioration further of protocol stack and be difficult to control.
Described first protocol stack closed by S102, described modulator-demodulator, and from multiple protocol stacks that described modulator-demodulator is supported, choose the second protocol stack except described first protocol stack.
Concrete, when modulator-demodulator detects that the first protocol stack of current use is abnormal, judge whether the number of times of this first protocol stack exception in preset duration reaches default value, if, then modulator-demodulator cuts out this first protocol stack, prevents this first protocol stack from extremely repeatedly occurring.Then, a second protocol stack except this first protocol stack selected by modulator-demodulator from the multiple protocol stacks supported, wherein, the strategy that modulator-demodulator is selected can be: the protocol stack of the low one-level of Selection radio first protocol stack is as second protocol stack; Or measure the signal strength signal intensity of the cell signal that each protocol stack is corresponding around, using protocol stack maximum for signal strength signal intensity as second protocol stack; Or the higher leveled protocol stack of Selection radio first protocol stack is as second protocol stack; Or adopting other strategy to determine second protocol stack, the present invention is not restricted.
Described second protocol stack opened by S103, described modulator-demodulator, and uses described second protocol stack to re-start network registry.
In specific implementation, after closing the first protocol stack, mobile terminal is converted to without service state by there being service state, the second protocol stack selected opened by modulator-demodulator, second protocol stack is used to carry out network registry, the process registered of such as LTE network as: it is (English: attachrequest) that mobile terminal initiates attachment request to network side, if network side allows mobile terminal access, then network side returns attachment response (English: attachaccept) to mobile terminal, represent network registry success, mobile terminal has been converted to service state by without service state; If network side does not allow mobile terminal to access, then network side returns refusal/error message to mobile terminal, represents network registry failure.
S104, network registry success time, the positional information of mobile terminal described in described modulator-demodulator record.
Wherein, positional information represents mobile terminal logical place in the mobile communication network, and positional information can be cell ID or regional location code or position tracing area etc., and the embodiment of the present invention does not limit.If modulator-demodulator uses the success of second protocol stack registered network, then the positional information that modulator-demodulator record move terminal is current.
S105, when network registry failure, the default protocol stack switch state in multiple protocol stack described in described modem recovery in multiple protocol stack described in the on off state of default protocol stack or described modem recovery the described modulator-demodulator that simultaneously resets.
Concrete, modulator-demodulator uses network in the unsuccessful registration of second protocol stack, modulator-demodulator is according to the on off state of default protocol stack known in advance, recover the on off state of this default protocol stack, or modulator-demodulator is according to the on off state of default protocol stack known in advance, recovers the on off state of this default protocol stack and reset operation carried out to modulator-demodulator simultaneously.This default protocol stack is a protocol stack pre-set in multiple protocol stacks of modulator-demodulator support, the protocol stack that the protocol stack that can arrange same acquiescence for all regions herein uses as modulator-demodulator initial selected, also can arrange different default protocol stacks respectively for single area or the multiple areas being in a certain region, the embodiment of the present invention is not limited in any way.After carrying out reset operation, modulator-demodulator uses this default protocol stack to carry out network registry, after network registry success, uses this default protocol stack to carry out work.
In the embodiment of the present invention, when the modulator-demodulator of mobile terminal detects that the first protocol stack of current use is abnormal, this modulator-demodulator judges whether the number of times of this first protocol stack exception in preset duration reaches default value, if, then this modulator-demodulator cuts out this first protocol stack, and the second protocol stack opened in multiple protocol stacks of this modulator-demodulator support except this first protocol stack, and then use this second protocol stack registered network, the current positional information of this mobile terminal is recorded when network registry success, when network registry failure, the on off state of default protocol stack in the plurality of protocol stack of this modem recovery, or reset this modulator-demodulator simultaneously, the mode can carrying out network registry by switching other protocol stack makes modulator-demodulator automatically attempt recovering normal, avoid the hand-operated forced consuming time long problem of restarting mobile terminal or change in location and causing, improve treatment effeciency during network communicating function exception.
Referring to Fig. 2, is the second embodiment schematic flow sheet of a kind of network communicating function abnormality eliminating method that the embodiment of the present invention provides.Network communicating function abnormality eliminating method described in the present embodiment, comprises the following steps:
S201, when the modulator-demodulator of mobile terminal detects that the first protocol stack of current use is abnormal, described modulator-demodulator judges whether the number of times of described first protocol stack exception in preset duration reaches default value, if so, then execution step S202; If not, then step S208 is performed.
Wherein, protocol stack represents the summation of the various protocols stack that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., multiple sub-protocol stack is comprised again, such as: TD-LTE protocol stack comprises again physical layer protocol stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stack, PDCP protocol stack and NAS protocol stack etc. below each communication standard protocol stack.Repeat no more herein.
Described first protocol stack closed by S202, described modulator-demodulator, and from multiple protocol stacks that described modulator-demodulator is supported, choose the second protocol stack except described first protocol stack.
Concrete, when modulator-demodulator detects that the first protocol stack of current use is abnormal, judge whether the number of times of this first protocol stack exception in preset duration reaches default value, if, then modulator-demodulator cuts out this first protocol stack, prevents this first protocol stack from extremely repeatedly occurring.Then, a second protocol stack except this first protocol stack selected by modulator-demodulator from the multiple protocol stacks supported, wherein, the strategy that modulator-demodulator is selected can be: the protocol stack of the low one-level of Selection radio first protocol stack is as second protocol stack; Or measure the signal strength signal intensity of the cell signal that each protocol stack is corresponding around, using protocol stack maximum for signal strength signal intensity as second protocol stack; Or the higher leveled protocol stack of Selection radio first protocol stack is as second protocol stack; Or adopting other strategy to determine second protocol stack, the present invention is not restricted.
Described second protocol stack opened by S203, described modulator-demodulator, and uses described second protocol stack to re-start network registry.
In specific implementation, after closing the first protocol stack, mobile terminal is converted to without service state by there being service state, the second protocol stack selected opened by modulator-demodulator, second protocol stack is used to carry out network registry, the process registered of such as LTE network as: it is (English: attachrequest) that mobile terminal initiates attachment request to network side, if network side allows mobile terminal access, then network side returns attachment response (English: attachaccept) to mobile terminal, represent network registry success, mobile terminal has been converted to service state by without service state; If network side does not allow mobile terminal to access, then network side returns refusal/error message to mobile terminal, represents network registry failure.
S204, described modulator-demodulator judge that whether network registry is successful, if so, then perform step S205; If not, then step S207 is performed.
The positional information of mobile terminal described in S205, described modulator-demodulator record.
Concrete, positional information represents the mark of the logical place planned in advance in mobile communications network, and such as, positional information comprises cell ID or location area code etc.
S206, described modulator-demodulator judge whether the positional information of described mobile terminal changes, and if so, then perform step S207; If not, then continue to perform step S206.
Concrete, modulator-demodulator periodically obtains positional information, current acquisition positional information and on the positional information that once obtains compare change time, perform step S207, otherwise continuation judges whether the positional information of described mobile terminal changes.Such as, positional information is cell ID, and mobile terminal moves to another community by a community, represents that positional information changes; Positional information is location area code, and mobile terminal moves to another band of position by a band of position, shows that positional information changes.The cycle embodiment of the present invention that modulator-demodulator obtains positional information does not limit, and can arrange according to the actual requirements.
Default protocol stack switch state in multiple protocol stack described in S207, described modem recovery in multiple protocol stack described in the on off state of default protocol stack or described modem recovery the described modulator-demodulator that simultaneously resets.
Concrete, modulator-demodulator is according to the on off state of default protocol stack known in advance, recover the on off state of this default protocol stack or the described modulator-demodulator that simultaneously resets, or modulator-demodulator, according to the on off state of default protocol stack known in advance, recovers the on off state of this default protocol stack also.Wherein, this default protocol stack is a protocol stack pre-set in multiple protocol stacks of modulator-demodulator support, the protocol stack that the protocol stack that can arrange same acquiescence for all regions herein uses as modulator-demodulator initial selected, also can arrange different default protocol stacks respectively for single area or the multiple areas being in a certain region, the embodiment of the present invention is not limited in any way.
S208, described modulator-demodulator reset described modulator-demodulator.
In the embodiment of the present invention, when the modulator-demodulator of mobile terminal detects that the first protocol stack of current use is abnormal, this modulator-demodulator judges whether the number of times of this first protocol stack exception in preset duration reaches default value, if not, then this modulator-demodulator resets, if, then this modulator-demodulator cuts out this first protocol stack, and the second protocol stack opened in multiple protocol stacks of this modulator-demodulator support except this first protocol stack, and then use this second protocol stack registered network, the current positional information of this mobile terminal is recorded when network registry success, and the on off state of default protocol stack in the plurality of protocol stack or the described modulator-demodulator that simultaneously resets is recovered when this positional information changes, the mode can carrying out network registry by switching other protocol stack makes modulator-demodulator automatically attempt recovering normal, avoid the hand-operated forced consuming time long problem of restarting mobile terminal or change in location and causing, improve treatment effeciency during network communicating function exception.
Referring to Fig. 3, is the 3rd embodiment schematic flow sheet of a kind of network communicating function abnormality eliminating method that the embodiment of the present invention provides.Network communicating function abnormality eliminating method described in the present embodiment, comprises the following steps:
S301, when the modulator-demodulator of mobile terminal detects that the first protocol stack of current use is abnormal, described modulator-demodulator judges whether the number of times of described first protocol stack exception in preset duration reaches default value, if so, then execution step S302; If not, then step S306 is performed.
Wherein, protocol stack represents the summation of the various protocols stack that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., multiple sub-protocol stack is comprised again, such as: TD-LTE protocol stack comprises again physical layer protocol stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stack, PDCP protocol stack and NAS protocol stack etc. below each communication standard protocol stack.Repeat no more herein.
Described first protocol stack closed by S302, described modulator-demodulator, and from multiple protocol stacks that described modulator-demodulator is supported, choose the second protocol stack except described first protocol stack.
Concrete, when modulator-demodulator detects that the first protocol stack of current use is abnormal, judge whether the number of times of this first protocol stack exception in preset duration reaches default value, if, then modulator-demodulator cuts out this first protocol stack, prevents this first protocol stack from extremely repeatedly occurring.Then, a second protocol stack except this first protocol stack selected by modulator-demodulator from the multiple protocol stacks supported, wherein, the strategy that modulator-demodulator is selected can be: the protocol stack of the low one-level of Selection radio first protocol stack is as second protocol stack; Or measure the signal strength signal intensity of the cell signal that each protocol stack is corresponding around, using protocol stack maximum for signal strength signal intensity as second protocol stack; Or the higher leveled protocol stack of Selection radio first protocol stack is as second protocol stack; Or adopting other strategy to determine second protocol stack, the present invention is not restricted.
Described second protocol stack opened by S303, described modulator-demodulator, and uses described second protocol stack to re-start network registry.
In specific implementation, after closing the first protocol stack, mobile terminal is converted to without service state by there being service state, the second protocol stack selected opened by modulator-demodulator, second protocol stack is used to carry out network registry, the process registered of such as LTE network as: it is (English: attachrequest) that mobile terminal initiates attachment request to network side, if network side allows mobile terminal access, then network side returns attachment response (English: attachaccept) to mobile terminal, represent network registry success, mobile terminal has been converted to service state by without service state; If network side does not allow mobile terminal to access, then network side returns refusal/error message to mobile terminal, represents network registry failure.
S304, network registry success time, the positional information of mobile terminal described in described modulator-demodulator record.
Concrete, positional information represents the mark of the logical place planned in advance in mobile communications network, and such as, positional information comprises cell ID or location area code etc.
Described first protocol stack exception, the positional information of described mobile terminal and the log information of described modulator-demodulator record are reported server by S305, described modulator-demodulator.
Wherein, log information represents the operation information of the plurality of protocol stack of modem operation, and operation information comprises: operational order, operating time and return results.
Concrete, the positional information of abnormal cause (namely this first protocol stack is abnormal), mobile terminal and daily record are reported server (i.e. network side) by modulator-demodulator, wherein, can in mobile terminal connection when Wireless Fidelity Wi-Fi Hotspot, by above-mentioned information reporting to network side, to save flow, or abnormal cause also can be presented on the display screen of mobile terminal by this modulator-demodulator, checks for user.
S306, described modulator-demodulator reset described modulator-demodulator.
In the embodiment of the present invention, when the modulator-demodulator of mobile terminal detects that the first protocol stack of current use is abnormal, this modulator-demodulator judges whether the number of times of this first protocol stack exception in preset duration reaches default value, if not, then this modulator-demodulator resets, if, then this modulator-demodulator cuts out this first protocol stack, and the second protocol stack opened in multiple protocol stacks of this modulator-demodulator support except this first protocol stack, and then use this second protocol stack registered network, the current positional information of this mobile terminal is recorded when network registry success, this modulator-demodulator also can be abnormal by this first protocol stack, the log information of the positional information of this mobile terminal and this modulator-demodulator record reports server, the mode can carrying out network registry by switching other protocol stack makes modulator-demodulator automatically attempt recovering normal, avoid the hand-operated forced consuming time long problem of restarting mobile terminal or change in location and causing, improve treatment effeciency during network communicating function exception.
Referring to Fig. 4, is the first example structure schematic diagram of a kind of modulator-demodulator that the embodiment of the present invention provides.Modulator-demodulator described in the present embodiment, comprising: detection module 401, judge module 402, choose module 403, Registering modules 404 and logging modle 405, wherein:
Detection module 401, whether the first protocol stack of the current use of the modulator-demodulator for detecting mobile terminal is abnormal.
Judge module 402, during for detecting that when described detection module described first protocol stack is abnormal, judges whether the number of times of described first protocol stack exception in preset duration reaches default value.
Choose module 403, during for judging that at described judge module the number of times of described first protocol stack exception in described preset duration reaches described default value, close described first protocol stack, and choose the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported.
Registering modules 404, for opening described second protocol stack, and uses described second protocol stack to re-start network registry.
Logging modle 405, for when described Registering modules network registry is successful, records the positional information of described mobile terminal.
In the execution mode that some are feasible, described modulator-demodulator also comprises:
First processing module, for when the failure of described Registering modules network registry, the on off state recovering default protocol stack in described multiple protocol stack or the default protocol stack switch state recovered in described multiple protocol stack the described modulator-demodulator that simultaneously resets.
In the execution mode that some are feasible, described modulator-demodulator also comprises:
Second processing module, for described logging modle in the success of described Registering modules network registry time, after recording the positional information of described mobile terminal, when described positional information changes, recover the on off state of default protocol stack in described multiple protocol stack or recover default protocol stack switch state in described multiple protocol stack and the described modulator-demodulator that simultaneously resets.
In the execution mode that some are feasible, described modulator-demodulator also comprises:
Reporting module, for reporting server by described first protocol stack exception, the positional information of described mobile terminal and the log information of described modulator-demodulator record.
In the execution mode that some are feasible, described modulator-demodulator also comprises:
Reseting module, during for judging that at described judge module the number of times of described first protocol stack exception in described preset duration does not reach described default value, reset described modulator-demodulator.
It should be noted that, the function of each functional module of the modulator-demodulator of the embodiment of the present invention can according to the method specific implementation in said method embodiment, and its specific implementation process with reference to the associated description of said method embodiment, can repeat no more herein.
In the embodiment of the present invention, when the modulator-demodulator of mobile terminal detects that the first protocol stack of current use is abnormal, this modulator-demodulator judges whether the number of times of this first protocol stack exception in preset duration reaches default value, if, then this modulator-demodulator cuts out this first protocol stack, and the second protocol stack opened in multiple protocol stacks of this modulator-demodulator support except this first protocol stack, and then use this second protocol stack registered network, the current positional information of this mobile terminal is recorded when network registry success, when network registry failure, the on off state of default protocol stack in the plurality of protocol stack of this modem recovery, or reset this modulator-demodulator simultaneously, the mode can carrying out network registry by switching other protocol stack makes modulator-demodulator automatically attempt recovering normal, avoid the hand-operated forced consuming time long problem of restarting mobile terminal or change in location and causing, improve treatment effeciency during network communicating function exception.
Referring to Fig. 5, is the second example structure schematic diagram of a kind of modulator-demodulator that the embodiment of the present invention provides.Modulator-demodulator described in the present embodiment, comprise: CPU501, memory 502 and communication interface 503, the quantity of CPU501 can be one or more, Fig. 5 is for a CPU, above-mentioned CPU501, memory 502 are connected, for bus connection in Fig. 5 by bus 504 or other modes with communication interface 503.
Wherein, in above-mentioned memory 502, store batch processing code, and above-mentioned CPU501 is for calling the program code stored in above-mentioned memory 502, for performing following operation:
When detecting that the first protocol stack of current use is abnormal, judge whether the number of times of described first protocol stack exception in preset duration reaches default value.
If the number of times of described first protocol stack exception reaches described default value in described preset duration, then close described first protocol stack, and choose the second protocol stack except described first protocol stack from multiple protocol stacks of modulator-demodulator support.
Open described second protocol stack, and use described second protocol stack to re-start network registry.
When network registry success, record the positional information of described mobile terminal.
In the execution mode that some are feasible, above-mentioned CPU501 is also for performing:
When network registry failure, recover the on off state of default protocol stack in described multiple protocol stack or recover default protocol stack switch state in described multiple protocol stack and the described modulator-demodulator that simultaneously resets.
In the execution mode that some are feasible, above-mentioned CPU501 is also for performing:
When network registry success, after recording the positional information of described mobile terminal, when described positional information changes, recover the on off state of default protocol stack in described multiple protocol stack or recover default protocol stack switch state in described multiple protocol stack and the described modulator-demodulator that simultaneously resets.
In the execution mode that some are feasible, above-mentioned CPU501 is also for performing:
Described first protocol stack exception, the positional information of described mobile terminal and the log information of described modulator-demodulator record are reported server.
In the execution mode that some are feasible, above-mentioned CPU501 is also for performing:
If the number of times of described first protocol stack exception does not reach described default value in described preset duration, then reset described modulator-demodulator.
In the embodiment of the present invention, when the modulator-demodulator of mobile terminal detects that the first protocol stack of current use is abnormal, this modulator-demodulator judges whether the number of times of this first protocol stack exception in preset duration reaches default value, if, then this modulator-demodulator cuts out this first protocol stack, and the second protocol stack opened in multiple protocol stacks of this modulator-demodulator support except this first protocol stack, and then use this second protocol stack registered network, the current positional information of this mobile terminal is recorded when network registry success, when network registry failure, the on off state of default protocol stack in the plurality of protocol stack of this modem recovery, or reset this modulator-demodulator simultaneously, the mode can carrying out network registry by switching other protocol stack makes modulator-demodulator automatically attempt recovering normal, avoid the hand-operated forced consuming time long problem of restarting mobile terminal or change in location and causing, improve treatment effeciency during network communicating function exception.
The embodiment of the present invention additionally provides a kind of mobile terminal comprising above-mentioned modulator-demodulator, and mobile terminal includes but not limited to carry
or the mobile terminal of other operating system, such as mobile phone.Also can be other mobile terminal, such as there is the laptop computer of Touch sensitive surface (such as, touch-screen display and/or Trackpad) or panel computer or desktop computer.
In the following discussion, a kind of mobile terminal comprising display and Touch sensitive surface is described.But should be appreciated that mobile terminal can comprise other physical user-interface device one or more, such as physical keyboard, mouse and/or action bars.
Mobile terminal supports multiple application program usually, one or more in such as following: picture application program, present application program, word-processing application, webpage creates application program, dish editing application program, spreadsheet applications, game application, telephony application, videoconference application, email application, instant message application program, temper support application program, photograph management application program, digital camera applications program, digital video camcorder application program, network browsing application program, digital music player application, and/or video frequency player application program.
The various application programs that can perform on mobile terminals can use at least one physical user-interface device shared, such as Touch sensitive surface.One or more functions of Touch sensitive surface and display corresponding information on mobile terminals and/or can be changed to lower a kind of application program and/or adjusted in corresponding application programs and/or change from a kind of application program adjustment.Like this, the shared physical structure (such as Touch sensitive surface) of mobile terminal can to utilize for user clearly user interface directly perceived to support various application program.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random access memory (RandomAccessMemory is called for short RAM) etc.
Above a kind of network communicating function abnormality eliminating method, modulator-demodulator and mobile terminal that the embodiment of the present invention provides are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (11)
1. a network communicating function abnormality eliminating method, is characterized in that, comprising:
When the modulator-demodulator of mobile terminal detects that the first protocol stack of current use is abnormal, described modulator-demodulator judges whether the number of times of described first protocol stack exception in preset duration reaches default value;
If the number of times of described first protocol stack exception reaches described default value in described preset duration, then described modulator-demodulator cuts out described first protocol stack, and from multiple protocol stacks that described modulator-demodulator is supported, choose the second protocol stack except described first protocol stack;
Described second protocol stack opened by described modulator-demodulator, and uses described second protocol stack to re-start network registry;
When network registry success, the positional information of mobile terminal described in described modulator-demodulator record.
2. method according to claim 1, is characterized in that, also comprises:
When network registry failure, the default protocol stack switch state in multiple protocol stack described in described modem recovery in multiple protocol stack described in the on off state of default protocol stack or described modem recovery the described modulator-demodulator that simultaneously resets.
3. method according to claim 1, is characterized in that, described when network registry success, after the positional information of mobile terminal described in described modulator-demodulator record, also comprises:
When described positional information changes, the default protocol stack switch state in multiple protocol stack described in described modem recovery in multiple protocol stack described in the on off state of default protocol stack or described modem recovery the described modulator-demodulator that simultaneously resets.
4. the method according to any one of claims 1 to 3, is characterized in that, also comprises:
Described first protocol stack exception, the positional information of described mobile terminal and the log information of described modulator-demodulator record are reported server by described modulator-demodulator.
5. method according to claim 1, is characterized in that, also comprises:
If the number of times of described first protocol stack exception does not reach described default value in described preset duration, then described modulator-demodulator resets described modulator-demodulator.
6. a modulator-demodulator, is characterized in that, comprising:
Detection module, whether the first protocol stack of the current use of the modulator-demodulator for detecting mobile terminal is abnormal;
Judge module, during for detecting that when described detection module described first protocol stack is abnormal, judges whether the number of times of described first protocol stack exception in preset duration reaches default value;
Choose module, during for judging that at described judge module the number of times of described first protocol stack exception in described preset duration reaches described default value, close described first protocol stack, and choose the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Registering modules, for opening described second protocol stack, and uses described second protocol stack to re-start network registry;
Logging modle, for when described Registering modules network registry is successful, records the positional information of described mobile terminal.
7. modulator-demodulator according to claim 6, is characterized in that, also comprises:
First processing module, for when the failure of described Registering modules network registry, the on off state recovering default protocol stack in described multiple protocol stack or the default protocol stack switch state recovered in described multiple protocol stack the described modulator-demodulator that simultaneously resets.
8. modulator-demodulator according to claim 6, is characterized in that, also comprises:
Second processing module, for described logging modle in the success of described Registering modules network registry time, after recording the positional information of described mobile terminal, when described positional information changes, recover the on off state of default protocol stack in described multiple protocol stack or recover default protocol stack switch state in described multiple protocol stack and the described modulator-demodulator that simultaneously resets.
9. the modulator-demodulator according to any one of claim 6 ~ 8, is characterized in that, also comprises:
Reporting module, for reporting server by described first protocol stack exception, the positional information of described mobile terminal and the log information of described modulator-demodulator record.
10. modulator-demodulator according to claim 6, is characterized in that, also comprises:
Reseting module, during for judging that at described judge module the number of times of described first protocol stack exception in described preset duration does not reach described default value, reset described modulator-demodulator.
11. 1 kinds of mobile terminals, is characterized in that, comprise the modulator-demodulator according to any one of claim 6 ~ 10.
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 true CN105491605A (en) | 2016-04-13 |
CN105491605B CN105491605B (en) | 2018-07-06 |
Family
ID=55678236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510824894.0A Active 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106982450A (en) * | 2017-05-27 | 2017-07-25 | 奇酷互联网络科技(深圳)有限公司 | Communication abnormality processing method, 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 active Active
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 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106982450A (en) * | 2017-05-27 | 2017-07-25 | 奇酷互联网络科技(深圳)有限公司 | Communication abnormality processing method, device and mobile terminal |
CN106982450B (en) * | 2017-05-27 | 2020-10-30 | 奇酷互联网络科技(深圳)有限公司 | Communication exception handling method and device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105491605B (en) | 2018-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105376773A (en) | Network communication function anomaly processing method, application processor and mobile terminal | |
CN105376776A (en) | Processing method of network communication function abnormity, application processor and mobile terminal | |
CN105357053A (en) | Network communication functional abnormity processing method, application processor and user terminal | |
CN105357049B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376785A (en) | Processing method for network communication function abnormity, application processor and mobile terminal | |
CN108601018B (en) | Processing method for network communication function abnormity, application processor and mobile terminal | |
CN108419258B (en) | Processing method for network communication function abnormity, modem and mobile terminal | |
CN105338663A (en) | Method for treating network communication function abnormity, modem and mobile terminal | |
CN105407461A (en) | Processing method for network communication function abnormality, application processor and mobile terminal | |
CN105376113A (en) | Processing method of network communication function abnormity, modem and mobile terminal | |
CN105634794B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN108307417B (en) | Processing method for network communication function abnormity, modem and mobile terminal | |
CN108282804B (en) | Processing method for network communication function abnormity, application processor and mobile terminal | |
CN105491604A (en) | Network communication function abnormality processing method, modulator-demodulator and user terminal | |
CN105376775A (en) | Processing method of network communication function abnormity, application processor and mobile terminal | |
CN108684054B (en) | Processing method for network communication function abnormity, modem and mobile terminal | |
CN108347740B (en) | Processing method for network communication function abnormity and application processor | |
CN105491605A (en) | Network communication function abnormality processing method, modulator-demodulator and mobile terminal | |
CN105376779A (en) | Processing method of network communication function abnormity, application processor and mobile terminal | |
CN105392130A (en) | Method for processing network communication function abnormality, application processor and user terminal | |
CN105515824A (en) | Processing method for network communication function abnormity and modem | |
CN105376774B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376873A (en) | Method for handling network communication function exception, modulator-demodulator and mobile terminal | |
CN105491608B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN108462973B (en) | Processing method for network communication function abnormity, modem and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |