CN105516026A - Hot spot networking control method and device - Google Patents

Hot spot networking control method and device Download PDF

Info

Publication number
CN105516026A
CN105516026A CN201510812275.XA CN201510812275A CN105516026A CN 105516026 A CN105516026 A CN 105516026A CN 201510812275 A CN201510812275 A CN 201510812275A CN 105516026 A CN105516026 A CN 105516026A
Authority
CN
China
Prior art keywords
hot spot
application program
spot networks
network
networking
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
CN201510812275.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 Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510812275.XA priority Critical patent/CN105516026A/en
Publication of CN105516026A publication Critical patent/CN105516026A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/803Application aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • 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/04Terminal devices adapted for relaying to or from another terminal or user

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a hot spot networking control method and device, and the method comprises the steps: determining the type of a network after the network provided by target equipment is connected; obtaining the networking authority of a hot spot network after the network is determined to be the hot spot network; and turning on or turning off a network interface of an application program according to the networking authority of the hot spot network. When the network is determined to be the hot spot network, the networking authority of the hot spot network needs to be obtained, and the network interface of the application program is turned on or turned off according to the networking authority, so as to enable the network interface of the application program in need to be turned on and enable the network interface of the application program, which is not in need to be turned off, thereby preventing the application program which is not in need from wasting the data flow of the hot spot network. According to the scheme of the invention, the method and device can control the application program to use the hot spot network, and save the data flow of the hot spot network.

Description

The networking control method of hot spot networks and device
Technical field
The present invention relates to communication technical field, in particular, relate to networking control method and the device of hot spot networks.
Background technology
WIFI hot spot refers to that GPRS, 3G or 4G signal electronic equipment receives is converted into WIFI signal and sends out, to make this electronic equipment become a WIFI hot spot, and then for the wireless network of this WIFI hot spot of other-end.For simplicity, herein by WIFI hot spot referred to as hot spot networks.
When the hot spot networks that terminal access electronic equipment provides, the hot spot networks that the application program in this terminal just can use electronic equipment to provide.Need to pay, so user does not wish the data traffic of the use hot spot networks that terminal is more owing to providing the data traffic of the electronic equipment consumption of hot spot networks.But, application program in terminal can carry out more new data or download the operations such as up-to-date client by hot spot networks automatically, so the application program of terminal can slattern a lot of flow of hot spot networks, and then reduce the experience of user when sharing hot spot networks.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of networking control method and device of hot spot networks, with the use of controlling application program to hot spot networks.
According to the first aspect of disclosure embodiment, a kind of networking control method of hot spot networks is provided, comprises:
After being connected to the network that target device provides, determine the type of described network;
After determining that the type of described network is hot spot networks, obtain the networking authority of described hot spot networks;
Open according to the networking authority of described hot spot networks or close the network interface of application program, described network interface is the interface that described application program uses the data traffic of described hot spot networks.
Optionally, described method also comprises:
When the network interface of described application program is in opening, monitor the data traffic of the described hot spot networks that described application program has used;
When the data traffic of monitoring out the described hot spot networks that described application program has used is greater than first threshold, close the network interface of described application program.
Optionally, described method also comprises:
When the network interface of described application program is in opening, monitors and receive the request of data of described application program;
After the request of data receiving described application program, determine the data traffic needed for described request of data;
When the data traffic needed for described request of data is less than Second Threshold, perform the request of data of described application program;
When the data traffic needed for described request of data is more than or equal to Second Threshold, cancel the update request of described application program.
Optionally, after the networking authority of the described hot spot networks of described acquisition, described method also comprises:
Judge whether the networking authority getting described hot spot networks;
When getting the networking authority of described hot spot networks, perform the step of the described network interface according to described networking authority configuring application program;
When not getting the networking authority of described hot spot networks, obtain the networking authority of mobile network, and the network interface of networking authority configuring application program according to described mobile network.
Optionally, described method also comprises:
Record is connected to the connection duration of described hot spot networks;
When described connection duration is greater than the 3rd threshold value, disconnect the connection with described hot spot networks.
According to the second aspect of disclosure embodiment, a kind of networking control device of hot spot networks is provided, comprises:
First determination module, after being connected to network that target device provides, determines the type of described network;
Acquisition module, for after determining that the type of described network is hot spot networks, obtains the networking authority of described hot spot networks;
First configuration module, for opening according to the networking authority of described hot spot networks or closing the network interface of application program, described network interface is the interface that described application program uses the data traffic of described hot spot networks.
Optionally, described device also comprises:
First monitoring modular, for when the network interface of described application program is in opening, monitors the data traffic of the described hot spot networks that described application program has used;
Closing module, during for being greater than first threshold in the data traffic of monitoring out the described hot spot networks that described application program has used, closes the network interface of described application program.
Optionally, described device also comprises:
Second monitoring modular, for when the network interface of described application program is in opening, monitors and receives the request of data of described application program;
Second determination module, for after the request of data receiving described application program, determines the data traffic needed for described request of data;
Executive Module, for when the data traffic needed for described request of data is less than Second Threshold, performs the request of data of described application program;
Cancel module, for when the data traffic needed for described request of data is more than or equal to Second Threshold, cancel the update request of described application program.
Optionally, described device also comprises:
Judge module, for judging whether the networking authority getting described hot spot networks;
Trigger module, for when getting the networking authority of described hot spot networks, performs described first configuration module;
Second configuration module, for when not getting the networking authority of described hot spot networks, obtains the networking authority of mobile network, and the network interface of networking authority configuring application program according to described mobile network.
Optionally, described device also comprises:
Logging modle, for recording the connection duration being connected to described hot spot networks;
Suspension module, for when described connection duration is greater than the 3rd threshold value, disconnects the connection with described hot spot networks.
According to the third aspect of disclosure embodiment, a kind of networking control device of hot spot networks is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
After being connected to the network that target device provides, determine the type of described network;
After determining that the type of described network is hot spot networks, obtain the networking authority of described hot spot networks;
Open according to the networking authority of described hot spot networks or close the network interface of application program, described network interface is the interface that described application program uses the data traffic of described hot spot networks.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the disclosure is when determining that the network being connected to target device and providing is hot spot networks, need the networking authority obtaining hot spot networks, open or close the network interface of application program again according to this networking authority, the network interface of the application program used to make needs is opened, do not need the network interface of the application program used to be closed, thus can avoid not needing the application program used to expend the data traffic of hot spot networks.Therefore, the scheme that the disclosure provides can controlling application program to the use of hot spot networks, thus save the data traffic of hot spot networks.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Fig. 1 is the flow chart of the networking control method of a kind of hot spot networks according to an exemplary embodiment.
Fig. 2 is the flow chart of the networking control method of another kind of hot spot networks according to an exemplary embodiment.
Fig. 3 is the flow chart of the networking control method of another hot spot networks according to an exemplary embodiment.
Fig. 4 is the flow chart of the networking control method of another hot spot networks according to an exemplary embodiment.
Fig. 5 is the flow chart of the networking control method of another hot spot networks according to an exemplary embodiment.
Fig. 6 is the schematic diagram of the networking control device of a kind of hot spot networks according to an exemplary embodiment.
Fig. 7 is the schematic diagram of the networking control device of another kind of hot spot networks according to an exemplary embodiment.
Fig. 8 is the schematic diagram of the networking control device of another hot spot networks according to an exemplary embodiment.
Fig. 9 is the schematic diagram of the networking control device of another hot spot networks according to an exemplary embodiment.
Figure 10 is the schematic diagram of the networking control device of another hot spot networks according to an exemplary embodiment.
Figure 11 is the schematic diagram of the networking control device of another hot spot networks according to an exemplary embodiment.
Figure 12 is the block diagram of the networking control device of a kind of hot spot networks according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the flow chart of the networking control method of a kind of hot spot networks according to an exemplary embodiment, and as shown in Figure 1, the networking control method of the hot spot networks shown in Fig. 1, may be used in mobile terminal.The method of the cancellation reminder events that the disclosure provides can controlling application program to the use of hot spot networks, thus save the data traffic of hot spot networks.The method comprises the following steps.
In step s 11, after being connected to the network that target device provides, the type of network is determined.
Wherein, the method that the disclosure provides can be applied in mobile terminal, and mobile terminal can be the equipment such as smart mobile phone, notebook computer or panel computer.The target device that the disclosure is mentioned also can be the equipment such as smart mobile phone, notebook computer or panel computer.
The network that target device provides can be with the hot spot networks of data traffic charging, also can be not with the wireless network of data traffic charging.
Refer to target device with the hot spot networks of data traffic charging GPRS, 3G or 4G signal received is converted into WIFI signal sends out again, to make this target device generate a hot spot networks, and then for this hot spot networks of other-end.The data traffic generated due to GPRS, 3G or 4G signal needs charging, so the hot spot networks that target device generates is also with data traffic charging.When the data traffic of the hot spot networks that other-end uses target device to generate, target device needs to pay for this part data traffic.
Such as, when target device is the smart mobile phone with LTE signal, suppose that the network that smart mobile phone provides is the hot spot networks that LTE signal transforms, the data traffic generated due to LTE signal needs charging, so the hot spot networks that smart mobile phone generates is also with charge on traffic.
Do not refer to target device with the wireless network of data traffic charging the broadband network received is converted into WIFI signal sends out again, to make this target device generate a wireless network, and then for this wireless network of other-end.The data traffic generated due to broadband network does not need independent charging, and when the data traffic of the wireless network that other-end uses target device to generate, target device does not need for this part data traffic is paid.
Such as, when target device is wireless router, the network that assumed wireless router provides is the wireless network that broadband network transforms, because broadband network is that bag year or monthly payment use, the data traffic that broadband network generates does not need independent charging, when the data traffic of the wireless network that other-end uses wireless router to generate, wireless router does not need for this part data traffic is paid.
When mobile terminal is connected to the network that target device provides, mobile terminal can determine the type of this network.
Such as, suppose that mobile terminal is the smart mobile phone using Android system, target device is the panel computer using Android system, and, LTE signal is converted into WIFI signal and sends out by panel computer, to generate a WIFI network, this WIFI network i.e. hot spot networks.When smart mobile phone is connected to the wireless network that panel computer provides, smart mobile phone can use the getType () method of NetworkInfo to determine that the network of current use is the mobile networks such as GPRS, 3G or LTE of smart mobile phone self, or the WIFI network that panel computer provides, so smart mobile phone can determine by getType () method the WIFI network that the network of current use provides for panel computer.Then, smart mobile phone can use the getIdentity () method of wifiConfig to determine that the WIFI network of current use is the hot spot networks that the mobile networks such as GPRS, 3G or LTE of panel computer generate, or the wireless network generated by broadband network, so smart mobile phone determines by the getIdentity () method of wifiConfig the hot spot networks that the LTE signal that the network of current use is panel computer generates.
Determine the type of network at mobile terminal after, mobile terminal just can know the networking authority needing to obtain which kind of network.
In step s 12, after determining that the type of network is hot spot networks, obtain the networking authority of hot spot networks.
Wherein, when the type that mobile terminal determines network is hot spot networks, mobile terminal just needs the networking authority getting the hot spot networks prestored.
The networking authority of hot spot networks is the corresponding relation that in mobile terminal, whether each application program and network interface are opened.
Such as, refer to shown in table 1, table 1 is the form of the networking authority of hot spot networks, suppose 4 application programs are installed in mobile terminal, be respectively application A, application program B, application program C and application program D, if the networking priority assignation of hot spot networks is by user: the network interface opening application A, open the network interface of application program B, close the network interface of application program C, open the network interface of application program D, so the form of the networking authority of hot spot networks is just as shown in table 1.
Application program Whether network interface is opened
Application A Be
Application program B Be
Application program C No
Application program D Be
Table 1
Such as, refer to shown in table 2, table 2 is the form of the networking authority of hot spot networks, suppose 3 application programs are installed in mobile terminal, be respectively application program E, application program F and application program G, if the networking priority assignation of hot spot networks is by user: the network interface opening application program E, open the network interface of application program F, open the network interface of application program G, so the form of the networking authority of hot spot networks is just as shown in table 2.
Application program Whether network interface is opened
Application program E Be
Application program F Be
Application program G Be
Table 2
In step s 13, open according to the networking authority of hot spot networks or close the network interface of application program.
Wherein, after acquisition for mobile terminal to the networking authority of hot spot networks, the network interface of application program just can be opened according to the networking authority of hot spot networks or close to mobile terminal.
The network interface of application program is the interface that application program uses the data traffic of hot spot networks.When mobile terminal is connected to the hot spot networks that target device provides, if acquisition for mobile terminal to hot spot networks networking authority in, the network interface of certain application program is opened in instruction, so mobile terminal just opens the network interface of this application program according to the networking authority of hot spot networks, with the data traffic making this application program can use hot spot networks; If acquisition for mobile terminal to hot spot networks networking authority in, the network interface of application program is closed in instruction, so mobile terminal just closes the network interface of this application program according to the networking authority of hot spot networks, with the data traffic making this application program can not use hot spot networks.
Such as, suppose 2 application programs are installed in mobile terminal, be respectively application A and application program B, suppose that the networking priority assignation of hot spot networks is by user in advance: the network interface opening application A, close the network interface of application program B.When mobile terminal is connected to the hot spot networks that target device provides, mobile terminal just can obtain the networking authority of hot spot networks.When acquisition for mobile terminal is to the networking authority of hot spot networks, mobile terminal just can according to the network interface of the networking authority opening application program A of hot spot networks, close the network interface of application program B, with the data traffic making application A can use hot spot networks, and make application program B can not use the data traffic of hot spot networks.
In the embodiment shown in fig. 1, the disclosure is when determining that the network being connected to target device and providing is hot spot networks, need the networking authority obtaining hot spot networks, open or close the network interface of application program again according to this networking authority, the network interface of the application program used to make needs is opened, do not need the network interface of the application program used to be closed, thus can avoid not needing the application program used to expend the data traffic of hot spot networks.Therefore, the scheme that the disclosure provides can controlling application program to the use of hot spot networks, thus save the data traffic of hot spot networks.
Fig. 2 is the flow chart of the networking control method of another kind of hot spot networks according to an exemplary embodiment, and as shown in Figure 2, the networking control method of the hot spot networks shown in Fig. 2, may be used in mobile terminal.Fig. 2 is an optional embodiment based on Fig. 1, in the embodiment shown in Figure 2, introduces and explain in the embodiment that the part identical with the embodiment shown in Fig. 1 can be shown in Figure 1.Method shown in Fig. 2 comprises the following steps.
In the step s 21, after being connected to the network that target device provides, the type of network is determined.
In step S22, after determining that the type of network is hot spot networks, obtain the networking authority of hot spot networks.
In step S23, open or close the network interface of application program according to the networking authority of hot spot networks, network interface is the interface that application program uses the data traffic of hot spot networks.
In step s 24 which, when the network interface of application program is in opening, the data traffic of the hot spot networks that monitoring and measuring application program has used.
Wherein, after mobile terminal is according to the networking authority unlatching of hot spot networks or the network interface of closedown application program, the data traffic of the hot spot networks that the application program that mobile terminal can monitor opening network interface has used.
Such as, suppose 2 application programs are installed in mobile terminal, be respectively application A and application program B, suppose that the networking priority assignation of hot spot networks is by user in advance: the network interface opening application A, close the network interface of application program B.When mobile terminal is connected to the hot spot networks that target device provides, mobile terminal just can obtain the networking authority of hot spot networks.When acquisition for mobile terminal is to the networking authority of hot spot networks, mobile terminal just can according to the network interface of the networking authority opening application program A of hot spot networks, close the network interface of application program B, with the data traffic making application A can use hot spot networks, and make application program B can not use the data traffic of hot spot networks.Because the network interface of application A is in opening, so mobile terminal understands the data traffic of the hot spot networks that monitoring and measuring application program A has used.
In step s 25, when the data traffic of monitoring out the hot spot networks that application program has used is greater than first threshold, close the network interface of application program.
Wherein, first threshold is the data flow value pre-set, and such as, in advance first threshold can be set to 5MB, also in advance first threshold can be set to 10MB.The disclosure does not limit the scope of first threshold, and user can set according to actual conditions in advance.
After the data traffic of the hot spot networks used in mobile terminal monitoring and measuring application program, mobile terminal just needs the data traffic judging the hot spot networks that application program has used whether to be greater than first threshold.When the data traffic that mobile terminal monitors out the hot spot networks that application program has used is greater than first threshold, illustrate that the data traffic of the hot spot networks that this application program uses is beyond the value preset, so mobile terminal needs the network interface of closing this application program, with the data traffic avoiding this application program to use more hot spot networks.
Such as, suppose that first threshold is redefined for 5MB, in mobile terminal, application program X is installed, suppose that the networking priority assignation of hot spot networks is by user in advance: the network interface opening application program X.When mobile terminal is connected to the hot spot networks that target device provides, mobile terminal just can obtain the networking authority of hot spot networks.When acquisition for mobile terminal is to the networking authority of hot spot networks, mobile terminal just can according to the network interface of the networking authority opening application program X of hot spot networks, with the data traffic making application A can use hot spot networks.Because the network interface of application A is in opening, so mobile terminal understands the data traffic of the hot spot networks that monitoring and measuring application program A has used.When the data traffic that mobile terminal monitors out the hot spot networks that application program X has used is greater than first threshold 5MB, mobile terminal can close the network interface of application program X, with the data traffic avoiding this application program X to use more hot spot networks.
Fig. 3 is the flow chart of the networking control method of another hot spot networks according to an exemplary embodiment, and as shown in Figure 3, the networking control method of the hot spot networks shown in Fig. 3, may be used in mobile terminal.Fig. 3 is an optional embodiment based on Fig. 1, in the embodiment shown in fig. 3, introduces and explain in the embodiment that the part identical with the embodiment shown in Fig. 1 can be shown in Figure 1.Method shown in Fig. 3 comprises the following steps.
In step S31, after being connected to the network that target device provides, determine the type of network.
In step s 32, after determining that the type of network is hot spot networks, obtain the networking authority of hot spot networks.
In step S33, open or close the network interface of application program according to the networking authority of hot spot networks, network interface is the interface that application program uses the data traffic of hot spot networks.
In step S34, when the network interface of application program is in opening, monitors and receive the request of data of application program.
Wherein, after mobile terminal is according to the networking authority unlatching of hot spot networks or the network interface of closedown application program, mobile terminal can monitor the request of data of the application program of opening network interface.
The type of the request of data of application program has multiple, and such as, the request of data of application program can be the download request of application program, and also can be the upload request of application program, can also be the request of the renewal client of application program, etc.But no matter which kind of request of data, application program all can the data traffic of chargeable heat spot net.
In step s 35, when receiving the request of data of application program, the data traffic needed for request of data is determined.
Wherein, when mobile terminal monitors out the request of data of application program, application program needs the data traffic of chargeable heat spot net, now, mobile terminal just needs the data traffic determined needed for request of data, so that mobile terminal determines whether the request of data of executive utility according to required data traffic.
In step S36, when the data traffic needed for request of data is less than Second Threshold, the request of data of executive utility.
Wherein, Second Threshold is the data flow value pre-set, and such as, in advance Second Threshold can be set to 1MB, also in advance Second Threshold can be set to 2MB.The disclosure does not limit the scope of Second Threshold, and user can set according to actual conditions in advance.
When the data traffic that mobile terminal is determined needed for request of data is less than Second Threshold, the request of data of application program is relatively little, the data traffic of chargeable heat spot net that can not be too much, so mobile terminal just can the request of data of executive utility.
In step S37, when the data traffic needed for request of data is more than or equal to Second Threshold, cancel the update request of application program.
When the data traffic that mobile terminal is determined needed for request of data is more than or equal to Second Threshold, the request of data of application program is relatively large, the data traffic of chargeable heat spot net that can be too much, so mobile terminal just can cancel the request of data of application program, thus the request of data of application program can be avoided to expend the data traffic of more hot spot networks.
Fig. 4 is the flow chart of the networking control method of another hot spot networks according to an exemplary embodiment, and as shown in Figure 4, the networking control method of the hot spot networks shown in Fig. 4, may be used in mobile terminal.Fig. 4 is an optional embodiment based on Fig. 1, in the embodiment shown in fig. 4, introduces and explain in the embodiment that the part identical with the embodiment shown in Fig. 1 can be shown in Figure 1.Method shown in Fig. 4 comprises the following steps.
In step S41, after being connected to the network that target device provides, determine the type of network.
In step S42, after determining that the type of network is hot spot networks, obtain the networking authority of hot spot networks.
In step S43, judge whether the networking authority getting hot spot networks.When getting the networking authority of hot spot networks, perform step S44; When not getting the networking authority of hot spot networks, perform step S45.
Wherein, owing to being not necessarily previously stored with the networking authority of hot spot networks in mobile terminal, so after the networking authority of acquisition for mobile terminal hot spot networks, mobile terminal needs to judge whether the networking authority getting hot spot networks.When acquisition for mobile terminal is to the networking authority of hot spot networks, illustrate that mobile terminal can carry out the network interface of configuring application program according to the networking authority of hot spot networks.When mobile terminal does not get the networking authority of hot spot networks, illustrate that mobile terminal cannot carry out the network interface of configuring application program according to the networking authority of hot spot networks, so mobile terminal just needs to obtain the networking authority of mobile network, and the network interface of networking authority configuring application program according to mobile network.
Mobile network refers to the mobile networks such as GPRS, 3G or LTE.The networking authority of mobile network is the same with the networking authority of hot spot networks in form, and the networking authority of mobile network is also the corresponding relation that in mobile terminal, whether each application program and network interface are opened.
In step S44, open according to the networking authority of hot spot networks or close the network interface of application program.
In step S45, obtain the networking authority of mobile network, and the network interface of networking authority configuring application program according to mobile network.
Fig. 5 is the flow chart of the networking control method of another hot spot networks according to an exemplary embodiment, and as shown in Figure 5, the networking control method of the hot spot networks shown in Fig. 5, may be used in mobile terminal.Fig. 5 is an optional embodiment based on Fig. 1, in the embodiment shown in fig. 5, introduces and explain in the embodiment that the part identical with the embodiment shown in Fig. 1 can be shown in Figure 1.Method shown in Fig. 5 comprises the following steps.
In step s 51, after being connected to the network that target device provides, the type of network is determined.
In step S52, after determining that the type of network is hot spot networks, obtain the networking authority of hot spot networks.
In step S53, open or close the network interface of application program according to the networking authority of hot spot networks, network interface is the interface that application program uses the data traffic of hot spot networks.
In step S54, record is connected to the connection duration of hot spot networks.
In step S55, when connecting duration and being greater than the 3rd threshold value, disconnect the connection with hot spot networks.
Wherein, the 3rd threshold value is the time span that may use hot spot networks that user presets, and such as, user estimates that the time span of oneself use hot spot networks can not more than 1 hour, and so the 3rd threshold value can be set as 1 hour by user.The disclosure does not limit the scope of the 3rd threshold value, and user can set according to actual conditions in advance.
In some cases, mobile terminal is after being connected to hot spot networks, even if user uses hot spot networks, user may forget the connection disconnecting mobile terminal and hot spot networks, thus mobile terminal is connected in hot spot networks always.After mobile terminal is connected to hot spot networks, need to expend certain electricity to maintain the connection of mobile terminal and hot spot networks, so after mobile terminal is according to the networking authority unlatching of hot spot networks or the network interface of closedown application program, mobile terminal needs record to be connected to the connection duration of hot spot networks.When mobile terminal judges that connecting duration is greater than the 3rd threshold value, illustrate that active user has not needed to use hot spot networks, so mobile terminal just disconnects the connection with hot spot networks automatically, and then saves the electricity of mobile terminal.
Fig. 6 is the schematic diagram of the networking control device of a kind of hot spot networks according to an exemplary embodiment.With reference to Fig. 6, this device comprises the first determination module 11, acquisition module 12 and the first configuration module 13.Wherein:
First determination module 11, after being connected to network that target device provides, determines the type of network.
Wherein, the network that target device provides can be with the hot spot networks of data traffic charging, also can be not with the wireless network of data traffic charging.
Refer to target device with the hot spot networks of data traffic charging GPRS, 3G or 4G signal received is converted into WIFI signal sends out again, to make this target device generate a hot spot networks, and then for this hot spot networks of other-end.The data traffic generated due to GPRS, 3G or 4G signal needs charging, so the hot spot networks that target device generates is also with data traffic charging.When the data traffic of the hot spot networks that other-end uses target device to generate, target device needs to pay for this part data traffic.
Such as, when target device is the smart mobile phone with LTE signal, suppose that the network that smart mobile phone provides is the hot spot networks that LTE signal transforms, the data traffic generated due to LTE signal needs charging, so the hot spot networks that smart mobile phone generates is also with charge on traffic.
Do not refer to target device with the wireless network of data traffic charging the broadband network received is converted into WIFI signal sends out again, to make this target device generate a wireless network, and then for this wireless network of other-end.The data traffic generated due to broadband network does not need independent charging, and when the data traffic of the wireless network that other-end uses target device to generate, target device does not need for this part data traffic is paid.
Such as, when target device is wireless router, the network that assumed wireless router provides is the wireless network that broadband network transforms, because broadband network is that bag year or monthly payment use, the data traffic that broadband network generates does not need independent charging, when the data traffic of the wireless network that other-end uses wireless router to generate, wireless router does not need for this part data traffic is paid.
When mobile terminal is connected to the network that target device provides, mobile terminal can determine the type of this network.
Such as, suppose that mobile terminal is the smart mobile phone using Android system, target device is the panel computer using Android system, and, LTE signal is converted into WIFI signal and sends out by panel computer, to generate a WIFI network, this WIFI network i.e. hot spot networks.When smart mobile phone is connected to the wireless network that panel computer provides, smart mobile phone can use the getType () method of NetworkInfo to determine that the network of current use is the mobile networks such as GPRS, 3G or LTE of smart mobile phone self, or the WIFI network that panel computer provides, so smart mobile phone can determine by getType () method the WIFI network that the network of current use provides for panel computer.Then, smart mobile phone can use the getIdentity () method of wifiConfig to determine that the WIFI network of current use is the hot spot networks that the mobile networks such as GPRS, 3G or LTE of panel computer generate, or the wireless network generated by broadband network, so smart mobile phone determines by the getIdentity () method of wifiConfig the hot spot networks that the LTE signal that the network of current use is panel computer generates.
Determine the type of network at mobile terminal after, mobile terminal just can know the networking authority needing to obtain which kind of network.
Acquisition module 12, for after determining that the type of network is hot spot networks, obtains the networking authority of hot spot networks.
Wherein, the networking authority of hot spot networks is the corresponding relation that in mobile terminal, whether each application program and network interface are opened.
First configuration module 13, for opening according to the networking authority of hot spot networks or closing the network interface of application program, network interface is the interface that application program uses the data traffic of hot spot networks.
Wherein, after acquisition for mobile terminal to the networking authority of hot spot networks, the network interface of application program just can be opened according to the networking authority of hot spot networks or close to mobile terminal.
The network interface of application program is the interface that application program uses the data traffic of hot spot networks.When mobile terminal is connected to the hot spot networks that target device provides, if acquisition for mobile terminal to hot spot networks networking authority in, the network interface of certain application program is opened in instruction, so mobile terminal just opens the network interface of this application program according to the networking authority of hot spot networks, with the data traffic making this application program can use hot spot networks; If acquisition for mobile terminal to hot spot networks networking authority in, the network interface of application program is closed in instruction, so mobile terminal just closes the network interface of this application program according to the networking authority of hot spot networks, with the data traffic making this application program can not use hot spot networks.
Such as, suppose 2 application programs are installed in mobile terminal, be respectively application A and application program B, suppose that the networking priority assignation of hot spot networks is by user in advance: the network interface opening application A, close the network interface of application program B.When mobile terminal is connected to the hot spot networks that target device provides, mobile terminal just can obtain the networking authority of hot spot networks.When acquisition for mobile terminal is to the networking authority of hot spot networks, mobile terminal just can according to the network interface of the networking authority opening application program A of hot spot networks, close the network interface of application program B, with the data traffic making application A can use hot spot networks, and make application program B can not use the data traffic of hot spot networks.
In the embodiment shown in fig. 6, the disclosure is when determining that the network being connected to target device and providing is hot spot networks, need the networking authority obtaining hot spot networks, open or close the network interface of application program again according to this networking authority, the network interface of the application program used to make needs is opened, do not need the network interface of the application program used to be closed, thus can avoid not needing the application program used to expend the data traffic of hot spot networks.Therefore, the scheme that the disclosure provides can controlling application program to the use of hot spot networks, thus save the data traffic of hot spot networks.
Fig. 7 is the schematic diagram of the networking control device of another kind of hot spot networks according to an exemplary embodiment.With reference to Fig. 7, this device comprises the first determination module 21, acquisition module 22, first configuration module 23, first monitoring modular 24 and closing module 25.Wherein:
First determination module 21, after being connected to network that target device provides, determines the type of network.
Acquisition module 22, for after determining that the type of network is hot spot networks, obtains the networking authority of hot spot networks.
First configuration module 23, for opening according to the networking authority of hot spot networks or closing the network interface of application program, network interface is the interface that application program uses the data traffic of hot spot networks.
First monitoring modular 24, for when the network interface of application program is in opening, the data traffic of the hot spot networks that monitoring and measuring application program has used.
Wherein, after mobile terminal is according to the networking authority unlatching of hot spot networks or the network interface of closedown application program, the data traffic of the hot spot networks that the application program that mobile terminal can monitor opening network interface has used.
Such as, suppose 2 application programs are installed in mobile terminal, be respectively application A and application program B, suppose that the networking priority assignation of hot spot networks is by user in advance: the network interface opening application A, close the network interface of application program B.When mobile terminal is connected to the hot spot networks that target device provides, mobile terminal just can obtain the networking authority of hot spot networks.When acquisition for mobile terminal is to the networking authority of hot spot networks, mobile terminal just can according to the network interface of the networking authority opening application program A of hot spot networks, close the network interface of application program B, with the data traffic making application A can use hot spot networks, and make application program B can not use the data traffic of hot spot networks.Because the network interface of application A is in opening, so mobile terminal understands the data traffic of the hot spot networks that monitoring and measuring application program A has used.
Closing module 25, during for being greater than first threshold in the data traffic of monitoring out the hot spot networks that application program has used, closes the network interface of application program.
Wherein, first threshold is the data flow value pre-set, and such as, in advance first threshold can be set to 5MB, also in advance first threshold can be set to 10MB.The disclosure does not limit the scope of first threshold, and user can set according to actual conditions in advance.
After the data traffic of the hot spot networks used in mobile terminal monitoring and measuring application program, mobile terminal just needs the data traffic judging the hot spot networks that application program has used whether to be greater than first threshold.When the data traffic that mobile terminal monitors out the hot spot networks that application program has used is greater than first threshold, illustrate that the data traffic of the hot spot networks that this application program uses is beyond the value preset, so mobile terminal needs the network interface of closing this application program, with the data traffic avoiding this application program to use more hot spot networks.
Such as, suppose that first threshold is redefined for 5MB, in mobile terminal, application program X is installed, suppose that the networking priority assignation of hot spot networks is by user in advance: the network interface opening application program X.When mobile terminal is connected to the hot spot networks that target device provides, mobile terminal just can obtain the networking authority of hot spot networks.When acquisition for mobile terminal is to the networking authority of hot spot networks, mobile terminal just can according to the network interface of the networking authority opening application program X of hot spot networks, with the data traffic making application A can use hot spot networks.Because the network interface of application A is in opening, so mobile terminal understands the data traffic of the hot spot networks that monitoring and measuring application program A has used.When the data traffic that mobile terminal monitors out the hot spot networks that application program X has used is greater than first threshold 5MB, mobile terminal can close the network interface of application program X, with the data traffic avoiding this application program X to use more hot spot networks.
Fig. 8 is the schematic diagram of the networking control device of another hot spot networks according to an exemplary embodiment.With reference to Fig. 8, this device comprises the first determination module 31, acquisition module 32, first configuration module 33, second monitoring modular 34, second determination module 35, Executive Module 36 and cancels module 37.Wherein:
First determination module 31, after being connected to network that target device provides, determines the type of network.
Acquisition module 32, for after determining that the type of network is hot spot networks, obtains the networking authority of hot spot networks.
First configuration module 33, for opening according to the networking authority of hot spot networks or closing the network interface of application program, network interface is the interface that application program uses the data traffic of hot spot networks.
Second monitoring modular 34, for when the network interface of application program is in opening, monitors and receives the request of data of application program.
Wherein, after mobile terminal is according to the networking authority unlatching of hot spot networks or the network interface of closedown application program, mobile terminal can monitor the request of data of the application program of opening network interface.
The type of the request of data of application program has multiple, and such as, the request of data of application program can be the download request of application program, and also can be the upload request of application program, can also be the request of the renewal client of application program, etc.But no matter which kind of request of data, application program all can the data traffic of chargeable heat spot net.
Second determination module 35, for after the request of data receiving application program, determines the data traffic needed for request of data.
Wherein, when mobile terminal monitors out the request of data of application program, application program needs the data traffic of chargeable heat spot net, now, mobile terminal just needs the data traffic determined needed for request of data, so that mobile terminal determines whether the request of data of executive utility according to required data traffic.
Executive Module 36, for when the data traffic needed for request of data is less than Second Threshold, the request of data of executive utility.
Wherein, Second Threshold is the data flow value pre-set, and such as, in advance Second Threshold can be set to 1MB, also in advance Second Threshold can be set to 2MB.The disclosure does not limit the scope of Second Threshold, and user can set according to actual conditions in advance.
When the data traffic that mobile terminal is determined needed for request of data is less than Second Threshold, the request of data of application program is relatively little, the data traffic of chargeable heat spot net that can not be too much, so mobile terminal just can the request of data of executive utility.
Cancel module 37, for when the data traffic needed for request of data is more than or equal to Second Threshold, cancel the update request of application program.
When the data traffic that mobile terminal is determined needed for request of data is more than or equal to Second Threshold, the request of data of application program is relatively large, the data traffic of chargeable heat spot net that can be too much, so mobile terminal just can cancel the request of data of application program, thus the request of data of application program can be avoided to expend the data traffic of more hot spot networks.
Fig. 9 is the schematic diagram of the networking control device of another hot spot networks according to an exemplary embodiment.With reference to Fig. 9, this device comprises the first determination module 41, acquisition module 42, first configuration module 43, judge module 44, trigger module 45 and the second configuration module 46.Wherein:
First determination module 41, after being connected to network that target device provides, determines the type of network.
Acquisition module 42, for after determining that the type of network is hot spot networks, obtains the networking authority of hot spot networks.
First configuration module 43, for opening according to the networking authority of hot spot networks or closing the network interface of application program, network interface is the interface that application program uses the data traffic of hot spot networks.
Wherein, owing to being not necessarily previously stored with the networking authority of hot spot networks in mobile terminal, so after the networking authority of acquisition for mobile terminal hot spot networks, mobile terminal needs to judge whether the networking authority getting hot spot networks.When acquisition for mobile terminal is to the networking authority of hot spot networks, illustrate that mobile terminal can carry out the network interface of configuring application program according to the networking authority of hot spot networks.When mobile terminal does not get the networking authority of hot spot networks, illustrate that mobile terminal cannot carry out the network interface of configuring application program according to the networking authority of hot spot networks, so mobile terminal just needs to obtain the networking authority of mobile network, and the network interface of networking authority configuring application program according to mobile network.
Mobile network refers to the mobile networks such as GPRS, 3G or LTE.The networking authority of mobile network is the same with the networking authority of hot spot networks in form, and the networking authority of mobile network is also the corresponding relation that in mobile terminal, whether each application program and network interface are opened.
Judge module 44, for judging whether the networking authority getting hot spot networks.
Trigger module 45, for when getting the networking authority of hot spot networks, performs the first configuration module 43.
Second configuration module 46, for when not getting the networking authority of hot spot networks, obtains the networking authority of mobile network, and the network interface of networking authority configuring application program according to mobile network.
Figure 10 is the schematic diagram of the networking control device of another hot spot networks according to an exemplary embodiment.With reference to Figure 10, this device comprises the first determination module 51, acquisition module 52, first configuration module 53, logging modle 54 and suspension module 55.Wherein:
First determination module 51, after being connected to network that target device provides, determines the type of network.
Acquisition module 52, for after determining that the type of network is hot spot networks, obtains the networking authority of hot spot networks.
First configuration module 53, for opening according to the networking authority of hot spot networks or closing the network interface of application program, network interface is the interface that application program uses the data traffic of hot spot networks.
Logging modle 54, for recording the connection duration being connected to hot spot networks.
Suspension module 55, for when connecting duration and being greater than the 3rd threshold value, disconnects the connection with hot spot networks.
Wherein, the 3rd threshold value is the time span that may use hot spot networks that user presets, and such as, user estimates that the time span of oneself use hot spot networks can not more than 1 hour, and so the 3rd threshold value can be set as 1 hour by user.The disclosure does not limit the scope of the 3rd threshold value, and user can set according to actual conditions in advance.
In some cases, mobile terminal is after being connected to hot spot networks, even if user uses hot spot networks, user may forget the connection disconnecting mobile terminal and hot spot networks, thus mobile terminal is connected in hot spot networks always.After mobile terminal is connected to hot spot networks, need to expend certain electricity to maintain the connection of mobile terminal and hot spot networks, so after mobile terminal is according to the networking authority unlatching of hot spot networks or the network interface of closedown application program, mobile terminal needs record to be connected to the connection duration of hot spot networks.When mobile terminal judges that connecting duration is greater than the 3rd threshold value, illustrate that active user has not needed to use hot spot networks, so mobile terminal just disconnects the connection with hot spot networks automatically, and then saves the electricity of mobile terminal.
Figure 11 is the schematic diagram of the networking control device of another hot spot networks according to an exemplary embodiment.With reference to Figure 11, this device comprises processor 61 and the memory 62 for storage of processor 61 executable instruction.Wherein:
Processor 61 is configured to: after being connected to the network that target device provides, determine the type of network.After determining that the type of network is hot spot networks, obtain the networking authority of hot spot networks.Open according to the networking authority of hot spot networks or close the network interface of application program, network interface is the interface that application program uses the data traffic of hot spot networks.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Figure 12 is the block diagram of the networking control device 800 of a kind of hot spot networks according to an exemplary embodiment.Such as, device 800 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat-panel devices, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 12, device 800 can comprise following one or more assembly: processing components 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of I/O (I/O), sensor cluster 814, and communications component 816.
The integrated operation of the usual control device 800 of processing components 802, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 802 can comprise one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 802 can comprise one or more module, and what be convenient between processing components 802 and other assemblies is mutual.Such as, processing components 802 can comprise multi-media module, mutual with what facilitate between multimedia groupware 808 and processing components 802.
Memory 804 is configured to store various types of data to be supported in the operation of device 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 804 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 806 is device 800 provide electric power.Power supply module 806 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 800 and be associated.
Multimedia groupware 808 is included in the screen providing an output interface between described device 800 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 808 comprises a front-facing camera and/or post-positioned pick-up head.When device 800 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to export and/or input audio signal.Such as, audio-frequency assembly 810 comprises a microphone (MIC), and when device 800 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 804 further or be sent via communications component 816.In certain embodiments, audio-frequency assembly 810 also comprises a loud speaker, for output audio signal.
I/O interface 812 is for providing interface between processing components 802 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 814 comprises one or more transducer, for providing the state estimation of various aspects for device 800.Such as, sensor cluster 814 can detect the opening/closing state of device 800, the relative positioning of assembly, such as described assembly is display and the keypad of device 800, the position of all right checkout gear 800 of sensor cluster 814 or device 800 1 assemblies changes, the presence or absence that user contacts with device 800, the variations in temperature of device 800 orientation or acceleration/deceleration and device 800.Sensor cluster 814 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 814 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 814 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 816 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 816 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 816 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 804 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 800.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of networking control method of hot spot networks, described method comprises: after being connected to the network that target device provides, determine the type of network.After determining that the type of network is hot spot networks, obtain the networking authority of hot spot networks.Open according to the networking authority of hot spot networks or close the network interface of application program, network interface is the interface that application program uses the data traffic of hot spot networks.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (11)

