CN106454728A - Network control method and device for terminal application, and terminal - Google Patents

Network control method and device for terminal application, and terminal Download PDF

Info

Publication number
CN106454728A
CN106454728A CN201610883796.9A CN201610883796A CN106454728A CN 106454728 A CN106454728 A CN 106454728A CN 201610883796 A CN201610883796 A CN 201610883796A CN 106454728 A CN106454728 A CN 106454728A
Authority
CN
China
Prior art keywords
terminal
network
application
difference
information
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.)
Granted
Application number
CN201610883796.9A
Other languages
Chinese (zh)
Other versions
CN106454728B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610883796.9A priority Critical patent/CN106454728B/en
Publication of CN106454728A publication Critical patent/CN106454728A/en
Application granted granted Critical
Publication of CN106454728B publication Critical patent/CN106454728B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints

Landscapes

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

Abstract

The invention discloses a network control method and device for a terminal application, and a terminal. The method comprises the steps of obtaining location information of the terminal; determining target location information from a preset location set according to the location information; searching a corresponding application from a preset application set according to the target location information; and controlling a network of the searched application according to a preset network control strategy. According to the method, the usage of the network of the application can be automatically controlled when the terminal enters a coverage range of a special wireless network, a private running phenomenon of big traffic data is avoided, and an operation is simple.

Description

A kind of network control method of terminal applies, device and terminal
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 technology
With the development of computer technology, network has become a part for people's daily life, and people are permissible by network Obtain various information and exchanged.
At present, a lot of companies can all provide free WLAN and use to employee, and for guaranteeing this using being In the reasonable scope, such as receive and send messages, mail etc., part company can monitor the network traffics of employee, when finding certain employee upper The flow for using in class's period is excessive, then assert which is being engaged in the content unrelated with work, such as see video, play game etc..This Although kind of a monitoring method can prevent employee from stealthily surfing the Net to a certain extent, if being mounted with some software pipes on employee's mobile phone Ought to use, then erroneous judgement was easily caused, this was primarily due to these software management applications and can give tacit consent under radio local network environment Renewable software in mobile phone is automatically updated, so as to cause escaping for a large amount of flows.
Content of the invention
It is an object of the invention to provide a kind of network control method of terminal applies, device and terminal, existing to solve Terminal easily causes the technical problem that flow is escaped under radio local network environment.
For solving above-mentioned technical problem, the embodiment of the present invention provides technical scheme below:
A kind of network control method of terminal applies, which includes:
Obtain the positional information of terminal;
Concentrated from predeterminated position according to the positional information and determine target position information;
Concentrated from default application according to the target position information and search corresponding application;
Network according to application of the default network control strategy to finding is controlled.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of network control unit of terminal applies, which includes:
First acquisition module, for obtaining the positional information of terminal;
Determining module, determines target position information for concentrating from predeterminated position according to the positional information;
Searching modul, searches corresponding application for concentrating from default application according to the target position information;
Control module, is controlled for the network of the application according to default network control strategy to finding.
For solving above-mentioned technical problem, the embodiment of the present invention also provides technical scheme below:
A kind of terminal, which includes processor, memorizer, input equipment and output device, processor, memorizer, input dress Put and connected by bus with output device, wherein, processor is used for executing following steps:
Obtain the positional information of terminal;
Concentrated from predeterminated position according to the positional information and determine target position information;
Concentrated from default application according to the target position information and search corresponding application;
Network according to application of the default network control strategy to finding is controlled.
The network control method of terminal applies of the present invention, device and terminal, by obtaining the positional information of terminal, And concentrated from predeterminated position according to the positional information and determine target position information, afterwards, according to the target position information from default Application is concentrated and searches corresponding application, and the network of the application according to default network control strategy to finding is controlled, from And the Web vector graphic of application can be automatically controlled when terminal enters the coverage of special wireless network, it is to avoid there is big flow The phenomenon of escaping of data, simple to operate.
Description of the drawings
Below in conjunction with the accompanying drawings, by the specific embodiment detailed description to the present invention, technical scheme will be made And other beneficial effects are apparent.
Fig. 1 is the schematic flow sheet of the network control method of terminal applies provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the network control method of terminal applies provided in an embodiment of the present invention;
Fig. 3 is the structural representation of the network control unit of terminal applies provided in an embodiment of the present invention;
Fig. 4 is another structural representation of the network control unit of terminal applies provided in an embodiment of the present invention;
Fig. 5 is the structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other enforcement obtained under the premise of creative work is not made by those skilled in the art Example, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of network control method of terminal applies, device and terminal.Carried out respectively below Describe in detail.It should be noted that, the sequence number of following examples is not as the restriction of embodiment priority.
First embodiment
The angle of the network control unit from terminal applies is described by the present embodiment, the network control of the terminal applies Device can be specifically integrated in the terminals such as mobile phone, panel computer or notebook computer.
The network control method that Fig. 1, Fig. 1 specifically describe the terminal applies of first embodiment of the invention offer is referred to, Which can include:
S101, the positional information of acquisition terminal.
In the present embodiment, built-in GPS (Globle Positioning in terminal can be passed through System, GPS) obtaining positional information, the positional information can show as coordinate form, and the coordinate can be by longitude and latitude group Become.It should be noted that terminal is for the acquisition of positional information and the non-required moment is carried out, which can be periodic, such as Can be half an hour or 15 minutes obtain once, or connection network change and the conversion after network be Carry out during the network for connecting.
S102, according to the positional information from predeterminated position concentrate determine target position information.
For example, above-mentioned steps S102 can specifically include:
Calculate the difference between the positional information and each preset position information of predeterminated position concentration respectively, obtain difference Collection;
Concentrated from the predeterminated position according to the difference collection and determine target position information.
In the present embodiment, the preset position information can according to the actual requirements depending on, can be such as that terminal connects every time During new wireless network, the current location information for obtaining automatically and storing, now, the predeterminated position concentrates each predeterminated position letter The corresponding new wireless network of breath, the wireless network refers mainly to the data network for allowing user to set up remote-wireless connection.
For example, above-mentioned steps " concentrated from the predeterminated position according to the difference collection and determine target position information " can specifically be wrapped Include:
Judge that the difference concentrates the difference with the presence or absence of no more than pre-set threshold value;
If existing, the difference of no more than pre-set threshold value is defined as target difference;
Concentrate from the predeterminated position and the corresponding preset position information of the target difference is obtained, and by the predeterminated position for getting Information is defined as target position information.
In the present embodiment, pre-set threshold value d can according to the actual requirements depending on, its be usually not less than wireless network covering The size of radius r, covering radius r is depending on the performance of router, the covering of the wireless network provided by different routers Radius r is typically different.For judging whether terminal will connect another wireless network in advance, pre-set threshold value d can include should The covering radius r of wireless network and side-play amount d1 for allowing, 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 pre-set threshold value, illustrate that terminal comes into or will enter the overlay area of another wireless network.
S103, concentrated from default application according to the target position information and search corresponding application.
In the present embodiment, the default set of applications can be terminal sets itself, can be such as terminal according to history The flow that flow service condition is selected consumes what big application, or user were arranged according to the hobby of oneself, such as permissible Be user select identify oneself the relatively low application of importance.
It is easily understood that in practical application, above-mentioned predeterminated position collection and default application collection be set in advance, 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 changed;
The application message of user's currently input, and terminal if changing, are obtained according to the wireless network after replacing The positional information being presently in;
The incidence relation that sets up between the application message of current input and current location information;
Current location information is stored in predeterminated position concentration, the incidence relation is stored in default application and is concentrated.
In the present embodiment, the title of the wireless network that can be connected by terminal is judging whether to change.When send out During raw replacing, terminal can generate an application selection interface, can include the institute that installs in terminal in the application selection interface There is application, therefrom selected so as to user, and by the application for selecting and current location information (namely the network being currently connected) Storage is associated, so, subsequently corresponding application can be found by the incidence relation.
Certainly, when not changing wireless network every time, it is required for being configured application, for those configured mistakes Network, next time can be once again set up when changing to the network, that is, the network only after the replacing is to connect first When connecing, just need to be configured application, that is, above-mentioned steps " obtain user according to the wireless network after replacing to be currently input into Application message, and the positional information that is presently in of terminal " can specifically include:
Obtain the historical record for connecting network of the terminal storage;
Wireless network after replacing is mated with the historical record;
If it fails to match, the application message of user's currently input, and the positional information that terminal is presently in are obtained.
In the present embodiment, network can be connected by stored in the title of the wireless network after replacing and historical record Title is analyzed, and judges with the presence or absence of the wireless network after the replacing in the historical record.When depositing in historical record During wireless network after the replacing, it can be determined that the not first connection of the wireless network after the replacing, when in historical record not When there is the wireless network after the replacing, it can be determined that the wireless network after the replacing is first connection, at this time, it may be necessary to application It is configured.
Additionally, not the wireless network of each first connection is required for controlling the network legal power of application, the nothing of such as family The free nets that gauze network or some public places of entertainment provide, can not limit the Web vector graphic of any application.For this feelings Before the positional information that condition, the application message that can be currently input in acquisition user, and terminal are presently in, generate one and carry Show frame, prompt the user whether to need to carry out network control.The size, content of the prompting frame and the position on terminal interface are equal Can according to the actual requirements depending on, such as, the prompting frame can provide "Yes" and two buttons of "No" or icon, when user select During "Yes", the application message of user's currently input, and the positional information that terminal is presently in can be just obtained.
S104, the network of application according to default network control strategy to finding are controlled.
In the present embodiment, the default network control strategy can according to the actual requirements depending on, can such as disconnect these should Network connection, or the network traffics of these applications, or other network control strategy are limited, etc..
When the default network strategy is the network connection for disconnecting these applications, possible greatly limiting terminal application can be use up Network traffics under current network, certainly, are applied due to these and will be unable to after suspension carry out data transmit-receive, can be further These applications are closed, to mitigate the operation burden of terminal.
When the default network strategy is the network traffics for limiting these applications, above-mentioned steps S104 can specifically include:
Whether the application that detection finds 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 more than preset data amount, prevent the data transmit-receive operation.
In the present embodiment, the preset data amount can according to the actual requirements depending on, it is big which is mainly used in defining data volume Or it is little.Specifically, when when new wireless network is connected, if there is the application for needing network to control, these can be allowed to answer With the transmitting-receiving operation for carrying out small data quantity, prevent the transmitting-receiving operation of big data quantity, so as to i.e. can be with the whole data of control terminal Flow, and the network connection without the need for breaking part application.
From the foregoing, the network control method of the terminal applies of the present embodiment offer, by obtaining the position letter of terminal Breath, and concentrated from predeterminated position according to the positional information and determine target position information, afterwards, according to the target position information from pre- If application is concentrated searches corresponding application, and the network of the application according to default network control strategy to finding is controlled, So as to enter in terminal special wireless network coverage when, automatically control the Web vector graphic of application, it is to avoid big stream occurs The phenomenon of escaping of amount data, simple to operate.
Second embodiment
Citing is described in further detail by method according to described by embodiment one below.
In the present embodiment, will carry out specifically so that the network control unit of the terminal applies is integrated in the terminal as an example Bright.
As shown in Fig. 2 a kind of network control method of terminal applies, idiographic flow can be as follows:
Whether S201, the wireless network of terminal detection connection are changed, and if so, then execute following step S202, if it is not, Following step S205 can then be executed.
For example, terminal can pass through the title of connected wireless network to judge whether to change.
S202, terminal obtain the historical record for connecting network of storage, and the wireless network after replacing is gone through with described Records of the Historian record is mated, if the match is successful, terminal can not execute any operation, if it fails to match, terminal can be executed Following step S203.
For example, wireless network after replacing be " AAA ", if be then stored with the linkage record of " AAA " in historical record, Can be determined that the match is successful, the network of the network not first connection is described, if there is no the connection for storing " AAA " in historical record Record, then may determine that it fails to match, illustrate that the network is the network of first connection.
S203, terminal obtain the application message of user's currently input, and the positional information that terminal is presently in.
For example, terminal can by built-in GPS (Globle Positioning System, GPS) obtaining positional information, believed for the application that user selects to obtain user input by generating an application selection interface Breath.
The incidence relation that S204, terminal are set up between the application message of current input and current location information, and will be current Positional information is stored in predeterminated position concentration, the incidence relation is stored in default application and is concentrated.
For example, terminal can set up the corresponding table of application message and positional information, and the correspondence table is stored in local number According in storehouse.
S205, terminal obtain positional information.
For example, when the network of terminal connection does not change, positional information periodically can be obtained, such as half Hour or 15 minutes obtain once, it is also possible to connection network change and the conversion after network be to have connected During network, positional information is obtained.
S206, terminal calculate the difference between the positional information and each preset position information of predeterminated position concentration respectively, Obtain difference collection.
For example, terminal can calculate the distance value of current position coordinates and each preset position coordinates respectively, obtain difference Collection, each of which distance value can be calculated according to dimension difference and difference of longitude.
S207, the terminal judges difference concentrates the difference with the presence or absence of no more than pre-set threshold value, if existing, executes following steps Rapid S208, if not existing, can not execute any operation.
For example, pre-set threshold value d can include the covering radius r of the wireless network and side-play amount d1 for allowing, that is, d =r+d1, wherein, r and d1 can be empirical value.When there is certain difference less than or equal to pre-set threshold value, illustrate that terminal has been entered Enter or will enter the overlay area of another wireless network.
The difference of no more than pre-set threshold value is defined 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 for getting is defined as target position information.
For example, when certain difference is less than or equal to d, the preset position information for calculating the difference can be obtained, generally, Different preset position information indicates the position of different wireless networks.
S209, terminal are concentrated from default application according to the target position information and search corresponding application, and are detected and found Application whether need to carry out data transmit-receive operation by network, if desired, then execute following step S210, if need not, Any operation can not be executed.
For example, arrange due to having carried out application to the network that each connected according to positional information before, therefore subsequently Terminal can find the application of setting by positional information, and the Web vector graphic that these are applied is controlled.
S210, terminal obtain the data volume of data to be sent and received, when the data volume is more than preset data amount, prevent the data Transmitting-receiving operation.
For example, when preset data amount is B, if the data volume of certain current data to be sent and received of application is more than in these applications B, then be the network traffics of control terminal, needs to prevent current operation.
From the foregoing, the present embodiment provide terminal applies network control method, terminal can by detection connect Wireless network whether change, if so, then obtain the historical record for connecting network of storage, and will be wireless after replacing Network is mated with the historical record, if it fails to match, obtains the application message of user's currently input, and terminal is worked as Front location information, and the incidence relation that sets up between the application message of current input and current location information, and ought The incidence relation is stored in default application and concentrates in predeterminated position concentration by front position information Store, so as to completing network and answering Operation associated, afterwards in practical application, terminal can obtain positional information, and calculate the positional information respectively and preset 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 less In the difference of pre-set threshold value, if existing, the difference of no more than pre-set threshold value is defined as target difference, from the predeterminated position collection The middle acquisition corresponding preset position information of the target difference, and the preset position information for getting is defined as target location letter Breath, concentrates from default application according to the target position information and searches corresponding application, and detect whether the application for finding needs Data transmit-receive operation is carried out by network, if desired, the data volume of data to be sent and received is then obtained, when the data volume is more than present count During according to amount, prevent data transmit-receive operation, so as to enter in terminal special wireless network coverage when, automatically controlling should Web vector graphic, it is to avoid the phenomenon of escaping of massive dataflow occurs, simple to operate.
3rd embodiment
On the basis of embodiment one and two methods described of embodiment, the network control from terminal applies is filled by the present embodiment The angle that puts is further described below.
The network control unit that Fig. 3, Fig. 3 specifically describe the terminal applies of third embodiment of the invention offer is referred to, Which can include:First acquisition module 10, determining module 20, searching modul 30 and control module 40, wherein:
(1) first acquisition module 10
First acquisition module 10, for obtaining the positional information of terminal.
In the present embodiment, the first acquisition module 10 can pass through built-in GPS (Globle in terminal Positioning System, GPS) obtaining positional information, the positional information can show as coordinate form, and the coordinate is permissible It is made up of longitude and latitude.It should be noted that the first acquisition module 10 is for the acquisition of positional information and the non-required moment is carried out, its Can be periodic, can be such as that the network for obtaining half an hour or 15 minutes once, or connecting changes And the network after the conversion is carried out during the network for having connected.
(2) determining module 20
Determining module 20, determines target position information for concentrating from predeterminated position according to the positional information.
For example, the determining module 20 can specifically include to calculate submodule and determination sub-module, wherein:
Calculating sub module, is concentrated between each preset position information with predeterminated position for calculating the positional information respectively Difference, obtains difference collection.
Determination sub-module, determines target position information for concentrating from the predeterminated position according to the difference collection.
In the present embodiment, the preset position information can according to the actual requirements depending on, can be such as that terminal connects every time During new wireless network, the current location information for obtaining automatically and storing, now, the predeterminated position concentrates each predeterminated position letter The corresponding new wireless network of breath, the wireless network refers mainly to the data network for allowing user to set up remote-wireless connection.
For example, the determination sub-module specifically can be used for:
Judge that the difference concentrates the difference with the presence or absence of no more than pre-set threshold value;
If existing, the difference of no more than pre-set threshold value is defined as target difference;
Concentrate from the predeterminated position and the corresponding preset position information of the target difference is obtained, and by the predeterminated position for getting Information is defined as target position information.
In the present embodiment, pre-set threshold value d can according to the actual requirements depending on, its be usually not less than wireless network covering The size of radius r, covering radius r is depending on the performance of router, the covering of the wireless network provided by different routers Radius r is typically different.For judging whether terminal will connect another wireless network in advance, pre-set threshold value d can include should The covering radius r of wireless network and side-play amount d1 for allowing, 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 pre-set threshold value, illustrate that terminal comes into or will enter the overlay area of another wireless network.
(3) searching modul 30
Searching modul 30, searches corresponding application for concentrating from default application according to the target position information.
In the present embodiment, the default set of applications can be terminal sets itself, can be such as terminal according to history The flow that flow service condition is selected consumes what big application, or user were arranged according to the hobby of oneself, such as permissible Be user select identify oneself the relatively low application of importance.
It is easily understood that in practical application, above-mentioned predeterminated position collection and default application collection be set in advance, That is, Fig. 4 is referred to, and the network control unit of the terminal applies can also include detection module 50, the second acquisition module 60 and deposit Storage module 70, wherein:
Detection module 50, for, before the positional information of the acquisition terminal of first acquisition module 10, detection terminal connects Wireless network whether change;
Second acquisition module 60, if for changing, obtains user according to the wireless network after replacing and is currently input into Application message, and obtain the positional information that is presently in of terminal;
Memory module 70, for the incidence relation that sets up between the application message of current input and current location information;Will Current location information is stored in predeterminated position concentration, the incidence relation is stored in default application and is concentrated.
In the present embodiment, the title of the wireless network that detection module 50 can be connected by terminal is judging whether to occur Change.When occurring to change, the second acquisition module 60 can generate an application selection interface, permissible in the application selection interface Including all applications that installs in terminal, therefrom selected so as to user, memory module 70 is by the application for selecting and present bit Confidence breath (namely network of current connection) is associated storage, and so, follow-up searching modul 30 can pass through the incidence relation Find corresponding application.
Certainly, when not changing wireless network every time, it is required for being configured application, for those configured mistakes Network, next time can be once again set up when changing to the network, that is, the network only after the replacing is to connect first When connecing, just need to be configured application, that is, second acquisition module 60 specifically can be used for:
Obtain the historical record for connecting network of the terminal storage;
Wireless network after replacing is mated with the historical record;
If it fails to match, the application message of user's currently input, and the positional information that terminal is presently in are obtained.
In the present embodiment, the second acquisition module 60 will can be stored in the title of the wireless network after replacing and historical record The title for connecting network be analyzed, judge with the presence or absence of the wireless network after the replacing in the historical record. During wireless network after there is the replacing in historical record, it can be determined that the not first connection of the wireless network after the replacing, During wireless network after there is no the replacing in historical record, it can be determined that the wireless network after the replacing is first connection, At this time, it may be necessary to be configured to application.
Additionally, not the wireless network of each first connection is required for controlling the network legal power of application, the nothing of such as family The free nets that gauze network or some public places of entertainment provide, can not limit the Web vector graphic of any application.For this feelings Condition, the second acquisition module 60 can obtain the application message that user is currently input into, and the positional information that terminal is presently in Before, a prompting frame is generated, prompts the user whether to need to carry out network control.The size, content of the prompting frame and at end End interface on position all can according to the actual requirements depending on, such as, the prompting frame can provide "Yes" and two buttons of "No" Or icon, when user selects "Yes", can just obtain the application message of user's currently input, and the position that terminal is presently in Information.
(4) control module 40
Control module 40, if for not getting access data, detect the terminal currently switchable wireless network Set, and according to the wireless network set, the wireless network of current connection is switched over.
In the present embodiment, the default network control strategy can according to the actual requirements depending on, can such as disconnect these should Network connection, or the network traffics of these applications, or other network control strategy are limited, etc..
When the default network strategy is the network connection for disconnecting these applications, possible greatly limiting terminal application can be use up Network traffics under current network, certainly, are applied due to these and will be unable to after suspension carry out data transmit-receive, can be further These applications are closed, to mitigate the operation burden of terminal.
When the default network strategy is the network traffics for limiting these applications, the control module 40 specifically can be used for:
Whether the application that detection finds 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 more than preset data amount, prevent the data transmit-receive operation.
In the present embodiment, the preset data amount can according to the actual requirements depending on, it is big which is mainly used in defining data volume Or it is little.Specifically, when when new wireless network is connected, if there is the application for needing network to control, control module 40 is permissible Allow these applications that the transmitting-receiving operation of small data quantity is carried out, prevent the transmitting-receiving operation of big data quantity, so as to i.e. can be with control terminal Whole data traffic, and the network connection without the need for breaking part application.
When being embodied as, above unit can be realized as independent entity, it is also possible to carry out combination in any, made Realize for same or several entities, being embodied as of above unit can be found in embodiment of the method above, and here is not Repeat again.
From the foregoing, the network control unit of the terminal applies of the present embodiment offer, is obtained by the first acquisition module 10 The positional information of terminal is taken, determining module 20 is concentrated from predeterminated position according to the positional information and determines target position information, afterwards, Searching modul 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 The network of application of the network control strategy to finding is controlled, so as to enter the coverage of special wireless network in terminal When, automatically control the Web vector graphic of application, it is to avoid the phenomenon of escaping of massive dataflow occurs, simple to operate.
Fourth embodiment
Accordingly, the embodiment of the present invention also provides a kind of terminal, as shown in figure 5, the terminal can include radio frequency (RF, Radio Frequency) circuit 801, include the memorizer 802 of one or more computer-readable recording mediums, defeated Enter unit 803, display unit 804, sensor 805, voicefrequency circuit 805, Wireless Fidelity (WiFi, Wireless Fidelity) The part such as module 807, the processor 808 for including or more than one processing core and power supply 809.This area skill Art personnel are appreciated that the restriction of the terminal structure for illustrating in Fig. 5 not structure paired terminal, can include more more or more than illustrating Few part, or some parts are combined, or different part arrangements.Wherein:
RF circuit 801 can be used to receiving and sending messages or communication process in, the reception of signal and transmission, especially, by base station After downlink information is received, transfer to one or more than one processor 808 is processed;In addition, will be related to up data is activation to Base station.Generally, RF circuit 801 includes but is not limited to antenna, at least one amplifier, tuner, one or more agitators, use Family identity module (SIM, Subscriber Identity Module) card, transceiver, bonder, low-noise amplifier (LNA, Low Noise Amplifier), duplexer etc..Additionally, RF circuit 801 can also pass through radio communication and network and its His equipment communication.The radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile telecommunications system System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division many Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memorizer 802 can be used to store software program and module, and processor 808 is stored in memorizer 802 by operation Software program and module, so as to execute various function application and data processing.Memorizer 802 mainly can include to store journey Sequence area and storage data field, wherein, storing program area can storage program area, the application program (ratio needed at least one function Such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use created data according to terminal (such as voice data, phone directory etc.) etc..Additionally, memorizer 802 can include high-speed random access memory, can also include Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Phase Ying Di, memorizer 802 can also include Memory Controller, to provide processor 808 and input block 803 is to memorizer 802 Access.
Input block 803 can be used for the numeral of receives input or character information, and produce and user setup and function The relevant keyboard of control, mouse, action bars, optics or trace ball signal input.Specifically, in a specific embodiment In, input block 803 may include Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or touch Control plate, user can be collected thereon or neighbouring touch operation (such as user using any suitable object such as finger, stylus or Operation of the adnexa on Touch sensitive surface or near the Touch sensitive surface), and corresponding connection dress is driven according to formula set in advance Put.Optionally, Touch sensitive surface may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus inspection The touch orientation of survey user, and the signal that touch operation brings is detected, transmit a signal to touch controller;Touch controller from Touch information being 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 multiple using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes Touch sensitive surface.Except Touch sensitive surface, input block 803 can also include other input equipments.Specifically, other are defeated Enter equipment and can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, Mus One or more in mark, action bars etc..
Display unit 804 can be used to showing by the information of user input or be supplied to the various of the information of user and terminal Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.Show Unit 804 may include display floater, optionally, can adopt liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) are configuring display floater.Further , Touch sensitive surface can cover display floater, when Touch sensitive surface is detected thereon or after neighbouring touch operation, send process to Device 808 is provided accordingly according to the type of touch event with preprocessor 808 on a display panel with determining the type of touch event Visual output.Although in Figure 5, Touch sensitive surface and display floater are the parts independent as two realizing being input into and be input into Function, but in some embodiments it is possible to will be integrated to Touch sensitive surface and display floater and realization input and output 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 transducer, and wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display floater, proximity transducer can cut out display floater and/or the back of the body when terminal is moved in one's ear Light.Used as one kind of motion sensor, Gravity accelerometer can detect (generally three axles) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as terminal Gyroscope, barometer, drimeter, thermometer, the other sensors such as infrared ray sensor, will not be described here.
Voicefrequency circuit 806, speaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 806 can The signal of telecommunication after the voice data for receiving is changed, is transferred to speaker, is converted to acoustical signal output by speaker;Another Aspect, the acoustical signal of collection is converted to the signal of telecommunication by microphone, is converted to voice data by voicefrequency circuit 806 after being received, then After voice data output processor 808 is processed, through RF circuit 801 being sent to such as another terminal, or by voice data Export to memorizer 802 to process further.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 electronicses postal by WiFi module 807 Part, browse webpage and streaming video etc. is accessed, it has provided the user wireless broadband internet and has accessed.Although Fig. 5 shows WiFi module 807, but it is understood that, which is simultaneously not belonging to must be configured into for terminal, can not change as needed completely Omit in the scope of the essence for becoming invention.
Processor 808 is the control centre of terminal, using various interfaces and the various pieces of connection whole mobile phone, leads to Cross operation or the software program and/or the module that are stored in memorizer 802 is executed, and call and be stored in memorizer 802 Data, execute various functions and the processing data of terminal, so as to carry out integral monitoring to mobile phone.Optionally, processor 808 can be wrapped Include one or more processing cores;Preferably, processor 808 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 808.
Terminal also includes the power supply 809 (such as battery) that powers to all parts, it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 808, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.Power supply 809 can also include one or more direct current or alternating current power supply, recharging system, power failure inspection The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Additionally, terminal can also include photographic head, bluetooth module etc., will not be described here.Specifically in the present embodiment, eventually Processor 808 in end can be according to following instruction, will be corresponding for the process of one or more application program executable File is loaded in memorizer 802, and is run the application program being stored in memorizer 802 by processor 808, so as to realize Various functions:
Obtain the positional information of terminal;
Concentrated from predeterminated position according to the positional information and determine target position information;
Concentrated from default application according to the target position information and search corresponding application;
Network according to application of the default network control strategy to finding is controlled.
The implementation method of above each operation specifically can be found in above-described embodiment, and here is omitted.
The terminal can realize the network control unit institute of any one terminal applies that the embodiment of the present invention is provided can be real Existing effective effect, refers to embodiment above, will not be described here.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of network control method of the terminal applies for above embodiment of the present invention being provided, device and terminal are carried out It is discussed in detail, specific case used herein is set forth to the principle of the present invention and embodiment, above example Illustrate that being only intended to help understands the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to this The thought of invention, all will change in specific embodiments and applications, and in sum, this specification content should not It is interpreted as limitation of the present invention.

