CN105357393B - 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 PDFInfo
- Publication number
- CN105357393B CN105357393B CN201510830370.2A CN201510830370A CN105357393B CN 105357393 B CN105357393 B CN 105357393B CN 201510830370 A CN201510830370 A CN 201510830370A CN 105357393 B CN105357393 B CN 105357393B
- Authority
- CN
- China
- Prior art keywords
- modem
- protocol stack
- network
- network registry
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of processing methods of network communicating function exception, including:Caused by modem is detected because of network registry failure when Network Abnormal, the modem obtains the first currently used protocol stack;The modem closes first protocol stack, opens second protocol stack and carries out network registry, the second protocol stack is the protocol stack for removing first protocol stack at least two protocol stacks of modem support;If network registry success, the modem obtain current location information;If network registry fails, the switch state and/or the modem of the default protocol stack at least two protocol stacks of support described in the modem recovery are resetted.The embodiment of the invention also discloses a kind of modem and mobile terminals.Using the present invention, the time of data service recovery can be shortened.
Description
Technical field
The present invention relates to the processing methods of field of communication technology more particularly to a kind of network communicating function exception, modulatedemodulate
Adjust device and mobile terminal.
Background technique
With the development of communication technology, the type for the communication standard that mobile phone is supported is more and more, such as:One mobile phone can be with
The communication standard for supporting 2G, 3G and 4G of different operators simultaneously, can satisfy the communication system needed under different communication environment
The requirement of formula.The high speed development of mobile Internet makes data service occupy absolute specific gravity, thus the modem in mobile phone
Effect and status become more and more important, modem be used for by data to be sent be converted to radiofrequency signal and by device signal turn
It is changed to pending data, the signaling of processing access layer (AS) and Non-Access Stratum (NAS) and carries out interface etc. with AP processor.
Since the mobile network environment locating for mobile phone is sufficiently complex, mobile phone is often switched between different communication standards,
Communication standard switching during be often abnormal, cause mobile phone can not normal Networked communication, such as network registry lose
It loses.In order to solve can not Networked communication exception, when mobile phone is moved to the new band of position, mobile phone is set the prior art to network
Preparation plays position updating request, waits the network equipment to configure again to mobile phone, restores the configuration parameter of modem, from
And realize the recovery of data service;Or user has found after being unable to Networked communication for a long time, carries out forcing weight manually to mobile terminal
It opens recovery or the recovery of the configuration parameter progress data service of modem is set.But the time that two schemes expend is equal
It is too long, the requirement surfed the Internet rapidly is then unable to satisfy for the user for needing promptly to surf the Internet, brings inconvenience to user.
Summary of the invention
The present invention provides processing method, modem and the mobile terminal of a kind of network communicating function exception, can shorten
The time that data service restores can not can not be automatically attempted in the case where Networked communication with solving to be abnormal in the prior art
Restore or restore the problem of communication service takes long time.
First aspect present invention provides a kind of processing method of network communicating function exception, including:
Caused by modem is detected because of network registry failure when Network Abnormal, the modem acquisition is worked as
Preceding the first protocol stack used;
The modem closing first protocol stack, unlatching second protocol stack progress network registry, described second
Protocol stack is the protocol stack that first protocol stack is removed at least two protocol stacks of modem support;
If network registry success, the modem obtain current location information;
Default association if network registry fails, at least two protocol stacks of support described in the modem recovery
The switch state and/or the modem for discussing stack are resetted.
In conjunction with the implementation of first aspect present invention, in the first possible implementation of first aspect present invention
In, Network Abnormal caused by the modem is detected because of network registry failure, including:
If the modem is detected because sending and receiving data time-out causes network registry to fail, it is determined that occur because of network
Network Abnormal caused by registration failure.
In conjunction with the implementation of first aspect present invention, in second of possible implementation of first aspect present invention
In, after the modem obtains current location information, the method also includes:
Default association when position changes, at least two protocol stacks of support described in the modem recovery
The switch state and/or the modem for discussing stack are resetted.
In conjunction with any possible implementation in second of first aspect present invention to first aspect, the method is also
Including:
If the modem does not report registration failure reason, it is former that the modem obtains the registration failure
Cause:
The modem to the network equipment report the registration failure reason and/or variation after location information.
In conjunction with the third possible implementation of first aspect present invention, in the 4th kind of possibility of first aspect present invention
Implementation in, the modem to the network equipment report the registration failure reason and/or variation after position believe
Breath, including:
The modem reports the registration failure reason to the network equipment by Wireless Fidelity WiFi network
And/or the location information after the variation.
Second aspect of the present invention provides a kind of modem, including:
Detection module, for when Network Abnormal, obtaining currently used the caused by detecting because of network registry failure
One protocol stack;
Opening module, the first protocol stack obtained for closing the detection module open second protocol stack and carry out network
Registration, the second protocol stack are the agreement that first protocol stack is removed at least two protocol stacks of modem support
Stack;
First obtains module, if obtaining current location information for network registry success;
Recovery module restores the default protocol at least two protocol stacks of the support if failing for network registry
The switch state of stack, and/or resetted.
In conjunction with the implementation of second aspect of the present invention, in the first possible implementation of second aspect of the present invention
In, the detection module is specifically used for:
If detecting because sending and receiving data time-out causes network registry to fail, it is determined that caused by occurring because of network registry failure
Network Abnormal.
In conjunction with the implementation of second aspect of the present invention, in second of possible implementation of second aspect of the present invention
In, the recovery module is also used to:
When position changes, restore the switch shape of the default protocol stack at least two protocol stacks of the support
State, and/or resetted.
In conjunction with any possible implementation in second of second aspect of the present invention to second aspect, in the present invention the
In the third possible implementation of two aspects, the modem further includes:
Second obtains module, if obtaining the registration failure reason for not reporting registration failure reason:
Reporting module, for the location information after reporting the registration failure reason and/or variation to the network equipment;
The reporting module, is specifically used for:
After reporting the registration failure reason and/or the variation to the network equipment by Wireless Fidelity WiFi network
Location information.
Third aspect present invention provides a kind of mobile terminal, including modem described in above-mentioned any one.
Using the present invention, caused by modem is detected because of network registry failure when Network Abnormal, modulation /demodulation
Device closes the first protocol stack, opens second protocol stack and carries out network registry, second protocol stack is that modem is supported at least
The protocol stack of the first protocol stack is removed in two protocol stacks, if network registry success, modem obtains current position letter
Breath, if network registry fails, the default protocol stack at least two protocol stacks that modem recovery is supported, and/or into
Row resets.In Network Abnormal caused by modem is detected because of network registry failure, can replace rapidly currently used
Protocol stack, re-start network registry using the protocol stack after replacement, avoid force restart caused by mobile phone or location updating
The problem of taking long time can shorten the time of data service recovery.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for this field
For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of flow diagram of the processing method of network communicating function exception provided in an embodiment of the present invention;
Fig. 2 is a kind of another process signal of the processing method of network communicating function exception provided in an embodiment of the present invention
Figure;
Fig. 3 is a kind of another process signal of the processing method of network communicating function exception provided in an embodiment of the present invention
Figure;
Fig. 4 is a kind of structural schematic diagram of modem provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Using the embodiment of the present invention, the time of data service recovery can be shortened.
Description and claims of this specification and term " first ", " second ", " third " and " in above-mentioned attached drawing
Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it
Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be
System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list
Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referring to Fig. 1, Fig. 1 is a kind of process of the processing method of network communicating function exception provided in an embodiment of the present invention
Schematic diagram.Modem can be integrated in mobile terminal, a chip being also possible to inside independently of mobile terminal, this hair
It is bright with no restriction.Mobile terminal for example can be mobile phone, tablet computer, laptop, palm PC, mobile internet device
(MID, mobile internet device), wearable device (such as smartwatch (such as iwatch), Intelligent bracelet, meter
Walk device etc.) or other can instant messaging terminal device.The present embodiments relate to the network equipment can be supported for base station etc. with
Radio station is believed in the transceiving that mobile terminal carries out communication information transmitting.
As shown in Figure 1, a kind of processing method of network communicating function exception of the embodiment of the present invention may include following step
Suddenly.
S100, caused by modem is detected because of network registry failure when Network Abnormal, the modem
Obtain the first currently used protocol stack.
In the specific implementation, modem is the abbreviation of Modulator (modulator) Yu Demodulator (demodulator).
It is transmitting terminal converts digital signals into analog signal, radiofrequency signal is converted to baseband signal by modulation, processing connects
Enter the signaling of layer (AS) and Non-Access Stratum (NAS) and carry out interface etc. with AP processor, and again will in receiving end by demodulation
Analog signal is converted to a kind of device of digital signal.Digital signal, is exactly converted into analog signal by so-called modulation;Demodulation,
Analog signal is converted into digital signal, is collectively referred to as modem, its effect is analog signal and digital signal " translation
Member ".Electronic signal is divided to two kinds, and one is " analog signals ", and one is " digital signals ".Electronic device inside mobile terminal passes
Defeated is digital signal, and what is transmitted between mobile terminal and the network equipment is analog signal.So when mobile terminal request connects
When entering mobile network, modem " translation " two different signals must be just used.Due to the electricity inside mobile terminal
Sub-device transmission is digital signal, thus have to modem come digital signal " translation " at analog signal,
It can be transmitted on network, this process is called " modulation ".When the network equipment obtains information, since the information received is simulation
Signal, thus must by modem by analog signal " translation " at digital signal, this process is " modulation /demodulation ".
In the specific implementation, mobile terminal is by sending attach request (Attach Request) message or LAU (Location
Area Update, location area updating) message originating network registration, in the registration process of mobile terminal, mobile terminal protocol stack
It is abnormal and can lead to network registry failure;Or the network coverage is weak or signal interference causes greatly mobile terminal and network communication to lose
It loses and also results in network registry failure;Or for example certain down channel transmission powers of the netconfig problem of certain network cells are matched
Set it is too low also result in random access failure or RRC (Radio Resource Control, wireless heterogeneous networks) link can not
Being successfully established leads to registration failure.Cause the abnormal cause of registration failure very much, including but not limited on address following reasons:
NAS (Non-Access Stratum, Non-Access Stratum) receives the error indication of rrc layer or receives the NAS signaling connection of rrc layer
Release instruction, RRC integrity protection fail, mobile terminal enters new TA (Tracking Area, tracing area),
Rrc layer indicates that Attach Request message sends failure, mobile terminal sends attachment and completes RRC when (Attach Complete) message
Mobile terminal does not receive the attachment refusal (Attach of network equipment transmission before layer instruction message sends failure, timer expiry
Reject) message or attachment allow (Attach Accept) message, the reason field detection failure in attachment refuse information, move
Dynamic terminal activation default bearing failure, mobile terminal authentication failure or safe activation failure.Optionally, mobile terminal sending and receiving data
Time-out can also cause network registry to fail.
As a kind of enforceable mode, modem supports various protocols stack.Protocol stack indicates some communication standard
The summation of corresponding various protocols, such as:Protocol stack includes GSM (Global System for Mobile
Communications, global system for mobile communications) protocol stack, EDGE (Enhanced Data Rate for GSM
Evolution, enhanced data rates for gsm evolution technology) protocol stack, HSPDA (High Speed Downlink Packet
Access, high-speed downlink packet access) protocol stack, TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA) protocol stack, TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex-long term evolution) protocol stack, FDD-LTE (Frequency
Division Duplexing-Long Term Evolution, frequency division duplex-long term evolution) protocol stack etc., each communication system
It include again multiple sub-protocol stacks below formula protocol stack, details are not described herein again.Modem is being detected because network registry fails
When caused Network Abnormal, the first currently used protocol stack is determined.
S101, the modem close first protocol stack, open second protocol stack and carry out network registry, described
Second protocol stack is the protocol stack that first protocol stack is removed at least two protocol stacks of modem support.
In the specific implementation, the first protocol stack is the protocol stack for causing network registry failure, modem needs to close the
One protocol stack, prevents network registry from unsuccessfully repeated.Then, modem determines at least two that modem is supported
Selection removes the second protocol stack of the first protocol stack in protocol stack, wherein the strategy of modem selection can be:Selection is than the
The protocol stack of the low level-one of one protocol stack is as second protocol stack;Or the signal of the corresponding cell signal of each protocol stack of measurement surrounding
Intensity, using the maximum protocol stack of signal strength as second protocol stack;Or selection protocol stack more higher leveled than the first protocol stack is made
For second protocol stack;Or second protocol stack is determined using other strategies, the present invention is with no restriction.Modem is from modulatedemodulate
Selection one is removed the second protocol stack of the first protocol stack in the multiple protocol stacks for adjusting device to support.Modem closes the first agreement
After stack, mobile terminal is converted to Idle state by connected state, and modem opens the second protocol stack of selection, uses second protocol
Stack carries out network registry.
S102, if network registry success, the modem obtain current location information.
In the specific implementation, if using the success of second protocol stack registered network, modem records current position
Information.Specifically, location information indicates that logical place, location information can be CID to mobile terminal in the mobile communication network
(Cell Identity, base station number) or LAC (Location Area Code, location area code) or cell ID etc., this hair
It is bright with no restriction.
S103, if network registry fails, at least two protocol stacks of support described in the modem recovery
The switch state of default protocol stack and/or the modem are resetted.
In the specific implementation, default protocol stack is pre-set protocol stack, default protocol stack is what modem was supported
One in multiple protocol stacks.If failed using second protocol stack registered network, modem is opened pre-set silent
Recognize protocol stack, carries out network registry using default protocol stack;Alternatively, being exchanged while modem opens default protocol stack
Modulator-demodulator carries out reset operation;Alternatively, modem carries out reset operation, after resetting operation, modem is used
Default protocol stack carries out network registry.
As a kind of enforceable mode, the protocol stack higher for priority level, mobile terminal is based on the protocol stack can
To obtain preferably network connection or stronger network signal, and modem is generally also the priority level according to protocol stack
The network registry of mobile terminal is realized from high to low sequence, therefore, in embodiments of the present invention, can set modem
The middle highest protocol stack of priority level is default protocol stack.
In the specific implementation, the priority level of each protocol stack of modem can be preset, a kind of enforceable side
Formula is:The priority level of each protocol stack can be determined when modem dispatches from the factory;Alternatively, can be in modem
It is configured in mobile terminal and during being initialized, test mobile terminal uses network connection when each protocol stack
And network signal intensity situation, it is arranged further according to the network connection and network signal intensity situation used when each protocol stack preferential
Rank;Etc..Another enforceable mode is:The priority level of each protocol stack of modem can be adjusted flexibly,
Such as:Network connection and network signal intensity feelings of the available mobile terminal when some band of position uses each protocol stack
Condition uses network connection and network signal intensity situation when each protocol stack that priority level is arranged further according to the band of position;
Alternatively, the priority level of each protocol stack can be arranged according to the sequence of the common network communication standard of mobile terminal;Etc..
It is adjusted caused by modem is detected because of network registry failure when Network Abnormal using the embodiment of the present invention
Modulator-demodulator closes the first protocol stack, opens second protocol stack and carries out network registry, second protocol stack is modem support
At least two protocol stacks in remove the protocol stack of the first protocol stack, if network registry success, modem obtain current
Location information, if network registry fails, the default protocol stack at least two protocol stacks that modem recovery is supported,
And/or modem is resetted.It, can in Network Abnormal caused by modem is detected because of network registry failure
Currently used protocol stack is replaced rapidly, re-starts network registry using the protocol stack after replacement, avoids forcing to restart mobile phone
Or the problem of being taken long time caused by location updating, the time of data service recovery can be shortened.
Referring to Fig. 2, Fig. 2 is a kind of the another of the processing method of network communicating function exception provided in an embodiment of the present invention
Flow diagram.
As shown in Fig. 2, a kind of processing method of network communicating function exception of the embodiment of the present invention may include following step
Suddenly.
S200, modem judge whether Network Abnormal caused by detecting because of network registry failure.
In the specific implementation, if the modem is detected because sending and receiving data time-out causes network registry to fail, really
Network Abnormal caused by the failure of Ding Fashengyin network registry.Specifically, when mobile terminal is to network equipment sending and receiving data, if
Not receiving the feedback information that the network equipment is sent in preset time, (feedback information may be, for example, the network equipment and have received movement
The prompt information for the data that terminal is sent, or be the response data that the network equipment is directed to that received data issue), then modulatedemodulate
It adjusts device to detect and network registry failure occurs, execute S201, network registry failure occurs if not detecting, executes S200.Hair
When raw network registry failure, mobile terminal can not access network device, between mobile terminal and the network equipment can not direct communication,
Directly contributing user can not access to mobile network.
As a kind of enforceable mode, mobile terminal is by sending Attach Request message or LAU message originating network note
Volume, in mobile terminal registration process, mobile terminal protocol stack, which is abnormal, can lead to network registry failure;Or the network coverage
Weak or signal interference causes greatly mobile terminal and network communication unsuccessfully to also result in network registry failure;Or certain network cells
Netconfig problem such as certain down channel transmission powers configuration too low also result in random access failure or RRC link can not
Being successfully established leads to registration failure.Cause the abnormal cause of registration failure very much, including but not limited on address following reasons:
NAS layers receive the error indication of rrc layer or receive rrc layer NAS signaling Connection Release instruction, RRC integrity protection failure,
Mobile terminal enters a new TA, rrc layer instruction Attach Request message sends failure, mobile terminal sends attachment and completes to disappear
Mobile terminal does not receive the attachment refusal of network equipment transmission before rrc layer instruction message sends failure, timer expiry when breath
Reason field in message or attachment permission message, attachment refuse information detects failure, mobile terminal activating default bearing fails,
Mobile terminal authentication failure or safe activation failure.
S201, the modem obtain the first currently used protocol stack.
In the specific implementation, protocol stack indicates the summation of the corresponding various protocols stack of some communication standard, such as:Protocol stack packet
Include gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack
Deng, it again include multiple sub-protocol stacks below each communication standard protocol stack, such as:TD-LTE protocol stack includes physical layer protocol again
Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stack, PDCP protocol stack and NAS association
Stack etc. is discussed, details are not described herein again.The method that modem obtains the first currently used protocol stack can be:Modem
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, and modem obtains mark again
The corresponding protocol stack in will position 1.
S202, the modem close first protocol stack, open second protocol stack and carry out network registry, described
Second protocol stack is the protocol stack that first protocol stack is removed at least two protocol stacks of modem support.
In the specific implementation, the first protocol stack is the protocol stack for causing network registry failure, modem needs to close the
One protocol stack, prevents network registry from unsuccessfully repeated.Modem is selected from multiple protocol stacks that modem is supported
Select the second protocol stack for removing the first protocol stack.After modem closes the first protocol stack, mobile terminal is turned by connected state
It is changed to Idle state, modem opens the second protocol stack of selection, carries out network registry using second protocol stack.
Whether S203, network registry succeed.
Specifically, if modem executes S204, if modem using network on second protocol stack successful registration
It registers network not successfully using second protocol stack, executes S205.
S204, the modem obtain current location information.
In the specific implementation, if network registry success, the modem obtain current location information.Specifically,
Location information indicates that logical place, location information can be CID or LAC or cell ID to mobile terminal in the mobile communication network
Deng the present invention is with no restriction.
S205, the switch shape of the default protocol stack at least two protocol stacks of support described in the modem recovery
State and/or the modem are resetted.
In the specific implementation, if network registry fails, at least two agreements of support described in the modem recovery
Default protocol stack or the modem in stack are resetted.Default protocol stack is pre-set protocol stack, default
Protocol stack is one in multiple protocol stacks that modem is supported.If failed using second protocol stack registered network, adjust
Modulator-demodulator opens pre-set default protocol stack, carries out network registry using default protocol stack;Alternatively, in modem
Reset operation is carried out to modem while opening default protocol stack;Alternatively, modem carries out reset operation, reset
After operation, modem carries out network registry using default protocol stack.
S206, modem judge whether location information changes.
In the specific implementation, modem periodically obtains location information, in the location information currently obtained and upper one
The location information of secondary acquisition executes S207, otherwise continues to execute step S206 compared to when changing.For example, location information is
CID, mobile terminal are moved to the cell that another base station services by the cell that a base station services, and indicate that location information becomes
Change;Location information is LAC, and mobile terminal is moved to another band of position by a band of position, shows location information
Variation;Location information is cell ID, and mobile terminal is moved to another cell by the cell that base station services, and indicates position letter
Breath changes.Modem obtains the period present invention of location information with no restriction, can be set according to actual needs
It sets.
S207, the switch shape of the default protocol stack at least two protocol stacks of support described in the modem recovery
State and/or the modem are resetted.
Specifically, modem register network using second protocol stack not successfully, modem according to it is preparatory
The default protocol stack switch state known restores default protocol stack switch state;Alternatively, restoring default protocol stack switch state simultaneously
Reset operation is carried out to modem;Alternatively, modem carries out reset operation, and after carrying out reset operation, modulation /demodulation
Device is carried out network registry after network registry success using default protocol stack and is worked using default protocol stack.Default protocol stack
The pre-set protocol stack in multiple protocol stacks supported for modem.
It is understood that default protocol stack herein both may be the first protocol stack, it is also possible to the first protocol stack with
Other outer protocol stacks.It should be noted that if in the present embodiment default protocol stack be the first protocol stack (it is i.e. pent,
Dedicated bearer processing is caused to generate abnormal protocol stack), then, this step, which is equivalent to, reopens the first protocol stack.This step
After reopening the first protocol stack, since the location information of mobile terminal has changed, this is based on mobile terminal
The first protocol stack reopened can carry out proper network registration and restore Web vector graphic.
It is adjusted caused by modem is detected because of network registry failure when Network Abnormal using the embodiment of the present invention
Modulator-demodulator closes the first protocol stack, opens second protocol stack and carries out network registry, second protocol stack is modem support
At least two protocol stacks in remove the protocol stack of the first protocol stack, if network registry success, modem obtain current
Location information, if network registry fails, the default protocol stack at least two protocol stacks that modem recovery is supported,
And/or modem is resetted.It, can in Network Abnormal caused by modem is detected because of network registry failure
Currently used protocol stack is replaced rapidly, re-starts network registry using the protocol stack after replacement, avoids forcing to restart mobile phone
Or the problem of being taken long time caused by location updating, the time of data service recovery can be shortened.
Referring to Fig. 3, Fig. 3 is a kind of the another of the processing method of network communicating function exception provided in an embodiment of the present invention
Flow diagram.
As shown in figure 3, a kind of processing method of network communicating function exception of the embodiment of the present invention may include following step
Suddenly.
S300, modem judge whether Network Abnormal caused by detecting because of network registry failure.
In the specific implementation, if the modem is detected because sending and receiving data time-out causes network registry to fail, really
Network Abnormal caused by the failure of Ding Fashengyin network registry.Specifically, when mobile terminal is to network equipment sending and receiving data, if
Not receiving the feedback information that the network equipment is sent in preset time, (feedback information may be, for example, the network equipment and have received movement
The prompt information for the data that terminal is sent, or be the response data that the network equipment is directed to that received data issue), then modulatedemodulate
It adjusts device to detect and network registry failure occurs, execute S301, network registry failure occurs if not detecting, executes S300.Hair
When raw network registry failure, mobile terminal can not access network device, between mobile terminal and the network equipment can not direct communication,
Directly contributing user can not access to mobile network.
As a kind of enforceable mode, mobile terminal is by sending Attach Request message or LAU message originating network note
Volume, in mobile terminal registration process, mobile terminal protocol stack, which is abnormal, can lead to network registry failure;Or the network coverage
Weak or signal interference causes greatly mobile terminal and network communication unsuccessfully to also result in network registry failure;Or certain network cells
Netconfig problem such as certain down channel transmission powers configuration too low also result in random access failure or RRC link can not
Being successfully established leads to registration failure.Cause the abnormal cause of registration failure very much, including but not limited on address following reasons:
NAS layers receive the error indication of rrc layer or receive rrc layer NAS signaling Connection Release instruction, RRC integrity protection failure,
Mobile terminal enters a new TA, rrc layer instruction Attach Request message sends failure, mobile terminal sends attachment and completes to disappear
Mobile terminal does not receive the attachment refusal of network equipment transmission before rrc layer instruction message sends failure, timer expiry when breath
Reason field in message or attachment permission message, attachment refuse information detects failure, mobile terminal activating default bearing fails,
Mobile terminal authentication failure or safe activation failure.
S301, the modem obtain the first currently used protocol stack.
In the specific implementation, protocol stack indicates the summation of the corresponding various protocols stack of some communication standard, such as:Protocol stack packet
Include gsm protocol stack, EDGE protocol stack, HSPDA protocol stack, TD-SCDMA protocol stack, TDD-LTE protocol stack, FDD-LTE protocol stack
Deng, it again include multiple sub-protocol stacks below each communication standard protocol stack, such as:TD-LTE protocol stack includes physical layer protocol again
Stack, media access control layer MAC protocol stack, wireless spread-spectrum technology rlc protocol stack, RRC protocol stack, PDCP protocol stack and NAS association
Stack etc. is discussed, details are not described herein again.The method that modem obtains the first currently used protocol stack can be:Modem
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, and modem obtains mark again
The corresponding protocol stack in will position 1.
S302, the modem close first protocol stack, open second protocol stack and carry out network registry, described
Second protocol stack is the protocol stack that first protocol stack is removed at least two protocol stacks of modem support.
In the specific implementation, the first protocol stack is the protocol stack for causing network registry failure, modem needs to close the
One protocol stack, prevents network registry from unsuccessfully repeated.Modem is selected from multiple protocol stacks that modem is supported
Select the second protocol stack for removing the first protocol stack.After modem closes the first protocol stack, mobile terminal is turned by connected state
It is changed to Idle state, modem opens the second protocol stack of selection, carries out network registry using second protocol stack.
Whether S303, network registry succeed.
Specifically, if modem executes S304, if modem using network on second protocol stack successful registration
It registers network not successfully using second protocol stack, executes S305.
S304, the modem obtain current location information.
In the specific implementation, if network registry success, the modem obtain current location information.Specifically,
Location information indicates that logical place, location information can be CID or LAC or cell ID to mobile terminal in the mobile communication network
Deng the present invention is with no restriction.Then S308 is executed, and starts the concurrent process of S306.
S305, the switch shape of the default protocol stack at least two protocol stacks of support described in the modem recovery
State and/or the modem are resetted.
In the specific implementation, if network registry fails, at least two agreements of support described in the modem recovery
Default protocol stack or the modem in stack are resetted.Default protocol stack is pre-set protocol stack, default
Protocol stack is one in multiple protocol stacks that modem is supported.If failed using second protocol stack registered network, adjust
Modulator-demodulator opens pre-set default protocol stack, carries out network registry using default protocol stack;Alternatively, in modem
Reset operation is carried out to modem while opening default protocol stack;Alternatively, modem carries out reset operation, reset
After operation, modem carries out network registry using default protocol stack.
S306, modem judge whether location information changes.
In the specific implementation, modem periodically obtains location information, in the location information currently obtained and upper one
The location information of secondary acquisition executes S307, otherwise continues to execute S306 compared to when changing.For example, location information is CID,
Mobile terminal is moved to the cell of another base station service by the cell that a base station services, and indicates that location information changes;Position
Confidence breath is LAC, and mobile terminal is moved to another band of position by a band of position, shows that location information changes;
Location information is cell ID, and mobile terminal is moved to another cell by the cell that base station services, and indicates location information hair
Changing.Modem obtains the period present invention of location information with no restriction, can be configured according to actual needs.
S307, the switch shape of the default protocol stack at least two protocol stacks of support described in the modem recovery
State and/or the modem are resetted.
Specifically, modem register network using second protocol stack not successfully, modem according to it is preparatory
The default protocol stack switch state known restores default protocol stack switch state;Alternatively, restoring default protocol stack switch state simultaneously
Reset operation is carried out to modem;Alternatively, modem carries out reset operation, and after carrying out reset operation, modulation /demodulation
Device is carried out network registry after network registry success using default protocol stack and is worked using default protocol stack.Default protocol stack
The pre-set protocol stack in multiple protocol stacks supported for modem.
It is understood that default protocol stack herein both may be the first protocol stack, it is also possible to the first protocol stack with
Other outer protocol stacks.It should be noted that if in the present embodiment default protocol stack be the first protocol stack (it is i.e. pent,
Dedicated bearer processing is caused to generate abnormal protocol stack), then, this step, which is equivalent to, reopens the first protocol stack.This step
After reopening the first protocol stack, since the location information of mobile terminal has changed, this is based on mobile terminal
The first protocol stack reopened can carry out proper network registration and restore Web vector graphic.
In the specific implementation, modem is by the corresponding current switch states of protocol stack each in multiple protocol stacks of support
It is restored to initial switch state.Only one protocol stack is open state to multiple protocol stacks that modem is supported every time,
Remaining protocol stack is in off state.
Whether S308, registration failure reason have reported.
In the specific implementation, modem can judge that registration is lost after step S304, step S305 and step S307
It loses whether reason has been reported to the network equipment, if registration failure reason reported, continues to execute S300, otherwise, execute S309.
It should be noted that step S306 to step S307 and step S308 can be and execute parallel.
S309, if the modem does not report registration failure reason, the modem obtains the registration
Failure cause.
In the specific implementation, modem can obtain registration failure reason.
As a kind of enforceable mode, modem, which can also obtain log, indicates the behaviour that modem is registered
Make information, operation information includes:It operational order, operating time and returns the result.
S310, the modem report the position after the registration failure reason and/or variation to believe to the network equipment
Breath.
Specifically, modem by after registration failure reason, variation location information and log be reported to the network equipment,
As a kind of enforceable mode, the modem passes through Wireless Fidelity WiFi network to the network equipment
Location information after reporting the registration failure reason and/or the variation.Wherein, modem can connect in mobile terminal
In the case where connecting wifi hotspot, above- mentioned information are reported to by the network equipment by wifi hotspot, to save flow.Or modulation
Demodulator can also show registration failure reason on the display screen of mobile terminal by the display module of mobile terminal, for
Family is checked.
It is adjusted caused by modem is detected because of network registry failure when Network Abnormal using the embodiment of the present invention
Modulator-demodulator closes the first protocol stack, opens second protocol stack and carries out network registry, second protocol stack is modem support
At least two protocol stacks in remove the protocol stack of the first protocol stack, if network registry success, modem obtain current
Location information, if network registry fails, the default protocol stack at least two protocol stacks that modem recovery is supported,
And/or modem is resetted.It, can in Network Abnormal caused by modem is detected because of network registry failure
Currently used protocol stack is replaced rapidly, re-starts network registry using the protocol stack after replacement, avoids forcing to restart mobile phone
Or the problem of being taken long time caused by location updating, the time of data service recovery can be shortened.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of modem provided in an embodiment of the present invention.As shown in Figure 4
Modem include that detection module 400, opening module 401, first obtain module 402 and recovery module 403.
Detection module 400, for when Network Abnormal, being obtained currently used caused by detecting because of network registry failure
First protocol stack;
Opening module 401, the first protocol stack obtained for closing the detection module 400, open second protocol stack into
Row network registry, the second protocol stack are at least two protocol stacks of modem support except first protocol stack
Protocol stack;
First obtains module 402, if obtaining current location information for network registry success;
Recovery module 403 restores the default association at least two protocol stacks of the support if failing for network registry
The switch state of stack is discussed, and/or is resetted.
The embodiment of the present invention and embodiment of the method one are based on same design, and bring technical effect is also identical, specific former
Reason please refers to the description of embodiment of the method one, and details are not described herein again.
As a kind of enforceable mode, the detection module 400 is specifically used for:
If detecting because sending and receiving data time-out causes network registry to fail, it is determined that caused by occurring because of network registry failure
Network Abnormal.
As a kind of enforceable mode, the recovery module 403 is also used to:
When position changes, restore the switch shape of the default protocol stack at least two protocol stacks of the support
State, and/or resetted.
As a kind of enforceable mode, the modem further includes:
Second obtains module, if obtaining the registration failure reason for not reporting registration failure reason:
Reporting module, for the location information after reporting the registration failure reason and/or variation to the network equipment;
The reporting module, is specifically used for:
After reporting the registration failure reason and/or the variation to the network equipment by Wireless Fidelity WiFi network
Location information.
The embodiment of the present invention and embodiment of the method two and three are based on same design, and bring technical effect is also identical, tool
Body principle please refers to the description of embodiment of the method two and three, and details are not described herein again.
It is adjusted caused by modem is detected because of network registry failure when Network Abnormal using the embodiment of the present invention
Modulator-demodulator closes the first protocol stack, opens second protocol stack and carries out network registry, second protocol stack is modem support
At least two protocol stacks in remove the protocol stack of the first protocol stack, if network registry success, modem obtain current
Location information, if network registry fails, the default protocol stack at least two protocol stacks that modem recovery is supported,
And/or modem is resetted.It, can in Network Abnormal caused by modem is detected because of network registry failure
Currently used protocol stack is replaced rapidly, re-starts network registry using the protocol stack after replacement, avoids forcing to restart mobile phone
Or the problem of being taken long time caused by location updating, the time of data service recovery can be shortened.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.As shown in Figure 5
Mobile terminal includes the modem 501 such as above-described embodiment, wherein the specific steps that modem 501 is implemented can be detailed
Implementation example figure 1 is seen to implementation example figure 4, and the present embodiment then repeats no more.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in the device of that embodiment of the invention can be combined, divided and deleted according to actual needs.
The module or module of the embodiment of the present invention, can with universal integrated circuit (such as central processing unit processor), or with
Specific integrated circuit (ASIC) is realized.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Embodiments described above does not constitute the restriction to the technical solution protection scope.It is any in above-mentioned implementation
Made modifications, equivalent substitutions and improvements etc., should be included in the protection model of the technical solution within the spirit and principle of mode
Within enclosing.
Claims (8)
1. a kind of processing method of network communicating function exception, which is characterized in that including:
When modem, which is detected, causes network registry to fail because of sending and receiving data time-out, it is determined that occur to lose because of network registry
Caused Network Abnormal is lost, the modem obtains the first currently used protocol stack;
The modem closes first protocol stack, opens second protocol stack and carries out network registry, the second protocol
Stack is that the measurement at least two protocol stacks of modem support except first protocol stack obtains signal strength most
Big protocol stack;
If network registry success, the modem obtain current location information;
If network registry fails, the default protocol stack at least two protocol stacks of support described in the modem recovery
Switch state, the modem resetted, and the default protocol stack is used after resetting the modem
Carry out network registry;
Modem shows registration failure reason on the display screen of mobile terminal by the display module of mobile terminal;
The modem judges whether location information changes, when the location information changes, the modulation
Demodulator restore the default protocol stack at least two protocol stacks of the support switch state and/or the modulation /demodulation
Device is resetted.
2. the method according to claim 1, wherein the modem is detected because network registry unsuccessfully draws
The Network Abnormal risen, including:
If the modem is detected because sending and receiving data time-out causes network registry to fail, it is determined that occur because of network registry
Network Abnormal caused by failure.
3. according to claim 1 to 2 described in any item methods, which is characterized in that the method also includes:
If the modem does not report registration failure reason, the modem obtains the registration failure reason:
The modem to the network equipment report the registration failure reason and/or variation after location information.
4. according to the method described in claim 3, it is characterized in that, the modem reports the registration to the network equipment
Location information after failure cause and/or variation, including:
The modem by Wireless Fidelity WiFi network to the network equipment report the registration failure reason and/or
Location information after the variation.
5. a kind of modem, which is characterized in that including:
Detection module, for when detect cause network registry to fail because of sending and receiving data time-out when, it is determined that occur because network infuse
When Network Abnormal caused by volume failure, the first currently used protocol stack is obtained;
Opening module, the first protocol stack obtained for closing the detection module open second protocol stack and carry out network registry,
The second protocol stack is that the measurement at least two protocol stacks of modem support except first protocol stack obtains letter
The protocol stack of number maximum intensity;
First obtains module, if obtaining current location information for network registry success;
Recovery module restores the default protocol stack at least two protocol stacks of the support if failing for network registry
Switch state resets modem, is carried out after resetting the modem using the default protocol stack
Network registry;
Reporting module, for registration failure reason to be shown the display screen in mobile terminal by the display module of mobile terminal
On;
The recovery module is also used to restore the default at least two protocol stacks of the support when position changes
The switch state of protocol stack, and/or resetted.
6. modem according to claim 5, which is characterized in that the detection module is specifically used for:
If detecting because sending and receiving data time-out causes network registry to fail, it is determined that network caused by occurring because of network registry failure
It is abnormal.
7. according to the described in any item modems of claim 5 to 6, which is characterized in that the modem further includes:
Second obtains module, if obtaining the registration failure reason for not reporting registration failure reason:
Reporting module, for the location information after reporting the registration failure reason and/or variation to the network equipment;
The reporting module, is specifically used for:
Position after reporting the registration failure reason and/or the variation to the network equipment by Wireless Fidelity WiFi network
Confidence breath.
8. a kind of mobile terminal, including such as the described in any item modems of claim 5-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510830370.2A CN105357393B (en) | 2015-11-24 | 2015-11-24 | Processing method, modem and the mobile terminal of network communicating function exception |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510830370.2A CN105357393B (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 |
---|---|
CN105357393A CN105357393A (en) | 2016-02-24 |
CN105357393B true CN105357393B (en) | 2018-11-20 |
Family
ID=55333249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510830370.2A Active CN105357393B (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 (1) | CN105357393B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021207917A1 (en) * | 2020-04-14 | 2021-10-21 | Qualcomm Incorporated | Restoration of data connectivity after failure by rrc connection releases in non-standalone network |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102317A (en) * | 2007-06-29 | 2008-01-09 | 中兴通讯股份有限公司 | Multi-protocol stack connection device and method |
CN101572899A (en) * | 2009-05-31 | 2009-11-04 | 中兴通讯股份有限公司 | Switching device based on multi-system network and method thereof |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103731894B (en) * | 2012-10-12 | 2018-01-02 | 华为终端(东莞)有限公司 | Method for switching network and device |
-
2015
- 2015-11-24 CN CN201510830370.2A patent/CN105357393B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102317A (en) * | 2007-06-29 | 2008-01-09 | 中兴通讯股份有限公司 | Multi-protocol stack connection device and method |
CN101572899A (en) * | 2009-05-31 | 2009-11-04 | 中兴通讯股份有限公司 | Switching device based on multi-system network and method thereof |
CN102413529A (en) * | 2011-11-28 | 2012-04-11 | 青岛海信移动通信技术股份有限公司 | Multi-mode (including long term evolution (LTE) mode) application method and device of mobile terminal |
CN104081826A (en) * | 2012-03-16 | 2014-10-01 | Lg电子株式会社 | Method and apparatus for processing NAS signaling request in wireless communication system |
Also Published As
Publication number | Publication date |
---|---|
CN105357393A (en) | 2016-02-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108566303B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
US20200260347A1 (en) | Master Cell Group Failure Recovery for Dual Connectivity Wireless Devices | |
US11606720B2 (en) | Flow control method and apparatus, CU, DU and storage medium | |
EP2963966B1 (en) | Radio link failure in a dual connectivity network | |
US11564136B2 (en) | Master cell group failure recovery for dual connectivity wireless devices | |
CN109936878A (en) | A kind of method and terminal device of triggering state recovery | |
CN108599986B (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 | |
WO2020070720A1 (en) | Redirection mechanism to support network sharing/slicing with cu-du split | |
WO2020100053A1 (en) | Redirection mechanism to support network sharing/slicing with cu-du split for re-establishment | |
KR20180037556A (en) | Wireless communication apparatus and controling method therefor | |
CN102378395A (en) | Method and device for avoiding coexisting interference in terminal | |
CN109769275A (en) | WIFI frequency band switching method, device, equipment and computer storage medium | |
CN105338663B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105357703B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376782B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105357393B (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 | |
EP3928561B1 (en) | Failure recovery for multi-ue device | |
CN105490838B (en) | Processing method, modem and the mobile terminal of network communicating function exception | |
CN105376775B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105376784B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN105515824B (en) | A kind of processing method and modem of network communicating function exception | |
CN105472648B (en) | Network communicating function abnormal processing method, modem and mobile terminal | |
CN117044278A (en) | Secondary cell group failure detection and reporting |
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 |
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. |
|
CP01 | Change in the name or title of a patent holder |