CN105376778B - A kind of processing method and mobile terminal of network communicating function exception - Google Patents
A kind of processing method and mobile terminal of network communicating function exception Download PDFInfo
- Publication number
- CN105376778B CN105376778B CN201510824888.5A CN201510824888A CN105376778B CN 105376778 B CN105376778 B CN 105376778B CN 201510824888 A CN201510824888 A CN 201510824888A CN 105376778 B CN105376778 B CN 105376778B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- modem
- abnormal cause
- exception
- matched
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 14
- 230000002159 abnormal effect Effects 0.000 claims abstract description 152
- 230000007246 mechanism Effects 0.000 claims abstract description 99
- 238000012545 processing Methods 0.000 claims abstract description 50
- 230000005856 abnormality Effects 0.000 claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 16
- 238000001514 detection method Methods 0.000 claims description 8
- 108010001267 Protein Subunits Proteins 0.000 claims description 2
- 238000004891 communication Methods 0.000 abstract description 31
- 238000005516 engineering process Methods 0.000 abstract description 8
- 230000006870 function Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 10
- 230000011664 signaling Effects 0.000 description 4
- 108700026140 MAC combination Proteins 0.000 description 3
- 230000007774 longterm Effects 0.000 description 3
- 238000001228 spectrum Methods 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 210000004556 brain Anatomy 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/34—Reselection control
- H04W36/36—Reselection control by user or terminal equipment
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present embodiments relate to fields of communication technology, disclose a kind of processing method and mobile terminal of network communicating function exception.Wherein, this method includes:When the modem exception for detecting mobile terminal, mobile terminal can obtain the abnormal cause of the modem, and judge to whether there is and the matched treatment mechanism of the abnormal cause in local data base, if there is no, just acquisition and the matched target processor system of the abnormal cause from destination mobile terminal, and abnormality processing is carried out to the modem according to the target processor system.In through the embodiment of the present invention, mobile terminal in modem exception can to avoid corresponding treatment mechanism is not stored due to local terminal and cause for a long time can not Networked communication the problem of, so as to improve treatment effeciency during network communicating function exception.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of processing method of network communicating function exception and movement are eventually
End.
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, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc..
In practice, it has been found that due to the complexity of communication network environment, mobile terminal is usually needed different types of logical
It is switched between communication network.And be often abnormal in the handoff procedure of communication network, so as to cause mobile terminal without
The normal Networked communication of method.Under normal conditions, cause mobile terminal can not Networked communication the reason of there are many, and it is different the reason of its
Corresponding processing mode is different.If mobile terminal there is no currently can not Networked communication reason processing mode, then may
May result in mobile terminal for a long time can not Networked communication, so as to influence user experience.
Invention content
The embodiment of the invention discloses the processing methods and mobile terminal of a kind of network communicating function exception, can solve existing
There is mobile terminal in technology for a long time can not Networked communication caused by there is no the processing mode of current network abnormal cause
The problem of, so as to improve treatment effeciency during network communicating function exception.
The embodiment of the invention discloses a kind of processing method of network communicating function exception, including:
When the modem exception for detecting mobile terminal, the abnormal cause of the modem is obtained;
Judge to whether there is and the matched treatment mechanism of the abnormal cause in the local data base of the mobile terminal;
If being not present, obtained and the matched target processor system of the abnormal cause from destination mobile terminal;
Abnormality processing is carried out to the modem according to the target processor system.
It is described to be obtained and the matched mesh of the abnormal cause from destination mobile terminal as a kind of feasible embodiment
Treatment mechanism is marked, including:
Request is obtained to the treatment mechanism of destination mobile terminal sending modem exception, the treatment mechanism obtains please
It asks including the abnormal cause;
It receives the destination mobile terminal and responds the treatment mechanism and obtain request and sending with the abnormal cause
The target processor system matched.
As another feasible embodiment, the abnormal cause for obtaining the modem exception, including:
Restart the modem, and judge whether the modem restores normal;
If do not restore normal, it is determined that the abnormal cause of the modem is abnormal for protocol stack.
The embodiment feasible as another, the method further include:
Detect the mobile terminal and destination mobile terminal and whether established by WiFi and connected, if so, perform it is described from
The step of target processor matched with the abnormal cause is obtained in destination mobile terminal.
The embodiment feasible as another, it is described that the modem is carried out according to the target processor system
After abnormality processing, the method further includes:
The abnormal cause and the target processor system are stored in the local data base.
Correspondingly, the embodiment of the invention discloses a kind of mobile terminal, including:
First acquisition unit, in the modem exception for detecting the mobile terminal, obtaining the modulation
The abnormal cause of demodulator;
Judging unit matches for judging to whether there is in the local data base of the mobile terminal with the abnormal cause
Treatment mechanism;
Second acquisition unit, for being not present in judging the local data base in the judging unit and the exception
During the matched treatment mechanism of reason, obtained and the matched target processor system of the abnormal cause from destination mobile terminal;
Processing unit, for the target processor system that is obtained according to the second acquisition unit to the modulation /demodulation
Device carries out abnormality processing.
As a kind of feasible embodiment, the second acquisition unit obtains and the exception from destination mobile terminal
The concrete mode of the matched target processor of reason is:
Request is obtained to the treatment mechanism of destination mobile terminal sending modem exception, the treatment mechanism obtains please
It asks including the abnormal cause;
It receives the destination mobile terminal and responds the treatment mechanism and obtain request and sending with the abnormal cause
The target processor system matched.
As another feasible embodiment, the first acquisition unit include restarting subelement, judgment sub-unit with
And determination subelement, wherein:
It is described to restart subelement, for restarting the modem;
The judgment sub-unit, for judging whether the modem restores normal after restarting;
The determination subelement, for when the modem does not restore normal, determining the modem
Abnormal cause is abnormal for protocol stack.
The embodiment feasible as another, the mobile terminal further include:
Detection unit connects for detecting the mobile terminal with whether destination mobile terminal is established by WiFi, if so,
The second acquisition unit is then triggered to perform at the acquisition from destination mobile terminal and the matched target of the abnormal cause
The operation of reason mechanism.
The embodiment feasible as another, the mobile terminal further include:
Storage unit, for different to modem progress according to the target processor system in the processing unit
Often after processing, the abnormal cause and the target processor system are stored in the local data base.
Implement the embodiment of the present invention, have the advantages that:
In the embodiment of the present invention, when the modem exception for detecting mobile terminal, mobile terminal can obtain the tune
The abnormal cause of modulator-demodulator, and judge in local data base whether there is with the matched treatment mechanism of the abnormal cause, if
It is not present, just acquisition and the matched target processor system of the abnormal cause from destination mobile terminal, and handled according to the target
Mechanism carries out abnormality processing to the modem.In through the embodiment of the present invention, mobile terminal is in modem exception
Can to avoid corresponding treatment mechanism is not stored due to local terminal and cause for a long time can not surf the Internet the problem of, so as to improve net
Treatment effeciency during network communication 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 a kind of flow diagram of the processing method of network communicating function exception disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of the processing method of another network communicating function exception disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structure diagram of mobile terminal disclosed by the embodiments of the present invention;
Fig. 4 is the structure diagram of another mobile terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structure diagram of another mobile terminal disclosed by the embodiments 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.
The embodiment of the invention discloses the processing methods and mobile terminal of a kind of network communicating function exception, can improve net
Treatment effeciency during network communication function exception.
Referring to Fig. 1, Fig. 1 is a kind of flow of the processing method of network communicating function exception disclosed by the embodiments of the present invention
Schematic diagram.Wherein, method shown in FIG. 1 can be applied to smart mobile phone (such as Android phone), tablet computer, palm electricity
Brain and mobile internet device (Mobile Internet Devices, MID), personal digital assistant (Personal
Digital Assistant, PDA) etc. can carry out the mobile terminal of data service.As shown in Figure 1, the network communicating function is different
Normal processing method may comprise steps of:
S101, when the modem exception for detecting mobile terminal, the exception of acquisition for mobile terminal modem
Reason.
In the embodiment of the present invention, modem is used to baseband signal being converted to radiofrequency signal, converts radiofrequency signal
For baseband signal, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modulation
Demodulator supports various protocols stack.Can be modem detect itself whether exception or mobile terminal it is other
Whether device (such as application processor) detection modem is abnormal.The reason of causing modem abnormal may be modulation
Protocol stack in demodulator is abnormal, it is also possible to which the public module in modem in addition to protocol stack is abnormal, and the present invention is real
Example is applied not limit.When detecting modem exception, mobile terminal can not be normally carried out data processing, lead to user not
It can online.
Wherein, protocol stack represents the summation of the corresponding various protocols of some communication standard, and protocol stack can include but unlimited
In global system for mobile communications (Global System for Mobile Communication, abbreviation GSM) protocol stack, enhancing
Type Data for GSM Evolution (Enhanced Data Rate for GSM Evolution, abbreviation EDGE) protocol stack, height
Fast downlink packet access technology (High Speed Downlink Packet Access, abbreviation HSPDA) protocol stack, time-division are same
Code Division Multiple Access (Time Division-Synchronous Code Division Multiple Access, the abbreviation of step
TD-SCDMA) protocol stack, time division duplex long term evolution LTE (Time-Division Duplex Long Term Evolution,
Abbreviation TDD-LTE) protocol stack, frequency division duplex long term evolution (Frequency-Division Duplex, abbreviation FDD-LTE) association
Stack etc. is discussed, and multiple sub-protocol stacks can be included below each communication standard protocol stack, such as:TD-LTE protocol stacks include again
Physical layer protocol stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP agreements
Stack and NAS protocol stacks etc., details are not described herein for the embodiment of the present invention.
Therefore, when the modem exception for detecting mobile terminal, mobile terminal can further obtain modulation /demodulation
The abnormal cause of device.
As a kind of feasible embodiment, the concrete mode of the abnormal cause of acquisition for mobile terminal modem can be with
For:
Step 11) mobile terminal restarts modem, and judges whether the modem restores normal;
For step 12) when the modem does not restore normal, mobile terminal determines that the abnormal cause of modem is
Protocol stack is abnormal.
In the specific implementation, mobile terminal can restart modem, then detect tune again in modem exception
Whether modulator-demodulator restores normal, if restored normal, then indicates that it is that public module in modem is abnormal.Its
In, public module refers to other utility modules in addition to protocol stack in modem, as modem and application are handled
The module of device interface, the communication function that public module also results in entire modem extremely is abnormal, so as to cause mobile whole
End can not surf the Internet.And if modem does not restore normal after restarting, then indicate that it is that modem currently makes
Protocol stack is abnormal.So as to primarily determine abnormal cause by way of restarting modem.If modulation
Protocol stack in demodulator is abnormal, then may result in internal storage access mistake, network registry failure, protocol stack
Crash etc..
Certainly, modem is also likely to be since failure, dedicated bearer are established in location updating failure, PDN connections extremely
Activation/modification procedure failure, internal storage access mistake, protocol stack registration is rejected, calling terminal or called terminal radio resource connect
Foundation failure, paging decoder failure, broadcast channel reception failure etc. is connect to cause.So mobile terminal can further judge to modulate
The abnormal cause of demodulator.
S102, mobile terminal judge to whether there is and the matched place of the abnormal cause in the local data base of the mobile terminal
Reason mechanism, if so, terminating this flow;If it is not, perform step S103.
The various different of modem exception is generally stored in the embodiment of the present invention, in the local data base of mobile terminal
The normal corresponding treatment mechanism of reason, therefore, when modem occurs abnormal, mobile terminal can judge be in local data base
It is no to exist and the matched treatment mechanism of the abnormal cause.Wherein, treatment mechanism is and handles modem by a variety of causes to be drawn
The abnormal processing scheme risen.
Further, when in local data base exist and the matched treatment mechanism of the abnormal cause, then mobile terminal is just
Abnormality processing can be carried out to modem according to the treatment mechanism;When in local data base be not present and the abnormal cause
The treatment mechanism matched, then mobile terminal can be obtained from destination mobile terminal to be handled with the matched target of the abnormal cause
Mechanism.
S103, mobile terminal obtain and the matched target processor system of the abnormal cause from destination mobile terminal.
In the embodiment of the present invention, when not being stored in the local data base of mobile terminal and the matched processing of the abnormal cause
During mechanism, mobile terminal can obtain and the matched target processor system of the abnormal cause from destination mobile terminal.Wherein, mesh
The quantity for marking mobile terminal can be one, or multiple, the embodiment of the present invention does not limit.
Specifically, mobile terminal can establish a connection with destination mobile terminal in advance, when local data base is not present
During treatment mechanism matched with the abnormal cause, mobile terminal can first the first movement terminal into destination mobile terminal be sent out
Treatment mechanism is sent to obtain request, if also not with the matched treatment mechanism of the abnormal cause in the first movement terminal, it is mobile
Terminal can be obtained again to remaining mobile terminal sending processor system of destination mobile terminal and be asked, until getting and the exception
The matched target processor system of reason.
S104, mobile terminal carry out abnormality processing, and terminate this flow according to the target processor system to modem.
In the embodiment of the present invention, when getting target processor matched with the abnormal cause, mobile terminal can
To carry out abnormality processing to modem according to the target processor system.
As it can be seen that in the described methods of Fig. 1, when the modem exception for detecting mobile terminal, mobile terminal
The abnormal cause of the modem can be obtained, and judges to whether there is and the matched processing of the abnormal cause in local data base
Mechanism, if it does not, just acquisition and the matched target processor system of the abnormal cause from destination mobile terminal, and according to this
Target processor system carries out abnormality processing to the modem.In through the embodiment of the present invention, it can be total between mobile terminal
Treatment mechanism during modem exception is enjoyed, so as to avoid causing to grow since local terminal does not store corresponding treatment mechanism
Time can not Networked communication the problem of, improve network communicating function exception when treatment effeciency.
Referring to Fig. 2, Fig. 2 is the stream of the processing method of another network communicating function exception disclosed by the embodiments of the present invention
Journey schematic diagram.Wherein, method shown in Fig. 2 can be applied to smart mobile phone (such as Android phone), tablet computer, palm
Computer and mobile internet device, personal digital assistant, Intelligent bracelet, smartwatch, intelligent glasses etc. can carry out data
The mobile terminal of business.As shown in Fig. 2, the processing method of network communicating function exception may comprise steps of:
S201, when the modem exception for detecting mobile terminal, the exception of acquisition for mobile terminal modem
Reason.
In the embodiment of the present invention, modem is used to baseband signal being converted to radiofrequency signal, converts radiofrequency signal
For baseband signal, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modulation
Demodulator supports various protocols stack.Can be modem detect itself whether exception or mobile terminal it is other
Whether device (such as application processor) detection modem is abnormal.The reason of causing modem abnormal may be modulation
Protocol stack in demodulator is abnormal, it is also possible to which the public module in modem in addition to protocol stack is abnormal, and the present invention is real
Example is applied not limit.When detecting modem exception, mobile terminal can not be normally carried out data processing, lead to user not
It can online.
Wherein, protocol stack represents the summation of the corresponding various protocols of some communication standard, and protocol stack can include but unlimited
In gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks
Deng, and multiple sub-protocol stacks can be included below each communication standard protocol stack, such as:TD-LTE protocol stacks include physics again
Layer protocol stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and
NAS protocol stacks etc., details are not described herein for the embodiment of the present invention.
Therefore, when the modem exception for detecting mobile terminal, mobile terminal can further obtain modulation /demodulation
The abnormal cause of device.
S202, mobile terminal judge to whether there is and the matched place of the abnormal cause in the local data base of the mobile terminal
Reason mechanism, if so, terminating this flow;If it is not, perform step S203.
The various different of modem exception is generally stored in the embodiment of the present invention, in the local data base of mobile terminal
The normal corresponding treatment mechanism of reason, therefore, when modem occurs abnormal, mobile terminal can judge be in local data base
It is no to exist and the matched treatment mechanism of the abnormal cause.Wherein, treatment mechanism is and handles modem by a variety of causes to be drawn
The abnormal processing scheme risen.
Further, when in local data base exist and the matched treatment mechanism of the abnormal cause, then mobile terminal is just
Abnormality processing can be carried out to modem according to the treatment mechanism;When in local data base be not present and the abnormal cause
The treatment mechanism matched, then mobile terminal can detect the mobile terminal and connect with whether destination mobile terminal is established by WiFi
It connects.
S203, mobile terminal detect the mobile terminal and whether destination mobile terminal is established by WiFi and connected, if so, holding
Row step S204;If it is not, continue to execute step S203.
In the embodiment of the present invention, mobile terminal is obtained in the treatment mechanism to destination mobile terminal sending modem exception
It before taking request, can first detect whether to establish connection by WiFi with destination mobile terminal, connect if passing through WiFi and establishing
It connecing, then mobile terminal can be obtained to the treatment mechanism of destination mobile terminal sending modem exception and be asked, if
WiFi connections are not established, which can judge whether that establishing WiFi with remaining mobile terminal connect again.
It should be noted that when detecting modem exception, corresponding processor is not stored in local data base
System, connect, mobile terminal can be directly to destination mobile terminal if mobile terminal establishes WiFi with destination mobile terminal
The treatment mechanism of sending modem exception obtains request;And if mobile terminal is not established currently with destination mobile terminal
WiFi connections, mobile terminal can be after WiFi connections be established again to the place of destination mobile terminal sending modem exception
Reason mechanism obtains request, so as to save flow.
S204, mobile terminal obtain request to the treatment mechanism of the destination mobile terminal sending modem exception, should
Treatment mechanism obtains request and includes the abnormal cause.
In the embodiment of the present invention, mobile terminal, can be to target after connection is established by WiFi with destination mobile terminal
The treatment mechanism of mobile terminal sending modem exception obtains request, wherein, which obtains request and includes shifting
The abnormal cause of dynamic modem.
S205, mobile terminal receive the destination mobile terminal respond the treatment mechanism obtain request and send with the exception
The matched target processor system of reason.
In the embodiment of the present invention, destination mobile terminal obtains request in the treatment mechanism for receiving mobile terminal transmission
Afterwards, will search whether exist with the matched treatment mechanism of the abnormal cause, if so, mobile terminal is transmitted to, if do not had
Have, feedback information can be sent to mobile terminal, to indicate mobile terminal to other acquisition for mobile terminal.
Therefore, when there is target processor matched with the abnormal cause in destination mobile terminal, target movement is eventually
End will respond the treatment mechanism and obtain request, which is sent to mobile terminal.
S206, mobile terminal carry out abnormality processing according to the target processor system to modem.
In the embodiment of the present invention, when getting target processor matched with the abnormal cause, mobile terminal can
To carry out abnormality processing to modem according to the target processor system.
The abnormal cause and the target processor system are stored in local data base by S207, mobile terminal, and terminate this
Flow.
In the embodiment of the present invention, mobile terminal is handling modem exception according to the target processor system received
Afterwards, the abnormal cause and corresponding target processor system can be stored in local data base, so that identical original occurs in next time
During the modem exception of cause, can abnormality processing quickly be carried out by the treatment mechanism in local data base.
As it can be seen that in the described methods of Fig. 2, the processor of modem exception can be shared between mobile terminal
System, can be when modem occurs abnormal, and mobile terminal can be by locally or in the mobile terminal with shared relationship
The treatment mechanism of storage quickly handles the exception, so as to improve the treatment effeciency of network communicating function exception, so as to user
Can fast network access, promoted user experience.
Referring to Fig. 3, Fig. 3 is a kind of structure diagram of mobile terminal disclosed by the embodiments of the present invention.Wherein, Fig. 3 institutes
The mobile terminal 300 shown can include but is not limited to smart mobile phone (such as Android phone), tablet computer, palm PC with
And mobile internet device, personal digital assistant, Intelligent bracelet, smartwatch, intelligent glasses etc., which can
Carry out data service.As shown in figure 3, the mobile terminal 300 can include with lower unit:
First acquisition unit 301, in the modem exception for detecting mobile terminal 300, obtaining modulatedemodulate
Adjust the abnormal cause of device.
In the embodiment of the present invention, modem is used to baseband signal being converted to radiofrequency signal, converts radiofrequency signal
For baseband signal, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modulation
Demodulator supports various protocols stack.Can be modem detect itself whether exception or mobile terminal 300 its
Whether its device (such as application processor) detection modem is abnormal.The reason of causing modem abnormal may be to adjust
Protocol stack in modulator-demodulator is abnormal, it is also possible to which the public module in modem in addition to protocol stack is abnormal, the present invention
Embodiment does not limit.When detecting modem exception, mobile terminal 300 can not be normally carried out data processing, cause
User cannot get online.
Wherein, protocol stack represents the summation of the corresponding various protocols of some communication standard, and protocol stack can include but unlimited
In gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks
Deng, and multiple sub-protocol stacks can be included below each communication standard protocol stack, such as:TD-LTE protocol stacks include physics again
Layer protocol stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and
NAS protocol stacks etc., details are not described herein for the embodiment of the present invention.
Therefore, when the modem exception for detecting mobile terminal 300, first acquisition unit 301 can be obtained further
Take the abnormal cause of modem.
Judging unit 302, for judging to whether there is and the abnormal cause in the local data base of the mobile terminal 300
The treatment mechanism matched.
The each of modem exception is generally stored in the embodiment of the present invention, in the local data base of mobile terminal 300
The corresponding treatment mechanism of kind abnormal cause, therefore, when modem occurs abnormal, judging unit 302 can judge local number
It whether there is and the matched treatment mechanism of the abnormal cause according in library.Wherein, treatment mechanism is to handle modem by each
Abnormal processing scheme caused by kind reason.
Further, when in local data base exist and the matched treatment mechanism of the abnormal cause, then processing unit 304
Abnormality processing can be carried out to modem according to the treatment mechanism;When in local data base be not present and the abnormal cause
Matched treatment mechanism, then second acquisition unit 303 can be obtained from destination mobile terminal and be matched with the abnormal cause
Target processor system.
Second acquisition unit 303, for being not present in judging local data base in above-mentioned judging unit 302 and the exception
During the matched treatment mechanism of reason, obtained and the matched target processor system of the abnormal cause from destination mobile terminal.
It is matched with the abnormal cause when not being stored in the local data base of mobile terminal 300 in the embodiment of the present invention
During treatment mechanism, second acquisition unit 303 can be obtained from destination mobile terminal to be handled with the matched target of the abnormal cause
Mechanism.Wherein, the quantity of destination mobile terminal can be one, or multiple, the embodiment of the present invention does not limit.
Specifically, mobile terminal 300 can establish a connection with destination mobile terminal in advance, when local data base is not deposited
In treatment mechanism matched with the abnormal cause, second acquisition unit 303 can first into destination mobile terminal first
Mobile terminal sending processor system obtain request, if in the first movement terminal also not with the matched processing of the abnormal cause
Mechanism, second acquisition unit 303 can be obtained again to remaining mobile terminal sending processor system of destination mobile terminal and be asked, directly
To getting and the matched target processor system of the abnormal cause.
Processing unit 304, for the target processor system that is obtained according to above-mentioned second acquisition unit 303 to modem
Carry out abnormality processing.
In the embodiment of the present invention, when second acquisition unit 303 is got and the matched target processor system of the abnormal cause
When, processing unit 304 can carry out abnormality processing according to the target processor system to modem.
Also referring to Fig. 4, Fig. 4 is the structure diagram of another mobile terminal disclosed by the embodiments of the present invention.Wherein,
Mobile terminal 300 shown in Fig. 4 is to optimize on the basis of mobile terminal 300 shown in Fig. 3 to obtain.As shown in Figure 4:
Detection unit 305 connects for detecting mobile terminal 300 with whether destination mobile terminal is established by WiFi, if
It is then to trigger above-mentioned second acquisition unit 303 to obtain from destination mobile terminal and the matched target processor of the abnormal cause
The operation of system.
In the embodiment of the present invention, second acquisition unit 303 is at the place to destination mobile terminal sending modem exception
Before reason mechanism obtains request, detection unit 305 can be detected whether first to establish by WiFi with destination mobile terminal and be connected, such as
Fruit is to establish to connect by WiFi, then second acquisition unit 303 can be different to destination mobile terminal sending modem
Normal treatment mechanism obtains request, if not establishing WiFi connections, detection unit 305 can judge whether to move with remaining again
Terminal establishes WiFi connections.
It should be noted that when detecting modem exception, corresponding processor is not stored in local data base
System, connect, second acquisition unit 303 can be directly to mesh if mobile terminal 300 establishes WiFi with destination mobile terminal
The treatment mechanism for marking mobile terminal sending modem exception obtains request;And if mobile terminal 300 is not moved with target
Dynamic terminal establishes WiFi connections, and second acquisition unit 303 can be sent to destination mobile terminal again after WiFi connections are established
The treatment mechanism of modem exception obtains request, so as to save flow.
Storage unit 306, for carrying out exception to modem according to target processor system in above-mentioned processing unit 304
After processing, the abnormal cause and the target processor system are stored in local data base.
As a kind of feasible embodiment, above-mentioned first acquisition unit 301 can include restarting subelement 3011, judge
Subelement 3012 and determination subelement 3013, wherein:
Subelement 3011 is restarted, for restarting modem.
Judgment sub-unit 3012, for judging whether the modem restores normal after restarting.
Determination subelement 3013, for judging that the modem does not restore after restarting in above-mentioned judgment sub-unit 3012
When normal, determine that the abnormal cause of modem is abnormal for protocol stack.
It can restart modem at modem exception, judge son in the specific implementation, restarting subelement 3011
Then unit 3012 detects whether modem restores normal again, if restoring normal, then indicate that it is modem
In public module it is abnormal.Wherein, public module refers to other utility modules in addition to protocol stack in modem, such as adjusts
The module of modulator-demodulator and Application Processor Interface, the communication function that public module also results in entire modem extremely are different
Often, it can not surf the Internet so as to cause mobile terminal 300.And if modem does not restore normal after restarting, then with regard to table
Bright is that the currently used protocol stack of modem is abnormal.So as to be primarily determined by way of restarting modem
Abnormal cause.If protocol stack in modem is abnormal, then may result in internal storage access mistake,
Network registry failure, protocol stack crash etc..
Certainly, modem is also likely to be since failure, dedicated bearer are established in location updating failure, PDN connections extremely
Activation/modification procedure failure, internal storage access mistake, protocol stack registration is rejected, calling terminal or called terminal radio resource connect
Foundation failure, paging decoder failure, broadcast channel reception failure etc. is connect to cause.So first acquisition unit 301 can be further
Judge the abnormal cause of modem.
As another feasible embodiment, second acquisition unit 303 obtains and the exception from destination mobile terminal
The concrete mode of the matched target processor of reason can be:
Request is obtained to the treatment mechanism of the destination mobile terminal sending modem exception, which obtains please
It asks including the abnormal cause;
Receive the destination mobile terminal respond the treatment mechanism obtain request and send with the matched mesh of the abnormal cause
Mark treatment mechanism.
In the specific implementation, mobile terminal 300 with destination mobile terminal by WiFi establish connection after, second acquisition unit
303 can obtain request to the treatment mechanism of destination mobile terminal sending modem exception, wherein, which obtains
Request includes the abnormal cause of modem.Destination mobile terminal is in the treatment mechanism for receiving the transmission of mobile terminal 300
After obtaining request, will search whether to exist with the matched treatment mechanism of the abnormal cause, if so, be transmitted to it is mobile eventually
End 300, if not provided, feedback information can be sent to mobile terminal 300, to indicate mobile terminal 300 to other mobile terminals
It obtains.
Therefore, when there is target processor matched with the abnormal cause in destination mobile terminal, target movement is eventually
End will respond the treatment mechanism and obtain request, which is sent to mobile terminal 300.
As it can be seen that in the described mobile terminals of Fig. 3 and Fig. 4, when the modem exception for detecting mobile terminal,
Mobile terminal can obtain the abnormal cause of the modem, and judge to whether there is and the abnormal cause in local data base
The treatment mechanism matched, if it does not, just acquisition and the matched target processor system of the abnormal cause from destination mobile terminal,
And abnormality processing is carried out to the modem according to the target processor system.Meanwhile modulation can be shared between mobile terminal
The treatment mechanism of demodulator exception, can be when modem occurs abnormal, and mobile terminal can be by locally or with altogether
Enjoy the treatment mechanism stored in the mobile terminal of relationship and quickly handle the exception, through the embodiment of the present invention in, mobile terminal it
Between treatment mechanism when can share modem exception, so as to avoid not storing corresponding treatment mechanism due to local terminal
And cause for a long time can not Networked communication the problem of, improve network communicating function exception when treatment effeciency, promoted user experience.
Referring to Fig. 5, Fig. 5 is the structure diagram of another mobile terminal disclosed by the embodiments of the present invention.Wherein, Fig. 5
Shown mobile terminal 500 can include at least one processor 501, such as CPU, communication interface 502, memory 503, modulatedemodulate
Adjust device 504 and at least one communication bus 505, memory 503 can be high-speed RAM memory or non-volatile
Memory (non-volatile memory), such as at least one magnetic disk storage, optionally, memory 503 can also be at least
One storage device for being located remotely from aforementioned processor 501.Wherein:
Communication bus 505 is used to implement processor 501, communication interface 502, memory 503 and modem 504 etc.
Connection communication between these components.
Batch processing code is stored in memory 503, and processor 501 is used to call the program stored in memory 503
Code performs following operate:
When the modem 504 for detecting mobile terminal 500 is abnormal, the abnormal cause of modem 504 is obtained;
Judge to whether there is and the matched treatment mechanism of the abnormal cause in the local data base of mobile terminal 500;
If being not present, obtained and the matched target processor system of the abnormal cause from destination mobile terminal;
Abnormality processing is carried out to modem 504 according to the target processor system.
In some feasible embodiments, processor 501 is obtained from destination mobile terminal and is matched with the abnormal cause
The concrete mode of target processor can be:
Request is obtained to the treatment mechanism of destination mobile terminal sending modem abnormal 504, wherein, the treatment mechanism
It obtains request and includes the abnormal cause;
Receive the destination mobile terminal respond the treatment mechanism obtain request and send with the matched mesh of the abnormal cause
Mark treatment mechanism.
In other feasible embodiments, processor 501 obtains the specific side of the abnormal cause of modem 504
Formula can be:
Restart modem 504, and judge whether the modem 504 restores normal;
If do not restore normal, it is determined that the abnormal cause of the modem 504 is abnormal for protocol stack.
In other feasible embodiments, processor 501 is additionally operable to call the program code stored in memory 503
Perform following operate:
It detects mobile terminal 500 and is connected with whether destination mobile terminal is established by WiFi, moved if so, performing from target
The operation with the matched target processor of the abnormal cause is obtained in dynamic terminal.
In other feasible embodiments, processor 501 according to the target processor system to modem 504
After carrying out abnormality processing, it is additionally operable to that the program code stored in memory 503 is called to perform following operate:
The abnormal cause and the target processor system are stored in local data base.
As it can be seen that in the described mobile terminals of Fig. 5, it is mobile when the modem exception for detecting mobile terminal
Terminal can obtain the abnormal cause of the modem, and judge to whether there is in local data base matched with the abnormal cause
Treatment mechanism, if it does not, just acquisition and the matched target processor system of the abnormal cause from destination mobile terminal, and press
Abnormality processing is carried out to the modem according to the target processor system.It, can between mobile terminal in through the embodiment of the present invention
To share treatment mechanism during modem exception, so as to avoid leading since local terminal does not store corresponding treatment mechanism
Cause for a long time can not Networked communication the problem of, improve network communicating function exception when treatment effeciency.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent variations made according to the claims of the present invention, is still within the scope of the present invention.
Claims (6)
1. a kind of processing method of network communicating function exception, which is characterized in that including:
When the modem exception for detecting mobile terminal, the abnormal cause of the modem is obtained;
Judge to whether there is and the matched treatment mechanism of the abnormal cause in the local data base of the mobile terminal;
If being not present, request, the processor are obtained to the treatment mechanism of destination mobile terminal sending modem exception
System obtains request and includes the abnormal cause, wherein, first the first movement terminal into destination mobile terminal is sent mobile terminal
Treatment mechanism obtain request, if in the first movement terminal also not with the matched treatment mechanism of the abnormal cause, institute
It states mobile terminal and obtains request to remaining mobile terminal sending processor system of the destination mobile terminal, until getting and institute
State the matched target processor system of abnormal cause;
The destination mobile terminal is received to respond the treatment mechanism acquisition request and send matched with the abnormal cause
Target processor system;
Abnormality processing is carried out to the modem according to the target processor system;
The abnormal cause and the target processor system are stored in the local data base.
2. according to the method described in claim 1, it is characterized in that, the exception for obtaining the modem exception is former
Cause, including:
Restart the modem, and judge whether the modem restores normal;
If do not restore normal, it is determined that the abnormal cause of the modem is abnormal for protocol stack.
3. according to claim 1~2 any one of them method, which is characterized in that the method further includes:
It detects the mobile terminal and is connected with whether destination mobile terminal is established by WiFi, moved if so, performing from target
The step of target processor matched with the abnormal cause is obtained in terminal.
4. a kind of mobile terminal, which is characterized in that including:
First acquisition unit, in the modem exception for detecting the mobile terminal, obtaining the modulation /demodulation
The abnormal cause of device;
Judging unit, for judging to whether there is and the matched place of the abnormal cause in the local data base of the mobile terminal
Reason mechanism;
Second acquisition unit, for being not present in judging the local data base in the judging unit and the abnormal cause
During matched treatment mechanism, request, the processing are obtained to the treatment mechanism of destination mobile terminal sending modem exception
Mechanism obtains request and includes the abnormal cause, wherein, mobile terminal first send out by the first movement terminal into destination mobile terminal
Send treatment mechanism obtain request, if in the first movement terminal also not with the matched treatment mechanism of the abnormal cause,
Remaining mobile terminal sending processor system from the mobile terminal to the destination mobile terminal obtain request, until get with
The matched target processor system of abnormal cause;Receive the destination mobile terminal respond the treatment mechanism obtain request and
Send with the matched target processor system of the abnormal cause;
Processing unit, for according to the target processor system that the second acquisition unit obtains to the modem into
Row abnormality processing;
Storage unit, for carrying out exception to the modem according to the target processor system in the processing unit
After reason, the abnormal cause and the target processor system are stored in the local data base.
5. mobile terminal according to claim 4, which is characterized in that the first acquisition unit include restart subelement,
Judgment sub-unit and determination subelement, wherein:
It is described to restart subelement, for restarting the modem;
The judgment sub-unit, for judging whether the modem restores normal after restarting;
The determination subelement, for when the modem does not restore normal, determining the exception of the modem
Reason is abnormal for protocol stack.
6. according to claim 4~5 any one of them mobile terminal, which is characterized in that the mobile terminal further includes:
Detection unit connects for detecting the mobile terminal with whether destination mobile terminal is established by WiFi, if so, touching
It sends out second acquisition unit described and performs and obtained from destination mobile terminal and the matched target processor of the abnormal cause
Operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510824888.5A CN105376778B (en) | 2015-11-24 | 2015-11-24 | A kind of processing method and mobile terminal of network communicating function exception |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510824888.5A CN105376778B (en) | 2015-11-24 | 2015-11-24 | A kind of processing method and mobile terminal of network communicating function exception |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105376778A CN105376778A (en) | 2016-03-02 |
CN105376778B true CN105376778B (en) | 2018-06-29 |
Family
ID=55378487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510824888.5A Expired - Fee Related CN105376778B (en) | 2015-11-24 | 2015-11-24 | A kind of processing method and mobile terminal of network communicating function exception |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105376778B (en) |
Families Citing this family (2)
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 |
CN113115351B (en) * | 2021-03-31 | 2023-06-02 | 深圳市优克联新技术有限公司 | Network exception processing method, processing device, terminal equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101925098A (en) * | 2010-08-19 | 2010-12-22 | 华为终端有限公司 | Mobile terminal and failure recovering method thereof |
CN102026215A (en) * | 2009-09-21 | 2011-04-20 | 中国移动通信集团公司 | M2M network monitoring method, device and system |
CN103019874A (en) * | 2012-12-13 | 2013-04-03 | 中国电子科技集团公司第十五研究所 | Method and device for realizing exception handling based on data synchronization |
-
2015
- 2015-11-24 CN CN201510824888.5A patent/CN105376778B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102026215A (en) * | 2009-09-21 | 2011-04-20 | 中国移动通信集团公司 | M2M network monitoring method, device and system |
CN101925098A (en) * | 2010-08-19 | 2010-12-22 | 华为终端有限公司 | Mobile terminal and failure recovering method thereof |
CN103019874A (en) * | 2012-12-13 | 2013-04-03 | 中国电子科技集团公司第十五研究所 | Method and device for realizing exception handling based on data synchronization |
Also Published As
Publication number | Publication date |
---|---|
CN105376778A (en) | 2016-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2022200411B2 (en) | Electronic device for reporting communication quality measurement result and method of operating the electronic device | |
WO2020134873A1 (en) | State switching method, mobile terminal, network device and communication system | |
CN110677900B (en) | Paging processing method and related device | |
CN109152089A (en) | Handle the ambulant device and method between long-term evolving network end and network-side | |
CN105357052A (en) | Network communication functional abnormity processing method, application processor and mobile terminal | |
US10021547B2 (en) | Management for data transmission of applications | |
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 | |
CN105376778B (en) | A kind of processing method and mobile terminal of network communicating function exception | |
CN105376113B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376777B (en) | A kind of network communicating function abnormality eliminating method and mobile terminal | |
CN105407461B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN108419258A (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376775B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105338663A (en) | Method for treating network communication function abnormity, modem and mobile terminal | |
CN105376784B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN108683525B (en) | Processing method for network communication function abnormity, modem and mobile terminal | |
KR102614875B1 (en) | User device and method for controlling transmission of user device in wireless communication system | |
CN105376779B (en) | A kind of network communicating function abnormality eliminating method, application processor and mobile terminal | |
CN105357703A (en) | Network communication functional abnormity processing method, application processor and mobile terminal | |
CN105517029B (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 | |
CN105491608B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
US12028938B2 (en) | Data processing and communication methods, memory, communication terminal, apparatus, and device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180629 |