CN113504855A - Prompting and aging control method and device for Android application permission confirmation - Google Patents

Prompting and aging control method and device for Android application permission confirmation Download PDF

Info

Publication number
CN113504855A
CN113504855A CN202110790849.3A CN202110790849A CN113504855A CN 113504855 A CN113504855 A CN 113504855A CN 202110790849 A CN202110790849 A CN 202110790849A CN 113504855 A CN113504855 A CN 113504855A
Authority
CN
China
Prior art keywords
permission
authority
application
date
package
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
CN202110790849.3A
Other languages
Chinese (zh)
Other versions
CN113504855B (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.)
Readboy Education Technology Co Ltd
Original Assignee
Readboy Education Technology Co 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 Readboy Education Technology Co Ltd filed Critical Readboy Education Technology Co Ltd
Priority to CN202110790849.3A priority Critical patent/CN113504855B/en
Publication of CN113504855A publication Critical patent/CN113504855A/en
Application granted granted Critical
Publication of CN113504855B publication Critical patent/CN113504855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a prompting and aging control method and device for Android application permission confirmation, which increase the display of permission animation through secondary development of a system permission confirmation frame, can visually display the effect of permission of a certain permission for a user, and better protects the rights and interests of the user. On the other hand, the invention provides the user with permission aging selection only once and only on the current day, and develops an application permission aging management and control service to perform aging management on the temporary permission, thereby realizing simple and effective management of the permission while providing more choices for the user.

Description

