CN108419262B - Processing method for network communication function abnormity, modem and mobile terminal - Google Patents

Processing method for network communication function abnormity, modem and mobile terminal Download PDF

Info

Publication number
CN108419262B
CN108419262B CN201810350598.5A CN201810350598A CN108419262B CN 108419262 B CN108419262 B CN 108419262B CN 201810350598 A CN201810350598 A CN 201810350598A CN 108419262 B CN108419262 B CN 108419262B
Authority
CN
China
Prior art keywords
modem
abnormal
protocol stack
mobile terminal
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810350598.5A
Other languages
Chinese (zh)
Other versions
CN108419262A (en
Inventor
李伟清
陈燕绿
蔚宝珠
张强
王旭康
周千里
杜渊华
蔡文龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810350598.5A priority Critical patent/CN108419262B/en
Publication of CN108419262A publication Critical patent/CN108419262A/en
Application granted granted Critical
Publication of CN108419262B publication Critical patent/CN108419262B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Abstract

The embodiment of the invention discloses a method for processing network communication function abnormity, a modem and a mobile terminal, wherein the method comprises the following steps: when the modem detects the abnormality of the modem in the mobile terminal, judging whether a public module in the modem is abnormal or not; when a public module in a modem is normal, determining that a protocol stack in the modem is abnormal, and acquiring a first protocol stack currently used by the modem; judging whether the modem abnormality of the preset times occurs within a preset time range; when the modem with preset times is abnormal within a preset time range, closing the first protocol stack, and selecting a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem; starting a second protocol stack, and performing network registration by using the second protocol stack; and when the network registration is successful, recording the current position information of the mobile terminal. By implementing the embodiment of the invention, the network can be quickly recovered to be normal.

Description

Processing method for network communication function abnormity, modem and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a method for processing network communication function abnormity, a modem and a mobile terminal.
Background
With the development of communication technology, the role and position of a modem in a handset are becoming more and more important, the modem is used for converting data to be transmitted into radio frequency signals and converting received radio frequency signals into data to be processed, processing signaling of an Access Stratum (AS) and a non-access stratum (NAS), the modem is also used for interfacing with an AP processor, and the like. However, the modem is often abnormal, which results in network abnormality and the mobile phone cannot surf the internet normally. The solution scheme adopted at present is as follows: and manually carrying out forced restart on the modem of the mobile terminal, and recovering or setting the configuration parameters of the modem. Due to various reasons for the abnormity of the modem, manually restarting the modem cannot solve all the abnormity of the modem and cannot quickly restore the normal network.
Disclosure of Invention
The embodiment of the invention provides a method for processing network communication function abnormity, a modem and a mobile terminal, which can quickly recover the network to be normal.
In a first aspect of the embodiments of the present invention, a method for processing a network communication function exception is provided, where the method includes:
when the modem detects that the modem in the mobile terminal is abnormal, judging whether a public module in the modem is abnormal or not;
when a public module in the modem is normal, the modem determines that a protocol stack in the modem is abnormal, and acquires a first protocol stack currently used by the modem;
the modem judges whether the modem abnormality occurs for a preset number of times within a preset time range;
when the modem is abnormal within the preset time range for the preset times, the modem closes the first protocol stack and selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem;
the modem starts the second protocol stack and uses the second protocol stack to perform network registration;
and when the network registration is successful, the modem records the current position information of the mobile terminal.
In a first possible implementation manner of the first aspect of the embodiment of the present invention, the method further includes:
when the network registration fails, the modem restores a default protocol stack switch state in the plurality of protocol stacks supported and/or resets the modem.
With reference to the first possible implementation manner of the first aspect of the embodiment of the present invention, in a second possible implementation manner of the first aspect of the embodiment of the present invention, after the modem records the current location information of the mobile terminal, the method further includes:
the modem detects whether the position information of the mobile terminal changes;
if yes, the modem executes the step of restoring the default protocol stack switch state in the supported protocol stacks and/or resetting the modem.
With reference to the first or second possible implementation manner of the first aspect of the embodiment of the present invention, in a third possible implementation manner of the first aspect of the embodiment of the present invention, after the modem restores a default protocol stack switch state in the multiple supported protocol stacks, and/or resets the modem, the method further includes:
the modem judges whether the abnormal reason of the modem in the mobile terminal is reported or not;
when the abnormal reason of the modem abnormity is not reported, the modem acquires the abnormal reason of the modem abnormity and the abnormal modem log;
and the modem reports the abnormal reason of the abnormal modem and the abnormal modem log to a network and/or displays the abnormal reason of the abnormal modem.
With reference to the third possible implementation manner of the first aspect of the present invention, in a fourth possible implementation manner of the first aspect of the present invention, the reporting, by the modem, the abnormal cause of the modem abnormality and the modem abnormality log to a network includes:
and the modem scans surrounding wifi hotspots and reports recorded abnormal reasons of the abnormal modem and abnormal modem logs to the network side through the wifi hotspots after establishing communication connection with the wifi hotspots.
In a second aspect of the embodiments of the present invention, a modem is provided, including:
a first judging unit for detecting the abnormal state of the modem in the mobile terminal; judging whether a public module in the modem is abnormal or not;
the determining unit is used for determining that a protocol stack in the modem is abnormal when the judging result of the first judging unit is negative;
a first obtaining unit, configured to obtain a first protocol stack currently used by the modem when the determining unit determines that the protocol stack in the modem is abnormal;
a second judging unit, configured to judge whether the modem abnormality occurs within a preset time range for a preset number of times;
a selecting unit, configured to close the first protocol stack and select a second protocol stack except the first protocol stack from multiple protocol stacks supported by the modem when the determination result of the second determining unit is yes;
a registration unit, configured to start the second protocol stack and perform network registration by using the second protocol stack;
and the recording unit is used for recording the current position information of the mobile terminal when the network registration is successful.
In a first possible implementation manner of the second aspect of the embodiment of the present invention, the modem further includes:
a restoring unit, configured to restore the default protocol stack switch state in the supported multiple protocol stacks and/or reset the modem when the network registration fails.
With reference to the first possible implementation manner of the second aspect of the embodiment of the present invention, in a second possible implementation manner of the second aspect of the embodiment of the present invention, the modem further includes:
the detection unit is used for detecting whether the position information of the mobile terminal changes;
the recovery unit is further configured to recover a default protocol stack switch state in the supported protocol stacks and/or reset the modem when the detection unit detects that the location information of the mobile terminal changes.
With reference to the first or second possible implementation manner of the second aspect of the embodiment of the present invention, in a third possible implementation manner of the second aspect of the embodiment of the present invention, the modem further includes:
a third determining unit, configured to determine whether an abnormal reason for an abnormality of the modem in the mobile terminal is reported after the recovering unit recovers the current on-off state corresponding to each of the plurality of protocol stacks supported by the modem to the initial on-off state;
a second obtaining unit, configured to obtain an abnormal reason for the modem abnormality and the modem abnormality log when the third determining unit determines that the modem is abnormal;
and the reporting unit is used for reporting the abnormal reason of the abnormal modem and the abnormal modem log acquired by the second acquiring unit to a network and/or displaying the abnormal reason of the abnormal modem.
With reference to the third possible implementation manner of the second aspect of the present invention, in a fourth possible implementation manner of the second aspect of the present invention, the manner in which the reporting unit reports the abnormal cause of the modem abnormality and the abnormal modem log to the network specifically is:
and the reporting unit scans surrounding wifi hotspots and reports recorded abnormal reasons of the abnormal modem and abnormal modem logs to the network side through the wifi hotspots after establishing communication connection with the wifi hotspots.
A third aspect of an embodiment of the present invention provides a mobile terminal, including the modem described in any one of the above.
In the embodiment of the invention, when the modem detects the abnormality of the modem in the mobile terminal, whether a public module in the modem is abnormal is judged; when a public module in the modem is normal, the modem determines that a protocol stack in the modem is abnormal and acquires a first protocol stack currently used by the modem; the modem judges whether the modem abnormality of the preset times occurs within a preset time range; when the modem with preset times is abnormal within a preset time range, the modem closes the first protocol stack and selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem; the modem starts a second protocol stack and uses the second protocol stack to perform network registration; when the network registration is successful, the modem records the current location information of the mobile terminal. By implementing the embodiment of the invention, the modem automatically restores the normal communication by switching other protocol stacks to carry out network registration, thereby avoiding the problem of overlong time consumption caused by forcibly restarting the mobile phone and quickly restoring the normal network.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing network communication function abnormality according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for processing network communication function abnormality according to the embodiment of the present invention;
fig. 3 is a flowchart of another method for processing network communication function exception according to the embodiment of the present invention;
fig. 4 is a schematic structural diagram of a modem according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another modem disclosed in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another modem disclosed in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of the present invention.
The embodiment of the invention provides a method for processing network communication function abnormity, a modem and a mobile terminal, which can quickly recover the network to be normal. The following are detailed below.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for handling network communication function abnormality according to an embodiment of the present invention. As shown in fig. 1, the method for processing a network exception described in this embodiment includes the steps of:
s100, the modem detects whether the modem in the mobile terminal is abnormal, if so, the step S101 is executed, and if not, the step S100 is continuously executed.
S101, the modem judges whether the public module in the modem is abnormal, if not, the step S102 is executed, and if so, the step S109 is executed.
In the embodiment of the invention, a Modem (Modem) in the mobile terminal is used for converting data to be transmitted into radio frequency signals and converting received radio frequency signals into data to be processed, processing signaling of an Access Stratum (AS) and a non-access stratum (NAS), and the Modem is also used for interfacing with an AP processor. The modem comprises a public module and a protocol stack, wherein the public module is used for configuring configuration parameters in the modem; the protocol stack represents a sum of a plurality of protocols corresponding to a certain communication system, for example: the Protocol stack includes a GSM Protocol stack, an EDGE Protocol stack, an HSPDA Protocol stack, a TD-SCDMA Protocol stack, a TDD-LTE Protocol stack, an FDD-LTE Protocol stack, etc., and a plurality of sub Protocol stacks are further included below each communication system Protocol stack, for example, the LTE Protocol stack includes a physical layer Protocol, an MAC layer Protocol (Multiple Access Control Protocol), an RRC Protocol (Radio Resource Control Protocol), a PDCP Protocol ((Packet Data Convergence Protocol), etc., and details thereof are omitted herein.
S102, the modem determines that the protocol stack in the modem is abnormal, and acquires a first protocol stack currently used by the modem.
In the embodiment of the invention, when the public module in the modem is normal, the modem determines that the protocol stack in the modem is abnormal, and the first protocol stack is the protocol stack causing the abnormality of the modem.
S103, the modem determines whether the modem abnormality occurs within a preset time range for a preset number of times, if so, executes step S104, and if not, executes step S109.
In the embodiment of the present invention, the preset time and the preset times may be preset, for example, the preset time may be set to 24 hours, and the preset times may be set to 3 times.
S104, the modem closes the first protocol stack, and selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem.
In the embodiment of the present invention, there are some priority levels in a plurality of protocol stacks supported by a modem, and here, one possible implementation manner is as follows: the priority levels of the various protocol stacks of the modem may be preset, for example: the priority level of each protocol stack can be set when the modem leaves a factory; or, in the process that the modem is configured in the mobile terminal and initialized, the priority level can be set according to the network connection and the network signal strength when the mobile terminal uses each protocol stack; and so on. Another possible implementation is: the priority levels of the various protocol stacks of the modem can be flexibly adjusted, for example: the priority level can be set according to the network connection and the network signal strength when the mobile terminal uses each protocol stack in a certain position area; or, the priority level of each protocol stack can be set according to the sequence of the common network communication system of the mobile terminal; and so on. It should be noted that the higher the priority level of a certain protocol stack is, the better network connection or stronger network signal can be obtained by the mobile terminal based on the protocol stack. The protocol stack with the highest priority in the modems is generally called a default protocol stack, and the modems generally use the protocol stacks to realize network registration and network use of the mobile terminal from high to low in the order of priority.
When the modem is abnormal within the preset time range for the preset times, the modem closes the first protocol stack causing the abnormal modem, and selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem, so that the problem of the abnormal modem can be prevented from occurring repeatedly. The modem can also obtain the processing method when the modem is abnormal before from the network and solve the abnormal modem according to the method. The modem selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem, wherein the policy of the modem selection may be: selecting a protocol stack one level lower than the first protocol stack as a second protocol stack; or measuring the signal intensity of cell signals corresponding to each surrounding protocol stack, and taking the protocol stack with the maximum signal intensity as a second protocol stack; or selecting a protocol stack one level higher than the first protocol stack as a second protocol stack; or other strategies may be used to determine the second protocol stack, and the invention is not limited in this respect.
And S105, the modem starts a second protocol stack and uses the second protocol stack to perform network registration.
In the embodiment of the present invention, after the modem closes the first protocol stack, the mobile terminal is switched from the service state to the non-service state, the modem opens the selected second protocol stack, and performs network registration using the second protocol stack, for example, the LTE network registration process is as follows: the mobile terminal initiates an attach request (attach request) to the network side, if the network side allows the mobile terminal to access, an attach response (attach accept) is returned to the mobile terminal, which indicates that the network registration is successful, and the mobile terminal is converted from a non-service state to a service state; if the network side does not allow the mobile terminal to access, returning rejection/error information to the mobile terminal, which indicates that the network registration fails.
S106, the modem judges whether the network registration is successful, if so, step S107 is executed, and if not, step S108 is executed.
S107, the modem records the current position information of the mobile terminal.
In the embodiment of the present invention, the current Location information of the mobile terminal indicates a logical Location of the mobile terminal in the mobile communication network, and the Location information may be a Cell Identity (CID), a Location Area Code (LAC), a Location tracking Area, or the like. If the registration of the network using the second protocol stack is successful, the modem records the current location information of the mobile terminal. By implementing the embodiment of the invention, the abnormal condition of the modem can be quickly detected when the modem can not normally communicate, and the communication of the modem can be automatically recovered to be normal by switching other protocol stacks to carry out network registration, thereby avoiding the problem of overlong time consumption caused by forcibly restarting a mobile phone or updating a position and quickly recovering the network to be normal.
S108, the modem restores default protocol stack switch states in a plurality of supported protocol stacks and/or resets the modem.
In the embodiment of the present invention, a process of the modem recovering the on-off state of a default protocol stack in a plurality of protocol stacks supported by the modem may be understood as a reset process of the protocol stack; and the process of resetting the modem may be understood as restoring the factory settings of the modem. It is understood that the default protocol stack here may be the first protocol stack or other protocol stacks other than the first protocol stack. It should be noted that, if the default protocol stack in this embodiment is the first protocol stack (i.e. the protocol stack that has been closed and causes the exception to the dedicated bearer processing), this step is equivalent to restarting the first protocol stack. The default protocol stack is a preset protocol stack, and the default protocol stack may be one of a plurality of protocol stacks supported by the modem. If the network registration by using the second protocol stack fails, the modem starts a preset default protocol stack and performs reset operation on the modem, and after the reset operation, the modem works by using the default protocol stack.
And S109, restarting the modem.
In the embodiment of the invention, when the common module in the modem is judged to be abnormal, namely the configuration parameters in the modem are incorrect, the modem is restarted, and the configuration parameters in the modem are configured into default parameters.
In the embodiment of the invention, when the modem detects the abnormality of the modem in the mobile terminal, whether a public module in the modem is abnormal is judged; when a public module in the modem is normal, the modem determines that a protocol stack in the modem is abnormal and acquires a first protocol stack currently used by the modem; the modem judges whether the modem abnormality of the preset times occurs within a preset time range; when the modem with preset times is abnormal within a preset time range, the modem closes the first protocol stack and selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem; the modem starts a second protocol stack and uses the second protocol stack to perform network registration; when the network registration is successful, the modem records the current position information of the mobile terminal; when network registration fails, the modem restores a default protocol stack switch state in the plurality of protocol stacks supported and/or resets the modem. By implementing the embodiment of the invention, the modem automatically restores the normal communication by switching other protocol stacks to carry out network registration, thereby avoiding the problem of overlong time consumption caused by forcibly restarting the mobile phone and quickly restoring the normal network.
Referring to fig. 2, fig. 2 is a flowchart illustrating another method for handling network communication function abnormality according to an embodiment of the present invention. As shown in fig. 2, the method for processing a network exception described in this embodiment includes the steps of:
s200, the modem detects whether the modem in the mobile terminal is abnormal, if so, step S201 is executed, and if not, step S200 is continuously executed.
S201, the modem judges whether the public module in the modem is abnormal, if not, the step S202 is executed, and if so, the step S210 is executed.
S202, the modem determines that the protocol stack in the modem is abnormal, and acquires a first protocol stack currently used by the modem.
S203, the modem determines whether the modem abnormality occurs within a preset time range for a preset number of times, if so, performs step S204, and if not, performs step S210.
S204, the modem closes the first protocol stack, and selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem.
S205, the modem starts a second protocol stack and uses the second protocol stack to perform network registration.
S206, the modem determines whether the network registration is successful, if so, executes step S207, otherwise, executes step S209.
And S207, the modem records the current position information of the mobile terminal.
S208, the modem detects whether the location information of the mobile terminal changes, if so, performs step S209, otherwise, continues to perform step S208.
In the embodiment of the present invention, the Location information may be a Cell Identity (CID) or a Location Area Code (LAC), and after recording the current Location information of the mobile terminal, the modem periodically acquires the Location information of the mobile terminal, and compares the periodically acquired Location information with the recorded Location information; when the periodically acquired position information changes compared with the recorded position information, step S209 is executed, otherwise, the position information continues to be acquired. For example, the location information is a cell identifier, and the mobile terminal moves from one cell to another cell to indicate that the location information changes; the position information is a position area code, and the mobile terminal moves from one position area to another position area to indicate that the position information changes. The period of the modem acquiring the location information is not limited in the present invention, and can be set according to actual requirements.
S209, the modem restores default protocol stack switch states in the plurality of protocol stacks supported and/or resets the modem.
And S210, restarting the modem.
Steps S200 to S207 in the embodiment of the present invention may refer to steps S100 to S107 shown in fig. 1, and steps S209 to S210 may refer to steps S108 to S109 shown in fig. 1, which are not described again in the embodiment of the present invention.
In the embodiment of the invention, when the modem detects that the modem in the mobile terminal is abnormal, the modem judges whether a public module in the modem is abnormal or not; when a public module in the modem is normal, the modem determines that a protocol stack in the modem is abnormal and acquires a first protocol stack currently used by the modem; the modem judges whether the modem abnormality of the preset times occurs within a preset time range; when the modem with preset times is abnormal within a preset time range, the modem closes the first protocol stack and selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem; the modem starts a second protocol stack and uses the second protocol stack to perform network registration; when the network registration is successful, the modem records the current position information of the mobile terminal; the modem detects whether the position information of the mobile terminal changes, if so, the modem restores the default protocol stack switch state in a plurality of supported protocol stacks and/or resets the modem; when network registration fails, the modem restores a default protocol stack switch state in the plurality of protocol stacks supported and/or resets the modem. By implementing the embodiment of the invention, the modem automatically restores the normal communication by switching other protocol stacks to carry out network registration, thereby avoiding the problem of overlong time consumption caused by forcibly restarting the mobile phone and quickly restoring the normal network.
Referring to fig. 3, fig. 3 is a flowchart illustrating another method for handling network communication function abnormality according to an embodiment of the present invention. As shown in fig. 3, the method for processing a network exception described in this embodiment includes the steps of:
s300, the modem detects whether the modem in the mobile terminal is abnormal, if so, the step S301 is executed, and if not, the step S300 is continuously executed.
S301, the modem determines whether the common module in the modem is abnormal, if not, step S302 is executed, and if so, step S313 is executed.
S302, the modem determines that the protocol stack in the modem is abnormal, and acquires a first protocol stack currently used by the modem.
S303, the modem determines whether the modem abnormality occurs within a preset time range for a preset number of times, if so, performs step S304, and if not, performs step S313.
S304, the modem closes the first protocol stack and selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem.
S305, the modem starts a second protocol stack and uses the second protocol stack for network registration.
S306, the modem determines whether the network registration is successful, if so, executes step S307, otherwise, executes step S309.
S307, the modem records the current location information of the mobile terminal.
S308, the modem detects whether the location information of the mobile terminal changes, if so, performs step S309, otherwise, continues to perform step S308.
S309, the modem restores default protocol stack switch states in the plurality of protocol stacks supported and/or resets the modem.
S310, the modem judges whether the abnormal reason of the modem in the mobile terminal is reported, if not, the step 311 is executed, if yes, the step 300 is executed.
S311, the modem acquires the abnormal reason of the abnormal modem and the abnormal log of the modem.
In the embodiment of the invention, when the modem detects that the abnormal reason of the modem is not reported, the modem acquires the abnormal reason of the modem and the abnormal log of the modem. The modem abnormality log is used to record the time when the modem is abnormal, the initial position information of the mobile terminal when the abnormality occurs, the cause of the modem abnormality, the solution of the modem abnormality, and the like.
S312, the modem reports the abnormal reason of the abnormal modem and the abnormal log of the modem to the network and/or displays the abnormal reason of the abnormal modem.
In the embodiment of the invention, the modem reports the abnormal reason of the modem and the abnormal log of the modem to the network, wherein the modem can report the abnormal reason of the modem and the abnormal log of the modem to the network through the WIFI hotspot under the condition that the mobile terminal is connected with the WIFI hotspot, so that the flow is saved. Or the modem can also display the abnormal reason of the abnormal modem on a display screen of the mobile terminal for the user to check. By implementing the embodiment of the invention, the network abnormity caused by similar modem abnormity can be conveniently and quickly solved in the follow-up process by reporting the reason of the abnormity of the modem, the current position information of the modem and the abnormity log of the modem.
In some possible embodiments, step S312 may include:
and the modem scans surrounding wifi hotspots and reports recorded abnormal reasons of modem abnormality and abnormal modem logs to a network side through the wifi hotspots after establishing communication connection with the wifi hotspots.
And S313, restarting the modem.
Some steps in the embodiment of the present invention may be executed in parallel, for example, step S308 and step S310 may be executed in parallel, step S300 to step S309 in the embodiment of the present invention may refer to step S200 to step S209 shown in fig. 2, and step S313 may refer to step S210 shown in fig. 2, which is not described again in the embodiment of the present invention.
In the embodiment of the invention, when the modem detects that the modem in the mobile terminal is abnormal, the modem judges whether a public module in the modem is abnormal or not; when a public module in the modem is normal, the modem determines that a protocol stack in the modem is abnormal and acquires a first protocol stack currently used by the modem; the modem judges whether the modem abnormality of the preset times occurs within a preset time range; when the modem with preset times is abnormal within a preset time range, the modem closes the first protocol stack and selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem; the modem starts a second protocol stack and uses the second protocol stack to perform network registration; when the network registration is successful, the modem records the current position information of the mobile terminal; the modem detects whether the position information of the mobile terminal changes, if so, the modem restores the default protocol stack switch state in a plurality of supported protocol stacks and/or resets the modem; the modem judges whether the abnormal reason of the modem in the mobile terminal is reported or not, if not, the modem obtains the abnormal reason of the modem and the abnormal log of the modem; the modem reports the abnormal reason of the abnormal modem and the abnormal log of the modem to the network and/or displays the abnormal reason of the abnormal modem; when network registration fails, the modem restores a default protocol stack switch state in the plurality of protocol stacks supported and/or resets the modem. By implementing the embodiment of the invention, the modem automatically restores the normal communication by switching other protocol stacks to carry out network registration, the problem of overlong time consumption caused by forcibly restarting the mobile phone is avoided, the network normal can be quickly restored, and the network abnormality caused by similar modem abnormality can be conveniently and quickly solved in the follow-up process by reporting the reason of the modem abnormality, the current position information of the modem and the abnormal log of the modem.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a modem according to an embodiment of the present invention. As shown in fig. 4, the modem described in this embodiment includes a detection unit 400, a first judgment unit 401, a determination unit 402, a first acquisition unit 403, a second judgment unit 404, a selection unit 405, a registration unit 406, a recording unit 407, a recovery unit 408, and a restart unit 412, where:
a detecting unit 400 for detecting whether a modem in the mobile terminal is abnormal.
A first judging unit 401, configured to detect that a modem in the mobile terminal is abnormal; it is determined whether a common module within the modem is abnormal.
In the embodiment of the present invention, when the detecting unit 400 detects that the modem in the mobile terminal is abnormal, the first determining unit 401 determines whether the common module in the modem is abnormal. A Modem (Modem) in the mobile terminal is used to convert data to be transmitted into radio frequency signals and convert received radio frequency signals into data to be processed, process signaling of an Access Stratum (AS) and a non-access stratum (NAS), and the Modem is also used to interface with an AP processor, etc. The modem comprises a public module and a protocol stack, wherein the public module is used for configuring configuration parameters in the modem; the protocol stack represents a sum of a plurality of protocols corresponding to a certain communication system, for example: the Protocol stack includes a GSM Protocol stack, an EDGE Protocol stack, an HSPDA Protocol stack, a TD-SCDMA Protocol stack, a TDD-LTE Protocol stack, an FDD-LTE Protocol stack, etc., and a plurality of sub Protocol stacks are further included below each communication system Protocol stack, for example, the LTE Protocol stack includes a physical layer Protocol, an MAC layer Protocol (Multiple Access Control Protocol), an RRC Protocol (Radio Resource Control Protocol), a PDCP Protocol ((Packet Data Convergence Protocol), etc., and details thereof are omitted herein.
A determining unit 402, configured to determine that a protocol stack in the modem is abnormal when the first determining unit 401 determines that the result is negative.
A first obtaining unit 403, configured to obtain a first protocol stack currently used by the modem when the determining unit 402 determines that the protocol stack in the modem is abnormal.
In this embodiment of the present invention, when the first determining unit 401 determines that the common module in the modem is normal, the determining unit 402 determines that the protocol stack in the modem is abnormal, and the first obtaining unit 403 obtains a first protocol stack currently used by the modem, where the first protocol stack is a protocol stack causing the modem to be abnormal.
A second determining unit 404, configured to determine whether a modem abnormality occurs within a preset time range for a preset number of times, trigger the selecting unit 405 when the determination result of the second determining unit 404 is yes, and trigger the restarting unit 412 when the determination result of the second determining unit 404 is no.
In this embodiment of the present invention, the second determining unit 404 determines whether the modem abnormality occurs within a preset time range for a preset number of times, where the preset time and the preset number of times may be preset, for example, the preset time may be set to 24 hours, and the preset number of times may be set to 3 times.
A selecting unit 405, configured to close the first protocol stack and select a second protocol stack except the first protocol stack from the multiple protocol stacks supported by the modem when the determination result of the second determining unit 404 is yes.
In this embodiment of the present invention, when the second determining unit 404 determines that the modem abnormality occurs within the preset time range for the preset number of times, the selecting unit 405 closes the first protocol stack causing the modem abnormality, and selects the second protocol stack except the first protocol stack from the plurality of protocol stacks supported by the modem, and the selecting unit 405 closes the first protocol stack, so as to prevent the modem abnormality from occurring repeatedly. The selection unit 405 may also acquire a processing method for a modem abnormality before occurrence from the network and solve the modem abnormality in this method. The selecting unit 405 selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem, wherein the policy selected by the selecting unit 405 may be: selecting a protocol stack one level lower than the first protocol stack as a second protocol stack; or measuring the signal intensity of cell signals corresponding to each surrounding protocol stack, and taking the protocol stack with the maximum signal intensity as a second protocol stack; or selecting a protocol stack one level higher than the first protocol stack as a second protocol stack; or other strategies may be used to determine the second protocol stack, and the invention is not limited in this respect.
And a registering unit 406, configured to start the second protocol stack and perform network registration using the second protocol stack.
In this embodiment of the present invention, after the selecting unit 405 closes the first protocol stack, the mobile terminal is converted from a service state to a service-free state, the registering unit 406 opens the selected second protocol stack, and performs network registration using the second protocol stack, for example, the LTE network registration process is as follows: the mobile terminal initiates an attach request (attach request) to the network side, if the network side allows the mobile terminal to access, an attach response (attach accept) is returned to the mobile terminal, which indicates that the network registration is successful, and the mobile terminal is converted from a non-service state to a service state; if the network side does not allow the mobile terminal to access, returning rejection/error information to the mobile terminal, which indicates that the network registration fails.
A recording unit 407, configured to record current location information of the mobile terminal when the network registration is successful.
In the embodiment of the present invention, when the network registration using the second protocol stack is successful, the recording unit 407 records the current location information of the mobile terminal. The current Location information of the mobile terminal indicates a logical Location of the mobile terminal in the mobile communication network, and the Location information may be a Cell Identity (CID), a Location Area Code (LAC), a Location tracking Area, or the like. By implementing the embodiment of the invention, the abnormal condition of the modem can be quickly detected when the modem can not normally communicate, and the communication of the modem can be automatically recovered to be normal by switching other protocol stacks to carry out network registration, thereby avoiding the problem of overlong time consumption caused by forcibly restarting a mobile phone or updating a position and quickly recovering the network to be normal.
A recovery unit 408 for recovering a default protocol stack switch state in the supported plurality of protocol stacks and/or resetting the modem when the network registration fails.
In this embodiment of the present invention, when the network registration using the second protocol stack fails, the recovery unit 408 recovers the default protocol stack switch state in the supported multiple protocol stacks, and/or resets the modem, and after the reset operation, the modem uses the default protocol stack to operate. The default protocol stack is a preset protocol stack, and the default protocol stack may be one of a plurality of protocol stacks supported by the modem.
A restart unit 412 for restarting the modem.
In this embodiment of the present invention, when the first determining unit 401 determines that the common module in the modem is abnormal, that is, the configuration parameter in the modem is incorrect, the restarting unit 412 is triggered to restart the modem, and the configuration parameter in the modem is configured as the default parameter.
In the embodiment of the present invention, when the detecting unit 400 detects that the modem in the mobile terminal is abnormal, the first determining unit 401 determines whether the common module in the modem is abnormal; when a common module in the modem is normal, the determining unit 402 determines that a protocol stack in the modem is abnormal, and the first obtaining unit 403 obtains a first protocol stack currently used by the modem; the second determining unit 404 determines whether a modem abnormality occurs within a preset time range for a preset number of times; when the modem is abnormal for a preset number of times within a preset time range, the selecting unit 405 closes the first protocol stack and selects a second protocol stack other than the first protocol stack from a plurality of protocol stacks supported by the modem; the registration unit 406 starts the second protocol stack, and performs network registration using the second protocol stack; when the network registration is successful, the recording unit 407 records the current location information of the mobile terminal; when the network registration fails, the recovery unit 408 recovers a default protocol stack switch state in the plurality of protocol stacks supported and/or resets the modem. By implementing the embodiment of the invention, the modem automatically restores the normal communication by switching other protocol stacks to carry out network registration, thereby avoiding the problem of overlong time consumption caused by forcibly restarting the mobile phone and quickly restoring the normal network.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another modem according to an embodiment of the present invention. As shown in fig. 5, the modem described in this embodiment includes the detecting unit 400, the first judging unit 401, the determining unit 402, the first obtaining unit 403, the second judging unit 404, the selecting unit 405, the registering unit 406, the recording unit 407, the recovering unit 408, and the restarting unit 412 shown in fig. 4, where:
the detecting unit 400 is further configured to detect whether the location information of the mobile terminal changes.
In this embodiment of the present invention, the Location information may be a Cell Identity (CID) or a Location Area Code (LAC), and after recording the current Location information of the mobile terminal, the recording unit 407 periodically obtains the Location information of the mobile terminal by the detecting unit 400, and compares the periodically obtained Location information with the recorded Location information; when the periodically acquired location information changes compared to the recorded location information, the recovery unit 408 is triggered to recover a default protocol stack switch state in the supported plurality of protocol stacks and/or reset the modem, otherwise, the location information continues to be acquired. For example, the location information is a cell identifier, and the mobile terminal moves from one cell to another cell to indicate that the location information changes; the position information is a position area code, and the mobile terminal moves from one position area to another position area to indicate that the position information changes. The period of the modem acquiring the location information is not limited in the present invention, and can be set according to actual requirements.
When the detection unit 400 detects that the location information of the mobile terminal has changed, the restoration unit 408 restores a default protocol stack switch state among the plurality of protocol stacks supported and/or resets the modem.
In the embodiment of the present invention, when the detecting unit 400 detects that the modem in the mobile terminal is abnormal, the first determining unit 401 determines whether the common module in the modem is abnormal; when a common module in the modem is normal, the determining unit 402 determines that a protocol stack in the modem is abnormal, and the first obtaining unit 403 obtains a first protocol stack currently used by the modem; the second determining unit 404 determines whether a modem abnormality occurs within a preset time range for a preset number of times; when the modem is abnormal for a preset number of times within a preset time range, the selecting unit 405 closes the first protocol stack and selects a second protocol stack other than the first protocol stack from a plurality of protocol stacks supported by the modem; the registration unit 406 starts the second protocol stack, and performs network registration using the second protocol stack; when the network registration is successful, the recording unit 407 records the current location information of the mobile terminal; the detecting unit 400 detects whether the location information of the mobile terminal changes, and when the detecting unit 400 detects that the location information of the mobile terminal changes, the recovering unit 408 recovers a default protocol stack switch state of a plurality of supported protocol stacks and/or resets the modem; when the network registration fails, the recovery unit 408 recovers a default protocol stack switch state in the plurality of protocol stacks supported and/or resets the modem. By implementing the embodiment of the invention, the modem automatically restores the normal communication by switching other protocol stacks to carry out network registration, thereby avoiding the problem of overlong time consumption caused by forcibly restarting the mobile phone and quickly restoring the normal network.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another modem according to an embodiment of the present invention. As shown in fig. 6, the modem described in this embodiment includes, in addition to the detecting unit 400, the first judging unit 401, the determining unit 402, the first obtaining unit 403, the second judging unit 404, the selecting unit 405, the registering unit 406, the recording unit 407, the recovering unit 408, and the restarting unit 412 shown in fig. 5, a third judging unit 409, a second obtaining unit 410, and a reporting unit 411, where:
a third determining unit 409, configured to determine whether an abnormal reason for an abnormality of the modem in the mobile terminal is reported after the recovering unit 408 recovers the default protocol stack switch states in the supported multiple protocol stacks and/or resets the modem, if yes, trigger the detecting unit 400, and if not, trigger the second obtaining unit 410.
A second obtaining unit 410, configured to obtain an abnormality cause of the modem abnormality and a modem abnormality log when the third judging unit 409 judges that the result is no.
In the embodiment of the present invention, the third determining unit 409 determines whether an abnormal reason of the modem in the mobile terminal is reported, and if not, the second obtaining unit 410 obtains the abnormal reason of the modem and the abnormal log of the modem. The modem abnormality log is used to record the time when the modem is abnormal, the initial position information of the mobile terminal when the abnormality occurs, the cause of the modem abnormality, the solution of the modem abnormality, and the like.
The reporting unit 411 is configured to report the abnormal reason of the modem abnormality and the abnormal modem log acquired by the second acquiring unit 410 to a network and/or display the abnormal reason of the modem abnormality.
In the embodiment of the present invention, the reporting unit 411 reports the abnormal reason of the modem abnormality and the abnormal log of the modem to the network, where the reporting unit 411 may report the abnormal reason of the modem abnormality and the abnormal log of the modem to the network through the WIFI hotspot when the mobile terminal is connected to the WIFI hotspot, so as to save traffic. Or the reporting unit 411 may also display the abnormal reason of the modem abnormality on the display screen of the mobile terminal for the user to check. By implementing the embodiment of the present invention, the reporting unit 411 is used for conveniently and rapidly solving the network abnormality caused by the similar modem abnormality by reporting the reason of the modem abnormality, the current position information of the modem and the modem abnormality log.
Optionally, the manner of reporting the abnormal reason of the modem abnormality and the abnormal log of the modem to the network by the reporting unit 411 is specifically as follows:
the reporting unit 411 scans surrounding wifi hotspots and reports recorded abnormal reasons of modem abnormality and abnormal modem logs to the network side through the wifi hotspots after establishing communication connection with the wifi hotspots.
In the embodiment of the present invention, when the detecting unit 400 detects that the modem in the mobile terminal is abnormal, the first determining unit 401 determines whether the common module in the modem is abnormal; when a common module in the modem is normal, the determining unit 402 determines that a protocol stack in the modem is abnormal, and the first obtaining unit 403 obtains a first protocol stack currently used by the modem; the second determining unit 404 determines whether a modem abnormality occurs within a preset time range for a preset number of times; when the modem is abnormal for a preset number of times within a preset time range, the selecting unit 405 closes the first protocol stack and selects a second protocol stack other than the first protocol stack from a plurality of protocol stacks supported by the modem; the registration unit 406 starts the second protocol stack, and performs network registration using the second protocol stack; when the network registration is successful, the recording unit 407 records the current location information of the mobile terminal; the detecting unit 400 detects whether the location information of the mobile terminal changes, and when the detecting unit 400 detects that the location information of the mobile terminal changes, the recovering unit 408 recovers a default protocol stack switch state of a plurality of supported protocol stacks and/or resets the modem; the third judging unit 409 judges whether the abnormal reason of the modem in the mobile terminal is reported; when the third judging unit 409 judges that the result is negative, the second obtaining unit 410 obtains the abnormal reason of the modem abnormality and the modem abnormality log; the reporting unit 411 reports the abnormal reason of the modem abnormality and the abnormal modem log acquired by the second acquiring unit 410 to the network and/or displays the abnormal reason of the modem abnormality; when the network registration fails, the recovery unit 408 recovers a default protocol stack switch state in the plurality of protocol stacks supported and/or resets the modem. By implementing the embodiment of the invention, the modem automatically restores the normal communication by switching other protocol stacks to carry out network registration, thereby avoiding the problem of overlong time consumption caused by forcibly restarting the mobile phone and quickly restoring the normal network. And when the position information of the mobile terminal changes, the protocol stack abnormity in the modem can be rapidly solved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, as shown in fig. 7, the mobile terminal includes an application processor 1001, a modem 1002, and a memory 1003, the memory 1003 is used for storing a processing program for a network exception, the application processor 1001 is connected to the modem 1002 and the memory 1003 through a bus, the application processor 1001 is connected to the modem 1002 through a universal asynchronous transceiver (URAT) interface or a Dual Port memory (Dual Port RAM) interface, where the modem 1002 includes a plurality of protocol stacks 10021 and a common module 10022, and the common module 10022 is used for configuring configuration parameters in the modem 1002. Modem 1002 invokes a handler for the network exception from memory 1003 to perform the following steps:
when modem 1002 detects abnormality of modem 1002 in mobile terminal, it determines whether public module 10022 in modem 1002 is abnormal;
when the common module 10022 in the modem 1002 is normal, the modem 1002 determines that a protocol stack in the modem 1002 is abnormal, and acquires a first protocol stack currently used by the modem 1002;
the modem 1002 judges whether the modem 1002 abnormality occurs a preset number of times within a preset time range;
when the modem 1002 is abnormal for a preset number of times within a preset time range, the modem 1002 closes the first protocol stack, and selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem 1002;
the modem 1002 starts a second protocol stack, and performs network registration using the second protocol stack;
when the network registration is successful, the modem 1002 records current location information of the mobile terminal.
In one embodiment, when network registration fails, modem 1002 restores a default protocol stack of a plurality of protocol stacks supported by modem 1002 or performs a reset operation on modem 1002.
In one embodiment, before modem 1002 determines whether common module 10022 in modem 1002 is abnormal, the following operations are further performed:
the modem 1002 records the time when an abnormality occurs in the modem 1002 and the initial position information of the mobile terminal when an abnormality occurs in the modem 1002, and records the time when an abnormality occurs in the modem 1002 and the initial position information of the mobile terminal when an abnormality occurs in the modem 1002 in a modem abnormality log.
In one embodiment, after modem 1002 records current location information of the mobile terminal, the following operations are performed:
the modem 1002 judges whether the current location information of the mobile terminal matches the initial location information of the mobile terminal;
when the current location information of the mobile terminal is not matched with the initial location information of the mobile terminal, the modem 1002 acquires an initial switch state corresponding to each protocol stack in a plurality of protocol stacks supported by the modem 1002 before the modem 1002 is abnormal;
the modem 1002 restores the current switching state corresponding to each of the plurality of protocol stacks supported by the modem 1002 to the initial switching state.
In one embodiment, after the modem 1002 restores the current switching state corresponding to each protocol stack in the plurality of protocol stacks supported by the modem 1002 to the initial switching state, the following operations are further performed:
the modem 1002 judges whether the abnormal reason of the abnormal modem 1002 in the mobile terminal is reported;
when the abnormal reason of the modem 1002 abnormality is not reported, the modem 1002 acquires the abnormal reason of the modem 1002 abnormality and a modem abnormality log;
the modem 1002 reports the abnormal cause of the modem 1002 abnormality and a modem abnormality log to the network and/or displays the abnormal cause of the modem 1002 abnormality.
It can be seen that, with the mobile terminal described in fig. 7, the modem automatically recovers the normal communication by switching to other protocol stacks for network registration, thereby avoiding the problem of long time consumption caused by forcibly restarting the mobile phone, and being capable of rapidly recovering the normal network.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The method for processing network communication function abnormality, the modem and the mobile terminal provided by the embodiment of the present invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. A method for processing network communication function abnormity is characterized by comprising the following steps:
when the modem detects that the modem in the mobile terminal is abnormal, judging whether a public module in the modem is abnormal or not; the public module is used for configuring configuration parameters in the modem; after restarting the modem, the configuration parameters in the modem are configured as default parameters;
when a public module in the modem is normal, the modem determines that a protocol stack in the modem is abnormal, and acquires a first protocol stack currently used by the modem;
the modem judges whether the modem abnormality occurs for a preset number of times within a preset time range; when the modem is abnormal within the preset time range for the preset times, the modem closes the first protocol stack and selects a second protocol stack except the first protocol stack from a plurality of protocol stacks supported by the modem;
the modem starts the second protocol stack and uses the second protocol stack to perform network registration;
when the network registration is successful, the modem records the current position information of the mobile terminal; when the network registration fails, the modem restores the default protocol stack switch state in the plurality of supported protocol stacks, resets the modem, and performs network registration using the default protocol stack after resetting the modem.
2. The method of claim 1, wherein after the modem records current location information of the mobile terminal, the method further comprises:
the modem detects whether the position information of the mobile terminal changes;
if yes, the modem executes the step of restoring the default protocol stack switch state in the supported protocol stacks and/or resetting the modem.
3. The method of claim 2, wherein after the modem restores a default protocol stack switch state in the plurality of protocol stacks supported and/or resets the modem, the method further comprises:
the modem judges whether the abnormal reason of the modem in the mobile terminal is reported or not;
when the abnormal reason of the modem abnormity is not reported, the modem acquires the abnormal reason of the modem abnormity and the abnormal modem log;
and the modem reports the abnormal reason of the abnormal modem and the abnormal modem log to a network and/or displays the abnormal reason of the abnormal modem.
4. The method of claim 3, wherein the modem reporting the cause of the modem anomaly and the modem anomaly log to a network comprises:
and the modem scans surrounding wifi hotspots and reports recorded abnormal reasons of the abnormal modem and abnormal modem logs to the network side through the wifi hotspots after establishing communication connection with the wifi hotspots.
5. A modem, comprising:
a first judging unit for detecting the abnormal state of the modem in the mobile terminal; judging whether a public module in the modem is abnormal or not; the public module is used for configuring configuration parameters in the modem; after restarting the modem, the configuration parameters in the modem are configured as default parameters;
the determining unit is used for determining that a protocol stack in the modem is abnormal when the judging result of the first judging unit is negative;
a first obtaining unit, configured to obtain a first protocol stack currently used by the modem when the determining unit determines that the protocol stack in the modem is abnormal;
a second judging unit, configured to judge whether the modem abnormality occurs within a preset time range for a preset number of times;
a selecting unit, configured to close the first protocol stack and select a second protocol stack except the first protocol stack from multiple protocol stacks supported by the modem when the determination result of the second determining unit is yes;
a registration unit, configured to start the second protocol stack and perform network registration by using the second protocol stack;
a recording unit, configured to record current location information of the mobile terminal when the network registration is successful;
and the recovery unit is used for recovering the default protocol stack switch state in the supported protocol stacks when the network registration fails, resetting the modem, and performing network registration by using the default protocol stack after resetting the modem.
6. The modem of claim 5, further comprising:
the detection unit is used for detecting whether the position information of the mobile terminal changes;
the recovery unit is further configured to recover a default protocol stack switch state in the supported protocol stacks and/or reset the modem when the detection unit detects that the location information of the mobile terminal changes.
7. The modem of claim 6, further comprising:
a third determining unit, configured to determine whether an abnormal reason for an abnormality of the modem in the mobile terminal is reported after the recovering unit recovers the current on-off state corresponding to each of the plurality of protocol stacks supported by the modem to the initial on-off state;
a second obtaining unit, configured to obtain an abnormal reason for the modem abnormality and the modem abnormality log when the third determining unit determines that the modem is abnormal;
and the reporting unit is used for reporting the abnormal reason of the abnormal modem and the abnormal modem log acquired by the second acquiring unit to a network and/or displaying the abnormal reason of the abnormal modem.
8. The modem according to claim 7, wherein the reporting unit reports the abnormal cause of the modem abnormality and the abnormal modem log to a network in a manner that:
and the reporting unit scans surrounding wifi hotspots and reports recorded abnormal reasons of the abnormal modem and abnormal modem logs to the network side through the wifi hotspots after establishing communication connection with the wifi hotspots.
9. A mobile terminal, characterized in that it comprises a modem according to any of claims 5 to 8.
10. A mobile terminal, comprising: the device comprises an application processor, a modem and a memory, wherein the memory is used for storing a processing program of network exception, and the modem comprises a plurality of protocol stacks and a common module; the application processor calls a network exception handler from the memory to execute the method of any one of claims 1 to 4.
11. A storage medium having stored thereon program instructions which, when executed by an application processor, implement the method of any one of claims 1 to 4.
CN201810350598.5A 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and mobile terminal Active CN108419262B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810350598.5A CN108419262B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810350598.5A CN108419262B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and mobile terminal
CN201510830467.3A CN105491610B (en) 2015-11-24 2015-11-24 Processing method, modem and the mobile terminal of network communicating function exception

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510830467.3A Division CN105491610B (en) 2015-11-24 2015-11-24 Processing method, modem and the mobile terminal of network communicating function exception

Publications (2)

Publication Number Publication Date
CN108419262A CN108419262A (en) 2018-08-17
CN108419262B true CN108419262B (en) 2021-08-24

Family

ID=55678241

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810350598.5A Active CN108419262B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and mobile terminal
CN201510830467.3A Active CN105491610B (en) 2015-11-24 2015-11-24 Processing method, modem and the mobile terminal of network communicating function exception

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201510830467.3A Active CN105491610B (en) 2015-11-24 2015-11-24 Processing method, modem and the mobile terminal of network communicating function exception

Country Status (1)

Country Link
CN (2) CN108419262B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102317B (en) * 2007-06-29 2010-09-29 中兴通讯股份有限公司 Multi-protocol stack connection device and method
CN101572899A (en) * 2009-05-31 2009-11-04 中兴通讯股份有限公司 Switching device based on multi-system network and method thereof
CN102413529A (en) * 2011-11-28 2012-04-11 青岛海信移动通信技术股份有限公司 Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal
CN104081826B (en) * 2012-03-16 2018-04-13 Lg 电子株式会社 Method and apparatus for handling NAS signaling request in a wireless communication system
KR102008842B1 (en) * 2012-11-22 2019-08-08 삼성전자주식회사 Apparatus and method for selecting network in communication system
CN104469901B (en) * 2013-09-17 2018-09-07 华为终端(东莞)有限公司 The method and device of data processing

Also Published As

Publication number Publication date
CN105491610A (en) 2016-04-13
CN105491610B (en) 2018-06-29
CN108419262A (en) 2018-08-17

Similar Documents

Publication Publication Date Title
EP3337245B1 (en) Method and apparatus for handling abnormality of network communication function and storage medium
US20230224992A1 (en) Inter-system ping-pong suppression method, apparatus, terminal and storage medium
CN105376773A (en) Network communication function anomaly processing method, application processor and mobile terminal
EP3099115A1 (en) Communication system, terminal and communication method
CN105357053A (en) Network communication functional abnormity processing method, application processor and user terminal
CN105376785A (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN108419258B (en) Processing method for network communication function abnormity, modem and mobile terminal
CN108738054B (en) Processing method for network communication function abnormity, modem, mobile terminal and storage medium
CN108601018B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN112806073A (en) Communication processing method, communication processing device, mobile terminal and storage medium
CN105357049A (en) Network communication functional abnormity processing method, application processor and mobile terminal
CN101848535A (en) Method for initiating registration to communication network by using terminal and terminal
CN105338663A (en) Method for treating network communication function abnormity, modem and mobile terminal
CN105634794B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN108419262B (en) Processing method for network communication function abnormity, modem and mobile terminal
CN108347740B (en) Processing method for network communication function abnormity and application processor
CN108684054B (en) Processing method for network communication function abnormity, modem and mobile terminal
CN108390789B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105491604A (en) Network communication function abnormality processing method, modulator-demodulator and user terminal
CN108683525B (en) Processing method for network communication function abnormity, modem and mobile terminal
CN108307417B (en) Processing method for network communication function abnormity, modem and mobile terminal
CN105515824A (en) Processing method for network communication function abnormity and modem
CN108200227B (en) Method and device for processing network communication function abnormity and mobile terminal
CN108282804B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN105376873A (en) Method for handling network communication function exception, modulator-demodulator and mobile terminal

Legal Events

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

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

Applicant after: OPPO Guangdong Mobile Communications Co.,Ltd.

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant