CN105357049B - Processing method, application processor and the mobile terminal of network communicating function exception - Google Patents
Processing method, application processor and the mobile terminal of network communicating function exception Download PDFInfo
- Publication number
- CN105357049B CN105357049B CN201510828251.3A CN201510828251A CN105357049B CN 105357049 B CN105357049 B CN 105357049B CN 201510828251 A CN201510828251 A CN 201510828251A CN 105357049 B CN105357049 B CN 105357049B
- Authority
- CN
- China
- Prior art keywords
- protocol stack
- application processor
- network
- modem
- communicating function
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1073—Registration or de-registration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/30—Definitions, standards or architectural aspects of layered protocol stacks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of processing method of network communicating function exception, including:The abnormal instruction message that application processor receiving modem is sent;Judge whether the number that network communicating function exception occurs in preset time is more than or equal to preset times threshold value, if so, obtaining the first currently used protocol stack of the modem;Close first protocol stack, and the second protocol stack from the selection in multiple protocol stacks that the modem is supported in addition to first protocol stack;The second protocol stack is opened, and network registry is carried out using the second protocol stack;If network registry success, application processor record current location information;If network registry fails, application processor restores the default protocol stack switch state in the multiple protocol stack or resets the modem simultaneously.The embodiment of the invention also discloses a kind of application processor and mobile terminals.Using the present invention, the exception of network communicating function can be quickly detected and restored.
Description
Technical field
The present invention relates to the processing method of the communications field more particularly to a kind of network communicating function exception, application processors
And mobile terminal.
Background technology
With the development of the communication technology, the type for the communication standard that mobile phone is supported is more and more, such as:One mobile phone is simultaneously
It supports the communication standard of 2G, 3G and 4G of different operators, saves the inconvenience for replacing mobile phone.The high speed development of mobile Internet makes
Data service occupies absolute proportion, so as to which the effect of the modem in mobile phone and status become more and more important, modem
For by data to be sent be converted to radiofrequency signal and by device signal be converted to pending data, processing access layer (AS) and
The signaling of Non-Access Stratum (NAS) and with AP processors into line interface etc..It is very multiple in the mobile network environment residing for mobile phone
Miscellaneous, mobile phone often switches between different communication standards, often occurs during communication standard switches different
Often, mobile phone can not Networked communication, such as channel decoding failure.In order to solve can not Networked communication, currently used solution
It is:It when mobile phone is moved to the new band of position, updates and asks to network side launch position, network side again matches mobile phone
It puts, restores the configuration parameter of modem;Or user is had found after being unable to Networked communication for a long time, and mobile terminal is carried out manually
It forces to restart or set the configuration parameter for restoring modem.But the time that two schemes expend is long, user is difficult to
It endures.
Invention content
The embodiment of the present invention provides a kind of processing method, application processor and the mobile terminal of network communicating function exception,
Can solve to be abnormal in the prior art can not can not automatically attempt to restore or restore communication service in the case of Networked communication
Take the problem of long.
An embodiment of the present invention provides a kind of processing method of network communicating function exception, including:
The abnormal instruction message that application processor receiving modem is sent, wherein, it is taken in the exception instruction message
The network communicating function unexpected message of channel decoding failure is detected with modem;
Whether the number that the application processor judges the network communicating function exception occurs in preset time is more than
Or equal to preset times threshold value, if so, obtaining the first currently used protocol stack of the modem;
The application processor closes first protocol stack, and from multiple protocol stacks that the modem is supported
Second protocol stack of the selection in addition to first protocol stack;
The application processor opens the second protocol stack, and carries out network registry using the second protocol stack;
If network registry success, the application processor record current location information;
If network registry fails, the application processor restores the default protocol stack switch state in the multiple protocol stack
Or the application processor restores the default protocol stack switch state in the multiple protocol stack and resets the modulatedemodulate simultaneously
Adjust device.
Wherein, the channel decoding unsuccessfully includes:Common signal channel decoding failure or the decoding of Broadcast broadcast channels
Failure.
Wherein, if network registry success, after recording current location information, the method further includes:
When position changes, the application processor restores the default protocol stack in multiple protocol stacks of the support
On off state or the application processor restore the default protocol stack switch state in the multiple protocol stack and reset institute simultaneously
State modem.
Wherein, the method further includes:
If the abnormal cause of the network communicating function exception does not report, the exception of the network communicating function exception is obtained
Reason and daily record;
The abnormal cause, the current location information and daily record are reported to network side and/or the display exception
Reason.
Wherein, it is described that the abnormal cause, the current location information and daily record are reported to network side and included:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi for establishing communication connection
The abnormal cause, the current location information and daily record are reported to network side by hot spot.
The embodiment of the present invention additionally provides a kind of application processor, including:
Determining module, for receiving modem send abnormal instruction message after, judge to occur in preset time
Whether the number of the network communicating function exception is more than or equal to preset times threshold value, if so, obtaining the modulatedemodulate
The first protocol stack for adjusting device currently used;Wherein, it carries modem in the abnormal instruction message and detects that channel decodes
The network communicating function unexpected message of failure;
Selecting module, for closing first protocol stack, and from multiple protocol stacks that the modem is supported
Second protocol stack of the selection in addition to first protocol stack;
Registration module for opening the second protocol stack, and carries out network registry using the second protocol stack;
If logging modle for network registry success, records current location information.
Wherein, the channel decoding unsuccessfully includes:Common signal channel decoding failure or the decoding of Broadcast broadcast channels
Failure.
Wherein, the application processor further includes:
Recovery module, for when network registry fails or when after network registry success and when position changes, restoring
Default protocol stack switch state in multiple protocol stacks of the support or the acquiescence in multiple protocol stacks of the recovery support
Protocol stack on off state simultaneously resets the modem simultaneously.
Wherein, the application processor further includes:
Reporting module if the abnormal cause for network communicating function exception does not report, obtains the network communication
The abnormal cause of dysfunction and daily record, and the abnormal cause, the current location information and daily record are reported to network
Side.
The embodiment of the present invention provides a kind of mobile terminal, including the application processor described in above-mentioned any one.
Implement the embodiment of the present invention, have the advantages that:
It, can after application processor receives the abnormal instruction message sent when modem detects channel decoding unsuccessfully
Judge whether the number that network communicating function exception occurs in preset time is more than or equal to preset times threshold value, if so,
The currently used protocol stack of modem is then closed, is selected in the multiple protocol stacks supported from modem currently used
Protocol stack other protocol stacks, open other protocol stacks and use other protocol stack registered networks, registered network success when,
Record current location information.It is quickly detected when modem can not work normally, and is noted by network in this way
The mode of volume makes modem automatically attempt to restore normal, avoids forcing to take caused by restarting mobile phone or location updating long
The problem of, reduce time of network disaster recovery.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of embodiment flow signal of the processing method of network communicating function exception provided in an embodiment of the present invention
Figure;
Fig. 2 is a kind of another embodiment flow of the processing method of network communicating function exception provided in an embodiment of the present invention
Schematic diagram;
Fig. 3 is a kind of another embodiment flow of the processing method of network communicating function exception provided in an embodiment of the present invention
Schematic diagram;
Fig. 4 is a kind of example structure schematic diagram of application processor provided in an embodiment of the present invention;
Fig. 5 is a kind of another example structure schematic diagram of application processor provided in an embodiment of the present invention;
Fig. 6 is a kind of another example structure schematic diagram of application processor provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
It is that a kind of flow of processing method of network communicating function exception provided in an embodiment of the present invention is illustrated referring to Fig. 1
Figure, in embodiments of the present invention, the method includes the steps:
After the abnormal instruction message that S101, the application processor receiving modem are sent, judge in preset time
Whether the interior number that network communicating function exception occurs is more than or equal to preset times threshold value, if so, obtaining the modulation
The first currently used protocol stack of demodulator.
Specifically, application processor full name is AP (Application Processor, application processor, abbreviation AP), use
It is in smart mobile phone in the super large-scale integration that audio and video function and special purpose interface are extended on the basis of low power consumption CPU
Important component, application processor is general and baseband processor is two independent chips.Modem is used to believe base band
Number radiofrequency signal is converted to, radiofrequency signal is converted to baseband signal, the letter of processing access layer (AS) and Non-Access Stratum (NAS)
It enables and with AP processors into line interface etc.;Modem supports various protocols stack.It, can when modem occurs abnormal
Network registry is carried out by the various protocols stack of its support, to restore data service.When modem detects generation network
After communication function exception, modem can collapse, and can not be normally carried out data processing, user is caused to cannot get online.
In order to restore proper network, modem then needs the reason of abnormal to network communicating function to judge, and then can basis
Concrete reason carries out network restoration.Specifically, modem can judge to cause net when detecting network communicating function exception
Whether the reason of network communication function is abnormal is channel decoding failure, if abnormal instruction message then can be transmitted to application processor,
Inform that application processor detects channel decoding failure by above-mentioned abnormal instruction message.Application processor passes through modem
The abnormal instruction message of transmission determine the reason of network communicating function is abnormal for channel decoding failure after, then can to network into
Row is repaired.
In some feasible embodiments, application processor determines that the abnormal cause of network communicating function exception is channel
It after decoding failure, can determine whether within the preset time, the network communicating function frequency of abnormity for channel decoding failure occur is
It is no to be more than or equal to preset times threshold value, if so, needing to handle above-mentioned network communicating function extremely.That is, modulation
Demodulator can carry out network communicating function abnormality processing when repeatedly being decoded because of channel and network communicating function exception unsuccessfully occur,
Network processes, waste of resource are carried out when network being avoided to occur false abnormal.
It should be noted that modem can be integrated in the inside of application processor AP or independently of should
With a chip of processor, the present invention is not restricted.
S102, the application processor are closed first protocol stack and are supported from the modem multiple
Selection in protocol stack is except the second protocol stack of first protocol stack.
In some feasible embodiments, protocol stack represents the summation of the corresponding various protocols of some communication standard, example
Such as:Protocol stack include gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks,
FDD-LTE protocol stacks etc., again including multiple sub-protocol stacks below each communication standard protocol stack, details are not described herein again.It is specific real
In existing, when the reason of modem determines to cause network communicating function abnormal, is channel decoding failure, it may be determined that it currently makes
Protocol stack (i.e. the first protocol stack).
In some feasible embodiments, the first protocol stack is the protocol stack for causing channel decoding failure, using processing
Device needs to close the first protocol stack, prevents channel decoding from unsuccessfully repeated.Application processor is supported more from modem
A second protocol stack for removing the first protocol stack is selected in a protocol stack.
S103, the application processor open the second protocol stack, and carry out network note using the second protocol stack
Volume.
In some feasible embodiments, after closing the first protocol stack, mobile terminal becomes non-service state, using place
Reason device opens the second protocol stack of selection, carries out network registry using second protocol stack, the process of network registry is:Mobile terminal
Attach request (attache request) is initiated to network side, if network side allows mobile terminal to access, is returned to mobile terminal
Attachment response (attach accept), represents network registry success, and mobile terminal has been converted to service state by no service state;
If network side does not allow mobile terminal to access, error message is returned to mobile terminal, represents network registry failure.
If the success of S104, network registry, the application processor record current location information.
In some feasible embodiments, location information represents mobile terminal logical place in the mobile communication network,
Location information can be cell ID or regional location code or position tracking region etc., and the present invention is not restricted.If use
The success of two protocol stack registered networks, records current location information.
If S105, network registry fail, the default protocol stack that the application processor restores in the multiple protocol stack is opened
Off status resets the modem simultaneously.
In some feasible embodiments, default protocol stack is pre-set protocol stack, and default protocol stack is modulation
One in multiple protocol stacks that demodulator is supported.If failed using second protocol stack registered network, open pre-set
Default protocol stack simultaneously carries out modem reset operation, reset operation after, modem using default protocol stack into
Row work.
Implement the embodiment of the present invention, application processor is received when modem detects channel decoding failure and sent
Abnormal instruction message, the currently used protocol stack of modem is closed, in the multiple protocol stacks supported from modem
Other protocol stacks of currently used protocol stack are selected, open other protocol stacks and use other protocol stack registered networks,
In registration during network, current location information is recorded.It is quickly detected when modem can not work normally in this way,
And make modem recovery normal by way of network registry, it avoids forcing to take caused by restarting mobile phone or location updating
The problem of long, reduces the time of network disaster recovery.
It is that a kind of flow of processing method of network communicating function exception provided in an embodiment of the present invention is illustrated referring to Fig. 2
Figure, in embodiments of the present invention, the method includes the steps:
Whether S201, modem detect channel decoding failure.
Specifically, modem is mounted in mobile phone, can be encapsulated as in application processor AP or independently of at
Device is managed, the present invention is not restricted.Modem is mainly used in for the mutual conversion between baseband signal and radiofrequency signal
Data service.If channel decoding failure occurs, S202 is performed, if mistake does not occur, performs S201.Channel decoding failure occurs
When, the corresponding application program of modem will be unable to normal operation, even result in program crashing, since modem is main
For data service, internet can not be accessed by directly contributing user.
S202, the modem indicate this exception of application processor processes.
Specifically, this abnormal method of modem instruction application processor processes can be:Modem to
Application processor sends abnormal instruction message, and application processor receives abnormal instruction message and shows that modem detects letter
Road decoding fails, and application processor needs handle the exception at this time.Wherein, the form present invention of abnormal instruction message is not
It is restricted, can be realized using the mode of extended field in existing message to realize or construct new message.
S203, the application processor judge to occur in preset time the network communicating function exception number whether
More than or equal to preset times threshold value, if so, performing step S204.
In some feasible embodiments, application processor determines that the abnormal cause of network communicating function exception is channel
It after decoding failure, can determine whether within the preset time, the network communicating function frequency of abnormity for channel decoding failure occur is
It is no to be more than or equal to preset times threshold value, if so, needing to handle above-mentioned network communicating function extremely.That is, modulation
Demodulator can carry out network communicating function abnormality processing when repeatedly being decoded because of channel and network communicating function exception unsuccessfully occur,
Network processes, waste of resource are carried out when network being avoided to occur false abnormal.
S204 obtains the first currently used protocol stack of the modem.
Specifically, protocol stack represents the summation of the corresponding various protocols stack of some communication standard, such as:Protocol stack includes
Gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks
Deng, again including multiple sub-protocol stacks below each communication standard protocol stack, such as:TD-LTE protocol stacks include physical layer protocol again
Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS associations
Discuss stack etc..Details are not described herein again.The method that application processor obtains currently used the first protocol stack of modem can be:
The state flag bit of presentation protocol stack obtains the first currently used protocol stack in application processor inquiry modem, such as
Flag bit 1 represents corresponding protocol stack as opening, and flag bit 0 represents that corresponding protocol stack is in off state.
S205, the application processor close first protocol stack, and the multiple associations supported from the modem
Discuss the second protocol stack that selection in stack removes first protocol stack.
Specifically, using the first protocol stack channel decoding failure occurs for modem, channel decoding failure in order to prevent
It repeated, application processor needs to close the first protocol stack.Then, application processor determines that modem is supported multiple
Second protocol stack of the selection in addition to the first protocol stack in protocol stack, wherein, the strategy of application processor selection can be:Selection
The protocol stack of level-one lower than the first protocol stack is as second protocol stack;Or measure the corresponding cell signal of each protocol stack of surrounding
Signal strength, using the protocol stack of signal strength maximum as second protocol stack;Or selection agreement more higher leveled than the first protocol stack
Stack is as second protocol stack;Or using the determining second protocol stack of other strategies, the present invention is not restricted.
S206, the application processor open the second protocol stack, and carry out network note using the second protocol stack
Volume.
Specifically, after closing the first protocol stack, mobile terminal becomes non-service state, and application processor opens the of selection
Two protocol stacks carry out network registry using second protocol stack, for example, the process registered of LTE network as:It is mobile to be initiated to network side
If network side allows mobile terminal to access, attachment response is returned to mobile terminal for attach request (attach request)
(attach accept), represents network registry success, and mobile terminal has been converted to service state by no service state;If network side
Mobile terminal is not allowed to access, refusal or error message are returned to mobile terminal, represent network registry failure.
Whether S207, network registry succeed.
Specifically, if application processor performs S208, if application processor using network on second protocol stack successful registration
It registers upper network not successfully using second protocol stack, performs S209.
S208, the application processor record current location information, then perform S212, and start and S210's and advance
Journey.
Specifically, location information represents the mark of logical place planned in advance in mobile communications network, for example, position is believed
Breath includes cell ID or location area code etc..
S209, the application processor restore the default protocol stack switch state or same in multiple protocol stacks of the support
Modem described in Shi Fuwei.
Specifically, application processor is using second protocol stack, the upper network of registration, application processor determine acquiescence association not successfully
Stack is discussed, according to previously known default protocol stack switch state, restores default protocol stack switch state or adjustment is demodulated simultaneously
Device carries out reset operation.A pre-set agreement in multiple protocol stacks that default protocol stack is supported for modem
Stack can be directed to the agreement that all regions set the protocol stack of same acquiescence to be used as modem initial selected herein
Stack can also be directed to single area or set different default protocol stacks respectively in some region of multiple areas, the present invention
Embodiment is not limited in any way.After carrying out reset operation, application processor carries out network registry, network note using default protocol stack
After volume success, worked using default protocol stack.
Whether S210, location information change.
Specifically, application processor periodically obtains location information, upper obtain in the location information that currently obtains and once
The location information taken performs S211, otherwise continues to execute S210 compared to when changing.For example, location information is cell ID,
Mobile terminal is moved to another cell by a cell, represents that location information changes;Location information is location area code, is moved
Dynamic terminal is moved to another band of position by a band of position, shows that location information changes.Application processor obtains
The period present invention of location information is not restricted, and can be configured according to actual demand.
S211, restore the default protocol stack switch state in the multiple protocol stack or reset the modulation /demodulation simultaneously
Device.
S212, network communicating function exception abnormal cause whether report.
If the abnormal cause of network communicating function exception reported, S215 is performed, otherwise, performs S213.
S213, the abnormal cause for obtaining the network communicating function exception and daily record.
Wherein, daily record represents the operation information of modem access memory, and operation information includes:Operational order, operation
It time and returns the result.
S214, the abnormal cause, the current location information and daily record are reported to network side and/or display institute
State abnormal cause.
Specifically, abnormal cause, current location information and daily record are reported to network side by application processor, wherein, it can
In the case of connecting wifi hotspot in mobile terminal, above- mentioned information is reported to by network side by wifi hotspot, to save
Flow.Or application processor can also include abnormal cause on the display screen of mobile terminal, be checked for user.
It should be noted that after having performed S208, parallel execution S210 and S212.
S215, the application processor processes this abnormal endings.
Implement the embodiment of the present invention, application processor is connected to modem and detects what is sent during channel decoding failure
Abnormal instruction message closes currently used protocol stack, and currently used protocol stack is selected from multiple protocol stacks of support
Other protocol stacks, open other protocol stacks and use other protocol stack registered networks, in successful registration network, record is current
Location information, and in change in location and when network registry fails, restore the default protocol stack switch in multiple protocol stacks
State restarts modem simultaneously.It can not be quickly detected, and pass through during normal communication in modem in this way
Switching the mode of other protocol stacks progress network registry makes modem automatically restore the normal of communication, avoids forcing to restart
The problem of long is taken caused by mobile phone or location updating, reduces the time of network disaster recovery.
It is a kind of another flow of the processing method of network communicating function exception provided in an embodiment of the present invention referring to Fig. 3
Schematic diagram, in embodiments of the present invention, the method includes:
Whether S301, modem detect channel decoding failure.
Specifically, modem is mounted in mobile phone, can be encapsulated as in application processor AP or independently of at
Device is managed, the present invention is not restricted.Modem is mainly used in for the mutual conversion between baseband signal and radiofrequency signal
Data service.If channel decoding failure occurs, S302 is performed, if mistake does not occur, continues to execute S301.Channel decoding occurs
During failure, the corresponding application program of modem will be unable to normal operation, program crashing be even resulted in, due to modem
It is mainly used for data service, internet can not be accessed by directly contributing user.
S302, the modem indicate this exception of application processor processes.
Specifically, this abnormal method of modem instruction application processor processes can be:Modem to
Application processor sends abnormal instruction message, and application processor receives abnormal instruction message and shows that modem detects letter
Road decoding fails, and application processor needs handle the exception at this time.Wherein, the form present invention of abnormal instruction message is not
It is restricted, can be realized using the mode of extended field in existing message to realize or construct new message.
S303, the application processor judge to occur in preset time the network communicating function exception number whether
More than or equal to preset times threshold value, if so, performing step S304.
In some feasible embodiments, application processor determines that the abnormal cause of network communicating function exception is channel
It after decoding failure, can determine whether within the preset time, the network communicating function frequency of abnormity for channel decoding failure occur is
It is no to be more than or equal to preset times threshold value, if so, needing to handle above-mentioned network communicating function extremely.That is, modulation
Demodulator can carry out network communicating function abnormality processing when repeatedly being decoded because of channel and network communicating function exception unsuccessfully occur,
Network processes, waste of resource are carried out when network being avoided to occur false abnormal.
S304, the application processor obtain the first currently used protocol stack of the modem.
Specifically, protocol stack represents the summation of the corresponding various protocols stack of some communication standard, such as:Protocol stack includes
Gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks
Deng, again including multiple sub-protocol stacks below each communication standard protocol stack, such as:TD-LTE protocol stacks include physical layer protocol again
Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS associations
Discuss stack etc..Details are not described herein again.The method that application processor obtains currently used the first protocol stack of modem can be:
The state flag bit of presentation protocol stack obtains the first currently used protocol stack in application processor inquiry modem, such as
Flag bit 1 represents corresponding protocol stack as opening, and flag bit 0 represents that corresponding protocol stack is in off state.
S305, the application processor are closed first protocol stack and are supported from the modem multiple
Selection is except the second protocol stack of first protocol stack in protocol stack.
Specifically, using the first protocol stack channel decoding failure occurs for modem, channel decoding failure in order to prevent
It repeated, application processor needs to close the first protocol stack.Then, application processor determines that modem is supported multiple
Selection removes the second protocol stack of the first protocol stack in protocol stack, wherein, the strategy of application processor selection can be:Selection is than the
The protocol stack of the low level-one of one protocol stack is as second protocol stack;Or measure the signal of the corresponding cell signal of each protocol stack of surrounding
Intensity, using the protocol stack of signal strength maximum as second protocol stack;Or selection protocol stack more higher leveled than the first protocol stack is made
For second protocol stack;Or using the determining second protocol stack of other strategies, the present invention is not restricted.
S306, the application processor open the second protocol stack, and carry out network note using the second protocol stack
Volume.
Specifically, after closing the first protocol stack, mobile terminal becomes non-service state, and application processor opens the of selection
Two protocol stacks carry out network registry using second protocol stack, for example, the process registered of LTE network as:It is mobile to be initiated to network side
If network side allows mobile terminal to access, attachment response is returned to mobile terminal for attach request (attach request)
(attach accept), represents network registry success, and mobile terminal has been converted to service state by no service state;If network side
Mobile terminal is not allowed to access, refusal or error message are returned to mobile terminal, represent network registry failure.
If the success of S307, network registry, the application processor record current location information.
Specifically, location information represents the mark of logical place planned in advance in mobile communications network, for example, position is believed
Breath includes cell ID or location area code etc..
Whether S308, location information change.
Specifically, application processor periodically obtains location information, upper obtain in the location information that currently obtains and once
The location information taken performs S309 compared to when changing, and otherwise continues to obtain location information.For example, location information is cell
Mark, mobile terminal are moved to another cell by a cell, represent that location information changes;Location information is the band of position
Code, mobile terminal are moved to another band of position by a band of position, show that location information changes.Application processor
The period present invention for obtaining location information is not restricted, and can be configured according to actual demand.
S309, restore the default protocol stack switch state in multiple protocol stacks of the support or reset the modulation simultaneously
Demodulator.
S310, network communicating function exception abnormal cause whether report.
Specifically, if the abnormal cause of the abnormal network communicating function exception of network communicating function reported, continue to execute
Otherwise S310, performs S311.
S311, the abnormal cause for obtaining the network communicating function exception and daily record.
Wherein, daily record represents the operation information of modem access memory, and operation information includes:Operational order, operation
It time and returns the result.
S312, the abnormal cause, the current location information and daily record are reported to network side and/or display institute
State abnormal cause.
Specifically, abnormal cause, current location information and daily record are reported to network side by application processor, wherein, it can
In the case of connecting wifi hotspot in mobile terminal, above- mentioned information is reported to by network side by wifi hotspot, to save
Flow.Or application processor can also include abnormal cause on the display screen of mobile terminal, be checked for user.
It should be noted that the S308 and S310 after S307 can be performed parallel.
Implement the embodiment of the present invention, application processor is connected to modem and detects what is sent during channel decoding failure
Abnormal instruction message closes currently used protocol stack, and currently used protocol stack is selected from multiple protocol stacks of support
Other protocol stacks, open other protocol stacks and use other protocol stack registered networks, in registered network success, record is current
Location information, and in change in location and when network registry fails, restore the default protocol stack switch in multiple protocol stacks
State restarts modem simultaneously.It can not be quickly detected, and pass through during normal communication in modem in this way
Switching the mode of other protocol stacks progress network registry makes modem automatically restore the normal of communication, avoids forcing to restart
The problem of long is taken caused by mobile phone or location updating, reduces the time of network disaster recovery.
It is a kind of example structure schematic diagram of application processor provided in an embodiment of the present invention, in the present invention referring to Fig. 4
In embodiment, the application processor includes:Determining module 401, selecting module 402, registration module 403, logging modle 404.
Determining module 401, for receiving modem send abnormal instruction message after, judge to send out in preset time
Whether the number of the raw network communicating function exception is more than or equal to preset times threshold value, if so, obtaining the modulation
The first currently used protocol stack of demodulator;Wherein, it carries modem in the abnormal instruction message and detects channel solution
The network communicating function unexpected message of code failure.
Selecting module 402, for closing first protocol stack, and the multiple protocol stacks supported from the modem
In second protocol stack of the selection in addition to first protocol stack.
Registration module 403 for opening the second protocol stack, and carries out network registry using the second protocol stack.
If logging modle 404 for network registry success, records current location information.
The embodiment of the present invention and embodiment of the method one are based on same design, and the technique effect brought is also identical, specific former
Reason please refers to the description of embodiment of the method one, and details are not described herein again.
It is a kind of another example structure schematic diagram of application processor provided in an embodiment of the present invention, at this referring to Fig. 5
In inventive embodiments, the application processor includes:Determining module 401, selecting module 402, registration module 403, logging modle
404 and reseting module 405.
In some feasible embodiments, application processor further includes described in the embodiment of the present invention:
Recovery module 407, for when network registry fails or when after network registry success and when position changes,
Restore in the default protocol stack switch state in multiple protocol stacks of the support or multiple protocol stacks of the recovery support
Default protocol stack switch state simultaneously resets the modem simultaneously.
In some feasible embodiments, application processor further includes described in the embodiment of the present invention:
Reporting module 408 if the abnormal cause for network communicating function exception does not report, obtains the network and leads to
The abnormal cause of telecommunication function exception and daily record, and the abnormal cause, the current location information and daily record are reported to net
Network side.
Optionally, 408 concrete application of reporting module is used for:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi for establishing communication connection
The abnormal cause, the current location information and daily record are reported to network side by hot spot.
The embodiment of the present invention and embodiment of the method two and three are based on same design, and the technique effect brought is also identical, tool
Body principle please refers to the description of embodiment of the method two and three, and details are not described herein again.
It is a kind of another example structure schematic diagram of application processor of the embodiment of the present invention, in this implementation referring to Fig. 6
In, application processor is used to implement the processing method of the network communicating function exception described in Fig. 1, and application processor includes
CPU501, memory 502 and communication interface 503, the quantity of the CPU501 in application processor can be one or more, Fig. 5
By taking a CPU as an example.In some embodiments of the present invention, CPU501, memory 502 and communication interface 503 can by bus or
Other modes connect, in Fig. 5 by taking bus connects as an example.
Wherein, batch processing code is stored in memory 502, and CPU501 is used to call the journey stored in memory 502
Sequence code, for performing the following operations:
The abnormal instruction message that application processor receiving modem is sent, wherein, it is taken in the exception instruction message
The network communicating function unexpected message of channel decoding failure is detected with modem;
Whether the number that the application processor judges the network communicating function exception occurs in preset time is more than
Or equal to preset times threshold value, if so, obtaining the first currently used protocol stack of the modem;
Close first protocol stack, and from the selection in multiple protocol stacks that the modem is supported except described the
Second protocol stack except one protocol stack;
The second protocol stack is opened, and network registry is carried out using the second protocol stack;
If network registry success, records current location information.
If network registry fails, the application processor restores the default protocol stack switch state in the multiple protocol stack
Or the application processor restores the default protocol stack switch state in the multiple protocol stack and resets the modulatedemodulate simultaneously
Adjust device.
In some embodiments of the invention, if CPU501 performs the network registry success, current position letter is recorded
After breath, it is additionally operable to perform:
When position changes, the application processor restores the default protocol stack switch shape in the multiple protocol stack
State resets the modem simultaneously.
In some embodiments of the invention, CPU501 performs each agreement in multiple protocol stacks by the support
The corresponding current switch states of stack are restored to after the initial switch state, are additionally operable to perform:
If the abnormal cause of the network communicating function exception does not report, the exception of the network communicating function exception is obtained
Reason and daily record;
The abnormal cause, the current location information and daily record are reported to network side.
In some embodiments of the invention, if CPU501 performs the network registry success, the application processor note
Record current location information;Or if network registry failure, the application processor restore multiple protocol stacks of the support
In default protocol stack or after carrying out reset operation to the modem, be additionally operable to perform:
If the abnormal cause of the network communicating function exception does not report, the exception of the network communicating function exception is obtained
Reason and daily record;
The abnormal cause, the current location information and daily record are reported to network side.
In some embodiments of the invention, if network registry success, the application processor record current position
After confidence breath, further include:
If the abnormal cause of the network communicating function exception does not report, the exception of the network communicating function exception is obtained
Reason and daily record;
The abnormal cause, the current location information and daily record are reported to network side and/or the display exception
Reason.
In some embodiments of the invention, CPU501 perform it is described by the abnormal cause, the current position letter
Breath and daily record are reported to network side and include:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi for establishing communication connection
The abnormal cause, the current location information and daily record are reported to network side by hot spot.
In the specific implementation, above application processor can perform above-mentioned the by CPU built in it, communication interface and memory
Each described realization method of step in one embodiment to 3rd embodiment, details are not described herein.
The embodiment of the present invention additionally provides a kind of mobile terminal for including above application processor, and mobile terminal is included but not
It is limited to carryOr the mobile terminal of other operating systems, such as mobile electricity
Words.Can also be other mobile terminals, such as with the above-knee of touch sensitive surface (for example, touch-screen display and/or Trackpad)
Type computer or tablet computer or desktop computer.
In the following discussion, a kind of mobile terminal including display and touch sensitive surface is described.It should be appreciated, however, that
Mobile terminal can include other one or more physical user-interface devices, such as physical keyboard, mouse and/or operating lever.
Mobile terminal usually supports a variety of application programs, it is such as following in it is one or more:Picture application program is presented
Application program, word-processing application, webpage create application program, disk editor application program, spreadsheet applications, trip
Play application program, telephony application, videoconference application, email application, instant message application program, forging
Application program, photograph management application program, digital camera applications program, digital video camcorder application program, network are supported in refining
Viewer applications, digital music player application, and/or video frequency player application program.
At least one shared physical user-interface device can be used in the various application programs that can be performed on mobile terminals,
Such as touch sensitive surface.The corresponding information of the one or more functions and display of touch sensitive surface on mobile terminals can be answered from one kind
It is adjusted with program and/or is changed to a kind of lower application program and/or is adjusted and/or changes in corresponding application programs.In this way,
The shared physical structure (such as touch sensitive surface) of mobile terminal can be propped up using intuitive clearly user interface for a user
Hold various application programs.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and is weighed according to the present invention
Profit requires made equivalent variations, still falls within and invents covered range.
Claims (8)
1. a kind of processing method of network communicating function exception, which is characterized in that including:
The abnormal instruction message that application processor receiving modem is sent, wherein, it carries and adjusts in the exception instruction message
Modulator-demodulator detects the network communicating function unexpected message of channel decoding failure, and the channel decoding unsuccessfully includes:Public letter
Road decoding failure or the decoding failure of Broadcast broadcast channels;
The application processor judge the number that the network communicating function exception occurs in preset time whether be more than or
Equal to preset times threshold value, if so, obtaining the first currently used protocol stack of the modem;
The application processor closes first protocol stack, and measures the signal of the corresponding cell signal of each protocol stack around
Intensity selects the modem support and signal strength maximum protocol stack from each protocol stack of the surrounding
As second protocol stack;
The application processor opens the second protocol stack, and carries out network registry using the second protocol stack;
If network registry success, the application processor record current location information;
If network registry fails, the application processor restores the acquiescence association in multiple protocol stacks that the modem is supported
The default protocol stack switch state discussed in stack switch state or the multiple protocol stack of application processor recovery is simultaneously multiple simultaneously
The position modem, and the modem is made to carry out network registry using the default protocol stack after a reset.
2. the method as described in claim 1, which is characterized in that if network registry success, records current location information
Later, the method further includes:
When position changes, the application processor restore default protocol stack switch state in the multiple protocol stack or
The application processor restores the default protocol stack switch state in the multiple protocol stack and resets the modulation /demodulation simultaneously
Device.
3. method as claimed in claim 2, which is characterized in that the method further includes:
If the abnormal cause of the network communicating function exception does not report, the abnormal cause of the network communicating function exception is obtained
And daily record;
The abnormal cause, the current location information and daily record are reported to network side and/or the display exception is former
Cause.
4. method as claimed in claim 3, which is characterized in that described by the abnormal cause, the current location information
Network side is reported to daily record to include:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi hotspot for establishing communication connection
The abnormal cause, the current location information and daily record are reported to network side.
5. a kind of application processor, which is characterized in that including:
Determining module, for receiving modem send abnormal instruction message after, judge network occurs in preset time
Whether the number of communication function exception is more than or equal to preset times threshold value, if so, it is current to obtain the modem
The first protocol stack used;Wherein, the net that modem detects channel decoding failure is carried in the abnormal instruction message
Network communication function unexpected message, the channel decoding unsuccessfully include:Common signal channel decoding failure or Broadcast broadcast letters
Road decoding failure;
Selecting module for closing first protocol stack, and measures the signal of the corresponding cell signal of each protocol stack around
Intensity selects the modem support and signal strength maximum protocol stack from each protocol stack of the surrounding
As second protocol stack;
Registration module for opening the second protocol stack, and carries out network registry using the second protocol stack;
If logging modle for network registry success, records current location information.
6. application processor as claimed in claim 5, which is characterized in that the application processor further includes:
Recovery module, for when network registry fails or when after network registry success and when position changes, described in recovery
Default protocol stack switch state in the multiple protocol stacks supported or the default protocol in multiple protocol stacks of the recovery support
Stack switch state simultaneously resets the modem simultaneously, and the modem is made to be assisted after a reset using the acquiescence
It discusses stack and carries out network registry.
7. application processor as claimed in claim 6, which is characterized in that the application processor further includes:
Reporting module if the abnormal cause for network communicating function exception does not report, obtains the network communicating function
Abnormal abnormal cause and daily record, and the abnormal cause, the current location information and daily record are reported to network side.
8. a kind of mobile terminal, which is characterized in that including the application processor as described in claim 5-7 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510828251.3A CN105357049B (en) | 2015-11-24 | 2015-11-24 | Processing method, application processor and the mobile terminal of network communicating function exception |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510828251.3A CN105357049B (en) | 2015-11-24 | 2015-11-24 | Processing method, application processor and the mobile terminal of network communicating function exception |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105357049A CN105357049A (en) | 2016-02-24 |
CN105357049B true CN105357049B (en) | 2018-06-29 |
Family
ID=55332925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510828251.3A Active CN105357049B (en) | 2015-11-24 | 2015-11-24 | Processing method, application processor and the mobile terminal of network communicating function exception |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105357049B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106413011B (en) * | 2016-09-08 | 2019-12-03 | 北京小米移动软件有限公司 | Method for switching network and device |
CN106851702A (en) * | 2016-12-13 | 2017-06-13 | 广东欧珀移动通信有限公司 | The abnormal processing method and processing device of network communicating function |
CN110609308B (en) * | 2019-09-23 | 2021-11-30 | 深圳市沃特沃德信息有限公司 | Terminal position positioning method and device, storage medium and computer equipment |
CN111782431A (en) * | 2020-06-22 | 2020-10-16 | 深圳乐信软件技术有限公司 | Exception processing method, exception processing device, terminal and storage medium |
CN116962237A (en) * | 2023-07-22 | 2023-10-27 | 惠州迈腾伟业科技发展有限公司 | Network communication function abnormality processing method based on modem |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102317A (en) * | 2007-06-29 | 2008-01-09 | 中兴通讯股份有限公司 | Multi-protocol stack connection device and method |
CN101572899A (en) * | 2009-05-31 | 2009-11-04 | 中兴通讯股份有限公司 | Switching device based on multi-system network and method thereof |
CN101925098A (en) * | 2010-08-19 | 2010-12-22 | 华为终端有限公司 | Mobile terminal and failure recovering method thereof |
CN102413529A (en) * | 2011-11-28 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal |
CN104081826A (en) * | 2012-03-16 | 2014-10-01 | Lg电子株式会社 | Method and apparatus for processing NAS signaling request in wireless communication system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2705429B1 (en) * | 2011-05-01 | 2016-07-06 | Ruckus Wireless, Inc. | Remote cable access point reset |
-
2015
- 2015-11-24 CN CN201510828251.3A patent/CN105357049B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102317A (en) * | 2007-06-29 | 2008-01-09 | 中兴通讯股份有限公司 | Multi-protocol stack connection device and method |
CN101572899A (en) * | 2009-05-31 | 2009-11-04 | 中兴通讯股份有限公司 | Switching device based on multi-system network and method thereof |
CN101925098A (en) * | 2010-08-19 | 2010-12-22 | 华为终端有限公司 | Mobile terminal and failure recovering method thereof |
CN102413529A (en) * | 2011-11-28 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal |
CN104081826A (en) * | 2012-03-16 | 2014-10-01 | Lg电子株式会社 | Method and apparatus for processing NAS signaling request in wireless communication system |
Also Published As
Publication number | Publication date |
---|---|
CN105357049A (en) | 2016-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105376773B (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 | |
CN108599986B (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 | |
CN105376113B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105338663B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105407461B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105634794B (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 | |
CN105376783B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376774B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105491608B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376873B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105357704B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105392130A (en) | Method for processing network communication function abnormality, application processor and user terminal | |
CN105517029B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN108462973B (en) | Processing method for network communication function abnormity, modem and mobile terminal | |
CN105491605B (en) | A kind of network communicating function abnormality eliminating method, modem and mobile terminal | |
CN105357705B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105491607B (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 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |