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

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

Info

Publication number
CN108684054A
CN108684054A CN201810350010.6A CN201810350010A CN108684054A CN 108684054 A CN108684054 A CN 108684054A CN 201810350010 A CN201810350010 A CN 201810350010A CN 108684054 A CN108684054 A CN 108684054A
Authority
CN
China
Prior art keywords
modem
protocol stack
network
protocol
rejected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810350010.6A
Other languages
Chinese (zh)
Other versions
CN108684054B (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 CN201810350010.6A priority Critical patent/CN108684054B/en
Publication of CN108684054A publication Critical patent/CN108684054A/en
Application granted granted Critical
Publication of CN108684054B publication Critical patent/CN108684054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • H04W60/04Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration using triggered events

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of processing methods of network communicating function exception, including:After modem detects that protocol stack registration is rejected, judge that the protocol stack for whether occurring to set number in setting time registers the abnormal conditions being rejected, if the result judged is yes, obtains the first currently used protocol stack of modem;Modem closes the first protocol stack, and second protocol stack of the selection except 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 and the mobile terminal of network communicating function exception
Technical field
The present invention relates to the processing method of the communications field more particularly to a kind of network communicating function exception, modems And mobile terminal.
Background technology
With the development of the communication technology, the type for the communication standard that mobile phone is supported is more and more, such as:One mobile phone is simultaneously The communication standard for supporting 2G, 3G and 4G of different operators saves the inconvenience for replacing mobile phone.The high speed development of mobile Internet makes Data service occupies absolute proportion, to which 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 with AP processors into line interface etc..Mobile network environment residing for mobile phone is very multiple Miscellaneous, mobile phone often switches between different communication standards, often occurs during communication standard switches 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:It when mobile phone is moved to the new band of position, updates and asks 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 Long, user is difficult to endure.
Invention content
Technical problem to be solved of the embodiment of the present invention is, provides a kind of processing side of network communicating function exception Method, modem and mobile terminal can not be automatic with solve to be abnormal in the prior art can not be in the case of Networked communication It attempts to restore or recovery communication service takes long problem.
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, including:
Modem detects that protocol stack registration is rejected;
The modem judges that the protocol stack for whether occurring to set number in setting time registers the exception being rejected Situation;
If the result judged is yes, the modem obtains the first currently used association of the modem Discuss stack;
The modem closes first protocol stack, and the multiple protocol stacks supported from the modem Second protocol stack of the middle selection 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.
With reference to first aspect, in the first possible implementation, the method further includes:
If network registry fails, the default protocol stack in the multiple protocol stacks supported described in the modem recovery The on off state of default protocol stack in the multiple protocol stacks supported described on off state or the modem recovery is simultaneously same Modem described in Shi Fuwei.
With reference to first aspect or the first possible realization method of first aspect, in second of possible realization method In, if network registry success, after the modem records current location information, further includes:
When position changes, the default protocol stack in the multiple protocol stacks supported described in the modem recovery On off state or the modem recovery described in default protocol stack in multiple protocol stacks for supporting on off state simultaneously Reset the modem simultaneously.
In conjunction with reference to first aspect or second of the first possible realization method of first aspect or first aspect can The realization method of energy, in the third possible realization method, the method further 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 daily record that volume is rejected;
The modem by the abnormal cause, the current location information and daily record be reported to network side and/ Or user.
The third possible realization method with reference to first aspect, in the 4th kind of possible realization method, the modulation The abnormal cause, the current location information and daily record are reported to network side and include by demodulator:
It scans the wifi hotspot of surrounding and after establishing communication connection with wifi hotspot, the modem passes through foundation The abnormal cause, the current location information and daily record 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, including:
Detection module, for detecting that protocol stack registration is rejected;
Judgment module, for judging that the protocol stack for whether occurring to set number in setting time registers the abnormal feelings being rejected Condition;
Determining module obtains the first currently used association of the modem if being yes for the result judged Discuss stack;
Selecting module, for closing first protocol stack, and multiple protocol stacks from modem support Second protocol stack of the middle selection except first protocol stack;
Registration module carries out network registry for opening the second protocol stack, and using the second protocol stack;
If logging modle records current location information for network registry success.
In conjunction with second aspect, in the first possible implementation, the modem further includes:
Recovery module, for when network registry fails or after network registry success and when position changes, restoring It is silent in the on off state of default protocol stack in multiple protocol stacks of the support or multiple protocol stacks of the recovery support Recognize the on off state of protocol stack and resets the modem simultaneously.
In conjunction with the possible realization method of the first of second aspect or second aspect, in second of possible realization method In, the modem further includes:
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 daily record that volume is rejected;The abnormal cause, the current location information and daily record are reported to network side And/or user.
It is described to report in the third possible realization method in conjunction with second of possible realization method of second aspect Module is specifically used for:
It scans the wifi hotspot of surrounding and after establishing communication connection with wifi hotspot, passes through the wifi for establishing communication connection The abnormal cause, the current location information and daily record 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 the modulation /demodulation described in above-mentioned any one Device.
Implement the embodiment of the present invention, has the advantages that:
Modem, which detects, closes modem currently used protocol stack when protocol stack registration is rejected, from tune Selection opens other protocol stacks simultaneously except other protocol stacks of currently used protocol stack in multiple protocol stacks that modulator-demodulator is supported Using other protocol stack registered networks, in network on successful registration, current location information is recorded.In this way in modem It can not be quickly detected when normal communication, and make modem certainly in such a way that other protocol stacks carry out network registry It is dynamic to attempt to restore normal, it avoids taking long problem caused by forcing to restart mobile phone or location updating, reduces network failure The time of recovery.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 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 flow 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 flow 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 implementation mode
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 describes, 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, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, for a kind of flow 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, the method includes:
S101, modem detect that protocol stack registration is rejected.
S102, the modem judge what the protocol stack for whether occurring to set number in setting time registration was rejected Abnormal conditions, if so, proceeding to S103;Otherwise, proceed to S101.
Judge that the protocol stack for whether occurring to set number in setting time registers the abnormal conditions being rejected, is in order to true The stability for the abnormal conditions that modulator-demodulator of setting the tone detects.
If S103, the result judged are yes, it is currently used that the modem obtains the modem First protocol stack.
Specifically, modem is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to base band letter Number, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc.;Modem branch Hold various protocols stack.Due to certain networks, legal user terminal (User Equipment, abbreviation UE) registered network has When also can by network refuse lead to no service, it is necessary to restarted manually by user and retry registration again, usual reason include network reflect Signing problem etc. between operator when weighing flow failure, international roaming.Such as:UE sends attach request (Attach Request Or LAU) after message, the attachment refusal (Attach Reject) that network transmission is received before timer T3410 time-out disappears Breath adheres in refuse information the reason of carrying network refusal UE attachments, for example, illegal UE (Illegal ME), EPS service not by Permission (EPS services not allowed), PLMN is not allowed to (PLMN not allowed), tracing area is not permitted Perhaps (Tracking area not allowed), EPS services are not allowed to.Into no service after UE receives attachment refusal (Out of Service, OOS) state.Protocol stack indicates the summation of the corresponding various protocols of some communication standard, such as:Agreement Stack includes gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE associations Stack etc. is discussed, includes again multiple sub-protocol stacks below each communication standard protocol stack, details are not described herein again.Modem is detecting When being rejected to protocol stack registration, the first currently used protocol stack is determined.
Can also be independently of answering it should be noted that modem can be integrated in the inside of application processor AP With a chip of processor, the present invention is not restricted.
S104, the modem close first protocol stack, and support from the modem multiple Second protocol stack of the selection except 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 closing the One protocol stack prevents protocol stack from registering the problem of being rejected and repeated.Then, modem determines that modem is supported Multiple protocol stacks in selection except the first protocol stack second protocol stack, wherein modem selection strategy can be:Choosing The protocol stack of level-one lower than the first protocol stack is selected as second protocol stack;Or measure the corresponding cell signal of each protocol stack of 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 determine that second protocol stack, the present invention are not restricted using other strategies.
S105, the modem open the second protocol stack, and carry out network note using the second protocol stack Volume.
Specifically, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, and modem opens choosing The second protocol stack selected carries out network registry using second protocol stack, and the process of network registry is:Mobile terminal is sent out to network side Attach request (attach request) is played, if network side allows mobile terminal to access, attachment response is returned to mobile terminal (attach response) indicates that network registry success, mobile terminal are converted to connected state by Idle state;If network side is not permitted Perhaps mobile terminal accesses, and error message is returned to mobile terminal, indicates network registry failure.
If the success of S106, network registry, the modem record current location information.
Specifically, location information indicates that logical place, location information can be small to mobile terminal in the mobile communication network Area identifies or regional location code or position tracking region etc., and the present invention is not restricted.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 records current position in network on successful registration using other protocol stack registered networks Information.It can not be quickly detected when normal communication in modem in this way, and network note is carried out by other protocol stacks The mode of volume makes modem automatically attempt to restore normal, avoids taking caused by forcing to restart mobile phone or location updating long The problem of, reduce the time of network disaster recovery.
Referring to Fig. 2, for a kind of flow 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, the method includes:
S201, modem detect that protocol stack registration is rejected.
S202, the modem judge what the protocol stack for whether occurring to set number in setting time registration was rejected Abnormal conditions, if so, proceeding to S204;Otherwise proceed to S203.
S203, reset operation is carried out to the modem.
Judge that the protocol stack for whether occurring to set number in setting time registers the abnormal conditions being rejected, is in order to true The stability for the abnormal conditions that modulator-demodulator of setting the tone detects;And modem is resetted, it detects whether to detect again The abnormal conditions being rejected are registered to protocol stack.
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 not restricted.Modem is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to base Band signal, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc..Due to certain Network reason, legal UE user's registrations 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 flow, international roaming.Example Such as:After UE sends attach request (Attach Request or LAU) message, network is received 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 attachments, 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 services are 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 detect that protocol stack registration is rejected.
S204, 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, such as:Protocol stack includes Gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks Deng, include multiple sub-protocol stacks again below each communication standard protocol stack, such as:TD-LTE protocol stacks include physical layer protocol again Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS associations Discuss stack etc..Details are not described herein again.Modem obtain the first currently used protocol stack of modem method can be: 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.
S205, the modem close first protocol stack, and support from the modem multiple Second protocol stack of the selection except 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 Device is abnormal, and modem needs to close the first protocol stack, prevents protocol stack from registering the problem of being rejected and repeated.Then, Modem determines that selection is except the second protocol stack of the first protocol stack in multiple protocol stacks that modem is supported, wherein Modem selection strategy can be:Select the protocol stack of 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 determine the second association using other strategies Stack is discussed, the present invention is not restricted.
S206, the modem open the second protocol stack, and carry out network note using the second protocol stack Volume.
Specifically, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, and modem opens choosing The second protocol stack selected, using second protocol stack carry out network registry, such as the process registered of LTE network as:It moves 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 that network registry success, mobile terminal have been converted to service state by no service state;If network Side does not allow mobile terminal to access, and refusal/error message is returned to mobile terminal, indicates network registry failure.
Whether S207, network registry succeed.
Specifically, if modem executes S208, if modem using network on second protocol stack successful registration It registers upper network not successfully using second protocol stack, executes S209.
S208, 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 on off state of default protocol stack in the multiple protocol stacks supported described in S209, the modem recovery or The on off state of default protocol stack in the multiple protocol stacks supported described in the modem recovery is simultaneously while described in reset Modem.
Specifically, modem is using the second protocol stack upper network of registration not successfully, modem according to it is advance The on off state for the default protocol stack known restores the on off state of default protocol stack or resets modem simultaneously.Acquiescence association It is a pre-set protocol stack in multiple protocol stacks that modem is supported to discuss stack, can be directed to all regions herein The protocol stack that the protocol stack of the same acquiescence is used as modem initial selected is set, can also be directed to single area or Different default protocol stacks is respectively set in some region of multiple areas, the embodiment of the present invention is not limited in any way.It carries out After resetting operation, modem carries out network registry after network registry success using default protocol stack and uses default protocol stack It works.
Whether S210, 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 S211 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 is not restricted, and can be configured according to actual demand.
The on off state of default protocol stack in the multiple protocol stacks supported described in S211, the modem recovery or The on off state of default protocol stack in the multiple protocol stacks supported described in the modem recovery is simultaneously while described in reset Modem.
Whether the abnormal cause that S212, protocol stack registration are rejected has reported.
Specifically, if the abnormal cause that protocol stack registration is rejected had reported, S215 is executed;Otherwise, it executes S213。
S213, abnormal cause and daily record that the protocol stack registration is rejected are obtained.
S214, the abnormal cause, the current location information and daily record are reported to network side and/or user.
Specifically, abnormal cause, current location information and daily record are reported to network side by modem, wherein can In the case where mobile terminal connects upper wifi hotspot, above- mentioned information is reported to network side by wifi hotspot, to save Flow.Or abnormal cause can also be included being checked for user on the display screen of mobile terminal by modem.
It should be noted that after having executed S208, execution S210 and S212 that can be parallel.
S215, 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 selects other protocol stacks except 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 on off 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 taking long problem caused by forcing to restart mobile terminal or location updating, reduce Time of network disaster recovery.
It is a kind of another flow 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, the method includes:
S301, modem detect that protocol stack registration is rejected.
S302, the modem judge what the protocol stack for whether occurring to set number in setting time registration was rejected Abnormal conditions, if so, proceeding to S304;Otherwise proceed to S303.
S303, reset operation is carried out to the modem.
Judge that the protocol stack for whether occurring to set number in setting time registers the abnormal conditions being rejected, is in order to true The stability for the abnormal conditions that modulator-demodulator of setting the tone detects;And modem is resetted, it detects whether to detect again The abnormal conditions being rejected are registered to protocol stack.
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 not restricted.Modem is used to baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to base Band signal, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and with AP processors into line interface etc..Due to certain Network reason, legal UE user's registrations 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 flow, 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 attachments are 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 services are 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 detect that protocol stack registration is rejected.
S304, 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, such as:Protocol stack includes Gsm protocol stack, EDGE protocol stacks, HSPDA protocol stacks, TD-SCDMA protocol stacks, TDD-LTE protocol stacks, FDD-LTE protocol stacks Deng, include multiple sub-protocol stacks again below each communication standard protocol stack, such as:TD-LTE protocol stacks include physical layer protocol again Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stacks, PDCP protocol stacks and NAS associations Discuss stack etc..Details are not described herein again.Modem obtain the first currently used protocol stack of modem method can be: 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.
S305, the modem close first protocol stack, and support from the modem multiple Second protocol stack of the selection except 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 Device is abnormal, and modem needs to close the first protocol stack, prevents protocol stack from registering the problem of being rejected and repeated.Then, Modem determines that selection is except the second protocol stack of the first protocol stack in multiple protocol stacks that modem is supported, wherein Modem selection strategy can be:Select the protocol stack of 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 determine the second association using other strategies Stack is discussed, the present invention is not restricted.
S306, the modem open the second protocol stack, and carry out network note using the second protocol stack Volume.
Specifically, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, and modem opens choosing The second protocol stack selected carries out network registry using second protocol stack, and the process of network registry is:It is mobile attached to network side initiation Request, if network side allows mobile terminal to access, attachment response is returned to mobile terminal, indicates 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 S307, network registry, the modem record current location information.It can perform step later S308;It simultaneously can be with parallel execution of steps S310.
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 S308, 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 is not restricted, and can be configured according to actual demand.
The on off state of default protocol stack in the multiple protocol stacks supported described in S309, the modem recovery or The on off state of default protocol stack in the multiple protocol stacks supported described in the modem recovery is simultaneously while described in reset Adjust demodulator.
Whether the abnormal cause that S310, protocol stack registration are rejected has reported.
Specifically, if the abnormal cause that protocol stack registration is rejected had reported, S301 is executed;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 redirect 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, S311 is executed.
S311, abnormal cause and daily record that the protocol stack registration is rejected are obtained.
S312, the abnormal cause, the current location information and daily record are reported to network side and/or user.
Specifically, abnormal cause, current location information and daily record are reported to network side by modem, wherein can In the case where mobile terminal connects upper wifi hotspot, above- mentioned information is reported to network side by wifi hotspot, to save Flow.Or abnormal cause can also be included being checked for user on the display screen of mobile terminal by modem.
After above- mentioned information reports, 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 cycle, 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, other protocol stacks except currently used protocol stack are selected from multiple protocol stacks of support, It opens other protocol stacks and records current location information in network on successful registration using other protocol stack registered networks, And in change in location, restores the on off state of default protocol stack or reset modem.In this way modem can not It is quickly detected when normal communication, and makes modem certainly by way of switching other protocol stacks and carrying out network registry Dynamic restores the normal of communication, avoids taking long problem caused by forcing to restart mobile terminal or location updating, reduce The time of network disaster recovery.
It is a kind of structural schematic diagram of modem provided in an embodiment of the present invention, in the embodiment of the present invention referring to Fig. 4 In, the modem 4 includes:Detection module 401, judgment module 402, determining module 403, selecting module 404, registration mould Block 405, logging modle 406.
Detection module 401, for detecting that protocol stack registration is rejected.
Judgment module 402, for judging that it is different that the protocol stack for whether occurring to set number in setting time registration is rejected Reason condition.
Determining module 403, if being yes for the result judged, obtain the modem it is currently used first Protocol stack.
Selecting module 404, for closing first protocol stack, and multiple agreements from modem support Second protocol stack of the selection except first protocol stack in stack.
Registration module 405 carries out network registry for opening the second protocol stack, and using the second protocol stack.
If logging modle 406 records 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 the technique effect brought 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 includes:
Recovery module, for when network registry fails or after network registry success and when position changes, restoring It is silent in the on off state of default protocol stack in multiple protocol stacks of the support or multiple protocol stacks of the recovery support Recognize the on off state of protocol stack and resets the modem simultaneously.
Optionally, modem further includes:
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 daily record that volume is rejected;The abnormal cause, the current location information and daily record are reported to network side And/or user.
Optionally, reporting module is used for:
It scans the wifi hotspot of surrounding and after establishing communication connection with wifi hotspot, passes through the wifi for establishing communication connection The abnormal cause, the current location information and daily record 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 the technique effect brought 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 network communicating function exception described in Fig. 1, modem includes CPU501, storage The quantity of device 503 and communication interface 502, 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 503 and communication interface 502 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 503, and CPU501 is for calling the journey stored in memory 503 Sequence code, for performing the following operations:
Detect that protocol stack registration is rejected;
Judge that the protocol stack for whether occurring to set number in setting time registers the abnormal conditions being rejected;
If the result judged is yes, the first currently used protocol stack of the modem is obtained;
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 network registry is carried out using the second protocol stack;
If network registry success, records current location information.
In some embodiments of the invention, CPU501 is additionally operable to execute:
If the result judged is no, the modem is resetted.
In some embodiments of the invention, CPU501 is additionally operable to execute:
If network registry fails, restore the on off state or extensive of the default protocol stack in multiple protocol stacks of the support The on off 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 additionally operable to execute:
When position changes, the default protocol stack in the multiple protocol stacks supported described in the modem recovery On off state or the modem recovery described in default protocol stack in multiple protocol stacks for supporting on off state simultaneously Reset the modem simultaneously.
In some embodiments of the invention, CPU501 is additionally operable 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 daily record;
The abnormal cause, the current location information and daily record 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 daily record are reported to network side and include:
It scans the wifi hotspot of surrounding and after establishing communication connection with wifi hotspot, passes through the wifi for establishing communication connection The abnormal cause, the current location information and daily record are reported to network side by hot spot.
The embodiment of the present invention additionally provides a kind of mobile terminal including above-mentioned modem, and mobile terminal includes but not It is limited to carryOr the mobile terminal of other operating systems, such as mobile electricity Words.Can also be 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 lever.
Mobile terminal usually supports a variety of application programs, it is such as following in it is one or more:Picture application program is presented Application program, word-processing application, webpage create application program, disk editor application program, spreadsheet applications, trip Play application program, telephony application, videoconference application, email application, instant message application program, forging Application program, photograph management application, digital camera applications program, digital video camcorder application program, network are supported in refining Viewer applications, digital music player application, and/or video frequency player application program.
At least one shared physical user-interface device can be used in the various application programs that can be executed on mobile terminals, Such as touch sensitive surface.The corresponding information of the one or more functions and display of touch sensitive surface on mobile terminals can be answered from one kind It is adjusted with program and/or is changed to a kind of lower application program and/or is adjusted and/or changes in corresponding application programs.In this way, The shared physical structure (such as touch sensitive surface) of mobile terminal can be propped up using intuitive clearly user interface for a user Hold various application programs.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
It is above disclosed to be only a preferred embodiment of the present invention, the power of the present invention cannot be limited with this certainly Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and is weighed according to the present invention Equivalent variations made by profit requirement, still belong to the scope covered by the invention.

Claims (11)

1. a kind of processing method of network communicating function exception, which is characterized in that including:
Modem detects that protocol stack registration is rejected;
The modem judges that the protocol stack for whether occurring to set number in setting time registers the abnormal conditions being rejected;
If the result judged is yes, the modem obtains the first currently used agreement of the modem Stack;
The modem closes first protocol stack, and is selected 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.
2. the method as described in claim 1, which is characterized in that further include:
If network registry fails, the switch of the default protocol stack in the multiple protocol stacks supported described in the modem recovery The on off state of default protocol stack in the multiple protocol stacks supported described in state or the modem recovery is simultaneously while multiple The position modem.
3. method as claimed in claim 1 or 2, which is characterized in that if network registry success, the modem note After recording current location information, further include:
When position changes, default protocol stack in the multiple protocol stacks supported described in the modem recovery is opened The on off state of default protocol stack in the multiple protocol stacks supported described in off status or the modem recovery and simultaneously Reset the modem.
4. the method as described in claim 1-3 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 daily record;
The abnormal cause, the current location information and daily record are reported to network side and/or use by the modem Family.
5. method as claimed in claim 4, which is characterized in that the modem is by the abnormal cause, described current Location information and daily record be reported to network side, including:
It scans the wifi hotspot of surrounding and after establishing communication connection with wifi hotspot, the modem is communicated by establishing The abnormal cause, the current location information and daily record are reported to network side by the wifi hotspot of connection.
6. a kind of modem, which is characterized in that including:
Detection module, for detecting that protocol stack registration is rejected;
Judgment module, for judging that the protocol stack for whether occurring to set number in setting time registers the abnormal conditions being rejected;
Determining module obtains the first currently used protocol stack of the modem if being yes for the result judged;
Selecting module for closing first protocol stack, and is selected 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;
If logging modle records current location information for network registry success.
7. modem as claimed in claim 6, which is characterized in that further include:
Recovery module, for when network registry fails or after network registry success and when position changes, described in recovery Acquiescence association in the on off state of default protocol stack in the multiple protocol stacks supported or multiple protocol stacks of the recovery support It discusses the on off state of stack and resets the modem simultaneously.
8. modem as claimed in claims 6 or 7, 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 daily record;By the abnormal cause, the current location information and daily record be reported to network side and/or User.
9. modem as claimed in claim 8, which is characterized in that the reporting module is specifically used for:
It scans the wifi hotspot of surrounding and after establishing communication connection with wifi hotspot, passes through the wifi hotspot for establishing communication connection The abnormal cause, the current location information and daily record are reported to network side.
10. a kind of mobile terminal, which is characterized in that include the modem as described in claim 6-9 any one.
11. a kind of storage medium, which is characterized in that held comprising program instruction, described program instruction in the storage medium The method described in Claims 1 to 5 any one is realized when row.
CN201810350010.6A 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and mobile terminal Active CN108684054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810350010.6A CN108684054B (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
CN201810350010.6A CN108684054B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and mobile terminal
CN201510828304.1A CN105376783B (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
CN201510828304.1A Division CN105376783B (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
CN108684054A true CN108684054A (en) 2018-10-19
CN108684054B CN108684054B (en) 2021-05-28

Family

ID=55378492

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810350010.6A Active CN108684054B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and mobile terminal
CN201510828304.1A Active CN105376783B (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
CN201510828304.1A Active CN105376783B (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) CN108684054B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277800A (en) * 2017-07-05 2017-10-20 宇龙计算机通信科技(深圳)有限公司 Note net processing method and electronic equipment
CN113810937B (en) * 2020-10-22 2022-08-23 荣耀终端有限公司 Method, device, storage medium and chip for processing network registration exception

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100165941A1 (en) * 2006-06-28 2010-07-01 Samsung Electronics Co., Ltd. Method and system for peak scheduling in a wireless network
CN102413529A (en) * 2011-11-28 2012-04-11 青岛海信移动通信技术股份有限公司 Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal
CN103582039A (en) * 2012-08-02 2014-02-12 中兴通讯股份有限公司 Mobile phone AT command processing method and equipment in process of coverage loss and system switching
CN103841615A (en) * 2012-11-22 2014-06-04 三星电子株式会社 Apparatus and method for selecting network in communication system
CN104081826A (en) * 2012-03-16 2014-10-01 Lg电子株式会社 Method and apparatus for processing NAS signaling request in wireless communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100165941A1 (en) * 2006-06-28 2010-07-01 Samsung Electronics Co., Ltd. Method and system for peak scheduling in a wireless network
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
CN103582039A (en) * 2012-08-02 2014-02-12 中兴通讯股份有限公司 Mobile phone AT command processing method and equipment in process of coverage loss and system switching
CN103841615A (en) * 2012-11-22 2014-06-04 三星电子株式会社 Apparatus and method for selecting network in communication system

Also Published As

Publication number Publication date
CN105376783A (en) 2016-03-02
CN105376783B (en) 2018-06-29
CN108684054B (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN105376773B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105357053B (en) Processing method, application processor and the user terminal of network communicating function exception
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
CN108601018B (en) Processing method for network communication function abnormity, application processor and mobile 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
CN105376094B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105490838B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376783B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105634794B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376784B (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
CN108684056B (en) Processing method, modem, mobile terminal and the storage medium 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
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
CN105357705B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105491607B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105357704B (en) Processing method, application processor and the mobile terminal of network communicating function exception
CN105376780B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN108462973A (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105491609B (en) Network communicating function abnormal processing method, modem 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: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant