[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104811973A - Network switch control method and device of intelligent terminal - Google Patents

Network switch control method and device of intelligent terminal Download PDF

Info

Publication number
CN104811973A
CN104811973A CN201510128722.XA CN201510128722A CN104811973A CN 104811973 A CN104811973 A CN 104811973A CN 201510128722 A CN201510128722 A CN 201510128722A CN 104811973 A CN104811973 A CN 104811973A
Authority
CN
China
Prior art keywords
intelligent terminal
network
state information
described intelligent
switch
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
CN201510128722.XA
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.)
Beijing Digital Tianyu Science & Technology Co Ltd
Original Assignee
Beijing Digital Tianyu Science & Technology Co 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 Beijing Digital Tianyu Science & Technology Co Ltd filed Critical Beijing Digital Tianyu Science & Technology Co Ltd
Priority to CN201510128722.XA priority Critical patent/CN104811973A/en
Publication of CN104811973A publication Critical patent/CN104811973A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal 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)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a network switch control method and device of an intelligent terminal. The control method comprises that state information of the intelligent terminal is obtained; whether present state of the intelligent terminal satisfies a preset condition is determined according to the state information; and if yes, the corresponding network switch of the intelligent terminal is switched on/off. According to the method provided by the invention, the network switch of the intelligent terminal is automatically controlled according to the present state of the intelligent terminal, the control operation is simplified, and the control process is intelligent.

Description

A kind of intelligent terminal network method of controlling switch and device
Technical field
The application relates to electronic technology field, is specifically related to a kind of intelligent terminal network method of controlling switch and device.
Background technology
Polytype network supported usually by intelligent terminal, as, wlan network (Wireless Local AreaNetworks, WLAN), GPRS (General Packet Radio Service, general packet radio service) network, in the process using intelligent terminal, user can select above-mentioned network to network as required.Concrete, intelligent terminal is provided with network switching usually, and when needs are networked by wlan network, user manually need enter network switching interface and open wlan network switch; When needs are networked by GPRS network, user manually need enter network switching interface and open GPRS network switch.
But in the use procedure of reality, residing for intelligent terminal, environment is different, user may need manually opened or closedown corresponding network switch frequently.As, when intelligent terminal is in wlan network coverage, user usually can manually opened wlan network switch, selects wlan network networking to browse relevant information.But unstable situation appears in wlan network sometimes, if now GPRS switch is in opening, intelligent terminal can be connected to GPRS network automatically, consume GPRS network flow, produce campus network.The overlong time if wlan network plays pendulum, then may bring certain economic loss to user.Therefore, usually when being in wlan network coverage, user understands manual-lock GPRS switch.When intelligent terminal leaves in wlan network coverage, user needs again manually opened GPRS switch networking.And opening wlan network switch without during wlan network, usually can expend the certain electricity of intelligent terminal, therefore, now user needs manual-lock wlan network switch again usually.
In sum, due to above-mentioned network switching control mode, all need user manually opened or close network switching, along with network switching needs to change the increasing of number of times, user need perform manual operation continually at every turn, causes this control mode complicated operation, not intelligent.
Summary of the invention
The application provides a kind of intelligent terminal network method of controlling switch and device, there is complicated operation, not intelligent problem to solve prior art.
The application provides a kind of intelligent terminal network method of controlling switch, comprising:
Obtain the state information of intelligent terminal;
According to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned;
If so, open or close the corresponding network switch of described intelligent terminal.
Optionally, described network switching comprises wlan network switch and GPRS network switch.
Optionally, described state information is network connection state information and network switching state information.
Optionally, described according to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned, comprising:
According to described network connection state information, judge whether described intelligent terminal current network connection status is connected wlan network or connected GPRS network;
If described intelligent terminal current network connection status is for connect wlan network, according to described network switching state information, judge whether the GPRS network switch of described intelligent terminal is opened;
If described intelligent terminal current network connection status is for connect GPRS network, according to described network switching state information, judge whether the wlan network switch of described intelligent terminal is opened;
Accordingly, described corresponding network switch of if so, opening or cutting out described intelligent terminal, comprising:
If described intelligent terminal current network connection status is wlan network, and the GPRS network switch of described intelligent terminal is opened, close the GPRS network switch of described intelligent terminal;
If described intelligent terminal current network connection status is GPRS network, and the wlan network switch of described intelligent terminal is opened, close the wlan network switch of described intelligent terminal.
Optionally, described state information is geographical location information.
Optionally, described according to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned, is specially:
According to described geographical location information, judge the current present position of described intelligent terminal whether in default wlan network coverage;
Accordingly, described unlatching or close the corresponding network switch of described intelligent terminal, is specially:
Open the wlan network switch of described intelligent terminal, close the GPRS network switch of described intelligent terminal.
Optionally, described state information is system time information.
Optionally, described according to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned, comprising:
According to described system time information, judge that the current time of described intelligent terminal is whether in default wlan network use time or in default GPRS network use time;
Accordingly, described corresponding network switch of if so, opening or cutting out described intelligent terminal, comprising:
If the current time of described intelligent terminal is in default wlan network use time, open the wlan network switch of described intelligent terminal, close the GPRS network switch of described intelligent terminal;
If the current time of described intelligent terminal is in default GPRS network use time, open the GPRS network switch of described intelligent terminal, close the wlan network switch of described intelligent terminal.
Optionally, described state information is screen state information.
Optionally, described according to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned, is specially:
According to described screen state information, judge whether the current status of the screen of described intelligent terminal is lock-out state;
Accordingly, described unlatching or close the corresponding network switch of described intelligent terminal, is specially:
Close the network switching of described intelligent terminal.
Accordingly, the application also provides a kind of intelligent terminal network switch controlling device, comprising:
State information acquisition unit, for obtaining the state information of intelligent terminal;
Current state judging unit, for according to described state information, judges whether the current state of described intelligent terminal meets pre-conditioned;
Network switching control unit, for receiving the judged result of described current state judging unit, if result is yes, opens or closes the corresponding network switch of described intelligent terminal.
Optionally, the network switching described in described network switching control unit comprises wlan network switch and GPRS network switch.
Optionally, the described state information that described state information acquisition unit obtains is network connection state information and network switching state information.
Optionally, described current state judging unit, specifically for:
According to described network connection state information, judge whether described intelligent terminal current network connection status is connected wlan network or connected GPRS network;
If described intelligent terminal current network connection status is for connect wlan network, according to described network switching state information, judge whether the GPRS network switch of described intelligent terminal is opened;
If described intelligent terminal current network connection status is for connect GPRS network, according to described network switching state information, judge whether the wlan network switch of described intelligent terminal is opened;
Accordingly, described network switching control unit, specifically for:
If described intelligent terminal current network connection status is wlan network, and the GPRS network switch of described intelligent terminal is opened, close the GPRS network switch of described intelligent terminal;
If described intelligent terminal current network connection status is GPRS network, and the wlan network switch of described intelligent terminal is opened, close the wlan network switch of described intelligent terminal.
Optionally, the described state information that described state information acquisition unit obtains is geographical location information.
Optionally, described current state judging unit, specifically for:
According to described geographical location information, judge the current present position of described intelligent terminal whether in default wlan network coverage;
Accordingly, described network switching control unit, specifically for:
Open the wlan network switch of described intelligent terminal, close the GPRS network switch of described intelligent terminal.
Optionally, the described state information that described state information acquisition unit obtains is system time information.
Optionally, described current state judging unit, specifically for:
According to described system time information, judge that the current time of described intelligent terminal is whether in default wlan network use time or in default GPRS network use time;
Accordingly, described current state judging unit, specifically for:
If the current time of described intelligent terminal is in default wlan network use time, open the wlan network switch of described intelligent terminal, close the GPRS network switch of described intelligent terminal;
If the current time of described intelligent terminal is in default GPRS network use time, open the GPRS network switch of described intelligent terminal, close the wlan network switch of described intelligent terminal.
Optionally, the described state information that described state information acquisition unit obtains is screen state information.
Optionally, described current state judging unit, specifically for:
According to described screen state information, judge whether the current status of the screen of described intelligent terminal is lock-out state;
Accordingly, described network switching control unit, specifically for:
Close the network switching of described intelligent terminal.
Compared with prior art, the application has the following advantages:
The intelligent terminal network method of controlling switch that the application provides and device, by obtaining the state information of intelligent terminal; According to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned; If so, open or close the corresponding network switch of described intelligent terminal.Thus realize according to intelligent terminal current state, automatically control intelligent terminal network switch, make the control operation simplification of intelligent terminal network switch, control procedure intellectuality.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, the accompanying drawing that the following describes is only some embodiments recorded in the application, for those of ordinary skill in the art, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the intelligent terminal network method of controlling switch embodiment of the application;
Fig. 2 is the schematic diagram of the intelligent terminal network switch controlling device embodiment of the application.
Embodiment
Set forth a lot of detail in the following description so that fully understand the application.But the application can be much different from alternate manner described here to implement, those skilled in the art can when doing similar popularization without prejudice to when the application's intension, and therefore the application is by the restriction of following public concrete enforcement
The application provides a kind of intelligent terminal network method of controlling switch and device, is below specific embodiment:
As shown in Figure 1, it is the flow chart of the intelligent terminal network method of controlling switch embodiment of the application.Described method comprises the steps:
Step S101: the state information obtaining intelligent terminal.
Implement the method that the application provides, first need the state information obtaining intelligent terminal.The state information of described intelligent terminal can be the information such as network connection state, network switching state, geographical position, system time, screen state of intelligent terminal.Described intelligent terminal can be the terminal equipments such as mobile phone, Pad or mobile PC.
The implementation of this step can obtain the corresponding state information of intelligent terminal for the function provided by the system of intelligent terminal.Concrete, if the system of intelligent terminal is android system, a lot of Service can be run in android system backstage, they are opened by SystemServer when system starts, the normal work of back-up system, the obtain manner of the state information of corresponding intelligent terminal can be that the Manager interface provided by system visits the data that these Service provide.As, when the state information of the intelligent terminal of required acquisition is the GPRS network switching-state information of intelligent terminal, CONNECTIVITY_SERVICE can be accessed obtain by ConnectivityManager.Code sample is as follows:
When the state information of the intelligent terminal of required acquisition is the wlan network switching-state information of intelligent terminal, WIFI_SERVICE can be accessed obtain by WifiManager.Code sample is as follows:
If the system of intelligent terminal is IOS system, described IOS system is the operating system of the mobile hand-held device of Apple, be mainly used on the equipment such as Iphone, Ipad, Ipod touch, the obtain manner of the state information of corresponding intelligent terminal can be, use privately owned API to obtain, described privately owned API refers to the API be placed in PrivateFrameworks framework.As, when the state information of the intelligent terminal of required acquisition is GPRS and the wlan network switching-state information of intelligent terminal, code sample is as follows:
BOOL b_isNetworkUp_nts=[[objc_getClass("MFNetworkController")sharedInstance]_isNetworkUp_nts];
BOOL bisNetworkUp=[[objc_getClass("MFNetworkController")sharedInstance]isNetworkUp];
BOOL bisFatPipe=[[objc_getClass("MFNetworkController")sharedInstance]isFatPipe];
BOOL bisOnWWAN=[[objc_getClass("MFNetworkController")sharedInstance]isOnWWAN];
BOOL bAirplane=[[objc_getClass("MFNetworkController")sharedInstance]inAirplaneMode];
BOOL binCallWithNoData=[[objc_getClass("MFNetworkController")sharedInstance]inCallWithNoData];
NSLog (" detection _ isNetworkUp_nts:%d ", b_isNetworkUp_nts);
NSLog (" detecting isNetworkUp:%d ", bisNetworkUp);
NSLog (" detecting isFatPipe:%d ", bisFatPipe);
NSLog (" detecting bisOnWWAN:%d ", bisOnWWAN);
NSLog (" detecting airplane:%d ", bAirplane);
NSLog (" detecting binCallWithNoData:%d ", binCallWithNoData);
When only opening GPRS network switch, as above state value is:
May 26 09:36:33 unknown SpringBoard [539] <Warning>: detection _ isNetworkUp_nts:1
May 26 09:36:33 unknown SpringBoard [539] <Warning>: detect isNetworkUp:1
May 26 09:36:33 unknown SpringBoard [539] <Warning>: detect isFatPipe:0
May 26 09:36:33 unknown SpringBoard [539] <Warning>: detect bisOnWWAN:1
May 26 09:36:33 unknown SpringBoard [539] <Warning>: detect airplane:0
May 26 09:36:33 unknown SpringBoard [539] <Warning>: detect binCallWithNoData:0
During network switching Close All, as above state value is:
May 26 09:37:25 unknown SpringBoard [539] <Warning>: detection _ isNetworkUp_nts:0
May 26 09:37:25 unknown SpringBoard [539] <Warning>: detect isNetworkUp:0
May 26 09:37:25 unknown SpringBoard [539] <Warning>: detect isFatPipe:0
May 26 09:37:25 unknown SpringBoard [539] <Warning>: detect bisOnWWAN:0
May 26 09:37:25 unknown SpringBoard [539] <Warning>: detect airplane:0
May 26 09:37:25 unknown SpringBoard [539] <Warning>: detect binCallWithNoData:0
When only opening wlan network switch, as above state value is:
May 26 09:38:56 unknown SpringBoard [539] <Warning>: detection _ isNetworkUp_nts:1
May 26 09:38:56 unknown SpringBoard [539] <Warning>: detect isNetworkUp:1
May 26 09:38:56 unknown SpringBoard [539] <Warning>: detect isFatPipe:1
May 26 09:38:56 unknown SpringBoard [539] <Warning>: detect bisOnWWAN:0
May 26 09:38:56 unknown SpringBoard [539] <Warning>: detect airplane:0
May 26 09:38:56 unknown SpringBoard [539] <Warning>: detect binCallWithNoData:0.
Step S102: according to described state information, judges whether the current state of described intelligent terminal meets pre-conditioned.
After executing above-mentioned steps S101, obtain the state information of intelligent terminal, in this step, further according to described state information, can judge whether the current state of described intelligent terminal meets pre-conditioned.Namely user according to the Web vector graphic needs to intelligent terminal, can preset the condition of the network switching controlling intelligent terminal, can judge whether intelligent terminal current state reaches the controlled condition preset in this step according to state information.Described pre-conditioned can intelligent terminal current network connection status be wlan network, and the GPRS network switch of intelligent terminal is opened; Or intelligent terminal current network connection status is GPRS network, and the wlan network switch of intelligent terminal is opened; Or the current present position of intelligent terminal is in default wlan network coverage etc.
Step S103: the corresponding network switch of if so, opening or closing described intelligent terminal.
If it is pre-conditioned that the judged result of above-mentioned steps S102 is that the current state of intelligent terminal meets, so can open or close the corresponding network switch of described intelligent terminal.If the current state that the judged result of above-mentioned steps S102 is intelligent terminal does not meet pre-conditioned, the operation of the network switching controlling intelligent terminal so can not be performed.Final realization, according to intelligent terminal current state, controls intelligent terminal network switch automatically, makes the control operation simplification of intelligent terminal network switch, control procedure intellectuality.
Here for mobile phone, the method that the application provides is described down, e.g., mobile phone can arranges network switching control module, the method that namely this module adopts the application to provide, control the network switching on mobile phone.When user needs the method provided by the application to carry out net control switch, this network switching control module can be opened, otherwise this module can be closed.
It should be noted that, in the present embodiment, described network switching can comprise wlan network switch and GPRS network switch.When other network also supported by intelligent terminal, described network switching also can comprise other network switching.
Under just illustrating respectively below, when the state information obtained is different information, the particular content of above-mentioned steps S102 and step S103.
In the present embodiment, described state information can be network connection state information and network switching state information.
Described according to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned, can comprise: according to described network connection state information, judge whether described intelligent terminal current network connection status is connected wlan network or connected GPRS network; If described intelligent terminal current network connection status is for connect wlan network, according to described network switching state information, judge whether the GPRS network switch of described intelligent terminal is opened; If described intelligent terminal current network connection status is for connect GPRS network, according to described network switching state information, judge whether the wlan network switch of described intelligent terminal is opened.Namely when described state information be network connection state information and network switching state information, described pre-conditioned can be wlan network for intelligent terminal current network connection status, and the GPRS network switch of intelligent terminal has been opened; Intelligent terminal current network connection status is GPRS network, and the wlan network switch of intelligent terminal is opened.
If described, open or close the corresponding network switch of described intelligent terminal, can comprise: if described intelligent terminal current network connection status is wlan network, and the GPRS network switch of described intelligent terminal is opened, closes the GPRS network switch of described intelligent terminal; If described intelligent terminal current network connection status is GPRS network, and the wlan network switch of described intelligent terminal is opened, close the wlan network switch of described intelligent terminal.
Said process is the situation comprising wlan network and GPRS network at the network of intelligent terminal, realize when intelligent terminal connects wlan network, the state of GPRS network switch is kept to be the function of closing, can prevent when wlan network instability like this, intelligent terminal is from being dynamically connected GPRS network, expend GPRS network flow, produce campus network; Realize when intelligent terminal connects GPRS network, keep the state of wlan network switch to be the function of closing, like this when intelligent terminal does not connect wlan network, close the electricity that wlan network switch can save intelligent terminal in time.
It should be noted that, above-mentioned functions can be realized by said process, also can realize above-mentioned functions when not obtaining the network switching state information described in said process.Namely the network connection state information of intelligent terminal is only obtained, when intelligent terminal has connected WLAN or GPRS network, directly perform and close GPRS or wlan network switching manipulation, and do not need to obtain GPRS or wlan network switching-state information, judge whether to perform according to network connection state and network switching state information and close GPRS or wlan network switching manipulation.
In the present embodiment, described state information can be geographical location information.The interface function that this geographical location information can be provided by the existing map application of intelligent terminal obtains.
Described according to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned, is specifically as follows: according to described geographical location information, judge the current present position of described intelligent terminal whether in default wlan network coverage; Described unlatching or close the corresponding network switch of described intelligent terminal, is specifically as follows: the wlan network switch opening described intelligent terminal, closes the GPRS network switch of described intelligent terminal.As, user can set an address coordinate, 500m within the scope of this address coordinate, as wlan network general regions, namely presets wlan network coverage.When the intelligent terminal of user is in this wlan network general regions, open the wlan network switch of intelligent terminal, close the GPRS network switch of intelligent terminal; When the intelligent terminal of user leaves this wlan network general regions, close the wlan network switch of intelligent terminal, open the GPRS network switch of intelligent terminal.
It should be noted that, in the present embodiment, described state information can also be geographical location information and network switching state information.Described according to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned, can comprise: according to described geographical location information, judge the current present position of described intelligent terminal whether in default wlan network coverage; If described intelligent terminal is in described default wlan network coverage, according to described network switching state information, judge whether the wlan network switch of described intelligent terminal closes, and judge whether the GPRS network switch of described intelligent terminal is opened.If described, open or close the corresponding network switch of described intelligent terminal, can comprise: if described intelligent terminal is in described default wlan network coverage, described wlan network switch cuts out, and described GPRS network switch is opened, open the wlan network switch of described intelligent terminal, close the GPRS network switch of described intelligent terminal.Namely while acquisition geographical location information, network switching state information can be obtained, judge whether to perform according to geographical position and network switching state information and open WLAN or close GPRS network switching manipulation.
In the present embodiment, described state information can be system time information.
Described according to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned, can comprise: according to described system time information, judge that the current time of described intelligent terminal is whether in default wlan network use time or in default GPRS network use time; If described, open or close the corresponding network switch of described intelligent terminal, can comprise: if the current time of described intelligent terminal is in default wlan network use time, open the wlan network switch of described intelligent terminal, close the GPRS network switch of described intelligent terminal; If the current time of described intelligent terminal is in default GPRS network use time, open the GPRS network switch of described intelligent terminal, close the wlan network switch of described intelligent terminal.As, it is that GPRS network commonly uses the time period that user can set some time periods, i.e. GPRS network use time, it can be the period of user's road on and off duty that described GPRS network commonly uses the time period, when the intelligent terminal of user is in this period, open GPRS network switch, close wlan network switch.It is that wlan network commonly uses the time period that user also can set some time periods, i.e. wlan network use time, described wlan network is commonly used the time period and can be in or period of office for user, when the intelligent terminal of user is in this time period, open wlan network switch, close GPRS network switch.
In the present embodiment, described state information can be screen state information.
Described according to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned, is specifically as follows: according to described screen state information, judge whether the current status of the screen of described intelligent terminal is lock-out state; Described unlatching or close the corresponding network switch of described intelligent terminal, is specifically as follows: the network switching of closing described intelligent terminal.As, if user needs when the screen of intelligent terminal is released state, open the network switching of intelligent terminal, when this screen is lock-out state, close this network switching, then can the above-mentioned network switching control mode of choice for use.
It should be noted that, in the present embodiment, while described state information comprises system time information or screen state information, this state information also can comprise network switching state information.The i.e. above-mentioned process according to system time or screen state information net control switch, can also judge whether to perform according to system time information or screen state information and network switching state information and open or close WLAN or GPRS network switching manipulation.
In the above-described embodiment, provide a kind of intelligent terminal network method of controlling switch, correspond, the application also provides a kind of intelligent terminal network switch controlling device.As shown in Figure 2, it is the schematic diagram of the device embodiment of the application.Because device embodiment is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.The device embodiment of following description is only schematic.
A kind of intelligent terminal network switch controlling device of the present embodiment, comprising:
State information acquisition unit 201, for obtaining the state information of intelligent terminal;
Current state judging unit 202, for according to described state information, judges whether the current state of described intelligent terminal meets pre-conditioned;
Network switching control unit 203, for receiving the judged result of described current state judging unit, if result is yes, opens or closes the corresponding network switch of described intelligent terminal.
Optionally, the network switching described in described network switching control unit comprises wlan network switch and GPRS network switch.
Optionally, the described state information that described state information acquisition unit obtains is network connection state information and network switching state information.
Optionally, described current state judging unit, specifically for:
According to described network connection state information, judge whether described intelligent terminal current network connection status is connected wlan network or connected GPRS network;
If described intelligent terminal current network connection status is for connect wlan network, according to described network switching state information, judge whether the GPRS network switch of described intelligent terminal is opened;
If described intelligent terminal current network connection status is for connect GPRS network, according to described network switching state information, judge whether the wlan network switch of described intelligent terminal is opened;
Accordingly, described network switching control unit, specifically for:
If described intelligent terminal current network connection status is wlan network, and the GPRS network switch of described intelligent terminal is opened, close the GPRS network switch of described intelligent terminal;
If described intelligent terminal current network connection status is GPRS network, and the wlan network switch of described intelligent terminal is opened, close the wlan network switch of described intelligent terminal.
Optionally, the described state information that described state information acquisition unit obtains is geographical location information.
Optionally, described current state judging unit, specifically for:
According to described geographical location information, judge the current present position of described intelligent terminal whether in default wlan network coverage;
Accordingly, described network switching control unit, specifically for:
Open the wlan network switch of described intelligent terminal, close the GPRS network switch of described intelligent terminal.
Optionally, the described state information that described state information acquisition unit obtains is system time information.
Optionally, described current state judging unit, specifically for:
According to described system time information, judge that the current time of described intelligent terminal is whether in default wlan network use time or in default GPRS network use time;
Accordingly, described current state judging unit, specifically for:
If the current time of described intelligent terminal is in default wlan network use time, open the wlan network switch of described intelligent terminal, close the GPRS network switch of described intelligent terminal;
If the current time of described intelligent terminal is in default GPRS network use time, open the GPRS network switch of described intelligent terminal, close the wlan network switch of described intelligent terminal.
Optionally, the described state information that described state information acquisition unit obtains is screen state information.
Optionally, described current state judging unit, specifically for:
According to described screen state information, judge whether the current status of the screen of described intelligent terminal is lock-out state;
Accordingly, described network switching control unit, specifically for:
Close the network switching of described intelligent terminal.
A kind of intelligent terminal network method of controlling switch provided the application above and the embodiment of device are described in detail, apply specific case herein to set forth the principle of the application and execution mode, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications.In sum, this description should not be construed as the restriction to the application.
In one typically configuration, computing equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as read-only memory (ROM) or flash memory (flash RAM).Internal memory is the example of computer-readable medium.
1, computer-readable medium comprises permanent and impermanency, removable and non-removable media can be stored to realize information by any method or technology.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computer comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), the random access memory (RAM) of other types, read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the information can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise non-temporary computer readable media (transitory media), as data-signal and the carrier wave of modulation.
2, it will be understood by those skilled in the art that the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.

