CN105873139A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN105873139A
CN105873139A CN201610195754.6A CN201610195754A CN105873139A CN 105873139 A CN105873139 A CN 105873139A CN 201610195754 A CN201610195754 A CN 201610195754A CN 105873139 A CN105873139 A CN 105873139A
Authority
CN
China
Prior art keywords
network
quality
detection obtains
judged result
mobile phone
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
Application number
CN201610195754.6A
Other languages
Chinese (zh)
Inventor
张博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610195754.6A priority Critical patent/CN105873139A/en
Publication of CN105873139A publication Critical patent/CN105873139A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface

Abstract

The invention discloses an information processing method and an electronic device. The method comprises following steps of determining a current master network of the electronic device as a first network and a current backup network as a second network; obtaining the first network quality of the first network through detection; obtaining the second network quality of the second network through detection; judging whether the second network quality is superior to the first network quality or not; obtaining a first judging result; and switching the current master network from the first network to the second network when the judging result is yes.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of information processing method and electronic equipment.
Background technology
At mobile phone, panel computer etc. can arrange in the terminal unit of multiple communication cards, can with unrestricted choice its In card place communication network as the master network of terminal unit, another card place communication network is as end The backup network of end equipment, such as, the communication network of the card 1 of mobile phone is mobile network, the communication network of card 2 Network is UNICOM's network, then, mobile network's master network as mobile phone of card 1, the UNICOM of card 2 can be set Network is the backup network of mobile phone.
But present inventor during inventive technique scheme, finds above-mentioned in realizing the embodiment of the present application At least there is following technical problem in technology:
It is provided with the terminal unit communication network that each communication card is corresponding in different location, equipment of multiple communication cards The communication quality of network also differs, and in prior art, the electronic equipment existence with multichannel communication multiple telecommunication network can not The technical problem of self adaptation switching communication network.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, in prior art, has The electronic equipment of multichannel data network exists can not the technical problem of self adaptation switch data network.
On the one hand the embodiment of the present application provides a kind of information processing method, including:
Determine that the current master network of electronic equipment is first network and current backup network is the second network;
Detection obtains the first network quality of described first network;
Detection obtains the second network quality of described second network;
Judge whether described second network quality is better than described first network quality, and obtain the first judgement knot Really;
When described first judged result is for being, described current master network is switched to institute from described first network State the second network.
Optionally, described detection obtains the second network quality of described second network, specifically includes:
Determine that described first network quality is in decline state in a preset time period;
Detection obtains the second network quality of described second network.
Optionally, described detection obtains the first network quality of described first network and described second network Second network quality, specifically includes:
Detection obtains the first communications protocol that described first network uses;
Detection obtains the second communications protocol of described second Web vector graphic;
Described judge whether described second network quality is better than described first network quality, and obtain the first judgement As a result, particularly as follows:
Judge whether the second level of described second communications protocol is higher than the first order of described first communications protocol Not, and obtain the first judged result.
Optionally, described detection obtains the first network quality of described first network and described second network Second network quality, also includes:
Detection obtains the first up-downgoing data volume of described first network;
Detection obtains the second up-downgoing data volume of described second network;
Described judge whether described second network quality is better than described first network quality, and obtain the first judgement As a result, particularly as follows:
Judge that whether described second level is higher than described first level, and obtain the second judged result;
When described second judged result is no, it is judged that whether described second up-downgoing data volume is more than described the One up-downgoing data volume, and obtain the first judged result.
Optionally, described described current master network is switched to described second network from described first network, tool Body includes:
Generate and show that network switching confirms interface;
Confirm interface based on the switching of described network, detect whether that getting the network from user switches confirmation behaviour Make;
If it is, described current master network is switched to described second network from described first network.
On the other hand the embodiment of the present application provides a kind of electronic equipment, including:
Housing;
Processor, is arranged in described housing;
Wherein, described processor is used for:
Determine that the current master network of electronic equipment is first network and current backup network is the second network;
Detection obtains the first network quality of described first network;
Detection obtains the second network quality of described second network;
Judge whether described second network quality is better than described first network quality, and obtain the first judgement knot Really;
When described first judged result is for being, described current master network is switched to institute from described first network State the second network.
Optionally, described processor specifically for:
Determine that described first network quality is in decline state in a preset time period;
Detection obtains the second network quality of described second network.
Described processor specifically for:
Detection obtains the first communications protocol that described first network uses;
Detection obtains the second communications protocol of described second Web vector graphic;
Described processor is additionally operable to:
Judge whether the second level of described second communications protocol is higher than the first order of described first communications protocol Not, and obtain the first judged result.
Optionally, described processor specifically for:
Detection obtains the first up-downgoing data volume of described first network;
Detection obtains the second up-downgoing data volume of described second network;
Described processor is additionally operable to:
Judge that whether described second level is higher than described first level, and obtain the second judged result;
When described second judged result is no, it is judged that whether described second up-downgoing data volume is more than described the One up-downgoing data volume, and obtain the first judged result.
Optionally, described processor specifically for:
Generate and show that network switching confirms interface;
Confirm interface based on the switching of described network, detect whether that getting the network from user switches confirmation behaviour Make;
If it is, described current master network is switched to described second network from described first network.
Another further aspect, the embodiment of the present application also provides for a kind of electronic equipment, including:
Determine unit, for determining that the current master network of electronic equipment is first network and current backup network It it is the second network;
First detection obtains unit, for detecting the first network quality obtaining described first network;
Second detection obtains unit, for detecting the second network quality obtaining described second network;
Judging unit, is used for judging whether described second network quality is better than described first network quality, and obtains Obtain the first judged result;
Switch unit, for when described first judged result is for being, by described current master network from described the One network switches to described second network.
Said one in the embodiment of the present application or multiple technical scheme, at least have one or more skills following Art effect:
Owing to, in the application, working as mobile phone, the terminal unit such as panel computer detects the quality of its current master network During less than the quality of backup network, it is possible to actively backup network is switched to current master network, so, Ensure that terminal unit in different location, all can communicating with optimum communication network, thus it is possible to In enough effective solution prior aries, the electronic equipment with multichannel communication multiple telecommunication network exists and can not self adaptation switch The technical problem of communication network, it is achieved the electronic equipment with multichannel communication multiple telecommunication network can self adaptation switching communication The technique effect of network.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only It is only some embodiments of the present invention.
The flow chart of a kind of information processing method that Fig. 1 provides for the embodiment of the present application one;
Implementing of step S103 of a kind of information processing method that Fig. 2 provides for the embodiment of the present application one Mode flow chart;
Implementing of step S105 of a kind of information processing method that Fig. 3 provides for the embodiment of the present application one Mode flow chart;
The structural representation of a kind of electronic equipment that Fig. 4 provides for the embodiment of the present application two;
The structural representation of a kind of electronic equipment that Fig. 5 provides for the embodiment of the present application three.
Detailed description of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, in prior art, has The electronic equipment of multichannel communication multiple telecommunication network exists can not the technical problem of self adaptation switching communication network, it is achieved have The electronic equipment of multichannel communication multiple telecommunication network can self adaptation switching communication network technique effect.
Technical scheme in the embodiment of the present application is to solve above-mentioned technical problem, and general thought is as follows:
Determine that the current master network of electronic equipment is first network and current backup network is the second network;
Detection obtains the first network quality of described first network;
Detection obtains the second network quality of described second network;
Judge whether described second network quality is better than described first network quality, and obtain the first judgement knot Really;
When described first judged result is for being, described current master network is switched to institute from described first network State the second network.
Namely in this application, work as mobile phone, the terminal unit such as panel computer detects the matter of its current master network When amount is less than the quality of backup network, it is possible to actively backup network is switched to current master network, so, Ensure that terminal unit, in different location, all can carry out data communication with optimum communication network, so, Can effectively solve in prior art, the electronic equipment with multichannel communication multiple telecommunication network exists and can not self adaptation cut Change the technical problem of communication network, it is achieved the electronic equipment with multichannel communication multiple telecommunication network can lead in self adaptation switching The technique effect of communication network.
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described technical scheme, it is clear that institute The embodiment described is a part of embodiment of technical solution of the present invention rather than whole embodiments.Base In the embodiment described in present specification, those of ordinary skill in the art are not making creative work The every other embodiment obtained under premise, broadly falls into the scope of technical solution of the present invention protection.
Embodiment one
Refer to Fig. 1, a kind of information processing method provided for the embodiment of the present application one, including:
S101: determine that the current master network of electronic equipment is first network and current backup network is the second net Network;
S102: detection obtains the first network quality of described first network;
S103: detection obtains the second network quality of described second network;
S104: judge whether described second network quality is better than described first network quality, and obtain first and sentence Disconnected result;
S105: when described first judged result is for being, described current master network is cut from described first network It is changed to described second network.
In specific implementation process, above-mentioned information processing method is mainly used in and is provided with the logical of multiple communication cards In letter terminal unit, such communication terminal such as mobile phone, panel computer etc., multiple arranged in communication terminal Communication card belongs to different operators, such as, when mobile phone is provided with three communication cards, wherein one can To be belonging to the mobile communication card of mobile operator, then, the communication network at this mobile communication card place is just For mobile network, another can be belonging to UNICOM's communication card of operator of UNICOM, then, this UNICOM leads to The communication network at letter card place is just for UNICOM's network, and remaining that can be belonging to the electricity of telecom operators Letter communication card, then, the communication network at this telecommunication path card place is just for communication network.
Certainly, in reality is answered, above-mentioned various types of communication card can be the communication card such as entity having entity structure SIM, UIM card etc., it is also possible to refer to the virtual communication card such as virtual SIM card etc. not having entity structure, Not limiting at this, in the present embodiment, concrete method described above is applied and is being provided with mobile communication card and connection All as a example by the mobile phone of letter card, the process that implements of the method in the embodiment of the present application is carried out detailed Describe.
When using the method in the present embodiment to carry out information processing, step S101 is first carried out, i.e. determines electronics The current master network of equipment is first network and current backup network is the second network.
In specific implementation process, continuing with continuing to use above-mentioned example, be provided with in mobile phone mobile visa card and During UNICOM's communication card, mobile communication card place network is just for mobile network, and the network at UNICOM's communication card place is just For UNICOM's network, in actual applications, mobile network can include again the 2g network of movement, movement 3g network, and the 4g network etc. of movement, same, UNICOM's network can also include the 2g of UNICOM Network, the 3g network of UNICOM, and the 4g network etc. of UNICOM, in the present embodiment, specifically with in mobile phone Mobile communication card and as a example by UNICOM's communication card all opened 3g network and 4g network.
So, the mobile communication card in mobile phone can use the 3g network in mobile network and 4g network, hands UNICOM in machine moves card can use the 3g network in UNICOM's network and 4g network, in actual applications, User can manually select the communication network master network as mobile phone at arbitrary card place in mobile phone, another The communication network opening card place is backup network, certainly, in actual applications, in order to ensure major network in mobile phone The traffic rate of network, it is also possible to be respectively the master network in mobile phone and backup network arranges different standby plans Slightly, such as, when mobile phone is without network, that reduces in mobile phone the mobile network as master network searches the net time, Lengthen in mobile phone searching the net time etc. of the UNICOM's network as backup network, numerous to list herein, do not do Any restriction.
Certainly, in actual applications, it is also possible to selected the communication network at a wherein card place voluntarily by mobile phone For the master network of mobile phone, the communication network at another card place is the backup network of mobile phone, here, do not limit System, and specifically master network with the mobile network at the mobile communication card place in mobile phone as mobile phone, UNICOM communicates As a example by UNICOM's network at card place is mobile phone backup network, then, mobile phone just can determine that out the master that mobile phone is current Network is just for the mobile network at mobile communication card place in mobile phone, and backup network is UNICOM's communication card institute in mobile phone UNICOM's network.
After having performed step S101, the method in the embodiment of the present application just performs step S102, i.e. Detection obtains the first network quality of described first network.
In specific implementation process, continuing with continuing to use above-mentioned example, concrete, when mobile phone determines that mobile phone is worked as Before master network just for mobile network, after backup network is UNICOM's network, mobile phone will go acquisition as mobile phone The network communication quality of current master network, in actual applications, when mobile phone master network and backup network are in not With communication protocol time, as mobile phone master network is in 3g communication protocol (namely 3g network), mobile phone is standby Network is under 4g communication protocol, it is possible to the communication protocol rank currently used with mobile phone weighs network Quality, at this moment, mobile phone carries out: detection obtain described first network use the first communications protocol, Namely mobile phone can detect, and to obtain the communication protocol that the current master network of mobile phone and mobile network use be that 3g leads to Letter agreement.
In actual applications, when in mobile phone, master network and backup network use the same communications protocols, such as mobile phone Master network and mobile phone backup network the most all use 4g communication protocol (can certainly be other communication protocols), The quality of network can also be weighed by the size of mobile phone up-downgoing data volume under the same communications protocols.This Time, mobile phone carries out: detection obtains the first communications protocol that described first network uses, and detection obtains Obtain the first up-downgoing data volume of described first network, namely mobile phone can detect the acquisition current master network of mobile phone It is in the 4g communication protocol of mobile network, and current master network is at the up-downgoing data measurer of 4g communication protocol Body is 5Mkb/s (can certainly be for other numerical value).
After having performed step S102, the method in the embodiment of the present application just performs step S103, i.e. Detection obtains the second network quality of described second network.
Refer to Fig. 2, in actual applications, step S103 can also be embodied as in such a way:
S1031: determine that described first network quality is in decline state in a preset time period;
S1032: detection obtains the second network quality of described second network.
In specific implementation process, continuing with continuing to use above-mentioned example, concrete, mobile phone will go to obtain conduct After the network communication quality of the current master network of mobile phone, mobile phone will go to determine the shifting as the current master network of mobile phone Dynamic network is within a default time period, and whether the communication quality of mobile network is in a shape declined State, certainly, in actual applications, above-mentioned preset time period can be arranged the most flexibly, example As being set in 1 minute, or it is set in 2 minutes, at this as a example by the default time period is 1 minute.
So, mobile phone will go to determine communication quality namely the communication of mobile network of the current master network of mobile phone Whether quality is in decline state in presetting 1 minutes, concrete, when at mobile phone master network and standby When network is in different communication protocol, and assume the mobile network of mobile phone in 1 minute by current 4g When communication protocol drops to 3g communication protocol, mobile phone is assured that out the current master network of mobile phone namely movement Network dropped to lower than current 4g communication protocol rank from current 4g communication protocol within 1 minute 3g communication protocol, the communication quality of current master network is in decline state.
At this moment, mobile phone carries out: detection obtains the second communications protocol of described second Web vector graphic, namely Mobile phone can detect the acquisition mobile phone presently used communication protocol of current backup network, detects standby net here The currently used communication protocol of network is 4g communication protocol, then, mobile phone is just obtained in that mobile phone is the most standby Network is currently at 4g communication protocol.
Concrete, when in mobile phone master network and backup network be currently simultaneously in 4g communication protocol namely with Time when using 4g network, and assume mobile phone master network namely the mobile network up-downgoing under 4g communication protocol When data volume is reduced to 5Mkb/s by current 10Mkb/s (million/per second), mobile phone can determine that mobile phone Mobile network's up-downgoing data volume under current 4g communication protocol have decreased to from current 10Mkb/s 5Mkb/s, the communication quality of current master network is in decline state, and at this moment, mobile phone carries out: detection obtains Obtain the second communications protocol of described second Web vector graphic, and detection obtains about the second of described second network Row data volume, namely mobile phone can detect obtain the current backup network of mobile phone be in UNICOM's network 4g communication Agreement, and currently backup network is specially 15Mkb/s (the most also in the up-downgoing data volume of 4g communication protocol Can be other numerical value).
After having performed step S103, the method in the embodiment of the present application just performs step S104, i.e. Judge whether described second network quality is better than described first network quality, and obtain the first judged result.
In actual applications, when mobile phone master network and backup network are in different communication protocol, step S104 can also be embodied as the most in such a way:
Judge whether the second level of described second communications protocol is higher than the first order of described first communications protocol Not, and obtain the first judged result.
In specific implementation process, continuing with continuing to use above-mentioned example, concrete, obtain mobile phone in mobile phone detection In in current master network namely mobile network currently used communication protocol be 3g communication protocol, in mobile phone when After front backup network namely the currently used communication protocol of UNICOM's network are 4g communication protocol, mobile phone will go Judge in mobile phone, whether the communication protocol rank of current backup network is higher than the communication of current master network in mobile phone Agreement, in actual applications, the rank of 4g communication protocol is higher than the rank of 3g communication protocols, 3g communication protocol Rank higher than the rank of 2g communication protocols, so, mobile phone is just obtained in that in mobile phone current backup network Communication protocol is superior in mobile phone the judged result of the communication protocol of current master network.
In actual applications, when in mobile phone master network and backup network be in the most above-mentioned 4g of same communication protocol During communication protocol, step S104 can also be embodied as the most in such a way:
Judge that whether described second level is higher than described first level, and obtain the second judged result;
When described second judged result is no, it is judged that whether described second up-downgoing data volume is more than described the One up-downgoing data volume, and obtain the first judged result.
In specific implementation process, continuing with continuing to use above-mentioned example, concrete, when mobile phone detection obtains mobile phone In in current master network namely mobile network currently used communication protocol be 4g communication protocol, and mobile phone moves Dynamic communication card up-downgoing data volume under 4g communication protocol is 5Mkb/s, mobile phone detection obtain in mobile phone when Communication protocol currently used in front backup network namely UNICOM's network is also to be 4g communication protocol, and mobile phone After UNICOM's communication card up-downgoing data volume under 4g communication protocol is 15Mkb/s, mobile phone first has to sentence The communication protocol rank of current backup network of cutting off the hands in the machine whether communication protocols of current master network higher than in mobile phone View.
Due to, the communication protocol of the current master network of mobile phone is 4g communication protocol, the communication protocol of backup network Also it is 4g communication protocol, namely the communication protocol of master network and backup network is same level communication protocol, So the communication protocol rank that mobile phone is just obtained in that in mobile phone current backup network is not higher than in mobile phone currently The judged result of the communication protocol of master network.So, at this moment, mobile phone also can go to judge that current backup network exists Whether the up-downgoing data volume under 4g communication protocol is more than the up-downgoing under 4g communication protocol of the current master network Data volume.
Due to, the mobile phone backup network currently up-downgoing data volume under 4g communication protocol is 15Mkb/s, hands Owner's network currently up-downgoing data volume under 4g communication protocol is 5Mkb/s, namely mobile phone backup network Current up-downgoing data volume under 4g communication protocol is more than mobile phone master network currently under 4g communication protocol Up-downgoing data volume, so, mobile phone will obtain currently upper under 4g communication protocol of mobile phone backup network Downlink data amount is more than the judgement knot of the mobile phone backup network currently up-downgoing data volume under 4g communication protocol Really.
After having performed step S104, the method in the embodiment of the present application just performs step S105, i.e. When described first judged result is for being, described current master network is switched to described from described first network Two networks.
Refer to Fig. 3, in actual applications, step S105, it is also possible to be embodied as in such a way:
S1051: generate and show that network switching confirms interface;
S1052: confirm interface based on the switching of described network, detect whether that getting the network from user cuts Change confirmation operation;
S1053: if it is, described current master network is switched to described second net from described first network Network.
In specific implementation process, continuing with continuing to use above-mentioned example, concrete, and mobile phone obtain in mobile phone when After the judged result of the communication protocol that the communication protocol of front backup network is superior in mobile phone current master network, Mobile phone just can generate network switching and confirm interface, and shows that the switching of this network confirms on a display of the handset Interface, the switching of this network confirms that interface is used for obtaining the confirmation switching current master network from user, By the switching of this network, mobile phone the most just can confirm whether Interface detection has the network from user to switch really Recognize information.
So, confirm that Interface detection is to the current master network of switching from user when mobile phone by the switching of this network Confirmation after, mobile phone just can be by the current master network of mobile phone by the mobile network at mobile communication card place Switch to UNICOM's network at UNICOM's communication card place.
So, by the way, when mobile phone detects that the quality of its current master network is less than backup network During quality, it is possible to actively backup network is switched to current master network, thus it is possible to ensure that terminal sets Standby in different location, all can communicating with optimum communication network, thus it is possible to effective solve existing Have in technology, have multichannel communication multiple telecommunication network electronic equipment exist can not self adaptation switching communication network technology Problem, it is achieved have multichannel communication multiple telecommunication network electronic equipment can self adaptation switching communication network technology effect Really.
In specific implementation process, continuing with continuing to use above-mentioned example, concrete, when mobile phone acquisition mobile phone is standby The network currently up-downgoing data volume under 4g communication protocol is more than mobile phone backup network currently in 4g communication protocols After the judged result of the up-downgoing data volume under Yi, mobile phone just can generate a network switching and confirm interface, And show that the switching of this network confirms that interface, the switching of this network confirm that interface is used for obtaining on a display of the handset From the confirmation switching current master network of user, mobile phone the most just can confirm boundary by the switching of this network Face detects whether the confirmation switched from the network of user.
So, confirm that Interface detection is to the current master network of switching from user when mobile phone by the switching of this network Confirmation after, mobile phone just can be by the current master network of mobile phone by the mobile network at mobile communication card place Switch to UNICOM's network at UNICOM's communication card place.
So, by the way, when mobile phone detects that the quality of its current master network is less than backup network During quality, it is possible to actively backup network is switched to current master network, thus it is possible to ensure that terminal sets Standby in different location, all can carry out data communication, thus it is possible to effectively solve with optimum communication network Certainly in prior art, the electronic equipment with multichannel communication multiple telecommunication network exists and self adaptation can not switch communication network Technical problem, it is achieved have multichannel communication multiple telecommunication network electronic equipment can self adaptation switching communication network technology Effect.
Embodiment two
Refer to Fig. 4, based on the inventive concept identical with the embodiment of the present application one, the embodiment of the present application two carries Supply a kind of electronic equipment, including:
Housing 1;
Processor 2, is arranged in described housing 1;
Wherein, described processor 2 is used for:
Determine that the current master network of electronic equipment is first network and current backup network is the second network;
Detection obtains the first network quality of described first network;
Detection obtains the second network quality of described second network;
Judge whether described second network quality is better than described first network quality, and obtain the first judgement knot Really;
When described first judged result is for being, described current master network is switched to institute from described first network State the second network.
In specific implementation process, above-mentioned electronic equipment can be can be provided with the communication of multiple communication cards eventually End equipment, such communication terminal such as mobile phone, panel computer etc., multiple communication cards arranged in communication terminal May belong to different operators, such as, when mobile phone is provided with three communication cards, wherein one permissible It is belonging to the mobile communication card of mobile operator, then, the network at this mobile communication card place is just for mobile Network, another can be belonging to UNICOM's communication card of operator of UNICOM, then, this communication card institute of UNICOM Network just for UNICOM's network.
Remaining that can be belonging to the telecommunication path card of telecom operators, then, this telecommunication path The network at card place is just for communication network, certainly, reality should in, above-mentioned various types of communication card can be to have reality The SIM of the communication card of body structure such as entity, UIM card etc., it is also possible to refer to the void not having entity structure Intend communication card such as virtual SIM card etc., do not limit at this.
Optionally, described processor specifically for:
Determine that described first network quality is in decline state in a preset time period;
Detection obtains the second network quality of described second network.
Optionally, described processor specifically for:
Detection obtains the first communications protocol that described first network uses;
Detection obtains the second communications protocol of described second Web vector graphic;
Described processor is additionally operable to:
Judge whether the second level of described second communications protocol is higher than the first order of described first communications protocol Not, and obtain the first judged result.
Optionally, described processor specifically for:
Detection obtains the first up-downgoing data volume of described first network;
Detection obtains the second up-downgoing data volume of described second network;
Described processor is additionally operable to:
Judge that whether described second level is higher than described first level, and obtain the second judged result;
When described second judged result is no, it is judged that whether described second up-downgoing data volume is more than described the One up-downgoing data volume, and obtain the first judged result.
Optionally, described processor specifically for:
Generate and show that network switching confirms interface;
Confirm interface based on the switching of described network, detect whether that getting the network from user switches confirmation behaviour Make;
If it is, described current master network is switched to described second network from described first network.
Embodiment three
Refer to Fig. 5, based on the inventive concept identical with the embodiment of the present application one, the embodiment of the present application three carries Supply a kind of electronic equipment, including:
Determine unit 3, be first network and current standby net for determining the current master network of electronic equipment Network is the second network;
First detection obtains unit 4, for detecting the first network quality obtaining described first network;
Second detection obtains unit 5, for detecting the second network quality obtaining described second network;
Judging unit 6, is used for judging whether described second network quality is better than described first network quality, and Obtain the first judged result;
Switch unit 7, for when described first judged result is for being, by described current master network from described First network switches to described second network.
Optionally, the first detection acquisition unit specifically includes:
First determines subelement, is used for determining that described first network quality is in decline in a preset time period State;
3rd detection obtains unit, for detecting the second network quality obtaining described second network.
Optionally, the first detection acquisition unit specifically includes:
4th detection obtains unit, obtains, for detecting, the first communications protocol that described first network uses;
Optionally, the second detection acquisition unit specifically includes:
5th detection obtains unit, for detecting the second communications protocol obtaining described second Web vector graphic;
Optionally, described judging unit specifically includes:
First judgment sub-unit, for judging that the second level of described second communications protocol is whether higher than described the The first level of one communications protocol, and obtain the first judged result.
Optionally, the first detection acquisition unit specifically includes:
6th detection obtains unit, for detecting the first up-downgoing data volume obtaining described first network;
Optionally, the second detection acquisition unit specifically includes:
7th detection obtains unit, for detecting the second up-downgoing data volume obtaining described second network;
Optionally, described judging unit specifically includes:
Second judgment sub-unit, is used for judging that whether described second level is higher than described first level, and obtain Second judged result;
3rd judgment sub-unit, for when described second judged result is no, it is judged that described second up-downgoing Whether data volume is more than described first up-downgoing data volume, and obtains the first judged result.
Optionally, described switch unit specifically includes:
Generate display unit, be used for generating and show that network switching confirms interface;
8th detection obtains unit, for confirming interface based on the switching of described network, detects whether to obtain and arrives Switch from the network of user and confirm operation;
Switching subelement, for if it is, switch to institute by described current master network from described first network State the second network.
Said one in the embodiment of the present application or multiple technical scheme, at least have one or more skills following Art effect:
Owing to, in the application, working as mobile phone, the terminal unit such as panel computer detects the quality of its current master network During less than the quality of backup network, it is possible to actively backup network is switched to current master network, so, Ensure that terminal unit, in different location, all can carry out data communication with optimum data network, so, Can effectively solve in prior art, the electronic equipment with multichannel data network exists and can not self adaptation cut Change the technical problem of data network, it is achieved the electronic equipment with multichannel data network can self adaptation switching number Technique effect according to network.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Specifically, the computer program instructions that the information processing method in the embodiment of the present application is corresponding can be by It is stored in CD, hard disk, on the storage medium such as USB flash disk, corresponding with information processing method when in storage medium Computer program instructions read or when being performed by an electronic equipment, comprise the steps:
Determine that the current master network of electronic equipment is first network and current backup network is the second network;
Detection obtains the first network quality of described first network;
Detection obtains the second network quality of described second network;
Judge whether described second network quality is better than described first network quality, and obtain the first judgement knot Really;
When described first judged result is for being, described current master network is switched to institute from described first network State the second network.
Optionally, in described storage medium storage and step: described detection obtains the of described second network Computer program instructions corresponding to two network qualities when executed, specifically includes:
Determine that described first network quality is in decline state in a preset time period;
Detection obtains the second network quality of described second network.
Optionally, in described storage medium storage and step: described detection obtains the of described first network The computer program instructions that second network quality of one network quality and described second network is corresponding is being held During row, specifically include:
Detection obtains the first communications protocol that described first network uses;
Detection obtains the second communications protocol of described second Web vector graphic;
Optionally, in described storage medium storage and step: described whether judge described second network quality Being better than described first network quality, and obtain the first judged result, corresponding computer program instructions is being held During row, specifically include:
Judge whether the second level of described second communications protocol is higher than the first order of described first communications protocol Not, and obtain the first judged result.
Optionally, in described storage medium storage and step: described detection obtains the of described first network One network quality and the second network quality of described second network, corresponding computer program instructions is being held During row, specifically include:
Detection obtains the first up-downgoing data volume of described first network;
Detection obtains the second up-downgoing data volume of described second network;
Optionally, in described storage medium storage and step: described whether judge described second network quality Being better than described first network quality, and obtain the first judged result, corresponding computer program instructions is being held During row, specifically include:
Judge that whether described second level is higher than described first level, and obtain the second judged result;
When described second judged result is no, it is judged that whether described second up-downgoing data volume is more than described the One up-downgoing data volume, and obtain the first judged result.
Optionally, in described storage medium storage and step: described by described current master network from described the One network switches to described second network, corresponding computer program instructions when executed, to specifically include:
Generate and show that network switching confirms interface;
Confirm interface based on the switching of described network, detect whether that getting the network from user switches confirmation behaviour Make;
If it is, described current master network is switched to described second network from described first network.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creativeness concept, then can make other change and amendment to these embodiments.So, appended right is wanted Ask and be intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (11)

1. an information processing method, including:
Determine that the current master network of electronic equipment is first network and current backup network is the second network;
Detection obtains the first network quality of described first network;
Detection obtains the second network quality of described second network;
Judge whether described second network quality is better than described first network quality, and obtain the first judgement knot Really;
When described first judged result is for being, described current master network is switched to institute from described first network State the second network.
2. the method for claim 1, it is characterised in that described detection obtains described second network The second network quality, specifically include:
Determine that described first network quality is in decline state in a preset time period;
Detection obtains the second network quality of described second network.
3. the method for claim 1, it is characterised in that described detection obtains described first network First network quality and the second network quality of described second network, specifically include:
Detection obtains the first communications protocol that described first network uses;
Detection obtains the second communications protocol of described second Web vector graphic;
Described judge whether described second network quality is better than described first network quality, and obtain the first judgement As a result, particularly as follows:
Judge whether the second level of described second communications protocol is higher than the first order of described first communications protocol Not, and obtain the first judged result.
4. method as claimed in claim 3, it is characterised in that described detection obtains described first network First network quality and the second network quality of described second network, also include:
Detection obtains the first up-downgoing data volume of described first network;
Detection obtains the second up-downgoing data volume of described second network;
Described judge whether described second network quality is better than described first network quality, and obtain the first judgement As a result, particularly as follows:
Judge that whether described second level is higher than described first level, and obtain the second judged result;
When described second judged result is no, it is judged that whether described second up-downgoing data volume is more than described the One up-downgoing data volume, and obtain the first judged result.
5. the method for claim 1, it is characterised in that described by described current master network from institute State first network and switch to described second network, specifically include:
Generate and show that network switching confirms interface;
Confirm interface based on the switching of described network, detect whether that getting the network from user switches confirmation behaviour Make;
If it is, described current master network is switched to described second network from described first network.
6. an electronic equipment, including:
Housing;
Processor, is arranged in described housing;
Wherein, described processor is used for:
Determine that the current master network of electronic equipment is first network and current backup network is the second network;
Detection obtains the first network quality of described first network;
Detection obtains the second network quality of described second network;
Judge whether described second network quality is better than described first network quality, and obtain the first judgement knot Really;
When described first judged result is for being, described current master network is switched to institute from described first network State the second network.
7. electronic equipment as claimed in claim 6, it is characterised in that described processor specifically for:
Determine that described first network quality is in decline state in a preset time period;
Detection obtains the second network quality of described second network.
8. electronic equipment as claimed in claim 6, it is characterised in that described processor specifically for:
Detection obtains the first communications protocol that described first network uses;
Detection obtains the second communications protocol of described second Web vector graphic;
Described processor is additionally operable to:
Judge whether the second level of described second communications protocol is higher than the first order of described first communications protocol Not, and obtain the first judged result.
9. electronic equipment as claimed in claim 8, it is characterised in that described processor specifically for:
Detection obtains the first up-downgoing data volume of described first network;
Detection obtains the second up-downgoing data volume of described second network;
Described processor is additionally operable to:
Judge that whether described second level is higher than described first level, and obtain the second judged result;
When described second judged result is no, it is judged that whether described second up-downgoing data volume is more than described the One up-downgoing data volume, and obtain the first judged result.
10. electronic equipment as claimed in claim 6, it is characterised in that described processor specifically for:
Generate and show that network switching confirms interface;
Confirm interface based on the switching of described network, detect whether that getting the network from user switches confirmation behaviour Make;
If it is, described current master network is switched to described second network from described first network.
11. 1 kinds of electronic equipments, including:
Determine unit, for determining that the current master network of electronic equipment is first network and current backup network It it is the second network;
First detection obtains unit, for detecting the first network quality obtaining described first network;
Second detection obtains unit, for detecting the second network quality obtaining described second network;
Judging unit, is used for judging whether described second network quality is better than described first network quality, and obtains Obtain the first judged result;
Switch unit, for when described first judged result is for being, by described current master network from described the One network switches to described second network.
CN201610195754.6A 2016-03-30 2016-03-30 Information processing method and electronic device Pending CN105873139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610195754.6A CN105873139A (en) 2016-03-30 2016-03-30 Information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610195754.6A CN105873139A (en) 2016-03-30 2016-03-30 Information processing method and electronic device

