CN105491603A - Network communication function abnormality processing method, application processor and mobile terminal - Google Patents
Network communication function abnormality processing method, application processor and mobile terminal Download PDFInfo
- Publication number
- CN105491603A CN105491603A CN201510824752.4A CN201510824752A CN105491603A CN 105491603 A CN105491603 A CN 105491603A CN 201510824752 A CN201510824752 A CN 201510824752A CN 105491603 A CN105491603 A CN 105491603A
- Authority
- CN
- China
- Prior art keywords
- protocol stack
- network
- application processor
- demodulator
- modulator
- 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
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
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a network communication function abnormality processing method, an application processor and a mobile terminal. The method comprises that: when the application processor receives an abnormality message with a network abnormality cause sent by a modulator-demodulator, the first protocol stack currently used by the modulator-demodulator is obtained; when the number of the generation times of the network abnormality cause is judged to reach preset times within a preset time period, the application processor closes the first protocol stack, a second protocol stack is selected from a plurality of protocol stacks supported by the modulator-demodulator in addition to the first protocol stack; the application processor opens the second protocol stack and carries out network register again through the second protocol stack; when the network register is successful, the application processor records the current position. The embodiment of the invention also discloses a modulator-demodulator and a user terminal. In application of the embodiment of the invention, the network abnormality resulted from PND connection failure can be quickly recovered, the communication function can be recovered timely, and the network abnormality recovering time is reduced.
Description
Technical field
The present invention relates to communication technical field, be specifically related to the processing method of network communicating function exception, application processor and mobile terminal.
Background technology
Along with the fast development of forth generation mobile communication technology (4G), support that the mobile terminal of 4G communication standard gets more and more, and support that the mobile terminal of 4G communication standard also supports 2G, 3G communication standard, to ensure the proper communication of user simultaneously.The high speed development of mobile communication technology makes data service occupy absolute proportion, thus the function and position of modulator-demodulator in mobile terminal becomes more and more important, modulator-demodulator be used for data to be sent being converted to radiofrequency signal and radiofrequency signal is converted to pending data, process Access Layer (AS) and Non-Access Stratum (NAS) signaling and carry out interface etc. with AP processor.
For mobile phone, in daily life, the mobile phone moment is in the environment that there is various communication standard, and mobile phone usually there will be cannot the situation of interconnection network, such as public data network PDN connection failure.Cannot the exception of interconnection network in order to solve, existing solution is: can not after interconnection network for a long time, and user manually forces to mobile phone the configuration parameter restarting to recover modulator-demodulator.Cannot the exception of interconnection network but existing scheme can not solve mobile phone in time, also consume the time that user is too much, bring inconvenience to user.
Summary of the invention
The embodiment of the present invention provides a kind of processing method of network communicating function exception, application processor and mobile terminal, can repair the Network Abnormal that PDN connection failure causes fast, thus recover communication function in time, reduces the time that Network Abnormal recovers.
Embodiment of the present invention first aspect provides a kind of processing method of network communicating function exception, can comprise:
When application processor receive modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of described modulator-demodulator, described abnormal network cause is the connection failure of public data network PDN;
Described application processor judges whether the number of times that described abnormal network cause occurs in preset time period reaches preset times
When the number of times that abnormal network cause described in described preset time period occurs reaches described preset times, described application processor closes described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Described application processor opens described second protocol stack, and uses described second protocol stack to carry out network registry;
When described second protocol stack network succeeds in registration, described application processor record current location.
Embodiment of the present invention second aspect provides a kind of application processor, can comprise:
Acquiring unit, for when receive modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of described modulator-demodulator, described abnormal network cause is the connection failure of public data network PDN;
Judging unit, for judging whether the number of times of described PDN connection failure in preset time period reaches preset times;
Selected cell, during for judging that the number of times of described PDN connection failure in described preset time period reaches described preset times when described judging unit, closing described first protocol stack and from the multiple protocol stacks supported, selecting the second protocol stack except described first protocol stack;
Registering unit, for opening described second protocol stack, and uses described second protocol stack to carry out network registry;
Record cell, for when described second protocol stack network succeeds in registration, described application processor record current location.
The embodiment of the present invention third aspect provides a kind of mobile terminal, comprises the application processor that second aspect provides.
In embodiments of the present invention, by receive when application processor modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of modulator-demodulator, abnormal network cause is the connection failure of public data network PDN, application processor judges whether the number of times of described PDN connection failure in preset time period reaches preset times, and when the number of times of PDN connection failure in preset time period reaches preset times, close described first protocol stack, the second protocol stack except the first protocol stack is selected from the multiple protocol stacks supported, then open second protocol stack and use second protocol stack to carry out network registry, finally when second protocol stack network succeeds in registration, record current location, thus realize the quick reparation of application processor to the Network Abnormal caused by PDN connection failure, and then recover communication function in time, avoid forcing restarting the consuming time long problem that mobile terminal causes, reduce the time that Network Abnormal recovers.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the processing method of a kind of network communicating function exception that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the processing method of the another kind of network communicating function exception that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of the processing method of another network communicating function exception that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of application processor that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of application processor that Fig. 5 provides for the embodiment of the present invention;
The structural representation of another application processor that Fig. 6 provides for the embodiment of the present invention;
Fig. 7 is the structural representation of another application processor that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The processing method of a kind of network communicating function exception that the embodiment of the present invention provides, application processor and mobile terminal can be applied to the scene solving the Network Abnormal caused by the connection failure of public data network PDN, such as, application processor receive modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of described modulator-demodulator, described abnormal network cause is the connection failure of public data network PDN; Then described application processor judges whether the number of times that described abnormal network cause occurs in preset time period reaches preset times, when the number of times that abnormal network cause described in described preset time period occurs reaches described preset times, described application processor is closed described first protocol stack and from the multiple protocol stacks supported, is selected the second protocol stack except described first protocol stack; Then described application processor is opened described second protocol stack and is used described second protocol stack to carry out network registry; Finally when described second protocol stack network succeeds in registration, the scene of described application processor record current location.The embodiment of the present invention is by described PDN connection failure being detected during at modulator-demodulator; application processor closes the protocol stack causing Network Abnormal; open other protocol stacks and when the success of other protocol stack registered networks; record current location; to ensure that mobile terminal normally can be surfed the Net, be communicated, avoid the problem of restarting the time-consuming process that mobile terminal causes, reduce the time that Network Abnormal recovers; thus save the time of user's wait, promote the experience of user.
Mobile terminal in the embodiment of the present invention can include but not limited to that mobile phone, PAD (panel computer), intelligent wearable device etc. are supported communication standard and have the electronic equipment of modulator-demodulator.Mobile terminal in the embodiment of the present invention is for mobile phone.
The processing method of the network communicating function exception provided below in conjunction with accompanying drawing 1-accompanying drawing 3 pairs of embodiment of the present invention describes in detail.
Refer to Fig. 1, the schematic flow sheet of the processing method of a kind of network communicating function exception provided for the embodiment of the present invention, the method comprising the steps of S101-step S105.
S101, when application processor receive modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of described modulator-demodulator, described abnormal network cause is the connection failure of public data network PDN.
Concrete, application processor full name is MAP (MultimediaApplicationProcessor, multimedia application processor, be called for short MAP), for expanding the very lagre scale integrated circuit (VLSIC) of audio frequency and video function and special purpose interface on the basis of low power consumption CPU, be the vitals in smart mobile phone, the general and baseband processor of application processor is independently two chips.
Public data network (PublicDataNetwork, PDN) is a kind of wide area network set up by telecom operators, provides service and the technology of access wide area network, for user provides quality data transmission service.PDN is a kind of packet switching or circuit switched service that are provided by local or long-distance telecommunications bureau, X.25 the packet-switched services provided generally includes, the multi-megabit data, services of frame relay, switch type or asynchronous transfer mode, and circuit switched service comprises dial line, exchanges 56 circuits and integrated services digital network.Mobile terminal accesses described PDN by APN (AccessPointName, APN), and different APN is corresponding different PDN network also, is defined by operator.APN refers to a kind of network access technique, is a parameter by configuring during surfing Internet with cell phone, which determines mobile phone and which kind of access way to visit network by.For cellphone subscriber, the external network type that can access has a lot, such as: Internet, WAP site, conglomerate's internal network, industry internal private network.And the mode of the scope that different access points can be accessed and access is different, how network side knows that mobile phone activates will be accessed thus the IP distributing which network segment later for which network, this will distinguish by APN, and which type of network the mobile phone that namely APN determines user visits by which kind of access way.The network control center and user-network access apparatus interconnection, by modulator-demodulator, get up to carry out data communication, thus reach the object of online by PDN.When mobile phone and described PDN successfully connect, user just normally surfs the Net by mobile phone, once the failure of described PDN connection establishment, mobile phone cannot normally be surfed the Net.
Described modulator-demodulator is used for baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to baseband signal, processes the signaling of Access Layer (AS) and Non-Access Stratum (NAS) and carry out interface etc. with AP processor, and various protocols stack supported by described modulator-demodulator.It should be noted that, described modulator-demodulator is integrated in described mobile terminal.Whether described modulator-demodulator detects described PDN connection in real time and successfully sets up in running, when described PDN connection failure being detected, is understandable that the connection establishment failure now between described modulator-demodulator and described PDN.Described mobile terminal is initiated to set up new PDN connect by being sent PDN connection request message, and network side is the default bearing that new PDN connection establishment is new.The reason of PDN connection establishment failure comprises network side refusal PDN connection establishment, described mobile terminal sends PDN connection establishment request message time-out or the request of radio resource control rrc layer instruction PDN connection establishment is caused to send unsuccessfully.The reason of network side refusal PDN connection establishment request comprises: operator's obstructions, APN the unknown, the unknown of PDN type, failed authentication, do not allow PDN type i Pv4, do not allow PDN type i Pv6, appointment APN does not allow multiple PDN or resource-constrained etc.
Protocol stack represents the summation of the various protocols that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., comprise again multiple sub-protocol stack below each communication standard protocol stack, repeat no more herein.Various protocols stack supported by described modulator-demodulator, and the concrete communication standard supporting the protocol stack of which type to be supported by described mobile terminal determines, is also namely determined by the manufacturer of described mobile terminal.When described modulator-demodulator detects described PDN connection failure, the unexpected message of carrying abnormal network cause is sent to described application processor, described unexpected message is used for notifying that described application processor processes this Network Abnormal.Wherein, described abnormal network cause is the connection failure of public data network PDN.When described application processor receives the described unexpected message of described modulator-demodulator transmission, obtain the first protocol stack of the current use of described modulator-demodulator.
S102, judges whether the number of times of described PDN connection failure in preset time period reaches preset times.
Concrete, described application processor judges whether the number of times of described PDN connection failure in preset time period reaches preset times.Wherein, described preset time period and described preset times set by the manufacturer of described mobile terminal.Described application processor need confirm that now Network Abnormal is caused by described PDN connection failure, if the number of times of described PDN connection failure reaches described preset times in described preset time period, then can conclude that Network Abnormal is now caused by described PDN connection failure.
S103, when the number of times of PDN connection failure described in described preset time period reaches described preset times, described application processor closes described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported.
Concrete, when judging that the number of times of described PDN connection failure in described preset time period reaches described preset times, described application processor closes described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported.Described first protocol stack is the protocol stack causing described PDN connection failure, and therefore described application processor need close described first protocol stack, and selects other protocol stacks except described first protocol stack, i.e. described second protocol stack.Wherein, there is dividing of priority height in multiple protocol stacks of described modulator-demodulator support, herein, feasible execution mode is: can the priority level of each protocol stack of preset described modulator-demodulator, such as: the priority level that can arrange each protocol stack when described modulator-demodulator dispatches from the factory; Or, can be configured in described mobile terminal at described modulator-demodulator and carry out in initialized process, use network during each protocol stack to connect according to described mobile terminal and network signal intensity situation arranges priority level; Etc..Another kind of feasible execution mode is: the priority level that can adjust each protocol stack of described modulator-demodulator flexibly, such as: network during each protocol stack can be used to connect in certain band of position according to described mobile terminal and network signal intensity situation arranges priority level; Or, the priority level of each protocol stack can be set according to the order of the conventional network service standard of described mobile terminal; Etc..It should be noted that, the priority level of certain protocol stack is higher, illustrates that described mobile terminal can obtain better network based on this protocol stack and connect or stronger network signal.Described modulator-demodulator medium priority not the highest protocol stack is commonly called default protocol stack, and described modulator-demodulator is also realize the network registry of mobile terminal and Web vector graphic according to priority level from height to low each protocol stack that uses in order usually.
Optionally, the protocol stack of the low one-level of the first protocol stack described in described application processor Selection radio is as described second protocol stack; Or measure the signal strength signal intensity of the cell signal that each protocol stack is corresponding around, using protocol stack maximum for signal strength signal intensity as described second protocol stack; Or the higher leveled protocol stack of the first protocol stack described in described application processor Selection radio is as described second protocol stack; Or adopting other strategy to determine described second protocol stack, the present invention is not restricted.Such as, described first protocol stack is TDD-LTE protocol stack, namely now moves 4G network unavailable, and described application processor selects gsm protocol stack as described second protocol stack, i.e. 2G network.
S104, described application processor opens described second protocol stack, and uses described second protocol stack to carry out network registry.
Concrete, described application processor is opened described second protocol stack and is used described second protocol stack to carry out network registry after described first protocol stack of closedown.After described application processor closes described first protocol stack, described mobile terminal becomes without service state, therefore described application processor need open the described second protocol stack of selection, and use described second protocol stack to carry out network registry, such as, the process registered of LTE network as: described mobile terminal initiates attachment request (attachrequest) to network side, if network side allows described mobile terminal to access, then to attachment response (attachaccept) that described mobile terminal returns, when described mobile terminal receives described attachment response, represent network registry success, described mobile terminal has been converted to service state by without service state, if network side does not allow described mobile terminal to access, then return refusal/error message to described mobile terminal, represent network registry failure.
S105, when described second protocol stack network succeeds in registration, described application processor record current location.
Concrete, when described second protocol stack network succeeds in registration, described application processor record current location.The logical place in the mobile communication network of mobile terminal described in positional representation, position can be cell ID or Location Area Code or position tracing area etc., and the embodiment of the present invention is not restricted.Location Area Code (LocationAreaCode, LAC) in mobile communication system, is the region arranged for paging, cover a slice geographic area, initial stage is generally by administrative division (Huo Yige district of a county), now very flexible, divides by paging amount.When the paging amount under a LAC reaches an early warning thresholding, just must split.In order to determine the position of travelling carriage, the area of coverage of each PLMN is divided into many lane place, and Location Area Code (LAC) is then for identifying different lane place.Described current location is described mobile terminal current logical location in the mobile communication network, can comprise present position-region code, current cell identification etc. residing for described mobile terminal.
In embodiments of the present invention, by receive when application processor modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of modulator-demodulator, abnormal network cause is the connection failure of public data network PDN, application processor judges whether the number of times of described PDN connection failure in preset time period reaches preset times, and when the number of times of PDN connection failure in preset time period reaches preset times, close described first protocol stack, and from the multiple protocol stacks supported, select the second protocol stack except the first protocol stack, then open second protocol stack and use second protocol stack to carry out network registry, finally when second protocol stack network succeeds in registration, record current location, thus realize the quick reparation of application processor to the Network Abnormal caused by PDN connection failure, and then recover communication function in time, avoid forcing restarting the consuming time long problem that mobile terminal causes, reduce the time that Network Abnormal recovers.
Refer to Fig. 2, the schematic flow sheet of the processing method of the another kind of network communicating function exception provided for the embodiment of the present invention, the method comprising the steps of S201-step S213.
S201, when modulator-demodulator detects the connection failure of public data network PDN, is sent to application processor by the unexpected message of carrying abnormal network cause.
Concrete, when modulator-demodulator detects the connection failure of public data network PDN, the unexpected message of carrying abnormal network cause is sent to application processor.Described unexpected message is used for notifying described application processor processes this time Network Abnormal, and wherein, described abnormal network cause is described PDN connection failure.Public data network is a kind of wide area network set up by telecom operators, provides service and the technology of access wide area network, for user provides quality data transmission service.PDN is a kind of packet switching or circuit switched service that are provided by local or long-distance telecommunications bureau, X.25 the packet-switched services provided generally includes, the multi-megabit data, services of frame relay, switch type or asynchronous transfer mode, and circuit switched service comprises dial line, exchanges 56 circuits and integrated services digital network.Mobile terminal accesses described PDN by APN, and different APN is corresponding different PDN network also, is defined by operator.APN refers to a kind of network access technique, is a parameter by configuring during surfing Internet with cell phone, which determines mobile phone and which kind of access way to visit network by.For cellphone subscriber, the external network type that can access has a lot, such as: Internet, WAP site, conglomerate's internal network, industry internal private network.And the mode of the scope that different access points can be accessed and access is different, how network side knows that mobile phone activates will be accessed thus the IP distributing which network segment later for which network, this will distinguish by APN, and which type of network the mobile phone that namely APN determines user visits by which kind of access way.The network control center and user-network access apparatus interconnection, by modulator-demodulator, get up to carry out data communication, thus reach the object of online by PDN.When mobile phone and described PDN successfully connect, user just normally surfs the Net by mobile phone, once the failure of described PDN connection establishment, mobile phone cannot normally be surfed the Net.
Described modulator-demodulator is used for baseband signal being converted to radiofrequency signal, processing the signaling of Access Layer (AS) and Non-Access Stratum (NAS) and carry out interface etc. with AP processor, and various protocols stack supported by described modulator-demodulator.It should be noted that, described modulator-demodulator is integrated in described mobile terminal.Whether described modulator-demodulator detects described PDN connection in real time and successfully sets up in running, when described PDN connection failure being detected, is understandable that the connection establishment failure now between described modulator-demodulator and described PDN.Described mobile terminal is initiated to set up new PDN connect by being sent PDN connection request message, and network side is the default bearing that new PDN connection establishment is new.The reason of PDN connection establishment failure comprises network side refusal PDN connection establishment, described mobile terminal sends PDN connection establishment request message time-out or the request of radio resource control rrc layer instruction PDN connection establishment is caused to send unsuccessfully.The reason of network side refusal PDN connection establishment request comprises: operator's obstructions, APN the unknown, the unknown of PDN type, failed authentication, do not allow PDN type i Pv4, do not allow PDN type i Pv6, appointment APN does not allow multiple PDN or resource-constrained etc.
S202, when described application processor receives described unexpected message, obtains the first protocol stack of the current use of described modulator-demodulator.
Concrete, when described application processor receives the described unexpected message of described modulator-demodulator transmission, obtain the first protocol stack of the current use of described modulator-demodulator.Described first protocol stack is the one in the various protocols stack of described modulator-demodulator support.
S203, judges whether the number of times that described abnormal network cause occurs in preset time period reaches preset times.
Concrete, described application processor judges whether the number of times of described PDN connection failure in preset time period reaches preset times.Wherein, described preset time period and described preset times set by the manufacturer of described mobile terminal.Described application processor need confirm that now Network Abnormal is caused by described PDN connection failure, if the number of times of described PDN connection failure reaches described preset times in described preset time period, then can conclude that Network Abnormal is now caused by described PDN connection failure.
S204, when the number of times of PDN connection failure described in described preset time period reaches described preset times, described application processor is closed described first protocol stack and from multiple protocol stacks that described modulator-demodulator is supported, is selected the second protocol stack except described first protocol stack.
Concrete, when judging to show that the number of times of described PDN connection failure in described preset time period reaches described preset times, described application processor closes described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported.The protocol stack of described PDN connection failure is caused during described first protocol stack, therefore described application processor need close described first protocol stack, and from multiple protocol stacks that described modulator-demodulator is supported, select other protocol stacks except described first protocol stack, i.e. described second protocol stack.Wherein, there is dividing of priority height in multiple protocol stacks of described modulator-demodulator support, herein, feasible execution mode is: can the priority level of each protocol stack of preset described modulator-demodulator, such as: the priority level that can arrange each protocol stack when described modulator-demodulator dispatches from the factory; Or, can be configured in described mobile terminal at described modulator-demodulator and carry out in initialized process, use network during each protocol stack to connect according to described mobile terminal and network signal intensity situation arranges priority level; Etc..Another kind of feasible execution mode is: the priority level that can adjust each protocol stack of described modulator-demodulator flexibly, such as: network during each protocol stack can be used to connect in certain band of position according to described mobile terminal and network signal intensity situation arranges priority level; Or, the priority level of each protocol stack can be set according to the order of the conventional network service standard of described mobile terminal; Etc..It should be noted that, the priority level of certain protocol stack is higher, illustrates that described mobile terminal can obtain better network based on this protocol stack and connect or stronger network signal.Described modulator-demodulator medium priority not the highest protocol stack is commonly called default protocol stack, and described modulator-demodulator is also realize the network registry of mobile terminal and Web vector graphic according to priority level from height to low each protocol stack that uses in order usually.
Optionally, the protocol stack of the low one-level of the first protocol stack described in described application processor Selection radio is as described second protocol stack; Or measure the signal strength signal intensity of the cell signal that each protocol stack is corresponding around, using protocol stack maximum for signal strength signal intensity as described second protocol stack; Or the higher leveled protocol stack of the first protocol stack described in described application processor Selection radio is as described second protocol stack; Or adopting other strategy to determine described second protocol stack, the present invention is not restricted.Such as, described first protocol stack is TDD-LTE protocol stack, namely now moves 4G network unavailable, and described application processor selects gsm protocol stack as described second protocol stack, i.e. 2G network.
S205, when the number of times of PDN connection failure described in described preset time period does not reach described preset times, described application processor performs reset operation to described modulator-demodulator.
Concrete, when judging to show that the number of times of described PDN connection failure in described preset time period does not reach described preset times, described application processor performs reset operation to described modulator-demodulator, namely described application processor triggers described modulator-demodulator autoboot, to recover the normal work of described modulator-demodulator, without the need to user's manual operation, improve the automatic processing capabilities of described mobile terminal.
S206, described application processor is opened described second protocol stack and is used described second protocol stack to carry out network registry.
Concrete, described application processor is opened described second protocol stack and is used described second protocol stack to carry out network registry after described first protocol stack of closedown.After described application processor closes described first protocol stack, described mobile terminal becomes without service, therefore described application processor need open the described second protocol stack of selection, and use described second protocol stack to carry out network registry, such as, the process registered of LTE network as: described mobile terminal initiates attachment request (attachrequest) to network side, if network side allows described mobile terminal to access, then to attachment response (attachaccept) that described mobile terminal returns, when described mobile terminal receives described attachment response, represent network registry success, described mobile terminal has been converted to service state by without service state, if network side does not allow described mobile terminal to access, then return refusal/error message to described mobile terminal, represent network registry failure.
S207, described application processor judges that whether the registration of described second protocol stack network is successful.
Concrete, because described second protocol stack is in the process of carrying out network registry, may network on successful registration, also may not register network.When network registry is unsuccessful, be understandable that now described second protocol stack is unavailable, use mobile terminal described in described second protocol stack still cannot normally surf the Net, now perform step S209.When described second protocol stack network succeeds in registration, perform step S208.
S208, described application processor record current location.
Concrete, when described second protocol stack network succeeds in registration, described application processor record current location.The logical place in the mobile communication network of mobile terminal described in positional representation, position can be cell ID or Location Area Code or position tracing area etc., and the embodiment of the present invention is not restricted.In mobile communication system, be paging and a region arranging, cover a slice geographic area, the initial stage is generally by administrative division (Huo Yige district of a county), now very flexible, divides by paging amount for Location Area Code.When the paging amount under a LAC reaches an early warning thresholding, just must split.In order to determine the position of travelling carriage, the area of coverage of each PLMN is divided into many lane place, and Location Area Code (LAC) is then for identifying different lane place.Described current location is described mobile terminal current logical location in the mobile communication network, can comprise present position-region code, current cell identification etc. residing for described mobile terminal.Described application processor performs step S211 after execution step S208, and the concurrent process of setting up procedure S210.
S209, described application processor recovers the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support, or the default protocol stack switch state recovered in multiple protocol stacks of described modulator-demodulator support also performs reset operation to described modulator-demodulator simultaneously.
Concrete, when described second protocol stack network registration failure, described application processor obtains the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support and recovers, or the default protocol stack switch state recovered in multiple protocol stacks of described modulator-demodulator support also performs reset operation to described modulator-demodulator simultaneously.Wherein, described default protocol stack may be described first protocol stack, also may be other protocol stacks beyond described first protocol stack.It should be noted that, if described default protocol stack is described first protocol stack (i.e. pent, the protocol stack that causes PDN connection failure), so, this step is equivalent to reopen described first protocol stack.Described application processor performs reset operation to described modulator-demodulator and described application processor triggers described modulator-demodulator autoboot, to recover the normal work of described modulator-demodulator, without the need to user's manual operation, improve the automatic processing capabilities of described mobile terminal.
S210, described application processor judges whether described current location changes.
Concrete, described application processor periodically obtains position and judges whether described current location changes, the position of current acquisition and on the position that once obtains compare change time, execution step S209; The position of current acquisition with on the position that once obtains identical time, then continue to perform step S210.Such as, when position is cell ID, mobile terminal moves to another community by a community, represents that position there occurs change; When position is Location Area Code, mobile terminal moves to another band of position by a band of position, shows that position there occurs change.The cycle that described application processor obtains position is not restricted in embodiments of the present invention, can arrange according to the actual requirements.
Because described current location there occurs change, be understandable that modulator-demodulator described in the position after change can successfully connect described PDN, described mobile terminal can normally be surfed the Net, therefore described application processor obtains the on off state of default protocol stack in multiple protocol stacks of described modulator-demodulator support and recovers, or the default protocol stack switch state recovered in multiple protocol stacks of described modulator-demodulator support also performs reset operation to described modulator-demodulator simultaneously.
S211, described application processor judges whether described abnormal network cause reported.
Concrete, described application processor judges whether described abnormal network cause reported, and described abnormal network cause is described PDN connection failure.Multiple owing to causing the reason of Network Abnormal to have, such as, internal storage access mistake, the location updating abnormal cause such as unsuccessfully, and different abnormal causes may correspond to different codes, and therefore described application processor need judge whether the abnormal network cause of described PDN connection failure reports.Out-of-date when judging to show that described abnormal network cause does not report, perform step S212 and/or step S213.It should be noted that, after step S208, step S209, all can perform step S211.
S212, described application processor obtains the daily record of described PDN connection failure, and the daily record of described abnormal network cause, described PDN connection failure and described current location are reported to network side.
Concrete, when step S211 judges that to show that described abnormal network cause does not report out-of-date, described application processor obtains the daily record of described PDN connection failure, and the daily record of described abnormal network cause, described PDN connection failure and described current location are reported to network side, so that the research staff of described mobile terminal understands abnormal conditions, thus targetedly described mobile terminal is improved.Wherein, the daily record of described PDN connection failure represents the operation information of described application processor in described PDN connection failure process, and described operation information comprises: operational order, operating time and return results.Described application processor can around mobile scanning terminal wifi hotspot and connect on wifi hotspot, by wifi hotspot by above-mentioned information reporting to network side, to save flow.
S213, described abnormal network cause is sent to display device and shows by described application processor.
Concrete, as step S211, to judge to show that described abnormal network cause does not report out-of-date, and the display terminal that described abnormal network cause is sent to described mobile terminal shows by described application processor, so that the reason that user cannot surf the Net before clearly understanding.
It should be noted that, step S212 and step S213 can perform simultaneously, also can perform step S213 after execution of step S212, also only can perform step S212 or step S213.
In embodiments of the present invention, by receive when application processor modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of modulator-demodulator, abnormal network cause is the connection failure of public data network PDN, application processor judges whether the number of times of described PDN connection failure in preset time period reaches preset times, and when the number of times of PDN connection failure in preset time period reaches preset times, close described first protocol stack, the second protocol stack except the first protocol stack is selected from the multiple protocol stacks supported, then open second protocol stack and use second protocol stack to carry out network registry, finally when second protocol stack network succeeds in registration, record current location, thus make modem recovery normal by the mode of network registry, realize the quick reparation of application processor to the Network Abnormal caused by PDN connection failure, and then recover communication function in time, avoid forcing restarting the consuming time long problem that mobile terminal causes, reduce the time that Network Abnormal recovers.
Refer to Fig. 3, the schematic flow sheet of the processing method of another the network communicating function exception provided for the embodiment of the present invention, the method comprising the steps of S301-step S310.
S301, when modulator-demodulator detects the connection failure of public data network PDN, is sent to application processor by the unexpected message of carrying abnormal network cause.
S302, when described application processor receives described unexpected message, obtains the first protocol stack of the current use of described modulator-demodulator.
S303, judges whether the number of times of described PDN connection failure in preset time period reaches preset times.
S304, when judging that the number of times of described PDN connection failure in described preset time period reaches described preset times, described application processor is closed described first protocol stack and from multiple protocol stacks that described modulator-demodulator is supported, is selected the second protocol stack except described first protocol stack.
S305, described application processor is opened described second protocol stack and is used described second protocol stack to carry out network registry.
The specific implementation process of the step S301-step S305 in the embodiment of the present invention can the specific descriptions of step 201-step S205 in embodiment shown in Figure 2, do not repeat them here.
S306, when described second protocol stack network succeeds in registration, described application processor record current location.
Concrete, when described second protocol stack network succeeds in registration, described application processor record current location.The logical place in the mobile communication network of mobile terminal described in positional representation, position can be cell ID or Location Area Code or position tracing area etc., and the embodiment of the present invention is not restricted.In mobile communication system, be paging and a region arranging, cover a slice geographic area, the initial stage is generally by administrative division (Huo Yige district of a county), now very flexible, divides by paging amount for Location Area Code.When the paging amount under a LAC reaches an early warning thresholding, just must split.In order to determine the position of travelling carriage, the area of coverage of each PLMN is divided into many lane place, and Location Area Code (LAC) is then for identifying different lane place.Described current location is described mobile terminal current logical location in the mobile communication network, can comprise present position-region code, current cell identification etc. residing for described mobile terminal.With embodiment two unlike, embodiment three not to the process when described second protocol stack network registration failure.
S307, described application processor judges whether described current location changes.
S308, described application processor recovers the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support, or the default protocol stack switch state recovered in multiple protocol stacks of described modulator-demodulator support also performs reset operation to described modulator-demodulator simultaneously.
S309, described application processor judges whether described abnormal network cause reported.
S310, described application processor obtains the daily record of described PDN connection failure, and the daily record of described abnormal network cause, described PDN connection failure and described current location are reported to network side.
S311, described abnormal network cause is sent to display device and shows by described application processor.
The specific implementation process of the step S307-step S311 in the embodiment of the present invention can the specific descriptions of step 209-step S213 in embodiment shown in Figure 2, do not repeat them here.
In embodiments of the present invention, by receive when application processor modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of modulator-demodulator, abnormal network cause is the connection failure of public data network PDN, application processor judges whether the number of times of described PDN connection failure in preset time period reaches preset times, and when the number of times of PDN connection failure in preset time period reaches preset times, close described first protocol stack, the second protocol stack except the first protocol stack is selected from the multiple protocol stacks supported, then open second protocol stack and use second protocol stack to carry out network registry, finally when second protocol stack network succeeds in registration, record current location, thus make modem recovery normal by the mode of network registry, realize the quick reparation of application processor to the Network Abnormal caused by PDN connection failure, and then recover communication function in time, avoid forcing restarting the consuming time long problem that mobile terminal causes, reduce the time that Network Abnormal recovers.
The application processor provided below in conjunction with accompanying drawing 4 and accompanying drawing 5 pairs of embodiment of the present invention describes in detail.It should be noted that, application processor shown in accompanying drawing 4 and accompanying drawing 5, for performing the method for Fig. 1 of the present invention-embodiment illustrated in fig. 3, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment shown in Fig. 1-Fig. 3 of the present invention.
Refer to Fig. 4, be the structural representation of a kind of application processor that the embodiment of the present invention provides, this application processor 10 comprises acquiring unit 101, judging unit 102, selected cell 103, registering unit 104 and record cell 105.
Acquiring unit 101, for when receive modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of described modulator-demodulator, described abnormal network cause is the connection failure of public data network PDN.
In specific implementation, application processor 10, for expanding the very lagre scale integrated circuit (VLSIC) of audio frequency and video function and special purpose interface on the basis of low power consumption CPU, is the vitals in smart mobile phone, and the general and baseband processor of application processor is independently two chips.
Public data network is a kind of wide area network set up by telecom operators, provides service and the technology of access wide area network, for user provides quality data transmission service.PDN is a kind of packet switching or circuit switched service that are provided by local or long-distance telecommunications bureau, X.25 the packet-switched services provided generally includes, the multi-megabit data, services of frame relay, switch type or asynchronous transfer mode, and circuit switched service comprises dial line, exchanges 56 circuits and integrated services digital network.Mobile terminal accesses described PDN by APN, and different APN is corresponding different PDN network also, is defined by operator.APN refers to a kind of network access technique, is a parameter by configuring during surfing Internet with cell phone, which determines mobile phone and which kind of access way to visit network by.For cellphone subscriber, the external network type that can access has a lot, such as: Internet, WAP site, conglomerate's internal network, industry internal private network.And the mode of the scope that different access points can be accessed and access is different, how network side knows that mobile phone activates will be accessed thus the IP distributing which network segment later for which network, this will distinguish by APN, and which type of network the mobile phone that namely APN determines user visits by which kind of access way.The network control center and user-network access apparatus interconnection, by modulator-demodulator, get up to carry out data communication, thus reach the object of online by PDN.When mobile phone and described PDN successfully connect, user just normally surfs the Net by mobile phone, once the failure of described PDN connection establishment, mobile phone cannot normally be surfed the Net.
Described modulator-demodulator is used for baseband signal to be converted to radiofrequency signal, radiofrequency signal is converted to baseband signal, processes the signaling of Access Layer (AS) and Non-Access Stratum (NAS) and carry out interface etc. with AP processor, various protocols stack supported by described modulator-demodulator.It should be noted that, described modulator-demodulator is integrated in described mobile terminal.Whether described modulator-demodulator detects described PDN connection in real time and successfully sets up in running, when described PDN connection failure being detected, is understandable that the connection establishment failure now between described modulator-demodulator and described PDN.Described mobile terminal is initiated to set up new PDN connect by being sent PDN connection request message, and network side is the default bearing that new PDN connection establishment is new.The reason of PDN connection establishment failure comprises network side refusal PDN connection establishment, described mobile terminal sends PDN connection establishment request message time-out or the request of radio resource control rrc layer instruction PDN connection establishment is caused to send unsuccessfully.The reason of network side refusal PDN connection establishment request comprises: operator's obstructions, APN the unknown, the unknown of PDN type, failed authentication, do not allow PDN type i Pv4, do not allow PDN type i Pv6, appointment APN does not allow multiple PDN or resource-constrained etc.
Protocol stack represents the summation of the various protocols that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., comprise again multiple sub-protocol stack below each communication standard protocol stack, repeat no more herein.Various protocols stack supported by described modulator-demodulator, and the concrete communication standard supporting the protocol stack of which type to be supported by described mobile terminal determines, is also namely determined by the manufacturer of described mobile terminal.When described modulator-demodulator detects described PDN connection failure, the unexpected message of carrying abnormal network cause is sent to described application processor 10, described unexpected message is used for notifying that described application processor 10 processes this Network Abnormal.Wherein, described abnormal network cause is the connection failure of public data network PDN.When described application processor 10 receives the described unexpected message of described modulator-demodulator transmission, described acquiring unit 101 obtains the first protocol stack of the current use of described modulator-demodulator.
Judging unit 102, for judging whether the number of times of described PDN connection failure in preset time period reaches preset times.
In specific implementation, described judging unit 102 judges whether the number of times of described PDN connection failure in preset time period reaches preset times.Wherein, described preset time period and described preset times set by the manufacturer of described mobile terminal.Described application processor 10 need confirm that now Network Abnormal is caused by described PDN connection failure, if the number of times of described PDN connection failure reaches described preset times in described preset time period, then can conclude that Network Abnormal is now caused by described PDN connection failure.
Selected cell 103, for closing described first protocol stack and select the second protocol stack except described first protocol stack from multiple protocol stack that modulator-demodulator is supported.
In specific implementation, when described judging unit 102 judges to show that the number of times of described PDN connection failure in described preset time period reaches described preset times, described selected cell 103 closes described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that modulator-demodulator is supported.Described first protocol stack is the protocol stack causing described PDN connection failure, and therefore described selected cell 103 need close described first protocol stack, and selects other protocol stacks except described first protocol stack, i.e. described second protocol stack.Wherein, there is dividing of priority height in multiple protocol stacks of described modulator-demodulator support, herein, feasible execution mode is: can the priority level of each protocol stack of preset described modulator-demodulator, such as: the priority level that can arrange each protocol stack when described modulator-demodulator dispatches from the factory; Or, can be configured in described mobile terminal at described modulator-demodulator and carry out in initialized process, use network during each protocol stack to connect according to described mobile terminal and network signal intensity situation arranges priority level; Etc..Another kind of feasible execution mode is: the priority level that can adjust each protocol stack of described modulator-demodulator flexibly, such as: network during each protocol stack can be used to connect in certain band of position according to described mobile terminal and network signal intensity situation arranges priority level; Or, the priority level of each protocol stack can be set according to the order of the conventional network service standard of described mobile terminal; Etc..It should be noted that, the priority level of certain protocol stack is higher, illustrates that described mobile terminal can obtain better network based on this protocol stack and connect or stronger network signal.Described modulator-demodulator medium priority not the highest protocol stack is commonly called default protocol stack, and described modulator-demodulator is also realize the network registry of mobile terminal and Web vector graphic according to priority level from height to low each protocol stack that uses in order usually.
Optionally, the protocol stack of the low one-level of the first protocol stack described in described selected cell 103 Selection radio is as described second protocol stack; Or measure the signal strength signal intensity of the cell signal that each protocol stack is corresponding around, using protocol stack maximum for signal strength signal intensity as described second protocol stack; Or the higher leveled protocol stack of the first protocol stack described in described selected cell 103 Selection radio is as described second protocol stack; Or adopting other strategy to determine described second protocol stack, the present invention is not restricted.Such as, described first protocol stack is TDD-LTE protocol stack, namely now moves 4G network unavailable, and described selected cell 103 selects gsm protocol stack as described second protocol stack, i.e. 2G network.
Registering unit 104, for opening described second protocol stack and using described second protocol stack to carry out network registry.
In specific implementation, described registering unit 104, after described selected cell 103 closes described first protocol stack, is opened described second protocol stack and uses described second protocol stack to carry out network registry.After described selected cell 103 closes described first protocol stack, described mobile terminal becomes without service state, therefore described registering unit 104 need open the described second protocol stack of selection, and use described second protocol stack to carry out network registry, such as, the process registered of LTE network as: described mobile terminal initiates attachment request (attachrequest) to network side, if network side allows described mobile terminal to access, then to attachment response (attachaccept) that described mobile terminal returns, when described mobile terminal receives described attachment response, represent network registry success, described mobile terminal has been converted to service state by without service state, if network side does not allow described mobile terminal to access, then return refusal/error message to described mobile terminal, represent network registry failure.
Record cell 105, for when described second protocol stack network succeeds in registration, record current location.
In specific implementation, when described second protocol stack network succeeds in registration, described record cell 105 records current location.The logical place in the mobile communication network of mobile terminal described in positional representation, position can be cell ID or Location Area Code or position tracing area etc., and the embodiment of the present invention is not restricted.In mobile communication system, be paging and a region arranging, cover a slice geographic area, the initial stage is generally by administrative division (Huo Yige district of a county), now very flexible, divides by paging amount for Location Area Code (LAC).When the paging amount under a LAC reaches an early warning thresholding, just must split.In order to determine the position of travelling carriage, the area of coverage of each PLMN is divided into many lane place, and Location Area Code (LAC) is then for identifying different lane place.Described current location is described mobile terminal current logical location in the mobile communication network, can comprise present position-region code, current cell identification etc. residing for described mobile terminal.
In embodiments of the present invention, by when the connection failure of public data network PDN being detected, obtain the first protocol stack of current use, and judge whether the number of times of PDN connection failure in preset time period reaches preset times, when judging that the number of times of PDN connection failure in preset time period reaches preset times, close the first protocol stack, and from the multiple protocol stacks supported, select the second protocol stack except the first protocol stack, then open second protocol stack and use second protocol stack to carry out network registry, finally when second protocol stack network succeeds in registration, record current location, thus the quick reparation realized the Network Abnormal caused by PDN connection failure, and then recover communication function in time, avoid forcing restarting the consuming time long problem that mobile terminal causes, reduce the time that Network Abnormal recovers.
Refer to Fig. 5, for the structural representation of the another kind of modulator-demodulator that the embodiment of the present invention provides, this modulator-demodulator 20 comprises acquiring unit 201, judging unit 202, selected cell 203, registering unit 204, record cell 205, recovery unit 206 and reports unit 207.Wherein, the specific implementation process of acquiring unit 201, selected cell 203, registering unit 204, record cell 205 can specific descriptions to acquiring unit 101, selected cell 103, registering unit 103 and record cell 105 in embodiment shown in Figure 4, do not repeat them here.
Acquiring unit 201, for when receive modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of described modulator-demodulator, described abnormal network cause is the connection failure of public data network PDN.
Judging unit 202, for judging whether the number of times of described PDN connection failure in preset time period reaches preset times.
In specific implementation, described judging unit 202 judge the number of times of described PDN connection failure in preset time period whether to reach in the specific implementation process of preset times can shown in Figure 3 in the specific descriptions of judging unit 102, do not repeat them here.
Selected cell 203, during for judging when judging unit whether the number of times of described PDN connection failure in described preset time period reaches described preset times, closing described first protocol stack and from multiple protocol stacks that modulator-demodulator is supported, selecting the second protocol stack except described first protocol stack.
Registering unit 204, for opening described second protocol stack and using described second protocol stack to carry out network registry.
Record cell 205, for when described second protocol stack network succeeds in registration, record current location.
Recovery unit 206, for when described second protocol stack network registration failure, or when described current location changes, recovers the default protocol stack switch state in multiple protocol stacks that described modulator-demodulator supports; Or, recover the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support and reset operation performed to described modulator-demodulator simultaneously.
In specific implementation, when described second protocol stack network registration failure, described recovery unit 206 obtains the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support and recovers, or the default protocol stack switch state recovered in multiple protocol stacks of described modulator-demodulator support also performs reset operation to described modulator-demodulator simultaneously.Wherein, described default protocol stack may be described first protocol stack, also may be other protocol stacks beyond described first protocol stack.It should be noted that, if described default protocol stack is described first protocol stack (i.e. pent, the protocol stack that causes PDN connection failure), so, this step is equivalent to reopen described first protocol stack.
Because described current location there occurs change, be understandable that modulator-demodulator described in the position after change can successfully connect described PDN, described mobile terminal can normally be surfed the Net, therefore described recovery unit 206 obtains the on off state of default protocol stack in multiple protocol stacks of described modulator-demodulator support and recovers, or the default protocol stack switch state recovered in multiple protocol stacks of described modulator-demodulator support also performs reset operation to described modulator-demodulator simultaneously.
Described judging unit 202, also for judging whether abnormal network cause reported.
In specific implementation, described judging unit 202 judges whether abnormal network cause reported, and described abnormal network cause is described PDN connection failure.Multiple owing to causing the reason of Network Abnormal to have, such as, internal storage access mistake, the location updating abnormal cause such as unsuccessfully, and different abnormal causes may correspond to different codes, and therefore described judging unit 202 need judge whether the abnormal network cause of described PDN connection failure reports.When described judging unit 202, to judge to show that described abnormal network cause does not report out-of-date, reports unit 207 described in calling.
Report unit 207, out-of-date for judging that described abnormal network cause does not report when described judging unit, obtain the daily record of described PDN connection failure, and the daily record of described abnormal network cause, described PDN connection failure and described current location are reported to network side; And/or, described in report unit to show for described abnormal network cause is sent to display device.
In specific implementation, when described judging unit 202, to judge to show that described abnormal network cause does not report out-of-date, the described daily record reporting unit 207 to obtain described PDN connection failure, and the daily record of described abnormal network cause, described PDN connection failure and described current location are reported to network side, so that the research staff of described mobile terminal understands abnormal conditions, thus targetedly described mobile terminal is improved.Wherein, the daily record of described PDN connection failure represents the operation information of described application processor in described PDN connection failure process, and described operation information comprises: operational order, operating time and return results.Described report unit 207 specifically for wifi hotspot around mobile scanning terminal and connect on wifi hotspot, by wifi hotspot by above-mentioned information reporting to network side, to save flow.And/or, when described judging unit 202, to judge to show that described abnormal network cause does not report out-of-date, the display terminal that described abnormal network cause is sent to described mobile terminal shows by the described unit 207 that reports, so that the reason that user cannot surf the Net before clearly understanding.
In embodiments of the present invention, by receive when application processor modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of modulator-demodulator, abnormal network cause is the connection failure of public data network PDN, application processor judges whether the number of times of described PDN connection failure in preset time period reaches preset times, and when the number of times of PDN connection failure in preset time period reaches preset times, close described first protocol stack, the second protocol stack except the first protocol stack is selected from the multiple protocol stacks supported, then open second protocol stack and use second protocol stack to carry out network registry, finally when second protocol stack network succeeds in registration, record current location, thus make modem recovery normal by the mode of network registry, realize the quick reparation of application processor to the Network Abnormal caused by PDN connection failure, and then recover communication function in time, avoid forcing restarting the consuming time long problem that mobile terminal causes, reduce the time that Network Abnormal recovers.
Referring to Fig. 6, is the structural representation of another application processor that the embodiment of the present invention provides.Integrated modem modem is not had in this schematic diagram, as shown in Figure 6, application processor is for realizing the processing method of the network communicating function exception described in Fig. 1, application processor 6 comprises CPU_ap601, memory 602 and communication interface 603, the quantity of the CPU_ap601 in application processor can be one or more, and Fig. 6 is for a CPU.In some embodiments of the present invention, CPU_ap601, memory 602 are connected, for bus connection in Fig. 6 by bus or other modes with communication interface 603.
Wherein, communication interface 603, for communicating with the modulator-demodulator modem of application processor chip exterior;
Wherein, in memory 602, store batch processing code, and CPU_ap601 is for calling the program code stored in memory 602, for performing following operation:
When receive modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of described modulator-demodulator, described abnormal network cause is the connection failure of public data network PDN;
Judge whether the number of times that described abnormal network cause occurs in preset time period reaches preset times;
When the number of times that abnormal network cause described in described preset time period occurs reaches described preset times, close described first protocol stack, and select the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Open described second protocol stack, and use described second protocol stack to carry out network registry;
When described second protocol stack network succeeds in registration, described application processor record current location.
In an alternate embodiment of the invention, processor 601 performs opens described second protocol stack, and uses after described second protocol stack carries out network registry, also performs following steps:
When described second protocol stack network registration failure, recover the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support;
Or, recover the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support and reset operation performed to described modulator-demodulator simultaneously.
In an alternate embodiment of the invention, processor 601 performs when described second protocol stack network succeeds in registration, and after record current location, also performs following steps:
When described current location changes, recover the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support;
Or, recover the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support and reset operation performed to described modulator-demodulator simultaneously.
In an alternate embodiment of the invention, processor 601 also performs following steps:
Judge whether abnormal network cause reported;
When described abnormal network cause does not report out-of-date, obtain the daily record of described PDN connection failure, and the daily record of described abnormal network cause, described PDN connection failure and described current location are reported to network side;
And/or, described abnormal network cause is sent to display device and shows.
In an alternate embodiment of the invention, processor 601 performs and the daily record of described abnormal network cause, described PDN connection failure and described current location is reported to network side, specifically performs following steps:
The daily record of described abnormal network cause, described PDN connection failure and described current location also, after establishing a communications link with wifi hotspot, are reported to network side by the wifi hotspot established a communications link by the wifi hotspot around scanning.
See Fig. 7, be the structural representation of another application processor of the embodiment of the present invention, in this schematic diagram, be integrated with modulator-demodulator modem.The CPU_ap601 of CPU_ap701 with Fig. 6 of Fig. 7 performs the same work, and difference is (and Fig. 6 is undertaken by communication interface 603) that the CPU_ap701 of this figure and the interactive mode of modulator-demodulator modem are undertaken by bus.
The embodiment of the present invention additionally provides a kind of mobile terminal comprising above-mentioned application processor, and mobile terminal includes but not limited to the mobile terminal carrying iOS, Android, Microsoft or other operating system, such as mobile phone.Also can be other mobile terminal, such as there is the laptop computer of Touch sensitive surface (such as, touch-screen display and/or Trackpad) or panel computer or desktop computer.
In the following discussion, a kind of mobile terminal comprising display and Touch sensitive surface is described.But should be appreciated that mobile terminal can comprise other physical user-interface device one or more, such as physical keyboard, mouse and/or action bars.
Mobile terminal supports multiple application program usually, one or more in such as following: picture application program, present application program, word-processing application, webpage creates application program, dish editing application program, spreadsheet applications, game application, telephony application, videoconference application, email application, instant message application program, temper support application program, photograph management application program, digital camera applications program, digital video camcorder application program, network browsing application program, digital music player application, and/or video frequency player application program.
The various application programs that can perform on mobile terminals can use at least one physical user-interface device shared, such as Touch sensitive surface.One or more functions of Touch sensitive surface and display corresponding information on mobile terminals and/or can be changed to lower a kind of application program and/or adjusted in corresponding application programs and/or change from a kind of application program adjustment.Like this, the shared physical structure (such as Touch sensitive surface) of mobile terminal can to utilize for user clearly user interface directly perceived to support various application program.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Claims (10)
1. a processing method for network communicating function exception, is characterized in that, comprising:
When application processor receive modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of described modulator-demodulator, described abnormal network cause is the connection failure of public data network PDN;
Described application processor judges whether the number of times that described abnormal network cause occurs in preset time period reaches preset times;
When the number of times that abnormal network cause described in described preset time period occurs reaches described preset times, described application processor closes described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Described application processor opens described second protocol stack, and uses described second protocol stack to carry out network registry;
When described second protocol stack network succeeds in registration, described application processor record current location.
2. method according to claim 1, is characterized in that, the described second protocol stack of described unlatching, and uses after described second protocol stack carries out network registry, also comprises:
When described second protocol stack network registration failure, described application processor recovers the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support;
Or described application processor recovers the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support and performs reset operation to described modulator-demodulator simultaneously.
3. method according to claim 1 and 2, is characterized in that, described when described second protocol stack network succeeds in registration, and after described application processor record current location, also comprises:
When described current location changes, described application processor recovers the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support;
Or described application processor recovers the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support and performs reset operation to described modulator-demodulator simultaneously.
4. method according to claim 1, is characterized in that, described method also comprises:
Described application processor judges whether abnormal network cause reported;
When described abnormal network cause does not report out-of-date, described application processor obtains the daily record of described PDN connection failure, and the daily record of described abnormal network cause, described PDN connection failure and described current location are reported to network side;
And/or described abnormal network cause is sent to display device and shows by described application processor.
5. method as claimed in claim 4, is characterized in that, described the daily record of described abnormal network cause, described PDN connection failure and described current location is reported to network side, comprising:
Scanning wifi hotspot around after establishing a communications link with wifi hotspot, the daily record of described abnormal network cause, described PDN connection failure and described current location are reported to network side by the wifi hotspot established a communications link by described application processor.
6. an application processor, is characterized in that, comprising:
Acquiring unit, for when receive modulator-demodulator send carry the unexpected message of abnormal network cause time, obtain the first protocol stack of the current use of described modulator-demodulator, described abnormal network cause is the connection failure of public data network PDN;
Judging unit, for judging whether the number of times of described PDN connection failure in preset time period reaches preset times;
Selected cell, during for judging that the number of times of described PDN connection failure in described preset time period reaches described preset times when described judging unit, closing described first protocol stack and from the multiple protocol stacks supported, selecting the second protocol stack except described first protocol stack;
Registering unit, for opening described second protocol stack and using described second protocol stack to carry out network registry;
Record cell, for when described second protocol stack network succeeds in registration, record current location.
7. application processor according to claim 6, is characterized in that, also comprises:
Recovery unit, for when described second protocol stack network registration failure, or when described current location changes, recovers the default protocol stack switch state in multiple protocol stacks that described modulator-demodulator supports;
Or, recover the default protocol stack switch state in multiple protocol stacks of described modulator-demodulator support and reset operation performed to described modulator-demodulator simultaneously.
8. application processor according to claim 6, is characterized in that,
Described judging unit, also for judging whether described abnormal network cause reported;
Described application processor also comprises:
Report unit, out-of-date for judging that described abnormal network cause does not report when described judging unit, obtain the daily record of described PDN connection failure, and the daily record of described abnormal network cause, described PDN connection failure and described current location are reported to network side;
And/or, described in report unit to show for described abnormal network cause is sent to display device.
9. application processor according to claim 8, it is characterized in that, the described unit that reports is specifically for scanning wifi hotspot around and after establishing a communications link with wifi hotspot, by the wifi hotspot established a communications link, the daily record of described abnormal network cause, described PDN connection failure and described current location being reported to network side.
10. a mobile terminal, is characterized in that, comprises the application processor as described in claim 6-9 any one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510824752.4A CN105491603B (en) | 2015-11-24 | 2015-11-24 | Network communicating function abnormal processing method, application processor and mobile terminal |
CN201810220940.XA CN108601018B (en) | 2015-11-24 | 2015-11-24 | Processing method for network communication function abnormity, application processor and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510824752.4A CN105491603B (en) | 2015-11-24 | 2015-11-24 | Network communicating function abnormal processing method, application processor and mobile terminal |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810220940.XA Division CN108601018B (en) | 2015-11-24 | 2015-11-24 | Processing method for network communication function abnormity, application processor and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105491603A true CN105491603A (en) | 2016-04-13 |
CN105491603B CN105491603B (en) | 2018-03-27 |
Family
ID=55678234
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810220940.XA Active CN108601018B (en) | 2015-11-24 | 2015-11-24 | Processing method for network communication function abnormity, application processor and mobile terminal |
CN201510824752.4A Active CN105491603B (en) | 2015-11-24 | 2015-11-24 | Network communicating function abnormal processing method, application processor and mobile terminal |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810220940.XA Active CN108601018B (en) | 2015-11-24 | 2015-11-24 | Processing method for network communication function abnormity, application processor and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN108601018B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106255142A (en) * | 2016-09-05 | 2016-12-21 | 努比亚技术有限公司 | A kind of mobile terminal and abnormal information report method thereof |
CN106982450A (en) * | 2017-05-27 | 2017-07-25 | 奇酷互联网络科技(深圳)有限公司 | Communication abnormality processing method, device and mobile terminal |
CN107135519A (en) * | 2017-06-15 | 2017-09-05 | 广东欧珀移动通信有限公司 | The detection method and device of abnormality processing function |
CN107295550A (en) * | 2017-06-22 | 2017-10-24 | 广东欧珀移动通信有限公司 | The detection method and device of abnormality processing function |
CN116709393A (en) * | 2022-12-08 | 2023-09-05 | 荣耀终端有限公司 | Restoration method and electronic equipment for cellular data service activation failure |
Citations (6)
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 |
US20100165940A1 (en) * | 2008-12-29 | 2010-07-01 | Interdigital Patent Holdings, Inc. | Method and apparatus for tracking area update procedure and eps bearer contexts representation |
CN102413529A (en) * | 2011-11-28 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Multi-mode application method and device of mobile terminal including LTE mode |
CN103582039A (en) * | 2012-08-02 | 2014-02-12 | 中兴通讯股份有限公司 | Mobile phone AT command processing method and equipment in process of coverage loss and system switching |
CN104081826A (en) * | 2012-03-16 | 2014-10-01 | Lg电子株式会社 | Method and apparatus for processing NAS signaling request in wireless communication system |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100713492B1 (en) * | 2005-12-26 | 2007-04-30 | 삼성전자주식회사 | Method of acquiring effective handover network in multi-mode terminal and the terminal therefor |
CN101068437A (en) * | 2007-04-03 | 2007-11-07 | 中兴通讯股份有限公司 | Double-mode mobile terminal standby network switching method |
CN101222768B (en) * | 2008-01-31 | 2012-01-11 | 中兴通讯股份有限公司 | Method for user's set acquiring access point name, grouping domain system |
CN102984683B (en) * | 2008-04-28 | 2015-04-08 | 华为技术有限公司 | Method, device and system to achieve switching in wireless network |
US8369290B2 (en) * | 2009-04-13 | 2013-02-05 | Futureweil Technologies, Inc | System and method for supporting handovers between different radio access technologies of a wireless communications system |
US9167373B2 (en) * | 2010-10-14 | 2015-10-20 | Nokia Technologies Oy | Multiple SIM support with single modem software architecture |
CN102413545B (en) * | 2011-11-23 | 2018-07-20 | 南京中兴新软件有限责任公司 | The network selection method and device of multimode terminal |
US8965373B2 (en) * | 2012-12-07 | 2015-02-24 | Broadcom Corporation | Mobile terminated call establishment during inter radio access technology (IRAT) re-direction |
US9420556B2 (en) * | 2013-10-09 | 2016-08-16 | Blackberry Limited | Method and apparatus for handling circuit switched calls at a user equipment |
-
2015
- 2015-11-24 CN CN201810220940.XA patent/CN108601018B/en active Active
- 2015-11-24 CN CN201510824752.4A patent/CN105491603B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102317A (en) * | 2007-06-29 | 2008-01-09 | 中兴通讯股份有限公司 | Multi-protocol stack connection device and method |
US20100165940A1 (en) * | 2008-12-29 | 2010-07-01 | Interdigital Patent Holdings, Inc. | Method and apparatus for tracking area update procedure and eps bearer contexts representation |
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 application method and device of mobile terminal including LTE mode |
CN104081826A (en) * | 2012-03-16 | 2014-10-01 | Lg电子株式会社 | Method and apparatus for processing NAS signaling request in wireless communication system |
CN103582039A (en) * | 2012-08-02 | 2014-02-12 | 中兴通讯股份有限公司 | Mobile phone AT command processing method and equipment in process of coverage loss and system switching |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106255142A (en) * | 2016-09-05 | 2016-12-21 | 努比亚技术有限公司 | A kind of mobile terminal and abnormal information report method thereof |
CN106255142B (en) * | 2016-09-05 | 2019-10-29 | 努比亚技术有限公司 | A kind of mobile terminal and its exception information report method |
CN106982450A (en) * | 2017-05-27 | 2017-07-25 | 奇酷互联网络科技(深圳)有限公司 | Communication abnormality processing method, device and mobile terminal |
CN106982450B (en) * | 2017-05-27 | 2020-10-30 | 奇酷互联网络科技(深圳)有限公司 | Communication exception handling method and device and mobile terminal |
CN107135519A (en) * | 2017-06-15 | 2017-09-05 | 广东欧珀移动通信有限公司 | The detection method and device of abnormality processing function |
CN107295550A (en) * | 2017-06-22 | 2017-10-24 | 广东欧珀移动通信有限公司 | The detection method and device of abnormality processing function |
CN116709393A (en) * | 2022-12-08 | 2023-09-05 | 荣耀终端有限公司 | Restoration method and electronic equipment for cellular data service activation failure |
Also Published As
Publication number | Publication date |
---|---|
CN108601018A (en) | 2018-09-28 |
CN108601018B (en) | 2021-06-15 |
CN105491603B (en) | 2018-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106507405A (en) | The abnormal processing method and processing device of network communicating function | |
CN105376773B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105491603A (en) | Network communication function abnormality processing method, application processor and mobile terminal | |
CN105376772A (en) | Network communication function anomaly processing method, modem and mobile terminal | |
CN105357053A (en) | Network communication functional abnormity processing method, application processor and user terminal | |
CN106851702A (en) | The abnormal processing method and processing device of network communicating function | |
CN105376094A (en) | Method for handling network communication function exception, modulator-demodulator and mobile terminal | |
CN105376776A (en) | Processing method of network communication function abnormity, application processor and mobile terminal | |
CN105357049B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105338663B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105407461A (en) | Processing method for network communication function abnormality, application processor and mobile terminal | |
CN105376786A (en) | Processing method for network communication function abnormity, application processor and mobile terminal | |
CN105490838B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105491604A (en) | Network communication function abnormality processing method, modulator-demodulator and user terminal | |
CN105376775A (en) | Processing method of network communication function abnormity, application processor and mobile terminal | |
CN105376784A (en) | Processing method for network communication function abnormity, application processor and mobile terminal | |
CN105376783B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
JP7169379B2 (en) | Apparatus, method and computer program for emergency calling | |
CN105376873B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105517029B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105472648B (en) | Network communicating function abnormal processing method, modem and mobile terminal | |
CN105491607B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376779A (en) | Processing method of network communication function abnormity, application processor and mobile terminal | |
CN105491608A (en) | Processing method for network communication function exception, application processor and mobile terminal | |
CN105491605A (en) | Network communication function abnormality processing method, modulator-demodulator and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |