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.
Referring to Fig.1, a kind of flow chart of network mode control method of the invention is shown, can specifically include following step
It is rapid:
Step 101, in the case where mobile terminal is in first network mode, first network locating for mobile terminal is obtained
Signal strength parameter.
The embodiment of the present invention can be applied to mobile terminal, which specifically can be mobile phone, tablet computer, can wear
Equipment etc. is worn, the present invention is not especially limit this.
It should be noted that in the case where signal strength parameter meets preset threshold, the call matter of first network mode
Amount is higher than the speech quality of the second network mode.
With first network mode will be VoLTE network mode in the present embodiment and the second network mode be SRLTE (in
Text: single channel long term evolution;English: Single Radio LTE) for network mode.Since VoLTE is a kind of based on IMS
(Chinese: IP multimedia subsystem, English: IP Multimedia Subsystem) is carried on the voice communication industry on 4G network
Business has the advantages that connection time delay is short, speech quality is high, relies on the covering of 4G network environment just compared with 3G/2G talk business
It can guarantee speech quality.When the signal strength parameter of 4G network meets preset threshold, the speech quality of VoLTE is higher than
The speech quality of SRLTE network mode.
In addition, in the case where signal strength parameter meets preset threshold, the speech quality of first network mode is higher than the
Other network modes under conditions of the speech quality of two network modes are also applied for technical solution of the present invention, and the present invention is to this
It is not particularly limited.For example first network mode is 5G (the 5th third-generation mobile communication technology) network, the second network mode is 2G (the
Two third-generation mobile communication technologies), 3G (3rd generation mobile communication technology) or 4G (fourth generation mobile communication technology) network.
In a particular application, the operator for the call card being inserted into the mobile terminal is China Telecom, in the terminal
It is arranged and inquires first network (LTE network) locating for a current mobile terminal at interval of preset duration (such as 3 seconds), that is,
The signal strength parameter for the 4G network being commonly called as, wherein signal strength parameter is used to indicate the speech quality of 4G network, e.g. joins
Examine signal reception power (English: Reference Signal Receiving Power, abbreviation: RSRP), reference signal receives
Quality (English: Reference Signal Receiving Quality, abbreviation: RSRQ) and Signal to Interference plus Noise Ratio
At least one of (English: Signal to Interference plus Noise Ratio, abbreviation: SINR), the present invention is real
It applies example to be not specifically limited in this embodiment, determines whether above-mentioned signal strength parameter meets the first preset condition, such as the signal later
Whether intensive parameter is greater than whether corresponding preset parameter threshold needs to shifting to determine whether to meet the first preset condition
Dynamic terminal carries out the switching of network mode.When Reference Signal Received Power, Reference Signal Received Quality and letter can be got
Number and when more person of the interference plus noise than in, can carry out judging whether to meet the first preset condition together in conjunction with above-mentioned more persons,
And then increase the accuracy of the first preset condition judgement, reduce the probability for occurring judging by accident.
Step 102, in the case where signal strength parameter meets the first preset condition, the network mode of mobile terminal is cut
It is changed to the second network mode.
As a kind of preferred embodiment of the embodiment of the present invention, meet in signal strength parameter described in the step 102
In the case where one preset condition, the network mode of mobile terminal is switched to the second network mode, comprising:
Sub-step A1: de-registration request is sent to IP multimedia subsystem network.
Sub-step A2: it in the case where receiving the successful log-off message of IP multimedia subsystem network transmission, will move
The network mode of terminal is switched to the second network mode, to register long-term evolving network and CDMA network simultaneously.
In the embodiment of the present invention, when signal parameter intensity meets the first preset condition, illustrate that user is located at 4G weak signal
Overlay area.Due in the talk business of VoLTE network mode being realized under 4G data based on IMS, that is, based on IMS
Voice communication is carried out, IMS can regard Network Convergence Technology as, for realizing the control management function of the network integration, therefore
It needs to carry out IMS registration before using VoLTE business, VoLTE business just can be used after succeeding in registration;And work as from VoLTE net
When network pattern switching is SRLTE network mode, needs to be unregistered IMS, also referred to as go to register, due in VoLTE network mould
Under formula, terminal is only registered under LTE network, can be by mobile terminal from the shape for being only registered in LTE network by nullifying IMS network
The state that LTE network and CDMA network (CDMA) network are switched to while registered under state, i.e., switch to from VoLTE network mode
SRLTE network mode carries out voice communication so as to not use VoLTE business in 4G weak signal overlay area, and uses
Signal covers better 2G network and carries out voice communication.Therefore, IP multimedia subsystem network receive the de-registration request it
Afterwards, the corresponding successfully log-off message that feeds back to mobile terminal, and then by the network mode of mobile terminal switches to SRLTE network mould
Formula, and then it is good that speech quality at this time can be switched to for user automatically in the case where the signal quality of 4G network is poor
2G network, to guarantee the stability of speech quality.
Preferably, as shown in Fig. 2, after step 102, can also include:
Step 103: determining the signal strength parameter of first network locating for mobile terminal.
Step 104: in the case where signal strength parameter does not meet the first preset condition, by the network mode of mobile terminal
It is switched to first network mode.
In the embodiment of the present invention, it can also be arranged in the case that mobile terminal is in SRLTE network mode, it can be to
The signal strength parameter of one network carried out continuous-query, such as at interval of progress one query in 3 seconds, to determine signal strength parameter
Whether change, judges whether to meet the first preset condition again, in the case where not meeting the first preset condition, that is, illustrate
Long term evolution voice bearer network mode can be used, that is, when meeting VoLTE business use condition, VoLTE net can be switched back into
Network mode, that is to say, that the technical solution that the embodiment of the present invention proposes can be after network signal be stablized, in order to mention to user
For more preferably speech quality, network mode is switched back into VoLTE network mode automatically, to guarantee the communication effect of user.
Preferably, meeting the first preset condition is that signal strength parameter is less than or equal to preset first parameter preset threshold
Value.
In a particular application, the corresponding first parameter preset threshold value of signal strength parameter, such as signal strength can be set
Parameter is RSRP, and the first parameter preset threshold value of setting is, for example, -116dbm, the case where RSRP is less than or equal to -116dbm
Under, illustrate that the signal strength of VoLTE network mode locating for current mobile terminal is too low, needs handover network mode, that is,
Meet the first preset condition;On the contrary, illustrating VoLTE net locating for current mobile terminal in the case where RSRP is greater than -116dbm
The signal strength of network mode is good, is able to maintain in VoLTE network mode, that is, does not meet the first preset condition.
It should be noted that in the case where for multiple signal strength parameters, it can also be in the way of combination comparison, example
When being less than or equal to corresponding first parameter preset threshold value such as any one in RSRP, RSRQ and SINR, that is, it is determined as according with
Close the first preset condition;It otherwise is not meet the first preset condition.It can also be arranged, when RSRP, RSRQ and SINR are respectively less than
Or when being equal to its first parameter preset threshold value of correspondence, that is, it is determined as meeting the first preset condition;Otherwise not meet, further
Optimization guarantees the accuracy and validity of the judgement to the first preset condition, tool to the judgment method for meeting the first preset condition
Body carries out judging that the application is not particularly limited using which above-mentioned mode.
Optionally, the signal strength parameter of first network locating for mobile terminal is determined, comprising: at interval of preset duration,
Obtain the signal strength parameter of first network locating for mobile terminal.
It is exemplary, in the step of at interval of preset duration, obtaining the signal strength parameter of first network locating for mobile terminal
Later, further includes:
In the case where signal strength parameter is less than or equal to preset first parameter preset threshold value, registration count is updated
Count value in device.
In the case where signal strength parameter is greater than the first parameter preset threshold value, registration count device is reset.
It includes: that count value is more than or equal to the preset second default ginseng that then signal strength parameter, which meets the first preset condition,
The case where number threshold value.
It in a particular application, can also be right other than the corresponding first parameter preset threshold value of setting signal intensive parameter
Signal strength parameter is more than that the number of the first parameter preset threshold value is counted, when the count value is more than the preset second default ginseng
When number threshold value, it is determined for compliance with the first preset condition.For example, being counted in the case where RSRP is less than or equal to -116dbm to registration
Count value in number devices adds 1, such as count value is 0, and updated count value is 1, later again by updated count value and the
Two parameter preset threshold values, e.g. 2 compare, can be true since updated count value is less than the second parameter preset threshold value
Surely the first preset condition is not met, if that is, at this time in mobile terminal under the network mode of SRLTE, step can be carried out
104 operation;If mobile terminal is under VoLTE network mode at this time, VoLTE network mode is remained at;Conversely, in RSRP
Less than or equal in the case where -116dbm, 1 is added to the count value in registration count device, updated count value is 2, due to
Updated count value is equal to the second parameter preset threshold value, is determined for compliance with the first preset condition, that is to say, that if at this time in movement
Network mode can be switched to single channel long term evolution (second) network mode, that is, carried out by terminal under VoLTE network mode
The operation of step 102;If being maintained at SRLTE network mode at this time under the network mode of SRLTE.In addition, when determination is not inconsistent
When closing the first preset condition, the count value in registration count device is reset.
In a particular application, either in the case where RSRP is greater than -116dbm, updated count value is pre- less than second
In the case where setting parameter threshold value, the count value in registration count device is zeroed out, that is, restarts to count, prevent due to
It is judged by accident caused by clearing.
It should be noted that the judgement for increasing count value the first preset condition of progress can be improved the accuracy of judgement, drop
Influence of the fluctuation of low network signal to network mode switching judging, and then unnecessary network mode handover operation is reduced, drop
The risk of low ping-pong, further increases speech quality.
As a kind of preferred embodiment of the embodiment of the present invention, do not met described in step 104 in signal strength parameter
In the case where first preset condition, the network mode of mobile terminal is switched to first network mode, may include following sub-step
It is rapid:
Sub-step B1: registration request is sent to IP multimedia subsystem network.
Sub-step B2: it in the case where receiving the successful registration information of IP multimedia subsystem network transmission, will move
The network mode of terminal is switched to first network mode.
In a particular application, due to registering LTE network and cdma network simultaneously in terminal under SRLTE network mode, and
Unregistered IMS network, it is therefore desirable to IMS network be registered first to use VoLTE business to carry out the language in 4G data
Sound call, corresponding, mobile terminal is switched to long term evolution voice bearer network mould by confirmation after receiving successful registration information
Formula guarantees that user can successfully be carried out using VoLTE network high after switching back into first network mode from the second network mode
The call of quality, and the second network mode and first network mode can be realized automatically in the case where 4G network quality is good
Between automatic switchover, optimize session services quality.
That is, the technical solution that the application proposes can be by every preset duration, to the network signal intensity of LTE
It is obtained, and then the network mode that the size of the network signal intensity combines the mobile terminal current, is further determined whether
Switch current network mode;And when being judged using network signal intensity, counter can also be added and assisted
Judgement, to prevent being judged by accident caused by stop signal fine motion.
In practical applications, base station can receive terminal for after registering the registration request of first network mode,
Judge whether the terminal registered the second network mode, if registered, the second network mode of endpoint to register can be deleted, so
The first network mode of the terminal is registered afterwards.
In conclusion network mode control method provided by embodiments herein, is in the first net in mobile terminal
In the case where network mode, the signal strength parameter of first network locating for mobile terminal is determined;Meet first in signal strength parameter
In the case where preset condition, the network mode of mobile terminal is switched to the second network mode.Therefore, by current first net
The signal strength parameter of network is obtained, to determine whether active user is in the region of first network dtr signal, Jin Erxuan
It selects and switches the first network mode to the second network mode, can be improved the speech quality of telecommunication user.
It should be noted that for the aforementioned method embodiment, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because according to
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that,
The embodiments described in the specification are all preferred embodiments, and related movement is not necessarily essential to the invention.
Referring to Fig. 3, the structural block diagram of one of embodiment of the present invention terminal 300 is shown.Include:
Parameter determination module 310, it is mobile whole for determining in the case where the mobile terminal is in first network mode
Hold the signal strength parameter of locating first network.
Mode switch module 320, in the case where signal strength parameter meets the first preset condition, by mobile terminal
Network mode be switched to the second network mode.
Wherein, in the case where signal strength parameter meets preset threshold, the speech quality of first network mode is higher than the
The speech quality of two network modes.
Preferably, mode switch module 320 includes:
Request-to-send submodule, for sending de-registration request to IP multimedia subsystem network.
Pattern switching submodule, for the case where receiving the successful log-off message of IP multimedia subsystem network transmission
Under, the network mode of mobile terminal is switched to the second network mode, to register long-term evolving network and CDMA network simultaneously
Network.
Preferably, terminal 300 includes:
The parameter determination module 310 is also used to for the network mode of mobile terminal being switched to the step of the second network mode
After rapid, the signal strength parameter of first network locating for mobile terminal is determined.
The mode switch module 320 is also used in the case where signal strength parameter does not meet the first preset condition, will
The network mode of mobile terminal is switched to first network mode.
Optionally, signal strength parameter includes Reference Signal Received Power, Reference Signal Received Quality and signal and does
Disturb at least one of plus noise ratio.It is that signal strength parameter is less than or equal to preset first that this, which meets the first preset condition,
Parameter preset threshold value.
Optionally, the parameter determination module 310, is used for:
At interval of preset duration, the signal strength parameter of first network locating for mobile terminal is obtained
The parameter determination module 310, is also used to:
It is strong in signal after the signal strength parameter for obtaining first network locating for mobile terminal at interval of preset duration
Parameter is spent less than or equal in the case where preset first parameter preset threshold value, updates the count value in registration count device;With
And
In the case where signal strength parameter is greater than the first parameter preset threshold value, registration count device is reset.
It includes: that count value is more than or equal to preset second in advance that then the signal strength parameter, which meets the first preset condition,
The case where setting parameter threshold value.
Preferably, mode switch module 320 includes:
Request-to-send submodule, for sending registration request to IP multimedia subsystem network.
Pattern switching submodule, for the case where receiving the successful registration information of IP multimedia subsystem network transmission
Under, the network mode of mobile terminal is switched to first network mode.
Above-mentioned terminal can be realized each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2, to avoid weight
Multiple, which is not described herein again.
A kind of hardware structural diagram of Fig. 4 terminal of each embodiment to realize the present invention.
The terminal 400 includes but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input are single
Member 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410,
And the equal components of power supply 411.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 4 is not constituted to shifting
The restriction of dynamic terminal, mobile terminal may include perhaps combining certain components or difference than illustrating more or fewer components
Component layout.In embodiments of the present invention, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm
Computer, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 410, for determining mobile terminal in the case where mobile terminal is in first and carries network mode
The signal strength parameter of locating first network;In the case where signal strength parameter meets the first preset condition, by mobile terminal
Network mode be switched to the second network mode.
In embodiments of the present invention, by being obtained to the signal strength parameter under now first network mode, with true
Determine the region whether active user is in the dtr signal of first network, and then selects to switch the first network mode to the second net
Therefore network mode can be improved the speech quality of telecommunication user.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 401 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 402 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 403 can be received by radio frequency unit 401 or network module 402 or in memory 409
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also provide and end
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 400 executes.Sound
Frequency output unit 403 includes loudspeaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor
(Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited
Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike
Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 401 is converted in the case where telephone calling model.
Terminal 400 further includes at least one sensor 405, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 4061, and proximity sensor can close display panel when terminal 400 is moved in one's ear
4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture, (for example horizontal/vertical screen is cut
Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 405 may be used also
To include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature
Meter, infrared sensor etc., details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap
Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and
Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071
Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area
It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments
4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it
On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touching
The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display
Panel 4061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 408 is the interface that external device (ED) is connect with terminal 400.For example, external device (ED) may include it is wired or
Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port,
For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module
Etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will
One or more elements that the input received is transferred in terminal 400 or can be used for terminal 400 and external device (ED) it
Between transmit data.
Memory 409 can be used for storing software program and various data.Memory 409 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 410 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 409, and calls and is stored in storage
Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 410 may include one or more processing units;Preferably, processor 410 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 410.
Terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411 can be with
It is logically contiguous by power-supply management system and processor 410, thus by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
In addition, terminal 400 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in
On memory 409 and the computer program that can run on the processor 410, the computer program are executed by processor 410
Each process of the above-mentioned control method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here no longer
It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned control method embodiment when being executed by processor, and can reach
Identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only
Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM),
Magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.