Claims (11)

1. an intelligent terminal network method of controlling switch, is characterized in that, comprising:
Obtain the state information of intelligent terminal;
According to described state information, judge whether the current state of described intelligent terminal meets pre-conditioned;
If so, open or close the corresponding network switch of described intelligent terminal.
2. intelligent terminal network method of controlling switch according to claim 1, is characterized in that, described network switching comprises wlan network switch and GPRS network switch.
3. intelligent terminal network method of controlling switch according to claim 2, is characterized in that, described state information is network connection state information and network switching state information.
4. intelligent terminal network method of controlling switch according to claim 3, is characterized in that, described according to described state information, judges whether the current state of described intelligent terminal meets pre-conditioned, comprising:
According to described network connection state information, judge whether described intelligent terminal current network connection status is connected wlan network or connected GPRS network;
If described intelligent terminal current network connection status is for connect wlan network, according to described network switching state information, judge whether the GPRS network switch of described intelligent terminal is opened;
If described intelligent terminal current network connection status is for connect GPRS network, according to described network switching state information, judge whether the wlan network switch of described intelligent terminal is opened;
Accordingly, described corresponding network switch of if so, opening or cutting out described intelligent terminal, comprising:
If described intelligent terminal current network connection status is wlan network, and the GPRS network switch of described intelligent terminal is opened, close the GPRS network switch of described intelligent terminal;
If described intelligent terminal current network connection status is GPRS network, and the wlan network switch of described intelligent terminal is opened, close the wlan network switch of described intelligent terminal.
5. intelligent terminal network method of controlling switch according to claim 2, is characterized in that, described state information is geographical location information.
6. intelligent terminal network method of controlling switch according to claim 5, is characterized in that, described according to described state information, judges whether the current state of described intelligent terminal meets pre-conditioned, is specially:
According to described geographical location information, judge the current present position of described intelligent terminal whether in default wlan network coverage;
Accordingly, described unlatching or close the corresponding network switch of described intelligent terminal, is specially:
Open the wlan network switch of described intelligent terminal, close the GPRS network switch of described intelligent terminal.
7. intelligent terminal network method of controlling switch according to claim 2, is characterized in that, described state information is system time information.
8. intelligent terminal network method of controlling switch according to claim 7, is characterized in that, described according to described state information, judges whether the current state of described intelligent terminal meets pre-conditioned, comprising:
According to described system time information, judge that the current time of described intelligent terminal is whether in default wlan network use time or in default GPRS network use time;
Accordingly, described corresponding network switch of if so, opening or cutting out described intelligent terminal, comprising:
If the current time of described intelligent terminal is in default wlan network use time, open the wlan network switch of described intelligent terminal, close the GPRS network switch of described intelligent terminal;
If the current time of described intelligent terminal is in default GPRS network use time, open the GPRS network switch of described intelligent terminal, close the wlan network switch of described intelligent terminal.
9. intelligent terminal network method of controlling switch according to claim 1, is characterized in that, described state information is screen state information.
10. intelligent terminal network method of controlling switch according to claim 9, is characterized in that, described according to described state information, judges whether the current state of described intelligent terminal meets pre-conditioned, is specially:
According to described screen state information, judge whether the current status of the screen of described intelligent terminal is lock-out state;
Accordingly, described unlatching or close the corresponding network switch of described intelligent terminal, is specially:
Close the network switching of described intelligent terminal.
11. 1 kinds of intelligent terminal network switch controlling devices, is characterized in that, comprising:
State information acquisition unit, for obtaining the state information of intelligent terminal;
Current state judging unit, for according to described state information, judges whether the current state of described intelligent terminal meets pre-conditioned;
Network switching control unit, for receiving the judged result of described current state judging unit, if result is yes, opens or closes the corresponding network switch of described intelligent terminal.
CN201510128722.XA 2015-03-23 2015-03-23 Network switch control method and device of intelligent terminal Pending CN104811973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510128722.XA CN104811973A (en) 2015-03-23 2015-03-23 Network switch control method and device of intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510128722.XA CN104811973A (en) 2015-03-23 2015-03-23 Network switch control method and device of intelligent terminal

