CN105722189A - Control method and device of data network - Google Patents

Control method and device of data network Download PDF

Info

Publication number
CN105722189A
CN105722189A CN201610196274.1A CN201610196274A CN105722189A CN 105722189 A CN105722189 A CN 105722189A CN 201610196274 A CN201610196274 A CN 201610196274A CN 105722189 A CN105722189 A CN 105722189A
Authority
CN
China
Prior art keywords
network
application program
data network
state
access
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
CN201610196274.1A
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 Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610196274.1A priority Critical patent/CN105722189A/en
Publication of CN105722189A publication Critical patent/CN105722189A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a control method and a control device for a data network, wherein the control method comprises the following steps: monitoring an application program operated by a foreground of the terminal; determining whether the application is an application that is allowed to access a network; if the application program is an application program allowing to access the network, controlling the state of the data network to be a connection state; if the application program is not allowed to access the network, the state of the data network is controlled to be a disconnected state. By adopting the control method and the control device for the data network, a user only needs to normally use the terminal, the state of the data network can be automatically controlled according to the monitored foreground application program of the terminal, the user does not need to manually open or close the data network to control the flow, the user operation is greatly facilitated, and the user experience is improved.

Description

The control method of a kind of data network and device
Technical field
The application relates to field of terminal technology, particularly relates to control method and the device of a kind of data network.
Background technology
Along with becoming increasingly prosperous of mobile Internet, what everyone had needs the equipment accessing mobile data network to get more and more, such as: smart mobile phone, flat board, wearable device, or even notebook.
At present, when user desires access to Internet resources, firstly the need of manually opened data network, such as: open the application A PP such as wechat as user when wanting by data network communications, discovery is not turned on data network cannot set up connection, then user typically requires and finds the manually opened data network in network settings interface, returns APP interface and carries out message communicating with other contact persons, operates comparatively laborious.
It addition, when user is no longer necessary to data network, once user forgets to close network, when user does not use network, background application may continue to expending network traffics, causing that flow is wasted, also need to manual-lock network after the user discover that this situation, Consumer's Experience is not good.
Prior art deficiency is in that:
User needs manually opened or closes data network to control flow, operates relatively complicated.
Summary of the invention
The embodiment of the present application proposes control method and the device of a kind of data network, with solve user in prior art need manually opened or close data network to control flow, operate relatively complicated technical problem.
First aspect, the embodiment of the present application provides the control method of a kind of data network, comprises the steps:
The application program of monitoring terminal front stage operation;
Determine whether described application program is the application program allowing to access network;
If for allowing to access the application program of network, the state controlling data network is connection status;
If for not allowing to access the application program of network, the state controlling data network is off-state.
Second aspect, the embodiment of the present application provides the control device of a kind of data network, including:
Monitoring modular, for the application program of monitoring terminal front stage operation;
Determine module, for determining whether described application program is the application program allowing to access network;
First controls module, if for for allowing to access the application program of network, the state controlling data network is connection status;
Second controls module, if for for not allowing to access the application program of network, the state controlling data network is off-state.
Have the beneficial effect that:
The control method of the data network that the embodiment of the present application provides and device, the application program of monitoring terminal front stage operation, it is then determined that whether described application program is the application program allowing to access network, if allowing the state that the application program accessing network then controls data network is connection status, if not allowing the state that the application program accessing network then controls data network is off-state, user has only to normally use terminal, the embodiment of the present application automatically controls the state of data network according to the application program on the foreground of terminal current accessed, need not user manually opened or close data network control flow, it is very easy to user operation, improve Consumer's Experience.
Accompanying drawing explanation
The specific embodiment of the application is described below with reference to accompanying drawings, wherein:
Fig. 1 illustrates the schematic flow sheet that the control method of data network in the embodiment of the present application one is implemented;
Fig. 2 illustrates the structural representation one controlling device of data network in the embodiment of the present application two;
Fig. 3 illustrates the structural representation two controlling device of data network in the embodiment of the present application two;
Fig. 4 illustrates the structural representation three controlling device of data network in the embodiment of the present application two;
Fig. 5 illustrates the structural representation four controlling device of data network in the embodiment of the present application two;
Fig. 6 illustrates the process schematic that in the embodiment of the present application six, data network controls;
Fig. 7 illustrates the process schematic that in the embodiment of the present application seven, data network controls.
Detailed description of the invention
Technical scheme and advantage in order to make the application are clearly understood, below in conjunction with accompanying drawing, the exemplary embodiment of the application is described in more detail, obviously, described embodiment is only a part of embodiment of the application, rather than all embodiments is exhaustive.And when not conflicting, the embodiment in this explanation and the feature in embodiment can be combined with each other.
Inventor note that in invention process
When user desires access to Internet resources, firstly the need of manually opened data network, when user is no longer necessary to data network, need manual-lock network, once user forgets to close network, when user does not use network, background application may continue to, expending network traffics, cause that flow is wasted, and Consumer's Experience is not good.
For above-mentioned deficiency, the embodiment of the present application proposes control method and the device of a kind of data network, the state of data network is automatically controlled by the foreground application of monitoring terminal, participate in without user, user has only to pay close attention to the Internet resources to access, and greatly improves Consumer's Experience.
For the ease of the enforcement of the application, illustrate below in conjunction with the specific embodiment control method to the data network that the application proposes and device.
Embodiment one,
Fig. 1 illustrates the schematic flow sheet that the control method of data network in the embodiment of the present application one is implemented, as it can be seen, the control method of described data network may include steps of:
Step 101, monitoring terminal front stage operation application program;
Step 102, determine that whether described application program is the application program allowing to access network;
If step 103 is allow to access the application program of network, the state controlling data network is connection status;
If step 104 is do not allow to access the application program of network, the state controlling data network is off-state.
When being embodied as, described terminal is specifically as follows the mobile terminals such as mobile phone, pad, panel computer, described data network is specifically as follows the mobile data networks such as general packet radio service technology (GPRS, GeneralPacketRadioService), 3G, 4G, 5G.
User can pre-set certain control strategy, it is also possible to terminal completes the setting of control strategy when dispatching from the factory.Time specifically used, the application program on the foreground of the monitoring terminal that the embodiment of the present application can be real-time or regular, according to whether the foreground application of described terminal is allow access network to control data network to be in connection status or off-state.
Owing to the embodiment of the present application can according to the monitoring result of terminal foreground application, control connection or the disconnection of data network voluntarily, manually opened without user or close network settings button, use and have only to pay close attention to the access oneself wanting to carry out such that it is able to realize user during terminal and operate, operation extremely convenient, and do not worry forgetting for the moment due to oneself to close the problem that network causes flow to expend.
User can be configured in terminal in advance, arranges which application program and allows actively to open data network switch, access network, and which application program does not allow actively to open data network switch.Terminal can store the application list allowing to access network, actively open data network switch including permission and carry out the application program of network access, the application list not allowing to access network can also be stored, carry out the application program of network access including not allowing actively to open data network.
When being embodied as, the embodiment of the present application can utilize the interface monitor of system to be switched to the application program on foreground, described application program and above-mentioned the application list prestored are compared, it is determined that whether described application program is the application program allowing to access network.If for allowing to access the application program of network, the state controlling data network is connection status;If for not allowing to access the application program of network, the state controlling data network is off-state.
The embodiment of the present application can pre-set, by user, the application program allowing to access network, and control data network is in connection status when monitoring foreground application and being the described application program allowing and accessing network, control data network when monitoring foreground application and being do not allow the application program accessing network to be off, such that it is able to carry out being turned on and off of network when user opens or starts application program automatically according to the list pre-set, it is very easy to user operation, improves Consumer's Experience.
Although considering that some situation user clicks, opens the application program allowing to access network, being intended merely to and checking the data accessing, downloading, be not intended to access network, therefore, the embodiment of the present application can also be implemented in the following way.
In enforcement, if described for allowing to access the application program of network, the state controlling data network is connection status, is specifically as follows:
If for allowing to access the application program of network, receiving user after the networking operation requests that described Application Program Interface triggers, the state controlling data network is connection status.
When being embodied as, after the application program monitoring terminal current accessed is the application program that permission accesses network, receive user's networking operation requests in described application triggers further, namely can confirm that after receiving described networking operation requests that user is intended to access network, the state then controlling data network is connection status.
Described networking operation requests can be asked for Refresh Data, message transmission request etc. needs to connect the operation requests that network performs.Such as: when the news software that user opens a terminal, it is assumed that the embodiment of the present application determines that described news software is the application program allowing to access network, and present terminal network is off;User news software interface pull downward on interface ask more new data time, the embodiment of the present application receive Refresh Data request after open described data network.And for example: when softwares such as wechat/QQ that user opens a terminal, it is assumed that the embodiment of the present application determines that the softwares such as described wechat/QQ are the application program allowing to access network, and present terminal network is off;Opening contact person interface user, after inputting content to be sent and clicking send button, the embodiment of the present application receives message and sends request, is then turned on described data network, in order to completion message sends operation.
It is connection status that the embodiment of the present application can control data network again after receiving the networking operation requests that user triggers, thus realizing when user is only used to check, preserves the data need not networked in described application program, data network need not be controlled and be in connected state, only just it is in connected state for its control data network when user needs networking operation really determining, save data traffic to a certain extent further, decrease the switching frequency of data network simultaneously.
In enforcement, the state of described control data network is connection status, is specifically as follows: detect described terminal current network state, if described current network state is off-state, opens described data network;
The state of described control data network is off-state, is specifically as follows: detect described terminal current network state, if described current network state is connection status, closes described data network.
When being embodied as, the state of described control data network is that connection status is specifically as follows: first detect the current network state of described terminal;If the current network state of described terminal is connection status, then can keep current network state, not be operated;If the current network state of described terminal is off-state, then can open the data network of described terminal.The state of described control data network is off-state, is specifically as follows: first detect described terminal current network state, if the current network state of described terminal is connection status, closes described data network;If the current network state of described terminal is off-state, then can keep current network state, not be operated.
When being embodied as, the detection current data network state of terminal can the network state detection interface of calling system, disconnect described data network and can also call the network interface of described terminal system and realize.For android system, java.net.* interface (standard java interface), Apache interface or android.net.* bag etc. can be utilized to realize, such as: network management class interface ConnectivityManager can be utilized to obtain network information class NetworkInfo, NetworkInfo contains the information of a lot of network condition, it is possible to use isConnected () function judges whether current network is connected;The disConnect () method that can utilize HttpUrlConnection closes current connection.
Wherein, being turned on and off of control data network can by calling system network management class interface realization in prior art, and the application does not repeat at this.
In enforcement, described method may further include:
Receive the application program switching command of user;
If the application program before switching is the application program after allowing to access the application program of network, switching is the application program not allowing to access network, close described data network;
If the application program before switching is the application program after not allowing to access the application program of network, switching is the application program allowing to access network, open described data network.
When being embodied as, if the user while use procedure can be realized the switching of application program by the double home of pressing key, when terminal receives the application program switching command of user, it is possible to the state of data network according to the application program controlling before and after switching.If the application program before switching is the application program after allowing to access the application program of network, switching is the application program not allowing to access network, close described data network;If the application program before switching is the application program after not allowing to access the application program of network, switching is the application program allowing to access network, open described data network.
The embodiment of the present application can change the connection status of data network according to the switching in real time of user, allows user when unaware, it is achieved to have concurrently and connect network and control the purpose of flow.
In order to promote Consumer's Experience further, the embodiment of the present application can also be implemented in the following way.
In enforcement, after the state of described control data network is off-state, described method may further include:
Network prompts interface is shown at described terminal screen.
When being embodied as, if the application program of terminal current accessed is the application program not allowing to access network, it is off-state that the embodiment of the present application can control the state of data network, then shows network prompts interface on the screen of described terminal.
Described network prompts interface can be: prompting current application program is do not allow to access the application program of network, or, prompt the user whether turn-on data network further, or, further at prompting interface display data network fast opening button etc..
Described network prompts interface can also be: shows the flow etc. that the current network of described terminal has used.
The embodiment of the present application by showing network prompts interface at terminal screen further after the state of control data network is off-state, in order to provides a user with more information or other operation readiness etc., brings good Consumer's Experience to user.
In enforcement, described after terminal screen shows network prompts interface, described method may further include:
Receive the network open command of user;
Described data network is opened according to described network open command.
When being embodied as, after terminal screen shows network prompts interface, user can click the shortcut key of opening network according to information at described network prompts interface, the embodiment of the present application can receive the network open command of user, and open described data network according to described network open command calling system interface, so that user carries out network accesses operation, and the interface that arranges opened a terminal without user carries out network settings, easy and simple to handle, quick.
Embodiment two,
Based on same inventive concept, the embodiment of the present application additionally provides the control device of a kind of data network, owing to the principle of these equipment solution problem is similar to the control method of a kind of data network, therefore the enforcement of these equipment may refer to the enforcement of method, repeats part and repeats no more.
Fig. 2 illustrates the structural representation one controlling device of data network in the embodiment of the present application two, as it can be seen, the control device of described data network may include that
Monitoring modular 201, for the application program of monitoring terminal front stage operation;
Determine module 202, for determining whether described application program is the application program allowing to access network;
First controls module 203, if for for allowing to access the application program of network, the state controlling data network is connection status;
Second controls module 204, if for for not allowing to access the application program of network, the state controlling data network is off-state.
The control device of the data network that the embodiment of the present application provides, monitoring modular can the foreground application of monitoring terminal current accessed, after determining that module determines that whether described application program be the application program allowing to access network, controlling module can according to whether the application program on the foreground of described terminal be the state allowing the application program accessing network to control data network, user has only to normally use terminal, control module and can automatically control the state of data network according to the terminal foreground application monitored, need not user manually opened or close data network control flow, it is very easy to user operation, improve Consumer's Experience.
When being embodied as, monitoring modular described in the embodiment of the present application can utilize the interface monitor of system to be switched to the application program on foreground, described application program and above-mentioned the application list prestored are compared, it is determined that whether described application program is the application program allowing to access network.If described first controls module may be used for the application program to allowing to access network, the state controlling data network is connection status;If described second controls module may be used for the application program to not allowing to access network, the state controlling data network is off-state.
The embodiment of the present application can pre-set, by user, the application program allowing to access network, and control data network is in connection status when monitoring foreground application and being the described application program allowing and accessing network, control data network when monitoring foreground application and being do not allow the application program accessing network to be off, such that it is able to carry out being turned on and off of network when user opens or starts application program automatically according to the list pre-set, it is very easy to user operation, improves Consumer's Experience.
Although considering that some situation user clicks, opens the application program allowing to access network, being intended merely to and checking the data accessing, downloading, be not intended to access network, therefore, the embodiment of the present application can also be implemented in the following way.
In enforcement, if described first control module specifically may be used for the application program to allowing to access network, receiving user after the networking operation requests that described Application Program Interface triggers, the state controlling data network is connection status.
When being embodied as, if described first controls module specifically may be used for the application program to allowing to access network, receiving after Refresh Data request, the message transmission request etc. that user triggers at described Application Program Interface need to connect the operation requests that network performs, the state controlling data network is connection status.
Described in the embodiment of the present application, the first control module can control data network again after receiving the networking operation requests that user triggers is connection status, thus realizing when user is only used to check, preserves the data need not networked in described application program, data network need not be controlled and be in connected state, only just it is in connected state for its control data network when user needs networking operation really determining, save data traffic to a certain extent further, decrease the switching frequency of data network simultaneously.
In enforcement, if described first control module specifically may be used for the application program to allowing to access network, detect described terminal current network state, if described current network state is off-state, open described data network;If described second controls module specifically may be used for the application program to not allowing to access network, detect described terminal current network state, if described current network state is connection status, close described data network.
Fig. 3 illustrates the structural representation two controlling device of data network in the embodiment of the present application two, as it can be seen, described device may further include:
Handover module 205, for receiving the application program switching command of user;
Close module 206, if being the application program after allowing to access the application program of network, switching for the application program before switching is the application program not allowing to access network, close described data network;
Opening module 207, if being the application program after not allowing to access the application program of network, switching for the application program before switching is the application program allowing to access network, opens described data network.
In order to promote Consumer's Experience further, the embodiment of the present application can also be implemented in the following way.
Fig. 4 illustrates the structural representation three controlling device of data network in the embodiment of the present application two, as it can be seen, described device may further include:
Reminding module 208, for, after the state of described control data network is off-state, showing network prompts interface at described terminal screen.
When being embodied as, described reminding module after the state of described control data network is off-state, can be opened button in described terminal screen display reminding message (such as: " current application program is do not allow to access the application program of network " or " whether opening network " etc.), video data Quick internet or show the flow etc. that the current network of described terminal has used.
The embodiment of the present application shows network prompts interface at terminal screen by reminding module further after the state of control data network is off-state, in order to provides a user with more information or other operation readiness etc., brings good Consumer's Experience to user.
Fig. 5 illustrates the structural representation four controlling device of data network in the embodiment of the present application two, as it can be seen, described device may further include:
Receiver module 209, is used for described after terminal screen shows network prompts interface, receives the network open command of user;
Perform module 210, for opening described data network according to described network open command.
When being embodied as, at described reminding module after terminal screen shows network prompts interface, user can click the shortcut key of opening network according to information at described network prompts interface, receiver module in the embodiment of the present application may be used for receiving the network open command of user, and opened described data network by described execution module according to described network open command calling system interface, so that user carries out network accesses operation, the interface that arranges opened a terminal without user carries out network settings, easy and simple to handle, quick.
For convenience of description, each several part of apparatus described above is divided into various module or unit to be respectively described with function.Certainly, the function of each module or unit can be realized in same or multiple softwares or hardware when implementing the application.
Embodiment three,
The control function of the data network that the embodiment of the present application provides can be applied in concrete application program by programming realization (to assume that described application program is NC, the i.e. abbreviation of NetControl), user has only to install described NC software can use the control function of data network provided herein.
For the ease of the enforcement of the application, for Android phone, the control program of the proposed data network of the application is illustrated below the embodiment of the present application.
Assuming that user A is mounted with described NC software on mobile phone, and be provided with described NC software and can control which application program allows to access network, which application program cannot access network, the black and white lists of application program is set up and stored to described NC software.
User A carries the mobile phone installing described NC software and goes out to handle official business, it does not have way connects wireless network.
When mobile phone is placed in and is in holding state in the pocket of described user A, user does not use mobile phone, now, the service condition of described NC software monitors mobile phone, find that current phone is in holding state, screen is blank screen, do not access any application program, described NC software can detect the network state of current phone, if the network of current phone is for disconnecting, then be not operated, keep this off-state;If the network of current phone is connection status, then close the data network of described mobile phone.
Further, described NC software can also record current operation after the state of described data network, i.e. described data network is for disconnecting.
When user opens the wechat software on mobile phone A free time, the application program that described NC software monitors accesses to mobile phone foreground is wechat software, is compared by the black and white lists of described wechat software Yu storage further.Owing to described NC software has saved the last operation hour state according to network, therefore, this described NC software need not detect the data network state of described mobile phone again, assuming that described wechat software (namely allows to access network) in the described white list prestored, described NC software can call the system interface of Android and open described data network.
Assume described user A need process a few thing, can not continue chat time, mobile phone screen locking is put into pocket by button by described user A.Namely described NC software detection thinks that described user is no longer necessary to network after keeping screen lock state 1 minute to described mobile phone, and automatic calling system interface closes the data network of described mobile phone, saves data traffic for user A.
Assume user A complete work after, go to hotel occupancy need navigate time, user A opens the map software of mobile phone, described NC software monitors is map software to foreground application, determines whether that described map software is whether in the application program white list prestored:
If described map software is in the application program white list prestored, then open described data network for user A;
Assume that described user A considers that when arranging map software is likely to compare consuming flow, described map software is added into the application list not allowing to access network, so, after described NC software determines that described map software is in described application program blacklist, mobile phone screen showing, " map expends very much flow " and current data flow have made the prompting messages such as consumption, and shows the button of turn-on data network simultaneously.
User can choose whether turn-on data network according to prompting message, if user A clicks the button of described turn-on data network, NC software receipt is to after the user A network open command triggered, getting final product the data network of the calling system interface described mobile phone of unlatching.
Embodiment four,
Continue with for Android phone, the control program of the proposed data network of the application is illustrated.
Assume that user B is mounted with NC software on mobile phone, and carried out following setting in described NC software:
Assume described NC software monitors to mobile phone currently without access any application program, the data network controlling described mobile phone is off-state.
When user B uses mobile phone open QQ, the application program that described NC software monitors accesses to mobile phone foreground is QQ, and determines that described QQ software is the application program allowing to access network according to table 1.1, is then turned on the data network of described mobile phone.
When user B switches to microblogging APP from QQ program, the application program that described NC software monitors accesses to mobile phone foreground is microblogging, and determine that described microblogging APP is the application program not allowing to access network according to table 1.1, finally, calling system interface closes the data network of described mobile phone.
When user B uses mobile phone open mail, the application program that described NC software monitors accesses to mobile phone foreground is mail, and determines that described mail software is the application program allowing to access network according to table 1.1, is then turned on the data network of described mobile phone.
When user B switches to Taobao APP from mailer, the application program that described NC software monitors accesses to mobile phone foreground is Taobao, and determine that described Taobao APP is the application program not allowing to access network according to table 1.1, finally, calling system interface closes the data network of described mobile phone.
That is, when monitoring application program switching command, if the application program before switching is the application program after allowing to access the application program of network, switching is the application program not allowing to access network, then, close data network;If the application program before switching is the application program after not allowing to access the application program of network, switching is the application program allowing to access network, then, turn-on data network.
Embodiment five,
Continue with for Android phone, the control program of the proposed data network of the application is illustrated.
Assume that user C is mounted with NC software on mobile phone, and carried out following setting in described NC software:
Assume described NC software monitors to mobile phone currently without access any application program, the data network controlling described mobile phone is off-state.
When user C uses mobile phone open wechat, the application program that described NC software monitors accesses to mobile phone foreground is wechat, and determine that described wechat software is the application program allowing to access network according to table 1.2, user open in wechat with the chat interface of user D, input message to be sent and click transmission after, described NC software receipt sends request to the message of user C, is then turned on the data network of described mobile phone.
When user C uses mobile phone open masses to comment on APP, the application program that described NC software monitors accesses to mobile phone foreground is popular comment, and determine that described popular comment software is the application program not allowing to access network according to table 1.1, it is then shut off the data network of described mobile phone.
When user C uses mobile phone open news APP to carry out news browsing, the application program that described NC software monitors accesses to mobile phone foreground is news, and determines that described news software is the application program allowing to access network according to table 1.2.If described user C does not have refresh data (such as: from top to bottom slide) from described news software interface, simply browse existing news (namely, the news that described mobile phone had loaded), so described NC software then thinks that the user C demand do not networked, continuation keep the data network of described mobile phone to be off-state;If the described drop-down refresh data of user C, described NC software receipt is asked to the Refresh Data of user C, can ask to open the data network of described mobile phone according to the Refresh Data of user.
Embodiment six,
Fig. 6 illustrates the process schematic that in the embodiment of the present application six, data network controls, as it can be seen, the control process of described data network may include steps of:
Step 601, storage user setup the application list;
When being embodied as, described the application list can be white list (namely, it is allowed to access the application list of network), it is also possible to for blacklist (that is, not allowing to access the application program of network).
Step 602, judge whether terminal is used:
If used, then perform step 603;
Without being used, then perform step 606.
Step 603, judge to be used no as foreground application:
If it is, perform step 604;
If it is not, then perform step 606.
Step 604, judge that whether described application program is allow to access network:
If allow, then perform step 605;
If not allowing to access network, then perform step 606.
Step 605, control network connect.
Step 606, control network disconnect.
Embodiment seven,
Fig. 7 illustrates the process schematic that in the embodiment of the present application seven, data network controls, as it can be seen, the control process of described data network may include steps of:
Step 701, beginning.
Step 702, judge whether foreground APP switches:
If foreground APP switches, then perform step 703;
Without switching, perform step 701.
Step 703, judge switching after application program be whether allow to use network:
If it is allowed, then perform step 704;
If it is not allowed, then perform step 705.
Step 704, open network.
Step 705, closedown network.
The control program of the data network that the embodiment of the present application provides, by whether the foreground application of monitoring terminal switches, and judge whether the application program after described switching is the application program allowing to use network, control the opening and closing of data network accordingly, user has only to normally use terminal, need not manually opened or close data network control flow, be very easy to user operation, improve Consumer's Experience.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the application can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The application describes with reference to flow chart and/or the block diagram according to the method for the embodiment of the present application, equipment (system) and computer program.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart 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 can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple 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, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the application, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the application scope.

