CN105653903A - Application program authority management method and device - Google Patents
Application program authority management method and device Download PDFInfo
- Publication number
- CN105653903A CN105653903A CN201510959350.5A CN201510959350A CN105653903A CN 105653903 A CN105653903 A CN 105653903A CN 201510959350 A CN201510959350 A CN 201510959350A CN 105653903 A CN105653903 A CN 105653903A
- Authority
- CN
- China
- Prior art keywords
- application program
- current application
- authority
- notice
- behavior
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/121—Restricting unauthorised execution of programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/101—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM] by binding digital rights to specific entities
- G06F21/1015—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM] by binding digital rights to specific entities to users
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to an application program authority management method and device. The application program authority management method comprises the following steps: monitoring the foreground-background switching state of the current application program; if monitoring that the current application program is switched from the background to the foreground, cancelling the restriction on the authority of the current application program; and if monitoring that the current application program is switched from the foreground to the background, obtaining the behavior information of the current application program and restricting the authority of the current application program or cancelling the restriction on the authority of the current application program according to the behavior information. According to the application program authority management method and device, the behavior information of the current application program can be used for deciding whether to restrict the authority of the current application program, and the restriction correctness is greatly improved, so that the system load of mobile terminals can be reduced and the response speed and battery performance of the mobile terminals can be improved under the condition of not influencing the normal use of the application programs.
Description
Technical field
It relates to technical field of mobile terminals, particularly relate to management process and the device of a kind of application program authority.
Background technology
In intelligent mobile phone system, application program backstage has the more authority such as networking, global positioning system (GPS) (GPS), utilize to application specifications these authorities can enrich its function, but multiple application program uses these authorities such as to use it to carry out advertisement propelling movement disorderly, whole cell phone system backstage load can be caused to can not get liberation for a long time, reduce the overall response performance of mobile phone and battery performance, produce advertisement frequently and push, affect user's experience.
In order to alleviate cell phone system backstage load, the mode closing some background application program authority can be adopted at present to realize. But this kind of mode can cause the normal function of certain applications to be affected.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides management process and the device of a kind of application program authority.
First aspect according to disclosure embodiment, it is provided that the management process of a kind of application program authority, comprising:
The front and back platform switching state of current application program is monitored;
If monitoring described current application program to be switched to foreground by backstage, then current application program authority is cancelled restriction;
If monitoring described current application program to be switched to backstage by foreground, then obtain the behavioural information of current application program, and according to described behavioural information, described current application program authority is limited or cancels restriction.
In one embodiment, the behavioural information of described acquisition current application program, limits according to described behavioural information described current application program authority or cancels restriction, comprising:
Start the timer preset, and before the timing of described timer arrives, record the notice behavior of described current application program;
If be not recorded to described notice behavior when described timing arrives, then described current application program authority is limited;
If be recorded to described notice behavior when described timing arrives, then continue to start described timer, and perform described before timing arrival, to record the notice behavior of described current application program, until be not recorded to described notice behavior when described timing arrives.
In one embodiment, described it is not recorded to described notice behavior when described timing arrives, comprising:
When described timing arrives, do not detect that described current application program sends described notice behavior; And/or
When described timing arrives, detect that the described notice behavior that described current application program sends all is deleted.
In one embodiment, described described current application program authority is limited, comprising:
Described current application program is cancelled at least one in networking authority and location authority.
In one embodiment, described notice behavior comprises notice daily record.
Second aspect according to disclosure embodiment, it is provided that the management devices of a kind of application program authority, comprising:
Monitoring modular, is configured to the front and back platform switching state to current application program and monitors;
Determining to cancel limiting module, if being configured to described monitoring module monitors to be switched to foreground to described current application program by backstage, then current application program authority being cancelled restriction;
Determine processing module, if being configured to described monitoring module monitors to be switched to backstage to described current application program by foreground, then obtain the behavioural information of current application program, and according to described behavioural information, described current application program authority is limited or cancels restriction.
In one embodiment, described determine that processing module comprises:
Start record sub module, it is configured to start the timer preset, and before the timing of described timer arrives, record the notice behavior of described current application program;
Determining siding stopping module, if being configured to described startup record sub module not to be recorded to described notice behavior when described timing arrives, then described current application program authority being limited;
Determine to call submodule block, if being configured to described startup record sub module to be recorded to described notice behavior when described timing arrives, then call described startup record sub module to continue to start described timer, and perform described before timing arrival, to record the notice behavior of described current application program, until be not recorded to described notice behavior when described timing arrives.
In one embodiment, described determine that siding stopping module comprises:
First determining unit, is configured to not detect that described current application program sends described notice behavior when described timing arrives; And/or
2nd determining unit, is configured to when described timing arrives, and detects that the described notice behavior that described current application program sends all is deleted.
In one embodiment, described determine that siding stopping module comprises:
Limiting unit, is configured at least one described current application program cancelled in networking authority and location authority.
In one embodiment, described notice behavior comprises notice daily record.
The third aspect according to disclosure embodiment, it is provided that the management devices of a kind of application program authority, comprising:
Treater;
The storer of instruction can be performed for storage of processor;
Wherein, treater is configured to:
The front and back platform switching state of current application program is monitored;
If monitoring described current application program to be switched to foreground by backstage, then current application program authority is cancelled restriction;
If monitoring described current application program to be switched to backstage by foreground, then obtain the behavioural information of current application program, and according to described behavioural information, described current application program authority is limited or cancels restriction.
The technical scheme that embodiment of the present disclosure provides can comprise following useful effect: by being monitored by the front and back platform switching state of current application program, and when current application program is switched to foreground by backstage, current application program authority is cancelled restriction, when current application program is switched to backstage by foreground, obtain the behavioural information of current application program, and according to the behavior information current application program authority limited or cancel restriction, make to realize in process, can determine whether current application program authority limited according to the behavioural information of current application program, substantially increase restriction accuracy rate, such that it is able to when not affecting normal use application program, reduce mobile terminal system load, improve mobile terminal response speed and battery performance.
By recording the notice behavior of current application program, and when being recorded to this notice behavior, continue the notice behavior to current application program to monitor, when not being recorded to this notice behavior, current application program authority is limited, realize process simple, and the restriction accuracy rate height of application programs authority.
By determining not to be recorded to two kinds of situations of notice behavior when timing arrives, thus provide foundation for current application program authority being carried out restriction.
Describing the content that current application program authority limits, the authority limited is flexible, various.
The content of notice behavior is described so that implementation is clearer, be easier to realize.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing herein is by being incorporated in specification sheets and forms the part of this specification sheets, shows embodiment according to the invention, and is used from the principle explaining the present invention with specification sheets one.
Fig. 1 is the schema of the management process of a kind of application program authority according to an exemplary embodiment.
Fig. 2 is the schema of the management process of another kind of application program authority according to an exemplary embodiment.
Fig. 3 is the block diagram of the management devices of a kind of application program authority according to an exemplary embodiment.
Fig. 4 is the block diagram of the management devices of another kind of application program authority according to an exemplary embodiment.
Fig. 5 is the block diagram of the management devices of another kind of application program authority according to an exemplary embodiment.
Fig. 6 is the block diagram of the management devices of another kind of application program authority according to an exemplary embodiment.
Fig. 7 is the block diagram of a kind of management devices being applicable to application program authority according to an exemplary embodiment.
Embodiment
Here exemplary embodiment being described in detail, its example representation is in the accompanying drawings. When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or similar key element. Enforcement mode described in exemplary embodiment does not represent all enforcement modes consistent with the present invention below. On the contrary, they only with as in appended claims describe in detail, the example of device that some aspects of the present invention are consistent and method.
Fig. 1 is the schema of the management process of a kind of application program authority according to an exemplary embodiment, and as shown in Figure 1, the management process of this application program authority can be applicable on mobile terminal, and the method comprises the following steps S101-S103:
In step S101, the front and back platform switching state of current application program is monitored.
In this embodiment, current application program may operate on mobile terminal, and this mobile terminal can for having the mobile phone of different operating system, such as Android (Android) mobile phone, i Phone etc.
When this mobile terminal is Android mobile phone, assembly management service (the ActivityManagerService that this mobile phone can provide based on android system, AMS) audiomonitor (listener) is registered, and the front and back platform switching state by this audiomonitor monitoring current application program.
Wherein, the front and back platform switching state of current application program can comprise and is switched to foreground by backstage and is switched to backstage two states by foreground.
In step s 102, if monitoring current application program to be switched to foreground by backstage, then current application program authority is cancelled restriction.
In this embodiment, if monitoring current application program to be switched to foreground by backstage, then show that user needs current application program normally to run, it is thus desirable to current application program authority is cancelled restriction.
In step s 103, if monitoring current application program to be switched to backstage by foreground, then obtain the behavioural information of current application program, and according to behavioural information current application program authority limited or cancel restriction.
In this embodiment, if monitoring current application program to be switched to backstage by foreground, then cannot determine that user normally runs the need of current application program, now need to obtain the behavioural information of current application program, and determine whether current application program authority limited according to behavior information.
The management process embodiment of above-mentioned application program authority, by the front and back platform switching state of current application program is monitored, and when current application program is switched to foreground by backstage, current application program authority is cancelled restriction, when current application program is switched to backstage by foreground, obtain the behavioural information of current application program, and according to the behavior information current application program authority limited or cancel restriction, make to realize in process, can determine whether current application program authority limited according to the behavioural information of current application program, substantially increase restriction accuracy rate, such that it is able to when not affecting normal use application program, reduce mobile terminal system load, improve mobile terminal response speed and battery performance.
Fig. 2 is the schema of the management process of another kind of application program authority according to an exemplary embodiment, and as shown in Figure 2, the method comprises the steps:
In step s 201, the front and back platform switching state of current application program is monitored.
In step S202, judge whether current application program is switched to backstage by foreground, if then performing step S203, otherwise, current application program authority is cancelled restriction.
In step S203, start the timer preset, and before the timing of timer arrives, record the notice behavior of current application program.
Wherein, this notice behavior can comprise notice daily record.
In this embodiment, it is possible to preset the timer of 5 minutes, and timing arrive before record current application program notice behavior.
It should be noted that, the timing of timer can be arranged as required, within 5 minutes, is only example, it is possible to thinks 7 minutes, 10 minutes etc.
In step S204, judge whether to be recorded to when timing arrives notice behavior, if not being recorded to notice behavior, then performing step S205, if being recorded to notice behavior, then turning to and performing step S203.
In step S205, current application program authority is limited.
In this embodiment, if not being recorded to notice behavior, then show that current application program is in inactive state, therefore, it is possible to current application program authority limited. If being recorded to notice behavior, then showing that current application program is in active state, still needing the notice behavior to current application program to monitor, performing step S203 so turning to, until not being recorded to notice behavior.
In this embodiment, it is not recorded to notice behavior when timing arrives and can comprise following two kinds of situations:
The first situation: when timing arrives, does not detect that current application program is given notice behavior.
2nd kind of situation: when timing arrives, detects that the notice behavior that current application program sends all is deleted. Namely current application program sent notice behavior, but was all deleted by user.
In this embodiment, carrying out current application program authority limiting can including, but not limited at least one current application program being cancelled networking authority and locate in authority.
The management process embodiment of above-mentioned application program authority, by recording the notice behavior of current application program, and when being recorded to this notice behavior, continue the notice behavior to current application program to monitor, when not being recorded to this notice behavior, current application program authority is limited, it is achieved process is simple, and the restriction accuracy rate height of application programs authority.
Corresponding with the management process embodiment of aforementioned applications program authority, the disclosure additionally provides the management devices embodiment of application program authority.
Fig. 3 is the block diagram of the management devices of a kind of application program authority according to an exemplary embodiment, and as shown in Figure 3, the management devices of application program authority comprises: monitoring modular 31, determine to cancel limiting module 32 and determine processing module 33.
Monitoring modular 31 is configured to the front and back platform switching state to current application program and monitors.
In this embodiment, current application program may operate on mobile terminal, and this mobile terminal can for having the mobile phone of different operating system, such as Android (Android) mobile phone, i Phone etc.
When this mobile terminal is Android mobile phone, assembly management service (the ActivityManagerService that monitoring modular 31 can provide based on android system, AMS) audiomonitor (listener) is registered, and the front and back platform switching state by this audiomonitor monitoring current application program.
Wherein, the front and back platform switching state of current application program can comprise and is switched to foreground by backstage and is switched to backstage two states by foreground.
If determining to cancel limiting module 32 to be configured to monitoring modular 31 and monitor current application program and be switched to foreground by backstage, then current application program authority is cancelled restriction.
In this embodiment, if monitoring current application program to be switched to foreground by backstage, then show that user needs current application program normally to run, it is thus desirable to current application program authority is cancelled restriction.
If determining, processing module 33 is configured to monitoring modular 31 and monitors current application program and be switched to backstage by foreground, then obtain the behavioural information of current application program, and current application program authority is limited according to behavioural information or cancel restriction.
In this embodiment, if monitoring current application program to be switched to backstage by foreground, then cannot determine that user normally runs the need of current application program, now need to obtain the behavioural information of current application program, and determine whether current application program authority limited according to behavior information.
Device as shown in Figure 3 is for realizing above-mentioned method flow as shown in Figure 1, it relates to associated viscera describe identical, do not repeat herein.
The management devices embodiment of above-mentioned application program authority, by the front and back platform switching state of current application program is monitored, and when current application program is switched to foreground by backstage, current application program authority is cancelled restriction, when current application program is switched to backstage by foreground, obtain the behavioural information of current application program, and according to the behavior information current application program authority limited or cancel restriction, make to realize in process, can determine whether current application program authority limited according to the behavioural information of current application program, substantially increase restriction accuracy rate, such that it is able to when not affecting normal use application program, reduce mobile terminal system load, improve mobile terminal response speed and battery performance.
Fig. 4 is the block diagram of the management devices of another kind of application program authority according to an exemplary embodiment, as shown in Figure 4, on above-mentioned basis embodiment illustrated in fig. 3, it is determined that processing module 33 can comprise: start record sub module 331, determine siding stopping module 332 and determine to call submodule block 333.
Start record sub module 331 to be configured to start the timer preset, and before the timing of timer arrives, record the notice behavior of current application program.
Wherein, this notice behavior can comprise notice daily record.
In this embodiment, it is possible to preset the timer of 5 minutes, and timing arrive before record current application program notice behavior.
It should be noted that, the timing of timer can be arranged as required, within 5 minutes, is only example, it is possible to thinks 7 minutes, 10 minutes etc.
If determining, siding stopping module 332 is configured to start record sub module 331 and is not recorded to notice behavior when timing arrives, then current application program authority limited.
If determining to call submodule block 333 to be configured to start record sub module 331 and be recorded to notice behavior when timing arrives, then call and start record sub module continuation startup timer, and perform the notice behavior of record current application program before timing arrives, until be not recorded to notice behavior when timing arrives.
In this embodiment, if not being recorded to notice behavior, then show that current application program is in inactive state, therefore, it is possible to current application program authority limited. If being recorded to notice behavior, then show that current application program is in active state, it is possible to by determining that calling the continuation of submodule block monitors the notice behavior of current application program, until not being recorded to notice behavior.
Device as shown in Figure 4 is for realizing above-mentioned method flow as shown in Figure 2, it relates to associated viscera describe identical, do not repeat herein.
The management devices embodiment of above-mentioned application program authority, by recording the notice behavior of current application program, and when being recorded to this notice behavior, continue the notice behavior to current application program to monitor, when not being recorded to this notice behavior, current application program authority is limited, it is achieved process is simple, and the restriction accuracy rate height of application programs authority.
Fig. 5 is the block diagram of the management devices of another kind of application program authority according to an exemplary embodiment, as shown in Figure 5, on above-mentioned basis embodiment illustrated in fig. 4, it is determined that siding stopping module 332 can comprise: at least one in the first determining unit 3321 and the 2nd determining unit 3322.
First determining unit 3321 is configured to when timing arrives, and does not detect that current application program is given notice behavior.
2nd determining unit 3322 is configured to when timing arrives, and detects that the notice behavior that current application program sends all is deleted.
Device as shown in Figure 5 is for realizing above-mentioned method flow as shown in Figure 2, it relates to associated viscera describe identical, do not repeat herein.
The management devices embodiment of above-mentioned application program authority, determines not to be recorded to two kinds of situations of notice behavior when timing arrives by the first determining unit and the 2nd determining unit, thus provides foundation for current application program authority carries out restriction.
Fig. 6 is the block diagram of the management devices of another kind of application program authority according to an exemplary embodiment, as shown in Figure 6, on above-mentioned basis embodiment illustrated in fig. 4, it is determined that siding stopping module 332 can comprise: limiting unit 3323.
Limiting unit 3323 is configured at least one current application program cancelled in networking authority and location authority.
Device as shown in Figure 6 is for realizing above-mentioned method flow as shown in Figure 2, it relates to associated viscera describe identical, do not repeat herein.
The management devices embodiment of above-mentioned application program authority, is described the content that current application program authority limits by limiting unit, and the authority limited is flexible, various.
About the device in above-described embodiment, wherein the concrete mode of each module, submodule block executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 7 is the block diagram of a kind of management devices being applicable to application program authority according to an exemplary embodiment. Such as, device 700 can be mobile telephone, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical facilities, body-building equipment, personal digital assistant, aircraft etc.
With reference to Fig. 7, device 700 can comprise following one or more assembly: processing components 702, storer 704, power supply module 706, multimedia groupware 708, audio-frequency assembly 710, the interface 712 of I/O (I/O), sensor module 714, and communications component 716.
The overall operation of the usual control device 700 of processing components 702, such as with display, the operation that telephone call, data corresponding, camera operation and recording operation are associated. Processing element 702 can comprise one or more treater 720 to perform instruction, to complete all or part of step of above-mentioned method. In addition, processing components 702 can comprise one or more module, and what be convenient between processing components 702 and other assemblies is mutual. Such as, processing element 702 can comprise multi-media module, mutual with what facilitate between multimedia groupware 708 and processing components 702.
Storer 704 is configured to store various types of data to be supported in the operation of equipment 700. The example of these data comprises for any application program of operation on device 700 or the instruction of method, contact data, telephone book data, message, picture, video etc. Storer 704 can be realized by the volatibility of any type or non-volatile memory device or their combination, such as static RAM (SRAM), electrically erasable read-only storage (EEPROM), erasable programmable read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magneticstorage, flash device, disk or CD.
The various assembly that electric power assembly 706 is device 700 provides electric power. Electric power assembly 706 can comprise power-supply management system, one or more power supply, and other generate, manage and distribute, with for device 700, the assembly that electric power is associated.
The screen that an output interface is provided that multimedia groupware 708 is included between described device 700 and user. In certain embodiments, screen can comprise liquid-crystal display (LCD) and touch panel (TP). If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user. Touch panel comprises one or more touch sensing device with the gesture on sensing touch, slip and touch panel. Described touch sensing device can the border of not only sensing touch or sliding action, but also the detection time length relevant to described touch or slide and pressure. In certain embodiments, multimedia groupware 708 comprises a front-facing camera and/or rearmounted camera. When equipment 700 is in operator scheme, during such as screening-mode or video pattern, front-facing camera and/or rearmounted camera can receive outside multi-medium data. Each front-facing camera and rearmounted camera can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 710 is configured to export and/or input audio signal. Such as, audio-frequency assembly 710 comprises a microphone (MIC), and when device 700 is in operator scheme, during such as calling pattern, record pattern and speech recognition pattern, microphone is configured to receive external audio signal. The sound signal received can be stored in storer 704 further or be sent via communications component 716. In certain embodiments, audio-frequency assembly 710 also comprises a loud speaker, for output audio signal.
I/O interface 712 is for providing interface between processing components 702 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc. These buttons can include but not limited to: home button, volume button, startup button and locking button.
Sensor module 714 comprises one or more sensor, for providing the state estimation of all respects for device 700. Such as, sensor module 714 can detect the opening/closing state of equipment 700, the relative location of assembly, such as described assembly is indicating meter and the keypad of device 700, the position that sensor module 714 can also detect device 700 or device 700 1 assemblies changes, the presence or absence that user contacts with device 700, the temperature variation of device 700 orientation or acceleration/deceleration and device 700. Sensor module 714 can comprise close to sensor, be configured to without any physical contact time detection near the existence of object. Sensor module 714 can also comprise optical sensor, such as CMOS or ccd image sensor, for using in imaging applications. In certain embodiments, this sensor module 714 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transmitter or temperature sensor.
Communications component 716 is configured to be convenient to the communication of wired or wireless mode between device 700 and other equipment. Device 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their combination. In an exemplary embodiment, communication component 716 receives the broadcast signal from outside broadcasting management systems or broadcast related information via broadcast channel. In an exemplary embodiment, described communication component 716 also comprises near-field communication (NFC) module, to promote short distance communication. Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 700 can be realized by one or more application specific unicircuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device part (PLD), field-programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for performing aforesaid method.
In the exemplary embodiment, additionally providing a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 704 of instruction, above-mentioned instruction can perform aforesaid method by the treater 720 of device 700. Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage equipment etc.
Those skilled in the art, after considering specification sheets and putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure. The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the unexposed common practise in the art of the disclosure or conventional techniques means. Specification sheets and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to accurate structure described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope. The scope of the present disclosure is only limited by appended claim.
Claims (11)
1. the management process of an application program authority, it is characterised in that, described method comprises:
The front and back platform switching state of current application program is monitored;
If monitoring described current application program to be switched to foreground by backstage, then current application program authority is cancelled restriction;
If monitoring described current application program to be switched to backstage by foreground, then obtain the behavioural information of current application program, and according to described behavioural information, described current application program authority is limited or cancels restriction.
2. the management process of application program authority according to claim 1, it is characterised in that, the behavioural information of described acquisition current application program, limits according to described behavioural information described current application program authority or cancels restriction, comprising:
Start the timer preset, and before the timing of described timer arrives, record the notice behavior of described current application program;
If be not recorded to described notice behavior when described timing arrives, then described current application program authority is limited;
If be recorded to described notice behavior when described timing arrives, then continue to start described timer, and perform described before timing arrival, to record the notice behavior of described current application program, until be not recorded to described notice behavior when described timing arrives.
3. the management process of application program authority according to claim 2, it is characterised in that, described it is not recorded to described notice behavior when described timing arrives, comprising:
When described timing arrives, do not detect that described current application program sends described notice behavior; And/or
When described timing arrives, detect that the described notice behavior that described current application program sends all is deleted.
4. the management process of application program authority according to claim 2, it is characterised in that, described described current application program authority is limited, comprising:
Described current application program is cancelled at least one in networking authority and location authority.
5. the management process of application program authority according to the arbitrary item of claim 2-4, it is characterised in that, described notice behavior comprises notice daily record.
6. the management devices of an application program authority, it is characterised in that, described device comprises:
Monitoring modular, is configured to the front and back platform switching state to current application program and monitors;
Determining to cancel limiting module, if being configured to described monitoring module monitors to be switched to foreground to described current application program by backstage, then current application program authority being cancelled restriction;
Determine processing module, if being configured to described monitoring module monitors to be switched to backstage to described current application program by foreground, then obtain the behavioural information of current application program, and according to described behavioural information, described current application program authority is limited or cancels restriction.
7. the management devices of application program authority according to claim 6, it is characterised in that, described determine that processing module comprises:
Start record sub module, it is configured to start the timer preset, and before the timing of described timer arrives, record the notice behavior of described current application program;
Determining siding stopping module, if being configured to described startup record sub module not to be recorded to described notice behavior when described timing arrives, then described current application program authority being limited;
Determine to call submodule block, if being configured to described startup record sub module to be recorded to described notice behavior when described timing arrives, then call described startup record sub module to continue to start described timer, and perform described before timing arrival, to record the notice behavior of described current application program, until be not recorded to described notice behavior when described timing arrives.
8. the management devices of application program authority according to claim 7, it is characterised in that, described determine that siding stopping module comprises:
First determining unit, is configured to not detect that described current application program sends described notice behavior when described timing arrives; And/or
2nd determining unit, is configured to when described timing arrives, and detects that the described notice behavior that described current application program sends all is deleted.
9. the management devices of application program authority according to claim 7, it is characterised in that, described determine that siding stopping module comprises:
Limiting unit, is configured at least one described current application program cancelled in networking authority and location authority.
10. the management devices of application program authority according to the arbitrary item of claim 7-9, it is characterised in that, described notice behavior comprises notice daily record.
The management devices of 11. 1 kinds of application program authorities, it is characterised in that, comprising:
Treater;
The storer of instruction can be performed for storage of processor;
Wherein, described treater is configured to:
The front and back platform switching state of current application program is monitored;
If monitoring described current application program to be switched to foreground by backstage, then current application program authority is cancelled restriction;
If monitoring described current application program to be switched to backstage by foreground, then obtain the behavioural information of current application program, and according to described behavioural information, described current application program authority is limited or cancels restriction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510959350.5A CN105653903B (en) | 2015-12-18 | 2015-12-18 | The management method and device of application program permission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510959350.5A CN105653903B (en) | 2015-12-18 | 2015-12-18 | The management method and device of application program permission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105653903A true CN105653903A (en) | 2016-06-08 |
CN105653903B CN105653903B (en) | 2019-10-08 |
Family
ID=56477500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510959350.5A Active CN105653903B (en) | 2015-12-18 | 2015-12-18 | The management method and device of application program permission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105653903B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108268116A (en) * | 2017-01-03 | 2018-07-10 | 中兴通讯股份有限公司 | A kind of method, device and mobile terminal for solving mobile terminal exception power consumption |
CN108924258A (en) * | 2018-08-14 | 2018-11-30 | 深圳壹账通智能科技有限公司 | Background information method for pushing, device, computer equipment and storage medium |
CN109658934A (en) * | 2018-12-27 | 2019-04-19 | 苏州思必驰信息科技有限公司 | Pass through the method and device of voice control multimedia app |
CN110191465A (en) * | 2019-06-03 | 2019-08-30 | 努比亚技术有限公司 | Authority control method, mobile terminal and computer readable storage medium |
WO2024152602A1 (en) * | 2023-01-16 | 2024-07-25 | 华为技术有限公司 | Application program permission management method |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102110220A (en) * | 2011-02-14 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Application program monitoring method and device |
CN103218552A (en) * | 2012-01-19 | 2013-07-24 | 华为终端有限公司 | Safety management method and device based on user behavior |
US20130303154A1 (en) * | 2012-05-14 | 2013-11-14 | Qualcomm Incorporated | System, apparatus, and method for adaptive observation of mobile device behavior |
CN103780447A (en) * | 2012-10-23 | 2014-05-07 | 腾讯科技(深圳)有限公司 | Flow control method and device |
CN104239786A (en) * | 2014-10-13 | 2014-12-24 | 北京奇虎科技有限公司 | ROOT-free active defense configuration method and device |
CN104239797A (en) * | 2014-10-13 | 2014-12-24 | 北京奇虎科技有限公司 | Active defense method and device |
CN104408367A (en) * | 2014-11-28 | 2015-03-11 | 北京奇虎科技有限公司 | Application program configuration method and device |
CN104766005A (en) * | 2015-04-15 | 2015-07-08 | 小米科技有限责任公司 | Management method and device for application software access authority |
CN105072255A (en) * | 2015-07-10 | 2015-11-18 | 北京奇虎科技有限公司 | Mobile device privacy authority control method, device and corresponding mobile phone device |
-
2015
- 2015-12-18 CN CN201510959350.5A patent/CN105653903B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102110220A (en) * | 2011-02-14 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Application program monitoring method and device |
CN103218552A (en) * | 2012-01-19 | 2013-07-24 | 华为终端有限公司 | Safety management method and device based on user behavior |
US20130303154A1 (en) * | 2012-05-14 | 2013-11-14 | Qualcomm Incorporated | System, apparatus, and method for adaptive observation of mobile device behavior |
CN103780447A (en) * | 2012-10-23 | 2014-05-07 | 腾讯科技(深圳)有限公司 | Flow control method and device |
CN104239786A (en) * | 2014-10-13 | 2014-12-24 | 北京奇虎科技有限公司 | ROOT-free active defense configuration method and device |
CN104239797A (en) * | 2014-10-13 | 2014-12-24 | 北京奇虎科技有限公司 | Active defense method and device |
CN104408367A (en) * | 2014-11-28 | 2015-03-11 | 北京奇虎科技有限公司 | Application program configuration method and device |
CN104766005A (en) * | 2015-04-15 | 2015-07-08 | 小米科技有限责任公司 | Management method and device for application software access authority |
CN105072255A (en) * | 2015-07-10 | 2015-11-18 | 北京奇虎科技有限公司 | Mobile device privacy authority control method, device and corresponding mobile phone device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108268116A (en) * | 2017-01-03 | 2018-07-10 | 中兴通讯股份有限公司 | A kind of method, device and mobile terminal for solving mobile terminal exception power consumption |
CN108268116B (en) * | 2017-01-03 | 2022-06-07 | 中兴通讯股份有限公司 | Method and device for solving abnormal power consumption of mobile terminal and mobile terminal |
CN108924258A (en) * | 2018-08-14 | 2018-11-30 | 深圳壹账通智能科技有限公司 | Background information method for pushing, device, computer equipment and storage medium |
CN109658934A (en) * | 2018-12-27 | 2019-04-19 | 苏州思必驰信息科技有限公司 | Pass through the method and device of voice control multimedia app |
CN110191465A (en) * | 2019-06-03 | 2019-08-30 | 努比亚技术有限公司 | Authority control method, mobile terminal and computer readable storage medium |
WO2024152602A1 (en) * | 2023-01-16 | 2024-07-25 | 华为技术有限公司 | Application program permission management method |
Also Published As
Publication number | Publication date |
---|---|
CN105653903B (en) | 2019-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3188066B1 (en) | A method and an apparatus for managing an application | |
EP3151117B1 (en) | Method and device for delaying information broadcasting | |
US10264085B2 (en) | Method and device for presenting push notifications | |
US10064000B2 (en) | Method, apparatus, and storage medium for acquiring terminal information | |
EP2911126A1 (en) | Method and device for protecting terminal apparatus and terminal apparatus and medium | |
CN105677460A (en) | Application processing method and apparatus | |
KR20160127625A (en) | Method and device for deleting smart scene | |
CN104661176A (en) | Reminding method and device | |
CN105117211A (en) | Method and device for message prompts | |
EP3076745B1 (en) | Methods and apparatuses for controlling wireless access point | |
CN104298547A (en) | Terminal setting method and device | |
CN104580730A (en) | Alarm clock prompting method and device | |
CN105653903A (en) | Application program authority management method and device | |
CN109117874A (en) | Operation behavior prediction technique and device | |
US20170300211A1 (en) | Method and apparatus for displaying status information of application | |
CN105653236A (en) | Sound volume control method and device and mobile terminal | |
CN104156848A (en) | Schedule management method and schedule management device | |
CN106157602A (en) | The method and apparatus of calling vehicle | |
CN105653165A (en) | Method and device for regulating character display | |
CN105530384A (en) | Method and device for power reminding based on alarm clock | |
CN105554255A (en) | Operation control method and device for terminal equipment | |
CN105117899A (en) | Reminding method and apparatus | |
CN104010072A (en) | Electric quantity prompt method and device | |
CN106462835A (en) | Calendar event creation method and device | |
CN105868624A (en) | Application program authority management method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |