CN105376781B - Processing method, modem and the user terminal of network communicating function exception - Google Patents

Processing method, modem and the user terminal of network communicating function exception Download PDF

Info

Publication number
CN105376781B
CN105376781B CN201510825115.9A CN201510825115A CN105376781B CN 105376781 B CN105376781 B CN 105376781B CN 201510825115 A CN201510825115 A CN 201510825115A CN 105376781 B CN105376781 B CN 105376781B
Authority
CN
China
Prior art keywords
protocol stack
modem
protocol
abnormal state
stack
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
Application number
CN201510825115.9A
Other languages
Chinese (zh)
Other versions
CN105376781A (en
Inventor
李伟清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510825115.9A priority Critical patent/CN105376781B/en
Priority to CN201810455402.9A priority patent/CN108683661B/en
Publication of CN105376781A publication Critical patent/CN105376781A/en
Application granted granted Critical
Publication of CN105376781B publication Critical patent/CN105376781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • H04W60/04Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration using triggered events

Abstract

The invention discloses a kind of processing method of network communicating function exception, this method includes:If modem detects protocol stack abnormal state, the modem closing causes the first protocol stack of protocol stack abnormal state;The modem opens second protocol stack, and carries out network registry using the second protocol stack, and the second protocol stack is the protocol stack in multiple protocol stacks of modem support in addition to first protocol stack;If the second protocol stack succeeds in registration, the modem records current location information.The embodiment of the present invention additionally provides a kind of modem and user terminal.The exception of network communicating function can be quickly detected and recovered using the embodiment of the present invention.

Description

Processing method, modem and the user terminal of network communicating function exception
Technical field
The present invention relates to the processing method of field of communication technology more particularly to network communicating function exception, modems And user terminal.
Background technology
As the proportion that the high speed development data service of mobile Internet occupies is increasing so that the tune in smart mobile phone The effect of modulator-demodulator and status become to become more and more important, modem be used for by data to be sent be converted to radiofrequency signal and By radiofrequency signal be converted to pending data, processing access layer (AS) and Non-Access Stratum (NAS) signaling and with AP processors Into line interface etc..During the use of smart mobile phone, smart mobile phone may different communication standard (such as 2G, 3G and The communication standard of 4G) between switch, communication standard switch during may often be abnormal, mobile phone can not normally connect Network Communication, such as protocol stack abnormal state.At present, solve when abnormal can not the solution of Networked communication have:Smart mobile phone When being moved to the new band of position, to network side equipment launch position update notification, network side equipment again to smart mobile phone into Row configuration recovers the configuration parameter of modem;Or user is had found after being unable to Networked communication for a long time, manually to user terminal It carries out forcing to restart recovery or the configuration parameter of modem is set.The time that the two schemes expend is long, influences to use It experiences at family.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is, provides a kind of processing side of network communicating function exception Method, modem and user terminal, can not Networked communication for solving that network communicating function in the prior art is abnormal In the case of, recover network communicating function manually and take the problem of long.
In order to solve the above-mentioned technical problem, first aspect of the embodiment of the present invention provides a kind of place of network communicating function exception Reason, including:
If modem detects protocol stack abnormal state, the modem closing causes protocol stack abnormal state The first protocol stack;
The modem opens second protocol stack, and carries out network registry using the second protocol stack, and described the Protocol stack in multiple protocol stacks that two protocol stacks are supported for the modem in addition to first protocol stack;
If the second protocol stack succeeds in registration, the modem records current location information.
With reference to the embodiment of the present invention in a first aspect, in the first possible realization method of first aspect, the method It further includes:
If the second protocol stack registration failure, multiple associations of modem support described in the modem recovery Acquiescence association in the multiple protocol stacks supported described in default protocol stack switch state or the modem recovery in view stack View stack switch state simultaneously resets the modem simultaneously.
With reference to the possible realization method of the first of first aspect of the embodiment of the present invention or first aspect, in first aspect In second of possible realization method, if the second protocol stack succeeds in registration, the modem records current After location information, the method further includes:
It is silent in multiple protocol stacks that modem described in the modem recovery is supported if position changes Recognize the default protocol stack switch shape in the multiple protocol stacks supported described in protocol stack on off state or the modem recovery State simultaneously resets the modem simultaneously.
With reference to the embodiment of the present invention in a first aspect, in the third possible realization method of first aspect, the method It further includes:
If protocol stack abnormal state reason does not report, the modem obtain the protocol stack abnormal state reason and Daily record;
The modem by the abnormal cause, the current location information and daily record be reported to network side and/ Or user.
With reference to the third possible realization method of first aspect of the embodiment of the present invention, in the 4th kind of possibility of first aspect Realization method in, the abnormal cause, the current location information and daily record are reported to network by the modem Side., including:
The modem reports the protocol stack abnormal state by Wireless Fidelity WiFi network to network side equipment Reason, daily record and the current location information.
Second aspect of the embodiment of the present invention provides a kind of modem, including:
If closedown module for detecting protocol stack abnormal state, closes the first agreement for causing protocol stack abnormal state Stack;
Registration module for opening second protocol stack, and uses second protocol stack progress network registry, and described second Protocol stack in multiple protocol stacks that protocol stack is supported for the modem in addition to first protocol stack;
Logging modle if succeeding in registration for the second protocol stack, records current location information.
With reference to second aspect of the embodiment of the present invention, in the first possible realization method of second aspect, the modulation Demodulator further includes:
Recovery module, for working as the second protocol stack registration failure;And after the second protocol stack succeeds in registration And the default protocol stack switch state or extensive in multiple protocol stacks that the modem is supported is recovered when changing in position Default protocol stack switch state in multiple protocol stacks of the multiple support simultaneously resets the modem simultaneously.
With reference to the possible realization method of the first of second aspect of the embodiment of the present invention or second aspect, in second aspect In second of possible realization method, the modem further includes:
Reporting module does not report for protocol stack abnormal state reason, obtains the protocol stack abnormal state reason and day Will;The abnormal cause, the current location information and daily record are reported to network side and/or user.
With reference to second of possible realization method of second aspect of the embodiment of the present invention, the third in second aspect may Realization method in, the reporting unit is specifically used for:
The protocol stack abnormal state reason, daily record and described are reported to network side equipment by Wireless Fidelity WiFi network Current location information.
The third aspect of the embodiment of the present invention provides a kind of user terminal, including the modulation /demodulation described in above-mentioned any one Device.
Implement the embodiment of the present invention, have the advantages that:
If modem detects protocol stack abnormal state, the modem closing causes protocol stack abnormal state The first protocol stack;The modem opens second protocol stack, and carries out network registry, institute using the second protocol stack State the protocol stack in addition to first protocol stack in multiple protocol stacks that second protocol stack is supported for the modem; If the second protocol stack succeeds in registration, the modem records current location information.It is so different in agreement stack state When often causing modem that can not work normally, modem is made to automatically attempt to recover just by way of network registry Often, avoid the problem that it is hand-operated forced restart take caused by mobile phone or location updating it is long, reduce network disaster recovery when Between.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing 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 provides the first embodiment flow chart of the processing method of network communicating function exception for the embodiment of the present invention;
Fig. 2 is the second embodiment flow chart of the processing method of network communicating function provided in an embodiment of the present invention exception;
Fig. 3 is the 3rd embodiment flow chart of the processing method of network communicating function provided in an embodiment of the present invention exception;
Fig. 4 is the first embodiment structure diagram of modem provided in an embodiment of the present invention;
Fig. 5 is the second embodiment structure diagram of modem provided in an embodiment of the present invention.
Specific embodiment
Technical problem to be solved of the embodiment of the present invention is, provides a kind of processing side of network communicating function exception Method, modem and user terminal, can not Networked communication for solving that network communicating function in the prior art is abnormal In the case of, recover network communicating function manually and take the problem of long.
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects It encloses.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the attached drawing and " Four " etc. be for distinguishing different objects rather than for describing particular order.In addition, term " comprising " and " having " and it Any deformation, it is intended that cover non-exclusive include.Such as it contains the process of series of steps or unit, method, be The step of system, product or equipment are not limited to list or unit, but optionally further include the step of not listing or list Member is optionally further included for the intrinsic other steps of these processes, method, product or equipment or unit.
User terminal of the present invention for example can be it is following in any one or whole, smart phone can wear Wear equipment (personal maincenter), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet electricity Brain, smartbook, palmtop computer and similar personal electronic equipments, above-mentioned user terminal can include network interface, place Device, memory, audio frequency processing circuit, microphone, camera, flash lamp are managed, and including can be in internal or external audio Amplifier and the loudspeaker unit including being connected to audio-frequency amplifier.
Fig. 1 is referred to, Fig. 1 is the first of a kind of processing method of network communicating function exception provided in an embodiment of the present invention Embodiment flow chart.Wherein, as shown in Figure 1, a kind of place for network communicating function exception that one embodiment of the present of invention provides Reason method can include step S101~S103:
If S101, modem detect protocol stack abnormal state, the modem closing causes protocol stack shape First protocol stack of state exception.
In the embodiment of the present invention, above-mentioned modem is used to baseband signal being converted to radiofrequency signal, by radiofrequency signal Be converted to baseband signal, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc., Modem stack capable of supporting several protocols.Protocol stack abnormal state is referred in communication process to current state context Testing result and desired result is inconsistent in advance, for example, when detecting in a period of time only upstream data bag, and do not have Have and protocol stack abnormal state is then thought during any downlink data packet (i.e. uplink downlink is obstructed);Alternatively, user terminal (User Equipment, abbreviation UE) intelligent algorithm according to the phenomenon that abnormal state judge protocol stack operation there is exception;Alternatively, UE It is influenced with the communication process of network side equipment be subject to uncertain factor and the situation of step-out occurs;Etc..Work as modem After detecting protocol stack abnormal state, modem can collapse, and can not be normally carried out data processing, cause UE cannot Online.Protocol stack represents the summation of the corresponding various protocols of some communication standard.Optionally, protocol stack includes global mobile communication System (Global System for Mobile Communication, GSM) protocol stack, enhanced data rates for gsm evolution (Enhanced Data Rate for GSM Evolution, EDGE) protocol stack, high-speed packet access (High Speed Downlink Packet Access, HSPDA) protocol stack, TD SDMA (Time Division- Synchronous Code Division Multiple Access, TD-SCDMA) protocol stack, timesharing Long Term Evolution (Time Division Long Term Evolution, TDD-LTE) protocol stack, frequency division duplex Long Term Evolution (Frequency Division Dual Long Term Evolution, FDD-LTE) protocol stack etc., it is wrapped again below each communication standard protocol stack Multiple sub-protocol stacks are included, details are not described herein again.Modem determines currently used when detecting internal storage access mistake One protocol stack.
In the embodiment of the present invention, protocol stack abnormal state phenomenon be common and easy-to-handle, some protocol stacks Abnormal state is rare and reluctant, and leing go unchecked for reluctant protocol stack abnormal state phenomenon may cause to assist View stack mistake further deteriorates and is difficult to control.Protocol stack abnormal state repeated or further deteriorate in order to prevent, modulation Demodulator needs to close the first protocol stack for causing protocol stack abnormal state.
S102, the modem open second protocol stack, and carry out network registry, institute using the second protocol stack State the protocol stack in addition to first protocol stack in multiple protocol stacks that second protocol stack is supported for the modem.
In the embodiment of the present invention, after the first protocol stack is closed, UE is converted to Idle state, modem choosing by connected state Select second protocol stack, in multiple protocol stacks that second protocol stack is supported for the modem except first protocol stack with Outer protocol stack, modem opens second protocol stack, and carries out network registry using second protocol stack.Optionally, network The specific implementation of registration can be:UE initiates attach request (attache request) to network side equipment, if network side Equipment allows UE access, and attachment response (attach response) is returned to UE, represents network registry success, UE is by Idle state Be converted to connected state;If network side equipment does not allow UE access, error message is returned to UE, represents network registry failure.It is optional , the strategy of modem selection second protocol stack can be:The protocol stack of level-one lower than the first protocol stack is selected as Two protocol stacks;Alternatively, the signal strength for the corresponding cell signal of each protocol stack that measurement modem is supported, and by signal The protocol stack of maximum intensity is as second protocol stack;Alternatively, protocol stack more higher leveled than the first protocol stack is selected as the second association Discuss stack;Alternatively, using the definite second protocol stack of other strategies, the present invention is not restricted.
If S103, the second protocol stack succeed in registration, the modem records current location information.
Optionally, location information represents that logical place, location information can be cell IDs to UE in the mobile communication network Or regional location code or position tracking region etc., the present invention is not construed as limiting.If fruit is adjusted using the success of second protocol stack registered network Modulator-demodulator records current location information.
As can be seen that in the embodiment of the present invention, if modem detects protocol stack abnormal state, the modulation /demodulation Device closes the first protocol stack for causing protocol stack abnormal state;The modem opens second protocol stack, and described in use Second protocol stack carries out network registry, except institute in multiple protocol stacks that the second protocol stack is supported for the modem State the protocol stack beyond the first protocol stack;If the second protocol stack succeeds in registration, the modem records current position Confidence ceases.So cause modem that can not be quickly detected during normal communication in protocol stack abnormal state, and lead to Crossing to switch other protocol stacks and carry out the mode of network registry makes modem automatically recover the normal of communication, avoids strong manually System takes the problem of long caused by restarting mobile phone or location updating, reduces the time of network disaster recovery.
Optionally, the processing method of network communicating function exception shown in FIG. 1 further includes:
If the second protocol stack registration failure, multiple associations of modem support described in the modem recovery It discusses the default protocol stack switch state in stack or resets the modem simultaneously.
Optionally, if the second protocol stack succeeds in registration, position letter current the modem record UE After breath, the processing method of network communicating function exception shown in FIG. 1 further includes:
It is silent in multiple protocol stacks that modem described in the modem recovery is supported if position changes Recognize the default protocol stack switch shape in the multiple protocol stacks supported described in protocol stack on off state or the modem recovery State simultaneously resets the modem simultaneously.
Optionally, the processing method of network communicating function exception shown in FIG. 1 further includes:
If the protocol stack abnormal state reason does not report, it is former that the modem obtains the protocol stack abnormal state Cause and daily record;The modem by the abnormal cause, the current location information and daily record be reported to network side and/ Or user.
Optionally, the abnormal cause, the current location information and daily record are reported to network side by modem, Including:The modem reports the protocol stack abnormal state former by Wireless Fidelity WiFi network to network side equipment Cause, daily record and the current location information.
Fig. 2 is referred to, Fig. 2 is the second of a kind of processing method of network communicating function exception provided in an embodiment of the present invention Embodiment flow chart.Wherein, as shown in Fig. 2, a kind of place for network communicating function exception that one embodiment of the present of invention provides Reason method can include step S201~S211:
Whether S201, modem detect protocol stack abnormal state.
If so, perform step S202.
If it is not, then perform step S201.
In the embodiment of the present invention, modem is used to baseband signal being converted to radiofrequency signal, converts radiofrequency signal For baseband signal, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modulation Demodulator supports various protocols stack.Protocol stack abnormal state refers to the detection to current state context in communication process As a result it is inconsistent with advance desired result, such as there was only upstream data bag in a period of time when detecting, but it is not any Downlink data packet then thinks protocol stack abnormal state (i.e. uplink downlink is obstructed);Alternatively, UE intelligent algorithms are according to abnormal state The phenomenon that judge protocol stack operation there is exception;Alternatively, the communication process of UE and network side equipment is subject to uncertain factor Influence and there is the situation of step-out;Etc..Protocol stack abnormal state reason can there are many, identical protocol stack abnormal state May be as caused by different abnormal causes, arbitrary known means can be used to determine in the positioning of specific abnormal cause, this Invention is not restricted.
S202, modem closing cause the first protocol stack of protocol stack abnormal state.
If using the first protocol stack protocol stack abnormal state occurs for modem, protocol stack abnormal state is anti-in order to prevent Recurrence is raw or further deteriorates, and modem needs to close the first protocol stack.Optionally, modem closing causes agreement First protocol stack specific embodiment of stack state exception is:The shape of presentation protocol stack in modem inquiry modem To obtain the first currently used protocol stack, (such as state flag bit represents that corresponding protocol stack is opening state to state flag bit as 1 State, state flag bit represent that corresponding protocol stack is in off state for 0), modem is by the Status Flag of the first protocol stack Position is 0 to close the first protocol stack.
S203, the modem open second protocol stack, and carry out network registry, institute using the second protocol stack State the protocol stack in addition to first protocol stack in multiple protocol stacks that second protocol stack is supported for the modem.
In the embodiment of the present invention, after the first protocol stack is closed, UE is converted to Idle state, modem choosing by connected state Select second protocol stack, in multiple protocol stacks that second protocol stack is supported for the modem except first protocol stack with Outer protocol stack, modem opens second protocol stack, and carries out network registry using second protocol stack.Optionally, network The specific implementation of registration can be:UE initiates attach request (attache request) to network side equipment, if network side Equipment allows UE access, and attachment response (attach response) is returned to UE, represents network registry success, UE is by Idle state Be converted to connected state;If network side equipment does not allow UE access, error message is returned to UE, represents network registry failure.It is optional , the strategy of modem selection second protocol stack can be:The protocol stack of level-one lower than the first protocol stack is selected as Two protocol stacks;Alternatively, the signal strength for the corresponding cell signal of each protocol stack that measurement modem is supported, and by signal The protocol stack of maximum intensity is as second protocol stack;Alternatively, protocol stack more higher leveled than the first protocol stack is selected as the second association Discuss stack;Alternatively, using the definite second protocol stack of other strategies, the present invention is not restricted.
S204, the modem judge whether network registry succeeds.
If so, perform step S205.
If it is not, then perform step S206.
S205, the modem record current location information.Then step S208, and starting step S207 are performed Concurrent process.
Optionally, location information represents that logical place, location information can be cell IDs to UE in the mobile communication network Or regional location code or position tracking region etc., the present invention is not construed as limiting.
Default protocol stack in multiple protocol stacks that modem described in S206, the modem recovery is supported is opened Default protocol stack switch state in the multiple protocol stacks supported described in off status or the modem recovery is simultaneously while multiple The position modem.
Wherein, there are points of priority level height for multiple protocol stacks that modem is supported.Optionally, modulation /demodulation The priority level for each protocol stack that device is supported can be preset, for example, can be set when modem dispatches from the factory The priority level for each protocol stack that modem is supported;It goes forward side by side alternatively, can be configured in modem in UE During row initialization, use network connection during each protocol stack and network signal intensity situation that modulation is set according to UE The priority level for each protocol stack that demodulator is supported;Etc..Optionally, each protocol stack that modem is supported Priority level can be adjusted flexibly, for example, network that can be according to UE when some band of position uses each protocol stack Connection and network signal intensity situation set priority level;Alternatively, it can be set according to the order of the common network communication standard of UE Put the priority level of each protocol stack;Etc..It should be noted that the priority level of some protocol stack is higher, illustrate that UE is based on The protocol stack can obtain better network connection or stronger network signal.The highest agreement of priority level in modem Stack is commonly known as default protocol stack, and modem be generally also used according to priority level from high to low order it is each Protocol stack realizes the network registry and Web vector graphic of UE.
The characteristics of possessing mobility and platform update property due to UE, when position movement occurs in UE or carries out platform update When, current attribute can change, network connection situation it can also happen that variation, such as:UE is existed based on second protocol stack Position A can carry out network connection, however then possibly can not be into based on second protocol stack when UE is moved to position B from position A Row network connection;Similarly, UE is based on the first protocol stack possibly can not carry out network connection in position A, however then may be used in position B To carry out network connection.Therefore, modem registers upper network using second protocol stack not successfully, and modem is according to silent Recognize the on off state of protocol stack, recover default protocol stack switch state or modem recovery default protocol stack switch state simultaneously Reset operation is carried out to modem simultaneously.It is understood that default protocol stack herein both may be the first protocol stack, It is also likely to be other protocol stacks beyond the first protocol stack.It should be noted that if default protocol stack is first in the present embodiment Protocol stack (protocol stack that is i.e. pent, causing protocol stack abnormal state), then, this step, which is equivalent to, reopens first Protocol stack.Therefore, this step is after the first protocol stack is reopened, and since the current attribute of UE has changed, this causes UE can carry out proper network registration based on the first protocol stack reopened and recover Web vector graphic.
Whether S207, the modem test position information change.
If so, perform step S206.
If it is not, then perform step S207.
In the embodiment of the present invention, modem periodically obtains location information, in the location information that currently obtains and The location information that last time obtains performs step S206 compared to when changing, and otherwise continues to obtain location information.For example, position Confidence breath is cell ID, and UE is moved to another cell by a cell, represents that location information changes;For another example, position is believed It ceases for location area code, UE is moved to another band of position by a band of position, shows that location information changes.Modulation The cycle present invention that demodulator obtains location information is not restricted, and can be configured according to actual demand.
S208, the modem judge whether to have reported protocol stack abnormal state reason.
If so, perform step S211.
If it is not, then perform step S209.
Optionally, protocol stack abnormal state reason can be represented by reason-code, and different abnormal causes corresponds to not With the reason for code, while abnormal cause can text description by way of represent.
S209, the modem obtain the protocol stack abnormal state reason and daily record.
Optionally, daily record represents the operation information of modem detection protocol stack state, and operation information includes:Operation refers to It makes, the operating time and return the result.
The abnormal cause, the current location information and daily record are reported to network by S210, the modem Side and/or user.
Optionally, abnormal cause, current location information and daily record are reported to the tool of network side equipment by modem Body embodiment can be:It is reported by Wireless Fidelity WiFi network to network side equipment;Or modem can also incite somebody to action Abnormal cause is shown on the display screen of UE, is checked for user.
S211, the modem processes this abnormal endings.
As can be seen that in the embodiment of the present invention, if modem detects protocol stack abnormal state, the modulation /demodulation Device closes the first protocol stack for causing protocol stack abnormal state;The modem opens second protocol stack, and described in use Second protocol stack carries out network registry, except institute in multiple protocol stacks that the second protocol stack is supported for the modem State the protocol stack beyond the first protocol stack;If the second protocol stack succeeds in registration, the modem records current position Confidence ceases.So when protocol stack abnormal state causes modem that can not work normally, by way of network registry Make modem recovery normal, avoid the problem that hand-operated forced time-consuming long, reduction caused by restarting mobile phone or location updating Time of network disaster recovery.
Fig. 3 is referred to, Fig. 3 is the 3 of a kind of processing method of network communicating function exception provided in an embodiment of the present invention Embodiment flow chart.Wherein, as shown in figure 3, a kind of place for network communicating function exception that one embodiment of the present of invention provides Reason method can include step S301~S309:
Whether S301, modem detect protocol stack abnormal state.
If so, perform step S302.
If it is not, then perform step S301.
S302, modem closing cause the first protocol stack of protocol stack abnormal state.
S303, the modem open second protocol stack, and carry out network registry, institute using the second protocol stack State the protocol stack in addition to first protocol stack in multiple protocol stacks that second protocol stack is supported for the modem.
If the success of S304, network registry, the modem record current location information.It can perform step afterwards S305;It simultaneously can be with parallel execution of steps S307.
Whether S305, the modem test position information change.
If so, perform step S306.
If it is not, then perform step S305.
Default protocol stack in multiple protocol stacks that modem described in S306, the modem recovery is supported is opened Default protocol stack switch state in the multiple protocol stacks supported described in off status or the modem recovery is simultaneously while multiple The position modem.
S307, the modem judge whether to have reported protocol stack abnormal state reason.
Optionally, if protocol stack abnormal state reason had reported, step S301 is performed;When protocol stack abnormal state is former Because after having reported, user can adjust or repair according to abnormal cause, continue to jump to step S301 afterwards by modulation /demodulation Device detection is abnormal, if modem still detects protocol stack abnormal state, continues to execute the subsequent steps such as step S301.It is no Then, step S308 is performed.
S308, the modem obtain the protocol stack abnormal state reason and daily record.
The abnormal cause, the current location information and daily record are reported to network by S309, the modem Side and/or user.
After above- mentioned information reports, step S301 can be equally jumped to, exception is detected by modem, if modulatedemodulate Device is adjusted still to detect protocol stack abnormal state, then continues to execute the subsequent steps such as S302.
By way of cycling, it can be ensured that the solution of protocol stack abnormal state problem, after Resolving probiems, modulation /demodulation Device will not detect protocol stack abnormal state again, and UE can recover to work normally.
It should be noted that the specific embodiment of step S301~step S309 in the present embodiment refer to the present invention The correlation of step S201~step S2011 in a kind of processing method of network communicating function exception disclosed in second embodiment is retouched It states and step S101~step in a kind of processing method of network communicating function exception disclosed in first embodiment of the invention The associated description of S103, details are not described herein again.
As can be seen that in the embodiment of the present invention, if modem detects protocol stack abnormal state, the modulation /demodulation Device closes the first protocol stack for causing protocol stack abnormal state;The modem opens second protocol stack, and described in use Second protocol stack carries out network registry, except institute in multiple protocol stacks that the second protocol stack is supported for the modem State the protocol stack beyond the first protocol stack;If the second protocol stack succeeds in registration, the modem records current position Confidence ceases.So when protocol stack abnormal state causes modem that can not work normally, by way of network registry Make modem recovery normal, avoid the problem that hand-operated forced time-consuming long, reduction caused by restarting mobile phone or location updating Time of network disaster recovery.
Fig. 4 is referred to, is a kind of structure diagram of modem 400 provided in an embodiment of the present invention, in the present invention In embodiment, the modem includes:Closedown module 401, registration module 402 and logging modle 403.
Closedown module 401, if for detecting protocol stack abnormal state, closing causes the first of protocol stack abnormal state to assist Discuss stack.
Registration module 402 for opening second protocol stack, and carries out network registry using the second protocol stack, described Protocol stack in multiple protocol stacks that second protocol stack is supported for the modem in addition to first protocol stack.
Logging modle 403, if succeeding in registration for the second protocol stack, location information current record UE.
Optionally, modem shown in Fig. 4 further includes:
Recovery module, for working as the second protocol stack registration failure;And after the second protocol stack succeeds in registration And the default protocol stack switch state or extensive in multiple protocol stacks that the modem is supported is recovered when changing in position Default protocol stack switch state in multiple protocol stacks of the multiple support simultaneously resets the modem simultaneously.
Optionally, modem shown in Fig. 4 further includes:
Reporting module, if not reported for protocol stack abnormal state reason, obtain the protocol stack abnormal state reason and Daily record;The abnormal cause, the current location information and daily record are reported to network side and/or user.
Optionally, reporting module is specifically used for:
The protocol stack abnormal state reason, daily record and institute are reported to network side equipment by Wireless Fidelity WiFi network State the current location informations of UE.
It is understood that the function of each function module of the modem 400 of the present embodiment can be according to the method Method specific implementation in embodiment, specific implementation process are referred to the associated description of the method embodiment, herein not It repeats again.
As can be seen that in the embodiment of the present invention, if modem detects protocol stack abnormal state, closedown module 401 Close the first protocol stack for causing protocol stack abnormal state;Registration module 402 opens second protocol stack, and is assisted using described second It discusses stack and carries out network registry, the second protocol stack is except described first in multiple protocol stacks that the modem is supported Protocol stack beyond protocol stack;If the second protocol stack succeeds in registration, logging modle 403 records current location information.This Sample makes modulation /demodulation when protocol stack abnormal state causes modem that can not work normally by way of network registry Device recovers normal, avoid the problem that it is hand-operated forced restart mobile phone or location updating caused by take long, reduce network failure The time of recovery.
Fig. 5 is referred to, is a kind of 500 structure diagram of modem of the embodiment of the present invention, in this embodiment, modulation Demodulator is used to implement the processing method of network communicating function exception shown in FIG. 1, modem include CPU_modem501, Memory 502, Base-Band Processing 503, communication interface/CPU_ap504 (remarks:In the case of modem single-chips, this is communication Interface 504, for carrying out communication interface with the AP processors outside chip;The feelings of a chip are integrated in for modem and ap Condition, this is CPU_ap504, i.e., without communication interface) and baseband radio interface 505, the CPU_modem501 in modem Quantity can be one or more, Fig. 5 (remarks by taking a CPU as an example:CPU described herein can also replace with DSP numbers Signal processor).In some embodiments of the present invention, CPU_modem501, memory 502, Base-Band Processing 503, communication interface/ CPU_ap504 can be connected with baseband radio interface 505 by bus or other modes, in Fig. 5 by taking bus connects as an example.
Wherein, batch processing code is stored in memory 502, and CPU_modem501 deposits for calling in memory 502 The program code of storage, for performing following operation:
If detecting protocol stack abnormal state, the first protocol stack for causing protocol stack abnormal state is closed;
Second protocol stack is opened, and network registry is carried out using the second protocol stack, the second protocol stack is described Protocol stack in multiple protocol stacks that modem is supported in addition to first protocol stack;
If the second protocol stack succeeds in registration, location information current record UE.
In some embodiments of the invention, CPU_modem 501 is additionally operable to perform:
If the second protocol stack registration failure, recover the acquiescence association in multiple protocol stacks that the modem is supported Default protocol stack switch state in the multiple protocol stacks supported described in view stack switch state or the modem recovery is simultaneously Reset the modem simultaneously.
In some embodiments of the invention, if CPU modem 501 perform the second protocol stack and succeed in registration, record After location information current UE, it is additionally operable to perform:
If position changes, recover the default protocol stack switch shape in multiple protocol stacks that the modem is supported Default protocol stack switch state in state or multiple protocol stacks of the recovery support simultaneously resets the modem simultaneously.
Wherein, Base-Band Processing 503 for handling baseband signal, and pass through bus and are interacted with other parts;
Wherein, block diagram " communication interface/CPU_ap " 504, in the case of modem single-chips, this block diagram 504 connects for communication The interface that mouth communicates without CPU_ap, communication interface 504 as the AP processors for the outside with modem chips; In the case of modem and ap are integrated in a chip, this block diagram 504 for CPU_ap without communication interface, CPU_modem leads to It crosses bus and CPU_ap communicates without other communication interfaces;
Wherein, baseband radio interface 505, for carrying out interface communication with the radio frequency outside modem chip.
In some embodiments of the invention, CPU modem 501 are additionally operable to perform:
If protocol stack abnormal state reason does not report, the protocol stack abnormal state reason and daily record are obtained;It will be described different Normal reason, the current location information and daily record are reported to network side and/or user.
In some embodiments of the invention, CPU501 is by the abnormal cause, the current location information and daily record Network side is reported to, including:
The protocol stack abnormal state reason, daily record and described are reported to network side equipment by Wireless Fidelity WiFi network Location information current UE.
It is understood that the function of each function module of the modem 500 of the present embodiment can be according to the method Method specific implementation in embodiment, specific implementation process are referred to the associated description of the method embodiment, herein not It repeats again.
As can be seen that in the embodiment of the present invention, if modem detects protocol stack abnormal state, the modulation /demodulation Device closes the first protocol stack for causing protocol stack abnormal state;The modem opens second protocol stack, and described in use Second protocol stack carries out network registry, except institute in multiple protocol stacks that the second protocol stack is supported for the modem State the protocol stack beyond the first protocol stack;If the second protocol stack succeeds in registration, the modem records current position Confidence ceases.So when protocol stack abnormal state causes modem that can not work normally, by way of network registry Make modem recovery normal, avoid the problem that hand-operated forced time-consuming long, reduction caused by restarting mobile phone or location updating Time of network disaster recovery.
The embodiment of the present invention additionally provides a kind of UE for including above-mentioned modem, and UE includes but not limited to carryOr the UE of other operating systems, such as mobile phone.Can also be other UE, laptop computer or tablet computer or platform such as with touch sensitive surface (for example, touch-screen display and/or Trackpad) Formula computer.
In the following discussion, a kind of UE including display and touch sensitive surface is described.It should be appreciated, however, that UE can be with Including other one or more physical user-interface devices, such as physical keyboard, mouse and/or operation lever.
UE usually supports a variety of application programs, it is such as following in one or more:Picture application program is presented using journey Sequence, word-processing application, webpage create application program, disk editor application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant message application program, exercise are supported Application program, photograph management application program, digital camera applications program, digital video camcorder application program, web browsing should With program, 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 UE, such as touches Sensitive surfaces.One or more functions of touch sensitive surface and the corresponding information being shown on UE can be adjusted from a kind of application program And/or it 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 object of UE Reason framework (such as touch sensitive surface) can support various application programs using clearly user interface directly perceived for a user.
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 upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosed power for being only a kind of preferred embodiment of the present invention, the present invention cannot being limited with this certainly Sharp scope 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 scope.

Claims (5)

1. a kind of processing method of network communicating function exception, which is characterized in that including:
If modem detects protocol stack abnormal state, the modem closing causes the of protocol stack abnormal state One protocol stack;
The modem opens second protocol stack, and carries out network registry, second association using the second protocol stack Discuss the protocol stack in addition to first protocol stack in multiple protocol stacks that stack is supported for the modem;
If the second protocol stack succeeds in registration, the modem records current location information;
If the second protocol stack registration failure, the acquiescence association in the multiple protocol stacks supported described in the modem recovery View stack switch state simultaneously resets the modem simultaneously, after the modem is resetted, uses the default protocol Stack carries out network registry;
If protocol stack abnormal state reason does not report, the modem obtains the protocol stack abnormal state reason and day Will;The modem by Wireless Fidelity WiFi network to network side equipment report the protocol stack abnormal state reason, Daily record and the current location information.
If 2. according to the method described in claim 1, it is characterized in that, the second protocol stack succeeds in registration, the tune After modulator-demodulator records current location information, the method further includes:
If position changes, the acquiescence association in multiple protocol stacks that modem described in the modem recovery is supported Default protocol stack switch state in the multiple protocol stacks supported described in view stack switch state or the modem recovery is simultaneously Reset the modem simultaneously.
3. a kind of modem, which is characterized in that including:
If closedown module for detecting protocol stack abnormal state, closes the first protocol stack for causing protocol stack abnormal state;
Registration module for opening second protocol stack, and carries out network registry, the second protocol using the second protocol stack Protocol stack in multiple protocol stacks that stack is supported for the modem in addition to first protocol stack;
Logging modle if succeeding in registration for the second protocol stack, records current location information;
Recovery module if for the second protocol stack registration failure, recovers the acquiescence association in multiple protocol stacks of the support View stack switch state simultaneously resets the modem simultaneously, after the modem is resetted, uses the default protocol Stack carries out network registry;
Reporting module if not reported for protocol stack abnormal state reason, obtains the protocol stack abnormal state reason and daily record; The protocol stack abnormal state reason, daily record and the current position are reported to network side equipment by Wireless Fidelity WiFi network Confidence ceases.
4. modem according to claim 3, which is characterized in that
The recovery module is additionally operable to when after the second protocol stack succeeds in registration and when position changes, recovering the tune Default protocol stack switch state in multiple protocol stacks that modulator-demodulator is supported is recovered in multiple protocol stacks of the support Default protocol stack switch state simultaneously resets the modem simultaneously.
5. a kind of user terminal, which is characterized in that including the modem as described in claim 3-4 any one.
CN201510825115.9A 2015-11-24 2015-11-24 Processing method, modem and the user terminal of network communicating function exception Active CN105376781B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510825115.9A CN105376781B (en) 2015-11-24 2015-11-24 Processing method, modem and the user terminal of network communicating function exception
CN201810455402.9A CN108683661B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510825115.9A CN105376781B (en) 2015-11-24 2015-11-24 Processing method, modem and the user terminal of network communicating function exception

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201810455402.9A Division CN108683661B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and user terminal

Publications (2)

Publication Number Publication Date
CN105376781A CN105376781A (en) 2016-03-02
CN105376781B true CN105376781B (en) 2018-05-29

Family

ID=55378490

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510825115.9A Active CN105376781B (en) 2015-11-24 2015-11-24 Processing method, modem and the user terminal of network communicating function exception
CN201810455402.9A Active CN108683661B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and user terminal

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810455402.9A Active CN108683661B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and user terminal

Country Status (1)

Country Link
CN (2) CN105376781B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977410A (en) * 2010-10-20 2011-02-16 中兴通讯股份有限公司 Method and device for dual-network and dual-standby terminal to perform communication
CN102611750A (en) * 2012-03-15 2012-07-25 中兴通讯股份有限公司 Double-protocol-stack accessing method and system
CN103841615A (en) * 2012-11-22 2014-06-04 三星电子株式会社 Apparatus and method for selecting network in communication system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6591382B1 (en) * 1999-08-17 2003-07-08 Skyworks Solutions, Inc. Performance improvement of internet protocols over wireless connections
KR101041336B1 (en) * 2004-03-04 2011-06-14 에스케이 텔레콤주식회사 Method of Switching Multi-mode Multi-band Mobile Communication Terminal
EP2901802A4 (en) * 2012-09-25 2016-05-04 Ericsson Telefon Ab L M Method and apparatus for radio link adaptation for flexible subframe communications
CN104661270B (en) * 2013-03-18 2018-06-12 英特尔公司 Multimode wireless communication apparatus and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977410A (en) * 2010-10-20 2011-02-16 中兴通讯股份有限公司 Method and device for dual-network and dual-standby terminal to perform communication
CN102611750A (en) * 2012-03-15 2012-07-25 中兴通讯股份有限公司 Double-protocol-stack accessing method and system
CN103841615A (en) * 2012-11-22 2014-06-04 三星电子株式会社 Apparatus and method for selecting network in communication system

Also Published As

Publication number Publication date
CN108683661B (en) 2021-04-16
CN108683661A (en) 2018-10-19
CN105376781A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
US20210132779A1 (en) Electronic device and method for configuring display thereof
CN105376773B (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
US20150177957A1 (en) Method and apparatus for processing object provided through display
CN108701037A (en) A kind of method, apparatus and terminal of the application task list of cleaning terminal
CN106686637A (en) Processing method of network communication function abnormities and processing device
CN105357049B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376113B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN107743164A (en) A kind of exception falls the processing method and terminal of card
CN105760055A (en) Mobile terminal and control method thereof
CN105407461B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105392130B (en) Network communicating function abnormal processing method, application processor and user terminal
CN105634794B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376781B (en) Processing method, modem and the user terminal of network communicating function exception
CN105376775B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376784B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376789B (en) Network communicating function abnormal processing method, modem and mobile terminal
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
CN105490838B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105491609B (en) Network communicating function abnormal processing method, modem and mobile terminal
CN105376779B (en) A kind of network communicating function abnormality eliminating method, application processor and mobile terminal
CN105357705B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376780A (en) Processing method of network communication function abnormity, modem and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CP01 Change in the name or title of a patent holder