[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN105376779B - A kind of network communicating function abnormality eliminating method, application processor and mobile terminal - Google Patents

A kind of network communicating function abnormality eliminating method, application processor and mobile terminal Download PDF

Info

Publication number
CN105376779B
CN105376779B CN201510824892.1A CN201510824892A CN105376779B CN 105376779 B CN105376779 B CN 105376779B CN 201510824892 A CN201510824892 A CN 201510824892A CN 105376779 B CN105376779 B CN 105376779B
Authority
CN
China
Prior art keywords
protocol stack
application processor
modem
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.)
Expired - Fee Related
Application number
CN201510824892.1A
Other languages
Chinese (zh)
Other versions
CN105376779A (en
Inventor
李伟清
陈燕绿
蔚宝珠
张强
王旭康
周千里
杜渊华
蔡文龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510824892.1A priority Critical patent/CN105376779B/en
Publication of CN105376779A publication Critical patent/CN105376779A/en
Application granted granted Critical
Publication of CN105376779B publication Critical patent/CN105376779B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a kind of network communicating function abnormality eliminating method, application processor and mobile terminals, the described method includes: application processor judges whether the number of the first protocol stack exception in preset duration reaches default value when receiving the notice for being used to indicate currently used the first protocol stack exception of the modem of mobile terminal modem transmission;If the number of the first protocol stack exception reaches the default value in the preset duration, then the application processor closes first protocol stack, and the second protocol stack in addition to first protocol stack is chosen from multiple protocol stacks that the modem is supported;The application processor opens the second protocol stack, and re-starts network registry using the second protocol stack;In network registry success, the application processor records the location information of the mobile terminal.Treatment effeciency when network communicating function exception can be improved through the embodiment of the present invention.

Description

A kind of network communicating function abnormality eliminating method, application processor and mobile terminal
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of network communicating function abnormality eliminating method, using processing Device and mobile terminal.
Background technique
Currently, the network type for the communication network that the mobile terminals such as mobile phone are supported is more and more, and such as: a mobile phone is same When support different operators 2G, 3G and 4G communication network, can save replacement mobile phone inconvenience.And with mobile Internet High speed development, mobile data services occupy absolute specific gravity, therefore, the effect of the modem in mobile terminal and status Also it becomes more and more important.Wherein, modem is mainly used for data to be sent being converted to radiofrequency signal, is converted to radiofrequency signal Pending data, processing access layer (English: access stratum, abbreviation: AS) and Non-Access Stratum (English: non-access Stratum, abbreviation: NAS) signaling and with application processor (English: application processor, abbreviation: AP) into Line interface etc..
In practice, it has been found that the network environment as locating for mobile terminal is sufficiently complex, as a result, it is often necessary in inhomogeneity It switches between the communication network of type, and is often abnormal in the handoff procedure of communication network, so as to cause user Terminal can not normal Networked communication, such as protocol stack abnormal state.In order to solve the problems, such as can not Networked communication, at present frequently with Solution be: when user terminal is moved to the new band of position, to network server launch position update request, network Server is to again configure user terminal, to restore the configuration parameter of modem;Or user has found for a long time After being unable to Networked communication, manually mobile terminal is carried out forcing to restart recovery or the configuration parameter of modem is set.But The time expended using above two scheme is too long, and user is difficult to endure.
Summary of the invention
The embodiment of the invention provides a kind of network communicating function abnormality eliminating method, application processor and mobile terminal, It can solve network communicating function in the prior art and be abnormal and can not restore manually communication service consumption in the case where Networked communication When too long problem.
First aspect of the embodiment of the present invention provides a kind of network communicating function abnormality eliminating method, comprising:
Application processor receive the transmission of mobile terminal modem to be used to indicate the modem current When the notice of the first protocol stack exception used, judge whether the number of the first protocol stack exception in preset duration reaches pre- If numerical value;
If the number of the first protocol stack exception reaches the default value in the preset duration, at the application It manages device and closes first protocol stack, and chosen from multiple protocol stacks that the modem is supported and remove first agreement Second protocol stack except stack;
The application processor opens the second protocol stack, and re-starts network using the second protocol stack and infuse Volume;
In network registry success, the application processor records the location information of the mobile terminal.
Optionally, further includes:
In network registry failure, the application processor restores the switch shape of default protocol stack in the multiple protocol stack State or the application processor restore the default protocol stack switch state in the multiple protocol stack and reset the modulation simultaneously Demodulator.
Optionally, described in network registry success, the application processor records the location information of the mobile terminal Later, further includes:
When the location information changes, the application processor restores default protocol stack in the multiple protocol stack Switch state or the application processor restore the default protocol stack switch state in the multiple protocol stack and reset simultaneously The modem.
Optionally, further includes:
The application processor location information of abnormal, the described mobile terminal and modulation by first protocol stack The log information of demodulator record is reported to server.
Optionally, further includes:
If the number of the first protocol stack exception is not up to the default value, the application in the preset duration Modem described in processor reset.
Second aspect of the embodiment of the present invention provides a kind of application processor, comprising:
Receiving module, for receiving being used to indicate the modem currently and making for mobile terminal modem transmission The notice of first protocol stack exception;
Judgment module, for when the receiving module receives the notice, judging first association in preset duration Whether the number of view stack exception reaches default value;
Module is chosen, for judging time that first protocol stack is abnormal in the preset duration in the judgment module When number reaches the default value, first protocol stack is closed, and from multiple protocol stacks that the modem is supported Choose the second protocol stack in addition to first protocol stack;
Registration module re-starts network registry for opening the second protocol stack, and using the second protocol stack;
Logging modle, for recording the location information of the mobile terminal in registration module network registry success.
Optionally, further includes:
First processing module is write from memory in the multiple protocol stack for restoring in registration module network registry failure Recognize the switch state of protocol stack or restores the default protocol stack switch state in the multiple protocol stack and reset the tune simultaneously Modulator-demodulator.
Optionally, further includes:
Second processing module is used in the logging modle in registration module network registry success, described in record After the location information of mobile terminal, when the location information changes, restore default protocol in the multiple protocol stack The switch state of stack restores the default protocol stack switch state in the multiple protocol stack and resets the modulation /demodulation simultaneously Device.
Optionally, further includes:
Reporting module, for by the location information of abnormal, the described mobile terminal of first protocol stack and the modulation The log information of demodulator record is reported to server.
Optionally, further includes:
Reseting module, for judging time that first protocol stack is abnormal in the preset duration in the judgment module When number is not up to the default value, the modem is resetted.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including above-mentioned second aspect is described in any item answers Use processor.
In the embodiment of the present invention, application processor receive mobile terminal modem transmission be used to indicate the tune When the notice of currently used the first protocol stack exception of modulator-demodulator, the number of the first protocol stack exception preset duration Nei is judged Whether reach default value, if it is, the application processor closes first protocol stack, opens modem support Second protocol stack in multiple protocol stacks in addition to first protocol stack, and re-start network using the second protocol stack and infuse Volume, in network registry success, the application processor records the location information of the mobile terminal, can be by switching other agreements The mode that stack carries out network registry makes modem automatically attempt to restore normal, avoids hand-operated forced restarting mobile terminal or position The problem of taking long time caused by variation is set, treatment effeciency when network communicating function exception is improved.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is that a kind of first embodiment process of network communicating function abnormality eliminating method provided in an embodiment of the present invention is shown It is intended to;
Fig. 2 is that a kind of second embodiment process of network communicating function abnormality eliminating method provided in an embodiment of the present invention is shown It is intended to;
Fig. 3 is that a kind of 3rd embodiment process of network communicating function abnormality eliminating method provided in an embodiment of the present invention is shown It is intended to;
Fig. 4 is a kind of schematic structural diagram of the first embodiment of application processor provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic structural diagram of the second embodiment of application processor provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, for a kind of first implementation of network communicating function abnormality eliminating method provided in an embodiment of the present invention Example flow diagram.Network communicating function abnormality eliminating method as described in this embodiment, comprising the following steps:
S101, application processor receive mobile terminal modem transmission be used to indicate the modem When the notice of currently used the first protocol stack exception, judge whether the number of the first protocol stack exception in preset duration reaches To default value, if so, thening follow the steps S102.
Specifically, application processor full name is that MAP (answer by Multimedia Application Processor, multimedia With processor, abbreviation MAP), for extending the ultra-large collection of audio-video function and special purpose interface on the basis of low power consumption CPU It is the important component in smart phone, application processor is general and baseband processor is independent two chips at circuit.Modulation Demodulator is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to baseband signal, processing access layer AS and non- The signaling of access layer NAS and interface etc. is carried out with AP processor, modem supports various protocols stack.
Protocol stack indicates the summation of the corresponding various protocols of some communication standard, such as: protocol stack include gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., each communication It include again multiple sub-protocol stacks below standard protocol stack, details are not described herein again.Modem is detecting internal storage access mistake When, determine the first currently used protocol stack.
Wherein, protocol stack is referred in communication process extremely to the testing result of current state context and pre- earlier The result of prestige is inconsistent, such as when detecting in a period of time only upstream data packet but then recognize without any downlink data packet For protocol stack abnormal state (i.e. uplink downlink is obstructed);Mobile terminal intelligent algorithm is judged to assist according to the phenomenon that abnormal state There is the communication process of exception or mobile terminal and network side and step-out is occurred by the influence of uncertain factor in view stack operation The case where, abnormal state phenomenon be it is common and easy-to-handle, abnormal state be it is rare and reluctant, it is right Leing go unchecked in reluctant abnormal state phenomenon may cause that protocol stack is abnormal further to be deteriorated and be difficult to control.
It should be noted that modem can integrate in the inside of application processor AP, it is also possible to independently of answering With a chip of processor, the present invention is with no restriction.
S102, the application processor close first protocol stack, and the multiple associations supported from the modem Discuss the second protocol stack chosen in addition to first protocol stack in stack.
Specifically, when application processor detects the first currently used protocol stack exception, judge in preset duration this Whether the number of one protocol stack exception reaches default value, if it is, application processor closes first protocol stack, prevents this First protocol stack repeated extremely.Then, application processor selects one from multiple protocol stacks that modem is supported Second protocol stack in addition to first protocol stack, wherein the strategy of application processor selection may is that selection the first agreement of ratio The protocol stack of the low level-one of stack is as second protocol stack;Or the signal strength of the corresponding cell signal of each protocol stack of measurement surrounding, Using the maximum protocol stack of signal strength as second protocol stack;Or select protocol stack more higher leveled than the first protocol stack as second Protocol stack;Or second protocol stack is determined using other strategies, the present invention is with no restriction.
S103, the application processor open the second protocol stack, and re-start net using the second protocol stack Network registration.
In the specific implementation, mobile terminal is by there is service state to be converted to no service state, using processing after closing the first protocol stack Device opens the second protocol stack of selection, carries out network registry, such as the process of LTE network registration using second protocol stack are as follows: move Dynamic terminal initiates attach request (English: attach request), if network side allows mobile terminal to access, net to network side Network is displaced sideways terminal and returns to attachment response (English: attach accept), indicates network registry success, mobile terminal is by nothing Service state has been converted to service state;If network side does not allow mobile terminal to access, the lateral mobile terminal of network returns to refusal/mistake False information indicates network registry failure.
S104, network registry success when, the application processor records the location information of the mobile terminal.
Wherein, location information indicates the logical place of mobile terminal in the mobile communication network, and location information can be small Area's mark or regional location code or position tracking region etc., the embodiment of the present invention is without limitation.If application processor uses the The success of two protocol stack registered networks, then application processor records the current location information of mobile terminal.
S105, network registry failure when, the application processor restores default protocol stack in the multiple protocol stack Switch state or the application processor restore the default protocol stack switch state in the multiple protocol stack and reset institute simultaneously State modem.
Specifically, application processor register network using second protocol stack not successfully, application processor according to it is preparatory The switch state for the default protocol stack known, restore the default protocol stack switch state or application processor according in advance The switch state for the default protocol stack known restores the switch state of the default protocol stack and resets simultaneously to modem Operation.The default protocol stack is a pre-set protocol stack in multiple protocol stacks that modem is supported, herein may be used It, can also be with the protocol stack that the protocol stack of the same default uses as application processor initial selected is arranged for all regions Different default protocol stacks is respectively set for single area or in some region of multiple areas, the embodiment of the present invention is not made Any restriction.After carrying out reset operation, application processor carries out network registry, network registry success using the default protocol stack Afterwards, it is worked using the default protocol stack.
In the embodiment of the present invention, application processor receive mobile terminal modem transmission be used to indicate the tune When the notice of currently used the first protocol stack exception of modulator-demodulator, the number of the first protocol stack exception preset duration Nei is judged Whether reach default value, if it is, the application processor closes first protocol stack, opens modem support Second protocol stack in multiple protocol stacks in addition to first protocol stack, and re-start network using the second protocol stack and infuse Volume, in network registry success, the application processor records the location information of the mobile terminal, can be by switching other agreements The mode that stack carries out network registry makes modem automatically attempt to restore normal, avoids hand-operated forced restarting mobile terminal or position The problem of taking long time caused by variation is set, treatment effeciency when network communicating function exception is improved.
Referring to Fig. 2, for a kind of second implementation of network communicating function abnormality eliminating method provided in an embodiment of the present invention Example flow diagram.Network communicating function abnormality eliminating method as described in this embodiment, comprising the following steps:
S201, application processor receive mobile terminal modem transmission be used to indicate the modem When the notice of currently used the first protocol stack exception, judge whether the number of the first protocol stack exception in preset duration reaches To default value, if so, thening follow the steps S202;If it is not, thening follow the steps S208.
Wherein, modem is mounted in mobile phone, can be encapsulated in application processor, or is handled independently of application Device, the present invention is with no restriction.Modem is mainly used in number for the mutual conversion between baseband signal and radiofrequency signal According to business.
Protocol stack indicates the summation of the corresponding various protocols of some communication standard, such as: protocol stack include gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., each communication It include again multiple sub-protocol stacks below standard protocol stack, details are not described herein again.Modem is detecting internal storage access mistake When, determine the first currently used protocol stack.
Wherein, protocol stack is referred in communication process extremely to the testing result of current state context and pre- earlier The result of prestige is inconsistent, such as when detecting in a period of time only upstream data packet but then recognize without any downlink data packet For protocol stack abnormal state (i.e. uplink downlink is obstructed);Mobile terminal intelligent algorithm is judged to assist according to the phenomenon that abnormal state There is the communication process of exception or mobile terminal and network side and step-out is occurred by the influence of uncertain factor in view stack operation The case where.
Wherein, it is used to indicate the notice format present invention of currently used the first protocol stack exception of the modem not It is restricted, can use the mode of extended field in existing message to realize or construct new message and realize.
S202, the application processor close first protocol stack, and the multiple associations supported from the modem Discuss the second protocol stack chosen in addition to first protocol stack in stack.
Specifically, application processor judges that the number of the first protocol stack exception preset duration Nei reaches default value When, first protocol stack is closed, prevents first protocol stack from repeated extremely.Then, application processor is from modem Second protocol stack of the selection one in addition to first protocol stack in the multiple protocol stacks supported, wherein application processor selection Strategy may is that the protocol stack for selecting level-one lower than the first protocol stack as second protocol stack;Or each agreement around measurement The signal strength of the corresponding cell signal of stack, using the maximum protocol stack of signal strength as second protocol stack;Or selection ratio first The higher leveled protocol stack of protocol stack is as second protocol stack;Or second protocol stack is determined using other strategies, the present invention does not make Limitation.
S203, the application processor open the second protocol stack, and re-start net using the second protocol stack Network registration.
In the specific implementation, mobile terminal is by there is service state to be converted to no service state, using processing after closing the first protocol stack Device opens the second protocol stack of selection, carries out network registry, such as the process of LTE network registration using second protocol stack are as follows: move Dynamic terminal initiates attach request (English: attach request), if network side allows mobile terminal to access, net to network side Network is displaced sideways terminal and returns to attachment response (English: attach accept), indicates network registry success, mobile terminal is by nothing Service state has been converted to service state;If network side does not allow mobile terminal to access, the lateral mobile terminal of network returns to refusal/mistake False information indicates network registry failure.
S204, the application processor judge whether network registry succeeds, if so, thening follow the steps S205;If it is not, then holding Row step S207.
S205, the application processor record the location information of the mobile terminal.
Specifically, location information indicates the mark for the logical place planned in advance in mobile communications network, for example, position is believed Breath includes cell ID or location area code etc..
S206, the application processor judge whether the location information of the mobile terminal changes, if so, executing Step S207;Otherwise, S206 is continued to execute.
Specifically, application processor periodically obtains location information, upper obtain in the location information that currently obtains and once The location information taken executes step S207, otherwise continues to judge that the location information of the mobile terminal is compared to when changing It is no to change.For example, location information is cell ID, mobile terminal is moved to another cell by a cell, indicates position Information changes;Location information is location area code, and mobile terminal is moved to another band of position by a band of position, Show that location information changes.Application processor obtains the period embodiment of the present invention of location information without limitation, Ke Yigen It is configured according to actual demand.
S207, the application processor restore the switch state of default protocol stack or the application in the multiple protocol stack Processor restores the default protocol stack switch state in the multiple protocol stack and resets the modem simultaneously.
Specifically, switch state of the application processor according to previously known default protocol stack, restores the default protocol stack Switch state or application processor according to the switch state of previously known default protocol stack, restore the default protocol stack Switch state and reset the modem simultaneously.Wherein, which is multiple associations that modem is supported A pre-set protocol stack in stack is discussed, the protocol stack that the same default can be arranged for all regions herein, which is used as, answers The protocol stack used with processor initial selected respectively can also be set for single area or in some region of multiple areas Different default protocol stacks is set, the embodiment of the present invention is not limited in any way.
S208, the application processor reset the modem.
In the embodiment of the present invention, application processor receive mobile terminal modem transmission be used to indicate the tune When the notice of currently used the first protocol stack exception of modulator-demodulator, the number of the first protocol stack exception preset duration Nei is judged Whether default value is reached, if it is not, then resetting the modem;If it is, the application processor close this first Protocol stack, and the second protocol stack in multiple protocol stacks that the modem is supported in addition to first protocol stack is opened, into And the second protocol stack registered network is used, the current location information of the mobile terminal is recorded in network registry success, and The location information restores the switch state of default protocol stack in multiple protocol stack or resets the modulation simultaneously when changing Demodulator can make modem automatically attempt to restore normal by way of switching other protocol stacks and carrying out network registry, Avoid the problem that it is hand-operated forced restart taken long time caused by mobile terminal or change in location, improve network communicating function exception When treatment effeciency.
Referring to Fig. 3, for a kind of third implementation of network communicating function abnormality eliminating method provided in an embodiment of the present invention Example flow diagram.Network communicating function abnormality eliminating method as described in this embodiment, comprising the following steps:
S301, application processor receive mobile terminal modem transmission be used to indicate the modem When the notice of currently used the first protocol stack exception, judge whether the number of the first protocol stack exception in preset duration reaches To default value, if so, thening follow the steps S302;If it is not, thening follow the steps S306.
Wherein, protocol stack indicates the summation of the corresponding various protocols stack of some communication standard, such as: protocol stack includes GSM Protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., respectively It again include multiple sub-protocol stacks below a communication standard protocol stack, such as: TD-LTE protocol stack includes physical layer protocol stack, is situated between again Matter MAC layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stack, PDCP protocol stack and NAS protocol stack Deng.Details are not described herein again.
S302, the application processor close first protocol stack, and the multiple associations supported from the modem Discuss the second protocol stack chosen in addition to first protocol stack in stack.
Specifically, application processor reaches default value in the number for judging the first protocol stack exception in preset duration When, first protocol stack is closed, prevents first protocol stack from repeated extremely.Then, application processor is from modem Second protocol stack of the selection one in addition to first protocol stack in the multiple protocol stacks supported, wherein application processor selection Strategy may is that the protocol stack for selecting level-one lower than the first protocol stack as second protocol stack;Or each agreement around measurement The signal strength of the corresponding cell signal of stack, using the maximum protocol stack of signal strength as second protocol stack;Or selection ratio first The higher leveled protocol stack of protocol stack is as second protocol stack;Or second protocol stack is determined using other strategies, the present invention does not make Limitation.
S303, the application processor open the second protocol stack, and re-start net using the second protocol stack Network registration.
In the specific implementation, mobile terminal is by there is service state to be converted to no service state, using processing after closing the first protocol stack Device opens the second protocol stack of selection, carries out network registry, such as the process of LTE network registration using second protocol stack are as follows: move Dynamic terminal initiates attach request (English: attach request), if network side allows mobile terminal to access, net to network side Network is displaced sideways terminal and returns to attachment response (English: attach accept), indicates network registry success, mobile terminal is by nothing Service state has been converted to service state;If network side does not allow mobile terminal to access, the lateral mobile terminal of network returns to refusal/mistake False information indicates network registry failure.
S304, network registry success when, the application processor records the location information of the mobile terminal.
Specifically, location information indicates the mark for the logical place planned in advance in mobile communications network, for example, position is believed Breath includes cell ID or location area code etc..
S305, the application processor location information of abnormal, the described mobile terminal and institute by first protocol stack The log information for stating modem record is reported to server.
Wherein, log information indicates that modem and/or application processor operate the operation information of multiple protocol stack, Operation information includes: operational order, operating time and returns the result.
Specifically, application processor by abnormal cause (i.e. first protocol stack abnormal), mobile terminal location information and Log is reported to server (i.e. network side), wherein can be the case where mobile terminal connects upper Wireless Fidelity Wi-Fi Hotspot Under, above- mentioned information are reported to network side, abnormal cause can also be shown and moved to save flow or the application processor On the display screen of dynamic terminal, checked for user.
S306, the application processor reset the modem.
In the embodiment of the present invention, application processor receive mobile terminal modem transmission be used to indicate the tune When the notice of currently used the first protocol stack exception of modulator-demodulator, which judges first agreement in preset duration Whether the number of stack exception reaches default value, if it is not, then resetting the modem;If it is, the application processing Device closes first protocol stack, and open in multiple protocol stacks of application processor support in addition to first protocol stack the Two protocol stacks, and then the second protocol stack registered network is used, the current position of the mobile terminal is recorded in network registry success Confidence breath, the application processor can also be handled first protocol stack in abnormal, the mobile terminal location information and the application The log information of device record is reported to server, can make modulatedemodulate by way of switching other protocol stacks and carrying out network registry Adjust device to automatically attempt to restore normal, avoid the problem that it is hand-operated forced restart taken long time caused by mobile terminal or change in location, Improve treatment effeciency when network communicating function exception.
Referring to Fig. 4, being a kind of schematic structural diagram of the first embodiment of application processor provided in an embodiment of the present invention.This Application processor described in embodiment, comprising: receiving module 401, chooses module 403, registration module at judgment module 402 404 and logging modle 405, in which:
Receiving module 401, the modem that is used to indicate for receiving the transmission of mobile terminal modem are worked as The notice of preceding the first protocol stack exception used.
Judgment module 402, for judging described first in preset duration when the receiving module receives the notice Whether the number of protocol stack exception reaches default value.
Module 403 is chosen, for judging that first protocol stack is abnormal in the preset duration in the judgment module Number when reaching the default value, close first protocol stack, and the multiple agreements supported from the modem The second protocol stack in addition to first protocol stack is chosen in stack.
Registration module 404 for opening the second protocol stack, and re-starts network using the second protocol stack and infuses Volume.
Logging modle 405, in registration module network registry success, recording the position letter of the mobile terminal Breath.
In some possible embodiments, the application processor further include:
First processing module is write from memory in the multiple protocol stack for restoring in registration module network registry failure Recognize the switch state of protocol stack or restores the default protocol stack switch state in the multiple protocol stack and reset the tune simultaneously Modulator-demodulator.
In some possible embodiments, the application processor further include:
Second processing module is used in the logging modle in registration module network registry success, described in record After the location information of mobile terminal, when the location information changes, restore default protocol in the multiple protocol stack The switch state of stack restores the default protocol stack switch state in the multiple protocol stack and resets the modulation /demodulation simultaneously Device.
In some possible embodiments, the application processor further include:
Reporting module, for by the location information of abnormal, the described mobile terminal of first protocol stack and the modulation The log information of demodulator record is reported to server.
In some possible embodiments, the application processor further include:
Reseting module, for judging time that first protocol stack is abnormal in the preset duration in the judgment module When number is not up to the default value, the modem is resetted.
It should be noted that the function of each functional module of the modem of the embodiment of the present invention can be according to the above method Method specific implementation in embodiment, specific implementation process are referred to the associated description of above method embodiment, herein not It repeats again.
In the embodiment of the present invention, application processor receive mobile terminal modem transmission be used to indicate the tune When the notice of currently used the first protocol stack exception of modulator-demodulator, the number of the first protocol stack exception preset duration Nei is judged Whether reach default value, if it is, the application processor closes first protocol stack, opens modem support Second protocol stack in multiple protocol stacks in addition to first protocol stack, and re-start network using the second protocol stack and infuse Volume, in network registry success, the application processor records the location information of the mobile terminal, can be by switching other agreements The mode that stack carries out network registry makes modem automatically attempt to restore normal, avoids hand-operated forced restarting mobile terminal or position The problem of taking long time caused by variation is set, treatment effeciency when network communicating function exception is improved.
Referring to Fig. 5, being a kind of schematic structural diagram of the second embodiment of application processor provided in an embodiment of the present invention.This Application processor described in embodiment, comprising: CPU501, memory 502 and communication interface 503, the quantity of CPU501 can To be one or more, for Fig. 5 by taking a CPU as an example, above-mentioned CPU501, memory 502 and communication interface 503 can pass through bus 504 or other modes connection, in Fig. 5 by taking bus connects as an example.
Wherein, batch processing code is stored in above-mentioned memory 502, and above-mentioned CPU501 is for calling above-mentioned memory The program code stored in 502, for performing the following operations:
Receive mobile terminal modem transmission be used to indicate the modem it is currently used first When the notice of protocol stack exception, judge whether the number of the first protocol stack exception in preset duration reaches default value.
If the number of the first protocol stack exception reaches the default value in the preset duration, described is closed One protocol stack, and second association of the selection in addition to first protocol stack from multiple protocol stacks that the modem is supported Discuss stack.
The second protocol stack is opened, and re-starts network registry using the second protocol stack.
In network registry success, the location information of the mobile terminal is recorded.
In some possible embodiments, above-mentioned CPU501 is also used to execute:
In network registry failure, restores the switch state of default protocol stack in the multiple protocol stack or restore described more Default protocol stack switch state in a protocol stack simultaneously resets the modem simultaneously.
In some possible embodiments, above-mentioned CPU501 is also used to execute:
In network registry success, after the location information for recording the mobile terminal, when the location information becomes When change, restores the switch state of default protocol stack in the multiple protocol stack or restore the default protocol in the multiple protocol stack Stack switch state simultaneously resets the modem simultaneously.
In some possible embodiments, above-mentioned CPU501 is also used to execute:
By the day of the location information of abnormal, the described mobile terminal of first protocol stack and modem record Will information reporting is to server.
In some possible embodiments, above-mentioned CPU501 is also used to execute:
If the number of the first protocol stack exception is not up to the default value in the preset duration, reset described in Modem.
In the embodiment of the present invention, application processor receive mobile terminal modem transmission be used to indicate the tune When the notice of currently used the first protocol stack exception of modulator-demodulator, the number of the first protocol stack exception preset duration Nei is judged Whether reach default value, if it is, the application processor closes first protocol stack, opens modem support Second protocol stack in multiple protocol stacks in addition to first protocol stack, and re-start network using the second protocol stack and infuse Volume, in network registry success, the application processor records the location information of the mobile terminal, can be by switching other agreements The mode that stack carries out network registry makes modem automatically attempt to restore normal, avoids hand-operated forced restarting mobile terminal or position The problem of taking long time caused by variation is set, treatment effeciency when network communicating function exception is improved.
The embodiment of the invention also provides a kind of mobile terminal including above-mentioned application processor, mobile terminal includes but not It is limited to carryOr the mobile terminal of other operating systems, such as mobile electricity Words.It is also possible to other mobile terminals, such as with the above-knee of touch sensitive surface (for example, touch-screen display and/or Trackpad) Type computer or tablet computer or desktop computer.
In the following discussion, a kind of mobile terminal including display and touch sensitive surface is described.It should be appreciated, however, that Mobile terminal may include other one or more physical user-interface devices, such as physical keyboard, mouse and/or operating stick.
Mobile terminal usually supports a variety of application programs, such as one of following or a variety of: picture application program is presented Application program, word-processing application, webpage create application program, disk editor application program, spreadsheet applications, trip Play application program, telephony application, videoconference application, email application, instant message application program, forging Refining supports application program, photograph to manage application program, digital camera applications program, digital video camcorder application program, network Viewer applications, digital music player application, and/or video frequency player application program.
The physical user-interface device that the various application programs that can be executed on mobile terminals can be used at least one shared, Such as touch sensitive surface.The corresponding information of the one or more functions and display of touch sensitive surface on mobile terminals can be answered from one kind It is adjusted with program and/or is changed to a kind of lower application program and/or is adjusted and/or changes in corresponding application programs.In this way, The shared physical structure (such as touch sensitive surface) of mobile terminal can be propped up using intuitive clearly user interface for a user Hold various application programs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process 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-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
It is provided for the embodiments of the invention a kind of network communicating function abnormality eliminating method, application processor and shifting above Dynamic terminal is described in detail, and used herein a specific example illustrates the principle and implementation of the invention, The above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for the one of this field As technical staff, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, to sum up institute It states, the contents of this specification are not to be construed as limiting the invention.

Claims (9)

1. a kind of network communicating function abnormality eliminating method characterized by comprising
Application processor receive the transmission of mobile terminal modem to be used to indicate the modem currently used The first protocol stack exception notice when, judge whether the number of the first protocol stack exception in preset duration reaches present count Value;
If the number of the first protocol stack exception reaches the default value, the application processor in the preset duration Close first protocol stack, and choose from multiple protocol stacks that the modem is supported except first protocol stack it Outer second protocol stack;
The application processor opens the second protocol stack, and re-starts network registry using the second protocol stack;
In network registry success, the application processor records the location information of the mobile terminal;
In network registry failure, the application processor restores the default protocol stack switch state in the multiple protocol stack simultaneously The modem is resetted simultaneously, then carries out network registry using the default protocol stack.
2. the method according to claim 1, wherein described in network registry success, the application processor After the location information for recording the mobile terminal, further includes:
When the location information changes, the application processor restores opening for default protocol stack in the multiple protocol stack Off status or the application processor restore the default protocol stack switch state in the multiple protocol stack simultaneously while described in reset Modem.
3. method according to claim 1 or 2, which is characterized in that further include:
The application processor location information of abnormal, the described mobile terminal and modulation /demodulation by first protocol stack The log information of device record is reported to server.
4. the method according to claim 1, wherein further include:
If the number of the first protocol stack exception is not up to the default value, the application processing in the preset duration Device resets the modem.
5. a kind of application processor characterized by comprising
Receiving module, for receive the transmission of mobile terminal modem to be used to indicate the modem currently used The notice of first protocol stack exception;
Judgment module, for when the receiving module receives the notice, judging first protocol stack in preset duration Whether abnormal number reaches default value;
Module is chosen, for judging that the number of the first protocol stack exception in the preset duration reaches in the judgment module When to the default value, first protocol stack is closed, and choose from multiple protocol stacks that the modem is supported Second protocol stack in addition to first protocol stack;
Registration module re-starts network registry for opening the second protocol stack, and using the second protocol stack;Extensive After default protocol stack switch state in multiple the multiple protocol stack simultaneously resets the modem simultaneously, the default is used Protocol stack carries out network registry;
Logging modle, for recording the location information of the mobile terminal in registration module network registry success;
First processing module, for restoring the default in the multiple protocol stack in registration module network registry failure Protocol stack switch state simultaneously resets the modem simultaneously.
6. application processor according to claim 5, which is characterized in that further include:
Second processing module, for, in registration module network registry success, recording the movement in the logging modle After the location information of terminal, when the location information changes, restore default protocol stack in the multiple protocol stack Switch state restores the default protocol stack switch state in the multiple protocol stack and resets the modem simultaneously.
7. application processor according to claim 5 or 6, which is characterized in that further include:
Reporting module, for by the location information of abnormal, the described mobile terminal of first protocol stack and the modulation /demodulation The log information of device record is reported to server.
8. application processor according to claim 5, which is characterized in that further include:
Reseting module, for judging the number of the first protocol stack exception in the preset duration in the judgment module not When reaching the default value, the modem is resetted.
9. a kind of mobile terminal, which is characterized in that including the application processor as described in any one of claim 5~8.
CN201510824892.1A 2015-11-24 2015-11-24 A kind of network communicating function abnormality eliminating method, application processor and mobile terminal Expired - Fee Related CN105376779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510824892.1A CN105376779B (en) 2015-11-24 2015-11-24 A kind of network communicating function abnormality eliminating method, application processor and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510824892.1A CN105376779B (en) 2015-11-24 2015-11-24 A kind of network communicating function abnormality eliminating method, application processor and mobile terminal

Publications (2)

Publication Number Publication Date
CN105376779A CN105376779A (en) 2016-03-02
CN105376779B true CN105376779B (en) 2019-04-26

Family

ID=55378488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510824892.1A Expired - Fee Related CN105376779B (en) 2015-11-24 2015-11-24 A kind of network communicating function abnormality eliminating method, application processor and mobile terminal

Country Status (1)

Country Link
CN (1) CN105376779B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921520A (en) * 2017-02-28 2017-07-04 北京匡恩网络科技有限责任公司 Communication processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
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
WO2014203467A1 (en) * 2013-06-21 2014-12-24 株式会社Nttドコモ Positional-information registration method, and mobile communication terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
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
WO2014203467A1 (en) * 2013-06-21 2014-12-24 株式会社Nttドコモ Positional-information registration method, and mobile communication terminal

Also Published As

Publication number Publication date
CN105376779A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN105376773B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105357053B (en) Processing method, application processor and the user terminal of network communicating function exception
CN105376785B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN108599986B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN106686638A (en) Network communication function abnormality processing method and network communication function abnormality processing device
CN106686637A (en) Processing method of network communication function abnormities and processing device
CN105357049B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105407461B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376113B (en) Processing method, modem 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
CN105490838B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376784B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376779B (en) A kind of network communicating function abnormality eliminating method, application processor and mobile terminal
CN105634794B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105491604B (en) Processing method, modem and the user terminal of network communicating function exception
CN105491605B (en) A kind of network communicating function abnormality eliminating method, modem and mobile terminal
CN105491608B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376787B (en) A kind of processing method and application processor of network communicating function exception
CN105376778B (en) A kind of processing method and mobile terminal of network communicating function exception
CN108684056B (en) Processing method, modem, mobile terminal and the storage medium of network communicating function exception
CN105376783B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105517029B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376774B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN108599987A (en) Processing method, application processor and the user terminal of network communicating function exception

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190426