CN107862203A - Control method, device, storage medium and the terminal of application program - Google Patents

Control method, device, storage medium and the terminal of application program Download PDF

Info

Publication number
CN107862203A
CN107862203A CN201711168382.9A CN201711168382A CN107862203A CN 107862203 A CN107862203 A CN 107862203A CN 201711168382 A CN201711168382 A CN 201711168382A CN 107862203 A CN107862203 A CN 107862203A
Authority
CN
China
Prior art keywords
application program
launched
starting
self
application
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
CN201711168382.9A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711168382.9A priority Critical patent/CN107862203A/en
Publication of CN107862203A publication Critical patent/CN107862203A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/629Protecting access to data via a platform, e.g. using keys or access control rules to features or functions of an application

Abstract

The embodiment of the present application discloses a kind of control method of application program, device, storage medium with terminal.This method includes:When the event for starting application by reading notice authority mode is triggered, obtain with the application program to be launched for reading notice authority;Obtain the related information of the application program to be launched;Determined whether to start the application program to be launched according to the related information.The technical scheme provided by the embodiment of the present application, can effectively management and control by read notice authority in a manner of self-starting application program operation, reduce application program and realize that the resident situation of the process of oneself occurs by way of reading and notifying authority, so as to, reduce the application of using terminal resource, processing speed is improved, while reduces power consumption of terminal, improves the cruising time of terminal.

Description

Control method, device, storage medium and the terminal of application program
Technical field
The invention relates to field of terminal technology, more particularly to the control method of application program, device, storage medium And terminal.
Background technology
With the fast development of terminal technology, application program is more and more diversified, and the application program installed in terminal is also got over Come more.
Stealthily start on terminal system backstage however, application program can move heaven and earth.In most cases, these should The application program for wishing to start with program and non-user, it is under the table carrying out various behaviors influential on user from the background.Than Such as, some third-party applications carry out data upload or download in the case of user is unwitting, have used the system resource of terminal, Network bandwidth is occupied, have impact on the performances such as processing speed, the power consumption of terminal.Even, the application program of some self-startings, such as flow The common people apply, it is also possible to bring potential safety hazard.
The content of the invention
The embodiment of the present application provides control method, device, storage medium and the terminal of application program, can be to application program Starting mode carry out effective management control.
In a first aspect, the embodiment of the present application provides a kind of control method of application program, this method includes:
When the event for starting application by reading notice authority mode is triggered, obtains and treated with reading notice authority Start application program;
Obtain the related information of the application program to be launched;
Determined whether to start the application program to be launched according to the related information.
Second aspect, the embodiment of the present application provide a kind of control device of application program, and the device includes:
Application program acquisition module to be launched, for being triggered in the event for starting application by reading notice authority mode When, obtain with the application program to be launched for reading notice authority;
Related information acquisition module, for obtaining the related information of the application program to be launched;
Application program controlling module to be launched, for being determined whether to start the application to be launched according to the related information Program.
The third aspect, the embodiment of the present application provide a kind of computer-readable recording medium, are stored thereon with computer journey Sequence, the control method of the application program as described in the embodiment of the present application first aspect is realized when the program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of terminal, including memory, and processor and storage are on a memory And the computer program that can be run in processor, such as the embodiment of the present application is realized described in the computing device during computer program The control method of application program described in first aspect.
The control program of the application program provided in the embodiment of the present application, starting application by reading notice authority mode Event when being triggered, obtain with the application program to be launched for reading notice authority, and according to the pass of application program to be launched Connection information determines whether to start application program to be launched.By using above-mentioned technical proposal, can effectively management and control it is logical to read The operation of the mode self-starting application program of right to know limit, reduce the feelings of application program self-starting by way of reading and notifying authority Condition, and then, reduce application program and realize that the resident situation of the process of oneself occurs by way of reading and notifying authority, so as to, The application of using terminal resource is reduced, improves processing speed, while reduces power consumption of terminal, improves the cruising time of terminal.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the control method for application program that the embodiment of the present application provides;
Fig. 2 is that a kind of self-starting for application program that the embodiment of the present application provides switchs the schematic diagram at interface;
Fig. 3 is the schematic flow sheet of the control method for another application program that the embodiment of the present application provides;
Fig. 4 is the schematic flow sheet of the control method for another application program that the embodiment of the present application provides;
Fig. 5 is a kind of structural representation of the control device for application program that the embodiment of the present application provides;
Fig. 6 is a kind of structured flowchart for terminal that the embodiment of the present application provides;
Fig. 7 is a kind of structural representation for mobile terminal that the embodiment of the present application provides.
Embodiment
The technical scheme of the application is further illustrated below in conjunction with the accompanying drawings and by embodiment.It is appreciated that It is that specific embodiment described herein is used only for explaining the application, rather than the restriction to the application.Further need exist for illustrating , for the ease of description, the part related to the application rather than entire infrastructure are illustrate only in accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
At present, the operating system platform of the intelligence system intelligent terminal maximum as customer group, can compatibility the various 3rd Fang Yingyong, to meet various use demands of the user in life, amusement.But these third-party applications may pass through guiding User open read notice authority mode in backstage automatic start, and in the case of user is unwitting carry out data upload or Download, have impact on the performance and security of terminal.
For clearer explanation the application, letter is carried out to starting application program by way of reading and notifying authority below Illustrate.In correlation technique, in Android system (android), read notice authority and refer to The authority of " android.permission.BIND_NOTIFICATION_LISTENER_SERVICE ".Wherein, third-party application It can be obtained and various notices in monitor terminal system by way of reading and notifying authority.Third-party application needs to build Found the announcement information that a corresponding service service carrys out monitoring system, the service clothes that each third-party application is established Business can be registered in notifications management service, and notifications management service can notify third-party application when notice changes The service services of foundation.If now third-party application process is not actuated, can be started by notifications management service, the Tripartite is applied by way of this reading notice authority, the process of oneself is kept resident.Even if third-party application just by Killing is removed, and system can also start third-party application by way of reading and notifying authority.Third-party application is caused to use always The system resource of terminal, network bandwidth is taken, the processing speed for terminal occur is slack-off, network speed is slack-off or power consumption increase etc. The problem of influenceing terminal capabilities.Even, some application programs wake up other third-party applications during running background, use Family is utilized by some rogues application in the case of unwitting, is unfavorable for the usage experience of user and the safety guarantee of system. The control program for the application program that the embodiment of the present application provides, effectively management and control application program it can notify authority by reading Mode self-starting.
Fig. 1 is the schematic flow sheet of the control method for the application program that the embodiment of the present application provides, and this method can be by answering Performed with the control device of program, wherein the device can be realized by software and/or hardware, can typically integrate in the terminal.Such as Fig. 1 Shown, this method includes:
Step 101, when starting the event of application by reading notice authority mode and being triggered, obtain to have and read notice The application program to be launched of authority.
In the embodiment of the present application, when monitor start the event of application by reading notice authority mode and be triggered when, Obtain with the application program to be launched for reading notice authority, so as to carry out starting by way of reading and notifying authority using journey The management and control event of sequence.
It is understood that when system listens to notice, content of announcement is read, and obtained from the content of announcement read Application program to be launched, if now detecting, the application program is not actuated, and triggering is started by reading notice authority mode The event of application.After application program is cleared up by killing, when notifications management service detects that notifications change, it is intended to open Dynamic application program, i.e., the event for starting application by reading notice authority mode are triggered;Application is opened when user actively clicks on During the reading notice authority of program, characterize and be triggered by reading the event for notifying authority mode to start application;Answered when by other When the notice sent with program associates startup, characterize and be triggered by reading the event for notifying authority mode to start application.Need Illustrate, the embodiment of the present application by reading to notifying authority mode to start the specific manifestation form that the event of application is triggered It is not construed as limiting.
It should be noted that pipe is being carried out to the application program of the self-starting by way of reading authority according to related information Before control, in addition to:Judge whether have been started up with the application program for reading notice authority;If notify authority with reading Application program is not actuated, then triggering starts the management and control event of application program in a manner of reading notice authority.Weighed to read notice When the management and control event that limit mode starts application program is triggered, then the self-starting mode to application program, bag name, component Name with And the related information such as self-starting state carries out comprehensive descision, it is understood that default according to being matched to the related information to perform The operation of booting-self controller strategy.If being had been turned on the application program for reading notice authority, do not trigger to read notice power Limit mode starts the management and control event of application program.
Step 102, the related information for obtaining application program to be launched.
In the embodiment of the present application, the related information of application program to be launched can include opening certainly for application program to be launched Flowing mode, wherein, self-starting mode can include multi-user and switch self-starting, start self-starting, using killing self-starting and use Self-starting during the reading notice authority of the dynamic opening application program of householder.Multi-user's switching self-starting can be understood as same terminal can So that multiple users use, each user is provided with the application program of oneself needs, during multi-user switches use, Application program carries out self-starting;Start self-starting can be understood as when starting up of terminal, application program self-starting;Using killing certainly Startup can be understood as the self-starting again after application program is cleared up by killing;The reading that user actively opens application program is led to Right to know self-starting of prescribing a time limit can be understood as when the reading that user actively opens application program notifies authority, and application program is from opening It is dynamic.
Optionally, the related information of application program to be launched can also include bag name, the component name of application program to be launched Claim and self-starting state.Wherein, the bag name of application program to be launched may be replaced by other marks of application program to be launched Information, such as the process identification (PID) of application program.
Optionally, the setting function in the system service by managing notice obtains the bag name and group of application program to be launched Part title;Default self-starting state table is inquired about according to the bag name or component Name of application program to be launched, determines to be launched answer With the self-starting state of program.
Wherein, the system service i.e. notifications management service of notice is managed, manages the setting in the system service of notice Function can be rebindServices functions, and the function is in system service code ManagedServices.Pass through RebindServices functions can obtain the bag name and component Name of application program to be launched.
Self-starting state table is that the self-starting state for the application program for being stored with user's setting is to open or close state Form.Self-starting state can be understood as the status information of the self-starting switch of application program to be launched, wherein it is possible in terminal Using in house keeper or configuration interface increase application program self-starting switch, for user by operate self-starting switch open or Close the self-starting function of the application program.It is thus possible to self-starting authority is characterized using the status information of self-starting switch.From Starting state includes self-starting switch and is closed in opening and self-starting switch.Opened if self-starting switch is in State is opened, then application program corresponding to explanation has self-starting authority.Fig. 2 is a kind of application program that the embodiment of the present application provides Self-starting switch interface schematic diagram.As shown in Fig. 2 the self-starting that user can enter application program by application house keeper is set Interface is put, can be by open or close application program A (or application program B/ to the operation for selecting control 210 in the interface C/D self-starting function), it is also assumed that being to confer to application program A self-starting authorities.It can also be increased by edit control 220 Add or change application program.The state (i.e. self-starting state) that the self-starting work(of system detectio to a certain application program switchs occurs During change, self-starting state table is updated, this opens state table certainly can be stored in local cache, be stored in cloud service Device.In addition, the self-starting state table can be file format, tables of data form can also be.
Step 103, determined whether according to related information to start application program to be launched.
In the embodiment of the present application, determined whether to notify authority by reading according to the related information of application program to be launched Mode start application program to be launched, i.e., allowed according to the related information of application program to be launched by reading notice authority Mode starts application program to be launched, or, according to the related information of application program to be launched no thoroughfare read notice authority Mode start application program to be launched.
Optionally, when the self-starting mode of application program to be launched switches self-starting or start self-starting for multi-user, No thoroughfare, and monitoring notice authority mode starts application program to be launched.It is understood that after system listens to notice, really Whether the event for determining trigger notice is that if so, not reading content of announcement then, i.e., no thoroughfare because terminal user switches or started shooting Monitor notice authority mode and start the application program to be enabled.So setting is advantageous in that, can effectively reduce the number of system According to treating capacity.
Optionally, when the self-starting mode of application program to be launched is actively to open to apply using killing self-starting or user During the reading notice authority of program during self-starting, judge whether related information meets preparatory condition;When related information meets to preset During condition, no thoroughfare, and reading notice authority mode starts application program to be launched;Wherein, preparatory condition includes:It is to be launched to answer Default application information in white list list is preset with the Bao Mingyu first of program to mismatch, component Name and second is preset Default module information mismatches in white list list, also, self-starting state is closed mode, wherein, according to the setting cycle By the history usage record with the application program for reading notice authority, the described first default white list list and second of generation Default white list list.Exemplary, obtain the history with the application program for reading notice authority according to the setting cycle and use Record.When this is got with history usage record of the application program of notice authority in preset time section is read, The history usage record is learnt using machine learning mode, generation allows notify authority mode to start by reading to answer With the list of program, using the first list with application package name as the first default white list list, will have and apply journey The second list of sequence component Name is as the second default white list list.It is understood that the first default white list list with Second default white list list can synthesize a list, or two lists.When reaching the setting cycle, obtain again History usage record of the application program with reading notice authority in preset time section, and adopted according to history usage record The first default white list list and the second default white list list are updated with machine learning mode.It is understood that may be used also In a manner of by data statistics, according to the first default white list list of history usage record generation and the second default white list row Table.
Optionally, when the self-starting mode of application program to be launched is actively to open to apply using killing self-starting or user During the reading notice authority of program during self-starting, determine whether out:When the Bao Mingyu first of application program to be launched is default white In list list during default application information matching, or, preset when in component Name and the second default white list list Module information matching when, or, when self-starting state be opening, it is allowed to notify authority mode to start and treat by reading Start application program.
Exemplary, when the self-starting mode of application program to be launched is actively to open to answer using killing self-starting or user When notifying authority with the reading of program during self-starting, the Bao Mingyu of application program to be launched first is preset pre- in white list list If application information matched.For example, white list list is preset according to the bag name of application program to be launched inquiry first, Determine whether the bag name of application program to be launched belongs to the first default white list list.If the bag name category of the application process to be launched In the first default white list list, then directly allow the application program launching to be launched, i.e. allow application program to be launched to pass through The mode for reading notice authority starts.
When the self-starting mode of application program to be launched is actively to open application program using killing self-starting or user When reading notice authority during self-starting, the component Name of application program to be launched is preset with second default in white list list Module information is matched.For example, according to the second default white list list of the component Name of application program to be launched inquiry, it is determined that Whether the component Name of application program to be launched belongs to the second default white list list.If the component name of the application process to be launched Title belongs to the second default white list list, then directly allows the application program launching to be launched, i.e. allow application program to be launched Started by way of reading and notifying authority.
When the self-starting mode of application program to be launched is actively to open application program using killing self-starting or user When reading notice authority during self-starting, the self-starting state of application program to be launched is judged.For example, can be by inquiring about self-starting State table, determine that the self-starting switch of the application program is in order at open mode or closed mode.If application program to be launched Self-starting state, i.e., application program to be launched self-starting switch has opened, then directly allow the application program to be launched to open It is dynamic, i.e. to allow application program to be launched to start by way of reading and notifying authority.
It is understood that when the self-starting mode of application program to be launched is actively to be beaten using killing self-starting or user When opening the reading notice authority of application program during self-starting, to the related information (application program to be launched of application program to be launched Bag name, component Name and self-starting state) execution sequence that carries out matching operation is not unique, its execution sequence can To exchange.
Wherein, the first default white list list and the second default white list list can be to passing through tool according to the setting cycle The history usage record for having the application program for reading notice authority is counted or is learnt and generate formulation.According to the setting cycle User's sample can be understood as by the history usage record with the application program for reading notice authority.The selection of user's sample It can be that local user in setting time section there is the history for reading the application program for notifying authority to use data, may be used also To be to set quantity to meet that the user group that imposes a condition has the application journey for reading notice authority in setting time section The history of sequence uses data.For example, server, which is obtained in local user one month, has the application program for reading notice authority History use data, as user's sample, user's sample is learnt using machine learning model, prediction user may What is used has the application program for reading notice authority, pre- according to the first default white list list of application program generation and second If white list list, in order to allow its self-starting after powering or from the background.And for example, server obtains 10,000 ages in 16-26 The history for the application program that user's having in one month between year reads notice authority uses data, as user's sample This, counts the application program with reading notice authority that this user group commonly uses, first is generated according to the application program Default white list list and the second default white list list, in order to allow its self-starting after powering or from the background.Wherein, first Default white list list and the second default white list list can be with identical, can also be different.(first presets white name for white list list Single-row table and the second default white list list) after generation, terminal is delivered to by server push.It should be noted that this is first default White list list and the second default white list list can also be selected by user.The first default white list list and second is preset White list list can be stored in terminal local or cloud server with file mode, can also be stored in end with database mode Hold local or cloud server.
Optionally, determined whether to start application program to be launched according to related information, including:Judge application program to be launched Whether it is application program built in system;When application program to be launched is the application program built in system, it is allowed to pass through reading Notice authority mode starts application program to be launched.
It is exemplary, judge whether the application program to be launched is application program built in system;Permit if so, then performing Perhaps the operation by way of reading and notifying authority to application program launching to be launched;Otherwise, to be launched journey is applied according to described The mode for reading notice authority that the related information of sequence determines to allow or no thoroughfare starts to application program to be launched.Example Such as, when the event for starting application by reading notice authority mode is triggered, the to be launched of authority is notified according to reading The related information of application program, application program of the application program to be launched built in system is determined, then allows this to be launched Application program launching.And if the application program to be launched is nonsystematic built-in application, then to the pass of the application program to be launched Connection information is judged, to determine whether to start application program to be launched.
The technical scheme of the embodiment of the present application, when the event for starting application by reading notice authority mode is triggered, The application program to be launched with reading notice authority is obtained, and determines whether to open according to the related information of application program to be launched Move application program to be launched, can effectively management and control by read notice authority in a manner of self-starting application program operation, reduction Rogue application realizes that the resident situation of the process of oneself occurs by way of reading and notifying authority, so as to reduce and use The application of terminal resource, processing speed is improved, while reduce power consumption of terminal, improve the cruising time of terminal.
Fig. 3 is the schematic flow sheet of the control method for the application program that the embodiment of the present application provides.As shown in figure 3, the party Method includes:
Step 301, when starting the event of application by reading notice authority mode and being triggered, obtain to have and read notice The application program to be launched of authority.
Step 302, the self-starting mode for obtaining application program to be launched.
Wherein, self-starting mode can include multi-user's switching self-starting, start self-starting, using killing self-starting and use Self-starting during the reading notice authority of the dynamic opening application program of householder.The self-starting mode of application program to be launched is in synchronization It is only one kind therein.
Step 303, when application program to be launched self-starting mode for multi-user switch self-starting or start self-starting when, No thoroughfare, and monitoring notice authority mode starts application program to be launched.
Step 304, when the self-starting mode of application program to be launched is that actively opened using killing self-starting or user should When notifying authority with the reading of program during self-starting, the setting function in system service by managing notice obtain it is to be launched should With the bag name and component Name of program.
Step 305, default self-starting state table inquired about according to the bag name or component Name of application program to be launched, it is determined that The self-starting state of application program to be launched.
Whether step 306, the bag name for judging application program to be launched, component Name and self-starting state meet default bar Part, if so, then performing step 307, otherwise, perform step 308.
Wherein, preparatory condition includes:The Bao Mingyu first of application program to be launched presets default in white list list answer Mismatched with program information, default module information mismatches in component Name and the second default white list list, also, opens certainly Dynamic state is closed mode, wherein, according to the setting cycle by using note with the history for reading the application program for notifying authority Record, the described first default white list list of generation and the second default white list list.
It is understood that following three conditions ought be met simultaneously:The Bao Mingyu first for starting application program presets white name Default application information mismatches in single-row table;Default module information in component Name and the second default white list list Mismatch;When self-starting state is closed mode, step 307 is performed.
When following three conditions of satisfaction:The Bao Mingyu first for starting application program presets default application in white list list Program information matches;Component Name matches with default module information in the second default white list list;Self-starting state is to open Open state, in it is any one or more when, then perform step 308.
Step 307, no thoroughfare, and reading notice authority mode starts application program to be launched.
Step 308, allow to start application program to be launched by reading notice authority mode.
The control program of the application program provided in the embodiment of the present application, starting application by reading notice authority mode Event when being triggered, obtain with the application program to be launched for reading notice authority, and according to the pass of application program to be launched Connection information determines whether to start application program to be launched.By using above-mentioned technical proposal, can effectively management and control it is logical to read The operation of the mode self-starting application program of right to know limit, reduce the feelings of application program self-starting by way of reading and notifying authority Condition, and then, reduce application program and realize that the resident situation of the process of oneself occurs by way of reading and notifying authority, so as to, The application of using terminal resource is reduced, improves processing speed, while reduces power consumption of terminal, improves the cruising time of terminal.
Fig. 4 is the schematic flow sheet of the control method for the application program that the embodiment of the present application provides.As shown in figure 4, the party Method includes:
Step 401, when starting the event of application by reading notice authority mode and being triggered, obtain to have and read notice The application program to be launched of authority.
Step 402, the self-starting mode for obtaining application program to be launched.
Wherein, self-starting mode can include multi-user's switching self-starting, start self-starting, using killing self-starting and use Self-starting during the reading notice authority of the dynamic opening application program of householder.
The self-starting mode of application program to be launched is only one kind therein in synchronization.
Step 403, when application program to be launched self-starting mode for multi-user switch self-starting or start self-starting when, No thoroughfare, and monitoring notice authority mode starts application program to be launched.
Step 404, when the self-starting mode of application program to be launched is that actively opened using killing self-starting or user should When notifying authority with the reading of program during self-starting, the setting function in system service by managing notice obtain it is to be launched should With the bag name and component Name of program.
Step 405, default self-starting state table inquired about according to the bag name or component Name of application program to be launched, it is determined that The self-starting state of application program to be launched.
Step 406, judge whether application program to be launched is application program built in system, if so, then performing step 413, otherwise perform step 407.
Step 407, judge that the Bao Mingyu first of application program to be launched presets default application program in white list list Whether information matches, if so, then performing step 413, otherwise performs step 408.
Default component in the default white list list of step 408, the component Name for judging application program to be launched and second Whether information matches, if so, then performing step 413, otherwise performs step 409.
Whether step 409, the self-starting state for judging application program to be launched are opening, if so, then performing step 413, otherwise perform step 410.
It should be noted that the order of above-mentioned steps 406 to 409 is not fixed, can exchange.
Step 410, no thoroughfare, and reading notice authority mode starts application program to be launched.
Step 411, the bag name for preserving the application program to be launched, generated according to bag name and intercept startup record.
Step 412, by intercept start record be supplied to user.
Step 413, allow to start application program to be launched by reading notice authority mode.
The technical scheme of the embodiment of the present application, when the event for starting application by reading notice authority mode is triggered, The application program to be launched with reading notice authority is obtained, and determines whether to open according to the related information of application program to be launched Move application program to be launched, can effectively management and control by read notify authority in a manner of self-starting application program operation.In addition, If the mode for reading notice authority that no thoroughfare starts application program to be launched, the bag name of application program to be launched, root are preserved Generate to intercept according to bag name and start record, start record to described intercept of user's displaying, can be shown to user all because of self-starting Intercepted startup record, optimizes Human-computer Interactive Design.
Fig. 5 is a kind of structural representation of the control device for application program that the embodiment of the present application provides, and the device can be by Software and/or hardware are realized, are typically integrated in terminal, can be notified by performing the control method of application program by reading When the event that authority mode starts application is triggered, treated according to the related information of application program to be launched determines whether startup Start application program.As shown in figure 5, the device includes:
Application program acquisition module 501 to be launched, for starting the event quilt of application by reading notice authority mode During triggering, obtain with the application program to be launched for reading notice authority;
Related information acquisition module 502, for obtaining the related information of the application program to be launched;
Application program controlling module 503 to be launched, it is described to be launched for determining whether to start according to the related information Application program.
The control device of the application program provided in the embodiment of the present application, starting application by reading notice authority mode Event when being triggered, obtain with the application program to be launched for reading notice authority, and according to the pass of application program to be launched Join information to determine whether to start application program to be launched, can effectively management and control self-starting application in a manner of reading notice authority The operation of program, reduce rogue application and realize that the resident situation of the process of oneself is sent out by way of reading and notifying authority It is raw, so as to, the application of using terminal resource is reduced, improves processing speed, while power consumption of terminal is reduced, improve the continuation of the journey of terminal Time.
Optionally, the related information includes the self-starting mode of the application program to be launched, wherein, the self-starting Mode includes multi-user and switches self-starting, start self-starting, the reading for actively opening using killing self-starting and user application program Self-starting when taking notice authority;
The application program controlling module to be launched, is used for:
When the self-starting mode of the application program to be launched switches self-starting or start self-starting for multi-user, forbid Start the application program to be launched by monitoring notice authority mode.
Optionally, the related information also includes bag name, component Name and the self-starting state of application program to be launched;
Setting function in system service by managing notice obtains the bag name and component of the application program to be launched Title;
Default self-starting state table is inquired about according to the bag name of the application program to be launched or component Name, it is determined that described The self-starting state of application program to be launched.
Optionally, the application program controlling module to be launched, is used for:
When the self-starting mode of the application program to be launched is actively to open to apply journey using killing self-starting or user During the reading notice authority of sequence during self-starting, judge whether the related information meets preparatory condition;
When the related information meets the preparatory condition, reading that no thoroughfare notifies authority mode to wait to open described in starting Dynamic application program;
Wherein, the preparatory condition includes:The Bao Mingyu first of the application program to be launched is preset in white list list Default application information mismatches, and the component Name does not preset in white list list default module information not with second Match somebody with somebody, also, the self-starting state is closed mode, wherein, pass through according to the setting cycle with the application for reading notice authority The history usage record of program, the described first default white list list of generation and the second default white list list.
Optionally, the application program controlling module to be launched, is used for:
When default application program letter in the first default white list list described in the Bao Mingyu of the application program to be launched During breath matching, or, when the component Name presets that default module information matches in white list list with described second, or Person, when the self-starting state is opening, it is allowed to started by reading notice authority mode and described to be launched apply journey Sequence.
Optionally, the application program controlling module to be launched, is used for:
Judge whether the application program to be launched is application program built in system;
When the application program to be launched is the application program built in system, it is allowed to opened by reading notice authority mode Move the application program to be launched.
Optionally, in addition to:
Intercept and start record generation module, for reading notice authority mode to start the application to be launched no thoroughfare During program, the bag name of the application program to be launched is preserved, is generated according to the bag name and intercepts startup record;
Intercept and record offer module is provided, user is supplied to for the interception to be started into record.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform The control method when being performed by computer processor for application program is instructed, this method includes:
When the event for starting application by reading notice authority mode is triggered, obtains and treated with reading notice authority Start application program;
Obtain the related information of the application program to be launched;
Determined whether to start the application program to be launched according to the related information.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDRRAM, SRAM, EDORAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (example Such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other types Memory or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, or It can be located in different second computer systems, second computer system is connected to the first meter by network (such as internet) Calculation machine system.Second computer system can provide programmed instruction and be used to perform to the first computer.Term " storage medium " can With including may reside within diverse location (such as in different computer systems by network connection) two or more Storage medium.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as be implemented as counting Calculation machine program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, its computer The control operation for the application program that executable instruction is not limited to the described above, it can also carry out the application any embodiment and provided Application program control method in associative operation.
The embodiment of the present application provides a kind of terminal, has operating system in the terminal, is referred to as intelligent terminal, should The control device for starting application with broadcast mode of the embodiment of the present application offer can be provided in intelligent terminal.Wherein, intelligent terminal Including smart mobile phone, tablet personal computer, handheld device, notebook computer and Intelligent worn device (including intelligent watch, Brilliant Eyes Mirror or Intelligent bracelet) etc..Fig. 6 is a kind of structured flowchart for terminal that the embodiment of the present application provides.As shown in fig. 6, terminal 600 can With including:Memory 601, processor 602 and storage on a memory and can processor operation computer program, the place Reason device 602 realizes the control method of the application program as described in the embodiment of the present application when performing the computer program.
The terminal that the embodiment of the present application provides, when the event for starting application by reading notice authority mode is triggered, The application program to be launched with reading notice authority is obtained, and determines whether to open according to the related information of application program to be launched Move application program to be launched.By using above-mentioned technical proposal, effectively management and control can be opened certainly in a manner of reading notice authority The operation of dynamic application program, the situation of application program self-starting by way of reading and notifying authority is reduced, and then, reduce application Program realizes that the resident situation of the process of oneself occurs by way of reading and notifying authority, so as to reduce using terminal resource Application, improve processing speed, while reduce power consumption of terminal, improve the cruising time of terminal.
Fig. 7 is the structural representation for another mobile terminal that the embodiment of the present application provides, as shown in fig. 7, the movement is whole End can include:Housing (not shown), memory 701, central processing unit (central processing unit, CPU) 702 (also known as processor, hereinafter referred to as CPU), circuit board (not shown) and power circuit (not shown).The circuit Plate is placed in the interior volume that the housing surrounds;The CPU702 and the memory 701 are arranged on the circuit board;Institute Power circuit is stated, for each circuit or the device power supply for the mobile terminal;The memory 701, can hold for storing Line program code;The CPU702 by read the executable program code stored in the memory 701 run with it is described Computer program corresponding to executable program code, to realize following steps:
When the event for starting application by reading notice authority mode is triggered, obtains and treated with reading notice authority Start application program;
Obtain the related information of the application program to be launched;
Determined whether to start the application program to be launched according to the related information.
The mobile terminal also includes:Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, audio-frequency electric Road 706, loudspeaker 711, power management chip 708, input/output (I/O) subsystem 709, other input/control devicess 710, Touch-screen 712, other input/control devicess 710 and outside port 704, these parts pass through one or more communication bus Or signal wire 707 communicates.
It should be understood that diagram mobile terminal 700 is only an example of mobile terminal, and mobile terminal 700 Can have than more or less parts shown in figure, can combine two or more parts, or can be with Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special Hardware, software including integrated circuit are realized in the combination of hardware and software.
The mobile terminal of the control for application program provided below with regard to the present embodiment is described in detail, the movement Terminal is by taking mobile phone as an example.
Memory 701, the memory 701 can be accessed by CPU702, Peripheral Interface 703 etc., and the memory 701 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703 Reservoir 701.
I/O subsystems 709, the I/O subsystems 709 can be by the input/output peripherals in equipment, such as touch-screen 712 With other input/control devicess 710, Peripheral Interface 703 is connected to.I/O subsystems 709 can include the He of display controller 7091 For controlling one or more input controllers 7092 of other input/control devicess 710.Wherein, one or more input controls Device 7092 processed receives electric signal from other input/control devicess 710 or sends electric signal to other input/control devicess 710, Other input/control devicess 710 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click on roller.What deserves to be explained is input controller 7092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 712, the touch-screen 712 are the input interface and output interface between customer mobile terminal and user, Visual output display can be included into figure, text, icon, video etc. to user, visual output.
Display controller 7091 in I/O subsystems 709 receives electric signal from touch-screen 712 or sent out to touch-screen 712 Electric signals.Touch-screen 712 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 7091 The interaction of user interface object on touch-screen 712, that is, realize man-machine interaction, the user interface being shown on touch-screen 712 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 705, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 705 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 705 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 705 can include being used to perform The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 706, it is mainly used in receiving voice data from Peripheral Interface 703, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 711.
Loudspeaker 711, for the voice signal for receiving mobile phone from wireless network by RF circuits 705, it is reduced to sound And play the sound to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface are powered And power management.
It is real that control device, storage medium and the mobile terminal of the application program provided in above-described embodiment can perform the application The control method for the corresponding application program that example is provided is applied, possesses and performs the corresponding functional module of this method and beneficial effect. Not ins and outs of detailed description in the above-described embodiments, reference can be made to the control for the application program that the application any embodiment is provided Method processed.
Pay attention to, above are only preferred embodiment and the institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out by above example to the application It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also Other more equivalent embodiments can be included, and scope of the present application is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. control method of application program, it is characterised in that including:
    When the event for starting application by reading notice authority mode is triggered, obtain with the to be launched of reading notice authority Application program;
    Obtain the related information of the application program to be launched;
    Determined whether to start the application program to be launched according to the related information.
  2. 2. according to the method for claim 1, it is characterised in that the related information includes the application program to be launched Self-starting mode, wherein, the self-starting mode includes multi-user and switches self-starting, start self-starting, using killing self-starting Self-starting when the reading notice authority of application program is actively opened with user;
    Determined whether to start the application program to be launched according to the related information, including:
    When the self-starting mode of the application program to be launched switches self-starting or start self-starting for multi-user, no thoroughfare Monitor notice authority mode and start the application program to be launched.
  3. 3. according to the method for claim 2, it is characterised in that the related information also includes the bag of application program to be launched Name, component Name and self-starting state;
    Setting function in system service by managing notice obtains the bag name and component Name of the application program to be launched;
    Default self-starting state table is inquired about according to the bag name of the application program to be launched or component Name, it is determined that described wait to open The self-starting state of dynamic application program.
  4. 4. according to the method for claim 3, it is characterised in that wait to open according to the related information determines whether startup Dynamic application program, including:
    When the self-starting mode of the application program to be launched is actively to open application program using killing self-starting or user When reading notice authority during self-starting, judge whether the related information meets preparatory condition;
    When the related information meets the preparatory condition, no thoroughfare read notice authority mode start it is described it is to be launched should Use program;
    Wherein, the preparatory condition includes:The Bao Mingyu first of the application program to be launched presets in white list list and preset Application information mismatch, the component Name and default module information mismatch in the second default white list list, Also, the self-starting state is closed mode, wherein, pass through according to the setting cycle with the application program for reading notice authority History usage record, the described first default white list list of generation and the second default white list list.
  5. 5. according to the method for claim 4, it is characterised in that wait to open according to the related information determines whether startup Dynamic application program, including:
    When default application information in the first default white list list described in the Bao Mingyu of the application program to be launched Timing, or, when the component Name with default module information matches in the described second default white list list when, or, When the self-starting state is opening, it is allowed to start the application program to be launched by reading notice authority mode.
  6. 6. according to any described methods of claim 1-5, it is characterised in that determined whether to start institute according to the related information Application program to be launched is stated, including:
    Judge whether the application program to be launched is application program built in system;
    When the application program to be launched is the application program built in system, it is allowed to start institute by reading notice authority mode State application program to be launched.
  7. 7. according to any described methods of claim 1-5, it is characterised in that also include:
    No thoroughfare read notice authority mode and start the application program to be launched when, preserve the application program to be launched Bag name, according to the bag name generate intercept start record;
    The startup record that intercepts is supplied to user.
  8. A kind of 8. control device of application program, it is characterised in that including:
    Application program acquisition module to be launched, for when starting the event of application by reading notice authority mode and being triggered, Obtain with the application program to be launched for reading notice authority;
    Related information acquisition module, for obtaining the related information of the application program to be launched;
    Application program controlling module to be launched, described to be launched journey is applied for determining whether to start according to the related information Sequence.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The control method of the application program as described in any in claim 1-7 is realized during row.
  10. 10. a kind of terminal, including memory, processor and storage are on a memory and the computer journey that can run on a processor Sequence, it is characterised in that realize the application as described in any in claim 1-7 described in the computing device during computer program The control method of program.
CN201711168382.9A 2017-11-21 2017-11-21 Control method, device, storage medium and the terminal of application program Pending CN107862203A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711168382.9A CN107862203A (en) 2017-11-21 2017-11-21 Control method, device, storage medium and the terminal of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711168382.9A CN107862203A (en) 2017-11-21 2017-11-21 Control method, device, storage medium and the terminal of application program

Publications (1)

Publication Number Publication Date
CN107862203A true CN107862203A (en) 2018-03-30

Family

ID=61702425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711168382.9A Pending CN107862203A (en) 2017-11-21 2017-11-21 Control method, device, storage medium and the terminal of application program

Country Status (1)

Country Link
CN (1) CN107862203A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549798A (en) * 2018-04-12 2018-09-18 珠海市魅族科技有限公司 Terminal equipment control method and device, terminal device and computer readable storage medium
CN110087290A (en) * 2019-04-23 2019-08-02 努比亚技术有限公司 Power consumption management-control method, terminal and computer readable storage medium
CN114398102A (en) * 2022-01-18 2022-04-26 杭州米络星科技(集团)有限公司 Application package generation method and device, compiling server and computer readable storage medium
CN115344860A (en) * 2022-07-28 2022-11-15 荣耀终端有限公司 Method for managing application program and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022099A (en) * 2016-05-16 2016-10-12 上海传英信息技术有限公司 Application self-starting management apparatus and method
CN106874088A (en) * 2017-01-25 2017-06-20 北京奇虎科技有限公司 A kind of processing method of application program self-starting, device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022099A (en) * 2016-05-16 2016-10-12 上海传英信息技术有限公司 Application self-starting management apparatus and method
CN106874088A (en) * 2017-01-25 2017-06-20 北京奇虎科技有限公司 A kind of processing method of application program self-starting, device and mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108549798A (en) * 2018-04-12 2018-09-18 珠海市魅族科技有限公司 Terminal equipment control method and device, terminal device and computer readable storage medium
CN108549798B (en) * 2018-04-12 2023-11-07 珠海市魅族科技有限公司 Terminal equipment control method and device, terminal equipment and computer readable storage medium
CN110087290A (en) * 2019-04-23 2019-08-02 努比亚技术有限公司 Power consumption management-control method, terminal and computer readable storage medium
CN110087290B (en) * 2019-04-23 2023-08-11 努比亚技术有限公司 Power consumption management and control method, terminal and computer readable storage medium
CN114398102A (en) * 2022-01-18 2022-04-26 杭州米络星科技(集团)有限公司 Application package generation method and device, compiling server and computer readable storage medium
CN114398102B (en) * 2022-01-18 2023-08-08 杭州米络星科技(集团)有限公司 Application package generation method and device, compiling server and computer readable storage medium
CN115344860A (en) * 2022-07-28 2022-11-15 荣耀终端有限公司 Method for managing application program and electronic equipment
CN115344860B (en) * 2022-07-28 2023-10-10 荣耀终端有限公司 Method for managing application program and electronic equipment

Similar Documents

Publication Publication Date Title
CN107944259A (en) Using the management-control method of startup, device and storage medium and mobile terminal
CN107943650B (en) Application program control method and device, storage medium and terminal
CN107748698A (en) Start control method, device, storage medium and the terminal of application with broadcast mode
CN107944258A (en) Start control method, device, storage medium and the terminal of application with method of service
CN107861773A (en) Associate management-control method, device, storage medium and the mobile terminal started
CN107862203A (en) Control method, device, storage medium and the terminal of application program
CN107797841A (en) Window control method, apparatus, terminal device and storage medium
CN107395889A (en) Reduce method, apparatus, storage medium and the mobile terminal of mobile terminal power consumption
CN107957913A (en) Associate management-control method, device, storage medium and the mobile terminal started
CN107944277A (en) Using the control method of startup, device, storage medium and intelligent terminal
CN107944257A (en) Start control method, device, storage medium and the terminal of application with method of service
CN107831886A (en) Association starts management-control method, device, storage medium and the intelligent terminal of application
CN107844342A (en) Management-control method, device and the storage medium and mobile terminal of application program keep-alive
CN108320744A (en) Method of speech processing and device, electronic equipment, computer readable storage medium
CN109840418A (en) Jump control method, device, storage medium and the terminal of application program
CN108521607A (en) The processing method of advertisement, device, storage medium and intelligent terminal in video
CN109271768A (en) Release news management method, device, storage medium and terminal
CN107957905A (en) Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation
CN107748684A (en) Realize processing method, device, storage medium and the mobile terminal of self-starting
CN107844341B (en) Process starting control method and device, storage medium and mobile terminal
CN107729764A (en) Guard method, device, storage medium and the electronic equipment of sensitive information
CN107943269A (en) Schedule job control method, device, terminal device and storage medium
CN107423064A (en) Message treatment method, device, terminal device and storage medium
CN107943270A (en) Control method, device and the storage medium and mobile terminal of application service
CN107885588A (en) Control method, device and the storage medium and mobile terminal of application service

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180330

RJ01 Rejection of invention patent application after publication