CN110191465A - Authority control method, mobile terminal and computer readable storage medium - Google Patents

Authority control method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN110191465A
CN110191465A CN201910476608.4A CN201910476608A CN110191465A CN 110191465 A CN110191465 A CN 110191465A CN 201910476608 A CN201910476608 A CN 201910476608A CN 110191465 A CN110191465 A CN 110191465A
Authority
CN
China
Prior art keywords
application program
authority
mobile terminal
privacy
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910476608.4A
Other languages
Chinese (zh)
Inventor
魏红娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910476608.4A priority Critical patent/CN110191465A/en
Publication of CN110191465A publication Critical patent/CN110191465A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/30Security of mobile devices; Security of mobile applications
    • H04W12/35Protecting application or service provisioning, e.g. securing SIM application provisioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/68Gesture-dependent or behaviour-dependent

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Human Computer Interaction (AREA)
  • Social Psychology (AREA)
  • Telephone Function (AREA)

Abstract

This application provides a kind of authority control method, the method is applied to the mobile terminal of operation application program, which comprises determines and receives the authority request that the application program obtains privacy authority;Determine the application program is in background operation state;Acquisition instruction is agreed in response, and the application program is allowed to obtain the privacy authority.Present invention also provides a kind of mobile terminal and computer readable storage mediums.In this manner, the privacy authority of user's control background application is provided, background application is effectively prevent to steal privacy of user, greatly secured user's experience of promotion mobile terminal.

Description

Authority control method, mobile terminal and computer readable storage medium
Technical field
This application involves network communication technology field more particularly to a kind of authority control methods, mobile terminal and computer Readable storage medium storing program for executing.
Background technique
Mobile terminal has become the electronic product being widely used, and the function that mobile terminal may be implemented is from original The general functions such as send short messages, make a phone call, developing to the function abundant such as can be paid, check news, picture, online. For mobile terminal as a hardware product, it is the application program of the different function by being installed in its operating system.At present Mobile terminal when running application program, due to that can only there is an application program to be in front stage operation every time, others application Program is in running background.However, active user's privacy is increasingly paid attention to, but still there have certain applications stealthily to steal user to be hidden Private, thus intelligent recommendation commodity, precision marketing.
Summary of the invention
The main purpose of the application is to propose a kind of authority control method, mobile terminal and computer-readable storage medium Matter, it is intended to allow the privacy authority of user's autonomous control application program, to protect the safety of privacy of user data.
To achieve the above object, this application provides a kind of authority control method, the method is applied to operation and applies journey The mobile terminal of sequence, which comprises determine and receive the authority request that the application program obtains privacy authority;Described in determination Application program is in background operation state;Acquisition instruction is agreed in response, and the application program is allowed to obtain the privacy authority.
Optionally, the step of acquisition instruction is agreed in the response, and the application program is allowed to obtain the privacy authority, packet It includes: a response region is provided in graphical user interfaces;Response acts on the touch control operation of the response region, triggers described same Meaning acquisition instruction, to allow the application program to obtain the privacy authority.
Optionally, the response region is pop-up, includes agreeing to option in the pop-up.
Optionally, described to respond the touch control operation for acting on the response region, trigger the step for agreeing to acquisition instruction Acquisition instruction is agreed in the rapid touch control operation to detect the agreement option acted in the pop-up, triggering.
Optionally, the touch control operation includes following a kind of: clicking operation, presses operation at slide again.
Optionally, it before the step of determining authority request for receiving the application program acquisition privacy authority, also wraps It includes: responding the authority request that the application program for the first time obtains privacy authority, authorize the application program sensitive permission.
Optionally, it after the step of determining authority request for receiving the application program acquisition privacy authority, also wraps Include: determine the application program is in front stage operation state;The application program is allowed to obtain institute according to the sensitive permission State sensitive data.
Optionally, the privacy authority includes following at least one: microphone, camera and recording.
The application also provides a kind of mobile terminal, and the mobile terminal includes: touch screen;Processor;Memory, and it is described Processor connection, the memory include control instruction, when the processor reads the control instruction, control the movement Terminal realizes above-mentioned authority control method.
The application also provides a kind of computer readable storage medium, and the computer readable storage medium has one or more Program, one or more of programs are executed by one or more processors, to realize above-mentioned authority control method.
Authority control method, mobile terminal and computer readable storage medium provided by the present application, mobile terminal are being opened When multiple application programs, when detecting the presence of application program just in request privacy authority, for example, obtaining camera, wheat The privacy authorities such as gram wind, recording, judge whether the application program runs on backstage, if the application program is in running background shape State then needs to obtain authorization to user, when detection receives the agreement acquisition instruction of user, then allows the running background Application program obtain private data.By the above-mentioned means, the privacy authority of user's control background application is provided, it is effectively anti- Only background application is stolen privacy of user (such as: recording, take pictures, screenshotss), greatly secured user's experience of promotion mobile terminal.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing each embodiment one optional mobile terminal of the application;
Fig. 2 is the communications network system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart for the authority control method that one embodiment of the application provides;
Fig. 4 is the structural schematic diagram for the mobile terminal that one embodiment of the application provides.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Fig. 3 is the flow chart of the embodiment of an authority control method provided by the present application.Once the method quilt of the embodiment User's triggering, then the process in the embodiment passes through mobile terminal automatic running, wherein each step can be with when operation It is successively to be carried out according to the sequence in such as flow chart, is also possible to multiple steps according to the actual situation while carrying out, herein not It limits.Authority control method provided by the present application includes the following steps:
Step S310 is determined and is received the authority request that the application program obtains privacy authority;
Step S330, determine the application program is in background operation state;
Acquisition instruction is agreed in step S350, response, and the application program is allowed to obtain the privacy authority.
By above embodiment, mobile terminal is when opening multiple application programs, when detecting the presence of application program just In request privacy authority, for example, obtaining the privacy authorities such as camera, microphone, recording, whether the application program is judged Backstage is run on, if the application program is in background operation state, needs to obtain authorization to user, when detection receives To user agreement acquisition instruction when, then allow the running background application program obtain private data.By the above-mentioned means, mentioning For the privacy authority of user's control background application, effectively prevent background application steal privacy of user (such as: record, take pictures, Screenshotss), greatly secured user's experience of promotion mobile terminal.
Above-mentioned steps are specifically described below in conjunction with specific embodiment.
In step s310, it determines and receives the authority request that the application program obtains privacy authority.
Specifically, multiple application programs are run on mobile terminal, application program can be whole by internet and other movements End carries out data transmission.Application program is the service provided by service provider, and service provider can be collected by application program and be moved The user data of dynamic terminal, to carry out intelligent recommendation commodity and precision marketing etc. according to the user data.Application program is being run When include at least two kinds of behaviors, one is conventional behaviors, and one is privacy behaviors.Wherein, conventional behavior is referred to obtaining and be realized Application program basic function and the behavior carried out e.g. obtains the input method function of operating system.Privacy behavior refers to acquisition and uses The behavior of the relevant data of family privacy.Application program needs to obtain mobile terminal when obtaining data relevant to privacy of user Specified permission e.g. transfer the permission of camera, call permission etc. of microphone.Current operating system is configured to work as and apply When program needs to obtain preset function, needs to send and transfer request.In the present embodiment, when the operating system of mobile terminal is examined When measuring application program transmission request privacy authority, it is determined that the permission for receiving the application program acquisition privacy authority is asked It asks.In the present embodiment, privacy authority is to obtain the permission of privacy of user relevant information, comprising: hardware privacy authority and journey Sequence privacy authority.Wherein, hardware privacy authority includes but is not limited to: microphone, camera and recording.Software privacy authority includes But it is not limited to: address list, short message and photograph album.
In step S330, determine the application program is in background operation state.
Specifically, multiple application programs are installed, mobile terminal can open multiple application programs, display in mobile terminal The application program that interface is currently shown is foreground application, and the application program of other unlatchings is in running background.User is operating When currently running application program, because the interface of application program can be intuitive to see, it will be appreciated that current application program Operating condition, if having invoked specific function.But when application program runs on backstage, due to can not to application program into Row operation, so, user can not understand the operating condition of application program, at this time application program be easy in the case where hidden Private data is obtained in the case where agreement without user.Therefore, in this application, when the determining application program that receives obtains When the authority request of privacy authority, need to judge whether the application program is background operation state.When realization, pass through application program Manager obtains whether the application program is background program.
In step S350, acquisition instruction is agreed in response, and the application program is allowed to obtain the privacy authority.
Specifically, agree to that acquisition instruction obtains specified permission for authorized applications.In the present embodiment, agree to obtain Instruction fetch is the instruction that non-default mode issues, that is, needs by manipulation the instruction to trigger.In the prior art, using journey Sequence is in operation for the first time or non-operational process for the first time, when requested acquisitions a specific privacy permission, then, it is subsequent this using journey When sequence needs to obtain the privacy authority again, operating system, which can be defaulted, agrees to that application program carries out the acquisition of the privacy authority and asks It asks.The prior art causes application program in running background, can obtain privacy authority in the unwitting situation of user, in turn Private data is acquired, mobile terminal is caused safety problem occur.Therefore, the application in order to solve this problem, provides a user Authority acquiring monitoring to background application.
In an optional embodiment, step S350 can be carried out as follows:
Step S3501 provides a response region in graphical user interfaces;
Step S3503, response act on the touch control operation of the response region, trigger the agreement acquisition instruction, to permit Perhaps the described application program obtains the privacy authority.
By above embodiment, so that being moved when the application program for running on backstage is when attempting to obtain privacy authority Response region can be provided in the display interface of terminal, user allows or forbid this using journey by being operated to response region Sequence obtains the privacy authority, in this manner, providing user's discretionary power benefit, provides secured user's body of mobile terminal It tests.
Specifically, in the present embodiment, response region is pop-up, and at least two options are arranged in pop-up: agreeing to option And rejecting option.Agree to that option obtains specific privacy permission for authorized applications;Rejecting option is for forbidding application program Lake region specific privacy permission.In other embodiments, response region may be touch-control control, refer to for triggering to agree to obtain It enables.
In the present embodiment, the step of step S3503 is the touching for detecting the agreement option acted in the pop-up Acquisition instruction is agreed in control operation, triggering.Wherein, touch control operation includes following a kind of: clicking operation, presses operation at slide again.
Further, before step S310, the method also includes: the application program obtains the right of privacy for the first time for response The authority request of limit authorizes the application program sensitive permission.Specifically, mobile terminal is during installing application program, Application program meeting request privacy authority, for example, obtaining microphone, camera, address list etc..
After step S330, the method also includes:
Step A, determine the application program is in front stage operation state;
Step B allows the application program to obtain the sensitive data according to the sensitive permission.
Specifically, since application program when installing for the first time, user is needed to agree to that obtaining specified permission can just continue to pacify Dress, method provided by the present application, so that even if application program obtains privacy authority in installation for the first time, then running subsequent Cheng Zhong, if application program is in running background, there is still a need for the authorizations for receiving user, but if being in front stage operation, then According to for the first time or the sensitive permission that obtains of previous authorization allows the application program to obtain the sensitive number.
Fig. 4 is the structure composition schematic diagram of mobile terminal 100 provided by the embodiments of the present application, and mobile terminal 100 includes: touching Touch panel 1071;Processor 110;Memory 109 is connect with the processor 110, and the memory 109 includes control instruction, When the processor 110 reads the control instruction, controls the mobile terminal 100 and realizes following steps:
It determines and receives the authority request that the application program obtains privacy authority;Determine the application program is in backstage Operating status;Acquisition instruction is agreed in response, and the application program is allowed to obtain the privacy authority.
Optionally, the step of acquisition instruction is agreed in the response, and the application program is allowed to obtain the privacy authority, packet It includes: a response region is provided in graphical user interfaces;Response acts on the touch control operation of the response region, triggers described same Meaning acquisition instruction, to allow the application program to obtain the privacy authority.
Optionally, the response region is pop-up, includes agreeing to option in the pop-up.
Optionally, described to respond the touch control operation for acting on the response region, trigger the step for agreeing to acquisition instruction Acquisition instruction is agreed in the rapid touch control operation to detect the agreement option acted in the pop-up, triggering.
Optionally, the touch control operation includes following a kind of: clicking operation, presses operation at slide again.
Optionally, it before the step of determining authority request for receiving the application program acquisition privacy authority, also wraps It includes: responding the authority request that the application program for the first time obtains privacy authority, authorize the application program sensitive permission.
Optionally, it after the step of determining authority request for receiving the application program acquisition privacy authority, also wraps Include: determine the application program is in front stage operation state;The application program is allowed to obtain institute according to the sensitive permission State sensitive data.
Optionally, the privacy authority includes following at least one: microphone, camera and recording.
By above-mentioned mobile terminal, mobile terminal is when opening multiple application programs, when detecting the presence of application program just In request privacy authority, for example, obtaining the privacy authorities such as camera, microphone, recording, whether the application program is judged Backstage is run on, if the application program is in background operation state, needs to obtain authorization to user, when detection receives To user agreement acquisition instruction when, then allow the running background application program obtain private data.By the above-mentioned means, mentioning For the privacy authority of user's control background application, effectively prevent background application steal privacy of user (such as: record, take pictures, Screenshotss), greatly secured user's experience of promotion mobile terminal.
The embodiment of the present application also provides a kind of computer readable storage medium, and computer readable storage medium has one or more A program, one or more programs are executed by one or more processors, to realize following steps:
It determines and receives the authority request that the application program obtains privacy authority;Determine the application program is in backstage Operating status;Acquisition instruction is agreed in response, and the application program is allowed to obtain the privacy authority.
Optionally, the step of acquisition instruction is agreed in the response, and the application program is allowed to obtain the privacy authority, packet It includes: a response region is provided in graphical user interfaces;Response acts on the touch control operation of the response region, triggers described same Meaning acquisition instruction, to allow the application program to obtain the privacy authority.
Optionally, the response region is pop-up, includes agreeing to option in the pop-up.
Optionally, described to respond the touch control operation for acting on the response region, trigger the step for agreeing to acquisition instruction Acquisition instruction is agreed in the rapid touch control operation to detect the agreement option acted in the pop-up, triggering.
Optionally, the touch control operation includes following a kind of: clicking operation, presses operation at slide again.
Optionally, it before the step of determining authority request for receiving the application program acquisition privacy authority, also wraps It includes: responding the authority request that the application program for the first time obtains privacy authority, authorize the application program sensitive permission.
Optionally, it after the step of determining authority request for receiving the application program acquisition privacy authority, also wraps Include: determine the application program is in front stage operation state;The application program is allowed to obtain institute according to the sensitive permission State sensitive data.
Optionally, the privacy authority includes following at least one: microphone, camera and recording.
By above-mentioned computer readable storage medium, so that mobile terminal is when opening multiple application programs, when detecting There are application programs just in request privacy authority, for example, the privacy authorities such as camera, microphone, recording are obtained, judgement Whether the application program runs on backstage, if the application program is in background operation state, needs to obtain authorization to user License then allows the application program of the running background to obtain private data when detection receives the agreement acquisition instruction of user. By the above-mentioned means, providing the privacy authority of user's control background application, background application is effectively prevent to steal privacy of user (such as: record, take pictures, screenshotss), greatly secured user's experience of promotion mobile terminal.
The embodiment of the present application also provides a kind of computer readable storage mediums.Here computer readable storage medium is deposited Contain one or more program.Wherein, computer readable storage medium may include volatile memory, such as arbitrary access Memory;Memory also may include nonvolatile memory, such as read-only memory, flash memory, hard disk or solid-state are hard Disk;Memory can also include the combination of the memory of mentioned kind.
Corresponding technical characteristic in the respective embodiments described above do not cause scheme contradiction or it is not implementable under the premise of, can Mutually to use.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, the technical solution of the application substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the application.
Embodiments herein is described above in conjunction with attached drawing, but the application be not limited to it is above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the enlightenment of the application, when not departing from the application objective and scope of the claimed protection, can also it make very much Form, these are belonged within the protection of the application.

Claims (10)

1. a kind of authority control method, which is characterized in that the method is applied to the mobile terminal of operation application program, the side Method includes:
It determines and receives the authority request that the application program obtains privacy authority;
Determine the application program is in background operation state;
Acquisition instruction is agreed in response, and the application program is allowed to obtain the privacy authority.
2. the method as described in claim 1, which is characterized in that acquisition instruction is agreed in the response, allows the application program The step of obtaining the privacy authority, comprising:
One response region is provided in graphical user interfaces;
Response acts on the touch control operation of the response region, the agreement acquisition instruction is triggered, to allow the application program Obtain the privacy authority.
3. method according to claim 2, which is characterized in that the response region is pop-up, includes agreeing in the pop-up Option.
4. method as claimed in claim 3, which is characterized in that it is described to respond the touch control operation for acting on the response region, The step of triggering the agreement acquisition instruction is the touch control operation for detecting the agreement option acted in the pop-up, and triggering is same Meaning acquisition instruction.
5. method according to claim 2, which is characterized in that the touch control operation includes following a kind of: clicking operation, sliding Operation is pressed in operation again.
6. the method as described in claim 1, which is characterized in that the determining reception application program obtains privacy authority Before the step of authority request, further includes:
The authority request that the application program for the first time obtains privacy authority is responded, the application program sensitive permission is authorized.
7. method as claimed in claim 6, which is characterized in that the determining reception application program obtains privacy authority After the step of authority request, further includes:
Determine the application program is in front stage operation state;
The application program is allowed to obtain the sensitive data according to the sensitive permission.
8. the method as described in claim 1~7, which is characterized in that the privacy authority includes following at least one: Mike Wind, camera and recording.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Touch screen;
Processor;
Memory is connected to the processor, and the memory includes control instruction, is referred to when the processor reads the control When enabling, controls the mobile terminal and realize any one of claim 1-8 authority control method.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium has one or more journeys Sequence, one or more of programs are executed by one or more processors, to realize the permission control of any one of claim 1 to 8 Method.
CN201910476608.4A 2019-06-03 2019-06-03 Authority control method, mobile terminal and computer readable storage medium Pending CN110191465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910476608.4A CN110191465A (en) 2019-06-03 2019-06-03 Authority control method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910476608.4A CN110191465A (en) 2019-06-03 2019-06-03 Authority control method, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110191465A true CN110191465A (en) 2019-08-30

Family

ID=67719899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910476608.4A Pending CN110191465A (en) 2019-06-03 2019-06-03 Authority control method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110191465A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532803A (en) * 2019-09-03 2019-12-03 三星电子(中国)研发中心 Private data guard method and device
WO2020094027A1 (en) * 2018-11-05 2020-05-14 中兴通讯股份有限公司 Method and apparatus for processing invocation request for sensitive permission module in terminal
CN112860550A (en) * 2021-02-01 2021-05-28 北京小米移动软件有限公司 Method, device and storage medium for detecting application privacy items
CN113805978A (en) * 2020-06-12 2021-12-17 北京小米移动软件有限公司 Authority display method, device and storage medium
WO2023236650A1 (en) * 2022-06-07 2023-12-14 荣耀终端有限公司 Control circuit, electronic device, hardware security protection method, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714760A (en) * 2015-03-05 2015-06-17 青岛海信宽带多媒体技术有限公司 Method and device for read and write storage device
CN105072255A (en) * 2015-07-10 2015-11-18 北京奇虎科技有限公司 Mobile equipment privacy authority control method, mobile equipment privacy authority control device and corresponding mobile phone equipment
CN105653903A (en) * 2015-12-18 2016-06-08 小米科技有限责任公司 Application program authority management method and device
CN106295324A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 The control method of application program, control device and terminal
CN108833690A (en) * 2018-05-31 2018-11-16 努比亚技术有限公司 authority control method, terminal and computer readable storage medium
CN109711148A (en) * 2018-12-17 2019-05-03 深圳壹账通智能科技有限公司 Hold-up interception method, device, computer equipment and the storage medium of application behavior

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714760A (en) * 2015-03-05 2015-06-17 青岛海信宽带多媒体技术有限公司 Method and device for read and write storage device
CN105072255A (en) * 2015-07-10 2015-11-18 北京奇虎科技有限公司 Mobile equipment privacy authority control method, mobile equipment privacy authority control device and corresponding mobile phone equipment
CN105653903A (en) * 2015-12-18 2016-06-08 小米科技有限责任公司 Application program authority management method and device
CN106295324A (en) * 2016-07-29 2017-01-04 宇龙计算机通信科技(深圳)有限公司 The control method of application program, control device and terminal
CN108833690A (en) * 2018-05-31 2018-11-16 努比亚技术有限公司 authority control method, terminal and computer readable storage medium
CN109711148A (en) * 2018-12-17 2019-05-03 深圳壹账通智能科技有限公司 Hold-up interception method, device, computer equipment and the storage medium of application behavior

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020094027A1 (en) * 2018-11-05 2020-05-14 中兴通讯股份有限公司 Method and apparatus for processing invocation request for sensitive permission module in terminal
CN110532803A (en) * 2019-09-03 2019-12-03 三星电子(中国)研发中心 Private data guard method and device
CN113805978A (en) * 2020-06-12 2021-12-17 北京小米移动软件有限公司 Authority display method, device and storage medium
CN112860550A (en) * 2021-02-01 2021-05-28 北京小米移动软件有限公司 Method, device and storage medium for detecting application privacy items
WO2023236650A1 (en) * 2022-06-07 2023-12-14 荣耀终端有限公司 Control circuit, electronic device, hardware security protection method, and storage medium

Similar Documents

Publication Publication Date Title
CN110191465A (en) Authority control method, mobile terminal and computer readable storage medium
CN109800602A (en) Method for secret protection, mobile terminal and computer readable storage medium
CN109151169A (en) Camera right management method, mobile terminal and computer readable storage medium
CN108537021A (en) Unlocked by fingerprint method, terminal and computer readable storage medium based on double-sided screen
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN109992183A (en) Preview picture and the method for selection, terminal and storage medium
CN109144705A (en) Application management method, mobile terminal and computer readable storage medium
CN108829444A (en) A kind of method that background application is automatically closed, terminal and computer storage medium
CN107450796B (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN109472157A (en) Storage method, mobile terminal and the computer storage medium of application data
CN108958936A (en) Application programe switch-over method, mobile terminal and computer readable storage medium
CN109522276A (en) Application icon management method, terminal and computer readable storage medium
CN109101301A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN108197506A (en) A kind of terminal display control method, terminal and computer readable storage medium
CN107484144A (en) A kind of information acquisition method, terminal, server and computer-readable storage medium
CN110007817A (en) A kind of message treatment method and mobile terminal, computer readable storage medium
CN109711198A (en) Application management method, mobile terminal and storage medium
CN109766211A (en) Method, terminal and the storage medium of shuangping san false-touch prevention
CN109947519A (en) Hardware-accelerated control method, terminal and computer readable storage medium
CN109660470A (en) A kind of data traffic management-control method, terminal and computer readable storage medium
CN109409081A (en) A kind of authority setting method, mobile terminal and computer storage medium
CN109195173A (en) A kind of hotspot connection method, terminal and computer readable storage medium
CN109033773A (en) Double screen terminal operation right management method, terminal and computer readable storage medium
CN109032621A (en) A kind of application program installation method, mobile terminal and computer storage medium
CN108900696A (en) A kind of data processing method, terminal and computer readable storage 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