Publications (1)

Publication Number Publication Date
CN104811973A true CN104811973A (en) 2015-07-29

Family

ID=53696354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510128722.XA Pending CN104811973A (en) 2015-03-23 2015-03-23 Network switch control method and device of intelligent terminal

Country Status (1)

Country Link
CN (1) CN104811973A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554861A (en) * 2015-12-02 2016-05-04 广东小天才科技有限公司 Method and system for automatic networking based on position and time
CN106506829A (en) * 2016-11-03 2017-03-15 努比亚技术有限公司 A kind of WLAN automatons and method
CN106535249A (en) * 2016-10-25 2017-03-22 广东欧珀移动通信有限公司 Control method and control device for wireless local area networks, and terminal
CN107360607A (en) * 2017-07-10 2017-11-17 深圳天珑无线科技有限公司 Terminal control method and device
CN107613498A (en) * 2017-10-26 2018-01-19 上海与德科技有限公司 A kind of connection method of network communication and device
WO2018165904A1 (en) * 2017-03-15 2018-09-20 廖建强 Data network control apparatus and control method
CN112929919A (en) * 2021-02-22 2021-06-08 北京小米移动软件有限公司 Network communication method and device, terminal and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067954A (en) * 2012-12-26 2013-04-24 东莞宇龙通信科技有限公司 Method and communication terminal of automatic switch mobile hotspot
CN103179647A (en) * 2013-03-11 2013-06-26 广东欧珀移动通信有限公司 Method and mobile terminal for intelligently controlling wifi (wireless fidelity) module
CN103200618A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Wireless local area network (WLAN) hotspot function control method and device
CN103313427A (en) * 2013-05-08 2013-09-18 广东欧珀移动通信有限公司 Method and device for starting data network of mobile terminal and mobile terminal
CN103686963A (en) * 2013-12-06 2014-03-26 小米科技有限责任公司 Method, device, equipment and system for controlling wireless network to be switched on/off
CN103686595A (en) * 2012-09-26 2014-03-26 联想(北京)有限公司 State switching method and electronic equipment
CN104244379A (en) * 2013-06-07 2014-12-24 腾讯科技(深圳)有限公司 Wireless network control method and device of mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200618A (en) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 Wireless local area network (WLAN) hotspot function control method and device
CN103686595A (en) * 2012-09-26 2014-03-26 联想(北京)有限公司 State switching method and electronic equipment
CN103067954A (en) * 2012-12-26 2013-04-24 东莞宇龙通信科技有限公司 Method and communication terminal of automatic switch mobile hotspot
CN103179647A (en) * 2013-03-11 2013-06-26 广东欧珀移动通信有限公司 Method and mobile terminal for intelligently controlling wifi (wireless fidelity) module
CN103313427A (en) * 2013-05-08 2013-09-18 广东欧珀移动通信有限公司 Method and device for starting data network of mobile terminal and mobile terminal
CN104244379A (en) * 2013-06-07 2014-12-24 腾讯科技(深圳)有限公司 Wireless network control method and device of mobile terminal
CN103686963A (en) * 2013-12-06 2014-03-26 小米科技有限责任公司 Method, device, equipment and system for controlling wireless network to be switched on/off

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554861A (en) * 2015-12-02 2016-05-04 广东小天才科技有限公司 Method and system for automatic networking based on position and time
CN106535249A (en) * 2016-10-25 2017-03-22 广东欧珀移动通信有限公司 Control method and control device for wireless local area networks, and terminal
CN106506829A (en) * 2016-11-03 2017-03-15 努比亚技术有限公司 A kind of WLAN automatons and method
WO2018165904A1 (en) * 2017-03-15 2018-09-20 廖建强 Data network control apparatus and control method
CN107360607A (en) * 2017-07-10 2017-11-17 深圳天珑无线科技有限公司 Terminal control method and device
CN107613498A (en) * 2017-10-26 2018-01-19 上海与德科技有限公司 A kind of connection method of network communication and device
CN112929919A (en) * 2021-02-22 2021-06-08 北京小米移动软件有限公司 Network communication method and device, terminal and storage medium
CN112929919B (en) * 2021-02-22 2023-08-29 北京小米移动软件有限公司 Network communication method and device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN104811973A (en) Network switch control method and device of intelligent terminal
EP3270619B1 (en) Network connection control method and system for mobile terminal
CN103298142B (en) A kind of wireless network connecting method, system and terminal unit
WO2013123715A1 (en) Method and device for controlling data traffic
US9319970B2 (en) Method, apparatus, and system for searching and selecting network
US10003974B2 (en) Electronic subscriber identity module management under multiple certificate authorities
CN103430151A (en) Method and apparatus for configuring resource
CN103797827A (en) Method and apparatus for accessing virtual smart cards
WO2013127274A1 (en) Method for storing application data and terminal device
CN104349401A (en) Equipment and method for regulating data strategy in terminal
CN104066150A (en) Method and device for accessing WiFi network
CN103425527A (en) Multi-system switching method and switching device
CN108810646A (en) Group information pushes control method, device and computer readable storage medium
CN105704758A (en) Method and device of closing social applications based on flow monitoring
CN105863433A (en) Control method and device of window
CN105594255A (en) Roaming network access method and apparatus
CN103593038A (en) Method and device for controlling applications
US20160218763A1 (en) Systems, methods, and computer-readable media for tracking updates and loading data
CN108353378A (en) Activate transmission method, device and the equipment of class system information
CN107122236B (en) Method and device for controlling foreground operation of application program
CN102333153B (en) Wireless communication device and application program reminding method thereof
CN105282830A (en) Network access method and mobile terminal
CN105262890A (en) Information update control system and method for applications on portable electronic device
CN103516863A (en) Equipment capacity management method and mobile terminal
CN103051793A (en) Method and device for controlling data transmission mode of mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150729

RJ01 Rejection of invention patent application after publication