CN105376772B - Processing method, modem and the mobile terminal of network communicating function exception - Google Patents
Processing method, modem and the mobile terminal of network communicating function exception Download PDFInfo
- Publication number
- CN105376772B CN105376772B CN201510824789.7A CN201510824789A CN105376772B CN 105376772 B CN105376772 B CN 105376772B CN 201510824789 A CN201510824789 A CN 201510824789A CN 105376772 B CN105376772 B CN 105376772B
- Authority
- CN
- China
- Prior art keywords
- protocol stack
- network
- modem
- pdn connection
- abnormal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
- H04W60/04—Affiliation 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)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present invention provides a kind of processing method, modem and the mobile terminal of network communicating function exception, and wherein method may include following steps:When detecting public data network PDN connection failure, the first currently used protocol stack is obtained;Judge whether the number of the PDN connection failures in preset time period reaches preset times;When the number for judging the PDN connection failures in the preset time period reaches the preset times, first protocol stack and second protocol stack of the selection in addition to first protocol stack from multiple protocol stacks of support are closed;It opens the second protocol stack and carries out network registry using the second protocol stack;When the second protocol stack network succeeds in registration, current location is recorded.The embodiment of the present invention can quickly repair Network Abnormal caused by PDN connection failures, so as to recover communication function in time, reduce the time that Network Abnormal recovers.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to the processing method of network communicating function exception, modem
And mobile terminal.
Background technology
With the fast development of fourth generation mobile communication technology (4G), the mobile terminal of 4G communication standards is supported increasingly
It is more, and support the mobile terminal of 4G communication standards while also support 2G, 3G communication standard, to ensure the normal communication of user.
The high speed development of mobile communication technology makes data service occupy absolute proportion, so as to the work of the modem in mobile terminal
It is become more and more important with status, modem is used to that data to be sent to be converted to radiofrequency signal and are converted to radiofrequency signal
Pending data, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc..
By taking mobile phone as an example, in daily life, the mobile phone moment is in the environment there are various communication standards, and mobile phone usually can
There is the situation that can not connect network, such as public data network PDN connection failure.In order to solve that the exception of network can not be connected,
Existing solution is:After long-time cannot connect network, user carries out forcing to restart to recover modulatedemodulate to mobile phone manually
Adjust the configuration parameter of device.But existing scheme can not solve mobile phone and can not connect the exception of network in time, be also consumed by user
The excessive time brings inconvenience to user.
The content of the invention
The embodiment of the present invention provides a kind of processing method, modem and the mobile terminal of network communicating function exception,
Network Abnormal caused by PDN connection failures can be quickly repaired, so as to recover communication function in time, reduces what Network Abnormal recovered
Time.
First aspect of the embodiment of the present invention provides a kind of processing method of network communicating function exception, it may include:
When modem detects public data network PDN connection failure, the modem obtains currently used
The first protocol stack;
The modem judges whether the number of the PDN connection failures in preset time period reaches default time
Number;
When the number of the PDN connection failures in the preset time period reaches the preset times, the modulation
Demodulator closes first protocol stack and second in addition to first protocol stack is selected from multiple protocol stacks of support
Protocol stack;
The modem opens the second protocol stack and carries out network registry using the second protocol stack;
When the second protocol stack network succeeds in registration, the modem records current location.
Second aspect of the embodiment of the present invention provides a kind of modem, it may include:
Acquiring unit, for when detecting public data network PDN connection failure, obtaining the first currently used agreement
Stack;
Whether judging unit, the number for judging the PDN connection failures in preset time period reach preset times;
Selecting unit, for working as time that the judging unit judges the PDN connection failures in the preset time period
When number reaches the preset times, close first protocol stack and selected from multiple protocol stacks of support except the described first association
Discuss the second protocol stack outside stack;
Registering unit, for opening the second protocol stack and carrying out network registry using the second protocol stack;
Recording unit, for when the second protocol stack network succeeds in registration, recording current location.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, the modem provided including second aspect.
In embodiments of the present invention, by when detecting public data network PDN connection failure, obtaining currently used
One protocol stack, and judge whether the number of the PDN connection failures in preset time period reaches preset times, when in preset time period
When the number of interior PDN connection failures reaches preset times, the first protocol stack is closed, and selects to remove from multiple protocol stacks of support
Second protocol stack outside first protocol stack is then turned on second protocol stack and carries out network registry using second protocol stack, most
Afterwards when second protocol stack network succeeds in registration, current location is recorded, so as to fulfill different to the network as caused by PDN connection failures
Normal quick reparation, and then recover communication function in time, it is long to avoid the problem that pressure takes caused by restarting mobile terminal, subtracts
The time that few Network Abnormal recovers.
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 is a kind of flow diagram of the processing method of network communicating function exception provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the processing method of another network communicating function exception provided in an embodiment of the present invention;
Fig. 3 is a kind of structure diagram of modem provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of another modem provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of another modem provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment belongs to the scope of protection of the invention.
Processing method, modem and the mobile terminal of a kind of network communicating function exception provided in an embodiment of the present invention
It can be applied to solve the scene of the Network Abnormal as caused by public data network PDN connection failure, for example, when the modulation /demodulation
When device detects public data network PDN connection failure, the first currently used protocol stack is obtained;Then judge in preset time period
Whether the number of the interior PDN connection failures reaches preset times, when the PDN connection failures in the preset time period
When number reaches the preset times, the modem closes first protocol stack and from multiple protocol stack of support
Select the second protocol stack in addition to first protocol stack;Then the modem is opened the second protocol stack and is made
Network registry is carried out with the second protocol stack;Finally when the second protocol stack network succeeds in registration, the modulation /demodulation
Device records the scene of current location.The embodiment of the present invention is by the way that when detecting the PDN connection failures, closing causes network different
Normal protocol stack opens other protocol stacks and in the success of other protocol stack registered networks, current location is recorded, to ensure to move
Dynamic terminal can normally surf the Internet, communicate, and avoid the problem that time-consuming process caused by restarting mobile terminal, reduce Network Abnormal and recover
Time, so as to save user wait time, promote the experience of user.
It is wearable that mobile terminal in the embodiment of the present invention can include but is not limited to mobile phone, PAD (tablet computer), intelligence
Equipment etc. supports communication standard and the electronic equipment with modem.Mobile terminal in the embodiment of the present invention using mobile phone as
Example.
Below in conjunction with attached drawing 1 and attached drawing 2 to the processing method of network communicating function provided in an embodiment of the present invention exception
It describes in detail.
Fig. 1 is referred to, is shown for a kind of flow of the processing method of network communicating function exception provided in an embodiment of the present invention
It is intended to, the method comprising the steps of S101- steps S105.
S101 when detecting public data network PDN connection failure, obtains the first currently used protocol stack.
Specifically, public data network (Public Data Network, PDN) be it is a kind of by telecom operators set up it is wide
Domain net provides service and the technology of access wide area network, provides quality data transmission service to the user.PDN is by local or length
A kind of packet switch or circuit switched service, the packet-switched services provided that way telecommunication bureau provides are generally included X.25, in frame
After, the multi-megabit data service of switch type or asynchronous transfer mode, circuit switched service includes dial line, exchanges 56 circuits and synthesis
Service digital network.Mobile terminal accesses the PDN by access point name (Access Point Name, APN), different
APN also corresponds to different PDN networks, is defined by operator.APN refers to a kind of network access technique, and being must when passing through surfing Internet with cell phone
The parameter that must be configured, which kind of access way it determines mobile phone by access network.It, can be with for mobile phone user
The external network type of access has very much, such as:Internet, WAP site, conglomerate's internal network, industry internal proprietary
Network.And the scope and the mode of access that different access points can access are different, how network side knows that mobile phone swashs
Which network is accessed so as to distribute the IP of which network segment after living, this will be distinguished by APN, i.e., APN determines use
Which type of network the mobile phone at family accesses by which kind of access way.PDN by modem, by the network control center and
User-network access apparatus interconnection gets up into row data communication, so as to achieve the purpose that online.When mobile phone and the PDN are successfully established company
When connecing, user could normally be surfed the Internet by mobile phone, once failure is established in PDN connections, mobile phone will be unable to normally surf the Internet.
The modem is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to baseband signal,
Handle the signaling of access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc., the modem branch
Hold various protocols stack.It should be noted that the modem is integrated in the mobile terminal.The modem exists
Detect whether the PDN connections are successfully established in operational process in real time, when detecting the PDN connection failures, it is possible to understand that
Be that failure is established in connection between the modem and the PDN at this time.The mobile terminal is by sending PDN connections
New PDN connections are established in request message initiation, and network side establishes new default bearing for new PDN connections.PDN connections is caused to be built
The reason for vertical failure, is including network side refusal PDN connections are established, the PDN connections that the mobile terminal is sent are established request message and surpassed
When or the instruction PDN connections of radio resource control rrc layer establish request and send and fail.Network side refusal PDN connections are established please
The reason for asking includes:Operator's obstruction, APN is unknown, PDN types are unknown, failed authentication, does not allow PDN types IPv4, does not allow
PDN types IPv6, APN is specified not allow multiple PDN or resource-constrained etc..
Protocol stack represents the summation of the corresponding various protocols of some communication standard, such as:Protocol stack include gsm protocol stack,
EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks etc., each communication
Again including multiple sub-protocol stacks below standard protocol stack, details are not described herein again.The modem supports various protocols stack, tool
Body supports that the protocol stack of which type is determined namely the system by the mobile terminal by the communication standard that the mobile terminal is supported
Make manufacturer's decision.When the modem detects the PDN connection failures, the modem obtains currently used
The first protocol stack.
S102, judges whether the number of the PDN connection failures in preset time period reaches preset times.
Specifically, the modem judges whether the number of the PDN connection failures in preset time period reaches
Preset times.Wherein, the preset time period and the preset times are set by the manufacturer of the mobile terminal.It is described
Modem need to confirm that Network Abnormal is as caused by the PDN connection failures, if the institute in the preset time period at this time
The number for stating PDN connection failures reaches the preset times, then can be concluded that Network Abnormal at this time by the PDN connection failures
Cause.
S103 when the number of the PDN connection failures in the preset time period reaches the preset times, is closed
First protocol stack and second protocol stack of the selection in addition to first protocol stack from multiple protocol stacks of support.
Specifically, when the number for judging to draw the PDN connection failures in the preset time period reaches described default
During number, the modem closes first protocol stack, and selection removes described first from multiple protocol stacks of support
Second protocol stack outside protocol stack.First protocol stack is the protocol stack for triggering the PDN connection failures, therefore the tune
Modulator-demodulator need to close first protocol stack, and select other protocol stacks in addition to first protocol stack, i.e., and described the
Two protocol stacks.Wherein, multiple protocol stacks that the modem is supported are there are point of priority height, and herein, one kind is feasible
Embodiment be:Can with the priority level of each protocol stack of the preset modem, such as:It can be in the tune
The priority level of each protocol stack is set when modulator-demodulator dispatches from the factory;Alternatively, institute can be configured in the modem
During stating in mobile terminal and being initialized, network connection when using each protocol stack according to the mobile terminal and
Network signal intensity situation sets priority level;Etc..Another feasible embodiment is:The tune can be adjusted flexibly
The priority level of each protocol stack of modulator-demodulator, such as:It can be used respectively in some band of position according to the mobile terminal
Network connection and network signal intensity situation during a protocol stack set priority level;It alternatively, can be according to the mobile terminal
The order of common network communication standard the priority level of each protocol stack is set;Etc..It should be noted that some protocol stack
Priority level it is higher, illustrate the mobile terminal be based on the protocol stack can obtain better network connection or stronger network
Signal.The highest protocol stack of priority level is commonly known as default protocol stack in the modem, and the modulation /demodulation
Device is generally also the network registry and net for realizing mobile terminal using each protocol stack from high to low order according to priority level
What network used.
Optionally, the modem selects the protocol stack of level-one lower than first protocol stack as the described second association
Discuss stack;Or around measurement the corresponding cell signal of each protocol stack signal strength, using the protocol stack of signal strength maximum as
The second protocol stack;Or the modem selects protocol stack more higher leveled than first protocol stack as described second
Protocol stack;Or determining the second protocol stack using other strategies, the present invention is not restricted.For example, first protocol stack
For TDD-LTE protocol stacks, i.e., move that 4G networks are unavailable, and the modem selects gsm protocol stack as described at this time
Two protocol stacks, i.e. 2G networks.
S104 opens the second protocol stack and carries out network registry using the second protocol stack.
Specifically, the modem is opened the second protocol stack after first protocol stack is closed and is used
The second protocol stack carries out network registry.After the modem closes first protocol stack, the mobile terminal becomes
For non-service state, therefore the modem need to open the second protocol stack of selection, and use the second protocol
Stack carries out network registry, for example, the process registered of LTE network as:The mobile terminal initiates attach request to network side
(attach request), if network side allows the mobile terminal to access, the attachment returned to the mobile terminal responds
(attach accept) when the mobile terminal receives the attachment response, represents network registry success, the movement
Terminal has been converted to service state by non-service state;If network side does not allow the mobile terminal to access, to the movement
Terminal returns to refusal/error message, represents network registry failure.
S105 when the second protocol stack network succeeds in registration, records current location.
Specifically, when the second protocol stack network succeeds in registration, the modem records current location.Position
Represent the logical place of the mobile terminal in the mobile communication network, position can be cell ID or Location Area Code or position
Tracing area etc., the embodiment of the present invention is not restricted.Location Area Code (Location Area Code, LAC) is in mobile communication system
It is the region set for paging in system, covers a piece of geographic area, initial stage generally presses an administrative division (county
Huo Yige areas), it is now very flexible, it is divided by paging amount.It as soon as, must when the paging amount under a LAC reaches an early warning thresholding
It must split.In order to determine the position of mobile station, the area of coverage of each public land mobile network is divided into many position areas,
Location Area Code (LAC) is then used to identify different position areas.The current location is the mobile terminal in mobile radio communication
Current logical location in network can include present position-region code, current cell identification etc. residing for the mobile terminal.
In embodiments of the present invention, by when detecting public data network PDN connection failure, obtaining currently used
One protocol stack, and judge whether the number of the PDN connection failures in preset time period reaches preset times, when in preset time period
When the number of interior PDN connection failures reaches preset times, the first protocol stack is closed, and selects to remove from multiple protocol stacks of support
Second protocol stack outside first protocol stack is then turned on second protocol stack and carries out network registry using second protocol stack, most
Afterwards when second protocol stack network succeeds in registration, current location is recorded, so as to fulfill different to the network as caused by PDN connection failures
Normal quick reparation, and then recover communication function in time, it is long to avoid the problem that pressure takes caused by restarting mobile terminal, subtracts
The time that few Network Abnormal recovers.
Fig. 2 is referred to, for the flow of the processing method of another network communicating function exception provided in an embodiment of the present invention
Schematic diagram, the method comprising the steps of S201- steps S213.
S201 detects public data network PDN connection failure.
Specifically, public data network is a kind of wide area network set up by telecom operators, the service of access wide area network is provided
With technology, quality data transmission service is provided to the user.PDN is a kind of packet switch by local or long-distance telecommunications bureau's offer
Or circuit switched service, the packet-switched services provided generally include X.25, frame relay, switch type multi-megabit data service or different
Transfer mode is walked, circuit switched service includes dial line, exchanges 56 circuits and integrated services digital network.Mobile terminal passes through
APN accesses the PDN, and different APN also corresponds to different PDN networks, defined by operator.APN refers to a kind of network insertion skill
Art is the parameter that must be configured when passing through surfing Internet with cell phone, which kind of access way it determines mobile phone by access network.
For mobile phone user, the external network type that can be accessed has very much, such as:Internet, WAP site, conglomerate
Internal network, industry internal private network.And the scope and the mode of access that different access points can access be it is different,
Which network network side will access so as to distribute the IP of which network segment after how knowing mobile phone activation, this will lean on APN to come
It distinguishes, i.e. APN determines which type of network the mobile phone of user accesses by which kind of access way.PDN passes through modulatedemodulate
Device is adjusted, the network control center and user-network access apparatus interconnection are got up into row data communication, so as to achieve the purpose that online.Work as hand
Machine is successfully established with the PDN when being connected, and user could normally be surfed the Internet by mobile phone, once failure, hand are established in PDN connections
Machine will be unable to normally surf the Internet.
The modem is used to baseband signal being converted to radiofrequency signal, processing access layer (AS) and Non-Access Stratum
(NAS) signaling and with AP processors into line interface etc., the modem supports various protocols stack.Need what is illustrated
It is that the modem is integrated in the mobile terminal.The modem is in the process of running described in detection in real time
Whether PDN connections are successfully established, when detecting the PDN connection failures, it is to be appreciated that the modem at this time
Failure is established in connection between the PDN.The mobile terminal initiates to establish newly by sending PDN connection request messages
PDN connections, network side establish new default bearing for new PDN connections.The reason for PDN connections is caused to establish failure includes network
Side refusal PDN connections are established, request message time-out or radio resource control are established in the PDN connections that the mobile terminal is sent
Rrc layer instruction PDN connections establish request and send failure.The reason for request is established in network side refusal PDN connections includes:Operator hinders
Plug, APN is unknown, PDN types are unknown, failed authentication, do not allow PDN types IPv4, do not allow PDN types IPv6, specify APN not
Allow multiple PDN or resource-constrained etc..
The modem obtains the multiple of support during whether being successfully established of the PDN connections is detected
The corresponding on off state of each protocol stack in protocol stack.Protocol stack represents the summation of the corresponding various protocols of some communication standard,
Such as:Protocol stack include gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks,
FDD-LTE protocol stacks etc., again including multiple sub-protocol stacks below each communication standard protocol stack, details are not described herein again.The tune
Modulator-demodulator supports various protocols stack, and the protocol stack of which type is specifically supported to be determined by the communication standard that the mobile terminal is supported
Determine namely determined by the manufacturer of the mobile terminal.Although the modem supports multiple protocol stacks, described
Modem only there are one protocol stack is opening during operation, remaining protocol stack is in off state.
S202 obtains the first currently used protocol stack.
Specifically, the modem when detecting the PDN connection failures, obtains the first currently used agreement
Stack.One kind in multiple protocol stacks that first protocol stack is supported for the modem.
S203, judges whether the number of the PDN connection failures in preset time period reaches preset times.
Specifically, the modem judges whether the number of the PDN connection failures in preset time period reaches
Preset times.Wherein, the preset time period and the preset times are set by the manufacturer of the mobile terminal.It is described
Modem need to confirm that Network Abnormal is as caused by the PDN connection failures, if the institute in the preset time period at this time
The number for stating PDN connection failures reaches the preset times, then can be concluded that Network Abnormal at this time by the PDN connection failures
Cause.
S204 when the number of the PDN connection failures in the preset time period reaches the preset times, is closed
First protocol stack and second protocol stack of the selection in addition to first protocol stack from multiple protocol stacks of support.
Specifically, when the number for judging to draw the PDN connection failures in the preset time period reaches described default
During number, the modem closes first protocol stack, and selection removes described first from multiple protocol stacks of support
Second protocol stack outside protocol stack.Trigger the protocol stack of the PDN connection failures, therefore the tune during first protocol stack
Modulator-demodulator need to close first protocol stack, and select other protocol stacks in addition to first protocol stack, i.e., and described the
Two protocol stacks.Wherein, multiple protocol stacks that the modem is supported are there are point of priority height, and herein, one kind is feasible
Embodiment be:Can with the priority level of each protocol stack of the preset modem, such as:It can be in the tune
The priority level of each protocol stack is set when modulator-demodulator dispatches from the factory;Alternatively, institute can be configured in the modem
During stating in mobile terminal and being initialized, network connection when using each protocol stack according to the mobile terminal and
Network signal intensity situation sets priority level;Etc..Another feasible embodiment is:The tune can be adjusted flexibly
The priority level of each protocol stack of modulator-demodulator, such as:It can be used respectively in some band of position according to the mobile terminal
Network connection and network signal intensity situation during a protocol stack set priority level;It alternatively, can be according to the mobile terminal
The order of common network communication standard the priority level of each protocol stack is set;Etc..It should be noted that some protocol stack
Priority level it is higher, illustrate the mobile terminal be based on the protocol stack can obtain better network connection or stronger network
Signal.The highest protocol stack of priority level is commonly known as default protocol stack in the modem, and the modulation /demodulation
Device is generally also the network registry and net for realizing mobile terminal using each protocol stack from high to low order according to priority level
What network used.
Optionally, the modem selects the protocol stack of level-one lower than first protocol stack as the described second association
Discuss stack;Or around measurement the corresponding cell signal of each protocol stack signal strength, using the protocol stack of signal strength maximum as
The second protocol stack;Or the modem selects protocol stack more higher leveled than first protocol stack as described second
Protocol stack;Or determining the second protocol stack using other strategies, the present invention is not restricted.For example, first protocol stack
For TDD-LTE protocol stacks, i.e., move that 4G networks are unavailable, and the modem selects gsm protocol stack as described at this time
Two protocol stacks, i.e. 2G networks.
S205 is multiple when the number of the PDN connection failures in the preset time period is not up to the preset times
The position modem.
Specifically, when judge draw the PDN connection failures in the preset time period number be not up to it is described pre-
If during number, the modem, which performs, resets operation, i.e., described modem is restarted automatically, to recover the modulatedemodulate
The normal work of device is adjusted, is manually operated without user, improves the automatic processing capabilities of the mobile terminal.
S206 opens the second protocol stack and carries out network registry using the second protocol stack.
Specifically, the modem is opened the second protocol stack after first protocol stack is closed and is used
The second protocol stack carries out network registry.After the modem closes first protocol stack, the mobile terminal becomes
For non-service state, therefore the modem need to open the second protocol stack of selection, and use the second protocol
Stack carries out network registry, for example, the process registered of LTE network as:The mobile terminal initiates attach request to network side
(attach request), if network side allows the mobile terminal to access, the attachment returned to the mobile terminal responds
(attach accept) when the mobile terminal receives the attachment response, represents network registry success, the movement
Terminal has been converted to service state by non-service state;If network side does not allow the mobile terminal to access, to the movement
Terminal returns to refusal/error message, represents network registry failure.
S207 judges that the second protocol stack network registers whether success.
Specifically, since the second protocol stack is during network registry is carried out, may network on successful registration,
It may not also can register network.When network registry is unsuccessful, it is to be appreciated that the second protocol stack is unavailable at this time,
It still can not normally be surfed the Internet using mobile terminal described in the second protocol stack, perform step S209 at this time.When the described second association
When view stack network succeeds in registration, step S208 is performed.
S208 records current location.
Specifically, when the second protocol stack network succeeds in registration, the modem records current location.Position
Represent the logical place of the mobile terminal in the mobile communication network, position can be cell ID or Location Area Code or position
Tracing area etc., the embodiment of the present invention is not restricted.Location Area Code is one set for paging in mobile communication system
Region covers a piece of geographic area, and initial stage is now very flexible generally by administrative division (Huo Yige areas of a county), presses
Paging amount divides.As soon as when the paging amount under a LAC reaches an early warning thresholding, must split.In order to determine the position of mobile station
It puts, the area of coverage of each public land mobile network is divided into many position areas, and Location Area Code (LAC) is then used to identify not
Same position area.The current location is the current logical location of the mobile terminal in the mobile communication network, can be wrapped
Include present position-region code residing for the mobile terminal, current cell identification etc..Step S211 is performed after step S208 is performed,
And the concurrent process of starting step S210.
S209 recovers the default protocol stack switch state in multiple protocol stacks of the support or recovers the support
Default protocol stack switch state in multiple protocol stacks simultaneously resets the modem simultaneously.
Specifically, when the second protocol stack network registration failure, the modem obtains the more of the support
The default protocol stack in multiple protocol stacks of the support is recovered or recovered to default protocol stack switch state in a protocol stack simultaneously
On off state simultaneously resets the modem simultaneously, i.e. the default protocol stack in the multiple protocol stacks for recovering the support
The modem is performed simultaneously and resets operation.Wherein, the default protocol stack may be first protocol stack, also may be used
Can be other protocol stacks beyond first protocol stack.It should be noted that if the default protocol stack is the described first association
Discuss stack (protocol stack that is i.e. pent, causing PDN connection failures), then, this step, which is equivalent to, reopens described first
Protocol stack.It is that the modem is restarted automatically that the modem, which performs reset operation, to recover the modulation /demodulation
The normal work of device is manually operated without user, improves the automatic processing capabilities of the mobile terminal.
S210, judges whether the current location changes.
Specifically, the modem periodically obtains position and judges whether the current location changes,
It is compared in the position currently obtained with the upper position once obtained when changing, performs step S209;In the position currently obtained
When putting identical with the position that the last time obtains, then step S210 is continued to execute.For example, when position is cell ID, it is mobile whole
End is moved to another cell by a cell, represents that position is changed;When position is Location Area Code, mobile terminal is by one
The band of position is moved to another band of position, shows that position is changed.The modem obtains the cycle of position
It is not restricted, can be configured according to actual demand in embodiments of the present invention.
Since the current location is changed, it is to be appreciated that the modem at the position after variation
The PDN can be successfully connected, the mobile terminal can normally surf the Internet, therefore the modem obtains the support
Acquiescence association in multiple protocol stacks of the on off state of default protocol stack in multiple protocol stacks and recovery or the recovery support
View stack switch state simultaneously resets the modem simultaneously.
S211, judges whether abnormal network cause reported, and the abnormal network cause is the PDN connection failures.
Specifically, the modem judges whether abnormal network cause reported, the abnormal network cause is institute
State PDN connection failures.There are many due to cause Network Abnormal, for example, internal storage access mistake, location updating are unsuccessfully etc. different
Normal reason, and different abnormal causes may correspond to different codes, therefore the modem need to judge the PDN
Whether the abnormal network cause of connection failure reports.When judging that show that the abnormal network cause does not report out-of-date, step is performed
S212 and/or step S213.It should be noted that after step S208, S209, executable step S211.
S212, obtain the daily record of the PDN connection failures, and by the abnormal network cause, the PDN connection failures
Daily record and the current location report to network side.
Specifically, when step S211 judgements, to show that the abnormal network cause does not report out-of-date, and the modem obtains
Take the daily record of the PDN connection failures, and by the abnormal network cause, the PDN connection failures daily record and described work as
Front position reports to network side, abnormal conditions is understood so as to the research staff of the mobile terminal, so as to targetedly to described
Mobile terminal is improved.Wherein, the daily record of the PDN connection failures represents that the modem loses in the PDN connections
Operation information during losing, the operation information include:It operational order, operating time and returns the result.The modulation /demodulation
Device in wifi hotspot around mobile scanning terminal and can be connected in the case of wifi hotspot, by wifi hotspot by above-mentioned letter
Breath is reported to network side, to save flow.
The abnormal network cause when judging that it is out-of-date that the abnormal network cause reports, is sent to display device by S213
It is shown.
Specifically, when step S211 judgements, to show that the abnormal network cause does not report out-of-date, and the modem will
The display terminal that the abnormal network cause is sent to the mobile terminal shown, nothing before being apparent from so as to user
The reason for method is surfed the Internet.
It should be noted that step S212 and step S213 may be performed simultaneously, it can also be after execution of step S212
Step S213 is performed, step S212 or step S213 can also be only carried out.
In embodiments of the present invention, by when detecting public data network PDN connection failure, obtaining currently used
One protocol stack, and judge whether the number of the PDN connection failures in preset time period reaches preset times, when in preset time period
When the number of interior PDN connection failures reaches preset times, the first protocol stack is closed, selection is except the from multiple protocol stacks of support
Second protocol stack outside one protocol stack is then turned on second protocol stack and carries out network registry using second protocol stack, finally
When second protocol stack network succeeds in registration, current location is recorded, so as to make modem extensive by way of network registry
It is multiple normal, realize the quick reparation to the Network Abnormal as caused by PDN connection failures, and then recover communication function in time, it avoids
Pressure takes the problem of long caused by restarting mobile terminal, reduces the time that Network Abnormal recovers.
It describes in detail below in conjunction with attached drawing 3 and attached drawing 4 to modem provided in an embodiment of the present invention.It needs
Illustrate, attached drawing 3 and attached modem shown in Fig. 4, for performing the method for Fig. 1 of the present invention and embodiment illustrated in fig. 2,
For convenience of description, illustrate only and do not disclosed with the relevant part of the embodiment of the present invention, particular technique details, refer to this hair
Bright Fig. 1 and embodiment shown in Fig. 2.
Fig. 3 is referred to, for a kind of structure diagram of modem provided in an embodiment of the present invention, the modem
10 include acquiring unit 101, judging unit 102, selecting unit 103, registering unit 104 and recording unit 105.
Acquiring unit 101, for when detecting public data network PDN connection failure, obtaining the first currently used association
Discuss stack.
In the specific implementation, public data network is a kind of wide area network set up by telecom operators, access wide area network is provided
Service and technology provide quality data transmission service to the user.PDN is a kind of grouping by local or long-distance telecommunications bureau's offer
Exchange or circuit switched service, the packet-switched services provided generally include X.25, frame relay, the multi-megabit data service of switch type
Or asynchronous transfer mode, circuit switched service include dial line, exchange 56 circuits and integrated services digital network.Mobile terminal leads to
It crosses APN and accesses the PDN, different APN also corresponds to different PDN networks, defined by operator.APN refers to a kind of network insertion
Technology is the parameter that must be configured when passing through surfing Internet with cell phone, which kind of access way it determines mobile phone by access net
Network.For mobile phone user, the external network type that can be accessed has very much, such as:Internet, WAP site, enterprise of group
Industry internal network, industry internal private network.And the scope and the mode of access that different access points can access are different
, which network network side will access so as to distribute the IP of which network segment after how knowing mobile phone activation, this will depend on APN
It distinguishes, i.e. APN determines which type of network the mobile phone of user accesses by which kind of access way.PDN passes through modulation
Demodulator gets up the network control center and user-network access apparatus interconnection into row data communication, so as to achieve the purpose that online.When
Mobile phone is successfully established with the PDN when being connected, and user could normally be surfed the Internet by mobile phone, once failure is established in PDN connections,
Mobile phone will be unable to normally surf the Internet.
The modem 10 is used to baseband signal being converted to radiofrequency signal, and radiofrequency signal is converted to base band letter
Number, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc., the modulation /demodulation
Device 10 supports various protocols stack.It should be noted that the modem 10 is integrated in the mobile terminal.The modulation
Demodulator 10 detects whether the PDN connections are successfully established in real time in the process of running, when detecting the PDN connection failures
When, it is to be appreciated that failure is established in the connection between the modem 10 and the PDN at this time.The mobile terminal leads to
It crosses transmission PDN connection request message initiations and establishes new PDN connections, network side establishes new default bearing for new PDN connections.
The PDN connections that the reason for PDN connections is caused to establish failure sends including network side refusal PDN connections foundation, the mobile terminal
It establishes request message time-out or the instruction PDN connections of radio resource control rrc layer establishes request and send failure.Network side is refused
The reason for asking is established in PDN connections to be included:Operator's obstruction, APN is unknown, PDN types are unknown, failed authentication, does not allow PDN classes
Type IPv4, do not allow PDN types IPv6, APN is specified not allow multiple PDN or resource-constrained etc..
Protocol stack represents the summation of the corresponding various protocols of some communication standard, such as:Protocol stack include gsm protocol stack,
EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks etc., each communication
Again including multiple sub-protocol stacks below standard protocol stack, details are not described herein again.The modem supports various protocols stack, tool
Body supports that the protocol stack of which type is determined namely the system by the mobile terminal by the communication standard that the mobile terminal is supported
Make manufacturer's decision.When the modem 10 detects the PDN connection failures, the acquiring unit 101 obtains currently
The first protocol stack used.Wherein, one in the various protocols stack that first protocol stack is supported for the modem 10
Kind.
Whether judging unit 102, the number for judging the PDN connection failures in preset time period reach default time
Number.
In the specific implementation, the judging unit 102 judge the PDN connection failures in preset time period number whether
Reach preset times.Wherein, the preset time period and the preset times are set by the manufacturer of the mobile terminal.
The modem 10 need to confirm that Network Abnormal is as caused by the PDN connection failures, if in the preset time at this time
The number of the PDN connection failures reaches the preset times in section, then can be concluded that Network Abnormal at this time is connected by the PDN
Failure is connect to cause.
Selecting unit 103, for close first protocol stack and from multiple protocol stacks of support selection except described the
Second protocol stack outside one protocol stack.
In the specific implementation, when the judging unit 102 judgement draws the PDN connection failures in the preset time period
Number when reaching the preset times, the selecting unit 103 closes first protocol stack, and from multiple agreements of support
Second protocol stack of the selection in addition to first protocol stack in stack.First protocol stack is to trigger the PDN connection failures
Protocol stack, therefore the selecting unit 103 need to close first protocol stack, and select in addition to first protocol stack
Other protocol stacks, i.e., described second protocol stack.Wherein, there are priority height for multiple protocol stacks that the modem 10 is supported
Low point, herein, a kind of feasible embodiment is:It can be with the preferential of each protocol stack of the preset modem 10
Rank, such as:The priority level of each protocol stack can be set when the modem 10 dispatches from the factory;Alternatively, can be
During the modem 10 is configured in the mobile terminal and is initialized, make according to the mobile terminal
Network connection and network signal intensity situation during with each protocol stack set priority level;Etc..Another feasible implementation
Mode is:The priority level of each protocol stack of the modem 10 can be adjusted flexibly, such as:It can be according to described
Network connection and network signal intensity situation of the mobile terminal when some band of position uses each protocol stack set priority
Not;Alternatively, the priority level of each protocol stack can be set according to the order of the common network communication standard of the mobile terminal;
Etc..It should be noted that the priority level of some protocol stack is higher, illustrate that the mobile terminal is based on the protocol stack and can obtain
Obtain better network connection or stronger network signal.The highest protocol stack of priority level usually quilt in the modem 10
Referred to as default protocol stack, and the modem 10 is generally also to use each association from high to low order according to priority level
Discuss network registry and Web vector graphic that stack realizes mobile terminal.
Optionally, the selecting unit 103 selects the protocol stack of level-one lower than first protocol stack as described second
Protocol stack;Or the signal strength of the corresponding cell signal of each protocol stack of measurement surrounding, the protocol stack of signal strength maximum is made
For the second protocol stack;Or the selecting unit 103 selects protocol stack more higher leveled than first protocol stack as described in
Second protocol stack;Or determining the second protocol stack using other strategies, the present invention is not restricted.For example, first association
View stack is TDD-LTE protocol stacks, i.e., moves that 4G networks are unavailable, and the modem selects gsm protocol stack as institute at this time
State second protocol stack, i.e. 2G networks.
Registering unit 104, for opening the second protocol stack and carrying out network registry using the second protocol stack.
In the specific implementation, the registering unit 104 is opened after the selecting unit 103 closes first protocol stack
It opens the second protocol stack and carries out network registry using the second protocol stack.The selecting unit 103 closes described first
After protocol stack, the mobile terminal becomes non-service state, therefore the registering unit 104 need to open second association of selection
Discuss stack, and network registry carried out using the second protocol stack, for example, the process registered of LTE network as:The mobile terminal to
Network side initiates attach request (attach request), if network side allows the mobile terminal to access, to the movement
The attachment response (attach accept) that terminal returns when the mobile terminal receives the attachment response, represents network
It succeeds in registration, the mobile terminal has been converted to service state by non-service state;If network side does not allow the mobile terminal
Access then returns to refusal/error message to the mobile terminal, represents network registry failure.
Recording unit 105, for when the second protocol stack network succeeds in registration, recording current location.
In the specific implementation, when the second protocol stack network succeeds in registration, the recording unit 105 records present bit
It puts.Position represents the logical place of the mobile terminal in the mobile communication network, and position can be cell ID or position area
Code or position tracking region etc., the embodiment of the present invention is not restricted.Location Area Code (LAC) is to seek in mobile communication system
The region exhaled and set covers a piece of geographic area, and initial stage is existing generally by administrative division (Huo Yige areas of a county)
Very flexible, divided by paging amount.As soon as when the paging amount under a LAC reaches an early warning thresholding, must split.In order to true
Determine the position of mobile station, the area of coverage of each public land mobile network is divided into many position areas, Location Area Code (LAC)
It is then used to identify different position areas.The current location is the current logic of the mobile terminal in the mobile communication network
Position can include present position-region code, current cell identification etc. residing for the mobile terminal.
In embodiments of the present invention, by when detecting public data network PDN connection failure, obtaining currently used
One protocol stack, and judge whether the number of the PDN connection failures in preset time period reaches preset times, when in preset time period
When the number of interior PDN connection failures reaches preset times, the first protocol stack is closed, and selects to remove from multiple protocol stacks of support
Second protocol stack outside first protocol stack is then turned on second protocol stack and carries out network registry using second protocol stack, most
Afterwards when second protocol stack network succeeds in registration, current location is recorded, so as to fulfill different to the network as caused by PDN connection failures
Normal quick reparation, and then recover communication function in time, it is long to avoid the problem that pressure takes caused by restarting mobile terminal, subtracts
The time that few Network Abnormal recovers.
Fig. 4 is referred to, for the structure diagram of another modem provided in an embodiment of the present invention, the modulation /demodulation
Device 20 includes acquiring unit 201, judging unit 202, selecting unit 203, registering unit 204, recording unit 205, recovery unit
206 and reporting unit 207.Wherein, the specific reality of acquiring unit 201, selecting unit 203, registering unit 204, recording unit 205
Existing process can be found in embodiment illustrated in fig. 3 to acquiring unit 101, selecting unit 103, registering unit 104 and recording unit 105
Specific descriptions, details are not described herein.
Acquiring unit 201, for when detecting public data network PDN connection failure, obtaining the first currently used association
Discuss stack.
Whether judging unit 202, the number for judging the PDN connection failures in preset time period reach default time
Number.
In the specific implementation, the judging unit 202 judge the PDN connection failures in preset time period number whether
Reach the specific implementation of preset times in the process reference can be made to the specific descriptions of the judging unit 102 in shown in Fig. 3, no longer superfluous herein
It states.
Selecting unit 203, for working as the number that judging unit judges the PDN connection failures in the preset time period
When reaching the preset times, close first protocol stack and selected from multiple protocol stacks of support except first agreement
Second protocol stack outside stack.
Registering unit 204, for opening the second protocol stack and carrying out network registry using the second protocol stack.
Recording unit 205, for when the second protocol stack network succeeds in registration, recording current location.
Recovery unit 206, for when the second protocol stack network registration failure;Or when the current location becomes
During change;Recover the default protocol stack switch state in multiple protocol stacks of the support or recover multiple agreements of the support
Default protocol stack switch state in stack simultaneously resets the modem simultaneously.
In the specific implementation, when the second protocol stack network registration failure, the recovery unit 206 obtains the support
Multiple protocol stacks in default protocol stack on off state and recovery or recover acquiescence in multiple protocol stacks of the support
Protocol stack on off state simultaneously resets the modem simultaneously, i.e., the acquiescence association in the multiple protocol stacks for recovering the support
The modem is performed while discussing stack and resets operation.Wherein, it may be possible to first protocol stack, it is also possible to described
Other protocol stacks beyond first protocol stack.It should be noted that if the default protocol stack for first protocol stack (i.e.
Protocol stack that is pent, causing PDN connection failures), then, this step, which is equivalent to, reopens first protocol stack.
Since the current location is changed, it is to be appreciated that the modem at the position after variation
20 can be successfully connected the PDN, and the mobile terminal can normally surf the Internet, therefore the recovery unit 206 obtains the branch
It is silent in multiple protocol stacks of the on off state of default protocol stack in the multiple protocol stacks held and recovery or the recovery support
Recognize the on off state of protocol stack and reset the modem simultaneously, i.e., the modem is performed and reset operation.
The judging unit 202 is additionally operable to judge whether abnormal network cause reported, and the abnormal network cause is institute
State PDN connection failures.
In the specific implementation, the judging unit 202 judges whether abnormal network cause reported, the abnormal network cause
For the PDN connection failures.There are many due to cause Network Abnormal, for example, internal storage access mistake, location updating fail
Abnormal causes are waited, and different abnormal causes may correspond to different codes, therefore the judging unit 202 need to judge institute
Whether the abnormal network cause for stating PDN connection failures reports.When the judging unit 202 judgement draws the abnormal network cause
It is out-of-date not report, calls the reporting unit 207.
Reporting unit 207, for working as the judging unit, to judge that the abnormal network cause does not report out-of-date, described in acquisition
The daily record of PDN connection failures, and by the abnormal network cause, the daily record of the PDN connection failures and the current location
Report to network side;And/or the reporting unit shows for the abnormal network cause to be sent to display device.
In the specific implementation, judge that 202 judge out-of-date, the upper declaration form that show that the abnormal network cause does not report when described
Member 207 obtains the daily record of the PDN connection failures, and by the abnormal network cause, the PDN connection failures daily record and
The current location reports to network side, abnormal conditions is understood so as to the research staff of the mobile terminal, so as to targetedly
The mobile terminal is improved.Wherein, the daily record of the PDN connection failures represents the modem 20 described
Operation information during PDN connection failures, the operation information include:It operational order, operating time and returns the result.It is described
In the case that reporting unit 207 is specifically used for the wifi hotspot around mobile scanning terminal and connects wifi hotspot, pass through
Above- mentioned information is reported to network side by wifi hotspot, to save flow.And/or described in being drawn when the judging unit 202 judgement
It is out-of-date that abnormal network cause does not report, and the abnormal network cause is sent to the mobile terminal by the reporting unit 207
The reason for display terminal is shown, can not be surfed the Internet before being apparent from so as to user.
In embodiments of the present invention, by when detecting public data network PDN connection failure, obtaining currently used
One protocol stack simultaneously closes the first protocol stack, second protocol of the selection in addition to the first protocol stack from multiple protocol stacks of support
Stack is then turned on second protocol stack and carries out network registry using second protocol stack, finally when second protocol stack network is registered
During work(, current location is recorded, so as to make modem recovery normal by way of network registry, is realized to being connected by PDN
The quick reparation of Network Abnormal caused by failure, and then recover communication function in time, it avoids caused by forcing to restart mobile terminal
The problem of long is taken, reduces the time that Network Abnormal recovers.
Fig. 5 is referred to, is the structure diagram of another modem provided in an embodiment of the present invention, in this implementation
In, modem is used to implement the processing method of the network communicating function exception described in Fig. 1, and modem 5 includes 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;One is integrated in for modem and ap
The situation of chip, this is CPU_ap504, i.e., without communication interface) and baseband radio interface 505, the CPU_ in modem
The quantity of modem501 can be one or more, Fig. 5 (remarks by taking a CPU as an example:CPU described herein can also be replaced with
DSP digital signal processor).It is CPU_modem501, memory 502, Base-Band Processing 503, logical in some embodiments of the present invention
Letter interface/CPU_ap504 can be connected with baseband radio interface 505 by bus or other modes, is connected as in Fig. 5 with bus
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:
When detecting public data network PDN connection failure, the first currently used protocol stack is obtained;
Judge whether the number of the PDN connection failures in preset time period reaches preset times;
When the number of the PDN connection failures in the preset time period reaches the preset times, described in closing
First protocol stack and second protocol stack of the selection in addition to first protocol stack from multiple protocol stacks of support;
It opens the second protocol stack and carries out network registry using the second protocol stack;
When the second protocol stack network succeeds in registration, current location is recorded.
In an alternate embodiment of the invention, CPU_modem501 performs the unlatching second protocol stack and uses the second protocol
After stack carries out network registry, following steps are also performed:
When the second protocol stack network registration failure, recover the default protocol stack in multiple protocol stacks of the support
Default protocol stack switch state on off state or multiple protocol stacks of the recovery support simultaneously resets the modulatedemodulate simultaneously
Adjust device.
In an alternate embodiment of the invention, CPU_modem501 is performed when the second protocol stack network succeeds in registration, record
After current location, following steps are also performed:
When the current location changes, recover the default protocol stack switch shape in multiple protocol stacks of the support
Default protocol stack switch state in state or multiple protocol stacks of the recovery support simultaneously resets the modem simultaneously.
When the current location changes, recover the default protocol stack switch shape in multiple protocol stacks of the support
State 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 an alternate embodiment of the invention, CPU_modem501 also performs following steps:
Judge whether abnormal network cause reported, the abnormal network cause is the PDN connection failures;
When the abnormal network cause does not report out-of-date, the daily record of the PDN connection failures is obtained, and the network is different
Normal reason, the daily record of the PDN connection failures and the current location report to network side;
And/or the abnormal network cause is sent to display device and is shown.
In an alternate embodiment of the invention, CPU_modem501 is performed the abnormal network cause, the PDN connection failures
Daily record and the current location report to network side, specifically perform following steps:
It scans the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, passes through the wifi for establishing communication connection
The abnormal network cause, the daily record of the PDN connection failures and the current location are reported to network side by hot spot.
The embodiment of the present invention additionally provides a kind of mobile terminal for including above-mentioned modem, and mobile terminal is included but not
It is limited to carry iOS, Android, Microsoft or the mobile terminal of other operating systems, such as mobile phone.Can also be
Other mobile terminals, the laptop computer or flat such as with touch sensitive surface (for example, touch-screen display and/or Trackpad)
Plate computer or desktop computer.
In the following discussion, a kind of mobile terminal including display and touch sensitive surface is described.It should be appreciated, however, that
Mobile terminal can include other one or more physical user-interface devices, such as physical keyboard, mouse and/or operation lever.
Mobile terminal usually supports a variety of application programs, it is such as following in one or more:Picture application program is presented
Application program, word-processing application, webpage create application program, disk editor application program, spreadsheet applications, trip
Play application program, telephony application, videoconference application, email application, instant message application program, forging
Application program, photograph management application program, digital camera applications program, digital video camcorder application program, network are supported in refining
Viewer applications, digital music player application, and/or video frequency player application program.
At least one shared physical user-interface device can be used in the various application programs that can be performed on mobile terminals,
Such as touch sensitive surface.The corresponding information of the one or more functions and display of touch sensitive surface on mobile terminals can be answered from one kind
It is adjusted with program and/or is changed to a kind of lower application program and/or is adjusted and/or changes in corresponding application programs.In this way,
The shared physical structure (such as touch sensitive surface) of mobile terminal can be propped up using clearly user interface directly perceived for a user
Hold various application programs.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is 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 disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent variations made according to the claims of the present invention, it is still within the scope of the present invention.
Claims (8)
1. a kind of processing method of network communicating function exception, which is characterized in that including:
When modem detects public data network PDN connection failure, the modem obtains currently used the
One protocol stack, the modem are integrated in mobile terminal;
The modem judges that the number of the PDN connection failures in preset time period reaches preset times, it is determined that
Abnormal network cause is caused by the PDN connection failures;
When the number of the PDN connection failures in the preset time period reaches the preset times, the modulation /demodulation
Device closes first protocol stack, and the priority of multiple protocol stacks according to support or signal strength are from the multiple protocol stack
Second protocol stack of the middle selection in addition to first protocol stack;
The modem opens the second protocol stack and carries out network registry using the second protocol stack;
When the second protocol stack network succeeds in registration, current location is recorded;
The modem judges whether abnormal network cause reported, and the abnormal network cause loses for the PDN connections
It loses;
When the abnormal network cause does not report out-of-date, the daily record of the modem acquisition PDN connection failures, and general
The abnormal network cause, the daily record of the PDN connection failures and the current location report to network side;
And/or the abnormal network cause is sent to display device and is shown.
2. according to the method described in claim 1, it is characterized in that, described open the second protocol stack and use described second
After protocol stack carries out network registry, further include:
When the second protocol stack network registration failure, in the multiple protocol stacks supported described in the modem recovery
Default protocol stack switch in the multiple protocol stacks supported described in default protocol stack switch state or the modem recovery
State simultaneously resets the modem simultaneously.
3. method according to claim 1 or 2, which is characterized in that described when the second protocol stack network succeeds in registration
When, after recording current location, further include:
When the current location changes, the acquiescence association in the multiple protocol stacks supported described in the modem recovery
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. the method as described in claim 1, which is characterized in that described by the abnormal network cause, the PDN connection failures
Daily record and the current location report to network side, including:
Scan the wifi hotspot of surrounding and after communication connection is established with wifi hotspot, the modem communicates by establishing
The wifi hotspot of connection reports to the abnormal network cause, the daily record of the PDN connection failures and the current location
Network side.
5. a kind of modem, which is characterized in that including:
Acquiring unit, for when detecting public data network PDN connection failure, obtaining the first currently used protocol stack, institute
Modem is stated to be integrated in mobile terminal;
Judging unit, the number for judging the PDN connection failures in preset time period reach preset times, it is determined that net
Network abnormal cause is caused by the PDN connection failures and is additionally operable to judge whether abnormal network cause reported, the network
Abnormal cause is the PDN connection failures;
Selecting unit judges that the number of the PDN connection failures in the preset time period reaches for working as the judging unit
During to the preset times, close first protocol stack and multiple protocol stacks according to support priority or signal strength from
Second protocol stack of the selection in addition to first protocol stack in the multiple protocol stack;
Registering unit, for opening the second protocol stack and carrying out network registry using the second protocol stack;
Recording unit, for when the second protocol stack network succeeds in registration, recording current location;
Reporting unit, for working as the judging unit, to judge that the abnormal network cause does not report out-of-date, obtains the PDN connections
The daily record of failure, and the abnormal network cause, the daily record of the PDN connection failures and the current location are reported into net
Network side;
And/or the reporting unit shows for the abnormal network cause to be sent to display device.
6. modem according to claim 5, which is characterized in that further include:
Recovery unit, for when the second protocol stack network registration failure;Or when the current location changes;It is extensive
Default protocol stack switch state or silent in multiple protocol stacks of the recovery support in multiple protocol stacks of the multiple support
Recognize protocol stack on off state and reset the modem simultaneously.
7. modem according to claim 5, which is characterized in that the reporting unit is specifically used for around scanning
Wifi hotspot and after communication connection is established with wifi hotspot, by establishing the wifi hotspot of communication connection by the Network Abnormal
Reason, the daily record of the PDN connection failures and the current location report to network side.
8. a kind of mobile terminal, which is characterized in that including the modem as described in claim 5-7 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510824789.7A CN105376772B (en) | 2015-11-24 | 2015-11-24 | Processing method, modem and the mobile terminal of network communicating function exception |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510824789.7A CN105376772B (en) | 2015-11-24 | 2015-11-24 | Processing method, modem and the mobile terminal of network communicating function exception |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105376772A CN105376772A (en) | 2016-03-02 |
CN105376772B true CN105376772B (en) | 2018-05-29 |
Family
ID=55378481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510824789.7A Active CN105376772B (en) | 2015-11-24 | 2015-11-24 | Processing method, modem and the mobile terminal of network communicating function exception |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105376772B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106454799B (en) * | 2016-10-28 | 2020-01-21 | Oppo广东移动通信有限公司 | Information processing method and device |
CN107018182B (en) * | 2017-03-23 | 2020-06-19 | 深圳市创梦天地科技有限公司 | Fault-tolerant processing method and device for load balancing |
CN106982450B (en) * | 2017-05-27 | 2020-10-30 | 奇酷互联网络科技(深圳)有限公司 | Communication exception handling method and device and mobile terminal |
CN106993305B (en) * | 2017-05-27 | 2020-06-26 | 奇酷互联网络科技(深圳)有限公司 | Communication exception handling method and device and mobile terminal |
US10944719B2 (en) | 2018-09-17 | 2021-03-09 | Hewlett Packard Enterprise Development Lp | Restrict communications to device based on internet access |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102317A (en) * | 2007-06-29 | 2008-01-09 | 中兴通讯股份有限公司 | Multi-protocol stack connection device and method |
CN101572899A (en) * | 2009-05-31 | 2009-11-04 | 中兴通讯股份有限公司 | Switching device based on multi-system network and method thereof |
CN102413529A (en) * | 2011-11-28 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal |
WO2014019439A1 (en) * | 2012-08-02 | 2014-02-06 | 中兴通讯股份有限公司 | Method and device for handling at command when mobile phone in lost coverage and mode switching |
CN104081826A (en) * | 2012-03-16 | 2014-10-01 | Lg电子株式会社 | Method and apparatus for processing NAS signaling request in wireless communication system |
-
2015
- 2015-11-24 CN CN201510824789.7A patent/CN105376772B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102317A (en) * | 2007-06-29 | 2008-01-09 | 中兴通讯股份有限公司 | Multi-protocol stack connection device and method |
CN101572899A (en) * | 2009-05-31 | 2009-11-04 | 中兴通讯股份有限公司 | Switching device based on multi-system network and method thereof |
CN102413529A (en) * | 2011-11-28 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal |
CN104081826A (en) * | 2012-03-16 | 2014-10-01 | Lg电子株式会社 | Method and apparatus for processing NAS signaling request in wireless communication system |
WO2014019439A1 (en) * | 2012-08-02 | 2014-02-06 | 中兴通讯股份有限公司 | Method and device for handling at command when mobile phone in lost coverage and mode switching |
Also Published As
Publication number | Publication date |
---|---|
CN105376772A (en) | 2016-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105376772B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376773B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376094B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105357053B (en) | Processing method, application processor and the user terminal of network communicating function exception | |
CN106507405A (en) | The abnormal processing method and processing device of network communicating function | |
CN105491603B (en) | Network communicating function abnormal processing method, application processor and mobile terminal | |
CN105376776B (en) | Network communicating function abnormal processing method, application processor and mobile terminal | |
CN106488492A (en) | The abnormal processing method and processing device of network communicating function | |
CN105338663B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376786B (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 | |
CN106973369B (en) | Multimedia message sending method, device, mobile terminal and computer readable storage medium | |
CN105491604B (en) | Processing method, modem and the user terminal of network communicating function exception | |
CN105490838B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105634794B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376783B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN108390789B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376873B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105472648B (en) | Network communicating function abnormal processing method, modem and mobile terminal | |
CN105517029B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105357705B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
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 | |
CN105491607B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376780B (en) | Processing method, modem and the mobile terminal of network communicating function exception |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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 |