1. a networking control method for hot spot networks, is characterized in that, comprising:
After being connected to the network that target device provides, determine the type of described network;
After determining that the type of described network is hot spot networks, obtain the networking authority of described hot spot networks;
Open according to the networking authority of described hot spot networks or close the network interface of application program, described network interface is the interface that described application program uses the data traffic of described hot spot networks.
2. the networking control method of hot spot networks according to claim 1, is characterized in that, described method also comprises:
When the network interface of described application program is in opening, monitor the data traffic of the described hot spot networks that described application program has used;
When the data traffic of monitoring out the described hot spot networks that described application program has used is greater than first threshold, close the network interface of described application program.
3. the networking control method of hot spot networks according to claim 1, is characterized in that, described method also comprises:
When the network interface of described application program is in opening, monitors and receive the request of data of described application program;
After the request of data receiving described application program, determine the data traffic needed for described request of data;
When the data traffic needed for described request of data is less than Second Threshold, perform the request of data of described application program;
When the data traffic needed for described request of data is more than or equal to Second Threshold, cancel the update request of described application program.
4. the networking control method of hot spot networks according to claim 1, is characterized in that, after the networking authority of the described hot spot networks of described acquisition, described method also comprises:
Judge whether the networking authority getting described hot spot networks;
When getting the networking authority of described hot spot networks, perform the step of the described network interface according to described networking authority configuring application program;
When not getting the networking authority of described hot spot networks, obtain the networking authority of mobile network, and the network interface of networking authority configuring application program according to described mobile network.
5. the networking control method of hot spot networks according to claim 1, is characterized in that, described method also comprises:
Record is connected to the connection duration of described hot spot networks;
When described connection duration is greater than the 3rd threshold value, disconnect the connection with described hot spot networks.
6. a networking control device for hot spot networks, is characterized in that, comprising:
First determination module, after being connected to network that target device provides, determines the type of described network;
Acquisition module, for after determining that the type of described network is hot spot networks, obtains the networking authority of described hot spot networks;
First configuration module, for opening according to the networking authority of described hot spot networks or closing the network interface of application program, described network interface is the interface that described application program uses the data traffic of described hot spot networks.
7. the networking control device of hot spot networks according to claim 6, is characterized in that, described device also comprises:
First monitoring modular, for when the network interface of described application program is in opening, monitors the data traffic of the described hot spot networks that described application program has used;
Closing module, during for being greater than first threshold in the data traffic of monitoring out the described hot spot networks that described application program has used, closes the network interface of described application program.
8. the networking control device of hot spot networks according to claim 6, is characterized in that, described device also comprises:
Second monitoring modular, for when the network interface of described application program is in opening, monitors and receives the request of data of described application program;
Second determination module, for after the request of data receiving described application program, determines the data traffic needed for described request of data;
Executive Module, for when the data traffic needed for described request of data is less than Second Threshold, performs the request of data of described application program;
Cancel module, for when the data traffic needed for described request of data is more than or equal to Second Threshold, cancel the update request of described application program.
9. the networking control device of hot spot networks according to claim 6, is characterized in that, described device also comprises:
Judge module, for judging whether the networking authority getting described hot spot networks;
Trigger module, for when getting the networking authority of described hot spot networks, performs described first configuration module;
Second configuration module, for when not getting the networking authority of described hot spot networks, obtains the networking authority of mobile network, and the network interface of networking authority configuring application program according to described mobile network.
10. the networking control device of hot spot networks according to claim 6, is characterized in that, described device also comprises:
Logging modle, for recording the connection duration being connected to described hot spot networks;
Suspension module, for when described connection duration is greater than the 3rd threshold value, disconnects the connection with described hot spot networks.
The networking control device of 11. 1 kinds of hot spot networks, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
After being connected to the network that target device provides, determine the type of described network;
After determining that the type of described network is hot spot networks, obtain the networking authority of described hot spot networks;
Open according to the networking authority of described hot spot networks or close the network interface of application program, described network interface is the interface that described application program uses the data traffic of described hot spot networks.
CN201510812275.XA 2015-11-20 2015-11-20 Hot spot networking control method and device Pending CN105516026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510812275.XA CN105516026A (en) 2015-11-20 2015-11-20 Hot spot networking control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510812275.XA CN105516026A (en) 2015-11-20 2015-11-20 Hot spot networking control method and device

