CN113805763A - Authority authorization method, device and storage medium - Google Patents
Authority authorization method, device and storage medium Download PDFInfo
- Publication number
- CN113805763A CN113805763A CN202010538038.XA CN202010538038A CN113805763A CN 113805763 A CN113805763 A CN 113805763A CN 202010538038 A CN202010538038 A CN 202010538038A CN 113805763 A CN113805763 A CN 113805763A
- Authority
- CN
- China
- Prior art keywords
- permission
- authority
- option
- authorization
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000013475 authorization Methods 0.000 title claims abstract description 143
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000004044 response Effects 0.000 claims abstract description 19
- 230000008569 process Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 12
- 238000007726 management method Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 244000062793 Sorghum vulgare Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 235000019713 millet Nutrition 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/105—Arrangements for software license management or administration, e.g. for managing licenses at corporate level
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Storage Device Security (AREA)
Abstract
The disclosure relates to a method, an apparatus and a storage medium for authorization of rights. The authority authorization method is applied to a terminal and comprises the following steps: responding to an application running on the terminal to apply a running authority use request, and determining whether authority information of the running authority use request has authority description; responding to the permission description in the permission information of the operation permission use request, and displaying a first permission authorization option on a display interface of the terminal; in response to the fact that no authority description exists in the authority information of the operation-time authority use request, displaying a second authority authorization option on a display interface of the terminal; the option contents in the first permission authorization option and the second permission authorization option are different, and the different option contents correspond to authorization management modes with different operation permissions. The method and the device have the advantages that more authorization options are provided for users, and the limitation is small.
Description
Technical Field
The present disclosure relates to the field of rights management services, and in particular, to a method and an apparatus for rights authorization and a storage medium.
Background
As more and more applications appear in terminals, these applications need to apply for run-time rights. The application authority application information is more and more perfect from the beginning of launching the operation authority, and the user can obtain the application authority use and state according to the pop-up box of the application authority.
When the application applies for the operating permission, the terminal can provide permission authorization options on a terminal display interface so as to provide a user with a selection authorization mode. In the related art, the authority option provided by the terminal to the user is too single to provide the user with a proper authorization option.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, an apparatus, and a storage medium for authorization of rights.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for authorization of rights, which is applied to a terminal, and includes:
responding to an application running on the terminal to apply a running authority use request, and determining whether authority information of the running authority use request has authority description; responding to the permission description in the permission information of the operation permission use request, and displaying a first permission authorization option on a display interface of the terminal; in response to the fact that no authority description exists in the authority information of the operation-time authority use request, displaying a second authority authorization option on a display interface of the terminal; the option contents in the first permission authorization option and the second permission authorization option are different, and the different option contents correspond to authorization management modes with different operation permissions.
In one embodiment, the option content in the first permission authorization option includes refusal, permission of the operation, permission all the time and permission only in use.
In one embodiment, the option content of the second permission authorization option includes refusal, permission of the operation and permission only in use.
In one embodiment, the determining whether the permission description exists in the permission information of the runtime permission use request includes:
responding to the permission information to obtain permission description, and determining that permission description exists in the operation permission; and determining that no authority description exists in the run-time authority in response to the fact that the authority description is not obtained by analyzing the authority information.
In one embodiment, the method further comprises:
and responding to the option content selected by the user on the display interface of the terminal, and controlling the operation permission to operate according to the authorization management mode corresponding to the option content.
In one implementation mode, the first authority authorization option or the second authority authorization option is displayed on a display interface of the terminal in a popup box mode.
According to a second aspect of the embodiments of the present disclosure, there is provided an authority authorization apparatus, applied to a terminal, including:
the determining module is used for responding to an application running on the terminal to apply a running authority using request and determining whether authority information of the running authority using request has authority description or not; the display module is used for responding to the permission description in the permission information of the permission use request in the running process and displaying a first permission authorization option on a display interface of the terminal; in response to the fact that no authority description exists in the authority information of the operation-time authority use request, displaying a second authority authorization option on a display interface of the terminal; the option contents in the first permission authorization option and the second permission authorization option are different, and the different option contents correspond to authorization management modes with different operation permissions.
In one embodiment, the option content in the first permission authorization option includes refusal, permission of the operation, permission all the time and permission only in use.
In one embodiment, the option content of the second permission authorization option includes refusal, permission of the operation and permission only in use.
In one embodiment, the determining module is configured to:
responding to the permission information to obtain permission description, and determining that permission description exists in the operation permission; and determining that no authority description exists in the run-time authority in response to the fact that the authority description is not obtained by analyzing the authority information.
In one embodiment, the apparatus further comprises: a control module;
and the control module is used for responding to the option content selected by the user on the display interface of the terminal and controlling the operation permission to operate according to the authorization management mode corresponding to the option content.
In one embodiment, the display module is configured to:
and displaying the first authority authorization option or the second authority authorization option on a display interface of the terminal in a popup frame mode.
According to a third aspect of the embodiments of the present disclosure, there is provided an authority authorization apparatus, including:
a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: the method for authorizing the right described in the first aspect or any one of the embodiments of the first aspect is performed.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the method for authorizing a right as described in the first aspect or any one of the implementation manners of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: and further determining the authorization option displayed by the terminal interface by determining the authority description in the authority when the application runs. The method can provide more authorization options for the user, has small limitation and improves the friendliness degree of permission application.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of rights authorization in accordance with an exemplary embodiment.
Fig. 2 is a flow chart illustrating a process for implementing a rights authorization method according to an exemplary embodiment.
Fig. 3 is a diagram illustrating a rights authorization method according to an exemplary embodiment where a rights description presents authorization options.
Fig. 4 is a diagram illustrating a method for rights authorization without a rights description presentation authorization option according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a rights issuer according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating yet another rights issuer according to an exemplary embodiment.
FIG. 7 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The present disclosure is illustrated with the android system as an example. For terminal applications, during the use of the applications installed in the terminal, another application may need to be applied for use, so as to ensure normal use of the current application. The android system starts to release the application runtime permission from 6.0, and the terminal application does not grant permission during installation any more but needs to apply for a user. And displaying the application on a terminal display interface of the user in a bullet frame mode, and informing the user of applying for the application. And when applying for the application operation authority for the user, providing the corresponding authority description of the application operation authority.
In the related art, when the application applies for the operation right, the authorization option displayed on the terminal display interface is single, and the selectable authorization mode is not enough to meet the requirement of the user. The present disclosure thus provides a method of rights authorization for runtime rights where rights descriptions exist. When the authority description exists in the operation authority, more and different authority authorization options are provided so as to provide more options for the user to grant the authority.
In the embodiment of the disclosure, the permission description is a use description of the runtime permission of the application, and the terminal application can define the permission description of the application permission by itself. And the authority description can be used as a part of applying the authority, and the authority is applied to the terminal system by using the terminal system interface. No new interface is needed, the adaptability is high, and fragmentation can not be caused. Each application may set a corresponding rights expression for a different use. When the terminal popup box displays the application running authority and the authority description, the user can clearly know the application authority application purpose and grant the application running authority. The method and the device provide different authority authorization options based on the authority description displayed by the terminal.
The following embodiments illustrate the rights authorization method provided by the present disclosure.
Fig. 1 is a flowchart illustrating a rights authorization method according to an exemplary embodiment, where the rights authorization method is used in a terminal, as shown in fig. 1, and includes the following steps.
In step S11, in response to the application running on the terminal applying for the runtime permission use request, it is determined whether there is a permission description in the permission information of the runtime permission use request.
In the embodiment of the disclosure, a currently running application of a terminal sends a request for applying for operating permission to the terminal through a terminal system interface, and the terminal system obtains permission information of the request for applying for operating permission through the terminal system interface according to the received request for applying for operating permission, analyzes the permission information, and determines whether permission description exists in the permission information of the request for applying for operating permission.
In one implementation, the embodiments of the present disclosure are described with reference to a function requiring positioning. If the current running application of the terminal needs to be positioned, the current running application of the terminal needs to apply for a request for acquiring the position information permission to a terminal system through a terminal system interface. And the terminal system receives the position information permission obtaining request, obtains the permission information of the position information permission obtaining request sent by the application, analyzes the permission information and obtains the position information permission and the permission description of the position information permission. And determining whether the permission information of the permission use request for obtaining the position information contains permission description for showing XX information of your current positioning according to the permission information obtained by analysis.
In step S12, in response to the presence of the rights description in the rights information of the runtime rights usage request, a first rights authorization option is presented on the display interface of the terminal.
In the embodiment of the disclosure, the terminal system analyzes the permission information of the permission use request during the operation of the application, obtains the permission description corresponding to the permission during the operation, and determines that the permission description exists. And further determining to open a display authority description function according to the authority description corresponding to the operation authority, and determining the first authority authorization option as the authorization option displayed on the terminal display interface based on the determined authority description corresponding to the operation authority. And displaying the determined first permission authorization option on a terminal interface.
In an implementation manner, based on the location function that needs to be applied for use of the currently running application related to the above embodiment, the terminal system analyzes the permission information of the permission use request for obtaining the location information, which is sent by the application. The authority to determine the application runtime authority is described as "show XX information you are currently locating". And further determining the authorization option displayed on the terminal interface as a first authorization option according to the 'XX information for displaying your current location', and displaying the first authorization option on the terminal interface according to the display instruction.
In step S13, in response to no permission description existing in the permission information of the runtime permission use request, a second permission authorization option is presented on the display interface of the terminal.
In the embodiment of the disclosure, the terminal system analyzes the permission information of the permission use request during the operation of the application, does not obtain the permission description corresponding to the permission during the operation, and determines that no permission description exists. And further determining to refuse to open the display authority description function according to the information of the authority description corresponding to the operating authority, and determining that the second authority authorization option is the authorization option displayed on the terminal display interface based on the fact that the authority description does not exist. And displaying the determined second permission authorization option on a terminal interface.
In an implementation manner, based on the location function that needs to be applied for use by the currently running application related to the above embodiment, when the terminal system analyzes the permission information of the location information permission use request sent by the application, it is determined that there is no permission description of the application running permission. And further determining the authorization option displayed on the terminal interface as a second authorization option, and displaying the second authorization option on the terminal interface according to the display instruction.
Further, option contents included in the first authority authorization option and the second authority authorization option related by the present disclosure are different, and the different option contents correspond to the authorization management modes with different operation authorities. For convenience of description, the content of the authorization option including denial, permission of the operation, permission all the time and permission only in use is referred to as a first right authorization option. The content of the authorization options including refusal, permission of the operation and permission only in use is called a second authority authorization option.
In the embodiment of the disclosure, the terminal system analyzes the permission information of the runtime permission use request obtained through the system interface, and obtains the runtime permission and the permission description corresponding to the runtime permission. In one embodiment, if the terminal system analyzes the permission information and the obtained permission information of the permission use request in the runtime contains permission description, it is determined that the permission description exists in the permission information. In one embodiment, if the terminal system analyzes the permission information and the obtained permission information of the permission use request in the runtime does not contain the permission description, it is determined that the permission description does not exist in the permission information.
In the embodiment of the disclosure, after the terminal displays the option content of the first right authorization option or the second right authorization option on the terminal display interface, the user can select one option from the option content of the first right authorization option or the second right authorization option in a touch manner through the terminal display interface. And the terminal detects the selection option instruction, determines the selected option content, and executes the authorization management mode of the authority when the terminal is currently applied based on the determined option content.
It should be noted that, in the embodiment of the present disclosure, the first permission authorization option or the second permission authorization option displayed on the terminal display interface is displayed in a pop-up frame manner.
In the embodiments of the present disclosure, the following embodiments further describe the authorization method.
Fig. 2 is a flow chart illustrating a process for implementing a rights authorization method according to an exemplary embodiment. As shown in fig. 2, when the current running application of the terminal needs to obtain the running right, a request for applying the running right is first sent to the terminal system through the terminal system interface, and the right information of the running right is transmitted through the terminal system interface. And when the terminal system receives the operation permission use request applied by the current operation application, acquiring permission information of the application operation permission use request provided by the application to the terminal system. The authority information of the runtime authority use request comprises a runtime authority and an authority description corresponding to the runtime authority. And secondly, the application transmits the authority description into the terminal system, and the terminal system verifies whether the authority description meets the description requirement of the terminal system. And if the authority description meets the description requirement and the authority description is determined to be displayed, analyzing the runtime authority and the authority description corresponding to the runtime authority. And further, the terminal system determines to display a first authority authorization option on a terminal display interface according to the authority description obtained by the determined analysis. In response to the indication of displaying the first permission authorization option, the terminal system displays the first permission authorization option of the permission of the current running application on a display interface of the terminal in a bullet frame mode, namely the first permission authorization option is to be rejected, the running is allowed, and the first permission authorization option is always allowed to be displayed on the display interface of the terminal only in use. And if the terminal system determines the analyzed permission information of the operation permission use request and does not have permission description, determining that the permission authorization option displayed on the terminal display interface is a second permission authorization option. And responding to the indication of displaying the second permission authorization option, the terminal system displays the second permission authorization option of the current running application operation permission on a display interface of the terminal in a bullet frame mode, namely refusing, allowing the current running application operation and allowing the second permission authorization option to be displayed on the display interface of the terminal only in use.
Fig. 3 is a diagram illustrating a rights authorization method according to an exemplary embodiment where a rights description presents authorization options. As shown in fig. 3, the present embodiment further describes the permission authorization method provided by the present disclosure by taking the currently running application as weather, the weather needs a positioning function, and the permission for applying for running is "acquiring positioning information of a device".
The current weather application needs to apply for using the positioning function, the operation authority is 'acquiring the positioning information of the equipment', and the authority is described as 'showing the weather information of your current positioning'. The terminal system determines that the authorization option displayed on the terminal interface is a first authorization option based on the authority description 'displaying weather information of your current location', and the authorization option includes refusal, permission of the operation, permission all the time and permission only in use. The user can select one of the options as the authority authorization execution mode according to the refusal, the operation permission, the permission all the time and the permission only in use.
Fig. 4 is a diagram illustrating a method for rights authorization without a rights description presentation authorization option according to an exemplary embodiment. As shown in fig. 4, the positioning function obtained by the mall is taken as an example. The millet mall needs a positioning function, and the permission for the permission application operation is to acquire equipment positioning information. And determining to display a second authority authorization option on the terminal interface, wherein the second authority authorization option comprises refusal, permission of the operation and permission only in use, because the corresponding authority description of 'obtaining the equipment positioning information' does not exist. The user can select one of the option contents of refusal, permission of the operation and permission only in use as the authority authorization execution mode.
The permission authorization method provided by the disclosure can provide permission authorization options of different option contents for a user according to whether the permission has corresponding permission description when the terminal application operates, and improves the friendliness degree of permission application.
Based on the same conception, the embodiment of the disclosure also provides a permission authorization device.
It is understood that, in order to implement the above functions, the authority authorization apparatus provided in the embodiments of the present disclosure includes a hardware structure and/or a software module for performing each function. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Fig. 5 is a block diagram illustrating a rights issuer 500 according to an exemplary embodiment. Referring to fig. 5, the apparatus includes a determination module 501 and a presentation module 502.
The determining module 501 is configured to determine whether an authority description exists in authority information of a runtime authority use request in response to a runtime authority use request applied by an application running on a terminal. The displaying module 502 is configured to, in response to existence of the permission description in the permission information of the runtime permission use request, display a first permission authorization option on a display interface of the terminal. And in response to the fact that no authority description exists in the authority information of the operation-time authority use request, displaying a second authority authorization option on a display interface of the terminal. The option contents in the first authority authorization option and the second authority authorization option are different, and the different option contents correspond to authorization management modes with different operation authorities.
In the embodiment of the disclosure, the option content in the first permission authorization option includes refusal, permission of the operation, permission all the time and permission only in use.
In the embodiment of the present disclosure, the option contents of the second permission authorization option include denial, permission of this operation, and permission only in use.
In the embodiment of the present disclosure, the determining module 501 is configured to determine that the authority description exists in the runtime authority in response to obtaining the authority description by analyzing the authority information. And determining that no authority description exists in the run-time authority in response to the fact that the authority description is not obtained by analyzing the authority information.
Fig. 6 is a block diagram illustrating yet another rights issuer 500 according to an exemplary embodiment. As shown in fig. 6, in the embodiment of the present disclosure, the right authorization apparatus further includes: a control module 503.
And the control module 503 is configured to control the operation of the operation right according to the authorization management mode corresponding to the option content in response to the option content selected by the user on the display interface of the terminal.
In the embodiment of the present disclosure, the displaying module 502 is configured to display the first permission authorization option or the second permission authorization option in a form of a pop-up box on a display interface of the terminal.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an apparatus 700 for authorization of rights, according to an example embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is understood that "a plurality" in this disclosure means two or more, and other words are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that, unless otherwise specified, "connected" includes direct connections between the two without the presence of other elements, as well as indirect connections between the two with the presence of other elements.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (14)
1. A permission authorization method is applied to a terminal and comprises the following steps:
responding to an application running on the terminal to apply a running authority use request, and determining whether authority information of the running authority use request has authority description;
responding to the permission description in the permission information of the operation permission use request, and displaying a first permission authorization option on a display interface of the terminal;
in response to the fact that no authority description exists in the authority information of the operation-time authority use request, displaying a second authority authorization option on a display interface of the terminal;
the option contents in the first permission authorization option and the second permission authorization option are different, and the different option contents correspond to authorization management modes with different operation permissions.
2. The method for authorizing rights of claim 1 wherein the option contents in the first option for authorizing rights include deny, allow this run, always allow and allow only in use.
3. The method of claim 1, wherein the option contents of the second option comprise reject, permission of the current operation and permission only in use.
4. The method for authorizing rights according to claim 1, wherein the determining whether a rights description exists in the rights information of the runtime rights usage request comprises:
responding to the permission information to obtain permission description, and determining that permission description exists in the operation permission;
and determining that no authority description exists in the run-time authority in response to the fact that the authority description is not obtained by analyzing the authority information.
5. The rights authorization method according to claim 2 or 3, characterized in that the method further comprises:
and responding to the option content selected by the user on the display interface of the terminal, and controlling the operation permission to operate according to the authorization management mode corresponding to the option content.
6. The authority authorization method according to claim 1, characterized in that the first authority authorization option or the second authority authorization option is displayed in a pop-up box on a display interface of the terminal.
7. An authority authorizing device, applied to a terminal, includes:
the determining module is used for responding to an application running on the terminal to apply a running authority using request and determining whether authority information of the running authority using request has authority description or not;
the display module is used for responding to the permission description in the permission information of the permission use request in the running process and displaying a first permission authorization option on a display interface of the terminal; in response to the fact that no authority description exists in the authority information of the operation-time authority use request, displaying a second authority authorization option on a display interface of the terminal;
the option contents in the first permission authorization option and the second permission authorization option are different, and the different option contents correspond to authorization management modes with different operation permissions.
8. The rights issuer of claim 7, wherein the option contents in the first rights issuer option include reject, permission of this operation, permission all the time, and permission only in use.
9. The rights issuer of claim 7, wherein the option contents of the second rights issuer option include refusal, permission of this operation, and permission only in use.
10. The rights issuer of claim 7, wherein the determination module is configured to:
responding to the permission information to obtain permission description, and determining that permission description exists in the operation permission;
and determining that no authority description exists in the run-time authority in response to the fact that the authority description is not obtained by analyzing the authority information.
11. The rights issuing device according to claim 8 or 9, characterized in that the device further comprises: a control module;
and the control module is used for responding to the option content selected by the user on the display interface of the terminal and controlling the operation permission to operate according to the authorization management mode corresponding to the option content.
12. The rights issuer of claim 7, wherein the presentation module is configured to:
and displaying the first authority authorization option or the second authority authorization option on a display interface of the terminal in a popup frame mode.
13. An authority authorizing apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the rights authorization method of any of claims 1 to 6 is performed.
14. A non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform the rights authorization method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010538038.XA CN113805763A (en) | 2020-06-12 | 2020-06-12 | Authority authorization method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010538038.XA CN113805763A (en) | 2020-06-12 | 2020-06-12 | Authority authorization method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113805763A true CN113805763A (en) | 2021-12-17 |
Family
ID=78944108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010538038.XA Pending CN113805763A (en) | 2020-06-12 | 2020-06-12 | Authority authorization method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113805763A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114416265A (en) * | 2022-01-26 | 2022-04-29 | 北京得间科技有限公司 | Interface authority display method, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104125335A (en) * | 2014-06-24 | 2014-10-29 | 小米科技有限责任公司 | Method, device and system for managing authority |
CN107636666A (en) * | 2015-07-08 | 2018-01-26 | 谷歌有限责任公司 | For the method and system for controlling the allowance for the application on computing device to ask |
CN110084047A (en) * | 2019-03-20 | 2019-08-02 | 努比亚技术有限公司 | A kind of access right control method, terminal and computer readable storage medium |
-
2020
- 2020-06-12 CN CN202010538038.XA patent/CN113805763A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104125335A (en) * | 2014-06-24 | 2014-10-29 | 小米科技有限责任公司 | Method, device and system for managing authority |
CN107636666A (en) * | 2015-07-08 | 2018-01-26 | 谷歌有限责任公司 | For the method and system for controlling the allowance for the application on computing device to ask |
CN110084047A (en) * | 2019-03-20 | 2019-08-02 | 努比亚技术有限公司 | A kind of access right control method, terminal and computer readable storage medium |
Non-Patent Citations (2)
Title |
---|
你相信光吗 爱比丽屋: "工信部直属研究院刊文,宣传MIUI 12的隐私保护功能", pages 1 - 6, Retrieved from the Internet <URL:https://user.guancha.cn/main/content?id=306121> * |
奇说科技: "MIUI12的隐私守护能力为什么这么强?", pages 1 - 16, Retrieved from the Internet <URL:https://baijiahao.baidu.com/s?id=1665937477757052447&wfr=spider&for=pc> * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114416265A (en) * | 2022-01-26 | 2022-04-29 | 北京得间科技有限公司 | Interface authority display method, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106020943B (en) | Application program double-opening method and device | |
EP3418885A2 (en) | Method and device for calling software development kit | |
CN105956486B (en) | Long-range control method and device | |
CN106203167B (en) | Application rights management method and device | |
US10439660B2 (en) | Method and device for adjusting frequencies of intercom apparatuses | |
CN109669730B (en) | Process keep-alive method, device, electronic equipment and medium | |
EP3462367A1 (en) | Method and apparatus for displaying application interface | |
CN105100074A (en) | Data operation processing method, device and terminal equipment | |
CN105260247A (en) | Method and device for controlling terminal application | |
CN110704054A (en) | Method and device for accessing target application program through applet, electronic equipment and storage medium | |
CN111240694A (en) | Application detection method, application detection device and storage medium | |
CN110166564B (en) | Information communication method, terminal and storage medium | |
CN108874450B (en) | Method and device for waking up voice assistant | |
CN107656616B (en) | Input interface display method and device and electronic equipment | |
CN105786561B (en) | Method and device for calling process | |
CN113805763A (en) | Authority authorization method, device and storage medium | |
CN107357643B (en) | Application calling method and device and computer readable storage medium | |
CN113805978A (en) | Authority display method, device and storage medium | |
CN112083841B (en) | Information input method, device and storage medium | |
CN112689047B (en) | Display control method and device and electronic equipment | |
CN114385373A (en) | Data sharing method, data sharing device and computer readable storage medium | |
CN107360315B (en) | Information display method and device | |
CN112887590B (en) | Image processing method, device and storage medium | |
CN106919422B (en) | System service management method and device | |
CN108089800B (en) | Anti-disturbance mode entering method and device |
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 |