CN107957905A - Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation - Google Patents

Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation Download PDF

Info

Publication number
CN107957905A
CN107957905A CN201711167298.5A CN201711167298A CN107957905A CN 107957905 A CN107957905 A CN 107957905A CN 201711167298 A CN201711167298 A CN 201711167298A CN 107957905 A CN107957905 A CN 107957905A
Authority
CN
China
Prior art keywords
application program
service
schedule job
application
job
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
CN201711167298.5A
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 CN201711167298.5A priority Critical patent/CN107957905A/en
Publication of CN107957905A publication Critical patent/CN107957905A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the present application discloses a kind of method, apparatus, storage medium and intelligent terminal limited using self-starting.This method includes:When detecting that schedule job event is triggered, the identification information of the application program to the registration schedule job service of system call job management service is obtained;Identification information is matched with preset limit strategy, wherein, preset limit strategy is to carry out what study determined by the usage record of the application program to the registered schedule job service in preset time section;The operation of schedule job method of service startup application program is adjusted back by system according to matching result management and control.Can be when the schedule job that system call job management service class adjusts back third-party application registration services using above-mentioned technical proposal, the schedule job service for avoiding illegally application registration of intelligence, improve the security of intelligent terminal, intelligent terminal is reduced to be infected with the virus or the probability of the network such as malicious attack infringement, meanwhile the power consumption of intelligent terminal can be reduced.

Description

Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation
Technical field
The invention relates to data processing technique, more particularly to a kind of limit to apply the method, apparatus of self-starting, deposit Storage media and intelligent terminal.
Background technology
At present, intelligent terminal has become the most frequently used most important electronic equipment during user lives or works.Intelligent terminal Function is also not limited to make a phone call and sends short messages.
User often installs various third-party applications, to meet work or life requirement.But these application each other it Between can be started by schedule job mode, when meeting the trigger condition of schedule job, if registered schedule job service Third-party application is not actuated, and system understands the automatic start third party application and in running background.Even if user kills one The process of application, when meeting the trigger event of schedule job next time, the process of the application can be started by system again, cause to apply Process is killed not dead.These make intelligent terminal by the third-party application meeting occupying system resources of schedule job mode self-starting The speed of service or networking speed are slack-off.Such as some third-party applications carried out in the case of user is unwitting data upload or Download, used the system resource of intelligent terminal, occupied network bandwidth, have impact on processing speed, power consumption of intelligent terminal etc. Performance.
The content of the invention
The embodiment of the present application provides a kind of method, apparatus, storage medium and intelligent terminal limited using self-starting, can be with Effectively the operation of schedule job method of service startup application process is adjusted back in management and control by system.
In a first aspect, the embodiment of the present application provides a kind of method limited using self-starting, including:
When detecting that schedule job event is triggered, obtain to system call job management service registration schedule job clothes The identification information of the application program of business;
The identification information is matched with preset limit strategy, wherein, when preset limit strategy is by presetting Between the usage record of application program of registered schedule job service in section carry out what study determined;
The operation of the schedule job method of service startup application program is adjusted back by system according to matching result management and control.
Second aspect, the embodiment of the present application additionally provide a kind of device limited using self-starting, this includes:
Data obtaining module, for when detecting that schedule job event is triggered, obtaining to system call job management The identification information of the application program of service registration schedule job service;
Strategy matching module, for the identification information to be matched with preset limit strategy, wherein, preset limit plan Slightly it is to carry out study by the usage record of the application program to the registered schedule job service in preset time section to determine 's;
Using management and control module, described in adjusting back the startup of schedule job method of service by system according to matching result management and control The operation of application program.
The third aspect, the embodiment of the present application additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, realizes method of the limitation as described in the embodiment of the present application using self-starting when which is executed by processor.
Fourth aspect, the embodiment of the present application also provides a kind of terminal, including memory, processor and storage are on a memory And the computer program that can be run on a processor, the processor realize such as the embodiment of the present application when performing the computer program The method that self-starting is applied in the limitation.
The embodiment of the present application provides a kind of scheme limited using self-starting, by detecting that schedule job event is touched During hair, the identification information of the application program to the registration schedule job service of system call job management service is obtained;This is identified Information is matched with preset limit strategy;And adjust back to start by system according to matching result management and control and call service is corresponding should With the operation of program, it can effectively limit third-party application and be activated by system readjustment schedule job method of service.Using Above-mentioned technical proposal, by when schedule job event is triggered, being by preset limit policy validation application program to be launched No to meet entry condition, according to application program to be launched and the matching result of preset limit strategy, management and control is adjusted back by system and adjusted The mode of degree job service starts application program to be launched, can adjust back third-party application in system call job management service class During the schedule job service of registration, the intelligent schedule job service for avoiding illegally application registration.So as to limit third-party application Schedule job method of service is adjusted back by system and in backstage self-starting and performs unlawful activities, improves the security of intelligent terminal, Intelligent terminal is reduced to be infected with the virus or the probability of the network such as malicious attack infringement, meanwhile, the work(of intelligent terminal can be reduced Consumption, extends cruising time.
Brief description of the drawings
Fig. 1 is a kind of flow chart for limiting the method using self-starting provided by the embodiments of the present application;
Fig. 2 is flow chart of another limitation provided by the embodiments of the present application using the method for self-starting;
Fig. 3 is a kind of schematic diagram at the self-starting switch interface of application program provided by the embodiments of the present application;
Fig. 4 is a kind of structure diagram for limiting the device using self-starting provided by the embodiments of the present application;
Fig. 5 is a kind of structure diagram of intelligent terminal provided by the embodiments of the present application;
Fig. 6 is a kind of structure diagram of smart mobile phone provided by the embodiments of the present application.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the application, rather than the restriction to the application.It also should be noted that in order to just It illustrate only part relevant with the application rather than entire infrastructure in description, attached 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 at the same time.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 attached drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
At present, operating system platform of the intelligence system as the intelligent terminal of user group maximum, can compatibility the various 3rd Fang Yingyong, to meet various use demands of the user in life, amusement.However, these third-party applications are often on backstage Stealthily start, under the table carrying out the behavior influential on user such as data upload or download, and consumption network flow from the background And terminal power.The mode of these third-party application self-startings can be made by registering the scheduling of Android (Android) system Industry management service (JobSchedulerService) is realized.Alternatively in the related art, it is allowed to have registered The third-party application of JobSchedulerService starts on backstage, and in some cases (such as it is connected into the feelings such as WI-FI Condition) system can also actively start these third party applications.For example, third-party application can be by have registered schedule job (JobInfo) go to perform the function of schedule job work to realize oneself at some following time point, as what to be performed The work of sample, system do not monitor closely very much, so this loophole may also be applied using some to perform by illegal Unnecessary execution or unsafe operation.Secondly, third-party application needs a schedule job service (JobService) to connect In receipts system JobSchedulerService dispatch work management service class readjustment, so as to fulfill itself because system adjust back and Start, this JobService is registered in the dispatch work management service class of the JobSchedulerService of system, is System JobSchedulerService can periodically adjust back this JobService, if third-party application process is not actuated at this time, It can be started by system JobSchedulerService.Even if the process of third party application is temporarily killed, can also pass through Aforesaid way self-starting, keeps oneself process to reside.
Based on aforesaid way, some rogue softwares may stealthily be transported in the case of user is unwitting on intelligent terminal backstage OK, the treatment effeciency and security of intelligent terminal are influenced.In order to solve the above technical problems, this application provides one kind limitation application The scheme of self-starting, effectively management and control can pass through system and adjust back the operation that schedule job method of service starts application process.
Fig. 1 is a kind of flow chart for limiting the method using self-starting provided by the embodiments of the present application, and this method can be by Limitation is performed using the device of self-starting, wherein, which can generally be integrated in intelligence by software and/or hardware realization In terminal.As shown in Figure 1, this method includes:
Step 110, when detecting that schedule job event is triggered, obtain to system call job management service register adjust Spend the identification information of the application program of job service.
Wherein, in android system, schedule job can refer to that third-party application realizes a schedule job clothes Business, and have registered object in system call job management service.System call job management service is system service, can be with Situation for a certain task of triggering execution when some following time meeting certain constraints.Third-party application if it is intended to When performing a certain task using dispatch service, it is necessary to realize the Builder methods of JobInfo to impose a condition, and and realize The component Name binding of the subclass of JobService;Then, dispatch work management (JobScheduler) in calling system service Management and running (schedule) method, complete to be registered with this.System call job management service is made by adjusting back scheduling The mode of industry service starts third party application, it can be understood as is started by the binding service (bindService) of system This schedule job service.
System triggers schedule job thing when the current state for detecting intelligent terminal meets default schedule job opportunity Part.Exemplary, system obtains the status information of intelligent terminal according to the setting cycle, if judging intelligence eventually according to the status information When end is at least one of following states, schedule job event is triggered:Intelligent terminal is in powered stable state;Intelligence is eventually End is in network available status;Intelligent terminal is in idle condition.Power management services can be passed through (PowerManagerService) judge whether intelligent terminal accesses power supply, if so, then triggering schedule job event.Optionally, It can also be that intelligent terminal accesses power supply, and terminal power just triggering schedule job event when exceeding given threshold, avoid the occurrence of Intelligent terminal remaining capacity is less to cause in schedule job operates implementation procedure that there is a situation where intelligent terminal electricity exhausts.Its In, network available status, which includes any network, can all trigger schedule job event or the triggering scheduling of setting network state Job events, for example, access WI-FI triggering schedule job events.Wherein, idle condition includes the touch display screen of intelligent terminal Extinguish, or setting time in a dormant state, think that intelligent terminal is in idle condition if meeting at above-mentioned 2 points.It is optional , it can also be when reaching the default fixed cycle, triggering schedule job event etc..
Wherein, identification information includes the bag of the application program to the registration schedule job service of system call job management service Name, and the component Name of component or the application journey that schedule job service is registered to system call job management service The bag name for the application process that sequence includes.
Exemplary, since third party application is registering schedule job service into system call job management service When, a JobInfo object can be built using the Builder methods of JobInfo, be then passed to third-party application realization The subclass of JobService.The Builder methods of JobInfo receive the identifier of task to be run in above process, And the component Name of the subclass of JobService.When detecting that schedule job event is triggered, it can be called and made by system The component Name of registration schedule job service is obtained in Builder functions in industry management service, since service is dependent on application Process is realized, thus, it is possible to obtain the component name of the application program of registration schedule job service, so that, it can also determine to register The bag name of the process of the application program of schedule job service.Optionally, can also be obtained by system call job management service Register the bag name and component Name of the application program of schedule job service.
Step 120, matched the identification information with preset limit strategy.
Wherein, preset limit strategy is by the application program to the registered schedule job service in preset time section Usage record carry out study determine.Preset limit strategy can include limitation and start blacklist, allow to start white list, be The no one or more combinations having in the authority that schedule job method of service self-starting is adjusted back by system.
Screening Samples can be the history of the application program of registered schedule job service of the machine in nearest one month Usage record.Wherein, history usage record include application start the time, using the shut-in time, whether because user's operation close etc.. Screening Samples are learnt by the way of machine learning, (can be the situation of user's active killing, also according to No starting Can be run time be less than setting time threshold value situation) registered schedule job service application program characteristic, in advance The reference applications that may be prohibited to start by way of system adjusts back schedule job service are surveyed, by the reference applications Start blacklist added to preset limit.Optionally, can also be for the application program in Screening Samples, difference statistical system Adjust back the number of the schedule job service of each application program;By the number compared with preset times threshold value, if certain The number of one application program is not less than preset times threshold value, it is determined that the application program is destination application, should by the target Start blacklist added to preset limit with program.Optionally, using it is above-mentioned it is similar by the way of can be according to history usage record The characteristic of the application program of the middle registered schedule job service for allowing to run, prediction may be allowed through system readjustment scheduling The reference applications that job service mode starts, which is allowed to start white list added to default.
It is exemplary, when preset limit strategy is by way of preset limit starts blacklist management and control, according to being The identification information-enquiry preset limit of the application program of system dispatch work management service registration schedule job service starts blacklist. If find application program corresponding to the identification information or component in the preset limit starts blacklist, it is determined that the application Program is illegal application, otherwise, it determines the application program is valid application.
Allow startup white list can be with file side it is understood that above-mentioned preset limit starts blacklist or presets Formula stores or database mode storage, can be stored in intelligent terminal local or cloud server.If preset limit starts black name Singly or presetting allows startup white list to be stored in cloud server, then when meeting promotion condition, above-mentioned preset limit opens Moving blacklist or presetting allows startup white list to push to intelligent terminal by cloud server.Wherein, promotion condition can be Timing promotes or answers intelligent terminal request promotion etc..
Optionally, it is by way of preset limit starts blacklist and self-starting authority managing and controlling in preset limit strategy When, according to the identification information-enquiry preset limit of the application program to the registration schedule job service of system call job management service Start blacklist.If finding application program corresponding to the identification information or component in the preset limit starts blacklist, Determine the application program for illegal application.If the preset limit start blacklist in do not find corresponding application program or Component, then judge whether the application program has the authority that schedule job method of service self-starting is adjusted back by system, if so, then It is valid application to determine the application program, otherwise, it determines the application program is applied for limitation.
Step 130, according to matching result management and control pass through system and adjust back schedule job method of service and start the application program Operation.
Wherein, including no thoroughfare, system readjustment schedule job method of service starts the application program to the mode of management and control, Or allow to adjust back the schedule job method of service startup application program by system.
Exemplary, determining the application program for illegally system is adjusted back in application, then no thoroughfare according to matching result Schedule job method of service starts the application program.When according to matching result, to determine the application program be valid application, then Allow to adjust back the schedule job method of service startup application program by system.The application program is being determined according to matching result For limitation, in application, then no thoroughfare, system adjusts back the schedule job method of service startup application program.
The technical solution of the present embodiment, is made by when detecting that schedule job event is triggered, obtaining to system call The identification information of the application program of industry management service registration schedule job service;The identification information and preset limit strategy are carried out Matching;And adjust back to start by system according to matching result management and control and call the operation for servicing corresponding application program, can be effective Ground limits third-party application and is activated by system readjustment schedule job method of service.Using above-mentioned technical proposal, by adjusting Whether degree Job events meet entry condition when being triggered by preset limit policy validation application program to be launched, according to treating Start application program and the matching result of preset limit strategy, management and control starts by way of system adjusts back schedule job service to be treated Start application program, can system call job management service class adjust back third-party application registration schedule job service when, The schedule job service for avoiding illegally application registration of intelligence.So as to which limitation third-party application adjusts back schedule job by system Method of service is in backstage self-starting and performs unlawful activities, improves the security of intelligent terminal, reduces intelligent terminal and is subject to virus The probability of the network infringement such as infection or malicious attack, provides the use environment of a safety to the user;Meanwhile intelligence can be reduced The power consumption of terminal, extends cruising time.
Fig. 2 is flow chart of another limitation provided by the embodiments of the present application using the method for self-starting.As shown in Fig. 2, This method includes:
Step 201, when detecting that schedule job event is triggered, pass through system call job management service obtain registration The bag name and component Name of the application program of schedule job service.
When schedule job trigger timing is met, the management class readjustment third-party application registration of system call job service JobService service objects when, such as call schedule functions in, by set function obtain application program bag name And component Name.Wherein, schedule functions are that the management of current scheduling job service carries out readjustment tripartite's application The processing function entrance of JobService services.
Before step 202, the startup task in the pending task lists such as execution, looked into according to the bag name and component Name Ask preset limit and start blacklist.
In android system, the pending task list such as execution by maybeRunPendingJobsH () method In task.Therefore, at dispatch work management service execution to maybeRunPendingJobsH () method logic, addition Start management and control step, in order to which intelligence prevents the schedule job of third-party application, limit the backstage self-starting of third-party application, carry The security of very intelligent terminal.It can also intelligently prevent third-party application backstage from performing schedule job activity, limit illegal backstage Activity, provides the user with the use environment of a safety.Exemplary, in the maybeRunPendingJobsH () method of execution When, blacklist is started according to the bag name of the application program of registration schedule job service and component Name inquiry preset limit.
Optionally, can also allow to start white list according to the bag name and component Name inquiry are default.
Step 203, judge that preset limit starts in blacklist whether include bag name or the corresponding application program of component Name, If so, then performing step 204, step 205 is otherwise performed.
If preset limit, which starts in blacklist, has answer corresponding with least one factor in the bag name or component Name With program, it is determined that preset limit, which starts in blacklist, includes the bag name or the corresponding application program of component Name.
Optionally, if default allow to start presence and at least one factor pair in the bag name or component Name in white list The application program answered, it is determined that default to allow to include the bag name or the corresponding application program of component Name in startup white list.
Step 204, determine the application program for illegal application.
If preset limit starts right comprising the identification information at least one of (in bag name or component Name) in blacklist The application program answered, it is determined that the application program is illegal application.
Optionally, if default allow not including the identification information (in bag name or component Name extremely in startup white list One item missing) corresponding application program, it is determined that the application program is illegal application.
Step 205, judge whether application program is opened by the switch of system readjustment schedule job method of service self-starting, If so, then performing step 206, step 208 is otherwise performed.
Wherein, can be opened for user by operating this by the switch of system readjustment schedule job method of service self-starting Close the self-starting function for opening or closing the application program.For example, increase in the application house keeper of intelligent terminal or configuration interface The switch that schedule job method of service self-starting is adjusted back by system of application program.The open mode table of the switch can be passed through Levying application program has the authority that schedule job method of service self-starting is adjusted back by system.The closing shape of the switch can be passed through State characterization application program does not have the authority that schedule job method of service self-starting is adjusted back by system.Fig. 3 is that the application is implemented A kind of schematic diagram at the self-starting switch interface for application program that example provides.As shown in figure 3, user can by application house keeper into The self-starting function for entering application program sets interface, can be by playing on or off to the operation for selecting control 310 in the interface The function that schedule job method of service self-starting is adjusted back by system of application program A (or application program B/C/D) is closed, can also Think to be to confer to application program A self-starting authorities.It can also be increased by edit control 320 or change application program.System is examined The state of self-starting switch of a certain application program is measured when changing, self-starting on off state table is updated, should be closed from breakdown State table can be stored in local cache, be stored in cloud server.In addition, the self-starting on off state table can be File format, can also be tables of data form.
Optionally, the authority for schedule job method of service self-starting being adjusted back by system can also pass through the side of phonetic entry Formula assigns application program.For example, user is to assign adjusting back schedule job service side by system using A by voice assistant function The value of the authority of formula self-starting, the then corresponding self-starting marks of system modification application A, so as to be identified according to the self-starting Value determine application self-starting authority.It is understood that the mode that application obtains self-starting authority has many kinds, this reality Example is applied to be not especially limited.
Exemplary, the bag name and the corresponding application program of component Name are not included in preset limit starts blacklist When, self-starting on off state table is inquired about according to the bag name or component Name, determines that being adjusted back by system for the application program is dispatched Whether the switch of job service mode self-starting is opened.
It is understood that can judge illegally to apply by way of step 203 and 205 combine, can also only pass through Step 205 judges illegally to apply, and the embodiment of the present application is simultaneously not especially limited.
Step 206, determine that application program is valid application.
The bag name and the corresponding application program of component Name are not included in preset limit starts blacklist, and are passed through and be When the switch of system readjustment schedule job method of service self-starting is opened, it is valid application to determine the application program.
Optionally, if default allow to include the bag name and the corresponding application program of component Name in startup white list, and When the switch opening of schedule job method of service self-starting is adjusted back by system, it is valid application to determine the application program.
Step 207, perform the corresponding startup task of application program described in the pending task list such as described.
When application program is valid application, continue to execute other interior in maybeRunPendingJobsH () method Hold, realize the startup task performed described in such pending task list in application program, realize to adjust back by system and dispatch Job service mode starts the application program.
Step 208, determine that application program is applied for limitation.
The bag name and the corresponding application program of component Name are not included in preset limit starts blacklist, but are passed through When the switch of system readjustment schedule job method of service self-starting is closed, determine that the application program is applied for limitation.
Optionally, if default allow to include the bag name and the corresponding application program of component Name in startup white list, so And when the switch closing of schedule job method of service self-starting is adjusted back by system, determine that the application program is applied for limitation.
Step 209, by deleting the corresponding startup task of the application program in the pending task list such as described.
In application program for illegal application or limitation in application, application program described in the such pending task list of deletion Corresponding startup task, realizes that no thoroughfare system readjustment schedule job method of service starts the application program.
The technical solution of the present embodiment, during JobSchedulerService performs readjustment schedule job service, Before maybeRunPendingJobsH () method, according to the identification information-enquiry preset limit start blacklist and/or Judge whether the application program has the authority that schedule job method of service self-starting is adjusted back by system, so as to judge to be returned Whether the schedule job service of tune is illegally to apply, for illegal application, in readjustment without starting;For valid application, Normal readjustment starts, and the schedule job of prevention third-party application that can be intelligent, limits the backstage self-starting of third-party application, carry The security of very intelligent terminal.It can also intelligently prevent third-party application backstage from performing schedule job activity, limit illegal backstage Activity, improves the security of intelligent terminal, reduces intelligent terminal and is infected with the virus or the probability of the network infringement such as malicious attack.
Fig. 4 is a kind of structure diagram for limiting the device using self-starting provided by the embodiments of the present application.The device can be with By software and/or hardware realization, can be integrated within intelligent terminal, should for performing limitation provided by the embodiments of the present application With the method for self-starting.As shown in figure 4, the device includes:
Data obtaining module 410, for when detecting that schedule job event is triggered, obtaining to system call working pipe Manage the identification information of the application program of service registration schedule job service;
Strategy matching module 420, for the identification information to be matched with preset limit strategy, wherein, limit in advance Making strategy is learnt by the usage record of the application program to the registered schedule job service in preset time section Definite;
Using management and control module 430, start for adjusting back schedule job method of service by system according to matching result management and control The operation of the application program.
The technical solution of the present embodiment, can effectively limit third-party application and adjust back schedule job service side by system Formula is activated.Using above-mentioned technical proposal, by when schedule job event is triggered, waiting to open by preset limit policy validation Whether dynamic application program meets entry condition, and according to application program to be launched and the matching result of preset limit strategy, management and control is led to The mode for crossing system readjustment schedule job service starts application program to be launched, can be returned in system call job management service class When adjusting the schedule job service of third-party application registration, the intelligent schedule job service for avoiding illegally application registration.So as to limit Third-party application processed adjusts back schedule job method of service by system and in backstage self-starting and performs unlawful activities, improves intelligence eventually The security at end, reduces intelligent terminal and is infected with the virus or the probability of the network such as malicious attack infringement, provide one to the user The use environment of safety;Meanwhile the power consumption of intelligent terminal can be reduced, extend cruising time.
Optionally, further include:
State information acquisition module, for obtaining the status information of intelligent terminal;
Event trigger module, for when the status information meets following at least one condition, triggering schedule job thing Part:
Intelligent terminal is in powered stable state;
Network can use;
Intelligent terminal is in idle condition.
Optionally, data obtaining module 410 is specifically used for:
The bag name and component name of the application program of registration schedule job service are obtained by system call job management service Claim.
Optionally, strategy matching module 420 is specifically used for:
Before startup task in the pending task lists such as execution, opened according to the identification information-enquiry preset limit Dynamic blacklist;
If preset limit starts in blacklist comprising the application program that the identification information is corresponding, it is determined that described to apply journey Sequence is illegal application.
Optionally, further include:
Authority determination module, if starting for preset limit in blacklist not comprising application journey corresponding to the identification information Sequence, then judge whether the application program has the authority that schedule job method of service self-starting is adjusted back by system;With During the authority, it is valid application to determine application program;When without the authority, determine that application program is applied for limitation.
Optionally, it is specifically used for using management and control module 430:
In the definite application program described journey is applied in application, being deleted in by the pending task list such as described to be illegal The corresponding startup task of sequence, with no thoroughfare, system readjustment schedule job method of service starts the application program;
When the definite application program is valid application, application program described in the pending task list such as described is performed Corresponding startup task, starts the application program to adjust back schedule job method of service by system;
In the definite application program described journey is applied in application, being deleted in by the pending task list such as described for limitation The corresponding startup task of sequence, with no thoroughfare, system readjustment schedule job method of service starts the application program.
Optionally, further include:
List generation module, for the application program for registered schedule job service in preset time section, difference Statistical system adjusts back the number of the schedule job service of the application program;Determine that the number exceedes the mesh of setting frequency threshold value Application program is marked, the destination application is started into blacklist added to preset limit.
The embodiment of the present application also provides a kind of storage medium for including computer executable instructions, and the computer can perform Instruct when being performed by computer processor for performing a kind of method limited using self-starting, this method includes:
When detecting that schedule job event is triggered, obtain to system call job management service registration schedule job clothes The identification information of the application program of business;
The identification information is matched with preset limit strategy, wherein, when preset limit strategy is by presetting Between the usage record of application program of registered schedule job service in section carry out what study determined;
The operation of the schedule job method of service startup application program is adjusted back by system according to matching result management and control.
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, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can further include other The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide programmed instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, its computer The limitation that executable instruction is not limited to the described above can also carry out the application any embodiment using the control operation of self-starting The limitation provided is using the relevant operation in the method for self-starting.
The embodiment of the present application provides a kind of intelligent terminal, has operating system in the intelligent terminal, in the intelligent terminal The control device that application provided by the embodiments of the present application starts can be integrated.Wherein, intelligent terminal includes smart mobile phone, tablet electricity Brain, handheld device, laptop and intelligent wearable device (including intelligent watch, intelligent glasses or Intelligent bracelet) etc..Fig. 5 For a kind of structure diagram of intelligent terminal provided by the embodiments of the present application.As shown in figure 5, the intelligent terminal can include:Storage Device 510 and processor 520.The memory 510, for storing computer program, preset limit starts blacklist, default permission Start white list or self-starting on off state table;The processor 520 reads and performs the calculating stored in the memory 510 Machine program.The processor 520 realizes following steps when performing the computer program:Detecting schedule job event quilt During triggering, the identification information of the application program to the registration schedule job service of system call job management service is obtained;By described in Identification information is matched with preset limit strategy, wherein, preset limit strategy is by the note in preset time section The usage record of the application program of volume schedule job service carries out what study determined;Adjusted back according to matching result management and control by system Schedule job method of service starts the operation of the application program.
The memory and processor enumerated in above-mentioned example are the part component of intelligent terminal, and the intelligent terminal is also It can include other components.By taking smart mobile phone as an example, illustrate the possible structure of above-mentioned intelligent terminal.Fig. 6 is that the application is implemented A kind of structure diagram for smart mobile phone that example provides.As shown in fig. 6, the smart mobile phone can include:Memory 601, center Processor (Central Processing Unit, CPU) 602 (also known as processor, hereinafter referred to as CPU), Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606, loudspeaker 611, power management chip 608, input/output (I/O) subsystem 609, other input/control devicess 610 and outside port 604, these components are communicated by one or more Bus or signal wire 607 communicate.
It should be understood that diagram smart mobile phone 600 is only an example of intelligent terminal, and smart mobile phone 600 Can have than more or less components shown in figure, can combine two or more components, or can be with Configured with different components.Various parts shown in figure can be including one or more signal processings and/or special Hardware, software including integrated circuit are realized in the combination of hardware and software.
Just provided in this embodiment be integrated with is described in detail using the smart mobile phone of the control device started below.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 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.Computer program is stored in the memory 601, can also be stored default Limitation starts blacklist, default allows to start white list or self-starting on off state table etc..
The peripheral hardware that outputs and inputs of equipment can be connected to CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603 Reservoir 601.
I/O subsystems 609, the I/O subsystems 609 can be by the input/output peripherals in equipment, such as touch-screen 612 With other input/control devicess 610, Peripheral Interface 603 is connected to.I/O subsystems 609 can include 6091 He of display controller For controlling one or more input controllers 6092 of other input/control devicess 610.Wherein, one or more input controls Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610, Other input/control devicess 610 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 6092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 612, the touch-screen 612 are the input interface and output interface between user terminal and user, can User is shown to depending on output, visual output can include figure, text, icon, video etc..
Display controller 6091 in I/O subsystems 609 receives electric signal from touch-screen 612 or is sent out to touch-screen 612 Electric signals.Touch-screen 612 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 6091 The interaction of user interface object on touch-screen 612, that is, realize human-computer interaction, the user interface being shown on touch-screen 612 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 605, are mainly used for establishing the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 605 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 605 convert electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 605 can include being used to perform The known circuit of these functions, it includes but not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606, is mainly used for receiving voice data from Peripheral Interface 603, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611, for the voice signal for receiving mobile phone from wireless network by RF circuits 605, is reduced to sound And play the sound to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface are powered And power management.
Intelligent terminal provided by the embodiments of the present application, can adjust back third-party application in system call job management service class During the schedule job service of registration, the intelligent schedule job service for avoiding illegally application registration.So as to limit third-party application Schedule job method of service is adjusted back by system and in backstage self-starting and performs unlawful activities, improves the security of intelligent terminal, Intelligent terminal is reduced to be infected with the virus or the probability of the network such as malicious attack infringement, meanwhile, the work(of intelligent terminal can be reduced Consumption, extends cruising time.
The limitation provided in above-described embodiment can perform the application using device, storage medium and the intelligent terminal of self-starting The limitation that any embodiment is provided possesses using the method for self-starting and performs the corresponding function module of this method and beneficial to effect Fruit.Not ins and outs of detailed description in the above-described embodiments, reference can be made to the limitation application that the application any embodiment is provided The method of self-starting.
Note that it 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 It can include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. method limited using self-starting, it is characterised in that including:
    When detecting that schedule job event is triggered, obtain to the registration schedule job service of system call job management service The identification information of application program;
    The identification information is matched with preset limit strategy, wherein, preset limit strategy is by preset time area The usage record of the application program of interior registered schedule job service carries out what study determined;
    The operation of the schedule job method of service startup application program is adjusted back by system according to matching result management and control.
  2. 2. according to the method described in claim 1, it is characterized in that, further include:
    Obtain the status information of intelligent terminal;
    When the status information meets following at least one condition, schedule job event is triggered:
    Intelligent terminal is in powered stable state;
    Network can use;
    Intelligent terminal is in idle condition.
  3. 3. according to the method described in claim 1, make it is characterized in that, obtaining and registering scheduling to system call job management service The identification information of the application program of industry service, including:
    The bag name and component Name of the application program of registration schedule job service are obtained by system call job management service.
  4. 4. according to the method described in claim 1, it is characterized in that, the identification information and preset limit strategy are carried out Match somebody with somebody, including:
    Before startup task in the pending task lists such as execution, started according to the identification information-enquiry preset limit black List;
    If preset limit starts in blacklist comprising application program corresponding to the identification information, it is determined that the application program is Illegal application.
  5. 5. according to the method described in claim 4, it is characterized in that, further include:
    If preset limit starts in blacklist not comprising application program corresponding to the identification information, the application program is judged Whether there is the authority that schedule job method of service self-starting is adjusted back by system;
    When with the authority, it is valid application to determine application program;
    When without the authority, determine that application program is applied for limitation.
  6. 6. according to the method described in claim 5, it is characterized in that, schedule job is adjusted back by system according to matching result management and control Method of service starts the operation of the application program, including:
    In the definite application program to be illegal in application, deleting the application program pair in by the pending task list such as described The startup task answered, with no thoroughfare, system readjustment schedule job method of service starts the application program;
    When the definite application program is valid application, performs application program described in the pending task list such as described and correspond to Startup task, adjust back schedule job method of service to pass through system and start the application program;
    It is to limit in application, deleting the application program pair in by the pending task list such as described in the definite application program The startup task answered, with no thoroughfare, system readjustment schedule job method of service starts the application program.
  7. 7. according to the method any one of claim 1-6, it is characterised in that further include:
    For the application program of registered schedule job service in preset time section, statistical system readjustment is described respectively applies journey The number of the schedule job service of sequence;
    Determine that the number exceedes the destination application of setting frequency threshold value, the destination application is added to and is limited in advance System starts blacklist.
  8. A kind of 8. device limited using self-starting, it is characterised in that including:
    Data obtaining module, for when detecting that schedule job event is triggered, obtaining to system call job management service Register the identification information of the application program of schedule job service;
    Strategy matching module, for the identification information to be matched with preset limit strategy, wherein, preset limit strategy is Carry out what study determined by the usage record of the application program to the registered schedule job service in preset time section;
    Using management and control module, start the application for adjusting back schedule job method of service by system according to matching result management and control The operation of program.
  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 Method of the limitation as described in any in claim 1 to 7 using self-starting 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 the processor realizes the limit as described in any in claim 1 to 7 when performing the computer program The method that system applies self-starting.
CN201711167298.5A 2017-11-21 2017-11-21 Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation Pending CN107957905A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711167298.5A CN107957905A (en) 2017-11-21 2017-11-21 Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711167298.5A CN107957905A (en) 2017-11-21 2017-11-21 Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation

Publications (1)

Publication Number Publication Date
CN107957905A true CN107957905A (en) 2018-04-24

Family

ID=61963740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711167298.5A Pending CN107957905A (en) 2017-11-21 2017-11-21 Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation

Country Status (1)

Country Link
CN (1) CN107957905A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108710534A (en) * 2018-05-22 2018-10-26 广州优视网络科技有限公司 The tune of multi-process plays method, apparatus, terminal device and computer storage media
CN109445920A (en) * 2018-10-22 2019-03-08 Oppo广东移动通信有限公司 Method, electronic device and the computer readable storage medium of self-starting are applied in control
CN110532768A (en) * 2019-08-21 2019-12-03 东软医疗系统股份有限公司 System safety encryption and device
CN111582922A (en) * 2020-04-27 2020-08-25 支付宝(杭州)信息技术有限公司 Method and device for detecting cheating behaviors and electronic equipment
CN115344860A (en) * 2022-07-28 2022-11-15 荣耀终端有限公司 Method for managing application program and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199692A (en) * 2014-08-25 2014-12-10 北京金山安全软件有限公司 Method, device and terminal for acquiring starting time of application program
CN106203067A (en) * 2016-06-22 2016-12-07 广东欧珀移动通信有限公司 The method for cleaning of a kind of application program and device
CN106250222A (en) * 2016-07-28 2016-12-21 北京金山安全软件有限公司 Method and device for managing application program and electronic equipment
CN106874089A (en) * 2017-01-25 2017-06-20 北京奇虎科技有限公司 A kind of processing method of application program self-starting, device and mobile terminal
CN107247507A (en) * 2017-04-26 2017-10-13 努比亚技术有限公司 Prevent from applying booting-self controller method and terminal, computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199692A (en) * 2014-08-25 2014-12-10 北京金山安全软件有限公司 Method, device and terminal for acquiring starting time of application program
CN106203067A (en) * 2016-06-22 2016-12-07 广东欧珀移动通信有限公司 The method for cleaning of a kind of application program and device
CN106250222A (en) * 2016-07-28 2016-12-21 北京金山安全软件有限公司 Method and device for managing application program and electronic equipment
CN106874089A (en) * 2017-01-25 2017-06-20 北京奇虎科技有限公司 A kind of processing method of application program self-starting, device and mobile terminal
CN107247507A (en) * 2017-04-26 2017-10-13 努比亚技术有限公司 Prevent from applying booting-self controller method and terminal, computer-readable recording medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108710534A (en) * 2018-05-22 2018-10-26 广州优视网络科技有限公司 The tune of multi-process plays method, apparatus, terminal device and computer storage media
CN109445920A (en) * 2018-10-22 2019-03-08 Oppo广东移动通信有限公司 Method, electronic device and the computer readable storage medium of self-starting are applied in control
CN110532768A (en) * 2019-08-21 2019-12-03 东软医疗系统股份有限公司 System safety encryption and device
CN111582922A (en) * 2020-04-27 2020-08-25 支付宝(杭州)信息技术有限公司 Method and device for detecting cheating behaviors and electronic equipment
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
CN107957905A (en) Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation
CN107861773A (en) Associate management-control method, device, storage medium and the mobile terminal started
CN107944258A (en) Start control method, device, storage medium and the terminal of application with method of service
CN107748698A (en) Start control method, device, storage medium and the terminal of application with broadcast mode
CN104272788B (en) Behavioural information is conveyed in mobile computing device
CN107748685B (en) Application program starting control method and device, terminal equipment and storage medium
CN107944257A (en) Start control method, device, storage medium and the terminal of application with method of service
CN107943650A (en) Control method, device, storage medium and the terminal of application program
CN107944277A (en) Using the control method of startup, device, storage medium and intelligent terminal
CN107797841B (en) Window control method and device, terminal equipment and storage medium
CN107957913A (en) Associate management-control method, device, storage medium and the mobile terminal started
CN107831886A (en) Association starts management-control method, device, storage medium and the intelligent terminal of application
CN107943269B (en) Scheduling job control method, device, terminal equipment and storage medium
CN106203162B (en) A kind of method for secret protection and system of combining the two ways of dredging and plugging
CN107862203A (en) Control method, device, storage medium and the terminal of application program
EP3486770B1 (en) Processing method, device and storage medium for implementing automatic startup
CN109992965B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN111144953B (en) Resource allocation method, device, equipment and medium
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
US10878078B2 (en) System notification service control method, apparatus, terminal device, and storage medium
CN107070670A (en) Broadcast transmission person is controlled to send method, device and the terminal device of broadcast message
CN109657485B (en) Authority processing method and device, terminal equipment and storage medium
CN108574780A (en) Management method, device, storage medium and the intelligent terminal of network function
CN107943268B (en) Scheduling job control method, device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180424

RJ01 Rejection of invention patent application after publication