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

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

Info

Publication number
CN105376783A
CN105376783A CN201510828304.1A CN201510828304A CN105376783A CN 105376783 A CN105376783 A CN 105376783A CN 201510828304 A CN201510828304 A CN 201510828304A CN 105376783 A CN105376783 A CN 105376783A
Authority
CN
China
Prior art keywords
protocol stack
demodulator
modulator
positional information
network
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
CN201510828304.1A
Other languages
Chinese (zh)
Other versions
CN105376783B (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 CN201510828304.1A priority Critical patent/CN105376783B/en
Priority to CN201810350010.6A priority patent/CN108684054B/en
Publication of CN105376783A publication Critical patent/CN105376783A/en
Application granted granted Critical
Publication of CN105376783B publication Critical patent/CN105376783B/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

Abstract

The embodiment of the invention discloses a processing method for an abnormal network communication function, a modem and a mobile terminal. The method comprises the following steps: after detecting by a modem that a protocol stack registration is rejected, judging whether an abnormal condition that the protocol stack registration is rejected for a set number of times occurs within a set time, if so, then acquiring a first protocol stack currently used by the modem; closing the first protocol stack by the modem, and selecting a second protocol stack except the first protocol stack from a plurality of protocol stacks which are supported by the modem; opening the second protocol stack by the modem, and using the second protocol stack to perform network registration; and if the network registration is successful, then recording current position information by the modem. The embodiment of the invention further discloses the modem and a mobile terminal. By adopting the processing method for the abnormal network communication function, the modem and the mobile terminal provided by the invention, the abnormity of the network communication function can be detected and restored quickly.

Description

The processing method of network communicating function exception, modulator-demodulator and mobile terminal
Technical field
The present invention relates to the communications field, particularly relate to a kind of processing method of network communicating function exception, modulator-demodulator and mobile terminal.
Background technology
Along with the development of the communication technology, the type of the communication standard that mobile phone is supported gets more and more, and such as: the communication standard of 2G, 3G and 4G of different operators supported by a mobile phone simultaneously, saves the inconvenience changing mobile phone.The high speed development of mobile Internet makes data service occupy absolute proportion, thus the function and position of modulator-demodulator in mobile phone becomes more and more important, modulator-demodulator be used for data to be sent being converted to radiofrequency signal and radiofrequency signal is converted to pending data, process Access Layer (AS) and Non-Access Stratum (NAS) signaling and carry out interface etc. with AP processor.Mobile network environment residing for mobile phone is very complicated, and mobile phone often can switch between different communication standards, in the process that communication standard switches, often exception can occur, and mobile phone cannot normal Networked communication, and such as protocol stack is registered and is rejected.Cannot the exception of Networked communication in order to solve, the normal solution adopted is at present: when mobile phone moves to the new band of position, to network side launch position update request, network side is configured mobile phone again, recovers the configuration parameter of modulator-demodulator; Or user finds can not after Networked communication, manually to force to restart the configuration parameter recovering or arrange modulator-demodulator to mobile terminal for a long time.But the time that two schemes expends is all long, user is difficult to stand.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, a kind of processing method of network communicating function exception, modulator-demodulator and mobile terminal are provided, with solve in prior art occur abnormal cannot Networked communication when, cannot automatically attempt recovering or recovering communication service long problem consuming time.
In order to solve the problems of the technologies described above, embodiment of the present invention first aspect provides a kind of processing method of network communicating function exception, comprising:
Modulator-demodulator detects that protocol stack registration is rejected;
Described modulator-demodulator judges that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions;
If the result judged described is yes, and described modulator-demodulator obtains the first protocol stack of the current use of described modulator-demodulator;
Described modulator-demodulator cuts out described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Described second protocol stack opened by described modulator-demodulator, and uses described second protocol stack to carry out network registry;
If network registry success, the positional information that described modulator-demodulator record is current.
In conjunction with first aspect, in the implementation that the first is possible, described method also comprises:
If network registry failure, the on off state of the default protocol stack in the multiple protocol stacks supported described in the on off state of the default protocol stack in the multiple protocol stacks supported described in described modem recovery or described modem recovery the described modulator-demodulator that simultaneously resets.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the second is possible, if the success of described network registry, after the positional information that described modulator-demodulator record is current, also comprise:
When position changes, the on off state of the default protocol stack in the multiple protocol stacks supported described in the on off state of the default protocol stack in the multiple protocol stacks supported described in described modem recovery or described modem recovery the described modulator-demodulator that simultaneously resets.
In conjunction with in conjunction with the first possible implementation of first aspect or first aspect or the possible implementation of the second of first aspect, in the implementation that the third is possible, described method also comprises:
If described protocol stack is registered unaccepted abnormal cause and do not reported, described modulator-demodulator obtains described protocol stack and registers unaccepted abnormal cause and daily record;
Described abnormal cause, described current positional information and daily record are reported network side and/or user by described modulator-demodulator.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, described abnormal cause, described current positional information and daily record are reported network side and comprise by described modulator-demodulator:
Scanning wifi hotspot around after establishing a communications link with wifi hotspot, described abnormal cause, described current positional information and daily record are reported network side by the wifi hotspot established a communications link by described modulator-demodulator.
Embodiment of the present invention second aspect provides a kind of modulator-demodulator, comprising:
Detection module, for detecting that protocol stack registration is rejected;
Judge module, for judging that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions;
Determination module, if be yes for the described result judged, obtains the first protocol stack of the current use of described modulator-demodulator;
Selecting module, for closing described first protocol stack, and from multiple protocol stacks that described modulator-demodulator is supported, selecting the second protocol stack except described first protocol stack;
Registering modules, for opening described second protocol stack, and uses described second protocol stack to carry out network registry;
Logging modle, if for network registry success, record current positional information.
In conjunction with second aspect, in the implementation that the first is possible, described modulator-demodulator also comprises:
Recover module, for when network registry failure or when after network registry success and position changes time, the on off state recovering the default protocol stack in multiple protocol stacks of described support or the on off state recovering the default protocol stack in multiple protocol stacks of described support the described modulator-demodulator that simultaneously resets.
In conjunction with the first possible implementation of second aspect or second aspect, in the implementation that the second is possible, described modulator-demodulator also comprises:
Reporting module, does not report if register unaccepted abnormal cause for described protocol stack, obtains described protocol stack and registers unaccepted abnormal cause and daily record; Described abnormal cause, described current positional information and daily record are reported network side and/or user.
In conjunction with the implementation that the second of second aspect is possible, in the implementation that the third is possible, described reporting module specifically for:
Described abnormal cause, described current positional information and daily record also, after establishing a communications link with wifi hotspot, are reported network side by the wifi hotspot established a communications link by the wifi hotspot around scanning.
The embodiment of the present invention third aspect provides a kind of mobile terminal, comprises the modulator-demodulator described in above-mentioned any one.
Implement the embodiment of the present invention, there is following beneficial effect:
The protocol stack of modulator-demodulator current use is closed when modulator-demodulator detects that protocol stack registration is rejected, other protocol stacks except the protocol stack of current use are selected from multiple protocol stacks that modulator-demodulator is supported, open other protocol stacks and use other protocol stack registered networks, on successful registration during network, record current positional information.Cannot be detected fast during proper communication at modulator-demodulator like this, and make modulator-demodulator automatically attempt recovering normal by the mode that other protocol stacks carry out network registry, avoid forcing restarting the consuming time long problem that mobile phone or location updating cause, decrease the time of network disaster recovery.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the processing method of a kind of network communicating function exception that the embodiment of the present invention provides;
Fig. 2 is another schematic flow sheet of the processing method of a kind of network communicating function exception that the embodiment of the present invention provides;
Fig. 3 is the another schematic flow sheet of the processing method of a kind of network communicating function exception that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of modulator-demodulator that the embodiment of the present invention provides;
Fig. 5 is another structural representation of a kind of modulator-demodulator that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, the schematic flow sheet of the processing method of a kind of network communicating function exception provided for the embodiment of the present invention, in embodiments of the present invention, described method comprises:
S101, modulator-demodulator detect that protocol stack registration is rejected.
S102, described modulator-demodulator judge that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions, if so, proceed to S103; Otherwise, proceed to S101.
Judging that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions, is the stability in order to determine the abnormal conditions that modulator-demodulator detects.
If the described result judged of S103 is yes, described modulator-demodulator obtains the first protocol stack of the current use of described modulator-demodulator.
Concrete, modulator-demodulator is used for baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to baseband signal, processes the signaling of Access Layer (AS) and Non-Access Stratum (NAS) and carry out interface etc. with AP processor; Various protocols stack supported by modulator-demodulator.Due to some network reason, legal user terminal (UserEquipment, be called for short UE) registered network sometimes also can by network refusal cause without service, must manually restart again retry by user to register, signing problem etc. between operator when usual reason comprises the failure of network authentication flow process, international roaming.Such as: after UE sends attachment request (AttachRequest or LAU) message, attachment refusal (AttachReject) message that network sends was received before timer T3410 time-out, the reason of network refusal UE attachment is carried in attachment refuse information, such as, illegal UE (IllegalME), EPS service is not allowed to (EPSservicesnotallowed), PLMN is not allowed to (PLMNnotallowed), tracing area is not allowed to (Trackingareanotallowed), EPS service is not allowed to.Enter without service (OutofService, OOS) state after UE receives attachment refusal.Protocol stack represents the summation of the various protocols that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., comprise again multiple sub-protocol stack below each communication standard protocol stack, repeat no more herein.Modulator-demodulator, when detecting that protocol stack registration is rejected, determines the first protocol stack of current use.
It should be noted that, modulator-demodulator can be integrated in the inside of application processor AP, and also can be a chip independent of application processor, the present invention be restricted.
Described first protocol stack closed by S104, described modulator-demodulator, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported.
Concrete, the first protocol stack causes protocol stack to register unaccepted protocol stack, and modulator-demodulator needs cut out first protocol stack, prevents protocol stack from registering unaccepted problem and repeatedly occurs.Then, select the second protocol stack except the first protocol stack in multiple protocol stacks that modulator-demodulator determination modulator-demodulator is supported, wherein, the strategy that modulator-demodulator is selected can be: the protocol stack of the low one-level of Selection radio first protocol stack is as second protocol stack; Or measure the signal strength signal intensity of the cell signal that each protocol stack is corresponding around, using protocol stack maximum for signal strength signal intensity as second protocol stack; Or the higher leveled protocol stack of Selection radio first protocol stack is as second protocol stack; Or adopting other strategy to determine second protocol stack, the present invention is not restricted.
Described second protocol stack opened by S105, described modulator-demodulator, and uses described second protocol stack to carry out network registry.
Concrete, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, the second protocol stack selected opened by modulator-demodulator, second protocol stack is used to carry out network registry, the process of network registry is: mobile terminal initiates attachment request (attachrequest) to network side, if network side allows mobile terminal access, attachment response (attachresponse) is returned to mobile terminal, represent network registry success, mobile terminal is converted to connected state by Idle state; If network side does not allow mobile terminal to access, return error message to mobile terminal, represent network registry failure.
If the success of S106 network registry, the positional information that described modulator-demodulator record is current.
Concrete, positional information represents mobile terminal logical place in the mobile communication network, and positional information can be cell ID or regional location code or position tracing area etc., and the present invention is not restricted.If use the success of second protocol stack registered network, the positional information that modulator-demodulator record is current.
Implement embodiments of the invention, when modulator-demodulator detects that protocol stack registration is rejected, close the protocol stack of the current use of modulator-demodulator, other protocol stacks except the protocol stack of current use are selected from multiple protocol stacks that modulator-demodulator is supported, open other protocol stacks and use other protocol stack registered networks, on successful registration during network, record current positional information.Cannot be detected fast during proper communication at modulator-demodulator like this, and make modulator-demodulator automatically attempt recovering normal by the mode that other protocol stacks carry out network registry, avoid forcing restarting the consuming time long problem that mobile phone or location updating cause, decrease the time of network disaster recovery.
See Fig. 2, the schematic flow sheet of the processing method of a kind of network communicating function exception provided for the embodiment of the present invention, in embodiments of the present invention, described method comprises:
S201, modulator-demodulator detect that protocol stack registration is rejected.
S202, described modulator-demodulator judge that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions, if so, proceed to S204; Otherwise proceed to S203.
S203, reset operation is carried out to described modulator-demodulator.
Judging that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions, is the stability in order to determine the abnormal conditions that modulator-demodulator detects; And modulator-demodulator is resetted, again detect and whether detect that protocol stack registers unaccepted abnormal conditions.
Concrete, modulator-demodulator is arranged in mobile phone, can be encapsulated as in application processor AP, or independent of application processor, the present invention is not restricted.Modulator-demodulator is used for baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to baseband signal, processes the signaling of Access Layer (AS) and Non-Access Stratum (NAS) and carry out interface etc. with AP processor.Due to some network reason, legal UE user's registered network sometimes also can be caused without service by network refusal, must manually restart retry again register by user, signing problem etc. between operator when usual reason comprises the failure of network authentication flow process, international roaming.Such as: after UE sends attachment request (AttachRequest or LAU) message, attachment refusal (AttachReject) message that network sends was received before timer T3410 time-out, the reason of network refusal UE attachment is carried in attachment refuse information, such as, illegal UE (IllegalME), EPS service is not allowed to (EPSservicesnotallowed), PLMN is not allowed to (PLMNnotallowed), tracing area is not allowed to (Trackingareanotallowed), EPS service is not allowed to.Enter without service (OutofService, OOS) state after UE receives attachment refusal.When the registration of generation protocol stack is rejected, UE will enter without network service state.Modulator-demodulator can detect that protocol stack registration is rejected.
S204, described modulator-demodulator obtain the first protocol stack of the current use of described modulator-demodulator.
Concrete, protocol stack represents the summation of the various protocols stack that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., multiple sub-protocol stack is comprised again, such as: TD-LTE protocol stack comprises again physical layer protocol stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stack, PDCP protocol stack and NAS protocol stack etc. below each communication standard protocol stack.Repeat no more herein.The method that modulator-demodulator obtains the first protocol stack of the current use of modulator-demodulator can be: in inquiry modulator-demodulator, the state flag bit of presentation protocol stack obtains the first protocol stack of current use, such as flag bit 1 represents that corresponding protocol stack is opening, and flag bit 0 represents that corresponding protocol stack is closed condition.
Described first protocol stack closed by S205, described modulator-demodulator, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported.
Concrete, modulator-demodulator uses the first protocol stack generation protocol stack registration to be rejected, thus causes modulator-demodulator abnormal, and modulator-demodulator needs cut out first protocol stack, prevents protocol stack from registering unaccepted problem and repeatedly occurs.Then, select the second protocol stack except the first protocol stack in multiple protocol stacks that modulator-demodulator determination modulator-demodulator is supported, wherein, the strategy that modulator-demodulator is selected can be: the protocol stack of the low one-level of Selection radio first protocol stack is as second protocol stack; Or measure the signal strength signal intensity of the cell signal that each protocol stack is corresponding around, using protocol stack maximum for signal strength signal intensity as second protocol stack; Or the higher leveled protocol stack of Selection radio first protocol stack is as second protocol stack; Or adopting other strategy to determine second protocol stack, the present invention is not restricted.
Described second protocol stack opened by S206, described modulator-demodulator, and uses described second protocol stack to carry out network registry.
Concrete, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, the second protocol stack selected opened by modulator-demodulator, second protocol stack is used to carry out network registry, the process registered of such as LTE network as: move to network side and initiate attachment request (attachrequest), if network side allows mobile terminal access, attachment response (attachaccept) is returned to mobile terminal, represent network registry success, mobile terminal has been converted to service state by without service state; If network side does not allow mobile terminal to access, return refusal/error message to mobile terminal, represent network registry failure.
Whether S207, network registry be successful.
Concrete, if modulator-demodulator uses network on second protocol stack successful registration, perform S208, if modulator-demodulator uses network in the unsuccessful registration of second protocol stack, perform S209.
The positional information that S208, described modulator-demodulator record are current.
Concrete, positional information represents the mark of the logical place planned in advance in mobile communications network, and such as, positional information comprises cell ID or location area code etc.
The on off state of the default protocol stack in the multiple protocol stacks supported described in the on off state of the default protocol stack in the multiple protocol stacks supported described in S209, described modem recovery or described modem recovery the described modulator-demodulator that simultaneously resets.
Concrete, modulator-demodulator uses network in the unsuccessful registration of second protocol stack, and modulator-demodulator, according to the on off state of default protocol stack known in advance, recovers the on off state of default protocol stack or the modulator-demodulator that simultaneously resets.Default protocol stack is a protocol stack pre-set in multiple protocol stacks of modulator-demodulator support, the protocol stack that the protocol stack that can arrange same acquiescence for all regions herein uses as modulator-demodulator initial selected, also can arrange different default protocol stacks respectively for single area or the multiple areas being in a certain region, the embodiment of the present invention is not limited in any way.After carrying out reset operation, modulator-demodulator uses default protocol stack to carry out network registry, after network registry success, uses default protocol stack to carry out work.
Whether S210, positional information change.
Concrete, modulator-demodulator periodically obtains positional information, current acquisition positional information and on the positional information that once obtains compare change time, perform S211, otherwise continue acquisition positional information.Such as, positional information is cell ID, and mobile terminal moves to another community by a community, represents that positional information changes; Positional information is location area code, and mobile terminal moves to another band of position by a band of position, shows that positional information changes.Cycle the present invention that modulator-demodulator obtains positional information is not restricted, and can arrange according to the actual requirements.
The on off state of the default protocol stack in the multiple protocol stacks supported described in the on off state of the default protocol stack in the multiple protocol stacks supported described in S211, described modem recovery or described modem recovery the described modulator-demodulator that simultaneously resets.
Whether S212, protocol stack are registered unaccepted abnormal cause and are reported.
Concrete, reported if protocol stack registers unaccepted abnormal cause, then performed S215; Otherwise, perform S213.
S213, obtain described protocol stack and register unaccepted abnormal cause and daily record.
S214, described abnormal cause, described current positional information and daily record are reported network side and/or user.
Concrete, abnormal cause, current positional information and daily record are reported network side by modulator-demodulator, wherein, can when on mobile terminal connects when wifi hotspot, by wifi hotspot by above-mentioned information reporting to network side, to save flow.Or abnormal cause also can be presented on the display screen of mobile terminal by modulator-demodulator, checks for user.
It should be noted that, after executing S208, execution S210 and S212 that can walk abreast.
S215, this abnormal ending of described modem processes.
Implement embodiments of the invention, when modulator-demodulator detects that protocol stack registration is rejected, close the protocol stack of current use, other protocol stacks of the protocol stack except current use are selected from the multiple protocol stacks supported, open other protocol stacks and use other protocol stack registered networks, on successful registration during network, recording current positional information, and when change in location or when registered network is failed, recover on off state or the reset modulator-demodulator of default protocol stack.Cannot be detected fast during proper communication at modulator-demodulator like this, and the mode of carrying out network registry by switching other protocol stacks makes modulator-demodulator recover the normal of communication automatically, avoid forcing restarting the consuming time long problem that mobile terminal or location updating cause, decrease the time of network disaster recovery.
See Fig. 3, another schematic flow sheet of the processing method of a kind of network communicating function exception provided for the embodiment of the present invention, in embodiments of the present invention, described method comprises:
S301, modulator-demodulator detect that protocol stack registration is rejected.
S302, described modulator-demodulator judge that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions, if so, proceed to S304; Otherwise proceed to S303.
S303, reset operation is carried out to described modulator-demodulator.
Judging that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions, is the stability in order to determine the abnormal conditions that modulator-demodulator detects; And modulator-demodulator is resetted, again detect and whether detect that protocol stack registers unaccepted abnormal conditions.
Concrete, modulator-demodulator is arranged in mobile phone, can be encapsulated as in application processor AP, or independent of application processor, the present invention is not restricted.Modulator-demodulator is used for baseband signal being converted to radiofrequency signal, radiofrequency signal is converted to baseband signal, processes the signaling of Access Layer (AS) and Non-Access Stratum (NAS) and carry out interface etc. with AP processor.Due to some network reason, legal UE user's registered network sometimes also can be caused without service by network refusal, must manually restart retry again register by user, signing problem etc. between operator when usual reason comprises the failure of network authentication flow process, international roaming.Such as: after UE sends Attach Request message, the attachment refuse information that network sends was received before timer T3410 time-out, the reason of network refusal UE attachment is carried in attachment refuse information, it is such as, illegal that UE, EPS service is not allowed to, PLMN is not allowed to, tracing area is not allowed to, EPS service is not allowed to.Enter without service state after UE receives attachment refusal.When the registration of generation protocol stack is rejected, UE will enter without network service state.Modulator-demodulator can detect that protocol stack registration is rejected.
S304, described modulator-demodulator obtain the first protocol stack of the current use of described modulator-demodulator.
Concrete, protocol stack represents the summation of the various protocols stack that certain communication standard is corresponding, such as: protocol stack comprises gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack etc., multiple sub-protocol stack is comprised again, such as: TD-LTE protocol stack comprises again physical layer protocol stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stack, PDCP protocol stack and NAS protocol stack etc. below each communication standard protocol stack.Repeat no more herein.The method that modulator-demodulator obtains the first protocol stack of the current use of modulator-demodulator can be: in inquiry modulator-demodulator, the state flag bit of presentation protocol stack obtains the first protocol stack of current use, such as flag bit 1 represents that corresponding protocol stack is opening, and flag bit 0 represents that corresponding protocol stack is closed condition.
Described first protocol stack closed by S305, described modulator-demodulator, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported.
Concrete, modulator-demodulator uses the first protocol stack generation protocol stack registration to be rejected, thus causes modulator-demodulator abnormal, and modulator-demodulator needs cut out first protocol stack, prevents protocol stack from registering unaccepted problem and repeatedly occurs.Then, select the second protocol stack except the first protocol stack in multiple protocol stacks that modulator-demodulator determination modulator-demodulator is supported, wherein, the strategy that modulator-demodulator is selected can be: the protocol stack of the low one-level of Selection radio first protocol stack is as second protocol stack; Or measure the signal strength signal intensity of the cell signal that each protocol stack is corresponding around, using protocol stack maximum for signal strength signal intensity as second protocol stack; Or the higher leveled protocol stack of Selection radio first protocol stack is as second protocol stack; Or adopting other strategy to determine second protocol stack, the present invention is not restricted.
Described second protocol stack opened by S306, described modulator-demodulator, and uses described second protocol stack to carry out network registry.
Concrete, after closing the first protocol stack, mobile terminal is converted to Idle state by connected state, the second protocol stack selected opened by modulator-demodulator, and use second protocol stack to carry out network registry, the process of network registry is: move to network side and initiate attachment request, if network side allows mobile terminal access, return attachment response to mobile terminal, represent network registry success, mobile terminal has been converted to service state by without service state; If network side does not allow mobile terminal to access, return refusal/error message to mobile terminal, represent network registry failure.
If the success of S307 network registry, the positional information that described modulator-demodulator record is current.Step S308 can be performed afterwards; Simultaneously can also parallel execution of steps S310.
Concrete, positional information represents the mark of the logical place planned in advance in mobile communications network, and such as, positional information comprises cell ID or location area code etc.
Whether S308, positional information change.
Concrete, modulator-demodulator periodically obtains positional information, current acquisition positional information and on the positional information that once obtains compare change time, perform S307, otherwise continue acquisition positional information.Such as, positional information is cell ID, and mobile terminal moves to another community by a community, represents that positional information changes; Positional information is location area code, and mobile terminal moves to another band of position by a band of position, shows that positional information changes.Cycle the present invention that modulator-demodulator obtains positional information is not restricted, and can arrange according to the actual requirements.
The on off state of the default protocol stack in the multiple protocol stacks supported described in the on off state of the default protocol stack in the multiple protocol stacks supported described in S309, described modem recovery or described modem recovery the described adjustment demodulator that simultaneously resets.
Whether S310, protocol stack are registered unaccepted abnormal cause and are reported.
Concrete, reported if protocol stack registers unaccepted abnormal cause, then performed S301; When protocol stack is registered after unaccepted abnormal cause reported, user can carry out adjusting or repairing according to abnormal cause, continuing to jump to S301 is afterwards detected abnormal by modulator-demodulator, if modulator-demodulator still detects protocol stack, registration is rejected, then continue to perform the subsequent steps such as S302.Otherwise, perform S311.
S311, obtain described protocol stack and register unaccepted abnormal cause and daily record.
S312, described abnormal cause, described current positional information and daily record are reported network side and/or user.
Concrete, abnormal cause, current positional information and daily record are reported network side by modulator-demodulator, wherein, can when on mobile terminal connects when wifi hotspot, by wifi hotspot by above-mentioned information reporting to network side, to save flow.Or abnormal cause also can be presented on the display screen of mobile terminal by modulator-demodulator, checks for user.
After above-mentioned information reporting, can jump to step S301 equally, be detected abnormal by modulator-demodulator, if modulator-demodulator still detects protocol stack, registration is rejected, then continue to perform the subsequent steps such as S302.
By the mode of circulation, can guarantee that protocol stack registration is rejected the solution of problem, after Resolving probiems, modulator-demodulator can not detect that protocol stack registration is rejected again, and terminal can recover normal work.
Implement embodiments of the invention, modulator-demodulator is received modulator-demodulator and is detected that protocol stack registration is when being rejected, close the protocol stack of current use, other protocol stacks of the protocol stack except current use are selected from the multiple protocol stacks supported, open other protocol stacks and use other protocol stack registered networks, on successful registration during network, recording current positional information, and when change in location, recover on off state or the reset modulator-demodulator of default protocol stack.Cannot be detected fast during proper communication at modulator-demodulator like this, and the mode of carrying out network registry by switching other protocol stacks makes modulator-demodulator recover the normal of communication automatically, avoid forcing restarting the consuming time long problem that mobile terminal or location updating cause, decrease the time of network disaster recovery.
See Fig. 4, for the structural representation of a kind of modulator-demodulator that the embodiment of the present invention provides, in embodiments of the present invention, described modulator-demodulator 4 comprises: detection module 401, judge module 402, determination module 403, selection module 404, Registering modules 405, logging modle 406.
Detection module 401, for detecting that protocol stack registration is rejected.
Judge module 402, for judging that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions.
Determination module 403, if be yes for the described result judged, obtains the first protocol stack of the current use of described modulator-demodulator.
Selecting module 404, for closing described first protocol stack, and from multiple protocol stacks that described modulator-demodulator is supported, selecting the second protocol stack except described first protocol stack.
Registering modules 405, for opening described second protocol stack, and uses described second protocol stack to carry out network registry.
Logging modle 406, if for network registry success, record current positional information.
The embodiment of the present invention and embodiment of the method one are based on same design, and its technique effect brought is also identical, and concrete principle please refer to the description of embodiment of the method one, repeats no more herein.
Optionally, modulator-demodulator also comprises:
Recover module, for when network registry failure or when after network registry success and position changes time, the on off state recovering the default protocol stack in multiple protocol stacks of described support or the on off state recovering the default protocol stack in multiple protocol stacks of described support the described modulator-demodulator that simultaneously resets.
Optionally, modulator-demodulator also comprises:
Reporting module, does not report if register unaccepted abnormal cause for described protocol stack, obtains described protocol stack and registers unaccepted abnormal cause and daily record; Described abnormal cause, described current positional information and daily record are reported network side and/or user.
Optionally, reporting module is used for:
Described abnormal cause, described current positional information and daily record also, after establishing a communications link with wifi hotspot, are reported network side by the wifi hotspot established a communications link by the wifi hotspot around scanning.
The embodiment of the present invention and embodiment of the method two and three are based on same design, and its technique effect brought is also identical, and concrete principle please refer to the description of embodiment of the method two and three, repeats no more herein.
See Fig. 5, for another structural representation of a kind of modulator-demodulator of the embodiment of the present invention, in this enforcement, modulator-demodulator is for realizing the processing method of the network communicating function exception described in Fig. 1, modulator-demodulator comprises CPU501, memory 502 and communication interface 503, the quantity of the CPU501 in modulator-demodulator can be one or more, and Fig. 5 is for a CPU.In some embodiments of the present invention, CPU501, memory 502 are connected, for bus connection in Fig. 5 by bus or other modes with communication interface 503.
Wherein, in memory 502, store batch processing code, and CPU501 is for calling the program code stored in memory 502, for performing following operation:
Detect that protocol stack registration is rejected;
Judge that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions;
If the result judged described is yes, obtains the first protocol stack of the current use of described modulator-demodulator;
Close described first protocol stack, and select the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Open described second protocol stack, and use described second protocol stack to carry out network registry;
If network registry success, records current positional information.
In some embodiments of the invention, CPU501 is also for performing:
If the result of described judgement is no, reset described modulator-demodulator.
In some embodiments of the invention, CPU501 is also for performing:
If network registry failure, recover in multiple protocol stacks of described support default protocol stack on off state or recover in multiple protocol stacks of described support default protocol stack on off state and to reset described modulator-demodulator simultaneously.
In some embodiments of the invention, if CPU501 performs described network registry success, after recording current positional information, also for performing:
When position changes, the on off state of the default protocol stack in the multiple protocol stacks supported described in the on off state of the default protocol stack in the multiple protocol stacks supported described in described modem recovery or described modem recovery the described modulator-demodulator that simultaneously resets.
In some embodiments of the invention, CPU501 is also for performing:
If described protocol stack is registered unaccepted abnormal cause and do not reported, obtain described protocol stack and register unaccepted abnormal cause and daily record;
Described abnormal cause, described current positional information and daily record are reported network side and/or user.
In some embodiments of the invention, CPU501 performs and describedly described abnormal cause, described current positional information and daily record are reported network side comprises:
Described abnormal cause, described current positional information and daily record also, after establishing a communications link with wifi hotspot, are reported network side by the wifi hotspot established a communications link by the wifi hotspot around scanning.
The embodiment of the present invention additionally provides a kind of mobile terminal comprising above-mentioned modulator-demodulator, and mobile terminal includes but not limited to carry or the mobile terminal of other operating system, such as mobile phone.Also can be other mobile terminal, such as there is the laptop computer of Touch sensitive surface (such as, touch-screen display and/or Trackpad) or panel computer or desktop computer.
In the following discussion, a kind of mobile terminal comprising display and Touch sensitive surface is described.But should be appreciated that mobile terminal can comprise other physical user-interface device one or more, such as physical keyboard, mouse and/or action bars.
Mobile terminal supports multiple application program usually, one or more in such as following: picture application program, present application program, word-processing application, webpage creates application program, dish editing application program, spreadsheet applications, game application, telephony application, videoconference application, email application, instant message application program, temper support application program, photograph management application program, digital camera applications program, digital video camcorder application program, network browsing application program, digital music player application, and/or video frequency player application program.
The various application programs that can perform on mobile terminals can use at least one physical user-interface device shared, such as Touch sensitive surface.One or more functions of Touch sensitive surface and display corresponding information on mobile terminals and/or can be changed to lower a kind of application program and/or adjusted in corresponding application programs and/or change from a kind of application program adjustment.Like this, the shared physical structure (such as Touch sensitive surface) of mobile terminal can to utilize for user clearly user interface directly perceived to support various application program.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (10)

1. a processing method for network communicating function exception, is characterized in that, comprising:
Modulator-demodulator detects that protocol stack registration is rejected;
Described modulator-demodulator judges that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions;
If the result judged described is yes, and described modulator-demodulator obtains the first protocol stack of the current use of described modulator-demodulator;
Described modulator-demodulator cuts out described first protocol stack, and selects the second protocol stack except described first protocol stack from multiple protocol stacks that described modulator-demodulator is supported;
Described second protocol stack opened by described modulator-demodulator, and uses described second protocol stack to carry out network registry;
If network registry success, the positional information that described modulator-demodulator record is current.
2. the method for claim 1, is characterized in that, also comprises:
If network registry failure, the on off state of the default protocol stack in the multiple protocol stacks supported described in the on off state of the default protocol stack in the multiple protocol stacks supported described in described modem recovery or described modem recovery the described modulator-demodulator that simultaneously resets.
3. method as claimed in claim 1 or 2, is characterized in that, if the success of described network registry, after the positional information that described modulator-demodulator record is current, also comprises:
When position changes, the on off state of the default protocol stack in the multiple protocol stacks supported described in the on off state of the default protocol stack in the multiple protocol stacks supported described in described modem recovery or described modem recovery the described modulator-demodulator that simultaneously resets.
4. the method as described in claim 1-3 any one, is characterized in that, also comprises:
If described protocol stack is registered unaccepted abnormal cause and do not reported, described modulator-demodulator obtains described protocol stack and registers unaccepted abnormal cause and daily record;
Described abnormal cause, described current positional information and daily record are reported network side and/or user by described modulator-demodulator.
5. method as claimed in claim 4, it is characterized in that, described abnormal cause, described current positional information and daily record are reported network side by described modulator-demodulator, comprising:
Scanning wifi hotspot around after establishing a communications link with wifi hotspot, described abnormal cause, described current positional information and daily record are reported network side by the wifi hotspot established a communications link by described modulator-demodulator.
6. a modulator-demodulator, is characterized in that, comprising:
Detection module, for detecting that protocol stack registration is rejected;
Judge module, for judging that the protocol stack whether set point number occurs in setting-up time registers unaccepted abnormal conditions;
Determination module, if be yes for the described result judged, obtains the first protocol stack of the current use of described modulator-demodulator;
Selecting module, for closing described first protocol stack, and from multiple protocol stacks that described modulator-demodulator is supported, selecting the second protocol stack except described first protocol stack;
Registering modules, for opening described second protocol stack, and uses described second protocol stack to carry out network registry;
Logging modle, if for network registry success, record current positional information.
7. modulator-demodulator as claimed in claim 6, is characterized in that, also comprise:
Recover module, for when network registry failure or when after network registry success and position changes time, the on off state recovering the default protocol stack in multiple protocol stacks of described support or the on off state recovering the default protocol stack in multiple protocol stacks of described support the described modulator-demodulator that simultaneously resets.
8. modulator-demodulator as claimed in claims 6 or 7, is characterized in that, also comprise:
Reporting module, does not report if register unaccepted abnormal cause for described protocol stack, obtains described protocol stack and registers unaccepted abnormal cause and daily record; Described abnormal cause, described current positional information and daily record are reported network side and/or user.
9. modulator-demodulator as claimed in claim 8, is characterized in that, described reporting module specifically for:
Described abnormal cause, described current positional information and daily record also, after establishing a communications link with wifi hotspot, are reported network side by the wifi hotspot established a communications link by the wifi hotspot around scanning.
10. a mobile terminal, is characterized in that, comprises the modulator-demodulator as described in claim 6-9 any one.
CN201510828304.1A 2015-11-24 2015-11-24 Processing method, modem and the mobile terminal of network communicating function exception Active CN105376783B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510828304.1A CN105376783B (en) 2015-11-24 2015-11-24 Processing method, modem and the mobile terminal of network communicating function exception
CN201810350010.6A CN108684054B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and mobile terminal

Applications Claiming Priority (1)

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

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201810350010.6A Division CN108684054B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and mobile terminal

Publications (2)

Publication Number Publication Date
CN105376783A true CN105376783A (en) 2016-03-02
CN105376783B CN105376783B (en) 2018-06-29

Family

ID=55378492

Family Applications (2)

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
CN201810350010.6A Active CN108684054B (en) 2015-11-24 2015-11-24 Processing method for network communication function abnormity, modem and mobile terminal

Family Applications After (1)

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

Country Status (1)

Country Link
CN (2) CN105376783B (en)

Cited By (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
WO2022083329A1 (en) * 2020-10-22 2022-04-28 荣耀终端有限公司 Method and device for processing network registration anomaly, storage medium and chip

Citations (4)

* 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
CN104081826A (en) * 2012-03-16 2014-10-01 Lg电子株式会社 Method and apparatus for processing NAS signaling request in wireless communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102008842B1 (en) * 2012-11-22 2019-08-08 삼성전자주식회사 Apparatus and method for selecting network in communication system

Patent Citations (4)

* 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

Cited By (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
WO2022083329A1 (en) * 2020-10-22 2022-04-28 荣耀终端有限公司 Method and device for processing network registration anomaly, storage medium and chip

Also Published As

Publication number Publication date
CN108684054A (en) 2018-10-19
CN105376783B (en) 2018-06-29
CN108684054B (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN105376773A (en) Network communication function anomaly processing method, application processor and mobile terminal
CN105357053A (en) Network communication functional abnormity processing method, application processor and user terminal
CN105376776A (en) Processing method of network communication function abnormity, application processor and mobile terminal
CN105357049A (en) Network communication functional abnormity processing method, application processor and mobile terminal
CN108601018B (en) Processing method for network communication function abnormity, application processor and mobile terminal
CN105338663A (en) Method for treating network communication function abnormity, modem and mobile terminal
CN108738054B (en) Processing method for network communication function abnormity, modem, mobile terminal and storage medium
CN105407461A (en) Processing method for network communication function abnormality, application processor and mobile terminal
CN105376113A (en) Processing method of network communication function abnormity, modem and mobile terminal
CN105491604A (en) Network communication function abnormality processing method, modulator-demodulator and user terminal
CN105634794B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376783A (en) Processing method for network communication function abnormity, modem and mobile terminal
CN105376873A (en) Method for handling network communication function exception, modulator-demodulator and mobile terminal
CN105490838A (en) Processing method of network communication function abnormality, modem and mobile terminal
CN105376775A (en) Processing method of network communication function abnormity, application processor and mobile terminal
CN105517029A (en) Processing method for network communication function abnormity, application processor, and mobile terminal
CN105491608A (en) Processing method for network communication function exception, application processor and mobile terminal
CN105472648A (en) Network communication function abnormity processing method, modem and mobile terminal
CN105515824A (en) Processing method for network communication function abnormity and modem
CN105357050A (en) Network communication functional abnormity processing method, application processor and mobile terminal
CN105376787A (en) Method for processing network communication function abnormity and application processor
CN105357705A (en) Network communication functional abnormity processing method, application processor and mobile terminal
CN105491605A (en) Network communication function abnormality processing method, modulator-demodulator and mobile terminal
CN105376774B (en) Processing method, modem and the mobile terminal of network communicating function exception
CN105376784A (en) Processing method for network communication function abnormity, application processor and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

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

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

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