CN108684056B - Processing method, modem, mobile terminal and the storage medium of network communicating function exception - Google Patents

Processing method, modem, mobile terminal and the storage medium of network communicating function exception Download PDF

Info

Publication number
CN108684056B
CN108684056B CN201810489163.9A CN201810489163A CN108684056B CN 108684056 B CN108684056 B CN 108684056B CN 201810489163 A CN201810489163 A CN 201810489163A CN 108684056 B CN108684056 B CN 108684056B
Authority
CN
China
Prior art keywords
protocol stack
modem
network
location information
protocol
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
CN201810489163.9A
Other languages
Chinese (zh)
Other versions
CN108684056A (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 CN201810489163.9A priority Critical patent/CN108684056B/en
Publication of CN108684056A publication Critical patent/CN108684056A/en
Application granted granted Critical
Publication of CN108684056B publication Critical patent/CN108684056B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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 kind of processing methods of network communicating function exception, comprising: after modem detects that protocol stack registration is rejected, obtains the first currently used protocol stack of modem;Modem closes the first protocol stack, and selection removes the second protocol stack of the first protocol stack from multiple protocol stacks that modem is supported;Modem opens second protocol stack, and carries out network registry using second protocol stack;If network registry success, modem record current location information.The embodiment of the invention also discloses a kind of modem and mobile terminals.Using the present invention, the exception of network communicating function can be quickly detected and restored.

Description

Processing method, modem, mobile terminal and the storage of network communicating function exception Medium
Technical field
The present invention relates to the processing method of the communications field more particularly to a kind of network communicating function exception, modem, Mobile terminal and storage medium.
Background technique
With the development of communication technology, the type for the communication standard that mobile phone is supported is more and more, such as: a mobile phone is simultaneously The communication standard for supporting 2G, 3G and 4G of different operators saves the inconvenience of replacement mobile phone.The high speed development of mobile Internet makes Data service occupies absolute specific gravity, so that the effect of the modem in mobile phone and status become more and more important, modem For by data to be sent be converted to radiofrequency signal and by radiofrequency signal be converted to pending data, processing access layer (AS) and The signaling of Non-Access Stratum (NAS) and interface etc. is carried out with AP processor.Mobile network environment locating for mobile phone is very multiple Miscellaneous, mobile phone often switches between different communication standards, often occurs during communication standard switching different Often, mobile phone can not normal Networked communication, such as protocol stack registration be rejected.In order to solve can not Networked communication exception, at present Frequently with solution be: when mobile phone is moved to the new band of position, updates and request to network side launch position, network stresses Newly mobile phone is configured, restores the configuration parameter of modem;Or user has found after being unable to Networked communication for a long time, manually Mobile terminal is carried out forcing to restart recovery or the configuration parameter of modem is set.But the time that two schemes expend Too long, user is difficult to endure.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing a kind of processing side of network communicating function exception Method, modem and mobile terminal can not be automatic with solve to be abnormal in the prior art can not be in the case where Networked communication It attempts to restore or restore the problem of communication service takes long time.
In order to solve the above-mentioned technical problem, it is abnormal to provide a kind of network communicating function for first aspect of the embodiment of the present invention Processing method, comprising:
Modem detects that protocol stack registration is rejected;
The modem obtains the first currently used protocol stack of the modem;
The modem closes first protocol stack, and the multiple protocol stacks supported from the modem Middle selection removes the second protocol stack of first protocol stack;
The modem opens the second protocol stack, and carries out network registry using the second protocol stack;
If network registry success, the modem record current location information.
With reference to first aspect, in the first possible implementation, further includes:
If network registry fails, the default protocol stack in multiple protocol stacks of support described in the modem recovery The switch state of default protocol stack in multiple protocol stacks of support described in switch state or the modem recovery is simultaneously same Modem described in Shi Fuwei.
With reference to first aspect or the first possible implementation, in the second possible implementation, if the net Network succeeds in registration, and the modem records after current location information, further includes:
Default protocol stack when position changes, in multiple protocol stacks of support described in the modem recovery Switch state or the modem recovery described in support multiple protocol stacks in default protocol stack switch state simultaneously The modem is resetted simultaneously.
With reference to first aspect or second of possible implementation of the first possible implementation or first aspect, exist In the third possible implementation, the method also includes:
If the abnormal cause that the protocol stack registration is rejected does not report, the modem obtains the protocol stack note The abnormal cause and log that volume is rejected;
The modem by the abnormal cause, the current location information and log be reported to network side and/ Or user.
The third possible implementation with reference to first aspect, in the fourth possible implementation, the modulation The abnormal cause, the current location information and log are reported to network side and include: by demodulator
Scan around wifi hotspot and with wifi hotspot establish communication connection after, the modem passes through foundation The abnormal cause, the current location information and log are reported to network side by the wifi hotspot of communication connection.
Second aspect of the embodiment of the present invention provides a kind of modem, comprising:
Detection module, for detecting that protocol stack registration is rejected;
Determining module, for obtaining the first currently used protocol stack of the modem;
Selecting module, for closing first protocol stack, and the multiple protocol stacks supported from the modem Middle selection removes the second protocol stack of first protocol stack;
Registration module carries out network registry for opening the second protocol stack, and using the second protocol stack;
Logging modle, if recording current location information for network registry success.
In conjunction with second aspect, in the first possible implementation, the modem further include:
Recovery module, for restoring institute when network registry fails, after network registry success and when position changes State the default in the switch state of the default protocol stack in multiple protocol stacks of support or multiple protocol stacks of the recovery support The switch state of protocol stack simultaneously resets the modem simultaneously.
In conjunction with the possible implementation of the first of second aspect or second aspect, in second of possible implementation In, the modem further include:
Reporting module obtains the protocol stack note if the abnormal cause for protocol stack registration to be rejected does not report The abnormal cause and log that volume is rejected;The abnormal cause, the current location information and log are reported to network side And/or user.
It is in the fourth possible implementation, described to report in conjunction with the third possible implementation of second aspect Module is specifically used for:
Scan around wifi hotspot and with wifi hotspot establish communication connection after, pass through establish communication connection wifi The abnormal cause, the current location information and log are reported to network side by hot spot.
The third aspect of the embodiment of the present invention provides a kind of mobile terminal, including modulation /demodulation described in above-mentioned any one Device.
The implementation of the embodiments of the present invention has the following beneficial effects:
Modem, which detects, closes modem currently used protocol stack when protocol stack registration is rejected, from tune Selection removes other protocol stacks of currently used protocol stack in multiple protocol stacks that modulator-demodulator is supported, opens other protocol stacks simultaneously Current location information is recorded in registered network success using other protocol stack registered networks.In this way modem without Method is quickly detected when working normally, and keeps modem automatic in such a way that other protocol stacks carry out network registry It attempts to restore normal, avoids the problem that forcing to restart to take long time caused by mobile phone or location updating, it is extensive to reduce network failure The multiple time.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of the processing method of network communicating function exception provided in an embodiment of the present invention;
Fig. 2 is a kind of another process signal of the processing method of network communicating function exception provided in an embodiment of the present invention Figure;
Fig. 3 is a kind of another process signal of the processing method of network communicating function exception provided in an embodiment of the present invention Figure;
Fig. 4 is a kind of structural schematic diagram of modem provided in an embodiment of the present invention;
Fig. 5 is a kind of another structural schematic diagram of modem provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, for a kind of process signal of the processing method of network communicating function exception provided in an embodiment of the present invention Figure, in embodiments of the present invention, which comprises
S101, modem detect that protocol stack registration is rejected.
S102, the modem obtain the first currently used protocol stack of the modem.
Specifically, modem is used to baseband signal being converted to radiofrequency signal, and radiofrequency signal is converted into base Band signal, processing access layer (AS) and Non-Access Stratum (NAS) signaling and with AP processor progress interface etc.;Modulation /demodulation Device supports various protocols stack.Due to certain network causes, legal user terminal (User Equipment, abbreviation UE) registers net Network sometimes can also be refused to lead to no service by network, it is necessary to be restarted manually by user and retry registration again, usual reason includes net Signing problem etc. between operator when the failure of network authorizing procedure, international roaming.Such as: UE sends attach request (Attach Request or LAU) after message, (Attach is refused in the attachment that network transmission is received before timer T3410 time-out Reject) message adheres in refuse information the reason of carrying network refusal UE attachment, for example, illegal UE (Illegal ME), EPS service is not allowed to (EPS services not allowed), PLMN is not allowed to (PLMN not allowed), tracking Region is not allowed to (Tracking area not allowed), EPS service is not allowed to.After UE receives attachment refusal Into no service (Out of Service, OOS) state.Protocol stack indicates the total of the corresponding various protocols of some communication standard With, such as: protocol stack includes gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE agreement Stack, FDD-LTE protocol stack etc. include again multiple sub-protocol stacks below each communication standard protocol stack, and details are not described herein again.Modulation Demodulator determines the first currently used protocol stack when detecting that protocol stack registration is rejected.
It should be noted that modem can integrate in the inside of application processor AP, it is also possible to independently of answering With a chip of processor, the present invention is with no restriction.
S103, the modem close first protocol stack, and support from the modem multiple Selection removes the second protocol stack of first protocol stack in protocol stack.
Specifically, the first protocol stack is to cause protocol stack to register the protocol stack that is rejected, modem needs to close the One protocol stack, preventing protocol stack from registering the problem of being rejected repeated.Then, modem determines that modem is supported Multiple protocol stacks in selection remove the first protocol stack second protocol stack, wherein modem selection strategy may is that choosing The protocol stack of level-one lower than the first protocol stack is selected as second protocol stack;Or the corresponding cell signal of each protocol stack of measurement surrounding Signal strength, using the maximum protocol stack of signal strength as second protocol stack;Or selection association more higher leveled than the first protocol stack Stack is discussed as second protocol stack;Or second protocol stack is determined using other strategies, the present invention is with no restriction.
S104, the modem open the second protocol stack, and carry out network note using the second protocol stack Volume.
Specifically, mobile terminal is converted to Idle state by connected state after closing the first protocol stack, modem opens choosing The second protocol stack selected carries out network registry, the process of network registry using second protocol stack are as follows: mobile terminal is sent out to network side It rises attach request (attach request), if network side allows mobile terminal to access, returns to attachment response to mobile terminal (attach response), indicates network registry success, and mobile terminal is converted to connected state by Idle state;If network side is not permitted Perhaps mobile terminal accesses, and returns to error message to mobile terminal, indicates network registry failure.
If the success of S105, network registry, the modem record current location information.
Specifically, location information indicates that logical place, location information can be small mobile terminal in the mobile communication network Area's mark or regional location code or position tracking region etc., the present invention is with no restriction.If using second protocol stack registered network Success, modem record current location information.
Implement the embodiment of the present invention and closes modem when modem detects that protocol stack registration is rejected Currently used protocol stack, other associations of selection except currently used protocol stack from multiple protocol stacks that modem is supported Stack is discussed, other protocol stacks are opened and uses other protocol stack registered networks, in registered network success, records current position letter Breath.It can not be quickly detected when normal communication in modem in this way, and carry out network by switching other protocol stacks The mode of registration makes modem automatically restore the normal of communication, avoids forcing to restart consumption caused by mobile phone or location updating When too long problem, reduce the time of network disaster recovery.
It referring to fig. 2, is a kind of process signal of the processing method of network communicating function exception provided in an embodiment of the present invention Figure, in embodiments of the present invention, which comprises
S201, modem detect that protocol stack registration is rejected.
Specifically, modem is mounted in mobile phone, it can be encapsulated as in application processor AP, or independently of at Device is managed, the present invention is with no restriction.Modem is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to base Band signal, processing access layer (AS) and Non-Access Stratum (NAS) signaling and with AP processor progress interface etc..Due to certain Network cause, legal UE user's registration network sometimes can also be refused to lead to no service by network, it is necessary to be weighed manually by user It opens and retries registration again, signing problem etc. between operator when usual reason includes the failure of network authentication process, international roaming.Example Such as: after UE sends attach request (Attach Request or LAU) message, receiving network before timer T3410 time-out (Attach Reject) message is refused in the attachment of transmission, adheres in refuse information the reason of carrying network refusal UE attachment, example Such as, illegal UE (Illegal ME), EPS are serviced and are not allowed to (EPS services not allowed), PLMN is not allowed to (PLMN not allowed), tracing area are not allowed to (Tracking area not allowed), EPS service is not permitted Perhaps etc..Into no service (Out of Service, OOS) state after UE receives attachment refusal.Protocol stack registration occurs to be refused When exhausted, UE will be into no network service state.Modem can detecte protocol stack registration and be rejected.
S202, the modem obtain the first currently used protocol stack of the modem.
Specifically, protocol stack indicates the summation of the corresponding various protocols stack of some communication standard, and such as: protocol stack includes Gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack Deng, it again include multiple sub-protocol stacks below each communication standard protocol stack, such as: TD-LTE protocol stack includes physical layer protocol again Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stack, PDCP protocol stack and NAS association Discuss stack etc..Details are not described herein again.The method that modem obtains the first currently used protocol stack of modem may is that The state flag bit of presentation protocol stack obtains the first currently used protocol stack, such as 1 table of flag bit in inquiry modem Show that corresponding protocol stack is open state, flag bit 0 indicates that corresponding protocol stack is in off state.
S203, the modem close first protocol stack, and support from the modem multiple Selection removes the second protocol stack of first protocol stack in protocol stack.
It is rejected specifically, using the first protocol stack protocol stack registration occurs for modem, so as to cause modulation /demodulation The problem of device is abnormal, and modem needs to close the first protocol stack, and protocol stack registration is prevented to be rejected repeated.Then, Modem determines that selection is except the second protocol stack of the first protocol stack in multiple protocol stacks of modem support, wherein The strategy that modem selects may is that the protocol stack for selecting level-one lower than the first protocol stack as second protocol stack;Or it surveys The signal strength of the corresponding cell signal of each protocol stack of amount surrounding, using the maximum protocol stack of signal strength as second protocol Stack;Or select protocol stack more higher leveled than the first protocol stack as second protocol stack;Or the second association is determined using other strategies Stack is discussed, the present invention is with no restriction.
S204, the modem open the second protocol stack, and carry out network note using the second protocol stack Volume.
Specifically, mobile terminal is converted to Idle state by connected state after closing the first protocol stack, modem opens choosing The second protocol stack selected carries out network registry, such as the process of LTE network registration using second protocol stack are as follows: mobile to network Attach request (attach request) is initiated in side, if network side allows mobile terminal to access, returns to attachment to mobile terminal and rings It answers (attach accept), indicates network registry success, mobile terminal has been converted to service state by no service state;If network Side does not allow mobile terminal to access, and returns to refusal/error message to mobile terminal, indicates network registry failure.
Whether S205, network registry succeed.
Specifically, if modem executes S206, if modem using network on second protocol stack successful registration It registers network not successfully using second protocol stack, executes S207.
S206, the modem record current location information.
Specifically, location information indicates the mark for the logical place planned in advance in mobile communications network, for example, position is believed Breath includes cell ID or location area code etc..
The switch state of default protocol stack in multiple protocol stacks of support described in S207, the modem recovery or Described in the switch state of default protocol stack in multiple protocol stacks of support described in the modem recovery and simultaneously reset Modem.
Specifically, modem register network using second protocol stack not successfully, modem according to it is preparatory The switch state for the default protocol stack known restores the switch state of default protocol stack or is resetted simultaneously.Default protocol stack is The pre-set protocol stack in multiple protocol stacks that modem is supported, herein can be same for all regions setting The protocol stack that the protocol stack of one default is used as modem initial selected for single area or can also be in certain Different default protocol stacks is respectively set in multiple areas in one region, and the embodiment of the present invention is not limited in any way.Carry out reset behaviour After work, modem carries out network registry using default protocol stack, after network registry success, carries out work using default protocol stack Make.
Whether S208, location information change.
Specifically, modem periodically obtains location information, upper obtain in the location information that currently obtains and once The location information taken executes S209 compared to when changing, and otherwise continues to obtain location information.For example, location information is cell Mark, mobile terminal are moved to another cell by a cell, indicate that location information changes;Location information is the band of position Code, mobile terminal are moved to another band of position by a band of position, show that location information changes.Modem The period present invention for obtaining location information with no restriction, can be configured according to actual needs.
The switch state of default protocol stack in multiple protocol stacks of support described in S209, the modem recovery or Described in the switch state of default protocol stack in multiple protocol stacks of support described in the modem recovery and simultaneously reset Modem.
Whether the abnormal cause that S210, protocol stack registration are rejected has reported.
Specifically, executing S213 if the abnormal cause that protocol stack registration is rejected reported;Otherwise, S211 is executed.
S211, abnormal cause and log that the protocol stack registration is rejected are obtained.
S212, the abnormal cause, the current location information and log are reported to network side and/or user.
Specifically, abnormal cause, current location information and log are reported to network side by modem, wherein can Above- mentioned information are reported to network side by wifi hotspot in the case where mobile terminal connects upper wifi hotspot, to save Flow.Or modem can also show abnormal cause on the display screen of mobile terminal, check for user.
It should be noted that after having executed S206, execution S208 and S210 that can be parallel.
S213, the modem processes this abnormal endings.
Implement the embodiment of the present invention to close currently used when modem detects that protocol stack registration is rejected Protocol stack, selection removes other protocol stacks of currently used protocol stack from multiple protocol stacks of support, opens other protocol stacks And current location information is recorded, and in change in location in network on successful registration using other protocol stack registered networks Or when registered network failure, restores the switch state of default protocol stack or reset modem.In this way modem without It is quickly detected when method normal communication, and makes modem by way of switching other protocol stacks and carrying out network registry Automatically restore the normal of communication, avoids the problem that forcing to restart to take long time caused by mobile terminal or location updating, reduce Time of network disaster recovery.
It is a kind of another process of the processing method of network communicating function exception provided in an embodiment of the present invention referring to Fig. 3 Schematic diagram, in embodiments of the present invention, which comprises
S301, modem detect that protocol stack registration is rejected.
Specifically, modem is mounted in mobile phone, it can be encapsulated as in application processor AP, or independently of at Device is managed, the present invention is with no restriction.Modem is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to base Band signal, processing access layer (AS) and Non-Access Stratum (NAS) signaling and with AP processor progress interface etc..Due to certain Network cause, legal UE user's registration network sometimes can also be refused to lead to no service by network, it is necessary to be weighed manually by user It opens and retries registration again, signing problem etc. between operator when usual reason includes the failure of network authentication process, international roaming.Example Such as: after UE sends Attach Request message, the attachment refuse information of network transmission is received before timer T3410 time-out, it is attached The reason of network refusal UE attachment is carried in refuse information, for example, illegal UE, EPS service is not allowed to, PLMN is not permitted Perhaps, tracing area is not allowed to, EPS service is not allowed to.Enter non-service state after UE receives attachment refusal.It assists When view stack registration is rejected, UE will be into no network service state.Modem can detecte protocol stack registration and be rejected.
S302, the modem obtain the first currently used protocol stack of the modem.
Specifically, protocol stack indicates the summation of the corresponding various protocols stack of some communication standard, and such as: protocol stack includes Gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack Deng, it again include multiple sub-protocol stacks below each communication standard protocol stack, such as: TD-LTE protocol stack includes physical layer protocol again Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stack, PDCP protocol stack and NAS association Discuss stack etc..Details are not described herein again.The method that modem obtains the first currently used protocol stack of modem may is that The state flag bit of presentation protocol stack obtains the first currently used protocol stack, such as 1 table of flag bit in inquiry modem Show that corresponding protocol stack is open state, flag bit 0 indicates that corresponding protocol stack is in off state.
S303, the modem close first protocol stack, and support from the modem multiple Selection removes the second protocol stack of first protocol stack in protocol stack.
It is rejected specifically, using the first protocol stack protocol stack registration occurs for modem, so as to cause modulation /demodulation The problem of device is abnormal, and modem needs to close the first protocol stack, and protocol stack registration is prevented to be rejected repeated.Then, Modem determines that selection is except the second protocol stack of the first protocol stack in multiple protocol stacks of modem support, wherein The strategy that modem selects may is that the protocol stack for selecting level-one lower than the first protocol stack as second protocol stack;Or it surveys The signal strength of the corresponding cell signal of each protocol stack of amount surrounding, using the maximum protocol stack of signal strength as second protocol Stack;Or select protocol stack more higher leveled than the first protocol stack as second protocol stack;Or the second association is determined using other strategies Stack is discussed, the present invention is with no restriction.
S304, the modem open the second protocol stack, and carry out network note using the second protocol stack Volume.
Specifically, mobile terminal is converted to Idle state by connected state after closing the first protocol stack, modem opens choosing The second protocol stack selected carries out network registry, the process of network registry using second protocol stack are as follows: mobile attached to network side initiation Request return to attachment response to mobile terminal if network side allows mobile terminal to access, indicate network registry success, it is mobile Terminal has been converted to service state by no service state;If network side does not allow mobile terminal to access, to mobile terminal return refusal/ Error message indicates network registry failure.
If the success of S305, network registry, the modem record current location information.Step can be performed later S306;It simultaneously can be with parallel execution of steps S308.
Specifically, location information indicates the mark for the logical place planned in advance in mobile communications network, for example, position is believed Breath includes cell ID or location area code etc..
Whether S306, location information change.
Specifically, modem periodically obtains location information, upper obtain in the location information that currently obtains and once The location information taken executes S307 compared to when changing, and otherwise continues to obtain location information.For example, location information is cell Mark, mobile terminal are moved to another cell by a cell, indicate that location information changes;Location information is the band of position Code, mobile terminal are moved to another band of position by a band of position, show that location information changes.Modem The period present invention for obtaining location information with no restriction, can be configured according to actual needs.
The switch state of default protocol stack in multiple protocol stacks of support described in S307, the modem recovery or Described in the switch state of default protocol stack in multiple protocol stacks of support described in the modem recovery and simultaneously reset Modem.
Whether the abnormal cause that S308, protocol stack registration are rejected has reported.
Specifically, executing S301 if the abnormal cause that protocol stack registration is rejected had reported;When protocol stack is registered After the abnormal cause being rejected had reported, user can be adjusted or repair according to abnormal cause, continue to jump later Exception is detected by modem to S301, registration is rejected if modem still detects protocol stack, is continued to execute The subsequent steps such as S302.Otherwise, S309 is executed.
S309, abnormal cause and log that the protocol stack registration is rejected are obtained.
S310, the abnormal cause, the current location information and log are reported to network side and/or user.
Specifically, abnormal cause, current location information and log are reported to network side by modem, wherein can Above- mentioned information are reported to network side by wifi hotspot in the case where mobile terminal connects upper wifi hotspot, to save Flow.Or modem can also show abnormal cause on the display screen of mobile terminal, check for user.
After above- mentioned information report, can equally go to step S301, exception be detected by modem, if modulatedemodulate It adjusts device still to detect that protocol stack registration is rejected, then continues to execute the subsequent steps such as S302.
By way of circulation, it can be ensured that protocol stack registers the solution for the problem that is rejected, after Resolving probiems, modulatedemodulate Adjust device that will not detect that protocol stack registration is rejected again, terminal can be restored to work normally.
Implement the embodiment of the present invention, modem is connected to modem and detects protocol stack registration when being rejected, Currently used protocol stack is closed, selection removes other protocol stacks of currently used protocol stack from multiple protocol stacks of support, Open other protocol stacks and other protocol stack registered networks used to record current location information when registering upper network, at When function registers upper network, current location information is recorded, and in change in location, restores the switch state or multiple of default protocol stack Position modem.It can not be quickly detected when normal communication in modem in this way, and by switching other agreements The mode that stack carries out network registry makes modem automatically restore the normal of communication, avoids forcing to restart mobile terminal or position The problem of taking long time caused by update is set, the time of network disaster recovery is reduced.
It referring to fig. 4, is a kind of structural schematic diagram of modem provided in an embodiment of the present invention, in the embodiment of the present invention In, the modem 4 includes: detection module 401, determining module 402, selecting module 403, registration module 404, record mould Block 405.
Detection module 401, for detecting that protocol stack registration is rejected.
Determining module 402, for obtaining the first currently used protocol stack of the modem.
Selecting module 403, for closing first protocol stack, and the multiple agreements supported from the modem Selection removes the second protocol stack of first protocol stack in stack.
Registration module 404 carries out network registry for opening the second protocol stack, and using the second protocol stack.
Logging modle 405, if recording current location information for network registry success.
The embodiment of the present invention and embodiment of the method one are based on same design, and bring technical effect is also identical, specific former Reason please refers to the description of embodiment of the method one, and details are not described herein again.
Optionally, modem further include:
Recovery module, for restoring when network registry fails or after network registry success and when position changes It is silent in the switch state of default protocol stack in multiple protocol stacks of the support or multiple protocol stacks of the recovery support Recognize the switch state of protocol stack and resets the modem simultaneously.
Optionally, modem further include:
Reporting module obtains the protocol stack note if the abnormal cause for protocol stack registration to be rejected does not report The abnormal cause and log that volume is rejected;The abnormal cause, the current location information and log are reported to network side And/or user.
Optionally, reporting module is used for:
Scan around wifi hotspot and with wifi hotspot establish communication connection after, pass through establish communication connection wifi The abnormal cause, the current location information and log are reported to network side by hot spot.
The embodiment of the present invention and embodiment of the method two and three are based on same design, and bring technical effect is also identical, tool Body principle please refers to the description of embodiment of the method two and three, and details are not described herein again.
It is a kind of another structural schematic diagram of modem of the embodiment of the present invention referring to Fig. 5, in this embodiment, adjusts For modulator-demodulator for realizing the processing method of the exception of network communicating function described in Fig. 1, modem includes CPU501, storage The quantity of device 502 and communication interface 503, the CPU501 in modem can be one or more, and Fig. 5 is with a CPU Example.In some embodiments of the present invention, CPU501, memory 502 and communication interface 503 can be connected by bus or other modes It connects, in Fig. 5 by taking bus connects as an example.
Wherein, batch processing code is stored in memory 502, and CPU501 is for calling the journey stored in memory 502 Sequence code, for performing the following operations:
Detect that protocol stack registration is rejected;
Obtain the first currently used protocol stack of the modem;
Close first protocol stack, and from multiple protocol stacks that the modem is supported selection except described the The second protocol stack of one protocol stack;
The second protocol stack is opened, and carries out network registry using the second protocol stack;
If network registry success, records current location information.
In some embodiments of the invention, CPU501 is also used to execute:
If network registry fails, restore the switch state or extensive of the default protocol stack in multiple protocol stacks of the support The switch state of default protocol stack in multiple protocol stacks of the multiple support simultaneously resets the modem simultaneously.
In some embodiments of the invention, if CPU501 executes the network registry success, current position letter is recorded After breath, it is also used to execute:
Default protocol stack when position changes, in multiple protocol stacks of support described in the modem recovery Switch state or the modem recovery described in support multiple protocol stacks in default protocol stack switch state simultaneously Modem is resetted simultaneously.
In some embodiments of the invention, CPU501 is also used to execute:
If the abnormal cause that the protocol stack registration is rejected does not report, obtains the protocol stack and register the exception being rejected Reason and log;
The abnormal cause, the current location information and log are reported to network side and/or user.
In some embodiments of the invention, CPU501 execute it is described by the abnormal cause, the current position letter Breath and log are reported to network side and include:
Scan around wifi hotspot and with wifi hotspot establish communication connection after, pass through establish communication connection wifi The abnormal cause, the current location information and log are reported to network side by hot spot.
The embodiment of the invention also provides a kind of mobile terminal including above-mentioned modem, mobile terminal includes but not It is limited to carryOr the mobile terminal of other operating systems, such as mobile electricity Words.It is also possible to other mobile terminals, such as with the above-knee of touch sensitive surface (for example, touch-screen display and/or Trackpad) Type computer or tablet computer or desktop computer.
In the following discussion, a kind of mobile terminal including display and touch sensitive surface is described.It should be appreciated, however, that Mobile terminal may include other one or more physical user-interface devices, such as physical keyboard, mouse and/or operating stick.
Mobile terminal usually supports a variety of application programs, such as one of following or a variety of: picture application program is presented Application program, word-processing application, webpage create application program, disk editor application program, spreadsheet applications, trip Play application program, telephony application, videoconference application, email application, instant message application program, forging Refining supports application program, photograph to manage application program, digital camera applications program, digital video camcorder application program, network Viewer applications, digital music player application, and/or video frequency player application program.
The physical user-interface device that the various application programs that can be executed on mobile terminals can be used at least one shared, Such as touch sensitive surface.The corresponding information of the one or more functions and display of touch sensitive surface on mobile terminals can be answered from one kind It is adjusted with program and/or is changed to a kind of lower application program and/or is adjusted and/or changes in corresponding application programs.In this way, The shared physical structure (such as touch sensitive surface) of mobile terminal can be propped up using intuitive clearly user interface for a user Hold various application programs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present invention Benefit requires made equivalent variations, still belongs to the scope covered by the invention.

Claims (9)

1. a kind of processing method of network communicating function exception characterized by comprising
Modem detects that protocol stack registration is rejected;
The modem obtains the first currently used protocol stack of the modem;
The modem closes first protocol stack, and selects from multiple protocol stacks that the modem is supported Select the second protocol stack except first protocol stack;
The modem opens the second protocol stack, and carries out network registry using the second protocol stack;
If network registry success, the modem record current location information;
If network registry fails, the switch of the default protocol stack in multiple protocol stacks of support described in the modem recovery State simultaneously resets the modem simultaneously, then carries out network registry using the default protocol stack.
2. the method as described in claim 1, which is characterized in that if network registry success, the modem record After current location information, further includes:
When position changes, default protocol stack in multiple protocol stacks of support described in the modem recovery is opened The switch state of default protocol stack in multiple protocol stacks of support described in off status or the modem recovery and simultaneously Reset the modem.
3. the method as described in claim 1-2 any one, which is characterized in that further include:
If the abnormal cause that the protocol stack registration is rejected does not report, the modem obtains the protocol stack and registers quilt The abnormal cause of refusal and log;
The abnormal cause, the current location information and log are reported to network side and/or use by the modem Family.
4. method as claimed in claim 3, which is characterized in that the modem is by the abnormal cause, described current Location information and log be reported to network side, comprising:
Scan around wifi hotspot and with wifi hotspot establish communication connection after, the modem by establish communication The abnormal cause, the current location information and log are reported to network side by the wifi hotspot of connection.
5. a kind of modem characterized by comprising
Detection module, for detecting that protocol stack registration is rejected;
Determining module, for obtaining the first currently used protocol stack of the modem;
Selecting module is selected for closing first protocol stack, and from multiple protocol stacks that the modem is supported Select the second protocol stack except first protocol stack;
Registration module carries out network registry for opening the second protocol stack, and using the second protocol stack;
Logging modle, if recording current location information for network registry success;
Recovery module restores the switch of the default protocol stack in multiple protocol stacks of the support if failing for network registry State simultaneously resets the modem simultaneously;
The registration module is also used to after the modem resets, and carries out network registry using the default protocol stack.
6. modem as claimed in claim 5, which is characterized in that further include:
Reporting module obtains the protocol stack registration quilt if the abnormal cause for protocol stack registration to be rejected does not report The abnormal cause of refusal and log;By the abnormal cause, the current location information and log be reported to network side and/or User.
7. modem as claimed in claim 6, which is characterized in that the reporting module is specifically used for:
Scan around wifi hotspot and with wifi hotspot establish communication connection after, pass through establish communication connection wifi hotspot The abnormal cause, the current location information and log are reported to network side.
8. a kind of mobile terminal, which is characterized in that including the modem as described in claim 5-7 any one.
9. a kind of storage medium, which is characterized in that include program instruction in the storage medium, described program instruction is performed Method described in Shi Shixian Claims 1 to 4 any one.
CN201810489163.9A 2015-11-24 2015-11-24 Processing method, modem, mobile terminal and the storage medium of network communicating function exception Active CN108684056B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810489163.9A CN108684056B (en) 2015-11-24 2015-11-24 Processing method, modem, mobile terminal and the storage medium of network communicating function exception

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810489163.9A CN108684056B (en) 2015-11-24 2015-11-24 Processing method, modem, mobile terminal and the storage medium of network communicating function exception
CN201510827257.9A CN105376873B (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
CN201510827257.9A Division CN105376873B (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
CN108684056A CN108684056A (en) 2018-10-19
CN108684056B true CN108684056B (en) 2019-10-25

Family

ID=55378558

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810489163.9A Active CN108684056B (en) 2015-11-24 2015-11-24 Processing method, modem, mobile terminal and the storage medium of network communicating function exception
CN201510827257.9A Active CN105376873B (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
CN201510827257.9A Active CN105376873B (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) CN108684056B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112888033B (en) * 2019-11-29 2023-11-07 珠海市魅族科技有限公司 Switching method, device, equipment and storage medium for resident network of mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2191671A1 (en) * 2007-08-17 2010-06-02 Research In Motion Limited Forced intersystem handover in case of mme gateway failure
CN102413529A (en) * 2011-11-28 2012-04-11 青岛海信移动通信技术股份有限公司 Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal
CN104081826A (en) * 2012-03-16 2014-10-01 Lg电子株式会社 Method and apparatus for processing NAS signaling request in wireless communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2191671A1 (en) * 2007-08-17 2010-06-02 Research In Motion Limited Forced intersystem handover in case of mme gateway failure
CN102413529A (en) * 2011-11-28 2012-04-11 青岛海信移动通信技术股份有限公司 Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal
CN104081826A (en) * 2012-03-16 2014-10-01 Lg电子株式会社 Method and apparatus for processing NAS signaling request in wireless communication system

Also Published As

Publication number Publication date
CN105376873A (en) 2016-03-02
CN108684056A (en) 2018-10-19
CN105376873B (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN105376773B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN108599986B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105357049B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105357053A (en) Network communication functional abnormity processing method, application processor and user terminal
CN105338663B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376113B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105407461B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN108601018B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN105634794B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105491604B (en) Processing method, modem and the user terminal of network communicating function exception
CN105376783B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN108684056B (en) Processing method, modem, mobile terminal and the storage medium of network communicating function exception
CN105376775B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376786B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105491608B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105490838B (en) Processing method, modem and the mobile terminal of network communicating function exception
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
CN105376774B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105491607B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105357705B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376784B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105491605B (en) A kind of network communicating function abnormality eliminating method, modem and mobile terminal
CN105376789B (en) Network communicating function abnormal processing method, modem and mobile terminal
CN105357704B (en) Processing method, application processor and the mobile terminal of network communicating function exception

Legal Events

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

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

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

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

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant