CN105302279B - A kind of management application accesses the method and system of network - Google Patents

A kind of management application accesses the method and system of network Download PDF

Info

Publication number
CN105302279B
CN105302279B CN201510713373.8A CN201510713373A CN105302279B CN 105302279 B CN105302279 B CN 105302279B CN 201510713373 A CN201510713373 A CN 201510713373A CN 105302279 B CN105302279 B CN 105302279B
Authority
CN
China
Prior art keywords
network
application
application program
access
type
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.)
Active
Application number
CN201510713373.8A
Other languages
Chinese (zh)
Other versions
CN105302279A (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 CN201510713373.8A priority Critical patent/CN105302279B/en
Publication of CN105302279A publication Critical patent/CN105302279A/en
Application granted granted Critical
Publication of CN105302279B publication Critical patent/CN105302279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a kind of method and system of management application access network.Method includes:Receive the request that application program accesses network;Judge whether the type of the application program belongs to the type for allowing network to access, if so, it is allowed to access network;If it is not, judging whether the application program belongs to network white list application or network blacklist application, if belonging to network white list application, it is allowed to access network.The present invention determines whether it has the permission for accessing network by the type of application program, and network white list is allowed to apply in background access network;Both the normal use of user had been can guarantee, also it can manage and reduce application program in background access network, electric quantity consumption can be effectively reduced, in the case of identical capacity batteries, cruise duration is longer, reduces battery charging and discharging number, extends battery life, network flow is saved simultaneously, promotes electronic equipment runnability.

Description

A kind of management application accesses the method and system of network
Technical field
The present invention relates to electronic apparatus application administrative skill fields more particularly to a kind of management application to access network Method and system.
Background technology
Allow to access network or forbid visiting currently, the management software installed on mobile phone or tablet is all direct setting application Ask network.Be set forbid access network application, then whenever, cannot all access network, if necessary to access net Network, only resetting, which allows to access network, can just be continuing with, very inconvenient.If system class, instant messaging class application quilt Forbid accessing network, will have a direct impact on normal operation and the communication of mobile phone or tablet.Mobile phone or tablet open wifi or mobile numbers It after network function, has multiple application requests and accesses network, after especially go out screen or screen locking, a large amount of background application accesses net Network not only consumes electricity and is also consumed by flow.The preset energy saving scheme of management software usually all closes network function, appoints What application can not all access network, such inadequate hommization of scheme.
Therefore, a kind of actual use demand meeting user, while the application management scheme of power saving province flow is very necessary.
Invention content
It is an object of the invention to propose that a kind of management application accesses the method and system of network, according to application program Type judge whether it is able to access that network, and the request for accessing it network is handled accordingly.
For this purpose, the present invention uses following technical scheme:
A kind of method that management application accesses network, including:
Receive the request that application program accesses network;
Judge whether the type of the application program belongs to the type for allowing network to access, if so, it is allowed to access network; If it is not, judging whether the application program belongs to network white list application or network blacklist application, if belonging to network white list Using, then allow its access network.
Particularly, the method further includes:If the application program belongs to network blacklist application, it is forbidden to access net Network;If the application program had both been not belonging to network white list application or had been not belonging to network blacklist application, user setting is prompted The permission that its network accesses.
Wherein, the type for allowing network to access includes:System class, focus class and instant messaging class.
Wherein, the network white list applies the application for the permission background access network for including user setting, the network Blacklist is using the application for forbidding background access network for including user setting.
As the improvement of this programme, electronic equipment goes out after screen or screen locking, and the network white list application is allowed periodically to visit Ask network.
As the improvement of this programme, the method further includes default electricity early warning value;
When remaining capacity reaches early warning value, judge whether the type of the application program belongs to the class for allowing network to access Type is that it is allowed to access network, it is otherwise forbidden to access network.
Particularly, the method is gone out applied to electronic equipment after screen or screen locking, and application program accesses the management of network.
The system that a kind of electronic equipment upper tube ought to use routine access network, including:Monitoring modular, the first judgment module, Second judgment module and network management module;
Monitoring modular is used to receive the request that application program on electronic equipment accesses network;
First judgment module is used to judge whether the type of the application program to belong to the type that permission network accesses, if It is that will determine that result is sent to network management module, if it is not, will determine that result is sent to the second judgment module;
Second judgment module is for judging whether the application program belongs to network white list application or network blacklist is answered With, and will determine that result is sent to network management module;
Network management module is used for the judging result according to the first judgment module, if the application program belongs to permission network The type of access allows it to access network;Or the judging result according to the second judgment module, if the application program belongs to network White list application allows it to access network.
Wherein, the network management module is additionally operable to the judging result according to the second judgment module, if the application program Belong to network blacklist application, it is forbidden to access network.
As the improvement of this programme, the system also includes user interactive modules and setup module;
If user interactive module had both been not belonging to network white list application for the application program or had been not belonging to the black name of network Single application, the permission for prompting its network of user setting to access simultaneously are sent to setup module;
The permission that the network for the user setting that setup module is used to be sent according to user interactive module accesses will allow backstage The application for accessing network is set as network white list application, forbids the application of background access network to be set as network blacklist and answers With.
As the improvement of this programme, electronic equipment goes out after screen or screen locking, and the network management module allows the network white List application periodic access network.
As the improvement of this programme, the system also includes electricity monitoring modules, reach default for monitoring remaining capacity Early warning value when, notify the first judgment module;
First judgment module judges whether the type of the application program belongs to the type for allowing network to access, and will Judging result is sent to network management module;
The network management module is that it is allowed to access network according to the judging result of the first judgment module, is otherwise prohibited Only it accesses network.
Beneficial effects of the present invention are:It determines whether it has the permission for accessing network by the type of application program, allows burnt Point class, system class, instant messaging class application real time access network, allow network white list to apply in background access network;Forbid Network blacklist is applied in background access network.It so both can guarantee that the application program that user is operating normally accessed network, Normal operation and the communication for ensureing electronic equipment, can also reduce application program in background access network, can effectively reduce electricity and disappear It consumes, in the case of identical capacity batteries, cruise duration is longer, reduces battery charging and discharging number, extends battery life, saves simultaneously Network flow promotes electronic equipment runnability.
Description of the drawings
Fig. 1 is the method flow diagram that management application provided by the invention accesses network.
Fig. 2 is the method flow diagram that improved management application provided by the invention accesses network.
Fig. 3 is the method flow diagram that management application provided by the invention accesses network after electricity reaches early warning value.
Fig. 4 is the system principle diagram that management application provided by the invention accesses network.
Fig. 5 is the system principle diagram that improved management application provided by the invention accesses network.
Specific implementation mode
Technical solution to further illustrate the present invention below with reference to the accompanying drawings and specific embodiments.
Embodiment one, as shown in Figure 1, a kind of method that management application accesses network, including:
S101 receives the request that application program accesses network.
S102, judges whether the application program belongs to the type for allowing network to access, if so, S105 is entered step, if It is no to enter step S103.
The type for allowing network to access includes system class, focus class and instant messaging class;The focus class, which is applied, is The application of user's current operation, opposite, the application program that backstage executes is non-focus class application.
S103, judges whether the application program belongs to network white list application or network blacklist application.
Wherein, the network white list is applied allows it to access the application program of network when backstage executes for user.
S104 enters step S105 if the application program belongs to network white list application.
Request for the access network of non-network white list application, it is without any processing.
S105 allows the application program to access network.
The present embodiment determines whether it has the permission for accessing network according to the type of application program, allows focus class, system Class, instant messaging class application real time access network allow network white list to apply in background access network;It so both can guarantee and used The application program that family is operating normally accesses normal operation and the communication of network and electronic equipment, can also reduce application program and exist Background access network, can effectively reduce electric quantity consumption, and in the case of identical capacity batteries, cruise duration is longer, reduce battery and fill Discharge time extends battery life, saves network flow, promotes electronic equipment runnability.
Embodiment two, as being further improved for embodiment one, as shown in Fig. 2, including the following steps:
S201 receives the request that application program accesses network.
S202, judges whether the application program belongs to the type for allowing network to access, if so, S207 is entered step, if It is no to enter step S203.
S203, judges whether the application program belongs to network white list application, if so, enter step S207, if not into Enter step S204.
S204, judges whether the application program belongs to network blacklist application, if so, enter step S209, if not into Enter step S205.
S205, the permission for prompting the network of application program described in user setting to access allow access network then to enter step S206 forbids access network then to enter step S208.
It by popping up dialog box prompts the user to choose whether that the application program is allowed to access network, and then is answered described in determination With the type of program, whether the application program can be executed in background access network by this selection from now on, be not repeated to ask Ask user.
It is another that modification setting window is provided as the improvement of the present embodiment, after the user makes a selection, allows user to change and set Set the permission that the network of the application program accesses.
S206 sets the application program to network white list application.
Application program is arranged to network white list application, i.e., is allowed in background access network by user.
S207 allows the application program to access network.
S208 sets the application program to network blacklist application.
Application program is arranged to network blacklist application, i.e., is forbidden in background access network by user.Only when its at For focus class application, network could be accessed.
S209 forbids the application program to access network.
The advantageous effect of the present embodiment is, when the application requests access network, if the application program does not belong to In allow access network type, and be not belonging to network white list apply and network blacklist application, decide whether to permit by user Perhaps it is in background access network;Network blacklist application is only focus in application, network could be accessed.
As further improvement of this embodiment, electronic equipment goes out after screen or screen locking, allows the network white list application Periodic access network.
It goes out after screen or screen locking, application program loses focus, and at this time without focus application, only system class, instant messaging class is answered With permission real time access network;Preferably to reduce electric quantity consumption, the requesting interval of network white list application access network is fixed Time cycle (such as 1 minute) externally send, remaining time forbid access network;It so can both meet the when of going out screen or screen locking to answer It, also can effective power saving province flow with the demand of routine access network.
Embodiment three, as shown in figure 3, the improvement as embodiment one, a kind of management application reaches early warning in electricity The method that network is accessed after value, including:
S301 receives the request that application program accesses network.
S302 monitors the remaining capacity of electronic equipment, judges whether remaining capacity reaches preset early warning value, is, enters Step S303.
The early warning value is by systemic presupposition or User Defined, when remaining capacity is at or below early warning value, illustrates electricity It is relatively low.For example, presetting 30% that the early warning value is battery total electricity, when remaining capacity reaches 30%, illustrate that electricity is relatively low, needs To use more efficient energy-saving scheme.
S303, judges whether the application program belongs to the type for allowing network to access, if so, S304 is entered step, if It is no to enter step S305.
S304 allows the application program to access network.
S305 forbids the application program to access network.
In the case that electricity is relatively low, only for focus class, system class and instant messaging class application access network, other application journey Sequence forbids accessing network, on the one hand ensure that the normal operation of electronic device system, has also ensured the basic communication of user On the other hand demand reduces unnecessary network and accesses, the effect of energy saving is more notable.
Example IV, as shown in figure 4, the system that a kind of electronic equipment upper tube ought to use routine access network, including monitoring Module 10, the first judgment module 11, network management module 12 and the second judgment module 13.
Monitoring modular 10 detects application program on electronic equipment, when the request for receiving the application program access network, leads to Know the first judgment module 11;
First judgment module 11 judges whether the application program belongs to the type for allowing network to access, if so, will determine that As a result it is sent to network management module 12, if it is not, will determine that result is sent to the second judgment module 13;
Second judgment module 13 continues to judge whether the application program is network white list application, and will determine that result is sent out It is sent to network management module 12;
Network management module 12 is according to the judging result of the first judgment module 11, if the application program belongs to permission network The type of access allows it to access network;According to the judging result of the second judgment module 13, if the application program belongs to network White list application allows it to access network, if the application program belongs to network blacklist application, it is forbidden to access network.
As further improvement of this embodiment, as shown in figure 5, the system also includes user interactive module 14, settings Module 15 and electricity monitoring module 16.
According to the judging result of the second judgment module 13, if the application program had not only been not belonging to network white list application, but also It is not belonging to network blacklist application, then notifies user interactive module 14;
User interactive module 14 prompts the permission that the network of application program described in user setting accesses, and sends the result to and sets Set module 15;
Setup module 15 sets the application for the permission background access network that user selects to network white list application, will use Family selection forbids the application of background access network to be set as network blacklist application.
Particularly, after electronic equipment goes out screen or screen locking, the network management module 12 allows the network white list application Periodic access network.
Particularly, electricity monitoring module 16 monitors remaining capacity, when remaining capacity reaches preset early warning value, notifies first Judgment module 11;
After first judgment module 11 receives the notice of electricity monitoring module 16, if application requests access network, Judge whether the application program belongs to the type for allowing network to access, and will determine that result is sent to network management module 12; It is that the network management module 12 allows the application program to access network, it is otherwise forbidden to access network.
Modules in the present embodiment, can be by software and or hardware realization.
The technical principle of the present invention is described above in association with specific embodiment.These descriptions are intended merely to explain the present invention's Principle, and it cannot be construed to limiting the scope of the invention in any way.Based on the explanation herein, the skill of this field Art personnel would not require any inventive effort the other specific implementation modes that can associate the present invention, these modes will all be fallen Enter within protection scope of the present invention.

Claims (8)

1. a kind of method that management application accesses network, it is characterised in that:
Receive the request that application program accesses network, wherein the network includes WIFI network;
Judge whether the type of the application program belongs to the type for allowing network to access, if so, it is allowed to access network;If It is no, judge whether the application program belongs to network white list application or network blacklist application, if the application program belongs to Network white list application then allows it to access network;If the application program belongs to network blacklist application, forbid its access Network;If the application program had both been not belonging to network white list application or had been not belonging to network blacklist application, user is prompted to set Set the permission of its network access;Wherein, allow access network then to set the application program to network white list application, and permit Perhaps the described application program accesses network;Forbid access network then to set the application program to network blacklist application, and prohibits Only the application program accesses network, wherein the type for allowing network to access includes system class and instant messaging class.
2. according to the method described in claim 1, it is characterized in that:It is described allow network access type further include:Focus class.
3. according to the method described in claim 1, it is characterized in that:Electronic equipment goes out after screen or screen locking, allows the network white List application periodic access network.
4. according to the method described in claim 1, it is characterized in that:The method further includes default electricity early warning value;
When remaining capacity reaches early warning value, judge whether the type of the application program belongs to the type for allowing network to access, is Then allow it to access network, it is otherwise forbidden to access network.
5. according to claim 1-4 any one of them methods, it is characterised in that:The method applied to electronic equipment go out screen or After screen locking, application program accesses the management of network.
6. the system that a kind of electronic equipment upper tube ought to use routine access network, it is characterised in that:Sentence including monitoring modular, first Disconnected module, the second judgment module and network management module;
Monitoring modular is used to receive the request that application program on electronic equipment accesses network, wherein the network includes WIFI nets Network;
First judgment module is used to judge whether the type of the application program belongs to the type for allowing network to access, if so, will Judging result is sent to network management module, if it is not, will determine that result is sent to the second judgment module, wherein described to allow net The type that network accesses includes system class and instant messaging class;
Second judgment module is used to judge whether the application program to belong to network white list application or network blacklist application, and It will determine that result is sent to network management module;
Network management module is used for the judging result according to the first judgment module, allows network to access if the application program belongs to Type, allow its access network;Or the judging result according to the second judgment module, if the application program belongs to the white name of network Single application, allows it to access network;If the application program belongs to network blacklist application, it is forbidden to access network;
If user interactive module had both been not belonging to network white list application or had been not belonging to network blacklist answer for the application program With the permission of prompt user setting its network access is simultaneously sent to setup module;
The permission that the network for the user setting that setup module is used to be sent according to user interactive module accesses, will allow background access The application of network is set as network white list application, and the application of background access network is forbidden to be set as network blacklist application.
7. system according to claim 6, it is characterised in that:Electronic equipment goes out after screen or screen locking, the network management mould Block allows the network white list application periodic access network.
8. system according to claim 6, it is characterised in that:Further include electricity monitoring module, for monitoring remaining capacity When reaching preset early warning value, the first judgment module is notified;
First judgment module judges whether the type of the application program belongs to the type for allowing network to access, and will determine that As a result it is sent to network management module;
The network management module is that it is allowed to access network according to the judging result of the first judgment module, otherwise forbids it Access network.
CN201510713373.8A 2015-10-27 2015-10-27 A kind of management application accesses the method and system of network Active CN105302279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510713373.8A CN105302279B (en) 2015-10-27 2015-10-27 A kind of management application accesses the method and system of network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510713373.8A CN105302279B (en) 2015-10-27 2015-10-27 A kind of management application accesses the method and system of network

Publications (2)

Publication Number Publication Date
CN105302279A CN105302279A (en) 2016-02-03
CN105302279B true CN105302279B (en) 2018-07-24

Family

ID=55199639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510713373.8A Active CN105302279B (en) 2015-10-27 2015-10-27 A kind of management application accesses the method and system of network

Country Status (1)

Country Link
CN (1) CN105302279B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105531642A (en) * 2014-04-18 2016-04-27 联发科技股份有限公司 Power managing method and electronic system applying the power managing method
CN106101077A (en) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 A kind of method and device limiting application online
CN106201684A (en) * 2016-06-30 2016-12-07 宇龙计算机通信科技(深圳)有限公司 A kind of method managing application and terminal
KR20180013608A (en) 2016-07-29 2018-02-07 삼성전자주식회사 Method and apparatus for reducing power consumption of electronic device
CN106355080B (en) * 2016-08-29 2020-09-08 上海航盛实业有限公司 Data security access method and system for vehicle-mounted information system
WO2018086059A1 (en) * 2016-11-11 2018-05-17 Qualcomm Incorporated Access control in connected mode, idle mode, and inactive state
CN106791040A (en) * 2016-12-02 2017-05-31 奇酷互联网络科技(深圳)有限公司 Data transmission method and device on intelligent terminal
CN107181624A (en) * 2017-06-30 2017-09-19 联想(北京)有限公司 A kind of method for connecting network, electronic equipment and computer-readable storage medium
CN107682892B (en) * 2017-09-30 2021-06-25 Oppo广东移动通信有限公司 Flow control method and device, computer equipment and computer readable storage medium
CN107748685B (en) * 2017-11-21 2020-12-25 Oppo广东移动通信有限公司 Application program starting control method and device, terminal equipment and storage medium
CN108391025B (en) * 2018-01-30 2021-01-01 努比亚技术有限公司 Network access management method, mobile terminal and computer readable storage medium
CN108934056B (en) * 2018-06-20 2021-01-15 联想(北京)有限公司 Control method and system of electronic equipment
CN114938294A (en) * 2022-05-05 2022-08-23 岚图汽车科技有限公司 Control method and control device for network access of vehicle-mounted system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809046A (en) * 2015-05-27 2015-07-29 广东欧珀移动通信有限公司 Application program networking control method and application program networking control device
CN104902430A (en) * 2015-05-19 2015-09-09 广东欧珀移动通信有限公司 Method and system for flow control of intelligent terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8359016B2 (en) * 2010-11-19 2013-01-22 Mobile Iron, Inc. Management of mobile applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902430A (en) * 2015-05-19 2015-09-09 广东欧珀移动通信有限公司 Method and system for flow control of intelligent terminal
CN104809046A (en) * 2015-05-27 2015-07-29 广东欧珀移动通信有限公司 Application program networking control method and application program networking control device

Also Published As

Publication number Publication date
CN105302279A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
CN105302279B (en) A kind of management application accesses the method and system of network
CN106488500B (en) A kind of public network and the adaptive method and device of private network
US7583951B2 (en) Virtual batteries for wireless communication device
CN105554316B (en) A kind of realization method and system of reserved intelligent terminal battery capacity
EP2930998B1 (en) User equipment and paging method and system using an extended paging period
CN106055073B (en) A kind for the treatment of method and apparatus based on bright screen lock
US9480021B2 (en) Terminal and adjustment method for operating state of terminal
CN106648849A (en) Process freezing method and mobile terminal
CN105700663A (en) Background program cleaning method and system for mobile terminal
US9263893B2 (en) Electricity storage device, electricity storage control method, management device, management method, and electricity storage system
CN105072670A (en) Sharing method for WiFi hotspot and electronic equipment
CN102523344A (en) Electric quantity prompting method and device of mobile terminal
CN102264118B (en) A kind of method and system realizing MTC terminal access
CN106102143A (en) A kind of application processing method and device
CN106897125A (en) Smart machine and its management method of service or application
CN103763762A (en) Terminal management system, terminal and terminal management method
WO2022111407A1 (en) Cell handover method and apparatus
CN106126327A (en) The control method of a kind of application program launching and control device
CN106101077A (en) A kind of method and device limiting application online
CN107708194A (en) A kind of message filtering method and device, terminal and readable storage medium storing program for executing
CN106301803A (en) A kind of chip power supply control method, device and communication equipment
CN106786851A (en) Control method and system that a kind of WIFI charges
CN108767929A (en) Unmanned vehicle cell safety processing method and its device
CN102905351A (en) Base station and energy saving method thereof
CN103875273A (en) Standard-network disabling method, device, and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder