CN109151954A - Mobile terminal and its double card method for switching network and storage medium - Google Patents
Mobile terminal and its double card method for switching network and storage medium Download PDFInfo
- Publication number
- CN109151954A CN109151954A CN201811204938.XA CN201811204938A CN109151954A CN 109151954 A CN109151954 A CN 109151954A CN 201811204938 A CN201811204938 A CN 201811204938A CN 109151954 A CN109151954 A CN 109151954A
- Authority
- CN
- China
- Prior art keywords
- data
- network connection
- card
- data card
- application program
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Present invention discloses a kind of mobile terminal and its double card method for switching network and storage medium, and wherein method is applied to the mobile terminal with two data cards, comprising the following steps: receive the instruction of the network connection parameter of the first data card of test;Wherein, first data card is currently used data card;Obtain the network connection parameter of first data card;Judge whether the network connection parameter of first data card meets the first preset trigger condition;If meeting first preset trigger condition, network connection is switched into the second data card;Wherein, second data card is another data card.The present invention realizes that when the network connection performance of the first data card is bad, mobile terminal actively switches over network to the second data card, to seek preferably to be connected to the network performance, improves the Web vector graphic experience of user.
Description
Technical field
The present invention relates to electronic information technical fields, and in particular to a kind of mobile terminal and its double card method for switching network and
Storage medium.
Background technique
With the continuous development of mobile terminal, select the user group of double-card mobile phone more and more huger.At present on the market
Most of double-card mobile phone is single-pass mobile phone, and it is data main card that user, which needs to be arranged a data cards, and another data cards are then several
According to vice card, major and minor card can be standby simultaneously, and main card can surf the Internet whenever and wherever possible, and vice card is only conversed.Main card, vice card are usually not
With the data card of operator, the base station of connection is different, and main card, the network connection performance of vice card are also different, it is possible to certain
Under environment, the network connection performance of main card is poor, and the network connection performance of vice card is preferable.User when using data main card,
If the network connection performance of main card is poor, user feels that network speed is relatively slow, the response of webpage Caton, web page operation is long or picture
When frame losing is serious, mobile terminal can not switch to the network of vice card.Present case is that user is needed to count manually
According to the switching of card.But when user be in it is some be not easy to manual switching in the case where, for example user is in multiplayer process
In, user exits game and removes handover network, and user experience at this time is excessively poor.
Summary of the invention
The main object of the present invention is to provide a kind of mobile terminal and its double card method for switching network and storage medium, it is intended to
Another data can not actively be switched to when the web experience of current data card is bad by solving double-card mobile terminal in the prior art
The problem of card.
The present invention proposes a kind of double card method for switching network, applied to the mobile terminal with two data cards, including with
Lower step:
Receive the instruction of the network connection parameter of the first data card of test;Wherein, first data card is currently used
Data card;
Obtain the network connection parameter of first data card;
Judge whether the network connection parameter of first data card meets the first preset trigger condition;
If meeting first preset trigger condition, network connection is switched into the second data card;Wherein, described second
Data card is another data card.
Further, if described meet first preset trigger condition, network connection is switched into the second data card
The step of after, comprising:
Obtain the network connection parameter of second data card;
The network connection parameter of the network connection parameter of first data card and second data card is compared,
Judge whether comparison result meets the second preset trigger condition;
If meeting second preset trigger condition, network connection is switched into first data card.
Further, before the step of instruction of the network connection parameter for receiving the first data card of test, further includes:
Receive application program launching and in the order of system front stage operation;
Judge the application program whether be specified type application program;
If the application program of the specified type, then enter the network connection parameter for receiving the first data card of test
Instruction the step of.
It is further, described that the step of whether application program is the application program of specified type judged, comprising:
Obtain the title of the application program;
The title of the application program is searched in restored list;Wherein, it is preserved in the restored list and is installed on shifting
The title of the application program of specified type in dynamic terminal;
If finding the title of the application program, determine that the application program is the application journey of the specified type
Sequence.
Further, the application program if the specified type then enters the reception and tests the first data card
Network connection parameter instruction the step of, comprising:
If the application program of the specified type, then the network connection parameter of two data cards is obtained respectively;
According to the network connection parameter of two data cards, will be connected to the network according to preset rules in a wherein data
Card, sets the first data card for a wherein data cards, into the network connection for receiving the first data card of test
The step of instruction of parameter.
Further, the reception application program launching and the order of system front stage operation the step of before, comprising:
It is recorded in most recently used data main card before the application program launching;Wherein, the data main card is selected from two
One in the data card;
The step of if described meet first preset trigger condition, and network connection is switched to the second data card it
Afterwards, comprising:
If detecting, the application program exits or falls back on system background operation, will be connected to the network to the data master
Card.
Further, the network connection parameter is data return time delay, the network for obtaining first data card
The step of Connecting quantity, comprising:
Specified data packet is sent to given server, and records the first time for sending the specified data packet;
Record obtains the second time that the given server returns to institute's feedback information based on the specified data packet;
The time difference between second time and the first time is calculated, data return time delay is obtained.
Further, the network connection parameter is the bit error rate, the network connection ginseng for obtaining first data card
Several steps, comprising:
Specified data packet is sent to given server;
Obtain the given server within a specified time, the feedback information returned based on the specified data packet;
Calculate the bit error rate of the feedback information.
The invention also provides a kind of mobile terminal, including memory and processor, calculating is stored in the memory
The step of machine program, the processor realizes any of the above-described the method when executing the computer program.
The invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer
The step of method described in any of the above embodiments is realized when program is executed by processor.
Beneficial effects of the present invention:
Mobile terminal and its double card method for switching network of the invention and storage medium receive the first data card of test
After the instruction of network connection parameter, the network connection parameter of the first data card is obtained, when the network connection parameter of the first data card
When meeting the first preset trigger condition, triggering network connection switches to the second data card, so that the network when the first data card connects
Connect performance it is bad when, mobile terminal actively network is switched over to the second data card, to seek preferably to be connected to the network performance,
Improve the Web vector graphic experience of user.
Detailed description of the invention
Fig. 1 is the flow diagram of the double card method for switching network of one embodiment of the invention;
Fig. 2 is the flow diagram of the double card method for switching network of further embodiment of this invention;
Fig. 3 is the flow diagram of the double card method for switching network of further embodiment of this invention;
Fig. 4 is the structural schematic block diagram of the mobile terminal of one embodiment of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object 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 embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
His embodiment, shall fall within the protection scope of the present invention.
In addition, the description for being such as related to " first ", " second " in the present invention is used for description purposes only, and should not be understood as
Its relative importance of indication or suggestion or the quantity for implicitly indicating indicated technical characteristic.Define as a result, " first ",
The feature of " second " can explicitly or implicitly include at least one of the features.In addition, the technical side between each embodiment
Case can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when the combination of technical solution
Conflicting or cannot achieve when occur will be understood that the combination of this technical solution is not present, also not the present invention claims guarantor
Within the scope of shield.
Referring to Fig.1, the embodiment of the invention provides a kind of double card method for switching network, applied to two data cards
Mobile terminal, comprising the following steps:
S1, the instruction for testing the network connection parameter of the first data card is received;Wherein, first data card is currently to make
Data card;
S2, the network connection parameter for obtaining first data card;
S3, judge whether the network connection parameter of first data card meets the first preset trigger condition;
If S4, meeting first preset trigger condition, network connection is switched into the second data card;Wherein, described
Second data card is another data card.
In the present embodiment, as described in above-mentioned steps S1, above-mentioned network connection parameter is referred to for evaluating network speed speed, net
Network stability etc. is connected to the network the parameter of performance, for example, signal strength, signal-to-noise ratio, data return time delay, bit error rate etc..It is above-mentioned
First data card is the currently used data card of mobile terminal.The instruction of the network connection parameter of above-mentioned the first data card of test,
It can generate in several ways.For example, user's active transmission instruction in use, for example, user is in game process
Middle sensory play Caton, active transmission test the instruction of the network connection parameter of the first data card;Or detect that user uses net
When network data, mobile terminal timing generates the instruction of the network connection parameter of the first data card of test.
As described in above-mentioned steps S2, the network connection parameter of above-mentioned the first data card of acquisition obtains the first data card and works as
The numerical value of one or more network connection parameters in preceding signal strength, signal-to-noise ratio, data return time delay, bit error rate etc..Its
In, signal strength is strong, when signal-to-noise ratio is high, it is believed that the network connection performance for the base station that mobile terminal currently connects is excellent;Data return
Time delay and the bit error rate are mainly from user experience angle, and data return time delay is short, and when the bit error rate is low, the direct feel of user is
Online is smooth, no Caton.
As described in above-mentioned steps S3, above-mentioned first preset trigger condition, as the setting of above-mentioned network connection parameter
Corresponding trigger condition.For example, the first preset trigger condition is less than preset signals when network connection parameter is signal strength
Intensity threshold;When network connection parameter is signal-to-noise ratio, the first preset trigger condition is less than default snr threshold;Work as network
When Connecting quantity is data return time delay, the first preset trigger condition is greater than preset duration threshold value;When network connection parameter is
When the bit error rate, the first preset trigger condition is greater than default bit error rate threshold.Wherein, preset signal strength threshold value, default noise
It can be determined according to practical application scene than threshold value, preset duration threshold value and default bit error rate threshold.
As described in above-mentioned steps S4, if above-mentioned meet first preset trigger condition, the intuitional and experiential thinking of user is at this time
Network speed is very slow, webpage Caton, web page operation respond long and picture frame losing etc., at this point, the net of the first currently used data card
Network switching performance is bad, and network connection is actively switched to another data card, i.e. the second data card by mobile terminal.
If above-mentioned meet first preset trigger condition, network connection is cut in one embodiment referring to Fig. 2
It shifts to after the step S4 of the second data card, comprising:
S5, the network connection parameter for obtaining second data card;
S6, the network connection parameter of the network connection parameter of first data card and second data card is compared
Compared with judging whether comparison result meets the second preset trigger condition;
If S7, meeting second preset trigger condition, network connection is switched into first data card.
In the present embodiment, as described in above-mentioned steps S5, the network connection parameter of above-mentioned the second data card of acquisition obtains the
One or more network connection ginsengs in the current signal strengths of two data cards, signal-to-noise ratio, data return time delay, bit error rate etc.
Several numerical value.Wherein, signal strength is strong, when signal-to-noise ratio is high, it is believed that the network connection performance for the base station that mobile terminal currently connects
It is excellent;Mainly from user experience angle, data return time delay is short for data return time delay and the bit error rate, when the bit error rate is low, user
Direct feel be that online is smooth, no Caton.
As described in above-mentioned steps S6, by the network connection parameter of the network connection parameter of the first data card and the second data card
It is compared, obtains comparison result.For example, the signal for comparing the first data card is strong when network connection parameter is signal strength
The signal strength size of degree and the second data card, the second preset trigger condition are the signal strength of the second data card less than the first number
According to the signal strength of card;When network connection parameter is signal-to-noise ratio, compare the signal-to-noise ratio and second data card of the first data card
Signal-to-noise ratio size, the second preset trigger condition are signal-to-noise ratio of the signal-to-noise ratio less than the first data card of the second data card;Work as network
When Connecting quantity is data return time delay, when the data of the data return time delay and the second data card that compare the first data card return
Prolong size, when the second preset trigger condition is that the data return time delay of the second data card is greater than the data return of the first data card
Prolong;When network connection parameter is the bit error rate, compare the bit error rate of the first data card and the bit error rate size of the second data card, the
Two preset trigger conditions are that the bit error rate of the second data card is greater than the bit error rate of the first data card.
As described in above-mentioned steps S7, if above-mentioned meet second preset trigger condition, the intuitional and experiential thinking of user is cut at this time
After changing to the second data card, network speed is slower, webpage more blocks, web page operation response is more long and picture frame losing is more serious etc., this
When, even not as good as the first data card, network connection is actively switched back into the by mobile terminal for the network connection performance of the second data card
One data card, to guarantee user in two data cards, selection uses network connection performance more preferably data card.
Referring to Fig. 3, in one embodiment, the step of the instruction of the network connection parameter of the first data card is tested in above-mentioned reception
Before rapid S1, further includes:
S01, application program launching is received and in the order of system front stage operation;
S02, judge the application program whether be specified type application program;
S03, if the application program of the specified type, then enter the network connection for receiving the first data card of test
The step of instruction of parameter.
In the present embodiment, as described in above-mentioned steps S01, above-mentioned application program is answering of installing on the mobile terminals such as mobile phone
With program, such as game.Above system foreground is the visible display platform of the mobile terminals such as mobile phone, for example, mobile phone works as prezone
Face show be a certain game application program, then system front stage operation of the application program of the game in mobile phone.Above-mentioned application
Program starts and in the order of system front stage operation, refers to user launches application, and the application program is before system
Platform operation, for example, user opens the application program of a game, and in mobile phone display screen as it can be seen that at this point, mobile terminal receives
The application program launching and in the order of system front stage operation.
As described in above-mentioned steps S02, the operation of the application program of above-mentioned specified type, as these specified type application programs
When, to the more demanding application program of network connection performance.The application program of specified type such as game, when user starts certain
The application program of one game, to the more demanding of the network connection performance such as network speed.
As described in above-mentioned steps S03, if application program belongs to the application program of above-mentioned specified type, enters and receive test
The step of instruction of the network connection parameter of first data card.Since the application program of specified type wants network connection performance
Ask higher, if the network connection performance of the first data card is bad, the experience of user is excessively poor, it is therefore necessary to carry out subsequent
Network switching the step of.If application program is not belonging to the application program of above-mentioned specified type, network connection performance is wanted
Ask not high, user is inconvenient for use at this point, switch data card may instead result in, and there is no need to carry out the step of subsequent network switching
Suddenly.
In one embodiment, it is above-mentioned judge the application program whether be specified type application program step S02,
Include:
S021, the title for obtaining the application program;
S022, the title that the application program is searched in restored list;Wherein, installation is preserved in the restored list
In the title of the application program of the specified type on mobile terminal;
If S023, the title for finding the application program, determine that the application program is answering for the specified type
Use program.
In the present embodiment, as described in above-mentioned steps S021, the title of above-mentioned application program, such as user open " king
The application program of honor " then obtains the title of the application program: " king's honor ";User opens the application journey of " memorandum "
Sequence then obtains the title of the application program: " memorandum ".
As described in above-mentioned steps S022~S023, the specified class being mounted in mobile terminal is saved in above-mentioned restored list
The title of type application program.For example specified type application program is game, then in advance answers the game being mounted in mobile terminal
It is saved into restored list with the title of program;When the newly downloaded game application of user, addition should in restored list
The title of newly downloaded game application.If the title of the application program can be found in restored list, determine that this is answered
It is the application program of specified type with program.
Referring to Fig. 3, in one embodiment, the above-mentioned application program if the specified type then enters the reception
Test the step S03 of the instruction of the network connection parameter of the first data card, comprising:
S031, if the application program of the specified type, then obtain the network connection ginseng of two data cards respectively
Number;
S032, according to the network connection parameter of two data cards, will be connected to the network according to preset rules in wherein one
A wherein data cards are set the first data card by data cards, into the net for receiving the first data card of test
The step of instruction of network Connecting quantity.
In the present embodiment, as described in above-mentioned steps S031, the above-mentioned network connection parameter for obtaining two data cards respectively can
To be accomplished by the following way: obtaining the network connection parameter of currently used data card A;By network switching to another data card
B;Obtain the network connection parameter of another data card B.
As described in above-mentioned steps S032, above-mentioned preset rules refer to the network connection parameter and data that compare data card A
The network connection parameter for blocking B, will be in network connection performance of the network connection in data card A and data card B more preferably data card.
For example, signal strength is bigger when network connection parameter is signal strength, then it is assumed that network connection performance is more excellent;When network connects
Connect parameter be signal-to-noise ratio when, signal-to-noise ratio is bigger, then it is assumed that network connection performance it is more excellent;When network connection parameter is that data return
Delay, data return time delay are smaller, then it is assumed that network connection performance is more excellent;When network connection parameter is the bit error rate, the bit error rate
It is smaller, then it is assumed that network connection performance is more excellent.When network connection is when data card A, then data card A is the first data card at this time;
When network connection is when data card B, then data card B is the first data card at this time.
The present embodiment determine current system front stage operation application program belong to preset specified type application program after,
First the network connection parameter of two data cards is compared, will network connection in network connection the better data card of performance on,
So that the operation of application program is more smooth, the behaviour switched in application program operational process to data card is reduced or avoided
Make.
Referring to Fig. 3, in one embodiment, the step of above-mentioned reception application program launching and the order in system front stage operation
Before rapid S01, comprising:
S001, it is recorded in most recently used data main card before the application program launching;Wherein, the data main card is selected from
One in two data cards;
If described meet first preset trigger condition, by network connection switch to the second data card step S4 it
Afterwards, comprising:
If S8, detecting that the application program exits or fall back on system background operation, will network connection to the data
Main card.
In the present embodiment, as described in above-mentioned steps S001, before recording inactive application program, data that mobile terminal uses
Main card.
It is above-mentioned to fall back on system background operation and refer to being not turned off application program as described in above-mentioned steps S8, but in movement
The display interface of terminal, which is not shown, runs the application program.For example a certain game is still being run, but not in the display of mobile terminal
The interface of the screen display game, i.e. game fall back on system background operation.It is above-mentioned that network connecting function is connected to the data
Network connection is still connected back to original data main card, accorded with by main card at this point, requirement of the user to network connection performance reduces
Share the use habit at family.Such as, it is assumed that user originally used data card A as data main card, after opening game, due to data
The network connection performance for blocking A is poor, and network connection is actively switched to data card B by mobile terminal, after user exits game, moves
Network connection is then actively switched back into data card A by dynamic terminal, to meet the use habit of user.
In one embodiment, the network connection parameter is data return time delay, above-mentioned acquisition first data card
Network connection parameter step S2, comprising:
S201, the specified data packet of transmission to given server, and record the first time for sending the specified data packet;
S202, record obtain the given server based on specified the returned feedback information of data packet second when
Between;
The time difference between S203, calculating second time and the first time, obtain data return time delay.
In the present embodiment, as described in above-mentioned steps S201~S203, after sending specified data packet to given server, refer to
The feedback information that data packet is specified based on this can be returned to by determining server, and so as to calculate data return time delay, data are returned
Time delay is bigger, then it is poorer to be connected to the network performance;Data return time delay is smaller, then it is better to be connected to the network performance.For example, when user exists
In game process, mobile terminal sends specified data packet to the game server, which sends back to feedback information, thus
Data return time delay can be calculated.
In one embodiment, the network connection parameter is the bit error rate, the network of above-mentioned acquisition first data card
The step S2 of Connecting quantity, comprising:
S211, specified data packet is sent to given server;
S212, the given server is obtained within a specified time, the feedback information returned based on the specified data packet;
S213, the bit error rate for calculating the feedback information.
The present embodiment is that of the invention another obtains the specific embodiment of the network connection parameter of the first data card.It is such as above-mentioned
Described in step S211~S213, the above-mentioned bit error rate be measure data within a specified time data transmission accuracy index, error code
The gross yards * 100% that rate=number of bit errors in transmission/is transmitted.After sending specified data packet to given server, receive
In specified time, the feedback information that the given server returns, so as to calculate the bit error rate of feedback information.The bit error rate is got over
Greatly, then it is poorer to be connected to the network performance;The bit error rate is smaller, then it is better to be connected to the network performance.
The double card method for switching network of the embodiment of the present invention receives the finger of the network connection parameter of the first data card of test
After order, the network connection parameter of the first data card is obtained, when the network connection parameter of the first data card meets the first default triggering
When condition, triggering network connection switches to the second data card, so that when the network connection performance of the first data card is bad, it is mobile
Terminal actively switches over network to the second data card, and to seek preferably to be connected to the network performance, the network for improving user makes
With experience.
Referring to Fig. 4, the embodiment of the present invention also provides a kind of mobile terminal, including processor 1080 and memory 1020, institute
State the program that memory 1020 executes above-mentioned double card method for switching network for storage processor;The processor 1080 is configured
For for executing the program stored in the memory.
For ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, asks
Referring to present invention method part.The mobile terminal can be include mobile phone, tablet computer, PDA (Personal
Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer etc. it is any eventually
End equipment, by taking mobile terminal is mobile phone as an example:
Fig. 4 shows the block diagram of the part-structure of mobile phone relevant to mobile terminal provided in an embodiment of the present invention.Ginseng
Fig. 4 is examined, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input unit 1030, display
Unit 1040, sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (wireless fidelity, WiFi) module 1070, place
Manage the components such as device 1080 and power supply 1090.It will be understood by those skilled in the art that the not structure of handset structure shown in Fig. 4
The restriction of pairs of mobile phone may include perhaps combining certain components or different components than illustrating more or fewer components
Arrangement.
It is specifically introduced below with reference to each component parts of the Fig. 4 to mobile phone:
RF circuit 1010 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, handled to processor 1080;In addition, the data for designing uplink are sent to base station.In general, RF circuit
1010 include but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuit 1010 can also be logical with network and other equipment by wireless communication
Letter.Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution,
LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 1020 can be used for storing software program and module, and processor 1080 is stored in memory by operation
1020 software program and module, thereby executing the various function application and data processing of mobile phone.Memory 1020 can be led
It to include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function
Application program (such as sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses institute according to mobile phone
Data (such as audio data, phone directory etc.) of creation etc..In addition, memory 1020 may include high random access storage
Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are solid
State memory device.
Input unit 1030 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with
And the related key signals input of function control.Specifically, input unit 1030 may include touch panel 1031 and other inputs
Equipment 1032.Touch panel 1031, also referred to as touch screen collect touch operation (such as the user of user on it or nearby
Use the behaviour of any suitable object or attachment such as finger, stylus on touch panel 1031 or near touch panel 1031
Make), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 1031 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 1080, and order that processor 1080 is sent can be received and executed.In addition,
Touch panel 1031 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface
Plate 1031, input unit 1030 can also include other input equipments 1032.Specifically, other input equipments 1032 may include
But in being not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more.
Display unit 1040 can be used for showing information input by user or be supplied to user information and mobile phone it is each
Kind menu.Display unit 1040 may include display panel 1041, optionally, can use liquid crystal display (Liquid
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 1041.Further, touch panel 1031 can cover display panel 1041, when touch panel 1031 detects
After arriving touch operation on it or nearby, processor 1080 is sent to determine the type of touch event, is followed by subsequent processing device
1080 provide corresponding visual output according to the type of touch event on display panel 1041.Although in Fig. 4, touch panel
1031 and display panel 1041 are the input and input function for realizing mobile phone as two independent components, but in certain realities
Apply in example, can be integrated by touch panel 1031 and display panel 1041 and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 1050, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 1041, proximity sensor can close display panel when mobile phone is moved in one's ear
1041 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 application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 1060, loudspeaker 1061, microphone 1062 can provide the audio interface between user and mobile phone.Audio
Electric signal after the audio data received conversion can be transferred to loudspeaker 1061, be converted by loudspeaker 1061 by circuit 1060
For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by voicefrequency circuit 1060
Audio data is converted to after reception, then by after the processing of audio data output processor 1080, through RF circuit 1010 to be sent to ratio
Such as another mobile phone, or audio data is exported to memory 1020 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1070
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 4 is shown
WiFi module 1070, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 1080 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone,
By running or execute the software program and/or module that are stored in memory 1020, and calls and be stored in memory 1020
Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor
1080 may include one or more processing units;Preferably, processor 1080 can integrate application processor and modulation /demodulation processing
Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located
Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1080.
Mobile phone further includes the power supply 1090 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply
Management system and processor 1080 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system
The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
Referring to Fig. 4, in embodiments of the present invention, processor 1080 included by the mobile terminal is also with the following functions:
Receive the instruction of the network connection parameter of the first data card of test;Wherein, first data card is currently used
Data card;
Obtain the network connection parameter of first data card;
Judge whether the network connection parameter of first data card meets the first preset trigger condition;
If meeting first preset trigger condition, network connection is switched into the second data card;Wherein, described second
Data card is another data card.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, the program can store in a kind of computer readable storage medium, on
Stating the storage medium mentioned can be read-only memory, disk or CD etc..
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations
Technical field, be included within the scope of the present invention.
Claims (10)
1. a kind of double card method for switching network, applied to the mobile terminal with two data cards, which is characterized in that including following
Step:
Receive the instruction of the network connection parameter of the first data card of test;Wherein, first data card is currently used number
According to card;
Obtain the network connection parameter of first data card;
Judge whether the network connection parameter of first data card meets the first preset trigger condition;
If meeting first preset trigger condition, network connection is switched into the second data card;Wherein, second data
Card is another data card.
2. double card method for switching network as described in claim 1, which is characterized in that if described meet the described first default triggering
Condition, then after the step of network connection being switched to the second data card, comprising:
Obtain the network connection parameter of second data card;
The network connection parameter of the network connection parameter of first data card and second data card is compared, is judged
Whether comparison result meets the second preset trigger condition;
If meeting second preset trigger condition, network connection is switched into first data card.
3. double card method for switching network as described in claim 1, which is characterized in that the net for receiving the first data card of test
Before the step of instruction of network Connecting quantity, further includes:
Receive application program launching and in the order of system front stage operation;
Judge the application program whether be specified type application program;
If the application program of the specified type, then enter the finger of the network connection parameter for receiving the first data card of test
The step of enabling.
4. double card method for switching network as claimed in claim 3, which is characterized in that it is described judge the application program whether be
The step of application program of specified type, comprising:
Obtain the title of the application program;
The title of the application program is searched in restored list;Wherein, it is preserved in the restored list and is installed on movement eventually
The title of the application program of specified type on end;
If finding the title of the application program, determine that the application program is the application program of the specified type.
5. double card method for switching network as claimed in claim 3, which is characterized in that the application if the specified type
Program then enters described the step of receiving the instruction for testing the network connection parameter of the first data card, comprising:
If the application program of the specified type, then the network connection parameter of two data cards is obtained respectively;
According to the network connection parameter of two data cards, will be connected to the network according to preset rules in a wherein data cards,
The first data card is set by a wherein data cards, into the network connection parameter for receiving the first data card of test
Instruction the step of.
6. double card method for switching network as claimed in claim 3, which is characterized in that the reception application program launching is simultaneously being
Before the step of order of system front stage operation, comprising:
It is recorded in most recently used data main card before the application program launching;Wherein, the data main card is selected from described in two
One in data card;
After the step of if described meet first preset trigger condition, and network connection is switched to the second data card, packet
It includes:
If detecting, the application program exits or falls back on system background operation, will be connected to the network to the data main card.
7. double card method for switching network as described in claim 1, which is characterized in that the network connection parameter is data return
The step of time delay, the network connection parameter for obtaining first data card, comprising:
Specified data packet is sent to given server, and records the first time for sending the specified data packet;
Record obtains second time of the given server based on specified the returned feedback information of data packet;
The time difference between second time and the first time is calculated, data return time delay is obtained.
8. double card method for switching network as described in claim 1, which is characterized in that the network connection parameter is the bit error rate,
The step of network connection parameter for obtaining first data card, comprising:
Specified data packet is sent to given server;
Obtain the given server within a specified time, the feedback information returned based on the specified data packet;
Calculate the bit error rate of the feedback information.
9. a kind of mobile terminal, including memory and processor, it is stored with computer program in the memory, feature exists
In the step of processor realizes any one of claims 1 to 8 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any item of the claim 1 to 8 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811204938.XA CN109151954A (en) | 2018-10-16 | 2018-10-16 | Mobile terminal and its double card method for switching network and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811204938.XA CN109151954A (en) | 2018-10-16 | 2018-10-16 | Mobile terminal and its double card method for switching network and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109151954A true CN109151954A (en) | 2019-01-04 |
Family
ID=64812092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811204938.XA Pending CN109151954A (en) | 2018-10-16 | 2018-10-16 | Mobile terminal and its double card method for switching network and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109151954A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831577A (en) * | 2019-01-08 | 2019-05-31 | 努比亚技术有限公司 | Method for connecting network, terminal and computer readable storage medium |
CN111654852A (en) * | 2020-05-29 | 2020-09-11 | Oppo广东移动通信有限公司 | Data card switching method and device, terminal and storage medium |
CN111918355A (en) * | 2020-08-13 | 2020-11-10 | 维沃移动通信有限公司 | Method and device for switching data bearing link |
CN111935705A (en) * | 2020-07-28 | 2020-11-13 | Oppo广东移动通信有限公司 | Data service management method and device, computer readable medium and terminal equipment |
CN111970683A (en) * | 2020-09-04 | 2020-11-20 | Oppo(重庆)智能科技有限公司 | Method and device for switching SIM (subscriber identity Module) card, terminal equipment and storage medium |
CN111988765A (en) * | 2019-05-24 | 2020-11-24 | 通用汽车环球科技运作有限责任公司 | Method for automatically selecting a primary network and a secondary network supporting emergency calls and remote commands in a vehicle |
CN112533192A (en) * | 2019-09-19 | 2021-03-19 | 华为技术有限公司 | Method and device for switching SIM (subscriber identity Module) card and electronic equipment |
CN113163462A (en) * | 2021-02-23 | 2021-07-23 | 深圳市优克联新技术有限公司 | Cellular network switching method and device |
CN113518342A (en) * | 2021-04-30 | 2021-10-19 | 青岛海信移动通信技术股份有限公司 | SIM card switching method and terminal equipment |
CN113795040A (en) * | 2021-06-16 | 2021-12-14 | 荣耀终端有限公司 | Channel switching method, electronic device and storage medium |
CN113890905A (en) * | 2021-06-16 | 2022-01-04 | 荣耀终端有限公司 | Channel switching method, electronic device and storage medium |
CN114286402A (en) * | 2021-06-16 | 2022-04-05 | 荣耀终端有限公司 | Channel switching method, electronic device and storage medium |
CN117156503A (en) * | 2023-08-18 | 2023-12-01 | 联芯云(北京)科技有限公司 | Data card network switching method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160227471A1 (en) * | 2013-09-17 | 2016-08-04 | Interdigital Patent Holdings, Inc. | Connectivity augmented services architecture, discovery and connection |
CN106255036A (en) * | 2016-07-29 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | A kind of eSIM changing method and terminal unit |
CN106817731A (en) * | 2015-11-30 | 2017-06-09 | 华为终端(东莞)有限公司 | The method for switching network and terminal device of terminal |
CN107277880A (en) * | 2017-07-26 | 2017-10-20 | 奇酷互联网络科技(深圳)有限公司 | The method, device and mobile terminal of data network switching |
CN107734584A (en) * | 2017-09-30 | 2018-02-23 | 广东欧珀移动通信有限公司 | The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing |
-
2018
- 2018-10-16 CN CN201811204938.XA patent/CN109151954A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160227471A1 (en) * | 2013-09-17 | 2016-08-04 | Interdigital Patent Holdings, Inc. | Connectivity augmented services architecture, discovery and connection |
CN106817731A (en) * | 2015-11-30 | 2017-06-09 | 华为终端(东莞)有限公司 | The method for switching network and terminal device of terminal |
CN106255036A (en) * | 2016-07-29 | 2016-12-21 | 宇龙计算机通信科技(深圳)有限公司 | A kind of eSIM changing method and terminal unit |
CN107277880A (en) * | 2017-07-26 | 2017-10-20 | 奇酷互联网络科技(深圳)有限公司 | The method, device and mobile terminal of data network switching |
CN107734584A (en) * | 2017-09-30 | 2018-02-23 | 广东欧珀移动通信有限公司 | The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing |
Non-Patent Citations (1)
Title |
---|
3GPP: "Numbering, addressing and identification", 《3GPP TS 23.003 V9.15.0》 * |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109831577A (en) * | 2019-01-08 | 2019-05-31 | 努比亚技术有限公司 | Method for connecting network, terminal and computer readable storage medium |
CN111988765A (en) * | 2019-05-24 | 2020-11-24 | 通用汽车环球科技运作有限责任公司 | Method for automatically selecting a primary network and a secondary network supporting emergency calls and remote commands in a vehicle |
CN112533192B (en) * | 2019-09-19 | 2022-04-22 | 华为技术有限公司 | Method and device for switching SIM (subscriber identity Module) card and electronic equipment |
CN112533192A (en) * | 2019-09-19 | 2021-03-19 | 华为技术有限公司 | Method and device for switching SIM (subscriber identity Module) card and electronic equipment |
CN111654852A (en) * | 2020-05-29 | 2020-09-11 | Oppo广东移动通信有限公司 | Data card switching method and device, terminal and storage medium |
WO2021238404A1 (en) * | 2020-05-29 | 2021-12-02 | Oppo广东移动通信有限公司 | Data card switching method and apparatus, and terminal, and storage medium |
CN111935705A (en) * | 2020-07-28 | 2020-11-13 | Oppo广东移动通信有限公司 | Data service management method and device, computer readable medium and terminal equipment |
CN111918355A (en) * | 2020-08-13 | 2020-11-10 | 维沃移动通信有限公司 | Method and device for switching data bearing link |
CN111970683A (en) * | 2020-09-04 | 2020-11-20 | Oppo(重庆)智能科技有限公司 | Method and device for switching SIM (subscriber identity Module) card, terminal equipment and storage medium |
CN111970683B (en) * | 2020-09-04 | 2023-09-12 | Oppo(重庆)智能科技有限公司 | Method, device, terminal equipment and storage medium for switching SIM card |
CN113163462A (en) * | 2021-02-23 | 2021-07-23 | 深圳市优克联新技术有限公司 | Cellular network switching method and device |
CN113518342A (en) * | 2021-04-30 | 2021-10-19 | 青岛海信移动通信技术股份有限公司 | SIM card switching method and terminal equipment |
CN114286402A (en) * | 2021-06-16 | 2022-04-05 | 荣耀终端有限公司 | Channel switching method, electronic device and storage medium |
CN113890905A (en) * | 2021-06-16 | 2022-01-04 | 荣耀终端有限公司 | Channel switching method, electronic device and storage medium |
CN114286402B (en) * | 2021-06-16 | 2022-11-22 | 荣耀终端有限公司 | Channel switching method, electronic device and storage medium |
CN113795040A (en) * | 2021-06-16 | 2021-12-14 | 荣耀终端有限公司 | Channel switching method, electronic device and storage medium |
CN117156503A (en) * | 2023-08-18 | 2023-12-01 | 联芯云(北京)科技有限公司 | Data card network switching method, device, equipment and storage medium |
CN117156503B (en) * | 2023-08-18 | 2024-03-01 | 联芯云(北京)科技有限公司 | Data card network switching method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109151954A (en) | Mobile terminal and its double card method for switching network and storage medium | |
CN108430101B (en) | Antenna closing method and device, storage medium and electronic equipment | |
CN107277912B (en) | Radio frequency interference processing method, device, storage medium and terminal | |
CN106686626B (en) | The setting method and terminal device of WiFi roaming | |
CN109348516A (en) | Mobile terminal and prevent the method, apparatus of network pingpang handoff, storage medium | |
CN106911848B (en) | Method for outputting prompt message and terminal equipment | |
CN106294168B (en) | A kind of method and system carrying out Application testing | |
CN108966296A (en) | Signal prompt method, mobile terminal and computer readable storage medium | |
CN110245601A (en) | Eyeball tracking method and Related product | |
CN108156508A (en) | Method, apparatus, mobile terminal, server and the system of barrage information processing | |
CN108429575A (en) | antenna switching method, mobile terminal and computer readable storage medium | |
CN109088973B (en) | Antenna control method and device and mobile terminal | |
CN107734586A (en) | The switching method and mobile terminal of antenna | |
CN108512991A (en) | A kind of based reminding method, mobile terminal and computer readable storage medium | |
CN104809055B (en) | Application program testing method and device based on cloud platform | |
CN109284186A (en) | Mobile terminal and its method and apparatus for detecting frame rate adjustment mobile terminal performance | |
CN109151942A (en) | A kind of network insertion switching method, device and mobile terminal | |
CN109040433A (en) | Mobile terminal and the method, apparatus to receive calls | |
CN108492837A (en) | Detection method, device and the storage medium of audio burst white noise | |
CN109068000B (en) | Sensor control method, mobile terminal, and computer-readable storage medium | |
CN104244448B (en) | Reduce the method and system of data transmission delay | |
CN108512616A (en) | Method for displaying signal intensity, mobile terminal and computer readable storage medium | |
CN109167752A (en) | The method, apparatus of mobile terminal and automated log on application platform | |
CN110392158A (en) | A kind of message treatment method, device and terminal device | |
CN108696909A (en) | Based reminding method, terminal and the computer readable storage medium of network connection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190104 |