Publications (1)

Publication Number Publication Date
CN105873139A true CN105873139A (en) 2016-08-17

Family

ID=56627541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610195754.6A Pending CN105873139A (en) 2016-03-30 2016-03-30 Information processing method and electronic device

Country Status (1)

Country Link
CN (1) CN105873139A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561455A (en) * 2018-12-14 2019-04-02 四川通信科研规划设计有限责任公司 A kind of communication system and method for hybrid network
CN109963312A (en) * 2017-12-26 2019-07-02 飞狐信息技术(天津)有限公司 A kind of method for switching network, system, link switch equipment and storage medium
CN110351433A (en) * 2019-07-22 2019-10-18 中国联合网络通信集团有限公司 A kind of method, apparatus and terminal device of double card switching
CN111583427A (en) * 2020-05-11 2020-08-25 北京智芯原动科技有限公司 Parking management system based on end cloud
CN113766455A (en) * 2021-11-09 2021-12-07 迪泰(浙江)通信技术有限公司 Shipborne communication network switching control method and controller

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668322A (en) * 2009-09-17 2010-03-10 深圳华为通信技术有限公司 Network switching method of terminal and terminal equipment
CN102238701A (en) * 2010-04-30 2011-11-09 三星电子株式会社 Apparatus and method for automatic SIM card selection according to network environment in dual mode terminal
CN102595544A (en) * 2012-03-21 2012-07-18 厦门市凌拓通信科技有限公司 Method for achieving automatic switching between WIFI and 4G network on mobile equipment
CN103096429A (en) * 2011-10-28 2013-05-08 中国移动通信集团广东有限公司 Method and device for automatic net selecting when mobile terminal is on the internet
CN104349411A (en) * 2013-07-29 2015-02-11 中兴通讯股份有限公司 Network switching method, network switching device and terminal
CN104602311A (en) * 2014-12-29 2015-05-06 北京奇虎科技有限公司 Terminal connected with a plurality of wireless networks simultaneously and switching method for terminal
WO2015162088A1 (en) * 2014-04-23 2015-10-29 Koninklijke Kpn N.V. Improved vertical handover

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668322A (en) * 2009-09-17 2010-03-10 深圳华为通信技术有限公司 Network switching method of terminal and terminal equipment
CN102238701A (en) * 2010-04-30 2011-11-09 三星电子株式会社 Apparatus and method for automatic SIM card selection according to network environment in dual mode terminal
CN103096429A (en) * 2011-10-28 2013-05-08 中国移动通信集团广东有限公司 Method and device for automatic net selecting when mobile terminal is on the internet
CN102595544A (en) * 2012-03-21 2012-07-18 厦门市凌拓通信科技有限公司 Method for achieving automatic switching between WIFI and 4G network on mobile equipment
CN104349411A (en) * 2013-07-29 2015-02-11 中兴通讯股份有限公司 Network switching method, network switching device and terminal
WO2015162088A1 (en) * 2014-04-23 2015-10-29 Koninklijke Kpn N.V. Improved vertical handover
CN104602311A (en) * 2014-12-29 2015-05-06 北京奇虎科技有限公司 Terminal connected with a plurality of wireless networks simultaneously and switching method for terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109963312A (en) * 2017-12-26 2019-07-02 飞狐信息技术(天津)有限公司 A kind of method for switching network, system, link switch equipment and storage medium
CN109561455A (en) * 2018-12-14 2019-04-02 四川通信科研规划设计有限责任公司 A kind of communication system and method for hybrid network
CN109561455B (en) * 2018-12-14 2022-02-18 四川通信科研规划设计有限责任公司 Communication system and method of hybrid network
CN110351433A (en) * 2019-07-22 2019-10-18 中国联合网络通信集团有限公司 A kind of method, apparatus and terminal device of double card switching
CN111583427A (en) * 2020-05-11 2020-08-25 北京智芯原动科技有限公司 Parking management system based on end cloud
CN113766455A (en) * 2021-11-09 2021-12-07 迪泰(浙江)通信技术有限公司 Shipborne communication network switching control method and controller