Publications (1)

Publication Number Publication Date
CN105516026A true CN105516026A (en) 2016-04-20

Family

ID=55723676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510812275.XA Pending CN105516026A (en) 2015-11-20 2015-11-20 Hot spot networking control method and device

Country Status (1)

Country Link
CN (1) CN105516026A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105979523A (en) * 2016-06-29 2016-09-28 北京小米移动软件有限公司 Network connecting method and device
CN106101421A (en) * 2016-06-16 2016-11-09 捷开通讯(深圳)有限公司 A kind of mobile terminal and resource control method thereof
CN106453907A (en) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 Control method and device for terminal application
CN106658657A (en) * 2016-10-20 2017-05-10 青岛海信移动通信技术股份有限公司 Network access method and device
CN108989240A (en) * 2018-08-01 2018-12-11 Oppo(重庆)智能科技有限公司 Method for controlling network flow, device, terminal device and storage medium
CN109151825A (en) * 2017-06-15 2019-01-04 阿里巴巴集团控股有限公司 Hot spot shared method, apparatus and system
WO2020024938A1 (en) * 2018-07-31 2020-02-06 中兴通讯股份有限公司 Data traffic processing method and terminal, and computer storage medium
WO2022257472A1 (en) * 2021-06-10 2022-12-15 荣耀终端有限公司 Method for connecting to hotspot, terminal device, and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945410A (en) * 2014-03-28 2014-07-23 宇龙计算机通信科技(深圳)有限公司 Terminal device and flow control method thereof
CN104113425A (en) * 2014-07-17 2014-10-22 普联技术有限公司 Charge mode setting and detecting method, MiFi equipment and mobile terminal
CN104125596A (en) * 2014-07-07 2014-10-29 北京奇虎科技有限公司 Data traffic statistics method and data traffic statistics device
CN104243335A (en) * 2014-09-30 2014-12-24 可牛网络技术(北京)有限公司 Network sharing method and device
CN104349401A (en) * 2013-09-03 2015-02-11 广州三星通信技术研究有限公司 Equipment and method for regulating data strategy in terminal
CN104363588A (en) * 2014-11-19 2015-02-18 贵州万臻时代通讯技术有限公司 Mobile terminal internet access control method and mobile terminal
CN104619045A (en) * 2014-12-17 2015-05-13 腾讯科技(深圳)有限公司 Access control method and device for mobile terminal
CN105007602A (en) * 2015-07-16 2015-10-28 福建天晴数码有限公司 Method for flow control of mobile terminal and flow control mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349401A (en) * 2013-09-03 2015-02-11 广州三星通信技术研究有限公司 Equipment and method for regulating data strategy in terminal
CN103945410A (en) * 2014-03-28 2014-07-23 宇龙计算机通信科技(深圳)有限公司 Terminal device and flow control method thereof
CN104125596A (en) * 2014-07-07 2014-10-29 北京奇虎科技有限公司 Data traffic statistics method and data traffic statistics device
CN104113425A (en) * 2014-07-17 2014-10-22 普联技术有限公司 Charge mode setting and detecting method, MiFi equipment and mobile terminal
CN104243335A (en) * 2014-09-30 2014-12-24 可牛网络技术(北京)有限公司 Network sharing method and device
CN104363588A (en) * 2014-11-19 2015-02-18 贵州万臻时代通讯技术有限公司 Mobile terminal internet access control method and mobile terminal
CN104619045A (en) * 2014-12-17 2015-05-13 腾讯科技(深圳)有限公司 Access control method and device for mobile terminal
CN105007602A (en) * 2015-07-16 2015-10-28 福建天晴数码有限公司 Method for flow control of mobile terminal and flow control mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106101421A (en) * 2016-06-16 2016-11-09 捷开通讯(深圳)有限公司 A kind of mobile terminal and resource control method thereof
CN105979523A (en) * 2016-06-29 2016-09-28 北京小米移动软件有限公司 Network connecting method and device
CN106453907A (en) * 2016-10-19 2017-02-22 广东欧珀移动通信有限公司 Control method and device for terminal application
CN106658657A (en) * 2016-10-20 2017-05-10 青岛海信移动通信技术股份有限公司 Network access method and device
CN109151825A (en) * 2017-06-15 2019-01-04 阿里巴巴集团控股有限公司 Hot spot shared method, apparatus and system
CN109151825B (en) * 2017-06-15 2022-02-15 阿里巴巴集团控股有限公司 Hotspot sharing method, device and system
WO2020024938A1 (en) * 2018-07-31 2020-02-06 中兴通讯股份有限公司 Data traffic processing method and terminal, and computer storage medium
CN108989240A (en) * 2018-08-01 2018-12-11 Oppo(重庆)智能科技有限公司 Method for controlling network flow, device, terminal device and storage medium
WO2022257472A1 (en) * 2021-06-10 2022-12-15 荣耀终端有限公司 Method for connecting to hotspot, terminal device, and electronic device

