CN105184148B - A kind of Android application rights management method and management system - Google Patents

A kind of Android application rights management method and management system Download PDF

Info

Publication number
CN105184148B
CN105184148B CN201510489097.1A CN201510489097A CN105184148B CN 105184148 B CN105184148 B CN 105184148B CN 201510489097 A CN201510489097 A CN 201510489097A CN 105184148 B CN105184148 B CN 105184148B
Authority
CN
China
Prior art keywords
view
rights management
authority
user
android application
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
CN201510489097.1A
Other languages
Chinese (zh)
Other versions
CN105184148A (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.)
Huzhou YingLie Intellectual Property Operation Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510489097.1A priority Critical patent/CN105184148B/en
Publication of CN105184148A publication Critical patent/CN105184148A/en
Application granted granted Critical
Publication of CN105184148B publication Critical patent/CN105184148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Abstract

The invention discloses a kind of Android application rights management method and management system, this Android application rights management method includes:Step S1, real-time active sniffing response licensing status change;Step S2, reacted according to the modification information listened to, i.e., all authority requests prompting View is ejected in the form of List by status bar, is operated for selection by the user;The Android application rights management method and management system of the present invention protects the Activity being currently running, i.e., when authority confirms, the Activity being currently running will not be interrupted, but be remained on, the sensation smooth to user by customized View mechanism.

Description

