CN108683661A - 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
CN108683661A
CN108683661A CN201810455402.9A CN201810455402A CN108683661A CN 108683661 A CN108683661 A CN 108683661A CN 201810455402 A CN201810455402 A CN 201810455402A CN 108683661 A CN108683661 A CN 108683661A
Authority
CN
China
Prior art keywords
protocol stack
modem
protocol
abnormal state
network
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.)
Granted
Application number
CN201810455402.9A
Other languages
Chinese (zh)
Other versions
CN108683661B (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 CN201810455402.9A priority Critical patent/CN108683661B/en
Publication of CN108683661A publication Critical patent/CN108683661A/en
Application granted granted Critical
Publication of CN108683661B publication Critical patent/CN108683661B/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

Landscapes

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

Abstract

The invention discloses a kind of processing method of network communicating function exception, this method includes:If modem detects that protocol stack abnormal state, the modem close the first protocol stack for causing 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 other than first protocol stack in multiple protocol stacks that the modem is supported;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 restored 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, may be often abnormal during communication standard switches, mobile phone can not normally connect Network Communication, such as protocol stack abnormal state.Currently, solve due to 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, restores the configuration parameter of modem;Or user has 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.
Invention content
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, restore network communicating function manually and takes long problem.
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 that protocol stack abnormal state, the modem closing cause 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 Two protocol stacks are the protocol stack other than first protocol stack in multiple protocol stacks that the modem is supported;
If the second protocol stack succeeds in registration, the modem records current location information.
In conjunction with the embodiment of the present invention in a first aspect, in the first possible realization method of first aspect, the method Further include:
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.
In conjunction with 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.
In conjunction with the embodiment of the present invention in a first aspect, in the third possible realization method of first aspect, the method Further include:
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.
In conjunction with 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 closes the first agreement for causing protocol stack abnormal state for detecting 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 is the protocol stack other than first protocol stack in multiple protocol stacks that the modem is supported;
Logging modle records current location information if succeeding in registration for the second protocol stack.
In conjunction with 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 restored when changing in position Default protocol stack switch state in multiple protocol stacks of the multiple support simultaneously resets the modem simultaneously.
In conjunction with 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.
In conjunction with 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:
By Wireless Fidelity WiFi network the protocol stack abnormal state reason, daily record and described are reported to network side equipment 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, has the advantages that:
If modem detects that protocol stack abnormal state, the modem closing cause 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 It is the protocol stack in multiple protocol stacks that the modem is supported other than first protocol stack to state second protocol stack; If the second protocol stack succeeds in registration, the modem records current location information.It is different in agreement stack state in this way When often modem being caused to can not work normally, modem is made to automatically attempt to restore just by way of network registry Often, avoid it is hand-operated forced restart long problem is taken caused by mobile phone or location updating, reduce network disaster recovery when Between.
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 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 structural schematic diagram of modem provided in an embodiment of the present invention;
Fig. 5 is the second embodiment structural schematic diagram of modem provided in an embodiment of the present invention.
Specific implementation mode
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, restore network communicating function manually and takes long problem.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, 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 The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects It encloses.
It is described in detail separately below.
Term " first ", " second ", " third " 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 and 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 further include the steps that optionally not listing or list Member, or further include optionally 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 may 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 may include step S101~S103:
If S101, modem detect that protocol stack abnormal state, the modem closing cause 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 refers 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 packet, and do not have Have and then think protocol stack abnormal state when 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 by uncertain factor with the communication process of network side equipment and the case where 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 indicates 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 It is the protocol stack in multiple protocol stacks that the modem is supported other than first protocol stack to state second protocol stack.
In the embodiment of the present invention, after closing the first protocol stack, UE is converted to Idle state, modem choosing by connected state Select second protocol stack, second protocol stack be in multiple protocol stacks that the modem is supported in addition to 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, indicates 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, indicates network registry failure.It is optional , the strategy of modem selection second protocol stack can be:Select the protocol stack of level-one lower than the first protocol stack as Two protocol stacks;Alternatively, the signal strength for the corresponding cell signal of each protocol stack that modem is supported is measured, and by signal The protocol stack of maximum intensity is as second protocol stack;Alternatively, selecting protocol stack more higher leveled than the first protocol stack as the second association Discuss stack;Alternatively, determining that second protocol stack, the present invention are not restricted using other strategies.
If S103, the second protocol stack succeed in registration, the modem records current location information.
Optionally, location information indicates 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, in addition to institute in multiple protocol stacks that the second protocol stack is supported for the modem State the protocol stack other than the first protocol stack;If the second protocol stack succeeds in registration, the modem records current position Confidence ceases.Cause modem that can not be quickly detected when normal communication in protocol stack abnormal state in this way, and leads to Crossing to switch other protocol stacks and carry out the mode of network registry makes modem automatically restore the normal of communication, avoids strong manually System takes long problem 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 may include step S201~S211:
Whether S201, modem detect protocol stack abnormal state.
If so, thening follow the steps S202.
If it is not, thening follow the steps 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 inconsistent with advance desired result, such as there was only upstream data packet 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 by uncertain factor Influence and there is the case where step-out;Etc..Protocol stack abnormal state reason can there are many, identical protocol stack abnormal state May be caused by different abnormal causes, arbitrary known means can be used to determine, originally in the positioning of specific abnormal cause Invention is not restricted.
S202, the modem close the first protocol stack for causing 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 implementation mode of stack state exception is:Modem inquires the shape of presentation protocol stack in modem To obtain the first currently used protocol stack, (such as state flag bit is 1 to indicate corresponding protocol stack as opening state to state flag bit State, state flag bit are 0 to indicate that corresponding protocol stack is in off state), 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 It is the protocol stack in multiple protocol stacks that the modem is supported other than first protocol stack to state second protocol stack.
In the embodiment of the present invention, after closing the first protocol stack, UE is converted to Idle state, modem choosing by connected state Select second protocol stack, second protocol stack be in multiple protocol stacks that the modem is supported in addition to 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, indicates 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, indicates network registry failure.It is optional , the strategy of modem selection second protocol stack can be:Select the protocol stack of level-one lower than the first protocol stack as Two protocol stacks;Alternatively, the signal strength for the corresponding cell signal of each protocol stack that modem is supported is measured, and by signal The protocol stack of maximum intensity is as second protocol stack;Alternatively, selecting protocol stack more higher leveled than the first protocol stack as the second association Discuss stack;Alternatively, determining that second protocol stack, the present invention are not restricted using other strategies.
S204, the modem judge whether network registry succeeds.
If so, thening follow the steps S205.
If it is not, thening follow the steps S206.
S205, the modem record current location information.Then step S208, and starting step S207 are executed Concurrent process.
Optionally, location information indicates 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 arranged 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 UE in modem During row initialization, network connection and network signal intensity the situation setting when each protocol stack is used to modulate 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 Priority level is arranged in connection and network signal intensity situation;Alternatively, can be set according to the sequence of the common network communication standard of UE Set 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 from high to low sequence according to priority level it is each Protocol stack realizes the network registry and Web vector graphic of UE.
The characteristics of having 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 second protocol stack is then based on when UE is moved to position B from position A possibly can not be into 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, restores 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 other than 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 reopening the first protocol stack, and since the current attribute of UE has changed, this makes UE can carry out proper network registration based on the first protocol stack reopened and restore Web vector graphic.
Whether S207, the modem test position information change.
If so, thening follow the steps S206.
If it is not, thening follow the steps 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 executes 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, indicates that location information changes;For another example, position is believed Breath is location area code, and UE is moved to another band of position by a band of position, shows that location information changes.Modulation The period 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, thening follow the steps S211.
If it is not, thening follow the steps S209.
Optionally, protocol stack abnormal state reason can be indicated by reason-code, and different abnormal causes corresponds to not Same reason code, while abnormal cause can be indicated by way of text description.
S209, the modem obtain the protocol stack abnormal state reason and daily record.
Optionally, daily record indicates that the operation information of modem detection protocol stack state, operation information include:Operation refers to It enables, 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 to network side equipment by Wireless Fidelity WiFi network;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, in addition to institute in multiple protocol stacks that the second protocol stack is supported for the modem State the protocol stack other than the first protocol stack;If the second protocol stack succeeds in registration, the modem records current position Confidence ceases.In this way when protocol stack abnormal state causes modem can not work normally, by way of network registry Keep modem recovery normal, avoids hand-operated forced time-consuming long problem caused by restarting mobile phone or location updating, reduction Time of network disaster recovery.
Fig. 3 is referred to, Fig. 3 is a kind of third of the 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 may include step S301~S309:
Whether S301, modem detect protocol stack abnormal state.
If so, thening follow the steps S302.
If it is not, thening follow the steps S301.
S302, the modem close the first protocol stack for causing protocol stack abnormal state.
S303, the modem open second protocol stack, and carry out network registry, institute using the second protocol stack It is the protocol stack in multiple protocol stacks that the modem is supported other than first protocol stack to state second protocol stack.
If the success of S304, network registry, the modem record current location information.It can perform step later S305;It simultaneously can be with parallel execution of steps S307.
Whether S305, the modem test position information change.
If so, thening follow the steps S306.
If it is not, thening follow the steps 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, S301 is thened follow the steps;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 later 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 executed.
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, can equally go to step S301, exception be detected by modem, if modulatedemodulate It adjusts device still to detect protocol stack abnormal state, then continues to execute the subsequent steps such as S302.
By way of cycle, it can be ensured that the solution of protocol stack abnormal state problem, after Resolving probiems, modulation /demodulation Device will not detect that protocol stack abnormal state, UE can restore to work normally again.
It should be noted that the specific implementation mode of step S301~step S309 in the present embodiment please refers 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, in addition to institute in multiple protocol stacks that the second protocol stack is supported for the modem State the protocol stack other than the first protocol stack;If the second protocol stack succeeds in registration, the modem records current position Confidence ceases.In this way when protocol stack abnormal state causes modem can not work normally, by way of network registry Keep modem recovery normal, avoids hand-operated forced time-consuming long problem caused by restarting mobile phone or location updating, reduction Time of network disaster recovery.
Fig. 4 is referred to, is a kind of structural schematic 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 that protocol stack abnormal state, closing cause the first of protocol stack abnormal state to assist Discuss stack.
Registration module 402 carries out network registry for opening second protocol stack, and using the second protocol stack, described Second protocol stack is the protocol stack other than first protocol stack in multiple protocol stacks that the modem is supported.
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 restored 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:
By Wireless Fidelity WiFi network the protocol stack abnormal state reason, daily record and institute are reported to network side equipment 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 in multiple protocol stacks that the modem is supported in addition to described first Protocol stack other than 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 can not work normally by way of network registry Device restores normal, avoid it is hand-operated forced restart mobile phone or location updating caused by take long problem, reduce network failure The time of recovery.
Fig. 5 is referred to, is a kind of 500 structural schematic diagram of modem of the embodiment of the present invention, in this embodiment, modulation Demodulator for realizing network communicating function shown in FIG. 1 exception processing method, modem include CPU_modem501, Memory 502, Base-Band Processing 503, communication interface/CPU_ap504 (remarks:The case where for 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, that is, is not necessarily to 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 is deposited for calling in memory 502 The program code of storage, for performing the following operations:
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 other than 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 execute:
If the second protocol stack registration failure, restore 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, it if CPU modem 501 execute the second protocol stack and succeed in registration, records After location information current UE, it is additionally operable to execute:
If position changes, restore 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 are interacted for handling baseband signal, and by bus and other parts;
Wherein, block diagram " communication interface/CPU_ap " 504, the case where for modem single-chips, this block diagram 504 is that communication connects The interface that mouth is communicated without CPU_ap, communication interface 504 as the AP processors for the outside with modem chips; The case where being integrated in a chip for modem and ap, this block diagram 504 are CPU_ap without communication interface, and CPU_modem is logical It crosses bus and CPU_ap is communicated 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 execute:
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 It is reported to network side, including:
By Wireless Fidelity WiFi network the protocol stack abnormal state reason, daily record and described are reported to network side equipment 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, in addition to institute in multiple protocol stacks that the second protocol stack is supported for the modem State the protocol stack other than the first protocol stack;If the second protocol stack succeeds in registration, the modem records current position Confidence ceases.In this way when protocol stack abnormal state causes modem can not work normally, by way of network registry Keep modem recovery normal, avoids hand-operated forced time-consuming long problem caused by restarting mobile phone or location updating, reduction Time of network disaster recovery.
The embodiment of the present invention additionally provides a kind of UE 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, the laptop computer or tablet computer such as with touch sensitive surface (for example, touch-screen display and/or Trackpad) or platform 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 operating lever.
UE usually supports a variety of application programs, it is such as following in it is one or more:Picture application program presents and applies journey Sequence, word-processing application, webpage create application program, disk editor application program, spreadsheet applications, game application Program, videoconference application, email application, instant message application program, is taken exercise and is supported at telephony application Application program, photograph management application, digital camera applications program, digital video camcorder application program, web browsing are answered 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 executed 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 intuitive clearly user interface 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 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:
If modem detects protocol stack abnormal state, the modem, which is closed, 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 It is the protocol stack in multiple protocol stacks that the modem is supported other than first protocol stack to discuss stack;
If the second protocol stack succeeds in registration, the modem records current location information.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
If the second protocol stack registration failure, multiple protocol stacks of modem support described in the modem recovery In default protocol stack switch state or the modem recovery described in default protocol stack in multiple protocol stacks for supporting On off state simultaneously resets the modem simultaneously.
3. method according to claim 1 or 2, which is characterized in that described if the second protocol stack succeeds in registration After modem 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.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
If protocol stack abnormal state reason does not report, the modem 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 use by the modem Family.
5. according to the method described in claim 4, it is characterized in that, the modem by the abnormal cause, described work as Preceding location information and daily record is reported to network side, including:
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.
6. a kind of modem, which is characterized in that including:
If closedown module closes the first protocol stack for causing protocol stack abnormal state for detecting protocol stack abnormal state;
Registration module carries out network registry, the second protocol for opening second protocol stack, and using the second protocol stack Stack is the protocol stack other than first protocol stack in multiple protocol stacks that the modem is supported;
Logging modle records current location information if succeeding in registration for the second protocol stack.
7. modem according to claim 6, which is characterized in that the modem further includes:
Recovery module, for working as the second protocol stack registration failure;And after the second protocol stack succeeds in registration and position It sets when changing, restore the default protocol stack switch state in multiple protocol stacks that the modem is supported or restores institute It states the default protocol stack switch state in multiple protocol stacks of support and resets the modem simultaneously.
8. the modem described according to claim 6 or 7, which is characterized in that the modem further includes:
Reporting module obtains the protocol stack abnormal state reason and daily record if not reported for protocol stack abnormal state reason; The abnormal cause, the current location information and daily record are reported to network side and/or user.
9. modem according to claim 8, which is characterized in that the reporting unit is specifically used for:
By Wireless Fidelity WiFi network the protocol stack abnormal state reason, daily record and described current are reported to network side equipment Location information.
10. a kind of user terminal, which is characterized in that include the modem as described in claim 6-9 any one.
CN201810455402.9A 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and user terminal Active CN108683661B (en)

Priority Applications (1)

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

Applications Claiming Priority (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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
CN108683661A true CN108683661A (en) 2018-10-19
CN108683661B CN108683661B (en) 2021-04-16

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 Before (1)

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

Country Status (1)

Country Link
CN (2) CN105376781B (en)

Citations (7)

* 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
CN1981458A (en) * 2004-03-04 2007-06-13 Sk泰力康姆株式会社 Multi-mode multi-band mobile communication terminal and mode switching method thereof
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
CN104661270A (en) * 2013-03-18 2015-05-27 开曼群岛威睿电通股份有限公司 Apparatus and system for multi-mode wireless communication
US20150236808A1 (en) * 2012-09-25 2015-08-20 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for radio link adaptation for flexible subframe communications

Patent Citations (7)

* 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
CN1981458A (en) * 2004-03-04 2007-06-13 Sk泰力康姆株式会社 Multi-mode multi-band mobile communication terminal and mode switching method thereof
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
US20150236808A1 (en) * 2012-09-25 2015-08-20 Telefonaktiebolaget L M Ericsson (Publ) Method and apparatus for radio link adaptation for flexible subframe communications
CN103841615A (en) * 2012-11-22 2014-06-04 三星电子株式会社 Apparatus and method for selecting network in communication system
CN104661270A (en) * 2013-03-18 2015-05-27 开曼群岛威睿电通股份有限公司 Apparatus and system for multi-mode wireless communication

Also Published As

Publication number Publication date
CN105376781B (en) 2018-05-29
CN108683661B (en) 2021-04-16
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
CN105357053B (en) Processing method, application processor and the user terminal of network communicating function exception
CN105376785B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN108599986A (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN106686637A (en) Processing method of network communication function abnormities and processing device
CN106686638A (en) Network communication function abnormality processing method and network communication function abnormality processing device
CN105357049B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105407461B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376113B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105786647A (en) Data backup device and method and terminal
CN105392130B (en) Network communicating function abnormal processing method, application processor and user terminal
CN105376775B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105634794B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105490838B (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
CN105376784B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN106230693A (en) The method of a kind of information transmission and terminal
CN108462973B (en) Processing method for network communication function abnormity, 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
CN105376779B (en) A kind of network communicating function abnormality eliminating method, application processor and mobile terminal
US20140047050A1 (en) Method and electronic device for synchronizing emails
CN105376780B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN108684056A (en) Processing method, modem and the mobile terminal of network communicating function exception

Legal Events

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

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

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

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant