CN110851863B - Application program authority control method and device and electronic equipment - Google Patents

Application program authority control method and device and electronic equipment Download PDF

Info

Publication number
CN110851863B
CN110851863B CN201911082743.7A CN201911082743A CN110851863B CN 110851863 B CN110851863 B CN 110851863B CN 201911082743 A CN201911082743 A CN 201911082743A CN 110851863 B CN110851863 B CN 110851863B
Authority
CN
China
Prior art keywords
control
authority
permission
application program
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911082743.7A
Other languages
Chinese (zh)
Other versions
CN110851863A (en
Inventor
谢飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Infinite Light Field Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Infinite Light Field Technology Co Ltd filed Critical Beijing Infinite Light Field Technology Co Ltd
Priority to CN201911082743.7A priority Critical patent/CN110851863B/en
Publication of CN110851863A publication Critical patent/CN110851863A/en
Application granted granted Critical
Publication of CN110851863B publication Critical patent/CN110851863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/629Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides an authority control method and device of an application program and electronic equipment, and relates to the technical field of computers. The method comprises the following steps: when a target application program displayed on a current display interface meets preset conditions, displaying an authority list comprising at least one preset authority control on the current display interface, wherein any authority control is used for controlling the state of a corresponding function authority; and receiving the trigger operation of a user for any authority control in the authority list, and performing control operation on the functional authority of the target application program corresponding to the authority control based on the trigger operation. The method and the device realize that when the terminal device displays the target application program, the corresponding functional authority is controlled based on the operation of the user on the authority control in the authority list.

Description

Application program authority control method and device and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling an authority of an application program, and an electronic device.
Background
In order to meet diversified requirements of users, an application program of a terminal device often needs to be granted with multiple permissions, if the application program runs a certain function, the permission relied on by the function is not granted, the user needs to temporarily quit the application program, and the application program can run the function after entering a setting option of the terminal device and manually starting the permission of the function, so that the permission starting mode of the terminal device is complex, and the requirement that the application program correspondingly adjusts and controls the permission cannot be responded immediately.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
A first aspect of the present disclosure provides a method for controlling an authority of an application program, including:
when a target application program displayed on a current display interface meets preset conditions, displaying an authority list comprising at least one preset authority control on the current display interface, wherein any authority control is used for controlling the state of a corresponding function authority;
and receiving the trigger operation of a user for any authority control in the authority list, and performing control operation on the functional authority of the target application program corresponding to the authority control based on the trigger operation.
A second aspect of the present disclosure provides an apparatus for controlling an authority of an application, including:
the display module is used for displaying an authority list comprising at least one preset authority control on the current display interface when a target application program displayed on the current display interface meets preset conditions, wherein any authority control is used for controlling the state of corresponding function authority;
and the control module is used for receiving the triggering operation of the user for any authority control in the authority list and carrying out control operation on the functional authority of the target application program corresponding to the authority control based on the triggering operation.
A third aspect of the present disclosure provides an electronic device, comprising:
the electronic device comprises a memory and a processor;
the memory has a computer program stored therein;
a processor for performing the method of any of the first aspects when running the computer program.
A fourth aspect of the disclosure provides a computer readable medium having a computer program stored thereon, characterized in that the program, when executed by a processor, performs the method of any of the first aspects.
The technical scheme provided by the disclosure has the following beneficial effects:
in this embodiment, when a target application program displayed on a current display interface of a terminal device meets a preset condition, a permission list including at least one preset permission control can be directly displayed on the current display interface, so that when a trigger operation of a user for any permission control in the permission list is received, a control operation can be performed on a functional permission of the target application program corresponding to the permission control based on the trigger operation, the functional permission can be started without entering a 'set' option after exiting the application program, a path and a mode for starting the functional permission are simplified, and a demand of the application program for the functional permission can be responded in a timely and efficient manner.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of an embodiment of a method for controlling permissions of an application according to the present disclosure;
FIG. 2 is a schematic diagram of a structure of a privilege control device of the application program of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing the devices, modules or units, and are not used for limiting the devices, modules or units to be different devices, modules or units, and also for limiting the sequence or interdependence relationship of the functions executed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The following describes the technical solutions of the present disclosure and how to solve the above technical problems in specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
Referring to fig. 1, the present disclosure provides a method for controlling an authority of an application, where the method may be specifically executed by an electronic device, the electronic device may be a terminal device, and the terminal device may be a desktop device or a mobile terminal, and the method includes:
step S101, when a target application program displayed on a current display interface meets a preset condition, displaying a permission list comprising at least one preset permission control on the current display interface, wherein any permission control is used for controlling the state of a corresponding function permission;
the method includes the steps that a universal authority list is configured in advance, at least one authority control is included in the authority list, any authority control can be used for controlling the state of a corresponding function authority, specifically, a user can set the function authority to be in an opening state or a closing state through operating the authority control, and in this embodiment, the function authority of an application program refers to the control authority of the application program for a Software Development Kit (SDK).
And displaying a target application program on a current display interface of the terminal equipment, and displaying the universal authority list to a user on the current display interface if the target application program meets preset conditions, wherein the display authority list can be in a pop-up form through a pop-up window.
Step S102: and receiving the trigger operation of a user for any authority control in the authority list, and performing control operation on the functional authority of the target application program corresponding to the authority control based on the trigger operation.
The terminal equipment receives the triggering operation of the user for any authority control in the authority list, so that the terminal equipment can open or close the functional authority of the target application program corresponding to the authority control based on the triggering operation of the user for the authority control. The triggering operation of the user on the authority control can be a clicking operation of the user on a list where the authority control is located, if the functional authority corresponding to the authority control is in a closed state, the user can start the functional authority by clicking the list where the authority control is located, the triggering operation of the user on the authority control can also be a selecting operation of the user on an authority check box corresponding to the authority control, and the user can start or close the functional authority by selecting the authority check box.
In this embodiment, when a target application program displayed on a current display interface of a terminal device meets a preset condition, a permission list including at least one preset permission control can be directly displayed on the current display interface, so that when a trigger operation of a user for any permission control in the permission list is received, a control operation can be performed on a functional permission of the target application program corresponding to the permission control based on the trigger operation, and the functional permission can be started without entering a system 'set' option after exiting the application program, thereby simplifying a path and a mode for starting the functional permission, and responding to a requirement of the application program on the functional permission in a real-time and efficient manner.
Optionally, the preset condition includes any one of:
the target application program is in a running state;
the target application program is in an updating state;
the target application program is in a first installation state;
receiving a function permission obtaining request sent by a target application program when a target function permission is in a closed state, wherein a permission list comprises a control corresponding to the target function permission;
aiming at a target application program, a permission list is not displayed within a preset duration;
receiving a trigger operation of a preset list display control aiming at a target application program;
and receiving touch operation aiming at a preset area in the current display interface of the target application program.
In this embodiment, it is possible that the permission list may be presented to the user at random when the target application is in the running state;
another possible situation is that, in the case of updating the target application, the terminal device has history setting information that may delete the functional permission of the target application before the target application is updated, and may present the permission list to the user when detecting that the target application is in an updated state, or may present the permission list to the user when restarting the target application after the target application is updated;
another possible situation is that when the target application is in the first installation state, since the terminal device does not store history setting information for the function permission of the target application, the terminal device may also present the permission list to the user, so that the user may set the function permission.
Another possible situation is that the target application program often needs to use the target function permission to implement some functions in the running process, and if the terminal device detects that the target function permission is in a closed state, the target application program can automatically send a function permission obtaining request to the terminal device, so that the terminal device displays a permission list containing permission controls corresponding to the target function permission when displaying the permission list. In this case, the terminal device may further send a prompt message for opening the target function permission to the user, so that the user performs a corresponding operation for opening the target function permission.
Another possible scenario is that if no permission list is displayed in the preset duration for the target application, the terminal device may also automatically display the permission list, where the preset duration may be 30 days.
Another possible situation is that the current display interface also displays a preset list display control while displaying the target application program, and the terminal device can display the permission list on the current display interface when receiving an operation of clicking the preset list display control by a user;
another possible situation is that the terminal device may present the permission list on the current presentation interface when receiving an operation that the user touches a preset area of the current presentation interface, for example, the user may perform a sliding operation in the preset area to obtain the permission list.
Optionally, based on the trigger operation, the control operation is performed on the functional permission of the target application program corresponding to the permission control, and the control operation includes:
sending authority control prompt information to a user based on trigger operation;
receiving a determination instruction input by a user based on the authority control prompt information;
and performing control operation on the functional authority of the target application program corresponding to the authority control based on the confirmation instruction.
Optionally, sending the permission control prompt message to the user based on the trigger operation includes:
and when the functional authority corresponding to the authority control is in at least one of a first starting state and the transmission frequency of the authority control prompt message is within a preset transmission frequency range, transmitting the authority control prompt message to the user based on the trigger operation.
In this implementation, after receiving a trigger operation of a user on any one of the right controls, the terminal device may also pop up a preset right control prompt message on a current display interface, where the right control prompt message may be a prompt message for the terminal device to prepare to open or close the right, and the specific content of the right control prompt message may be "whether to open the right" or "whether to close the right", so that after receiving a confirmation instruction input by the user based on the right control prompt message, the terminal device performs an opening or closing operation on the functional right of the target application program corresponding to the right control.
One possible case is that the permission control prompt message is a terminal device-defined permission control prompt message, the terminal device pops up the permission control message when the function permission corresponding to any permission control is in a first-time opening state, or the terminal device pops up the permission control message when the sending times of the permission control prompt message are within a preset sending time range, and the user can directly open or close the corresponding function permission after inputting a confirmation instruction based on the permission control message to perform secondary confirmation.
When the sending condition of the authority control prompt information customized by the terminal device is not met, the terminal device may also pop up the authority control prompt information configured in advance by the configuration personnel after receiving the trigger operation of the user for any authority control, after the user inputs the confirmation instruction based on the authority control prompt information, the terminal device may jump to the authority list corresponding to the terminal device in the authority setting path, and the authority list corresponding to the terminal device includes the authority control on which the user has performed the trigger operation, so that the user reopens or closes the function authority corresponding to the authority control in the authority setting path, and this situation may be applied in a scenario in which the user reopens the function authority after the user reopens or closes the function authority corresponding to a certain authority control.
Optionally, before the permission list including the at least one preconfigured permission control is presented on the current presentation interface, the method further includes:
based on the type of the target application program, performing priority sequencing on at least one preset permission control;
displaying a permission list comprising at least one preset permission control on a current display interface, wherein the permission list comprises:
and displaying a permission list comprising at least one permission control which is sequenced and configured in advance on a current display interface.
In this embodiment, the permission controls in the general permission list are configured in advance, and are applicable to any application program, for the target application program, the terminal device may perform priority ordering on at least one preset permission control based on the type of the target application program, where the type of the target application program may be any one of a movie application program, a music application program, a game application program, an office application program, a payment and receipt application program, a browser application program, and a social application program, and the various application programs may be further subdivided, and the specific manner of performing priority ordering may be: for example, for a social application program, the address book permission control, the telephone permission control, the short message permission control, and the like may be preferentially arranged, for a movie application program and a music application program, the microphone permission control may be preferentially arranged, and the arrangement of the permission controls of more types of application programs is not repeated here.
Optionally, before the permission list including the at least one preconfigured permission control is presented on the current presentation interface, the method further includes:
when the target application program displayed on the current display interface meets preset conditions, at least one permission control is determined from a preset permission control set based on at least one item of the type of the target application program and the historical operation record of the permission control of the target application program aimed at by a user.
In this embodiment, at least one permission control in the permission list presented to the user on the current presentation interface is screened by the terminal device from the set of permission controls, and specifically, the terminal device may determine at least one permission control from a pre-configured set of permission controls based on the type of the target application, as mentioned above, the type of the target application can be any one of a movie application, a music application, a game application, an office application, a pay-and-receive application, a browser application and a social application, the various application programs can be further subdivided, at least one permission control is screened out based on different function permissions required by different types of application programs, for example, for an office application program such as word, the screened at least one permission control may not include a microphone permission control and a camera permission control.
The terminal device can also determine at least one permission control from a preset permission control set based on the historical operation record of the user for the permission controls of the target application program, and if the user frequently operates one or more permission controls for the target application program, the permission controls can be screened from the permission control set to be operated by the user.
Optionally, displaying, on the current display interface, a permission list including at least one preset permission control, including:
displaying an authority list comprising at least one preset authority control in a preset area of a current display interface;
after the control operation is performed on the functional authority of the target application program corresponding to the authority control based on the trigger operation, the method further includes:
and hiding the authority list displayed in the preset area.
In this implementation, the terminal device pops up the permission list in the preset area of the current display interface, and generally pops up the permission list above the screen of the current display interface, and after the terminal device performs control operation on the functional permission corresponding to the permission control, the popped up permission list displayed in the preset area can be hidden, so that influence on the user browsing the application program page is avoided.
Fig. 2 is a schematic structural diagram of an authority control device of an application according to another embodiment of the present disclosure, and as shown in fig. 2, the device according to the embodiment of the present disclosure may include:
the display module 201 is configured to display an authority list including at least one preset authority control on a current display interface when a target application program displayed on the current display interface meets a preset condition, where any authority control is used to control a state of a corresponding function authority;
and the control module 202 is configured to receive a trigger operation of a user for any permission control in the permission list, and perform a control operation on the function permission of the target application program corresponding to the permission control based on the trigger operation.
Optionally, the preset condition includes any one of:
the target application program is in a running state;
the target application program is in an updating state;
the target application program is in a first installation state;
receiving a function permission obtaining request sent by a target application program when a target function permission is in a closed state, wherein a permission list comprises a control corresponding to the target function permission;
aiming at a target application program, a permission list is not displayed within a preset duration;
receiving a trigger operation of a preset list display control aiming at a target application program;
and receiving touch operation aiming at a preset area in the current display interface of the target application program.
Optionally, when the control module 202 performs a control operation on the functional permission of the target application program corresponding to the permission control based on the trigger operation, the control module is specifically configured to:
sending authority control prompt information to a user based on trigger operation;
receiving a determining instruction input by a user based on the authority control prompt information;
and performing control operation on the functional authority of the target application program corresponding to the authority control based on the confirmation instruction.
Optionally, the control module 202 sends permission control prompt information to the user based on the trigger operation, and is specifically configured to:
and when the functional authority corresponding to the authority control is in at least one of a first starting state and the transmission frequency of the authority control prompt message is within a preset transmission frequency range, transmitting the authority control prompt message to the user based on the trigger operation.
Optionally, before the presenting module 201 presents the permission list including the at least one preconfigured permission control on the current presentation interface, the apparatus further includes:
the sequencing module is used for carrying out priority sequencing on at least one preset authority control based on the type of the target application program;
when the presentation module 201 presents, on the current presentation interface, the permission list including at least one permission control configured in advance, the permission list is specifically configured to:
and displaying a permission list comprising at least one permission control which is arranged in advance in a sorted way on the current display interface.
Optionally, before the displaying module 201 displays the permission list including the at least one preconfigured permission control on the current display interface, the apparatus further includes:
the determining module is used for determining at least one permission control from a preset permission control set based on at least one of the type of the target application program and the historical operation record of the permission control of the target application program for a user when the target application program displayed on the current display interface meets a preset condition.
Optionally, when the presentation module 201 presents the permission list including at least one preset permission control on the current presentation interface, the permission list is specifically configured to:
displaying an authority list comprising at least one preset authority control in a preset area of a current display interface;
after the control module 202 performs control operation on the functional authority of the target application program corresponding to the authority control based on the trigger operation, the apparatus further includes:
and the processing module is used for hiding the authority list displayed in the preset area.
Referring now to fig. 3, a schematic diagram of an electronic device (e.g., the terminal device of fig. 1) 600 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device includes: a memory and a processor, wherein the processor may be referred to as the processing device 601 hereinafter, and the memory may include at least one of a Read Only Memory (ROM)602, a Random Access Memory (RAM)603 and a storage device 608 hereinafter, which are specifically shown as follows:
as shown in fig. 3, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: when a target application program displayed on a current display interface meets preset conditions, displaying an authority list comprising at least one preset authority control on the current display interface, wherein any authority control is used for controlling the state of a corresponding function authority; and receiving the trigger operation of a user for any authority control in the authority list, and performing control operation on the functional authority of the target application program corresponding to the authority control based on the trigger operation.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, including conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a module or unit does not in some cases constitute a limitation on the unit itself, for example, the presentation module may also be described as a "module that presents a permission list including at least one permission control configured in advance on the current presentation interface".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided an authority control method of an application program, including:
when a target application program displayed on a current display interface meets preset conditions, displaying an authority list comprising at least one preset authority control on the current display interface, wherein any authority control is used for controlling the state of a corresponding function authority;
and receiving the trigger operation of a user for any authority control in the authority list, and performing control operation on the functional authority of the target application program corresponding to the authority control based on the trigger operation.
Optionally, the preset condition includes any one of:
the target application program is in a running state;
the target application program is in an updating state;
the target application program is in a first installation state;
receiving a function permission obtaining request sent by a target application program when a target function permission is in a closed state, wherein a permission list comprises a control corresponding to the target function permission;
aiming at a target application program, a permission list is not displayed within a preset duration;
receiving a trigger operation of a preset list display control aiming at a target application program;
and receiving touch operation aiming at a preset area in the current display interface of the target application program.
Optionally, based on the trigger operation, the control operation is performed on the functional permission of the target application program corresponding to the permission control, and the control operation includes:
sending authority control prompt information to a user based on trigger operation;
receiving a determining instruction input by a user based on the authority control prompt information;
and performing control operation on the functional authority of the target application program corresponding to the authority control based on the confirmation instruction.
Optionally, sending the permission control prompt message to the user based on the trigger operation includes:
and when the functional authority corresponding to the authority control is in at least one of a first starting state and the transmission frequency of the authority control prompt message is within a preset transmission frequency range, transmitting the authority control prompt message to the user based on the trigger operation.
Optionally, before displaying the permission list including the at least one preconfigured permission control on the current display interface, the method further includes:
based on the type of the target application program, performing priority sequencing on at least one preset permission control;
displaying a permission list comprising at least one preset permission control on a current display interface, wherein the permission list comprises:
and displaying a permission list comprising at least one permission control which is arranged in advance in a sorted way on the current display interface.
Optionally, before displaying the permission list including the at least one preconfigured permission control on the current display interface, the method further includes:
when a target application program displayed on a current display interface meets a preset condition, at least one permission control is determined from a preset permission control set based on at least one item of the type of the target application program and a historical operation record of a user for the permission control of the target application program.
Optionally, displaying, on the current display interface, a permission list including at least one preset permission control, including:
displaying an authority list comprising at least one preset authority control in a preset area of a current display interface;
after the control operation is performed on the functional authority of the target application program corresponding to the authority control based on the trigger operation, the method further comprises the following steps:
and hiding the authority list displayed in the preset area.
According to one or more embodiments of the present disclosure, there is also provided an authority control apparatus of an application, the apparatus including:
the display module is used for displaying an authority list comprising at least one preset authority control on the current display interface when the target application program displayed on the current display interface meets preset conditions, wherein any authority control is used for controlling the state of the corresponding function authority;
and the control module is used for receiving the triggering operation of the user for any authority control in the authority list and carrying out control operation on the functional authority of the target application program corresponding to the authority control based on the triggering operation.
Optionally, the preset condition includes any one of:
the target application program is in a running state;
the target application program is in an updating state;
the target application program is in a first installation state;
receiving a function permission obtaining request sent by a target application program when a target function permission is in a closed state, wherein a permission list comprises a control corresponding to the target function permission;
aiming at a target application program, a permission list is not displayed within a preset time length;
receiving a trigger operation of a preset list display control aiming at a target application program;
and receiving touch operation aiming at a preset area in the current display interface of the target application program.
Optionally, when the control module performs a control operation on the functional permission of the target application program corresponding to the permission control based on the trigger operation, the control module is specifically configured to:
sending authority control prompt information to a user based on trigger operation;
receiving a determination instruction input by a user based on the authority control prompt information;
and performing control operation on the functional authority of the target application program corresponding to the authority control based on the confirmation instruction.
Optionally, the control module sends permission control prompt information to the user based on the trigger operation, and is specifically configured to:
and when the functional authority corresponding to the authority control is in at least one of a first starting state and the transmission frequency of the authority control prompt message is within a preset transmission frequency range, transmitting the authority control prompt message to the user based on the trigger operation.
Optionally, before the displaying module displays the permission list including the at least one preconfigured permission control on the current display interface, the apparatus further includes:
the sequencing module is used for carrying out priority sequencing on at least one preset authority control based on the type of the target application program;
when the display module displays the permission list including at least one preset permission control on the current display interface, the display module is specifically configured to:
and displaying a permission list comprising at least one permission control which is arranged in advance in a sorted way on the current display interface.
Optionally, before the displaying module displays the permission list including the at least one preconfigured permission control on the current display interface, the apparatus further includes:
the determining module is used for determining at least one permission control from a pre-configured permission control set based on at least one of the type of the target application program and the historical operation record of the permission control of the target application program by a user when the target application program displayed on the current display interface meets the preset conditions.
Optionally, when the display module displays the permission list including at least one preset permission control on the current display interface, the display module is specifically configured to:
displaying an authority list comprising at least one preset authority control in a preset area of a current display interface;
after the control module performs control operation on the functional authority of the target application program corresponding to the authority control based on the trigger operation, the device further comprises:
and the processing module is used for hiding the authority list displayed in the preset area.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (9)

1. An authority control method of an application program is characterized by comprising the following steps:
when a target application program displayed on a current display interface meets preset conditions, displaying an authority list comprising at least one preset authority control on the current display interface, wherein any authority control is used for controlling the state of a corresponding function authority;
receiving a trigger operation of a user for any authority control in the authority list, and performing control operation on the functional authority of the target application program corresponding to the authority control based on the trigger operation;
before displaying the permission list comprising at least one preset permission control on the current display interface, the method further comprises the following steps:
based on the type of the target application program, performing priority sequencing on the at least one preset permission control;
the displaying of the permission list including at least one preset permission control on the current display interface includes:
displaying a permission list comprising at least one preset permission control after sequencing on the current display interface;
when the target application program displayed on the current display interface meets preset conditions, displaying an authority list including at least one preset authority control on the current display interface, wherein the authority list includes:
and when the target application program is in a running state, displaying the preset permission list of at least one permission control on the current display interface in an indefinite time.
2. The method according to claim 1, wherein the preset condition comprises any one of:
the target application program is in a running state;
the target application is in an updated state;
the target application program is in a first installation state;
receiving a function permission obtaining request sent by the target application program when a target function permission is in a closed state, wherein the permission list comprises a control corresponding to the target function permission;
the permission list is not displayed in a preset duration aiming at the target application program;
receiving a trigger operation of a preset list display control aiming at a target application program;
and receiving touch operation aiming at a preset area in the current display interface of the target application program.
3. The method according to claim 1 or 2, wherein the performing a control operation on the functional authority of the target application corresponding to the authority control based on the trigger operation includes:
sending permission control prompt information to the user based on the trigger operation;
receiving a confirmation instruction input by the user based on the authority control prompt information;
and performing control operation on the functional authority of the target application program corresponding to the authority control based on the confirmation instruction.
4. The method of claim 3, wherein sending an entitlement control prompt message to the user based on the trigger operation comprises:
and when the functional authority corresponding to the authority control is in at least one of a first starting state and the transmission frequency of the authority control prompt message is within a preset transmission frequency range, transmitting the authority control prompt message to the user based on the trigger operation.
5. The method according to claim 1 or 2, wherein before the displaying the permission list comprising at least one preset permission control on the current display interface, the method further comprises:
and when the target application program displayed on the current display interface meets preset conditions, determining at least one permission control from a preset permission control set based on at least one of the type of the target application program and the historical operation record of the user for the permission control of the target application program.
6. The method according to claim 1 or 2, wherein the displaying the permission list including at least one preset permission control on the current display interface comprises:
displaying the permission list comprising at least one preset permission control in a preset area of the current display interface;
after the control operation is performed on the functional permission of the target application program corresponding to the permission control based on the trigger operation, the method further includes:
and hiding the authority list displayed in the preset area.
7. An apparatus for controlling authority of an application program, comprising:
the display module is used for displaying an authority list comprising at least one preset authority control on the current display interface when a target application program displayed on the current display interface meets preset conditions, wherein any authority control is used for controlling the state of corresponding function authority;
the control module is used for receiving the triggering operation of a user for any authority control in the authority list and carrying out control operation on the function authority of the target application program corresponding to the authority control based on the triggering operation;
wherein the apparatus further comprises:
the sequencing module is used for carrying out priority sequencing on at least one preset authority control based on the type of the target application program before the display module displays an authority list comprising at least one preset authority control on a current display interface;
when the display module displays the permission list including at least one preset permission control on the current display interface, the display module is specifically configured to:
displaying a permission list comprising at least one preset permission control after sequencing on the current display interface;
the display module is configured to, when a target application program displayed on a current display interface meets a preset condition, display an authority list including at least one preset authority control on the current display interface, specifically include:
the display module is used for displaying the preset permission list of at least one permission control on the current display interface in an indefinite time when the target application program is in a running state.
8. An electronic device, comprising:
the electronic device comprises a memory and a processor;
the memory has stored therein a computer program;
the processor, when executing the computer program, is configured to perform the method of any of claims 1-6.
9. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 6.
CN201911082743.7A 2019-11-07 2019-11-07 Application program authority control method and device and electronic equipment Active CN110851863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911082743.7A CN110851863B (en) 2019-11-07 2019-11-07 Application program authority control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911082743.7A CN110851863B (en) 2019-11-07 2019-11-07 Application program authority control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110851863A CN110851863A (en) 2020-02-28
CN110851863B true CN110851863B (en) 2022-06-03

Family

ID=69599802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911082743.7A Active CN110851863B (en) 2019-11-07 2019-11-07 Application program authority control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110851863B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427651A (en) * 2020-03-27 2020-07-17 上海二三四五网络科技有限公司 Control method and control device for improving user operation efficiency
CN113676440B (en) * 2020-05-15 2022-11-04 华为技术有限公司 Authority negotiation method and device in communication process and electronic equipment
CN115865406A (en) * 2020-05-15 2023-03-28 华为技术有限公司 Authority negotiation method and device in communication process and electronic equipment
CN111966290A (en) * 2020-08-13 2020-11-20 深圳市金玺智控技术有限公司 Read-write control method, device, equipment and medium based on RAM memory
CN112818372A (en) * 2021-02-23 2021-05-18 挂号网(杭州)科技有限公司 Authority display information processing method, device, electronic device and storage medium
CN113672899A (en) * 2021-08-23 2021-11-19 读书郎教育科技有限公司 Method and device for realizing application permission duplicate-free confirmation of Android terminal
CN114513540B (en) * 2022-02-11 2023-10-27 北京安博盛赢教育科技有限责任公司 Remote collaborative office control method, device, medium and electronic equipment
CN115729428A (en) * 2022-11-24 2023-03-03 北京字跳网络技术有限公司 Schedule permission configuration method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927474A (en) * 2014-04-01 2014-07-16 可牛网络技术(北京)有限公司 Method and device for monitoring application programs
CN106557687A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 A kind of authority control method and device of application program installation process
CN106886692A (en) * 2017-03-23 2017-06-23 北京金山安全软件有限公司 Application program using method and device and electronic equipment
CN109241765A (en) * 2018-07-17 2019-01-18 奇酷互联网络科技(深圳)有限公司 Mobile terminal and the right management method of application program, device
CN109697356A (en) * 2018-12-27 2019-04-30 北京金山安全软件有限公司 Application software permission adaptation method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7110982B2 (en) * 2001-08-27 2006-09-19 Dphi Acquisitions, Inc. Secure access method and system
US8793758B2 (en) * 2009-01-28 2014-07-29 Headwater Partners I Llc Security, fraud detection, and fraud mitigation in device-assisted services systems
US9325571B2 (en) * 2013-05-28 2016-04-26 Dropbox, Inc. Access permissions for shared content
CN104753887B (en) * 2013-12-31 2018-02-23 ***通信集团黑龙江有限公司 Security management and control implementation method, system and cloud desktop system
US9680865B2 (en) * 2014-10-10 2017-06-13 Secret Media Inc. Reliable user-device content and media delivery apparatuses, methods and systems
CN105912944B (en) * 2016-03-31 2018-11-30 北京小米移动软件有限公司 The method and device of application program access authority is set
CN109446822B (en) * 2018-09-30 2022-07-26 联想(北京)有限公司 Authority management method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927474A (en) * 2014-04-01 2014-07-16 可牛网络技术(北京)有限公司 Method and device for monitoring application programs
CN106557687A (en) * 2015-09-30 2017-04-05 北京奇虎科技有限公司 A kind of authority control method and device of application program installation process
CN106886692A (en) * 2017-03-23 2017-06-23 北京金山安全软件有限公司 Application program using method and device and electronic equipment
CN109241765A (en) * 2018-07-17 2019-01-18 奇酷互联网络科技(深圳)有限公司 Mobile terminal and the right management method of application program, device
CN109697356A (en) * 2018-12-27 2019-04-30 北京金山安全软件有限公司 Application software permission adaptation method and device

Also Published As

Publication number Publication date
CN110851863A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN110851863B (en) Application program authority control method and device and electronic equipment
CN111488185B (en) Page data processing method, device, electronic equipment and readable medium
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN111246228B (en) Method, device, medium and electronic equipment for updating gift resources of live broadcast room
CN113741756A (en) Information processing method, device, terminal and storage medium
CN110658961A (en) Information display method and device and electronic equipment
WO2023138539A1 (en) Message sending method and apparatus, electronic device, storage medium and program product
CN112784295A (en) Document authority processing method and device, electronic equipment and storage medium
CN112083853A (en) Account reporting method, account checking device, electronic equipment and storage medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
WO2023083205A1 (en) Display control method and apparatus, and electronic device and storage medium
CN111290819A (en) Method and device for displaying operation prompt and electronic equipment
CN110633126A (en) Information display method and device and electronic equipment
CN110865846B (en) Application management method, device, terminal, system and storage medium
CN114390360B (en) Live voting method and device, electronic equipment and storage medium
US20230385080A1 (en) Method and apparatus for presenting information on lock screen interface, terminal, and storage medium
CN111694629A (en) Information display method and device and electronic equipment
CN110825481A (en) Method and device for displaying page information corresponding to page tag and electronic equipment
CN114491098A (en) Comment prompting method and device, electronic equipment, storage medium and program product
CN113886212A (en) User state control method and device, electronic equipment and storage medium
US20230379279A1 (en) Interaction method and apparatus, and electronic device
WO2023072070A1 (en) Display control method and apparatus, and electronic device
CN110619101B (en) Method and apparatus for processing information
CN112307393A (en) Information issuing method and device and electronic equipment
CN115576458A (en) Application window display method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230406

Address after: Room 802, Information Building, 13 Linyin North Street, Pinggu District, Beijing, 101299

Patentee after: Beijing youzhuju Network Technology Co.,Ltd.

Address before: No. 715, 7th floor, building 3, 52 Zhongguancun South Street, Haidian District, Beijing 100081

Patentee before: Beijing infinite light field technology Co.,Ltd.

TR01 Transfer of patent right