A kind of Android application rights management method and management system
Technical field
The present invention relates to a kind of Android system, more particularly to a kind of Android application rights management method and management system.
Background technology
With the rapid development of mobile Internet, mobile phone application is increasingly abundanter, while application installation and operation, they Just have some authorities for collecting data in mobile phone, while enriching us and living personal privacy be also possible to therewith by Leakage, in we do not perceive, largely applies and is capturing our consumption information and consumption habit on the internet, that is such as What avoids the multi information of crossing of individual from being compromisedAndroid system introduces rights management mechanism since 4.4.
So-called rights management, it is exactly the authority for being capable of manual configuration some App, and then prevents Malware and prevent hidden Private leakage.Certainly, further rights management, being can be when App dynamics uses some authority, there is provided one kind notice Mechanism prompting user allows and refusal.Such rights management is just more similar to the Initiative Defense in Windows.
As Ali's cloud OS using AlertDialog mechanism prompting user operation and refusal, the Android machine of market is all It is that user is notified using the bullet frame prompting mechanism of Android primary.
Existing authority prompting uses AlertDialog mechanism, and this mechanism is excessively stiff, underaction, and it can be interrupted Activity is currently running, user must make a choice in real time, so, it is necessary to weight when Activity recovers again New loading latest authorization state value.If not doing selection in real time to be defaulted as ignoring, the several seconds dialog boxes are now waited It can disappear, it is not smooth enough using operation.If the application authority of some application is excessive, user will be to the authority of this all application Select, cause user to do selection operation for a long time excessively, easily cause user's irritated psychology.
The content of the invention
It is traditional to solve it is an object of the invention to provide a kind of Android application rights management method and management system AlertDialog mechanism can interrupt and be currently running Activity, user is made a choice in real time, and then be grasped to user Make the technical problem made troubles.
In order to solve the above-mentioned technical problem, the invention provides a kind of Android application rights management method, including:
Step S1, real-time active sniffing response licensing status change;
Step S2, reacted according to the modification information listened to.
Further, the Android application rights management method also includes:Step S0, self-defined, i.e. Android is carried out to View During equipment structural regime column PhoneStatusBar, a customized View object is instantiated PermissionsCheckPanelView, to represent authority application prompting frame, while the View objects are also adapted as One member variable of CheckPermissionCallback classes.
Further, the method for real-time active sniffing response licensing status change includes in the step S1:
By IOnCallbackAddRequest interfaces class by AppOpsService and CheckPermissionCallback is connected, and is communicated between the two by binder.
Further, the step of being reacted in the step S2 according to the modification information listened to includes:
Step S21, third-party application application operating right;
Step S22, AppOpsService intercept application operating;
Step S23, onAddRequest method is called;
Step S24, the onAddRequest methods in CheckPermissionCallback are called by binder;
Step S25, send MSG_CTRLALL_PERMISSION_CHECK_PANEL message;
Step S26, in the processing of MSG_CTRLALL_PERMISSION_CHECK_PANEL message, construction is customized PermissionsCheckPanelView objects are simultaneously shown;
Step S27, user do authority selection operation to View objects.
Further, PermissionsCheckPanelView objects described in the step 26 represent that authority application carries Show frame.
Further, user does authority selection operation to View objects in the step S27, i.e., PermissionsCheckPanelView objects have realized OnItemClickListener and OnTouchListener interfaces, To respond the selection operation of user.
Another aspect, present invention also offers a kind of Android application rights management system, including:
Licensing status changes monitoring unit, real-time active sniffing response licensing status change;
The prompting View menus being connected with licensing status change monitoring unit eject selecting unit, the prompting View menus Ejection selecting unit is suitable to be reacted according to the modification information listened to.
Further, the Android application rights management system also includes:The self-defined units of View, the self-defined lists of View Member is suitable in Android device structural regime column PhoneStatusBar, instantiates a customized View object PermissionsCheckPanelView, to represent authority application prompting frame, while the View objects are also adapted as One member variable of CheckPermissionCallback classes.
Further, the response of the active sniffing in real time licensing status change, i.e., connect by IOnCallbackAddRequest Mouth class connects AppOpsService and CheckPermissionCallback, is led between the two by binder Letter.
The invention has the advantages that the present invention Android application rights management method and management system pass through it is customized View mechanism, the Activity being currently running is protected, i.e., when authority confirms, during the Activity that is currently running will not occur It is disconnected, but remain on.The sensation smooth to user.
Brief description of the drawings
The present invention is further described with reference to the accompanying drawings and examples.
Fig. 1 is the flow chart of the Android application rights management method of the present invention;
Fig. 2 is the flow chart reacted in the step S2 of the present invention according to the modification information listened to;
Fig. 3 is the theory diagram of the Android application rights management of the present invention.
Embodiment
In conjunction with the accompanying drawings, the present invention is further explained in detail.These accompanying drawings are simplified schematic diagram, only with Illustration illustrates the basic structure of the present invention, therefore it only shows the composition relevant with the present invention.
The Android application rights management and system of the present invention uses self-defined View mechanism, perfectly protects and is currently running Activity, i.e., when authority confirms, the Activity being currently running will not be interrupted, but be remained on, it is only necessary to Real-time active sniffing response licensing status change, and reacted according to the modification information listened to, all authority requests carry Show that View can be ejected in the form of List by status bar, user can be allowed to cover all at one glance, user can follow one's inclinations selection to which Request operation responds, rather than is for example operated sequentially to that mechanization of primordial condition.
Embodiment 1
As shown in figure 1, the invention provides a kind of Android application rights management method, including:
Step S1, real-time active sniffing response licensing status change;
Step S2, reacted according to the modification information listened to, i.e., all authority requests prompt View all with List Form ejected by status bar, operate for selection by the user.
Also, the Android application rights management method also includes:Step S0, self-defined to View progress, i.e., Android is set During standby structural regime column PhoneStatusBar, a customized View object is instantiated PermissionsCheckPanelView, to represent authority application prompting frame, while the View objects are also adapted as One member variable of CheckPermissionCallback classes.
Preferably, the method for real-time active sniffing response licensing status change includes in the step S1:
By IOnCallbackAddRequest interfaces class by AppOpsService and CheckPermissionCallback is connected, and is communicated between the two by binder.
Further, as shown in Fig. 2 the step of being reacted in the step S2 according to the modification information listened to includes:
Step S21, third-party application application operating right;
Step S22, AppOpsService intercept application operating;
Step S23, onAddRequest method is called;
Step S24, the onAddRequest methods in CheckPermissionCallback are called by binder;
Step S25, send MSG_CTRLALL_PERMISSION_CHECK_PANEL message;
Step S26, in the processing of MSG_CTRLALL_PERMISSION_CHECK_PANEL message, construction is customized PermissionsCheckPanelView objects are simultaneously shown;And
Step S27, user do authority selection operation to View objects.
If allowing this operation, select corresponding application operating or directly terminate.
Wherein, PermissionsCheckPanelView objects described in the step 26 represent authority application prompting Frame.
And user does authority selection operation to View objects in the step S27, i.e., PermissionsCheckPanelView objects have realized OnItemClickListener and OnTouchListener interfaces, To respond the selection operation of user.
Specific implementation process is as follows:
During Android device structural regime column PhoneStatusBar, a customized View object is instantiated PermissionsCheckPanelView, the object represent authority application prompting frame.The View objects are again simultaneously One member variable of CheckPermissionCallback classes.
By IOnCallbackAddRequest interfaces class by AppOpsService and CheckPermissionCallback is connected, and is communicated between the two by binder.Operated when having permission request When, AppOpsService askOperationLocked methods are called, and are called in askOperationLocked methods OnAddRequest methods in IOnCallbackAddRequest interfaces, and then communicated and called by binder The onAddRequest methods in CheckPermissionCallback, CheckPermissionCallback is to this OnAddRequest methods are realized, realize to be transmission message MSG_CTRLALL_PERMISSION_CHECK_PANEL, A PermissionsCheckPanelView object is constructed in the processing of the message and is shown.Should PermissionsCheckPanelView objects represent authority application prompting frame.PermissionsCheckPanelView pairs As having realized OnItemClickListener and OnTouchListener interfaces, the selection operation of user can be responded.
Embodiment 2
As shown in figure 3, on the basis of embodiment 1, present invention also offers a kind of Android application rights management system, bag Include:
Licensing status changes monitoring unit, real-time active sniffing response licensing status change;And changed with licensing status The connected prompting View menus ejection selecting unit of monitoring unit, the prompting View menus ejection selecting unit are suitable to according to prison The modification information heard is reacted, i.e., all authority requests prompting View is ejected in the form of List by status bar, Operate for selection by the user.
The Android application rights management system also includes:The self-defined units of View, the self-defined units of View are suitable to In Android device structural regime column PhoneStatusBar, a customized View object is instantiated PermissionsCheckPanelView, to represent authority application prompting frame, while the View objects are also adapted as One member variable of CheckPermissionCallback classes.
Further, the response of the active sniffing in real time licensing status change, i.e., connect by IOnCallbackAddRequest Mouth class connects AppOpsService and CheckPermissionCallback, is led between the two by binder Letter.
Also, eject the specific works step of selecting unit in embodiment 1 on prompting View menus in the present embodiment It has been be elaborated that, repeated no more here.
The Android application rights management method and system of the present invention are carried using customized View as authority prompt message Body, the fluency using operation is ensure that, and multiple authority applications prompting of an application is put into a List and shown, User is allowed to choose at random operation order.
It is complete by above-mentioned description, relevant staff using the above-mentioned desirable embodiment according to the present invention as enlightenment Various changes and amendments can be carried out without departing from the scope of the technological thought of the present invention' entirely.The technology of this invention Property scope is not limited to the content on specification, it is necessary to determines its technical scope according to right.