Prompting and aging control method and device for Android application permission confirmation
Technical Field
The invention relates to the technical field of Android systems, in particular to a method and a device for prompting and controlling aging of Android application permission confirmation.
Background
For information security of a user, an Android system is started after each new application is installed, the system pops up a permission confirmation box for allowing or refusing operation of the user on each permission applied by the application, and the existing permission confirmation box has two defects that firstly, permission content is expressed in characters, most people cannot feel confident and are usually allowed to click, the permission content is actually unclear, and therefore, the Android system has a higher risk undoubtedly and is not beneficial to protecting the user rights; and secondly, only two options of permission and rejection are provided, the selection permission is permanently effective, and sometimes the selection permission is required to be allowed once for safety, for example, the permission of a certain application for acquiring the contact information is required, if the selection permission is rejected, certain functions of the application can not be used, if the permission is concerned about risks later, the permission is required to be allowed once, the permission is reconfirmed when the application is accessed next time, and when the requirement is met, the operation of closing the related permission of the application can be only performed in the setting except for unloading the application, and the operation is obviously troublesome.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a prompt and aging control method and device for confirming Android application permission.
In order to achieve the purpose, the invention adopts the following technical scheme:
a prompt and aging control method for confirming Android application permission comprises the following specific processes:
when the third-party application is installed, the permission confirmation box popped up by the system comprises a display area and a button area, one part of the display area displays a permission animation, the other part displays permission content, and the permission animation is used for demonstrating the most typical operation which can be performed by the application after the permission is allowed; four buttons of reject, allow once, allow the current day and allow are placed on the button area;
the method comprises the steps that a system-level application authority aging management and control service runs in a system, the application authority aging management and control service maintains a database for managing application authority aging, and the structure of a table in the database is Permission (id, package, Permission, date), wherein the id is a default main key, the package is an application package name, the Permission is an authority name, and the date is an expiration date of a current authority; applying an authority timeliness management and control service to provide an interface for a system authority confirmation frame to call; when a button allowing one time is clicked on a system authority confirmation frame interface, the system authority confirmation frame calls the interface to store the name of the current application package, the name of the current authority and the current date in the fields of package, Permission and date of a new data item of the Permission, and id is automatically generated for the Permission; when the current day is allowed to be clicked, the system authority confirmation box calls the interface to respectively store the current application package name, the current authority name and the date of the next day into the package, Permission and date fields of a new data item of the Permission, and id is automatically generated for the Permission; the application authority aging control service monitors the starting of the application and the change of the date in the background, when the application starting is monitored, the application authority aging control service inquires Permission through the current date to determine whether the authority which is invalid today exists, if yes, closing operation is carried out aiming at the corresponding authority of the corresponding application according to the package and the Permission fields, the corresponding data item is deleted from the database after the authority is closed, and at the moment, the system can pop up the authority confirmation frame of the corresponding authority again for the user to confirm; when the application authority aging control service monitors that the date is changed, inquiring various data of the Permission according to the current date, determining whether the authority which is invalid today exists, if so, implementing closing operation aiming at the corresponding authority of the corresponding application according to the package and the Permission, and deleting the corresponding data item from the database after the authority is closed; and when the corresponding application is re-entered next time, the system can pop up the permission confirmation box of the corresponding permission again for the user to confirm.
Further, in the above method, the authority animation is an animation with a duration of 2-3 seconds preset for each authority.
The invention also provides a computer-readable storage medium having stored therein a computer program which, when executed by a processor, implements the above-described method.
The invention also provides an electronic device comprising a processor and a memory, the memory being arranged to store a computer program; the processor is configured to implement the above method when executing the computer program.
The invention has the beneficial effects that: the invention increases the display of the authority animation by the secondary development of the system authority confirmation box, can visually display the result of allowing a certain authority for the user, and better protects the rights and interests of the user. On the other hand, the invention provides the user with permission aging selection only once and only on the current day, and develops an application permission aging management and control service to perform aging management on the temporary permission, thereby realizing simple and effective management of the permission while providing more choices for the user.
Detailed Description
The present invention will be further described below, and it should be noted that the present embodiment is based on the technical solution, and a detailed implementation manner and a specific operation process are provided, but the protection scope of the present invention is not limited to the present embodiment.
The invention provides a prompting and aging control method for Android application permission confirmation, and relates to secondary development of a permission confirmation frame of a system and development of application permission aging control service.
At present, mainstream terminals such as Android mobile phones and tablets generally comprise three parts in a popup permission confirmation frame when a third-party application is installed: rights content, an allow button, and a deny button. The permission confirmation box in the embodiment is added with permission animation on the basis of the existing confirmation box, and allows one-time button and the button on the day. Specifically, the permission confirmation box is divided into two parts, namely a display area and a button area, the left side of the display area displays permission animation, and the right side of the display area displays permission content. The authority animation refers to animation preset for 2-3 seconds for each authority, and is used for demonstrating the most typical operation which can be performed by an application after the authority is allowed. For example, the authority of the contact person information is read, and the corresponding authority animation is to upload a plurality of contact person information to the network; for example, when the camera is opened, the corresponding authority animation is used for opening the camera to record the video in the bedroom. The permission animation demonstrates the use scene which has the greatest influence on the user as much as possible, and the safety consciousness of the user is enhanced. The button area places reject, allow once, allow the day, allow four buttons, respectively, from left to right.
Developing a system-level application authority aging management and control service, wherein the service maintains a database for managing application authority aging, the structure of a table in the database is Permission (id, package, Permission, date), and the id is a default primary key; the package is the package name of the application and is the unique identifier of the application; permission is an authority name; date is the expiration date of the current privilege. The application authority aging management and control service provides an interface for a system authority confirmation frame to call, and when a button allowing one time is clicked on a system authority confirmation frame interface, the system authority confirmation frame calls the interface to store the current application package name, the current authority name and the current date into package, Permission and date fields of Permission; when the current day is allowed by clicking, the system Permission confirmation box calls the interface to store the current application package name, the current Permission name and the next day date into the package, Permission and date fields of Permission respectively. The application authority aging control service monitors the starting of the application and the change of the date in the background, when the application starting is monitored, the application authority aging control service inquires Permission through the current date to determine whether the authority which is invalid today exists, if yes, closing operation is carried out according to the package and the Permission fields aiming at the corresponding authority of the corresponding application, the corresponding data item is deleted from the database after the authority is closed, and at the moment, the system can pop up the authority confirmation frame of the corresponding authority again for the user to confirm. When the application authority aging control service monitors that the date is changed, inquiring various data of the Permission according to the current date, determining whether the authority which is invalid today exists, if so, implementing closing operation aiming at the corresponding authority of the corresponding application according to the package and the Permission, and deleting the corresponding data item from the database after the authority is closed; and when the corresponding application is re-entered next time, the system can pop up the permission confirmation box of the corresponding permission again for the user to confirm.
It should be noted that the authority aging after the click permission or rejection is permanent, and the authority aging management and control service is not required to be applied for management.
Various corresponding changes and modifications can be made by those skilled in the art based on the above technical solutions and concepts, and all such changes and modifications should be included in the protection scope of the present invention.

Claims (4)