Similar Documents

Publication Publication Date Title
CN105873139A (en) Information processing method and electronic device
CN104717344B (en) Mobile terminal application model switching method, device and mobile terminal
CN104539617A (en) Network connection control method
CN106155869A (en) The running background control method of terminal applies and device thereof
CN105406893B (en) A kind of processing method of communication service, device and communication terminal
CN105848129A (en) Mobile data traffic monitoring method, device and handset
CN105530676B (en) Method for processing business, device and mobile terminal under a kind of hybrid network standard
CN109348514A (en) A kind of method and terminal controlling electromagnetic interference
CN105450828A (en) Business execution method for multi-card mobile terminal
CN109699056A (en) Method for switching network and device and computer readable storage medium
CN104768142A (en) Data communication method and terminal
CN104754130A (en) Intelligent dialing method and device
CN106211250A (en) A kind of mobile terminal and the adaptive method for switching of draw-in groove, system
CN105517084B (en) Method for processing business, device and mobile terminal under a kind of hybrid network standard
CN106171019A (en) Determine the method for terminal roaming status, device, terminal and server
CN105848235A (en) Communication control method and device
CN110351433A (en) A kind of method, apparatus and terminal device of double card switching
CN108874884A (en) Data synchronization updating methods, devices and systems, server apparatus
CN105813233A (en) Communication strategy configuring method and device
CN104427110B (en) A kind of information processing method and electronic equipment
CN104394266B (en) Terminal operating status changing method and system
CN104038624A (en) Method and apparatus for realizing setting of terminal situational pattern, and mobile terminal
CN106534538A (en) Status bar control method and device for intelligent terminal
CN106786898A (en) The changing method of charging equipment, device and relevant device
CN104010353B (en) A kind of information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160817