Claims (13)

1. a kind of network control method of terminal applies, it is characterised in that include:
Obtain the positional information of terminal;
Concentrated from predeterminated position according to the positional information and determine target position information;
Concentrated from default application according to the target position information and search corresponding application;
Network according to application of the default network control strategy to finding is controlled.
2. the network control method of terminal applies according to claim 1, it is characterised in that described believed according to the position Breath is concentrated from predeterminated position and determines target position information, including:
Calculate the difference between the positional information and each preset position information of predeterminated position concentration respectively, obtain difference collection;
Concentrated from the predeterminated position according to the difference collection and determine target position information.
3. the network control method of terminal applies according to claim 2, it is characterised in that described according to the difference collection Concentrate from the predeterminated position and determine target position information, including:
Judge that the difference concentrates the difference with the presence or absence of no more than pre-set threshold value;
If existing, the difference of no more than pre-set threshold value is defined as target difference;
Concentrate from the predeterminated position and the corresponding preset position information of the target difference is obtained, and by the predeterminated position for getting Information is defined as target position information.
4. the network control method of terminal applies according to claim 1, it is characterised in that obtaining the position letter of terminal Before breath, also include:
Whether the wireless network of detection terminal connection is changed;
The application message of user's currently input if changing, is obtained according to the wireless network after replacing, and obtains terminal The positional information being presently in;
The incidence relation that sets up between the application message of current input and current location information;
Current location information is stored in predeterminated position concentration, the incidence relation is stored in default application and is concentrated.
5. the network control method of terminal applies according to claim 4, it is characterised in that the nothing according to after replacing The application message of line Network Capture user currently input, and the positional information that terminal is presently in, including:
Obtain the historical record for connecting network of the terminal storage;
Wireless network after replacing is mated with the historical record;
If it fails to match, the application message of user's currently input, and the positional information that terminal is presently in are obtained.
6. the network control method of the terminal applies according to any one in claim 1-5, it is characterised in that described press Network according to application of the default network control strategy to finding is controlled, including:
Whether the application that detection finds 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 more than preset data amount, prevent the data transmit-receive operation.
7. a kind of network control unit of terminal applies, it is characterised in that include:
First acquisition module, for obtaining the positional information of terminal;
Determining module, determines target position information for concentrating from predeterminated position according to the positional information;
Searching modul, searches corresponding application for concentrating from default application according to the target position information;
Control module, is controlled for the network of the application according to default network control strategy to finding.
8. the network control unit of terminal applies according to claim 7, it is characterised in that the determining module is specifically wrapped Include:
Calculating sub module, concentrates the difference between each preset position information for calculating the positional information and predeterminated position respectively Value, obtains difference collection;
Determination sub-module, determines target position information for concentrating from the predeterminated position according to the difference collection.
9. the network control unit of terminal applies according to claim 8, it is characterised in that the determination sub-module is concrete For:
Judge that the difference concentrates the difference with the presence or absence of no more than pre-set threshold value;
If existing, the difference of no more than pre-set threshold value is defined as target difference;
Concentrate from the predeterminated position and the corresponding preset position information of the target difference is obtained, and by the predeterminated position for getting Information is defined as target position information.
10. the network control unit of terminal applies according to claim 7, it is characterised in that also include:
Detection module, for, before the positional information of first acquisition module acquisition terminal, it is wireless that detection terminal connects Whether network is changed;
Second acquisition module, if for changing, obtains the application of user's currently input according to the wireless network after replacing Information, and obtain the positional information that terminal is presently in;
Memory module, for the incidence relation that sets up between the application message of current input and current location information;By present bit Confidence breath is stored in predeterminated position concentration, the incidence relation is stored in default application and is concentrated.
The network control unit of 11. terminal applies according to claim 10, it is characterised in that second acquisition module Specifically for:
Obtain the historical record for connecting network of the terminal storage;
Wireless network after replacing is mated with the historical record;
If it fails to match, the application message of user's currently input, and the positional information that terminal is presently in are obtained.
The network control unit of 12. terminal applies according to any one in claim 7-11, it is characterised in that described Control module specifically for:
Whether the application that detection finds 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 more than preset data amount, prevent the data transmit-receive operation.
13. a kind of terminals, it is characterised in that including processor, memorizer, input equipment and output device, processor, storage Device, input equipment and output device are connected by bus, and wherein, processor is used for executing following steps:
Obtain the positional information of terminal;
Concentrated from predeterminated position according to the positional information and determine target position information;
Concentrated from default application according to the target position information and search corresponding application;
Network according to application of the default network control strategy to finding is controlled.
CN201610883796.9A 2016-10-09 2016-10-09 A kind of network control method of terminal applies, device and terminal Expired - Fee Related CN106454728B (en)

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 true CN106454728A (en) 2017-02-22
CN106454728B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924885A (en) * 2017-04-11 2018-11-30 腾讯科技(深圳)有限公司 Information acquisition method and device
CN112804655A (en) * 2019-10-28 2021-05-14 北京小米移动软件有限公司 Position-based terminal operation method and device

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108924885A (en) * 2017-04-11 2018-11-30 腾讯科技(深圳)有限公司 Information acquisition method and device
CN112804655A (en) * 2019-10-28 2021-05-14 北京小米移动软件有限公司 Position-based terminal operation method and device
CN112804655B (en) * 2019-10-28 2023-02-17 北京小米移动软件有限公司 Position-based terminal operation method and device