Claims (10)

1. the control method of a data network, it is characterised in that comprise the steps:
The application program of monitoring terminal front stage operation;
Determine whether described application program is the application program allowing to access network;
If for allowing to access the application program of network, the state controlling data network is connection status;
If for not allowing to access the application program of network, the state controlling data network is off-state.
2. the method for claim 1, it is characterised in that the state controlling data network is connection status in order to allow to access the application program of network if described, particularly as follows:
If for allowing to access the application program of network, receiving user after the networking operation requests that described Application Program Interface triggers, the state controlling data network is connection status.
3. the method for claim 1, it is characterised in that the state of described control data network is connection status, particularly as follows: detect described terminal current network state, if described current network state is off-state, opens described data network;The state of described control data network is off-state, particularly as follows: detect described terminal current network state, if described current network state is connection status, closes described data network.
4. the method for claim 1, it is characterised in that farther include:
Receive the application program switching command of user;
If the application program before switching is the application program after allowing to access the application program of network, switching is the application program not allowing to access network, close described data network;
If the application program before switching is the application program after not allowing to access the application program of network, switching is the application program allowing to access network, open described data network.
5. the method for claim 1, it is characterised in that after the state of described control data network is off-state, farther include:
Network prompts interface is shown at described terminal screen.
6. method as claimed in claim 5, it is characterised in that described after terminal screen shows network prompts interface, farther include:
Receive the network open command of user;
Described data network is opened according to described network open command.
7. the control device of a data network, it is characterised in that including:
Monitoring modular, for the application program of monitoring terminal front stage operation;
Determine module, for determining whether described application program is the application program allowing to access network;
First controls module, if for for allowing to access the application program of network, the state controlling data network is connection status;
Second controls module, if for for not allowing to access the application program of network, the state controlling data network is off-state.
8. device as claimed in claim 7, it is characterized in that, if described first controls module specifically for being the application program allowing to access network, receiving user after the networking operation requests that described Application Program Interface triggers, the state controlling data network is connection status.
9. device as claimed in claim 7, it is characterized in that, if described first controls module specifically for being the application program allowing to access network, detect described terminal current network state, if described current network state is off-state, open described data network;If described second controls module specifically for being the application program not allowing to access network, detect described terminal current network state, if described current network state is connection status, close described data network.
10. device as claimed in claim 7, it is characterised in that farther include:
Handover module, for receiving the application program switching command of user;
Close module, if being the application program after allowing to access the application program of network, switching for the application program before switching is the application program not allowing to access network, close described data network;
Opening module, if being the application program after not allowing to access the application program of network, switching for the application program before switching is the application program allowing to access network, opens described data network.
CN201610196274.1A 2016-03-31 2016-03-31 Control method and device of data network Pending CN105722189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610196274.1A CN105722189A (en) 2016-03-31 2016-03-31 Control method and device of data network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610196274.1A CN105722189A (en) 2016-03-31 2016-03-31 Control method and device of data network