Claims (7)

  1. A kind of 1. Android application rights management method, it is characterised in that including:
    Step S0, it is self-defined to View progress, including:During Android device structural regime column PhoneStatusBar, instantiation one Individual customized View objects PermissionsCheckPanelView, to represent authority application prompting frame, while this View pairs A member variable as being also adapted as CheckPermissionCallback classes;
    Step S1, real-time active sniffing response licensing status change;
    Step S2, reacted according to the modification information listened to, prompt all authority requests to View all with List shape Formula is ejected by status bar, is operated for selection by the user.
  2. 2. Android application rights management method according to claim 1, it is characterised in that in the step S1 in real time actively The method of snoop responses licensing status change includes:
    AppOpsService and CheckPermissionCallback is connected by IOnCallbackAddRequest interfaces class Pick up and, communicated between the two by binder.
  3. 3. Android application rights management method according to claim 2, it is characterised in that
    The step of being reacted in the step S2 according to the modification information listened to includes:
    Step S21, third-party application application operating right;
    Step S22, AppOpsService intercept application operating;
    Step S23, onAddRequest method is called;
    Step S24, the onAddRequest methods in CheckPermissionCallback are called by binder;
    Step S25, send MSG_CTRLALL_PERMISSION_CHECK_PANEL message;
    Step S26, in the processing of MSG_CTRLALL_PERMISSION_CHECK_PANEL message, construction is customized PermissionsCheckPanelView objects are simultaneously shown;
    Step S27, user do authority selection operation to View objects.
  4. 4. Android application rights management method according to claim 3, it is characterised in that described in the step S 26 PermissionsCheckPanelView objects represent authority application prompting frame.
  5. 5. Android application rights management method according to claim 4, it is characterised in that user couple in the step S27 View objects do authority selection operation, i.e. PermissionsCheckPanelView objects have been realized OnItemClickListener and OnTouchListener interfaces, to respond the selection operation of user.
  6. A kind of 6. Android application rights management system, it is characterised in that including:
    The self-defined units of View,
    The self-defined units of View are suitable in Android device structural regime column PhoneStatusBar, and instantiation one is made by oneself The View object PermissionsCheckPanelView of justice, to represent authority application prompting frame, while the View objects are also suitable In a member variable as CheckPermissionCallback classes;
    Licensing status changes monitoring unit, real-time active sniffing response licensing status change;
    The prompting View menus being connected with licensing status change monitoring unit eject selecting unit, the prompting View menus ejection Selecting unit is suitable to be reacted according to the modification information listened to, prompts all authority requests to View all with List shape Formula is ejected by status bar, is operated for selection by the user.
  7. 7. Android application rights management system according to claim 6, it is characterised in that the active sniffing response in real time Licensing status changes, i.e., by IOnCallbackAddRequest interfaces class by AppOpsService and CheckPermissionCallback is connected, and is communicated between the two by binder.
CN201510489097.1A 2015-08-11 2015-08-11 A kind of Android application rights management method and management system Active CN105184148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510489097.1A CN105184148B (en) 2015-08-11 2015-08-11 A kind of Android application rights management method and management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510489097.1A CN105184148B (en) 2015-08-11 2015-08-11 A kind of Android application rights management method and management system

Publications (2)

Publication Number Publication Date
CN105184148A CN105184148A (en) 2015-12-23
CN105184148B true CN105184148B (en) 2018-04-10

Family

ID=54906222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510489097.1A Active CN105184148B (en) 2015-08-11 2015-08-11 A kind of Android application rights management method and management system

Country Status (1)

Country Link
CN (1) CN105184148B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426754B (en) * 2015-11-13 2018-04-27 上海斐讯数据通信技术有限公司 A kind of right management method and system
CN105657550A (en) * 2016-02-04 2016-06-08 四川长虹电器股份有限公司 Audio and video security permission management system in Android television system
CN106355084B (en) * 2016-08-31 2019-08-20 上海斐讯数据通信技术有限公司 Android group right management method and system based on callback mechanism
CN106897604A (en) * 2017-03-01 2017-06-27 福建中金在线信息科技有限公司 A kind of authority adaptation method and device
CN111209559B (en) * 2019-12-23 2022-02-15 东软集团股份有限公司 Permission processing method and device of application program, storage medium and electronic equipment
CN113792328A (en) * 2021-08-12 2021-12-14 荣耀终端有限公司 Authority management method, user interface and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268451A (en) * 2013-06-08 2013-08-28 上海斐讯数据通信技术有限公司 Dynamic permission management system based on mobile terminal
CN103679007A (en) * 2013-12-19 2014-03-26 深圳全智达通信股份有限公司 Method and device for managing application program permission and mobile device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120124061A1 (en) * 2010-11-12 2012-05-17 Microsoft Corporation Rich Search Over and Deep Integration with Applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268451A (en) * 2013-06-08 2013-08-28 上海斐讯数据通信技术有限公司 Dynamic permission management system based on mobile terminal
CN103679007A (en) * 2013-12-19 2014-03-26 深圳全智达通信股份有限公司 Method and device for managing application program permission and mobile device

Also Published As

Publication number Publication date
CN105184148A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN105184148B (en) A kind of Android application rights management method and management system
US20220142552A1 (en) Platform for secure communications with medical device
CN105210042B (en) Internet protocol threatens protection
US10678913B2 (en) Apparatus and method for enhancing security of data on a host computing device and a peripheral device
CA2898048C (en) Method and system for configuring selection of contextual dashboards
US20150287295A1 (en) Smart Emergency Exit Signs
WO2012173832A3 (en) Context aware application model for connected devices
CN104243479A (en) Peripheral integration device and method
US20170185785A1 (en) System, method and apparatus for detecting vulnerabilities in electronic devices
WO2018094105A3 (en) Systems and methods for hybrid swarm intelligence
CN106573376A (en) Activity monitoring of a robot
WO2015019104A3 (en) Access and control authorisation system
CN108600078A (en) A kind of method and terminal of communication
Poulsen et al. Cybersecurity, value sensing robots for LGBTIQ+ elderly, and the need for revised codes of conduct
US11775625B2 (en) Alert task processing method, terminal, and computer-readable storage medium
CN104521217A (en) A method for establishing an authorized communication between a physical object and a communication device
CN109118710A (en) Auxiliary realizes the method and apparatus and its expansion for obtaining protection when a kind of dangerous
CN105740677B (en) A kind of method for start-up and shutdown, system and intelligent mobile terminal
US9146889B2 (en) Method and device for sending and receiving data
CN103996100A (en) Traditional Chinese medicinal material storage monitoring system and method based on cloud computing
CN104007896B (en) A kind of information processing method and electronic equipment
WO2017112288A3 (en) Technologies for managing a treatment program using smart pills
JP2018504155A5 (en)
CN107644163A (en) A kind of multi-user sends a notice the method and device of prompting message
CN109313578A (en) The Distributed Application Performance specifically supported based on the equipment to platform-independent functions of the equipments

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
TR01 Transfer of patent right

Effective date of registration: 20201120

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co., Ltd

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201217

Address after: 8319 Yanshan Road, Bengbu City, Anhui Province

Patentee after: Bengbu Lichao Information Technology Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co., Ltd

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210310

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 8319 Yanshan Road, Bengbu City, Anhui Province

Patentee before: Bengbu Lichao Information Technology Co.,Ltd.

TR01 Transfer of patent right