Also Published As

Publication number Publication date
CN106454728B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
US10528012B2 (en) Method and device for sending communication message
CN106851654B (en) Pseudo base station identification method, pseudo base station identification device and terminal
CN105873178A (en) Method and device for recognizing pseudo base-station
CN106331359B (en) A kind of speech signal collection method, device and terminal
CN107071779A (en) Pseudo-base station recognition methods, device and terminal
CN104035951B (en) Show the method for map, device and terminal
CN104951212A (en) Method, device and system for processing desktop data of mobile terminal
CN106686626A (en) Setting method for Wi-Fi roaming and terminal equipment
CN104618854A (en) Method, terminal and server for sharing location information
CN106603740B (en) It is connected to the network abnormal processing method and terminal device
CN108112028B (en) Network searching method and equipment for international roaming
CN106028289A (en) Network searching method and equipment after roaming ends
CN105992026A (en) Method and device for displaying barrage comment information
CN103561400A (en) Method for initiating communication, device thereof and mobile terminal
CN106454976B (en) A kind of switching method of wireless network, device and terminal
CN106658657A (en) Network access method and device
CN104702674B (en) Geographical position exchange method and device
CN106980654B (en) Road condition updating method, device and computer equipment
CN109862607B (en) Network recommendation method and mobile terminal
CN106200897A (en) A kind of method and apparatus showing control menu
CN103561155B (en) Send the method for note, device and terminal
CN103501373A (en) Method, device and terminal for making call
CN105553718A (en) Method and device for displaying guidance information
CN106454728A (en) Network control method and device for terminal application, and terminal
CN106374988A (en) Downlink inter-band carrier aggregation configuration method and apparatus, and terminal

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191025

CF01 Termination of patent right due to non-payment of annual fee