Publications (1)

Publication Number Publication Date
CN105722189A true CN105722189A (en) 2016-06-29

Family

ID=56158560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610196274.1A Pending CN105722189A (en) 2016-03-31 2016-03-31 Control method and device of data network

Country Status (1)

Country Link
CN (1) CN105722189A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302250A (en) * 2016-08-23 2017-01-04 乐视控股(北京)有限公司 The method for controlling network flow of mobile terminal and device
CN106302984A (en) * 2016-07-28 2017-01-04 努比亚技术有限公司 A kind of method and device controlling data cube computation
CN106817491A (en) * 2017-01-20 2017-06-09 百度在线网络技术(北京)有限公司 The control method and device of the network connection of terminal
CN107231646A (en) * 2017-08-02 2017-10-03 深圳传音通讯有限公司 Flow managing method, device and terminal based on double-terminal
CN107343106A (en) * 2017-08-04 2017-11-10 闻泰通讯股份有限公司 Mobile terminal WiFi uses control method
CN107547951A (en) * 2017-09-05 2018-01-05 艾牛(北京)科技有限公司 A kind of mobile terminal management-control method and system
WO2018165904A1 (en) * 2017-03-15 2018-09-20 廖建强 Data network control apparatus and control method
CN109426423A (en) * 2017-08-30 2019-03-05 上海连尚网络科技有限公司 Network open method and equipment
CN109963035A (en) * 2019-03-12 2019-07-02 深圳市沃特沃德股份有限公司 Communication equipment and its method and apparatus of automated communications
CN112637034A (en) * 2020-12-18 2021-04-09 中国农业银行股份有限公司 Method and device for accessing application program
CN115038134A (en) * 2022-06-29 2022-09-09 支付宝(杭州)信息技术有限公司 Service request processing method, device, equipment and medium
CN115038134B (en) * 2022-06-29 2024-04-26 支付宝(中国)网络技术有限公司 Service request processing method, device, equipment and medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379216A (en) * 2012-04-27 2013-10-30 比亚迪股份有限公司 Mobile terminal and data traffic control method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379216A (en) * 2012-04-27 2013-10-30 比亚迪股份有限公司 Mobile terminal and data traffic control method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302984A (en) * 2016-07-28 2017-01-04 努比亚技术有限公司 A kind of method and device controlling data cube computation
CN106302250A (en) * 2016-08-23 2017-01-04 乐视控股(北京)有限公司 The method for controlling network flow of mobile terminal and device
CN106817491A (en) * 2017-01-20 2017-06-09 百度在线网络技术(北京)有限公司 The control method and device of the network connection of terminal
WO2018165904A1 (en) * 2017-03-15 2018-09-20 廖建强 Data network control apparatus and control method
CN107231646A (en) * 2017-08-02 2017-10-03 深圳传音通讯有限公司 Flow managing method, device and terminal based on double-terminal
CN107343106A (en) * 2017-08-04 2017-11-10 闻泰通讯股份有限公司 Mobile terminal WiFi uses control method
CN107343106B (en) * 2017-08-04 2020-12-01 闻泰通讯股份有限公司 WiFi (Wireless Fidelity) use control method of mobile terminal
CN109426423A (en) * 2017-08-30 2019-03-05 上海连尚网络科技有限公司 Network open method and equipment
CN107547951A (en) * 2017-09-05 2018-01-05 艾牛(北京)科技有限公司 A kind of mobile terminal management-control method and system
CN109963035A (en) * 2019-03-12 2019-07-02 深圳市沃特沃德股份有限公司 Communication equipment and its method and apparatus of automated communications
CN109963035B (en) * 2019-03-12 2021-11-09 深圳市沃特沃德信息有限公司 Communication equipment and automatic communication method and device thereof
CN112637034A (en) * 2020-12-18 2021-04-09 中国农业银行股份有限公司 Method and device for accessing application program
CN115038134A (en) * 2022-06-29 2022-09-09 支付宝(杭州)信息技术有限公司 Service request processing method, device, equipment and medium
CN115038134B (en) * 2022-06-29 2024-04-26 支付宝(中国)网络技术有限公司 Service request processing method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN105722189A (en) Control method and device of data network
CN109391648B (en) Method and device for associating application with network slice and communication system
CN104902430B (en) The flow control methods and system of intelligent terminal
CN110996376B (en) Service data transmission method, device, storage medium and terminal
US10069818B2 (en) Method, system, device, and terminal for network initialization of multimedia playback device
US20170156166A1 (en) Method and Apparatus for Connecting With Controlled Smart Device, and Storage Medium
CN106817731A (en) The method for switching network and terminal device of terminal
EP4013003A1 (en) Communication protocol switching method, apparatus and system
CN106936676B (en) Household equipment control method and device
EP2945337A2 (en) Method, system and server for service switching
CN104298554A (en) Multi-task application program management method and device
CN108932087A (en) Desktop split screen system and its implementation for mobile device
CN111629409A (en) Call control method and device and electronic equipment
CN114629932B (en) Cooperative method between electronic devices, electronic device and storage medium
CN108781358A (en) A kind of method and relevant device managing the signing information collection in eUICC
CN106792823A (en) A kind of terminal connection method and device based on Miracast
CN106789488B (en) Intelligent household equipment management method and device
JP4584718B2 (en) System and method for selecting one communication network by one terminal
CN106027631A (en) Data transmission method and device
CN113552808A (en) Network distribution method for electronic home equipment, electronic home equipment and mobile terminal
CN113194450A (en) Bluetooth device management method and device
CN106413046A (en) Wireless network recommendation method, device and equipment
CN110891262A (en) Bluetooth pairing method, system and terminal equipment
CN108712280B (en) Network function management method and device, storage medium and intelligent terminal
CN111107093A (en) Application login method, device, terminal and storage medium

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: 20160629