CN113312591A - Control method and device based on Android system application white list - Google Patents
Control method and device based on Android system application white list Download PDFInfo
- Publication number
- CN113312591A CN113312591A CN202110590421.4A CN202110590421A CN113312591A CN 113312591 A CN113312591 A CN 113312591A CN 202110590421 A CN202110590421 A CN 202110590421A CN 113312591 A CN113312591 A CN 113312591A
- Authority
- CN
- China
- Prior art keywords
- application
- white list
- list
- added
- constructing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000010276 construction Methods 0.000 claims abstract description 4
- 238000012217 deletion Methods 0.000 claims description 3
- 230000037430 deletion Effects 0.000 claims description 3
- 238000009434 installation Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/121—Restricting unauthorised execution of programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a control method and a device based on an Android system application white list, wherein the device comprises the following steps: a white list application configuration unit, configured to configure white list applications, where each white list application requires configuration parameters including: the method comprises the following steps of (1) setting an application program package name, an application program installation mode, whether the application program is allowed to be uninstalled or not and whether the application program is automatically opened after the application program is installed; the to-be-added list construction unit is used for constructing a to-be-added list, and constructing the white list application into the to-be-added list after the white list application is configured; and the white list application adding unit is used for adding white list application, the system automatically detects whether the application to be added is in the white list, if so, the white list is automatically updated, and if not, the white list data is added into the white list and stored.
Description
Technical Field
The invention belongs to the technical field of Android system application, and particularly relates to a control method and device based on an Android system application white list.
Background
The Android system can realize rich application ecology by installing various application programs. For Android system mobile terminal equipment used by individuals, the system is rich in application ecology and can facilitate the user to experience diversity.
However, for Android system equipment used by a public platform, the diversity of application programs can be installed at will, so that the Android system equipment is provided with a plurality of types of software irrelevant to the use of an industrial platform, and the safety and the stability of the system are influenced.
Disclosure of Invention
In view of the technical problems, the present invention is directed to providing a method and an apparatus for controlling an application white list based on an Android system.
In order to solve the technical problems, the invention adopts the following technical scheme:
one aspect of the embodiment of the invention provides a control method based on an Android system application white list, which comprises the following steps:
configuring white list applications, wherein each white list application needs to configure parameters, and the parameters comprise: the method comprises the following steps of (1) setting an application program package name, an application program installation mode, whether the application program is allowed to be uninstalled or not and whether the application program is automatically opened after the application program is installed;
constructing a list to be added, and constructing the white list application into the list to be added after the white list application is configured;
and adding the white list application, wherein the system automatically detects whether the application to be added is in the white list, automatically updates the white list if the application to be added is in the white list, and adds and stores the white list data if the application to be added is not in the white list.
Preferably, further comprising removing the whitelisted application from the application whitelist.
Preferably, deleting the white list application from the application white list specifically includes:
configuring white list application, and configuring the packet name of each white list application to be deleted;
constructing a list to be deleted, and constructing the plurality of white list applications into the list to be deleted after configuring the plurality of white list applications;
and calling an interface to delete the white list application from the application white list.
In another aspect, an embodiment of the present invention provides a control device for applying a white list based on an Android system, including:
a white list application configuration unit, configured to configure white list applications, where each white list application requires configuration parameters including: the method comprises the following steps of (1) setting an application program package name, an application program installation mode, whether the application program is allowed to be uninstalled or not and whether the application program is automatically opened after the application program is installed;
the to-be-added list construction unit is used for constructing a to-be-added list, and constructing the white list application into the to-be-added list after the white list application is configured;
and the white list application adding unit is used for adding white list application, the system automatically detects whether the application to be added is in the white list, if so, the white list is automatically updated, and if not, the white list data is added into the white list and stored.
Preferably, the system further comprises a white list application unit for deleting the white list application from the application white list.
Preferably, deleting the white list application from the application white list specifically includes:
configuring white list application, and configuring the packet name of each white list application to be deleted;
constructing a list to be deleted, and constructing the plurality of white list applications into the list to be deleted after configuring the plurality of white list applications;
and calling an interface to delete the white list application from the application white list.
The invention has the following beneficial effects:
(1) through the arrangement, illegal third party application program installation can be prevented
(2) Through the arrangement, the application of mistaken deletion of operation and maintenance personnel or other irrelevant personnel can be avoided
(3) Through the setting, the application program added into the white list can be installed by one key.
Drawings
Fig. 1 is a schematic structural diagram of a control device based on an Android system application white list according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Method example 1
The embodiment of the invention discloses a control method based on an Android system application white list, which comprises the following steps:
configuring white list applications, wherein each white list application needs to configure parameters, and the parameters comprise: the application program package name, the application program installation mode, whether the application program is allowed to be uninstalled or not and whether the application program is automatically opened after the application program is installed or not. In a specific application example, the whitelist function of the application is opened by using a whitetelistswitch interface provided by the McInstallManager. The whitelist application is configured using the mccwhiteapp.
And constructing a list to be added, and constructing the white list application into the list to be added after the white list application is configured. In a specific application example, the list to be added is constructed using ArrayList < McWhiteApp >.
And adding the white list application, wherein the system automatically detects whether the application to be added is in the white list, automatically updates the white list if the application to be added is in the white list, and adds and stores the white list data if the application to be added is not in the white list. In a specific application example, a white list application is added using the removeWhtieList interface provided by McInstallManager.
Additionally, the McInstallManager provides a getWhiteList query whitelist application list; the isEnable interface judges whether the white list application is opened; the isInstallAllow interface judges whether the application is allowed to be installed or not; the ISUninstallLow interface judges whether the application is allowed to be unloaded or not; the ISOpenAfterInstally interface judges whether the application is automatically opened after installation.
Through the technical scheme, the interface is provided for controlling whether the application white list is started or not. After the application white list is opened, a set of white list data is maintained, and only the application programs in the set of data can acquire the installation permission. If an application program which is not in the application white list attempts to be installed in the Android system device, a returned result of installation failure is obtained. And when the application white list is closed, all applications can be installed in the Android system equipment.
Method example 2
On the basis of the method embodiment 1, the control method based on the Android system application white list further includes a white list deleting application unit, which is used for deleting the white list application from the application white list.
In a specific application example, deleting the white list application from the application white list specifically includes:
and configuring white list application and configuring the packet name of each white list application to be deleted.
Constructing a list to be deleted, and constructing the plurality of white list applications into the list to be deleted after configuring the plurality of white list applications;
and calling an interface to delete the white list application from the application white list.
Apparatus example 1
Corresponding to the method embodiment, referring to fig. 1, an embodiment of the present invention provides a control device based on an Android system application white list, including:
a white list application configuration unit, configured to configure white list applications, where each white list application requires configuration parameters including: the application program package name, the application program installation mode, whether the application program is allowed to be uninstalled or not and whether the application program is automatically opened after the application program is installed or not. In a specific application example, the whitelist function of the application is opened by using a whitetelistswitch interface provided by the McInstallManager. The whitelist application is configured using the mccwhiteapp.
And the to-be-added list construction unit is used for constructing the to-be-added list, and constructing the white list application into the to-be-added list after the white list application is configured. In a specific application example, the list to be added is constructed using ArrayList < McWhiteApp >.
And the white list application adding unit is used for adding white list application, the system automatically detects whether the application to be added is in the white list, if so, the white list is automatically updated, and if not, the white list data is added into the white list and stored. In a specific application example, a white list application is added using the removeWhtieList interface provided by McInstallManager.
Apparatus example 2
On the basis of the device embodiment 1, with continued reference to fig. 1, the control device for an application white list based on an Android system according to an embodiment of the present invention further includes a white list deletion application unit, configured to delete a white list application from the application white list.
In a specific application example, deleting the white list application from the application white list specifically includes:
configuring white list application, and configuring the packet name of each white list application to be deleted;
constructing a list to be deleted, and constructing the plurality of white list applications into the list to be deleted after configuring the plurality of white list applications;
and calling an interface to delete the white list application from the application white list.
It is to be understood that the exemplary embodiments described herein are illustrative and not restrictive. Although one or more embodiments of the present invention have been described with reference to the accompanying drawings, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.
Claims (6)
1. A control method based on an Android system application white list is characterized by comprising the following steps:
configuring white list applications, wherein each white list application needs to configure parameters, and the parameters comprise: the method comprises the following steps of (1) setting an application program package name, an application program installation mode, whether the application program is allowed to be uninstalled or not and whether the application program is automatically opened after the application program is installed;
constructing a list to be added, and constructing the white list application into the list to be added after the white list application is configured;
and adding the white list application, wherein the system automatically detects whether the application to be added is in the white list, automatically updates the white list if the application to be added is in the white list, and adds and stores the white list data if the application to be added is not in the white list.
2. The Android system application whitelist-based control method of claim 1, further comprising deleting a whitelist application from an application whitelist list.
3. The Android system application white list-based control method of claim 2, wherein deleting the white list application from the application white list specifically comprises:
configuring white list application, and configuring the packet name of each white list application to be deleted;
constructing a list to be deleted, and constructing the plurality of white list applications into the list to be deleted after configuring the plurality of white list applications;
and calling an interface to delete the white list application from the application white list.
4. A control device based on an Android system application white list is characterized by comprising:
a white list application configuration unit, configured to configure white list applications, where each white list application requires configuration parameters including: the method comprises the following steps of (1) setting an application program package name, an application program installation mode, whether the application program is allowed to be uninstalled or not and whether the application program is automatically opened after the application program is installed;
the to-be-added list construction unit is used for constructing a to-be-added list, and constructing the white list application into the to-be-added list after the white list application is configured;
and the white list application adding unit is used for adding white list application, the system automatically detects whether the application to be added is in the white list, if so, the white list is automatically updated, and if not, the white list data is added into the white list and stored.
5. The Android system application whitelist-based control device of claim 4, further comprising a whitelist deletion application unit configured to delete a whitelist application from the application whitelist.
6. The Android system application white list-based control device of claim 5, wherein deleting the white list application from the application white list specifically comprises:
configuring white list application, and configuring the packet name of each white list application to be deleted;
constructing a list to be deleted, and constructing the plurality of white list applications into the list to be deleted after configuring the plurality of white list applications;
and calling an interface to delete the white list application from the application white list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110590421.4A CN113312591A (en) | 2021-05-28 | 2021-05-28 | Control method and device based on Android system application white list |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110590421.4A CN113312591A (en) | 2021-05-28 | 2021-05-28 | Control method and device based on Android system application white list |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113312591A true CN113312591A (en) | 2021-08-27 |
Family
ID=77375822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110590421.4A Pending CN113312591A (en) | 2021-05-28 | 2021-05-28 | Control method and device based on Android system application white list |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113312591A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115665311A (en) * | 2022-10-25 | 2023-01-31 | 北京鸿途信达科技股份有限公司 | System optimization method for regularly optimizing background process of mobile phone |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105763899A (en) * | 2016-01-29 | 2016-07-13 | 四川长虹电器股份有限公司 | Intelligent set top box application management system and method |
CN105867970A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Application installing system and method for handheld device |
CN106778213A (en) * | 2017-01-06 | 2017-05-31 | 深圳市金立通信设备有限公司 | A kind of mourning in silence installs the method and terminal of application program |
CN107291483A (en) * | 2016-04-01 | 2017-10-24 | 深圳富泰宏精密工业有限公司 | Intelligence deletes the method and electronic equipment of application program |
CN107766342A (en) * | 2016-08-15 | 2018-03-06 | ***通信集团公司 | A kind of recognition methods of application and device |
-
2021
- 2021-05-28 CN CN202110590421.4A patent/CN113312591A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105763899A (en) * | 2016-01-29 | 2016-07-13 | 四川长虹电器股份有限公司 | Intelligent set top box application management system and method |
CN105867970A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Application installing system and method for handheld device |
CN107291483A (en) * | 2016-04-01 | 2017-10-24 | 深圳富泰宏精密工业有限公司 | Intelligence deletes the method and electronic equipment of application program |
CN107766342A (en) * | 2016-08-15 | 2018-03-06 | ***通信集团公司 | A kind of recognition methods of application and device |
CN106778213A (en) * | 2017-01-06 | 2017-05-31 | 深圳市金立通信设备有限公司 | A kind of mourning in silence installs the method and terminal of application program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115665311A (en) * | 2022-10-25 | 2023-01-31 | 北京鸿途信达科技股份有限公司 | System optimization method for regularly optimizing background process of mobile phone |
CN115665311B (en) * | 2022-10-25 | 2024-02-06 | 北京鸿途信达科技股份有限公司 | System optimization method for mobile phone timing optimization background process |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104765629B (en) | A kind of installation method and device of system application | |
CN104375869B (en) | Self-starting application control method and device | |
CN102236764B (en) | Method and monitoring system for Android system to defend against desktop information attack | |
CN101340444B (en) | Fireproof wall and server policy synchronization method, system and apparatus | |
CN103473502A (en) | Method and system for acquiring Root rights of android-based mobile terminal | |
CN106131612B (en) | The method and system of Android app dynamically load resource function module | |
CN105183307A (en) | Application message display control method and application message display control device | |
CN105843653A (en) | TA (trusted application) configuration method and device | |
CN106446632A (en) | Hide display starting device and hide display starting method for application programs | |
CN104202323A (en) | Method for controlling application software based on mobile terminal | |
CN104134036B (en) | Method and device for obtaining Root permission | |
CN104346559A (en) | Authority request response method and device thereof | |
CN103164264A (en) | Application program manager and application program management method and access method | |
CN104252374A (en) | Program control method and device on basis of architecture change | |
CN104168126B (en) | A kind of unattended intelligent device self-maintenance management system and method | |
CN102426639A (en) | Information safety monitoring method and device | |
CN113312591A (en) | Control method and device based on Android system application white list | |
CN105897692B (en) | APP application account anti-theft system and method for intelligent terminal | |
CN103067246A (en) | Method and apparatus used for processing file received based on instant communication service | |
CN104506520A (en) | MIPS (Million Instructions Per Second) platform Web access strategy control method | |
CA2498317A1 (en) | Method and system for automatically configuring access control | |
CN105138372A (en) | Backstage service management and control system and method based on Android system | |
CN106203067B (en) | A kind of method for cleaning and device of application program | |
CN106295320A (en) | A kind of android system customized desktop based on white list | |
CN105590052A (en) | Method for controlling installation of browser plug-in |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210827 |