CN105357704B - 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
- CN105357704B CN105357704B CN201510830348.8A CN201510830348A CN105357704B CN 105357704 B CN105357704 B CN 105357704B CN 201510830348 A CN201510830348 A CN 201510830348A CN 105357704 B CN105357704 B CN 105357704B
- Authority
- CN
- China
- Prior art keywords
- protocol stack
- modem
- application processor
- network
- location information
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of processing methods of network communicating function exception, including:After the abnormal instruction message that application processor receiving modem is sent, the first currently used protocol stack of the modem is obtained;The application processor closes 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 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 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 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
The communication standard for supporting 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, 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..Mobile network environment residing for mobile phone is very multiple
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 exception, currently used solution
Certainly scheme is:When mobile phone is moved to the new band of position, to network side launch position update ask, network side again to mobile phone into
Row configuration, restores the configuration parameter of modem;Or user has found after being unable to Networked communication for a long time, manually to mobile terminal
It carries out forcing to restart recovery or the configuration parameter of modem is set.But the time that two schemes expend is long, user
It is difficult to endure.
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 long problem.
An embodiment of the present invention provides a kind of processing methods of network communicating function exception, including:
After the abnormal instruction message that application processor receiving modem is sent, obtaining the modem currently makes
First protocol stack;Wherein, the network that modem detects channel decoding failure is carried in the abnormal instruction message
Communication function unexpected message;
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, which decodes, includes unsuccessfully: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, restore the default protocol stack switch state in multiple protocol stacks of the support or recovery
Default protocol stack switch state in multiple protocol stacks of the support simultaneously resets the modem simultaneously.
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 by the abnormal cause, the current location information and daily record be reported to network side and include:
It scans the wifi hotspot of surrounding and after establishing communication connection 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 obtains the modem and works as after being used for the abnormal instruction message that receiving modem is sent
Preceding the first protocol stack used;Wherein, modem is carried in the abnormal instruction message detect channel decoding failure
Network communicating function unexpected message;
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 carries out network registry for opening the second protocol stack, and using the second protocol stack;
If logging modle records current location information for network registry success.
Wherein, the channel, which decodes, includes unsuccessfully:Common signal channel decoding failure or the decoding of Broadcast broadcast channels
Failure.
Wherein, the application processor further includes:
Recovery module is used for when network registry fails, or after network registry success and when position changes, is restored
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 obtains the network communication if the abnormal cause for network communicating function exception does not report
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, has the advantages that:
Application processor receives modem and detects the abnormal instruction message sent when channel decoding failure, closes
The currently used protocol stack of modem selects currently used agreement from multiple protocol stacks that modem is supported
Other protocol stacks of stack open other protocol stacks and use other protocol stack registered networks, and in registered network success, record is worked as
Preceding location information.The side for being quickly detected when modem can not work normally in this way, and passing through network registry
Formula makes modem automatically attempt to restore normal, avoids taking long ask caused by forcing to restart mobile phone or location updating
Topic, reduces the time of network disaster recovery.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, 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
Obtain other attached drawings 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 implementation mode
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 describes, 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, 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 a kind of flow diagram of the processing method of channel decoding failure provided in an embodiment of the present invention referring to Fig. 1,
In the embodiment of the present invention, the method includes:
After the abnormal instruction message that S101, the application processor receiving modem are sent, the modulatedemodulate is obtained
The first protocol stack for adjusting device currently used.
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 for extending audio and video function and special purpose interface on the basis of low power consumption CPU
Important component, application processor is general and baseband processor is independent two chips.Modem is for believing base band
Radiofrequency signal number is converted to, modem supports various protocols stack.When modem occurs abnormal, its support can be passed through
Various protocols stack carries out network registry, to restore data service.Network communicating function exception occurs when modem detects
Later, modem can collapse, and can not be normally carried out data processing, user is caused to cannot get online.In order to restore normal
Network, modem then needs the reason to network communicating function exception to judge, and then can be carried out according to concrete reason
Network restoration.Specifically, modem can judge to cause network communicating function different when detecting network communicating function exception
Whether normal reason is that channel decoding failure passes through above-mentioned exception if abnormal instruction message then can be transmitted to application processor
Instruction message informs that application processor detects channel decoding failure.Application processor is referred to by the exception that modem is sent
Show that message determines that the reason of network communicating function exception is that after channel decoding fails, then can be repaired to network.
Can also be independently of answering it should be noted that modem can be integrated in the inside of application processor AP
With a chip of processor, the present invention is not restricted.
S102, the application processor close first protocol stack, and support from the modem multiple
Selection in protocol stack removes the second protocol stack of first protocol stack.
In some feasible embodiments, protocol stack indicates 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, TD-LTE protocol stacks,
FDD-LTE protocol stacks etc. include again multiple sub-protocol stacks below each communication standard protocol stack, and details are not described herein again.It is specific real
In existing, when modem determines that it is channel decoding failure to cause the reason of network communicating function exception, 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 is converted to Idle state by connected state,
Application processor opens the second protocol stack of selection, carries out network registry using second protocol stack, the process of network registry is:It moves
Dynamic terminal initiates attach request (attache request) to network side, if network side allows mobile terminal to access, eventually to movement
End returns to attachment response (attach accept), indicates that network registry success, mobile terminal are converted to connected state by Idle state;
If network side does not allow mobile terminal to access, error message is returned to mobile terminal, indicates network registry failure.
If the success of S104, network registry, the application processor record current location information.
In some feasible embodiments, location information indicates 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 using
The success of two protocol stack registered networks, records current location information.
If S105, network registry fail, the application processor restores the default protocol stack in the multiple protocol stack and opens
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 reset operation to modem, after resetting operation, 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, from multiple protocol stacks that modem is supported
Other protocol stacks for selecting currently used protocol stack open other protocol stacks and use other protocol stack registered networks,
In registration when network, current location information is recorded.It is quickly detected when modem can not work normally in this way,
And keep modem recovery normal by way of network registry, it avoids taking caused by forcing to restart mobile phone or location updating
Long problem reduces the time of network disaster recovery.
Referring to Fig. 2, for a kind of flow signal of the processing method of network communicating function exception provided in an embodiment of the present invention
Figure, in embodiments of the present invention, the method includes:
Whether S201, modem detect channel decoding failure.
Specifically, modem is mounted in mobile phone, it 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 executed, if mistake does not occur, executes 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 format present invention of abnormal instruction message is not
Be restricted, can by existing message extended field in the way of realize to realize or construct new message.
S203, the application processor obtain the first currently used protocol stack of the modem.
Specifically, 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 stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TD-LTE protocol stacks, FDD-LTE protocol stacks etc.,
Include multiple sub-protocol stacks again below each communication standard protocol stack, such as:TD-LTE protocol stacks again include physical layer protocol stack,
Media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS protocol stacks
Deng.Details are not described herein again.Application processor obtain the first currently used protocol stack of modem method can be:Using
The state flag bit of presentation protocol stack obtains the first currently used protocol stack in processor inquiry modem, such as indicates
Position 1 indicates that corresponding protocol stack is open state, and flag bit 0 indicates that corresponding protocol stack is in off state.
S204, 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 maximum protocol stack of signal strength as second protocol stack;Or selection agreement more higher leveled than the first protocol stack
Stack is as second protocol stack;Or determine that second protocol stack, the present invention are not restricted using other strategies.
S205, 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 is converted to Idle state by connected state, and application processor opens choosing
The second protocol stack selected, using second protocol stack carry out network registry, such as the process registered of LTE network as:It moves to network
Attach request (attach request) is initiated in side, if network side allows mobile terminal to access, returns to attachment to mobile terminal and rings
It answers (attach accept), indicates that network registry success, mobile terminal have been converted to service state by no service state;If network
Side does not allow mobile terminal to access, and refusal or error message are returned to mobile terminal, indicates network registry failure.
Whether S206, network registry succeed.
Specifically, if application processor executes S207, if application processor using network on second protocol stack successful registration
It registers upper network not successfully using second protocol stack, executes S208.
S207, the application processor record current location information, then execute S211, and start and S209's and advance
Journey.
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..
S208, 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.Default protocol stack is a pre-set agreement in multiple protocol stacks that modem is supported
Herein the agreement that the protocol stack of the same acquiescence is used as modem initial selected can be arranged for all regions in stack
Stack can also be directed to single area or different default protocol stacks is respectively set 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.
S209, judge whether location information changes, if the determination result is YES, then follow the steps S210.
Specifically, application processor periodically obtains location information, upper obtain in the location information that currently obtains and once
The location information taken executes S210 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, indicate 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.
S210, restore the default protocol stack switch state in multiple protocol stacks of the support or reset the modulation simultaneously
Demodulator.
S211, network communicating function exception abnormal cause whether report.
If the abnormal cause of network communicating function exception had reported, S214 is executed, otherwise, executes S212.
S212, the abnormal cause for obtaining the network communicating function exception and daily record.
Wherein, daily record indicates that the operation information of modem access memory, operation information include:Operational order, operation
It time and returns the result.
S213, 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 can
In the case where mobile terminal connects upper wifi hotspot, above- mentioned information is reported to network side by wifi hotspot, to save
Flow.Or abnormal cause can also be included being checked for user on the display screen of mobile terminal by application processor.
S214, the application processor processes this abnormal endings.
Implement the embodiment of the present invention, application processor is connected to modem and detects that channel decodes what the when of failing sent
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 quickly be detected, and pass through when 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
Long problem 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, it 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, executes S302 and continue to execute S301 if mistake does not occur.Channel decoding occurs
When 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 format present invention of abnormal instruction message is not
Be restricted, can by existing message extended field in the way of realize to realize or construct new message.
S303, the application processor obtain the first currently used protocol stack of the modem.
Specifically, 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 stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TD-LTE protocol stacks, FDD-LTE protocol stacks etc.,
Include multiple sub-protocol stacks again below each communication standard protocol stack, such as:TD-LTE protocol stacks again include physical layer protocol stack,
Media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS protocol stacks
Deng.Details are not described herein again.Application processor obtain the first currently used protocol stack of modem method can be:Using
The state flag bit of presentation protocol stack obtains the first currently used protocol stack in processor inquiry modem, such as indicates
Position 1 indicates that corresponding protocol stack is open state, and flag bit 0 indicates that corresponding protocol stack is in off state.
S304, 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
In protocol stack selection except the first protocol stack second protocol stack, wherein application processor selection strategy 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 maximum protocol stack of signal strength as second protocol stack;Or selection protocol stack more higher leveled than the first protocol stack is made
For second protocol stack;Or determine that second protocol stack, the present invention are not restricted using other strategies.
S305, 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 is converted to Idle state by connected state, and application processor opens choosing
The second protocol stack selected carries out network registry using second protocol stack, and the process of network registry is:It is mobile attached to network side initiation
Request (attach request), if network side allows mobile terminal to access, attachment response (attach is returned to mobile terminal
Accept), indicate that network registry success, mobile terminal are converted to connected state by Idle state;If network side does not allow mobile terminal
Access returns to error message to mobile terminal, indicates network registry failure.
If the success of S306, network registry, the application processor records current location information, and executes S309.
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..
S307, judge whether location information changes.
Specifically, application processor periodically obtains location information, upper obtain in the location information that currently obtains and once
The location information taken executes S308 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, indicate 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.
S308, protocol stack are restored to the on off state before channel decoding failure occurs.
S309, judge whether the abnormal cause of network communicating function exception reports.
If the abnormal cause of network communicating function exception did not reported also, S310 is executed.
S310, the abnormal cause for obtaining the network communicating function exception and daily record.
Wherein, daily record indicates that the operation information of modem access memory, operation information include:Operational order, operation
It time and returns the result.
S311, 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 can
In the case where mobile terminal connects upper wifi hotspot, above- mentioned information is reported to network side by wifi hotspot, to save
Flow.Or abnormal cause can also be included being checked for user on the display screen of mobile terminal by application processor.
It should be noted that the S307 and S309 after S306 can be executed parallel.
Implement the embodiment of the present invention, application processor is connected to modem and detects that channel decodes what the when of failing sent
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 quickly be detected, and pass through when 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
Long problem 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 obtains the modem after being used for the abnormal instruction message that receiving modem is sent
The first currently used protocol stack;Wherein, modem is carried in the abnormal instruction message detect channel decoding failure
Network communicating function unexpected message.
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 carries out network registry for opening the second protocol stack, and using the second protocol stack.
If logging modle 404 records current location information for network registry success.
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。
In some feasible embodiments, application processor described in the embodiment of the present invention further includes:
Recovery module 407 is used for when network registry fails, or 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 described in the embodiment of the present invention further includes:
It is logical to obtain the network if the abnormal cause for network communicating function exception does not report for reporting module 408
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 establishing communication connection 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, for realizing the processing method of the network communicating function exception described in Fig. 1, application processor includes application processor
The quantity of CPU501, memory 502 and communication interface 503, 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 for calling the journey stored in memory 502
Sequence code, for performing the following operations:
After the abnormal instruction message that receiving modem is sent, the first currently used association of the modem is obtained
Discuss stack;Wherein, modem is carried in the abnormal instruction message detect that the network communicating function of channel decoding failure is different
Normal message;
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, restore default protocol stack switch state in the multiple protocol stack or described in resetting simultaneously
Modem.
In some embodiments of the invention, if CPU501 executes the network registry success, current position letter is recorded
After breath, it is additionally operable to execute:
When position changes, restore the default protocol stack switch state in multiple protocol stacks of the support or recovery
Default protocol stack switch state in multiple protocol stacks of the support simultaneously resets the modem simultaneously.
In some embodiments of the invention, CPU501 executes 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 execute:
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 executes the network registry success, the application processor note
Record current location information;If or 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 execute:
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 execute 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 establishing communication connection 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 execute above-mentioned the by CPU built in it, communication interface and memory
Realization method described in each 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 including above application processor, and mobile terminal includes 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 may 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, 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 executed 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..
It is above disclosed to be only a preferred embodiment of the present invention, the power of the present invention cannot be limited with this certainly
Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and is weighed according to the present invention
Equivalent variations made by profit requirement, still belong to the scope covered by the invention.
Claims (10)
1. a kind of processing method of network communicating function exception, which is characterized in that including:
After the abnormal instruction message that application processor receiving modem is sent, it is currently used to obtain the modem
First protocol stack;Wherein, the network communication that modem detects channel decoding failure is carried in the abnormal instruction message
Dysfunction message;
The application processor closes first protocol stack, and from the choosing in multiple protocol stacks that the modem is supported
Select the second protocol stack 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 and same
Modem described in Shi Fuwei carries out network registry after resetting the modem using the default protocol stack;Institute
It is a pre-set protocol stack in multiple protocol stacks that the modem is supported to state default protocol stack.
2. the method as described in claim 1, which is characterized in that the channel, which decodes, includes unsuccessfully:Common signal channel decoding failure,
Or Broadcast broadcast channels decoding failure.
3. method as claimed in claim 1 or 2, which is characterized in that if network registry success, record current position letter
After breath, the method further includes:
When position changes, restore described in default protocol stack switch state or the recovery in multiple protocol stacks of the support
Default protocol stack switch state in the multiple protocol stacks supported simultaneously resets the modem simultaneously.
4. method as claimed in claim 3, 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 show that the exception is former
Cause.
5. method as claimed in claim 4, which is characterized in that described by the abnormal cause, the current location information
Being reported to network side with daily record includes:
It scans the wifi hotspot of surrounding and after establishing communication connection 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.
6. a kind of application processor, which is characterized in that including:
Determining module, after being used for the abnormal instruction message that receiving modem is sent, obtaining the modem currently makes
First protocol stack;Wherein, the network that modem detects channel decoding failure is carried in the abnormal instruction message
Communication function unexpected message;
Selecting module, for closing first protocol stack, and from the choosing in multiple protocol stacks that the modem is supported
Select the second protocol stack in addition to first protocol stack;
Registration module carries out network registry for opening the second protocol stack, and using the second protocol stack;
If logging modle records current location information for network registry success;
For carrying out network registry failure using the second protocol stack, restore the default protocol stack in the multiple protocol stack
On off state and the module for resetting the modem simultaneously;The default protocol stack is that the modem supports more
A pre-set protocol stack in a protocol stack;
Module for carrying out network registry using the default protocol stack after resetting the modem.
7. application processor as claimed in claim 6, which is characterized in that the channel, which decodes, includes unsuccessfully:Common signal channel solution
Code failure or the decoding failure of Broadcast broadcast channels.
8. application processor as claimed in claims 6 or 7, which is characterized in that the application processor further includes:
Recovery module is used for when network registry fails, or 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.
9. application processor as claimed in claim 8, which is characterized in that the application processor further includes:
Reporting module obtains the network communicating function if the abnormal cause for network communicating function exception does not report
Abnormal abnormal cause and daily record, and the abnormal cause, the current location information and daily record are reported to network side.
10. a kind of mobile terminal, which is characterized in that include the application processor as described in claim 6-9 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510830348.8A CN105357704B (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 |
---|---|---|---|
CN201510830348.8A CN105357704B (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 |
---|---|
CN105357704A CN105357704A (en) | 2016-02-24 |
CN105357704B true CN105357704B (en) | 2018-09-04 |
Family
ID=55333535
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510830348.8A Active CN105357704B (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) | CN105357704B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101808429A (en) * | 2010-04-23 | 2010-08-18 | 天津七一二通信广播有限公司 | Tetra (Terrestrial Trunked Radio) and GSM (Global System for Mobile Communications) dual-mode handset |
CN103428848A (en) * | 2013-06-18 | 2013-12-04 | 华为终端有限公司 | Terminal register method and terminal device |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8064403B2 (en) * | 2007-08-17 | 2011-11-22 | Research In Motion Limited | Mobility mechanism for service continuity |
-
2015
- 2015-11-24 CN CN201510830348.8A patent/CN105357704B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101808429A (en) * | 2010-04-23 | 2010-08-18 | 天津七一二通信广播有限公司 | Tetra (Terrestrial Trunked Radio) and GSM (Global System for Mobile Communications) dual-mode handset |
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 |
CN103428848A (en) * | 2013-06-18 | 2013-12-04 | 华为终端有限公司 | Terminal register method and terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN105357704A (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 | |
CN105357053B (en) | Processing method, application processor and the user terminal of network communicating function exception | |
CN108599986B (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 | |
CN105338663B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376113B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105634794B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
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 | |
CN105491604A (en) | Network communication function abnormality processing method, modulator-demodulator and user terminal | |
CN105376783B (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 | |
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 | |
CN108684056B (en) | Processing method, modem, mobile terminal and the storage medium 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 | |
CN105491607B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105357705B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105491605A (en) | Network communication function abnormality processing method, modulator-demodulator and mobile terminal | |
CN105376779B (en) | A kind of network communicating function abnormality eliminating method, application processor and mobile terminal | |
CN105491609A (en) | Network communication function abnormality processing method, modem and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |