CN106462696A - Authority controlling method and device - Google Patents

Authority controlling method and device Download PDF

Info

Publication number
CN106462696A
CN106462696A CN201680000873.XA CN201680000873A CN106462696A CN 106462696 A CN106462696 A CN 106462696A CN 201680000873 A CN201680000873 A CN 201680000873A CN 106462696 A CN106462696 A CN 106462696A
Authority
CN
China
Prior art keywords
authority
application
screen locking
disabling
locking
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
Application number
CN201680000873.XA
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Publication of CN106462696A publication Critical patent/CN106462696A/en
Pending legal-status Critical Current

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
    • 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 provides an authority controlling method and device, belonging to the technical field of computers. The method comprises: obtaining a lock-screen disabling request sent by an application; checking whether the application has the lock-screen disabling authority which is the authority to disable a lock-screen interface; and prohibiting the application to disable the lock-screen interface if the application does not have the lock-screen disabling authority. As the lock-screen disabling authority is added, only applications with the lock-screen disabling authority are allowed to disable the lock-screen interface, so that the applications without permission cannot overuse the lock-screen disabling function, thereby avoiding influence to user operations and improving the system performance.

Description

Authority control method and device
Technical field
It relates to field of computer technology, particularly to a kind of authority control method and device.
Background technology
At present, the terminal unit of such as mobile phone, panel computer etc generally all possesses screen locking function.
Screen locking function is screen locking function.When the screen of terminal unit is in screen lock state, user cannot be to end The application installed in end equipment carries out normal operating.When the screen of terminal unit is in screen lock state, screen locking circle will be shown Face, after user inputs password (as numeral, track, fingerprint etc.) in locking screen interface, if terminal unit checking user input Password correct, then released state is switched to by screen lock state.When the screen of terminal unit is in released state, user Normal operating is carried out to the application installed in terminal unit.
In the related, the operating system of terminal unit is provided with the function of closing locking screen interface, some applications exploitings This function can replace locking screen interface using default interface and be shown.
Content of the invention
The embodiment of the present disclosure provides a kind of authority control method and device.Described technical scheme is as follows:
A kind of first aspect according to the embodiment of the present disclosure, there is provided authority control method, methods described includes:
Obtain the disabling screen locking request that application sends;
Detect whether described application possesses disabling screen locking authority;Wherein, described disabling screen locking authority refers to disable screen locking circle The authority in face;
If described application does not possess described disabling screen locking authority, forbid that described application disables described locking screen interface.
Alternatively, whether the described application of described detection possesses disabling screen locking authority, including:
Call the authority detection method of application rights management device, detect request to described authority detection method sending permission; Wherein, carry the mark of described application in described authority detection request, described authority detection method is used for from described application permission Inquiry in manager obtains whether described application possesses described disabling screen locking authority;
Obtain the authority testing result that described authority detection method returns;Wherein, described authority testing result is:Described should With possessing described disabling screen locking authority, or, described application does not possess described disabling screen locking authority.
Alternatively, methods described also includes:
The mark of described application is obtained from described disabling screen locking request;
Wherein, the mark of described application includes:UID (User corresponding to the bag name of described application and current system Identification, individual subscriber identity code).
Alternatively, the described disabling screen locking request obtaining application transmission, including:
Obtain the closing screen locking request that described application sends, described closing screen locking asks to close described screen locking circle for request Face;
Or,
Obtain the hiding screen locking request that described application sends, described hiding screen locking is asked for asking to hide described screen locking circle Face.
Alternatively, described forbid that described application disables described locking screen interface, including:
Terminate execution described disabling screen locking request.
Alternatively, methods described also includes:
Receive the recommendation switch setting of the described disabling screen locking authority of described application that cloud server sends, described recommendation Switch setting by described cloud server according to for described application open described disabling screen locking authority number of users and be described The number of users that described disabling screen locking authority is closed in application determines;
Described application is set to according to described recommendation switch and is turned on and off described disabling screen locking authority.
A kind of second aspect according to the embodiment of the present disclosure, there is provided permission control device, described device includes:
Acquisition request module, is configured to obtain the disabling screen locking request that application sends;
Authority detection module, is configured to detect whether described application possesses disabling screen locking authority;Wherein, described forbidden lock Screen authority refers to disable the authority of locking screen interface;
Disabled module, when being configured as described application and not possessing described disabling screen locking authority, forbids described application disabling Described locking screen interface.
Alternatively, described authority detection module, including:
Call submodule, be configured to call the authority detection method of application rights management device, to described authority detection side The detection request of method sending permission;Wherein, the mark of described application, described authority detection method are carried in described authority detection request Obtain whether described application possesses described disabling screen locking authority for inquiry from described application rights management device;
Acquisition submodule, is configured to obtain the authority testing result that described authority detection method returns;Wherein, described power Limiting testing result is:Described application possesses described disabling screen locking authority, or, described application does not possess described disabling screen locking power Limit.
Alternatively, described device also includes:
Identifier acquisition module, is configured to obtain the mark of described application from described disabling screen locking request;
Wherein, the mark of described application includes:UID corresponding to the bag name of described application and current system.
Alternatively, described acquisition request module, is configured to:
Obtain the closing screen locking request that described application sends, described closing screen locking asks to close described screen locking circle for request Face;
Or,
Obtain the hiding screen locking request that described application sends, described hiding screen locking is asked for asking to hide described screen locking circle Face.
Alternatively, described disabled module, is configured to terminate execution described disabling screen locking request.
Alternatively, described device also includes:
Setting receiver module, is configured to receive the described disabling screen locking authority of described application that cloud server sends Recommend to switch setting, described recommendation switch setting is weighed according to for described application unlatching described disabling screen locking by described cloud server The number of users of limit and the number of users closing described disabling screen locking authority for described application determine;
Authority switch module, is configured to be set to described application and be turned on and off described disabling according to described recommendation switch Screen locking authority.
A kind of third aspect according to the embodiment of the present disclosure, there is provided permission control device, described device includes:
Processor;
For storing the memorizer of the executable instruction of described processor;
Wherein, described processor is configured to:
Obtain the disabling screen locking request that application sends;
Detect whether described application possesses disabling screen locking authority;Wherein, described disabling screen locking authority refers to disable screen locking circle The authority in face;
If described application does not possess described disabling screen locking authority, forbid that described application disables described locking screen interface.
The technical scheme that the embodiment of the present disclosure provides can include following beneficial effect:
By, after getting the disabling screen locking request that application sends, detecting whether this application possesses disabling screen locking power Limit, if detecting, this application does not possess disabling screen locking authority, forbids this application disabling locking screen interface;Due to increased forbidden lock Screen authority, only allows the application disabling locking screen interface possessing this disabling screen locking authority, it is to avoid application abuse disabling without permission The function of locking screen interface, it is to avoid impact user operation, provides systematic function.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of flow chart of the authority detection method according to an exemplary embodiment;
Fig. 2A is a kind of block diagram of the permission control device according to an exemplary embodiment;
Fig. 2 B is a kind of block diagram of the permission control device implementing to exemplify according to another exemplary;
Fig. 3 is a kind of block diagram of the device according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
In the related, because operating system provides, to application, the function of closing locking screen interface, but not to use The authority of this function is controlled, and leads to certain applications to abuse this function, impact user operation and systematic function.For example, certain should With locking screen interface can be replaced using the simulation locking screen interface of itself, and add advertisement in simulation locking screen interface.Based on this, The embodiment of the present disclosure provides a kind of authority control method, and the device based on this method, to solve in above-mentioned correlation technique The problem existing.The technical scheme that the embodiment of the present disclosure provides, core concept is in application rights management device (Application Operations Manager) middle increase disabling screen locking authority, disable screen locking authority and refer to disable the authority of locking screen interface.Pass through Application rights management device is managed to whether each application installed in terminal unit possesses this authority, only allows possess this taboo Disable locking screen interface with the application of screen locking authority, it is to avoid the function of application abuse disabling locking screen interface without permission.
The method that the embodiment of the present disclosure provides, the executive agent of each step can be terminal unit, such as mobile phone, flat board electricity Brain, E-book reader, multimedia play equipment, PDA (Personal Digital Assistant, personal digital assistant), Wearable device etc..In the disclosed embodiments, the type of the operating system of terminal unit is not construed as limiting, such as Android (peace Tall and erect) operating system, iOS operating system, Windows Phone operating system etc..
Fig. 1 is a kind of flow chart of the authority detection method according to an exemplary embodiment.The method can be applicable to In terminal unit.The method can include several steps as follows:
In a step 101, obtain the disabling screen locking request that application sends.
When application needs to disable locking screen interface, send disabling screen locking request to system service, disabling screen locking asks to be used for Request disabling locking screen interface.In the disclosed embodiments, the species of application is not construed as limiting, it can be installed in terminal unit The types of applications program run, such as social networking application, call communication applications, net purchase pay application, the application of personal consumption class, audio-visual broadcast Put application, safety antivirus application, browser etc..In the disclosed embodiments, system service can be window management service, such as The WindowManagerService of android system, window management service can be controlled to locking screen interface and externally carry It is provided with the interface of screen locking control.
Alternatively, disabling screen locking request bag includes the possible situation of the following two kinds:
1st, obtain the closing screen locking request that application sends, close screen locking and ask to close locking screen interface for request;
Taking android system as a example, window management service is provided with WindowManagerService.disableKeyguard method, application can be sent out by calling party's normal direction window management service Send closing screen locking request.
2nd, obtain the hiding screen locking request that application sends, hiding screen locking is asked for asking to hide locking screen interface.
Taking android system as a example, window management service is provided with WindowManagerService.dismissKeyguard method, application can be sent out by calling party's normal direction window management service Send hiding screen locking request.
In the disclosed embodiments, close locking screen interface and refer to not show locking screen interface;Hiding locking screen interface refers to still Display locking screen interface, but locking screen interface is invisible for a user, for example, the transparency of locking screen interface is set to all-transparent.
In a step 102, whether detection application possesses disabling screen locking authority.
After system service gets the disabling screen locking request that application sends, detect whether this application possesses disabling screen locking power Limit.Wherein, disabling screen locking authority refers to disable the authority of locking screen interface.In one example, disabling screen locking authority refers to close The authority of locking screen interface.In another example, disabling screen locking authority refers to hide the authority of locking screen interface.In another example, Disabling screen locking authority refers to closing or the authority of hiding locking screen interface.
In the disclosed embodiments, by increasing disabling screen locking authority in advance in application rights management device so that system Rights management can be carried out to the function of disabling locking screen interface.Exemplarily, disable the entitled OP_DISMISS_ of screen locking authority KEYGUARD, the mark (being also referred to as worth) of disabling screen locking authority is 10022, for this authority of unique mark.In application permission pipe In reason device, the mark corresponding to different authorities is also different.
Alternatively, this step can include several sub-steps as follows:
1st, call the authority detection method of application rights management device, detect request to authority detection method sending permission;
Wherein, carry the mark of application in authority detection request, the mark of application is used for one application of unique mark.Optional Ground, the mark of application includes:UID corresponding to the bag name (packagename) of application and current system.Application bag name and work as UID corresponding to front system can the application of one of unique mark current system, even terminal unit supports multisystem, also can Enough applications system being made a distinction, accurately sending request in determination current system.In addition, application can be in disabling screen locking request Carry the mark of application, correspondingly, system service can obtain the mark of application from disabling screen locking request.
Authority detection method is used for inquiry from application rights management device and obtains whether application possesses disabling screen locking authority.With As a example android system, WindowManagerService can call AppOpsManager.checkOpNoThrow method, and Send the authority detection request of the mark carrying application to the method.
2nd, obtain the authority testing result that authority detection method returns;
Wherein, authority testing result is:Application possesses disabling screen locking authority, or, application does not possess disabling screen locking authority. Still taking android system as a example, after AppOpsManager.checkOpNoThrow method is called, according to the mark of application Know, inquiry from application rights management device obtains whether application possesses disabling screen locking authority.If application possesses disabling screen locking authority, Then AppOpsManager.checkOpNoThrow method returns for indicating the letter possessing to WindowManagerService Breath;If application do not possess disabling screen locking authority, AppOpsManager.checkOpNoThrow method to WindowManagerService returns for indicating the information not possessed.
In one example, closed as a example locking screen interface by application request, for realizing whether detection application possesses disabling The example code of screen locking authority is as follows:
In step 103, if application does not possess disabling screen locking authority, forbid application disabling locking screen interface.
If application does not possess disabling screen locking authority, application disabling locking screen interface is forbidden in system service.That is, system service Forbid that application is closed or hiding locking screen interface.
In one example, if application does not possess disabling screen locking authority, system service terminates execution disabling screen locking request, Do not execute follow-up closing or the logic of hiding locking screen interface.
In addition, if application possesses disabling screen locking authority, system service is according to original normal process flow process to forbidden lock Screen request is processed, the logic of the follow-up closing of execution or hiding locking screen interface.
In sum, the method that the present embodiment provides, by, after getting the disabling screen locking request that application sends, examining Survey whether this application possesses disabling screen locking authority, this application does not possess disabling screen locking authority if detecting, forbids that this application is prohibited Use locking screen interface;Due to increased disabling screen locking authority, only allow the application disabling locking screen interface possessing this disabling screen locking authority, Avoid the function of application abuse disabling locking screen interface without permission, it is to avoid impact user operation, systematic function is provided.
It should be added that, application whether possess disabling screen locking authority, can be arranged by system default, also can by with The self-defined setting in family.
Alternatively, can count respectively in the cloud server corresponding to operating system and open/close disabling for each application The number of users of screen locking authority.For a certain application, cloud server counts opens disabling screen locking authority for this application Number of users and the number of users closing disabling screen locking authority for this application, determine the disabling of this application according to above-mentioned statistical result The recommendation switch setting of screen locking authority.Exemplarily, cloud server is according to the user opening disabling screen locking authority for this application Quantity and the ratio closing the number of users disabling screen locking authority, determine that the recommendation switch of the disabling screen locking authority of this application sets Put.After this application of installing terminal equipment, the recommendation switch setting of the disabling screen locking authority that this can be applied by cloud server It is sent to terminal unit;Correspondingly, terminal unit receives the recommendation of the disabling screen locking authority of this application that cloud server sends Switch setting.Switch setting is recommended to refer to that recommendation is turned on and off disabling screen locking authority.Terminal unit is according to recommendation switch setting It is turned on and off disabling screen locking authority for application.In one example, terminal unit is arranged automatically according to this recommendation switch setting It is turned on and off disabling screen locking authority for this application.For example, if recommending switch to be set on, terminal unit is that application is opened Disabling screen locking authority;If recommending switch to be set off, terminal unit is that disabling screen locking authority is closed in application.In another example In, this recommendation switch setting is shown by terminal unit, is set with reference to this recommendation switch setting and itself actual demand by user It is set to this application to be turned on and off disabling screen locking authority, terminal unit obtains the priority assignation instruction of user setup, according to user The priority assignation of setting is designated as application and is turned on and off disabling screen locking authority.In addition, cloud server can be pacified in terminal unit The recommendation switch setting of the disabling screen locking authority of this application after dress application, is sent to terminal unit;Cloud server also can be every Send the recommendation switch setting of the disabling screen locking authority of this application every predetermined time interval to terminal unit.
In one example, for a certain application, if the number of users that disabling screen locking authority is opened in this application is big In closing the number of users disabling screen locking authority for this application, then cloud server determines pushing away of the disabling screen locking authority of this application Recommend switch to be set on;If the number of users that disabling screen locking authority is opened in this application is less than as this application closing disabling screen locking The number of users of authority, then cloud server determine this application disabling screen locking authority recommendation switch be set off.
In another example, for a certain application, if the number of users that disabling screen locking authority is opened in this application accounts for The ratio of total number of users is more than first threshold, then cloud server determines the recommendation switch setting of the disabling screen locking authority of this application For opening;If the number of users that disabling screen locking authority is opened in this application accounts for the ratio of total number of users less than Second Threshold, then cloud End server determines that the recommendation switch of the disabling screen locking authority of this application is set off.Wherein, first threshold is equal to the second threshold Value, or, first threshold is more than Second Threshold.Total number of users refer to for this application open disabling screen locking authority number of users with Close the summation of the number of users of disabling screen locking authority for this application.
In addition, the switch of the disabling screen locking authority for the ease of user's adjustment application.Can in the system setting of terminal unit The switch control of the corresponding disabling screen locking authority increasing each application, carries out self-defined setting in order to user by this switch control Put.For example, increase above-mentioned switch control in setting function empowerment management application of function rights management function, user passes through Adjust switch control just to be turned on and off disabling screen locking authority for application.
Following for disclosure device embodiment, can be used for executing method of disclosure embodiment.Real for disclosure device Apply the details not disclosed in example, refer to method of disclosure embodiment.
Fig. 2A is a kind of block diagram of the permission control device according to an exemplary embodiment.This device has in realization State the function of method example, described function can be realized by hardware realizing it is also possible to execute corresponding software by hardware.This device Can include:Acquisition request module 210, authority detection module 220 and disabled module 230.
Acquisition request module 210, is configured to obtain the disabling screen locking request that application sends.
Authority detection module 220, is configured to detect whether described application possesses disabling screen locking authority.Wherein, described taboo Refer to disable the authority of locking screen interface with screen locking authority.
Disabled module 230, when being configured as described application and not possessing described disabling screen locking authority, forbids that described application is prohibited Use described locking screen interface.
In sum, the device that the present embodiment provides, by, after getting the disabling screen locking request that application sends, examining Survey whether this application possesses disabling screen locking authority, this application does not possess disabling screen locking authority if detecting, forbids that this application is prohibited Use locking screen interface;Due to increased disabling screen locking authority, only allow the application disabling locking screen interface possessing this disabling screen locking authority, Avoid the function of application abuse disabling locking screen interface without permission, it is to avoid impact user operation, systematic function is provided.
In the alternative embodiment being provided based on Fig. 2A illustrated embodiment, as shown in Figure 2 B, described authority detects mould Block 220, including:Call submodule 220a and acquisition submodule 220b.
Call submodule 220a, be configured to call the authority detection method of application rights management device, to the inspection of described authority The detection request of survey method sending permission.Wherein, the mark of described application, described authority detection are carried in described authority detection request Method is used for inquiry from described application rights management device and obtains whether described application possesses described disabling screen locking authority.
Acquisition submodule 220b, is configured to obtain the authority testing result that described authority detection method returns.Wherein, institute Stating authority testing result is:Described application possesses described disabling screen locking authority, or, described application does not possess described disabling screen locking Authority.
In another alternative embodiment being provided based on Fig. 2A illustrated embodiment, as shown in Figure 2 B, described device also includes: Identifier acquisition module 240.
Identifier acquisition module 240, is configured to obtain the mark of described application from described disabling screen locking request.Wherein, The mark of described application includes:UID corresponding to the bag name of described application and current system.
In another alternative embodiment being provided based on Fig. 2A illustrated embodiment, as shown in Figure 2 B, described acquisition request mould Block 210, is configured to:Obtain the closing screen locking request that described application sends, described closing screen locking asks to close institute for request State locking screen interface;Or, obtain the hiding screen locking request that described application sends, described hiding screen locking is asked for asking to hide institute State locking screen interface.
In another alternative embodiment being provided based on Fig. 2A illustrated embodiment, as shown in Figure 2 B, described disabled module 230, it is configured to terminate execution described disabling screen locking request.
In another alternative embodiment being provided based on Fig. 2A illustrated embodiment, described device also includes:Setting receives mould Block and authority switch module.
Setting receiver module, is configured to receive the described disabling screen locking authority of described application that cloud server sends Recommend to switch setting, described recommendation switch setting is weighed according to for described application unlatching described disabling screen locking by described cloud server The number of users of limit and the number of users closing described disabling screen locking authority for described application determine.
Authority switch module, is configured to be set to described application and be turned on and off described disabling according to described recommendation switch Screen locking authority.
It should be noted is that, above-described embodiment provide device when realizing its function, only with each function above-mentioned The division of module is illustrated, and in practical application, can distribute above-mentioned functions by different work(according to actual needs Module can complete, the content structure of equipment will be divided into different functional modules, with complete described above all or portion Divide function.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The disclosure one exemplary embodiment additionally provides a kind of permission control device, is capable of the authority of disclosure offer Control method.This device includes:Processor, and for storing the memorizer of the executable instruction of processor.Wherein, processor It is configured to:
Obtain the disabling screen locking request that application sends;
Detect whether described application possesses disabling screen locking authority;Wherein, described disabling screen locking authority refers to disable screen locking circle The authority in face;
If described application does not possess described disabling screen locking authority, forbid that described application disables described locking screen interface.
Alternatively, processor is configured to:
Call the authority detection method of application rights management device, detect request to described authority detection method sending permission; Wherein, carry the mark of described application in described authority detection request, described authority detection method is used for from described application permission Inquiry in manager obtains whether described application possesses described disabling screen locking authority;
Obtain the authority testing result that described authority detection method returns;Wherein, described authority testing result is:Described should With possessing described disabling screen locking authority, or, described application does not possess described disabling screen locking authority.
Alternatively, processor is additionally configured to:
The mark of described application is obtained from described disabling screen locking request;
Wherein, the mark of described application includes:UID corresponding to the bag name of described application and current system.
Alternatively, processor is configured to:
Obtain the closing screen locking request that described application sends, described closing screen locking asks to close described screen locking circle for request Face;
Or,
Obtain the hiding screen locking request that described application sends, described hiding screen locking is asked for asking to hide described screen locking circle Face.
Alternatively, processor is configured to:
Terminate execution described disabling screen locking request.
Alternatively, processor is additionally configured to:
Receive the recommendation switch setting of the described disabling screen locking authority of described application that cloud server sends, described recommendation Switch setting by described cloud server according to for described application open described disabling screen locking authority number of users and be described The number of users that described disabling screen locking authority is closed in application determines;
Described application is set to according to described recommendation switch and is turned on and off described disabling screen locking authority.
Fig. 3 is a kind of block diagram of the device 300 according to an exemplary embodiment.For example, device 300 can be mobile Phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, body-building equipment, Personal digital assistant etc..
With reference to Fig. 3, device 300 can include following one or more assemblies:Process assembly 302, memorizer 304, power supply Assembly 306, multimedia groupware 308, audio-frequency assembly 310, input/output (I/O) interface 312, sensor cluster 314, Yi Jitong Letter assembly 316.
The integrated operation of the usual control device 300 of process assembly 302, such as with display, call, data communication, phase Machine operation and record operate associated operation.Process assembly 302 can include one or more processors 320 and refer to execute Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 302 can include one or more modules, just Interaction between process assembly 302 and other assemblies.For example, process assembly 302 can include multi-media module, many to facilitate Interaction between media component 308 and process assembly 302.
Memorizer 304 is configured to store various types of data to support the operation in device 300.The showing of these data Example includes the instruction of any application program for operating on the device 300 or method, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 304 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 306 provides electric power for the various assemblies of device 300.Power supply module 306 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 300, the assembly that electric power is associated.
Multimedia groupware 308 includes the screen of one output interface of offer between described device 300 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or sliding action Border, but also detection and described touch or slide related persistent period and pressure.In certain embodiments, many matchmakers Body assembly 308 includes a front-facing camera and/or post-positioned pick-up head.When device 300 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 310 is configured to output and/or input audio signal.For example, audio-frequency assembly 310 includes a Mike Wind (MIC), when device 300 is in operator scheme, during as call model, logging mode and speech recognition mode, mike is joined It is set to reception external audio signal.The audio signal being received can be further stored in memorizer 304 or via communication set Part 316 sends.In certain embodiments, audio-frequency assembly 310 also includes a speaker, for exports audio signal.
, for providing interface between process assembly 302 and peripheral interface module, above-mentioned peripheral interface module can for I/O interface 312 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 314 includes one or more sensors, for providing the state of various aspects to comment for device 300 Estimate.For example, sensor cluster 314 can detect/the closed mode of opening of device 300, and the relative localization of assembly is for example described Assembly is display and the keypad of device 300, and sensor cluster 314 can be with detection means 300 or 300 1 assemblies of device Position change, user is presence or absence of with what device 300 contacted, device 300 orientation or acceleration/deceleration and device 300 Temperature change.Sensor cluster 314 can include proximity transducer, is configured to the detection when not having any physical contact The presence of object nearby.Sensor cluster 314 can also include optical sensor, such as CMOS or ccd image sensor, for becoming Use as in application.In certain embodiments, this sensor cluster 314 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 316 is configured to facilitate the communication of wired or wireless way between device 300 and other equipment.Device 300 can access the wireless network based on communication standard, such as Wi-Fi, 2G or 3G, or combinations thereof.In an exemplary reality Apply in example, communication component 316 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel Breath.In one exemplary embodiment, described communication component 316 also includes near-field communication (NFC) module, to promote short distance to lead to Letter.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) can be based in NFC module Technology, bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 300 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 304 instructing, above-mentioned instruction can be executed by the processor 320 of device 300 to complete said method.For example, Described non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in described storage medium is by the process of device 300 So that device 300 is able to carry out said method during device execution.
It should be appreciated that referenced herein " multiple " refer to two or more."and/or", description association The incidence relation of object, represents there may be three kinds of relations, for example, A and/or B, can represent:, there is A in individualism A simultaneously And B, these three situations of individualism B.Character "/" typically represent forward-backward correlation to as if a kind of relation of "or".
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (13)

1. a kind of authority control method is it is characterised in that methods described includes:
Obtain the disabling screen locking request that application sends;
Detect whether described application possesses disabling screen locking authority;Wherein, described disabling screen locking authority refers to disable locking screen interface Authority;
If described application does not possess described disabling screen locking authority, forbid that described application disables described locking screen interface.
2. method according to claim 1 is it is characterised in that whether the described application of described detection possesses disabling screen locking power Limit, including:
Call the authority detection method of application rights management device, detect request to described authority detection method sending permission;Wherein, The mark of described application is carried, described authority detection method is used for from described application rights management device in described authority detection request Middle inquiry obtains whether described application possesses described disabling screen locking authority;
Obtain the authority testing result that described authority detection method returns;Wherein, described authority testing result is:Described answer apparatus Standby described disabling screen locking authority, or, described application does not possess described disabling screen locking authority.
3. method according to claim 2 is it is characterised in that methods described also includes:
The mark of described application is obtained from described disabling screen locking request;
Wherein, the mark of described application includes:Individual subscriber identification corresponding to the bag name of described application and current system Code UID.
4. the method according to any one of claims 1 to 3 is it is characterised in that the disabling screen locking sending is applied in described acquisition Request, including:
Obtain the closing screen locking request that described application sends, described closing screen locking asks to close described locking screen interface for request;
Or,
Obtain the hiding screen locking request that described application sends, described hiding screen locking is asked for asking to hide described locking screen interface.
5. the method according to any one of Claims 1-4 is it is characterised in that described forbid that described application disables described lock Screen interface, including:
Terminate execution described disabling screen locking request.
6. the method according to any one of claim 1 to 5 is it is characterised in that methods described also includes:
Receive the recommendation switch setting of the described disabling screen locking authority of described application that cloud server sends, described recommendation switch Setting is by described cloud server according to opening the number of users of described disabling screen locking authority for described application and for described application The number of users closing described disabling screen locking authority determines;
Described application is set to according to described recommendation switch and is turned on and off described disabling screen locking authority.
7. a kind of permission control device is it is characterised in that described device includes:
Acquisition request module, is configured to obtain the disabling screen locking request that application sends;
Authority detection module, is configured to detect whether described application possesses disabling screen locking authority;Wherein, described disabling screen locking power Limit refers to disable the authority of locking screen interface;
Disabled module, when being configured as described application and not possessing described disabling screen locking authority, forbids that described application disabling is described Locking screen interface.
8. device according to claim 7 is it is characterised in that described authority detection module, including:
Call submodule, be configured to call the authority detection method of application rights management device, send out to described authority detection method Send authority detection request;Wherein, carry the mark of described application in described authority detection request, described authority detection method is used for Inquiry from described application rights management device obtains whether described application possesses described disabling screen locking authority;
Acquisition submodule, is configured to obtain the authority testing result that described authority detection method returns;Wherein, described authority inspection Surveying result is:Described application possesses described disabling screen locking authority, or, described application does not possess described disabling screen locking authority.
9. device according to claim 8 is it is characterised in that described device also includes:
Identifier acquisition module, is configured to obtain the mark of described application from described disabling screen locking request;
Wherein, the mark of described application includes:Individual subscriber identification corresponding to the bag name of described application and current system Code UID.
10. the device according to any one of claim 7 to 9, it is characterised in that described acquisition request module, is configured to:
Obtain the closing screen locking request that described application sends, described closing screen locking asks to close described locking screen interface for request;
Or,
Obtain the hiding screen locking request that described application sends, described hiding screen locking is asked for asking to hide described locking screen interface.
11. devices according to any one of claim 7 to 10 it is characterised in that
Described disabled module, is configured to terminate execution described disabling screen locking request.
12. devices according to any one of claim 7 to 11 are it is characterised in that described device also includes:
Setting receiver module, is configured to receive the recommendation of the described disabling screen locking authority of described application that cloud server sends Switch setting, described recommendation switch setting opens described disabling screen locking authority by described cloud server according to for described application Number of users and the number of users closing described disabling screen locking authority for described application determine;
Authority switch module, is configured to be set to described application and be turned on and off described disabling screen locking according to described recommendation switch Authority.
A kind of 13. permission control devices are it is characterised in that described device includes:
Processor;
For storing the memorizer of the executable instruction of described processor;
Wherein, described processor is configured to:
Obtain the disabling screen locking request that application sends;
Detect whether described application possesses disabling screen locking authority;Wherein, described disabling screen locking authority refers to disable locking screen interface Authority;
If described application does not possess described disabling screen locking authority, forbid that described application disables described locking screen interface.
CN201680000873.XA 2016-09-14 2016-09-14 Authority controlling method and device Pending CN106462696A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/099067 WO2018049611A1 (en) 2016-09-14 2016-09-14 Permission control method and device

Publications (1)

Publication Number Publication Date
CN106462696A true CN106462696A (en) 2017-02-22

Family

ID=58215241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680000873.XA Pending CN106462696A (en) 2016-09-14 2016-09-14 Authority controlling method and device

Country Status (2)

Country Link
CN (1) CN106462696A (en)
WO (1) WO2018049611A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933633A (en) * 2017-03-14 2017-07-07 北京奇虎科技有限公司 Right management method, device and mobile terminal
CN106991319A (en) * 2017-03-17 2017-07-28 维沃移动通信有限公司 The right management method and mobile terminal of a kind of application program
CN114173004A (en) * 2021-12-09 2022-03-11 北京安云世纪科技有限公司 Method, system, storage medium and computer equipment for intelligently regulating and controlling social application

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389503A (en) * 2014-08-18 2016-03-09 北京壹人壹本信息科技有限公司 Method and system for preventing lock screen applications and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150005352A (en) * 2013-07-05 2015-01-14 삼성전자주식회사 Apparatas and method for unlocking using for object in an electronic device
CN103744732A (en) * 2014-02-14 2014-04-23 贝壳网际(北京)安全技术有限公司 Method and device for skipping system screen locking
CN105607834B (en) * 2015-12-22 2019-02-12 小米科技有限责任公司 Screen control method, device and terminal
CN105718786A (en) * 2016-01-18 2016-06-29 成都中科创达软件有限公司 System lock screen protection method and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389503A (en) * 2014-08-18 2016-03-09 北京壹人壹本信息科技有限公司 Method and system for preventing lock screen applications and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933633A (en) * 2017-03-14 2017-07-07 北京奇虎科技有限公司 Right management method, device and mobile terminal
CN106991319A (en) * 2017-03-17 2017-07-28 维沃移动通信有限公司 The right management method and mobile terminal of a kind of application program
CN114173004A (en) * 2021-12-09 2022-03-11 北京安云世纪科技有限公司 Method, system, storage medium and computer equipment for intelligently regulating and controlling social application
CN114173004B (en) * 2021-12-09 2023-05-30 北京安云世纪科技有限公司 Method, system, storage medium and computer device for intelligent regulation and control of social application

Also Published As

Publication number Publication date
WO2018049611A1 (en) 2018-03-22

Similar Documents

Publication Publication Date Title
CN104601441B (en) For the authority control method and instant communication client of group chat
CN104216742B (en) Brush machine control method and device based on password
CN105574378A (en) Terminal control method and terminal control device
CN104503688A (en) Intelligent hardware device control achieving method and device
CN104765552A (en) Authority management method and device
CN105389516A (en) Sensitive picture reminding method and apparatus
CN104933351A (en) Information security processing method and information security processing device
CN106503513A (en) Method for recognizing sound-groove and device
CN104363205B (en) Using login method and device
CN106096964B (en) Payment method and device
CN106909827A (en) Using account management method and device
CN106557679A (en) Terminal control method and device
CN106446653A (en) Application authority management method and device and electronic equipment
EP3226128A1 (en) Method and device for online payment
CN104158665A (en) Method and device of verification
CN106471513A (en) Authority control method and device
CN106682463A (en) Unlocking method and device
CN106462696A (en) Authority controlling method and device
CN106462835A (en) Calendar event creation method and device
CN106537288B (en) The method and device of self-starting is applied in control
CN106462698A (en) Authority control method and authority control device
CN107656616A (en) Input interface displaying method, device, electronic equipment
CN105955635A (en) Interface display method and device
CN106791145A (en) Short message management method and device
CN106250724A (en) A kind of application control method, device and mobile device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222

RJ01 Rejection of invention patent application after publication