Similar Documents

Publication Publication Date Title
CN105516026A (en) Hot spot networking control method and device
CN104159255A (en) Method of sharing network among terminals and device
CN105098888A (en) Charging method and device
CN107368818A (en) Meeting room state method to set up, device, system and storage medium
CN105530384A (en) Method and device for power reminding based on alarm clock
CN104898505A (en) Smart scene configuration method and device
CN103888601B (en) Information prompting method, device and terminal
CN105553963A (en) Control method and device of positioning services
CN105098273A (en) Charging method and device
CN105407473A (en) Wireless local area network discovery method and apparatus
CN104320774A (en) Updating method, device and facility
CN103916975A (en) Network connection management method and device
CN105068467A (en) Method and device for controlling intelligent equipment
CN105550204A (en) Method and device for controlling position locating module
CN105282446A (en) Camera management method and device
CN105472676A (en) Network connection method and device
CN105068848A (en) System upgrading method and apparatus
CN103927200A (en) Electronic equipment awakening method and related device
CN107343087A (en) Smart machine control method and device
CN104539662A (en) Information transmission method and device
CN104485713A (en) Charge control method and device
CN106033397A (en) Method and device for adjusting memory buffer, and terminal
CN105511307A (en) Control method and apparatus of electronic device
CN104216672A (en) Display control method and display control device
CN104485552A (en) Socket on-off control method and device

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