CN106454728B - A kind of network control method of terminal applies, device and terminal - Google Patents
A kind of network control method of terminal applies, device and terminal Download PDFInfo
- Publication number
- CN106454728B CN106454728B CN201610883796.9A CN201610883796A CN106454728B CN 106454728 B CN106454728 B CN 106454728B CN 201610883796 A CN201610883796 A CN 201610883796A CN 106454728 B CN106454728 B CN 106454728B
- Authority
- CN
- China
- Prior art keywords
- terminal
- network
- application
- location information
- difference
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000011217 control strategy Methods 0.000 claims abstract description 17
- 238000001514 detection method Methods 0.000 claims description 10
- 239000012141 concentrate Substances 0.000 claims description 9
- 230000006870 function Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 10
- 230000006854 communication Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000005484 gravity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000000725 suspension Substances 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of network control method of terminal applies, device and terminals, this method comprises: obtaining the location information of terminal;It is concentrated according to the location information from predeterminated position and determines target position information;It is concentrated according to the target position information from default application and searches corresponding application;It is controlled according to network of the default network control strategy to the application found.The above method can automatically control the Web vector graphic of application when terminal enters the coverage area of special wireless network, avoid the escaption phenomenon that massive dataflow occurs, easy to operate.
Description
Technical field
The present invention relates to mobile communication technology field more particularly to a kind of network control method of terminal applies, device and
Terminal.
Background technique
With the development of computer technology, network has become a part of people's daily life, and people can be with by network
It obtains various information and is exchanged.
It is used currently, many companies can all provide free WLAN to employee, and to ensure that this use is
In the reasonable scope, such as receive and send messages, mail, part company can monitor the network flow of employee, when find certain employee upper
The flow used in class's period is excessive, then assert that it is being engaged in the content unrelated with work, for example see video, play game etc..This
Although kind of a monitoring method can prevent employee from stealthily surfing the Internet to a certain extent, if being mounted with some software pipes on employee's mobile phone
It ought to use, then easily cause erroneous judgement, this, which is primarily due to these software management applications, can default under radio local network environment
Renewable software in mobile phone is automatically updated, to cause the escaption of a large amount of flows.
Summary of the invention
The purpose of the present invention is to provide a kind of network control method of terminal applies, device and terminals, existing to solve
The technical issues of terminal be easy to cause flow to escape under radio local network environment.
In order to solve the above technical problems, the embodiment of the present invention the following technical schemes are provided:
A kind of network control method of terminal applies comprising:
Obtain the location information of terminal;
It is concentrated according to the positional information from predeterminated position and determines target position information;
It is concentrated according to the target position information from default application and searches corresponding application;
It is controlled according to network of the default network control strategy to the application found.
In order to solve the above technical problems, the embodiment of the present invention also the following technical schemes are provided:
A kind of network control unit of terminal applies comprising:
First obtains module, for obtaining the location information of terminal;
Determining module determines target position information for concentrating according to the positional information from predeterminated position;
Searching module searches corresponding application for concentrating according to the target position information from default application;
Control module, for being controlled according to network of the default network control strategy to the application found.
In order to solve the above technical problems, the embodiment of the present invention also the following technical schemes are provided:
A kind of terminal comprising processor, memory, input unit and output device, processor, memory, input dress
It sets and is connected with output device by bus, wherein processor is for executing following steps:
Obtain the location information of terminal;
It is concentrated according to the positional information from predeterminated position and determines target position information;
It is concentrated according to the target position information from default application and searches corresponding application;
It is controlled according to network of the default network control strategy to the application found.
Network control method, device and the terminal of terminal applies of the present invention, by obtaining the location information of terminal,
And concentrated according to the location information from predeterminated position and determine target position information, later, according to the target position information from default
Corresponding application is searched using concentrating, and is controlled according to network of the default network control strategy to the application found, from
And the Web vector graphic of application can be automatically controlled when terminal enters the coverage area of special wireless network, it avoids that big flow occurs
The escaption phenomenon of data, it is easy to operate.
Detailed description of the invention
With reference to the accompanying drawing, by the way that detailed description of specific embodiments of the present invention, technical solution of the present invention will be made
And other beneficial effects are apparent.
Fig. 1 is the flow diagram of the network control method of terminal applies provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the network control method of terminal applies provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the network control unit of terminal applies provided in an embodiment of the present invention;
Fig. 4 is another structural schematic diagram of the network control unit of terminal applies provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides the network control method, device and terminal of a kind of terminal applies.It will carry out respectively below
It is described in detail.It should be noted that restriction of the serial number of following embodiment not as embodiment priority.
First embodiment
The angle of network control unit from terminal applies is described the present embodiment, the network-control of the terminal applies
Device specifically can integrate in the terminals such as mobile phone, tablet computer or laptop.
Referring to Fig. 1, the network control method of the terminal applies of first embodiment of the invention offer has been described in detail in Fig. 1,
It may include:
S101, the location information for obtaining terminal.
In the present embodiment, GPS (Globle Positioning built-in in terminal can be passed through
System, GPS) location information is obtained, which can show as coordinate form, which can be by longitude and latitude group
At.It should be noted that terminal is for the acquisition of location information and the non-required moment carries out, can be periodically, such as
It can be the acquisition of half an hour or 15 minutes once, the network for being also possible to connection changes and the transformed network is
It is carried out when the network connected.
S102, determining target position information is concentrated from predeterminated position according to the location information.
For example, above-mentioned steps S102 can specifically include:
It calculates separately the location information and predeterminated position concentrates difference between each preset position information, obtain difference
Collection;
It is concentrated according to the difference collection from the predeterminated position and determines target position information.
In the present embodiment, the preset position information can according to actual needs depending on, for example can be terminal and connect every time
When new wireless network, the current location information for obtaining and storing automatically, at this point, the predeterminated position concentrates each predeterminated position letter
A corresponding new wireless network is ceased, which refers mainly to that user is allowed to establish the data network that remote-wireless connects.
For example, above-mentioned steps " concentrated according to the difference collection from the predeterminated position and determine target position information " specifically can wrap
It includes:
Judge that the difference is concentrated with the presence or absence of the difference no more than preset threshold;
If it exists, then the difference no more than preset threshold is determined as target difference;
It is concentrated from the predeterminated position and obtains the corresponding preset position information of the target difference, and the predeterminated position that will acquire
Information is determined as target position information.
In the present embodiment, preset threshold d can according to actual needs depending on, be usually not less than the covering of wireless network
The size of radius r, covering radius r depend on the performance of router, the covering of wireless network provided by different routers
Radius r is generally different.To judge whether terminal will connect another wireless network in advance, preset threshold d may include this
The covering radius r of the wireless network and offset d1 of permission, that is, d=r+d1, wherein r and d1 can be empirical value.It is on duty
When value is less than or equal to preset threshold, illustrate that terminal comes into or will enter the overlay area of another wireless network.
S103, it is concentrated according to the target position information from default application and searches corresponding application.
In the present embodiment, which can be terminal sets itself, for example can be terminal according to history
The flow of flow service condition selection consumes big application, is also possible to hobby setting of the user according to oneself, such as can be with
Be user selection identify oneself the lower application of importance.
It is easily understood that in practical application, above-mentioned predeterminated position collection and it is default using collection be it is preset,
That is, before above-mentioned steps S101, the network control method of the terminal applies can also include:
Whether the wireless network of detection terminal connection is replaced;
If replacing, user's application message currently entered and terminal are obtained according to the wireless network after replacement
The location information being presently in;
Establish the incidence relation between application message currently entered and current location information;
Current location information is stored in predeterminated position to concentrate, which is stored in default application and is concentrated.
It, can be by the title for the wireless network that terminal is connected to determine whether replacing in the present embodiment.Work as hair
When raw replacement, terminal can be generated one using selection interface, and it may include the institute installed in terminal that this, which is applied in selection interface,
Have application, so that user therefrom selects, and by selection application and current location information (namely the network currently connecting)
It is associated storage, in this way, subsequent can find corresponding application by the incidence relation.
Certainly, it when not replacing wireless network every time, requires to be configured application, those had been set
Network may not need when replacement next time is to the network and is once again set up, that is, there was only the network after replacement is to connect for the first time
It when connecing, just needs to be configured application, that is, above-mentioned steps " obtain user according to the wireless network after replacement currently to input
Application message and the location information that is presently in of terminal " can specifically include:
Obtain the historical record for having connected network of the terminal storage;
Wireless network after replacement is matched with the historical record;
If it fails to match, the location information that user's application message currently entered and terminal are presently in is obtained.
In the present embodiment, the network that has connected that can will store in the title of the wireless network after replacement and historical record
Title compares and analyzes, to judge in the historical record with the presence or absence of the wireless network after the replacement.When being deposited in historical record
When wireless network after the replacement, it can be determined that the wireless network after the replacement not connects for the first time, when in historical record not
There are when wireless network after the replacement, it can be determined that the wireless network after the replacement is to connect for the first time, at this time, it may be necessary to application
It is configured.
In addition, the wireless network not each connected for the first time requires the network legal power of control application, such as the nothing of family
Free nets provided by gauze network or some publics place of entertainment, can not limit the Web vector graphic of any application.For this feelings
Condition can generate one and mention before obtaining the location information that user's application message currently entered and terminal are presently in
Show frame, prompts the user whether to need to carry out network-control.The size of the prompting frame, content and position on terminal interface are equal
Can according to actual needs depending on, for example, the prompting frame can provide two buttons of "Yes" and "No" or icon, when user selects
When "Yes", the location information that user's application message currently entered and terminal are presently in can be just obtained.
S104, it is controlled according to network of the default network control strategy to the application found.
In the present embodiment, the default network control strategy can according to actual needs depending on, for example these can be disconnected and answered
Network connection perhaps limits the network flow or other network control strategies, etc. of these applications.
It, can possible limiting terminal application big to the greatest extent when it is to disconnect the network connection of these applications that this, which presets network strategy,
Network flow under current network, certainly, being applied due to these will be unable to carry out data transmit-receive after suspension, can be further
These applications are closed, to mitigate the operation burden of terminal.
When it is to limit the network flow of these applications that this, which presets network strategy, above-mentioned steps S104 be can specifically include:
Detect whether the application found needs to carry out data transmit-receive operation by network;
If desired data transmit-receive operation is carried out by network, then obtains the data volume of data to be sent and received;
When the data volume is greater than preset data amount, the data transmit-receive is prevented to operate.
In the present embodiment, the preset data amount can according to actual needs depending on, be mainly used for defining data volume being big
Or it is small.Specifically, needing the application of network-control if it exists when connecting new wireless network, can permit these and answer
With carry out small data quantity transmitting-receiving operate, prevent the transmitting-receiving of big data quantity from operating, thus can controlling terminal entire data
Flow, and the network connection without breaking part application.
It can be seen from the above, the network control method of terminal applies provided in this embodiment, the position by obtaining terminal is believed
Breath, and concentrated according to the location information from predeterminated position and determine target position information, later, according to the target position information from pre-
If application, which is concentrated, searches corresponding application, and controls according to network of the default network control strategy to the application found,
So as to automatically control the Web vector graphic of application, avoid occurring flowing greatly in coverage area of the terminal into special wireless network
The escaption phenomenon of data is measured, it is easy to operate.
Second embodiment
According to method described in embodiment one, citing is described in further detail below.
In the present embodiment, it will be carried out specifically so that the network control unit of the terminal applies is integrated in the terminal as an example
It is bright.
As shown in Fig. 2, a kind of network control method of terminal applies, detailed process can be such that
Whether the wireless network that S201, terminal detection connect is replaced, if so, following step S202 is executed, if it is not,
Following step S205 can then be executed.
For example, terminal can be by the title of the wireless network connected to determine whether replacing.
S202, terminal obtain the historical record for having connected network of storage, and the wireless network after replacement is gone through with described
Records of the Historian record is matched, if successful match, terminal can not execute any operation, if it fails to match, terminal can be executed
Following step S203.
For example, wireless network after replacement is " AAA ", if being then stored with the linkage record of " AAA " in historical record,
It can be determined that successful match, illustrate the network that the network not connects for the first time, if without the connection of storage " AAA " in historical record
Record, then may determine that it fails to match, illustrate that the network is the network connected for the first time.
S203, terminal obtain the location information that user's application message currently entered and terminal are presently in.
For example, terminal can by built-in GPS (Globle Positioning System,
GPS location information) is obtained, is believed for selection by the user to obtain the application of user's input by generating an application selection interface
Breath.
S204, terminal establish the incidence relation between application message currently entered and current location information, and will be current
Location information is stored in predeterminated position concentration, which is stored in default application and is concentrated.
For example, terminal can establish corresponding table of the application message with location information, and the correspondence table is stored in local number
According in library.
S205, terminal obtain location information.
For example, when there is no can periodically obtaining location information, such as half when variation for the network of terminal connection
Hour or 15 minutes obtain once, can also change in the network of connection and the transformed network had connected
When network, location information is obtained.
S206, terminal calculate separately the location information and predeterminated position concentrates the difference between each preset position information,
Obtain difference collection.
For example, terminal can calculate separately the distance value of current position coordinates and each preset position coordinates, obtain difference
Collection, wherein each distance value can be and be calculated according to dimension difference and difference of longitude.
S207, terminal judge that the difference is concentrated with the presence or absence of the difference no more than preset threshold, and if it exists, execute following steps
Rapid S208 can not then execute any operation if it does not exist.
For example, preset threshold d may include the covering radius r of the wireless network and the offset d1 of permission, that is, d
=r+d1, wherein r and d1 can be empirical value.When there are certain difference be less than or equal to preset threshold when, illustrate terminal into
Enter or will enter the overlay area of another wireless network.
Difference no more than preset threshold is determined as target difference by S208, terminal, is concentrated to obtain from the predeterminated position and is somebody's turn to do
The corresponding preset position information of target difference, and the preset position information that will acquire is determined as target position information.
For example, available for calculating the preset position information of the difference when certain difference is less than or equal to d, in general,
Different preset position informations indicates the position of different wireless networks.
S209, terminal, which are concentrated according to the target position information from default application, searches corresponding application, and detects and find
Application whether need by network carry out data transmit-receive operation, if desired, then execute following step S210, if not needing,
Any operation can not be executed.
For example, due to before having been carried out the network that each was connected using setting according to location information, thus it is subsequent
Terminal can find the application of setting by location information, and control the Web vector graphic of these applications.
S210, terminal obtain the data volume of data to be sent and received, when the data volume is greater than preset data amount, prevent the data
Transmitting-receiving operation.
For example, when preset data amount is B, if some in these applications is greater than using the data volume of current data to be sent and received
B is then the network flow of controlling terminal, needs to prevent specifically to operate.
It can be seen from the above, the network control method of terminal applies provided in this embodiment, terminal can be connected by detection
Wireless network whether replace, and will be wireless after replacement if so, obtain the historical record for having connected network of storage
Network is matched with the historical record, if it fails to match, obtains user's application message currently entered and terminal is worked as
The location of preceding information, and the incidence relation between application message currently entered and current location information is established, and will work as
Front position information is stored in predeterminated position concentration, which is stored in default application and is concentrated, to complete network and answer
It is operation associated, later in practical application, the available location information of terminal, and calculate separately the location information and default
The difference between each preset position information is concentrated in position, obtains difference collection, next, it is determined that the difference is concentrated with the presence or absence of little
In the difference of preset threshold, and if it exists, the difference no more than preset threshold is then determined as target difference, from the predeterminated position collection
The corresponding preset position information of middle acquisition target difference, and the preset position information that will acquire is determined as target position letter
Breath is concentrated from default application according to the target position information and searches corresponding application, and detects whether the application found needs
Data transmit-receive operation is carried out by network, if desired, the data volume for then obtaining data to be sent and received, when the data volume is greater than present count
When according to amount, the data transmit-receive is prevented to operate, so as to which in coverage area of the terminal into special wireless network, automatic control is answered
Web vector graphic avoids the escaption phenomenon that massive dataflow occurs, easy to operate.
3rd embodiment
On the basis of two the method for embodiment one and embodiment, the present embodiment will be filled from the network-control of terminal applies
The angle set is further described below.
Referring to Fig. 3, the network control unit of the terminal applies of third embodiment of the invention offer has been described in detail in Fig. 3,
It may include: the first acquisition module 10, determining module 20, searching module 30 and control module 40, in which:
(1) first obtains module 10
First obtains module 10, for obtaining the location information of terminal.
In the present embodiment, first obtains module 10 can be by GPS (Globle built-in in terminal
Positioning System, GPS) location information is obtained, which can show as coordinate form, which can be with
It is made of longitude and latitude.It should be noted that the first acquisition module 10 is for the acquisition of location information and the non-required moment carries out,
It can be periodically, for example can be the acquisition of half an hour or 15 minutes once, the network for being also possible to connection changes
And the transformed network carries out when being the network having connected.
(2) determining module 20
Determining module 20 determines target position information for concentrating according to the location information from predeterminated position.
For example, the determining module 20, which can specifically include, calculates submodule and determining submodule, in which:
Computational submodule is concentrated between each preset position information for calculating separately the location information and predeterminated position
Difference obtains difference collection.
It determines submodule, determines target position information for concentrating according to the difference collection from the predeterminated position.
In the present embodiment, the preset position information can according to actual needs depending on, for example can be terminal and connect every time
When new wireless network, the current location information for obtaining and storing automatically, at this point, the predeterminated position concentrates each predeterminated position letter
A corresponding new wireless network is ceased, which refers mainly to that user is allowed to establish the data network that remote-wireless connects.
For example, the determination submodule specifically can be used for:
Judge that the difference is concentrated with the presence or absence of the difference no more than preset threshold;
If it exists, then the difference no more than preset threshold is determined as target difference;
It is concentrated from the predeterminated position and obtains the corresponding preset position information of the target difference, and the predeterminated position that will acquire
Information is determined as target position information.
In the present embodiment, preset threshold d can according to actual needs depending on, be usually not less than the covering of wireless network
The size of radius r, covering radius r depend on the performance of router, the covering of wireless network provided by different routers
Radius r is generally different.To judge whether terminal will connect another wireless network in advance, preset threshold d may include this
The covering radius r of the wireless network and offset d1 of permission, that is, d=r+d1, wherein r and d1 can be empirical value.It is on duty
When value is less than or equal to preset threshold, illustrate that terminal comes into or will enter the overlay area of another wireless network.
(3) searching module 30
Searching module 30 searches corresponding application for concentrating according to the target position information from default application.
In the present embodiment, which can be terminal sets itself, for example can be terminal according to history
The flow of flow service condition selection consumes big application, is also possible to hobby setting of the user according to oneself, such as can be with
Be user selection identify oneself the lower application of importance.
It is easily understood that in practical application, above-mentioned predeterminated position collection and it is default using collection be it is preset,
That is, referring to Fig. 4, the network control unit of the terminal applies can also include that detection module 50, second obtains module 60 and deposits
Store up module 70, in which:
Detection module 50, for before the first acquisition module 10 obtains the location information of terminal, detection terminal to be connected
Wireless network whether replace;
Second obtains module 60, if obtaining user for replacing according to the wireless network after replacement and currently inputting
Application message, and obtain the location information that is presently in of terminal;
Memory module 70, the incidence relation for establishing between application message currently entered and current location information;It will
Current location information is stored in predeterminated position concentration, which is stored in default application and is concentrated.
In the present embodiment, detection module 50 can be by the title for the wireless network that terminal is connected to determine whether occurring
Replacement.When replacing, the second acquisition module 60 can be generated one using selection interface, this is using can be in selection interface
Including all applications installed in terminal, so that user therefrom selects, application and present bit of the memory module 70 by selection
Confidence breath (namely the network currently connected) is associated storage, in this way, subsequent searching module 30 can pass through the incidence relation
Find corresponding application.
Certainly, it when not replacing wireless network every time, requires to be configured application, those had been set
Network may not need when replacement next time is to the network and is once again set up, that is, there was only the network after replacement is to connect for the first time
When connecing, just need to be configured application, that is, the second acquisition module 60 specifically can be used for:
Obtain the historical record for having connected network of the terminal storage;
Wireless network after replacement is matched with the historical record;
If it fails to match, the location information that user's application message currently entered and terminal are presently in is obtained.
In the present embodiment, the second acquisition module 60 can will store in the title of the wireless network after replacement and historical record
The title for having connected network compare and analyze, to judge in the historical record with the presence or absence of the wireless network after the replacement.
When there are when the wireless network after the replacement in historical record, it can be determined that the wireless network after the replacement not connects for the first time,
When the wireless network being not present in historical record after the replacement, it can be determined that the wireless network after the replacement is to connect for the first time,
At this time, it may be necessary to be configured to application.
In addition, the wireless network not each connected for the first time requires the network legal power of control application, such as the nothing of family
Free nets provided by gauze network or some publics place of entertainment, can not limit the Web vector graphic of any application.For this feelings
Condition, the location information that the second acquisition module 60 can be presently in acquisition user application message currently entered and terminal
Before, a prompting frame is generated, prompts the user whether to need to carry out network-control.The size of the prompting frame, content and at end
Hold interface on position can according to actual needs depending on, for example, the prompting frame can provide "Yes" and "No" two buttons
Or icon can just obtain the position that user's application message currently entered and terminal are presently in when user selects "Yes"
Information.
(4) control module 40
Control module 40, if detecting the wireless network that the terminal currently can be switched for not getting access data
Set, and the wireless network currently connected is switched over according to the wireless network set.
In the present embodiment, the default network control strategy can according to actual needs depending on, for example these can be disconnected and answered
Network connection perhaps limits the network flow or other network control strategies, etc. of these applications.
It, can possible limiting terminal application big to the greatest extent when it is to disconnect the network connection of these applications that this, which presets network strategy,
Network flow under current network, certainly, being applied due to these will be unable to carry out data transmit-receive after suspension, can be further
These applications are closed, to mitigate the operation burden of terminal.
When it is to limit the network flow of these applications that this, which presets network strategy, which specifically can be used for:
Detect whether the application found needs to carry out data transmit-receive operation by network;
If desired data transmit-receive operation is carried out by network, then obtains the data volume of data to be sent and received;
When the data volume is greater than preset data amount, the data transmit-receive is prevented to operate.
In the present embodiment, the preset data amount can according to actual needs depending on, be mainly used for defining data volume being big
Or it is small.Specifically, when connecting new wireless network, the application of network-control is needed if it exists, control module 40 can be with
Allow these applications to carry out the transmitting-receiving operation of small data quantity, prevents the transmitting-receiving of big data quantity from operating, thus can controlling terminal
Entire data traffic, and without breaking part application network connection.
When it is implemented, above each unit can be used as independent entity to realize, any combination can also be carried out, is made
It is realized for same or several entities, the specific implementation of above each unit can be found in the embodiment of the method for front, herein not
It repeats again.
It can be seen from the above, the network control unit of terminal applies provided in this embodiment, is obtained by the first acquisition module 10
The location information of terminal is taken, determining module 20 is concentrated from predeterminated position according to the location information and determines target position information, later,
Searching module 30 is concentrated from default application according to the target position information and searches corresponding application, and control module 40 is according to default net
Network control strategy controls the network of the application found, so as to enter the coverage area of special wireless network in terminal
When, the Web vector graphic of application is automatically controlled, the escaption phenomenon that massive dataflow occurs is avoided, it is easy to operate.
Fourth embodiment
Correspondingly, the embodiment of the present invention also provides a kind of terminal, as shown in figure 5, the terminal may include radio frequency (RF,
Radio Frequency) circuit 801, the memory 802, defeated that includes one or more computer readable storage medium
Enter unit 803, display unit 804, sensor 805, voicefrequency circuit 805, Wireless Fidelity (WiFi, Wireless Fidelity)
The components such as module 807, the processor 808 for including one or more than one processing core and power supply 809.This field skill
Art personnel are appreciated that the restriction of the not structure paired terminal of terminal structure shown in Fig. 5, may include more or more than illustrating
Few component perhaps combines certain components or different component layouts.Wherein:
RF circuit 801 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 808 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuit 801 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses
Family identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier
(LNA, Low Noise Amplifier), duplexer etc..In addition, RF circuit 801 can also by wireless communication with network and its
He communicates equipment.Any communication standard or agreement, including but not limited to global system for mobile telecommunications system can be used in the wireless communication
Unite (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more
Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term
Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 802 can be used for storing software program and module, and processor 808 is stored in memory 802 by operation
Software program and module, thereby executing various function application and data processing.Memory 802 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created data according to terminal
(such as audio data, phone directory etc.) etc..In addition, memory 802 may include high-speed random access memory, can also include
Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memory 802 can also include Memory Controller, to provide processor 808 and input unit 803 to memory 802
Access.
Input unit 803 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, in a specific embodiment
In, input unit 803 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or touching
Control plate, collect user on it or nearby touch operation (such as user using any suitable object such as finger, stylus or
Operation of the attachment on touch sensitive surface or near touch sensitive surface), and corresponding connection dress is driven according to preset formula
It sets.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 808, and can reception processing
Order that device 808 is sent simultaneously is executed.Furthermore, it is possible to a variety of using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface.In addition to touch sensitive surface, input unit 803 can also include other input equipments.Specifically, other are defeated
Entering equipment can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
One of mark, operating stick etc. are a variety of.
Display unit 804 can be used for showing information input by user or be supplied to user information and terminal it is various
Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display
Unit 804 may include display panel, optionally, can using liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further
, touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, send processing to
Device 808 is followed by subsequent processing device 808 and is provided on a display panel accordingly according to the type of touch event to determine the type of touch event
Visual output.Although touch sensitive surface and display panel are to realize input and input as two independent components in Fig. 5
Function, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realizes and outputs and inputs function.
Terminal may also include at least one sensor 805, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel, proximity sensor can close display panel and/or back when terminal is moved in one's ear
Light.As a kind of motion sensor, gravity accelerometer can detect (generally three axis) acceleration in all directions
Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 806, loudspeaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 806 can
By the electric signal after the audio data received conversion, it is transferred to loudspeaker, voice signal output is converted to by loudspeaker;It is another
The voice signal of collection is converted to electric signal by aspect, microphone, is converted to audio data after being received by voicefrequency circuit 806, then
After the processing of audio data output processor 808, it is sent to such as another terminal through RF circuit 801, or by audio data
Output is further processed to memory 802.Voicefrequency circuit 806 is also possible that earphone jack, with provide peripheral hardware earphone with
The communication of terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 807
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 5 is shown
WiFi module 807, but it is understood that, and it is not belonging to must be configured into for terminal, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 808 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 802, and call and be stored in memory 802
Data execute the various functions and processing data of terminal, to carry out integral monitoring to mobile phone.Optionally, processor 808 can wrap
Include one or more processing cores;Preferably, processor 808 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 808.
Terminal further includes the power supply 809 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 808 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.Power supply 809 can also include one or more direct current or AC power source, recharging system, power failure inspection
The random components such as slowdown monitoring circuit, power adapter or inverter, power supply status indicator.
In addition, terminal can also include camera, bluetooth module etc., details are not described herein.Specifically in the present embodiment, eventually
Processor 808 in end can be corresponding executable by the process of one or more application program according to following instruction
File is loaded into memory 802, and the application program being stored in memory 802 is run by processor 808, to realize
Various functions:
Obtain the location information of terminal;
It is concentrated according to the location information from predeterminated position and determines target position information;
It is concentrated according to the target position information from default application and searches corresponding application;
It is controlled according to network of the default network control strategy to the application found.
For details, reference can be made to above-described embodiments for the implementation method respectively operated above, and details are not described herein again.
The network control unit institute that any terminal applies provided by the embodiment of the present invention may be implemented in the terminal can be real
Existing effective effect, is detailed in the embodiment of front, details are not described herein.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
The network control method, device and terminal for being provided for the embodiments of the invention a kind of terminal applies above carry out
It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments
Illustrate to be merely used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art, according to this
The thought of invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answered
It is interpreted as limitation of the present invention.
Claims (11)
1. a kind of network control method of terminal applies characterized by comprising
Whether the wireless network of detection terminal connection is replaced;
If replacing, user's application message currently entered is obtained according to the wireless network after replacement, and obtain terminal
The location information being presently in;
Establish the incidence relation between application message currently entered and current location information;
Current location information is stored in predeterminated position to concentrate, the incidence relation is stored in default application and is concentrated;
Obtain the location information of terminal;
It is concentrated according to the positional information from predeterminated position and determines target position information;
It is concentrated according to the target position information from default application and searches corresponding application;
It is controlled according to network of the default network control strategy to the application found.
2. the network control method of terminal applies according to claim 1, which is characterized in that described to be believed according to the position
Breath is concentrated from predeterminated position and determines target position information, comprising:
It calculates separately the location information and predeterminated position concentrates difference between each preset position information, obtain difference collection;
It is concentrated according to the difference collection from the predeterminated position and determines target position information.
3. the network control method of terminal applies according to claim 2, which is characterized in that described according to the difference collection
It is concentrated from the predeterminated position and determines target position information, comprising:
Judge that the difference is concentrated with the presence or absence of the difference no more than preset threshold;
If it exists, then the difference no more than preset threshold is determined as target difference;
It is concentrated from the predeterminated position and obtains the corresponding preset position information of the target difference, and the predeterminated position that will acquire
Information is determined as target position information.
4. the network control method of terminal applies according to claim 1, which is characterized in that the nothing according to after replacement
Gauze network obtains the location information that user's application message currently entered and terminal are presently in, comprising:
Obtain the historical record for having connected network of the terminal storage;
Wireless network after replacement is matched with the historical record;
If it fails to match, the location information that user's application message currently entered and terminal are presently in is obtained.
5. the network control method of terminal applies described in any one of -4 according to claim 1, which is characterized in that described to press
It is controlled according to network of the default network control strategy to the application found, comprising:
Detect whether the application found needs to carry out data transmit-receive operation by network;
If desired data transmit-receive operation is carried out by network, then obtains the data volume of data to be sent and received;
When the data volume is greater than preset data amount, the data transmit-receive is prevented to operate.
6. a kind of network control unit of terminal applies characterized by comprising
Whether detection module, the wireless network for detecting terminal connection are replaced;
Second obtains module, if obtaining user's application currently entered according to the wireless network after replacement for replacing
Information, and obtain the location information that terminal is presently in;
Memory module, the incidence relation for establishing between application message currently entered and current location information;By present bit
Confidence breath is stored in predeterminated position concentration, and the incidence relation is stored in default application and is concentrated;
First obtains module, for obtaining the location information of terminal;
Determining module determines target position information for concentrating according to the positional information from predeterminated position;
Searching module searches corresponding application for concentrating according to the target position information from default application;
Control module, for being controlled according to network of the default network control strategy to the application found.
7. the network control unit of terminal applies according to claim 6, which is characterized in that the determining module is specifically wrapped
It includes:
Computational submodule, for calculating separately the location information and predeterminated position concentrates difference between each preset position information
Value, obtains difference collection;
It determines submodule, determines target position information for concentrating according to the difference collection from the predeterminated position.
8. the network control unit of terminal applies according to claim 7, which is characterized in that the determining submodule is specific
For:
Judge that the difference is concentrated with the presence or absence of the difference no more than preset threshold;
If it exists, then the difference no more than preset threshold is determined as target difference;
It is concentrated from the predeterminated position and obtains the corresponding preset position information of the target difference, and the predeterminated position that will acquire
Information is determined as target position information.
9. the network control unit of terminal applies according to claim 6, which is characterized in that described second obtains module tool
Body is used for:
Obtain the historical record for having connected network of the terminal storage;
Wireless network after replacement is matched with the historical record;
If it fails to match, the location information that user's application message currently entered and terminal are presently in is obtained.
10. the network control unit of the terminal applies according to any one of claim 6-9, which is characterized in that described
Control module is specifically used for:
Detect whether the application found needs to carry out data transmit-receive operation by network;
If desired data transmit-receive operation is carried out by network, then obtains the data volume of data to be sent and received;
When the data volume is greater than preset data amount, the data transmit-receive is prevented to operate.
11. a kind of terminal, which is characterized in that including processor, memory, input unit and output device, processor, storage
Device, input unit and output device are connected by bus, wherein processor is for executing following steps:
Whether the wireless network of detection terminal connection is replaced;
If replacing, user's application message currently entered is obtained according to the wireless network after replacement, and obtain terminal
The location information being presently in;
Establish the incidence relation between application message currently entered and current location information;
Current location information is stored in predeterminated position to concentrate, the incidence relation is stored in default application and is concentrated;
Obtain the location information of terminal;
It is concentrated according to the positional information from predeterminated position and determines target position information;
It is concentrated according to the target position information from default application and searches corresponding application;
It is controlled according to network of the default network control strategy to the application found.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610883796.9A CN106454728B (en) | 2016-10-09 | 2016-10-09 | A kind of network control method of terminal applies, device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610883796.9A CN106454728B (en) | 2016-10-09 | 2016-10-09 | A kind of network control method of terminal applies, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106454728A CN106454728A (en) | 2017-02-22 |
CN106454728B true CN106454728B (en) | 2019-10-25 |
Family
ID=58172354
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610883796.9A Expired - Fee Related CN106454728B (en) | 2016-10-09 | 2016-10-09 | A kind of network control method of terminal applies, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106454728B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924885B (en) * | 2017-04-11 | 2021-09-10 | 腾讯科技(深圳)有限公司 | Information acquisition method and device |
CN112804655B (en) * | 2019-10-28 | 2023-02-17 | 北京小米移动软件有限公司 | Position-based terminal operation method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101345659A (en) * | 2008-08-27 | 2009-01-14 | 杭州华三通信技术有限公司 | Network terminal control method and network terminal control system |
CN101562560A (en) * | 2008-04-18 | 2009-10-21 | 北京启明星辰信息技术股份有限公司 | Universal traffic control method and system |
CN101668293A (en) * | 2009-10-21 | 2010-03-10 | 杭州华三通信技术有限公司 | Control method and system of network access authority in WLAN |
CN104268463A (en) * | 2014-09-16 | 2015-01-07 | 中国科学院信息工程研究所 | Method and device for managing calling authority of camera |
CN104753729A (en) * | 2013-12-27 | 2015-07-01 | ***通信集团公司 | Data flow determining method, user terminal and enterprise management and control platform |
-
2016
- 2016-10-09 CN CN201610883796.9A patent/CN106454728B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562560A (en) * | 2008-04-18 | 2009-10-21 | 北京启明星辰信息技术股份有限公司 | Universal traffic control method and system |
CN101345659A (en) * | 2008-08-27 | 2009-01-14 | 杭州华三通信技术有限公司 | Network terminal control method and network terminal control system |
CN101668293A (en) * | 2009-10-21 | 2010-03-10 | 杭州华三通信技术有限公司 | Control method and system of network access authority in WLAN |
CN104753729A (en) * | 2013-12-27 | 2015-07-01 | ***通信集团公司 | Data flow determining method, user terminal and enterprise management and control platform |
CN104268463A (en) * | 2014-09-16 | 2015-01-07 | 中国科学院信息工程研究所 | Method and device for managing calling authority of camera |
Also Published As
Publication number | Publication date |
---|---|
CN106454728A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104035948B (en) | Geographic position display packing and device | |
CN104519485B (en) | Communication means, device and system between a kind of terminal | |
US11023296B2 (en) | Method for managing multiple operating systems in a terminal | |
CN106331359B (en) | A kind of speech signal collection method, device and terminal | |
US10652287B2 (en) | Method, device, and system for managing information recommendation | |
CN104618854B (en) | Method, terminal and the server of sharing position information | |
CN106340925B (en) | A kind of charge control method, device and terminal | |
CN107592615B (en) | Positioning method and device | |
CN104360307B (en) | A kind of localization method and device | |
CN104035951B (en) | Show the method for map, device and terminal | |
CN111092671B (en) | Signal strength reporting method and device, storage medium and terminal equipment | |
CN108112028B (en) | Network searching method and equipment for international roaming | |
CN106454976B (en) | A kind of switching method of wireless network, device and terminal | |
CN107277752A (en) | Bluetooth connecting method, device, computer equipment and computer-readable recording medium | |
CN105992026A (en) | Method and device for displaying barrage comment information | |
CN106658657A (en) | Network access method and device | |
CN109862607B (en) | Network recommendation method and mobile terminal | |
CN106681884B (en) | A kind of monitoring method and device of system calling | |
CN105744600B (en) | Communication network cut-in method and user equipment | |
CN106454728B (en) | A kind of network control method of terminal applies, device and terminal | |
CN109936817A (en) | A kind of localization method and terminal device | |
CN103064501B (en) | Control method, device and the terminal of a kind of information input | |
CN106656803B (en) | A kind of method, apparatus and system updating route table items | |
CN106331301B (en) | A kind of method and apparatus adding contact person | |
CN109348425B (en) | Positioning information updating method, device, equipment 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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191025 |