1. A prompt and aging control method for confirming Android application permission is characterized by comprising the following specific processes:
when the third-party application is installed, the permission confirmation box popped up by the system comprises a display area and a button area, one part of the display area displays a permission animation, the other part displays permission content, and the permission animation is used for demonstrating the most typical operation which can be performed by the application after the permission is allowed; four buttons of reject, allow once, allow the current day and allow are placed on the button area;
the method comprises the steps that a system-level application authority aging management and control service runs in a system, the application authority aging management and control service maintains a database for managing application authority aging, and the structure of a table in the database is Permission (id, package, Permission, date), wherein the id is a default main key, the package is an application package name, the Permission is an authority name, and the date is an expiration date of a current authority; applying an authority timeliness management and control service to provide an interface for a system authority confirmation frame to call; when a button allowing one time is clicked on a system authority confirmation frame interface, the system authority confirmation frame calls the interface to store the name of the current application package, the name of the current authority and the current date in the fields of package, Permission and date of a new data item of the Permission, and id is automatically generated for the Permission; when the current day is allowed to be clicked, the system authority confirmation box calls the interface to respectively store the current application package name, the current authority name and the date of the next day into the package, Permission and date fields of a new data item of the Permission, and id is automatically generated for the Permission; the application authority aging control service monitors the starting of the application and the change of the date in the background, when the application starting is monitored, the application authority aging control service inquires Permission through the current date to determine whether the authority which is invalid today exists, if yes, closing operation is carried out aiming at the corresponding authority of the corresponding application according to the package and the Permission fields, the corresponding data item is deleted from the database after the authority is closed, and at the moment, the system can pop up the authority confirmation frame of the corresponding authority again for the user to confirm; when the application authority aging control service monitors that the date is changed, inquiring various data of the Permission according to the current date, determining whether the authority which is invalid today exists, if so, implementing closing operation aiming at the corresponding authority of the corresponding application according to the package and the Permission, and deleting the corresponding data item from the database after the authority is closed; and when the corresponding application is re-entered next time, the system can pop up the permission confirmation box of the corresponding permission again for the user to confirm.
2. The method of claim 1, wherein the permission animation is an animation with a duration of 2-3 seconds preset for each permission.
3. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1-2.
4. An electronic device comprising a processor and a memory, the memory for storing a computer program; the processor is adapted to carry out the method of any of claims 1-2 when executing the computer program.
CN202110790849.3A 2021-07-13 2021-07-13 Prompting and aging control method and device for confirming Android application permission Active CN113504855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110790849.3A CN113504855B (en) 2021-07-13 2021-07-13 Prompting and aging control method and device for confirming Android application permission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110790849.3A CN113504855B (en) 2021-07-13 2021-07-13 Prompting and aging control method and device for confirming Android application permission

Publications (2)

Publication Number Publication Date
CN113504855A true CN113504855A (en) 2021-10-15
CN113504855B CN113504855B (en) 2023-06-16

Family

ID=78013159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110790849.3A Active CN113504855B (en) 2021-07-13 2021-07-13 Prompting and aging control method and device for confirming Android application permission

Country Status (1)

Country Link
CN (1) CN113504855B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986444A (en) * 2021-11-19 2022-01-28 深圳前海移联科技有限公司 General management method for software system prompt words, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045625A (en) * 2015-07-17 2015-11-11 上海斐讯数据通信技术有限公司 Method for root authority management and control in Android platform
US20160191523A1 (en) * 2013-09-04 2016-06-30 Huawei Technologies Co., Ltd. Service authority determination method and device
CN106997433A (en) * 2017-03-22 2017-08-01 西安电子科技大学 A kind of Android system authority management method
WO2018049610A1 (en) * 2016-09-14 2018-03-22 北京小米移动软件有限公司 Permission control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160191523A1 (en) * 2013-09-04 2016-06-30 Huawei Technologies Co., Ltd. Service authority determination method and device
CN105045625A (en) * 2015-07-17 2015-11-11 上海斐讯数据通信技术有限公司 Method for root authority management and control in Android platform
WO2018049610A1 (en) * 2016-09-14 2018-03-22 北京小米移动软件有限公司 Permission control method and device
CN106997433A (en) * 2017-03-22 2017-08-01 西安电子科技大学 A kind of Android system authority management method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨晶;金伟信;吴作顺;: "基于Android系统的权限管理优化方案研究", 电子质量, no. 03 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986444A (en) * 2021-11-19 2022-01-28 深圳前海移联科技有限公司 General management method for software system prompt words, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113504855B (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN100495286C (en) Security ensuring by program analysis on information device and transmission path
US10311247B2 (en) Method and system for isolating secure communication events from a non-secure application
CN111596846B (en) Application authority control method and device and electronic equipment
CN103632107B (en) A kind of information of mobile terminal security protection system and method
CN113504855A (en) Prompting and aging control method and device for Android application permission confirmation
CN103617389A (en) Terminal rights management method and terminal device
CN108549798A (en) Terminal equipment control method and device, terminal device and computer readable storage medium
CN111259421A (en) Privacy authority anti-disclosure processing method and device, electronic equipment and storage medium
CN111695151A (en) Application permission setting method and device, electronic equipment and readable storage medium
CN112784262A (en) Data access method, device, terminal and storage medium
CN105592039A (en) Security equipment implementation system capable of setting authority, and implementation method thereof
CN110084035A (en) For suggesting the electronic equipment and method of response guide when refusing
CA2344448A1 (en) Apparatus and methods for unlocking password protected software systems to recover master password
CN107302626B (en) Management and control method for android smart phone microphone
CN107894907A (en) A kind of operating mode control method of terminal, terminal and computer-readable medium
CN116954649A (en) Method and device for updating attribute information of field replaceable unit
CN107197075B (en) Clean boot means of defence, device and computer readable storage medium
CN114201750A (en) Data leakage prevention method and device, electronic equipment and storage medium
CN113329130B (en) Pseudo virtual telephone number using method, device and server based on Internet
CN114489419A (en) Authority control method and electronic equipment
CN113901496A (en) Business processing method, device and equipment based on multi-business system
CN114047858A (en) Double-screen telephone watch application management method
CN114564707A (en) Application authority management method and device and electronic equipment
CN114091112A (en) Application authority control method and device and electronic equipment
CN104462992B (en) A kind of information processing method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant