CN107943268B - Scheduling job control method, device, terminal equipment and storage medium - Google Patents

Scheduling job control method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN107943268B
CN107943268B CN201711165683.6A CN201711165683A CN107943268B CN 107943268 B CN107943268 B CN 107943268B CN 201711165683 A CN201711165683 A CN 201711165683A CN 107943268 B CN107943268 B CN 107943268B
Authority
CN
China
Prior art keywords
application program
scheduling
application
started
scheduling event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711165683.6A
Other languages
Chinese (zh)
Other versions
CN107943268A (en
Inventor
杜冰
林志泳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201711165683.6A priority Critical patent/CN107943268B/en
Publication of CN107943268A publication Critical patent/CN107943268A/en
Application granted granted Critical
Publication of CN107943268B publication Critical patent/CN107943268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a scheduling job control method, a device, terminal equipment and a storage medium, wherein the method comprises the steps of monitoring system scheduling service jobs; when detecting that the system scheduling service operation triggers an application program scheduling event, judging whether an application program corresponding to the application program scheduling event is started or not; and if the application program is not started, forbidding responding to the application program scheduling event. The scheme effectively avoids self-starting and associated starting of the application program caused by executing the scheduling operation, improves the operating efficiency of the system and reduces the power consumption of the terminal equipment.

Description

Scheduling job control method, device, terminal equipment and storage medium
Technical Field
The present application relates to computer technologies, and in particular, to a method and an apparatus for controlling scheduling jobs, a terminal device, and a storage medium.
Background
With the increase of the popularity of the terminal devices, more and more users use the terminal devices to execute various functions to meet their own needs, such as reading text, watching video, listening to music, playing games, etc., and with the continuous powerful functions of the terminal devices, various system applications and third-party application programs installed therein are also increasing.
In the prior art, the application program installed on the terminal device is in a background self-starting state or is initiated to be associated with the starting state by other applications, and a reasonable and effective management and control mechanism is lacked, so that the system operation efficiency is reduced, and the electric quantity consumption of the terminal is increased.
Disclosure of Invention
The invention provides a scheduling job control method, a scheduling job control device, terminal equipment and a storage medium, which effectively avoid self-starting and associated starting of an application program caused by a mode of executing scheduling jobs, improve the operating efficiency of a system and reduce the power consumption of the terminal equipment.
In a first aspect, an embodiment of the present application provides a method for controlling a scheduling job, including:
monitoring system scheduling service operation;
when detecting that the system scheduling service operation triggers an application program scheduling event, judging whether an application program corresponding to the application program scheduling event is started or not;
and if the application program is not started, forbidding responding to the application program scheduling event.
In a second aspect, an embodiment of the present application further provides a scheduling job control apparatus, including:
the scheduling monitoring module is used for monitoring system scheduling service jobs;
the program judging module is used for judging whether an application program corresponding to the application program scheduling event is started or not when the system scheduling service job is detected to trigger the application program scheduling event;
and the response processing module is used for forbidding to respond to the application program scheduling event if the application program is not started.
In a third aspect, an embodiment of the present application further provides a terminal device, including: the scheduling job control method comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the scheduling job control method according to the embodiment of the application.
In a fourth aspect, an embodiment of the present application further provides a storage medium containing terminal device executable instructions, where the terminal device executable instructions are used to execute the method for controlling a scheduling job according to the embodiment of the present application when executed by a terminal device processor.
In the scheme, the system scheduling service operation is monitored, whether the application program corresponding to the application program scheduling event is started or not is judged when the system scheduling service operation triggers the application program scheduling event is detected, if the application program is not started, the response to the application program scheduling event is forbidden, self-starting and associated starting caused by the application program in a scheduling operation executing mode are effectively avoided, the operation efficiency of the system is improved, and the power consumption of the terminal equipment is reduced.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a scheduling job control method according to an embodiment of the present application;
FIG. 2 is a flowchart of another method for controlling scheduling jobs according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for controlling scheduling jobs according to an embodiment of the present application;
FIG. 4 is a flowchart of another method for controlling scheduling jobs according to an embodiment of the present application;
fig. 5 is a block diagram illustrating a configuration of a scheduled job control apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a method for controlling a scheduling job according to an embodiment of the present application, where this embodiment is applicable to a case where a terminal device system schedules a service job for controlling, and the method can be executed by a terminal device according to an embodiment of the present application, and a scheduling job control device of the terminal device can be implemented in a software and/or hardware manner, as shown in fig. 1, a specific scheme provided in this embodiment is as follows:
and step S101, monitoring the system scheduling service operation.
At present, an intelligent system is an intelligent terminal operating system platform with the largest user group, an intelligent terminal device is the most important electronic device which is used by many users most frequently, the users often install various third-party applications, the third-party applications often start automatically in the background and consume the traffic of the users and the electric quantity of the terminal device, the illegal applications can be realized by registering a scheduling job management service of an android system, the applications of the scheduling job service of the android system, which are registered by the third-party applications, can be started in the background, and the system can also actively start the services of the applications, so that the illegal applications can be utilized by some rogue applications without the knowledge of the users, and the operation experience and the safety of the users are not facilitated.
The system scheduling service job means that a three-party application realizes a service JobService, and an object is registered in the system JobSchedulService scheduling job service management. The system has the main functions of scheduling service jobs, including: the three-party application can realize the function of executing the job scheduling work at a certain time point by registering the JobInfo of the scheduling job; the three-party application needs to realize a JobService scheduling job service to receive callback start of a system JobSchedulService scheduling job service management class, the JobService service can be registered in the JobSchedulService scheduling job service management class of the system, the system scheduling job service management service can regularly call back the JobService service, if the process of the three-party application is not started at the moment, the three-party application can be started by the system JobSchedulService scheduling job service management service, and the three-party application keeps the process resident and performs background self-start by the principle. In this step, taking the android system as an example, a listener is first set up to monitor the scheduling of the system scheduling service job.
Step S102, when detecting that the system scheduling service operation triggers the application program scheduling event, judging whether the application program corresponding to the application program scheduling event is started.
For example, the system scheduling service job may be triggered by some action specified by the system, such as when the terminal device is powered on, or when the terminal device is connected to a Wi-Fi network. Taking an android operating system as an example, the application scheduling event may be a callback event of a scheduling job service (Jobservice), and before the callback event occurs, whether an application corresponding to the application scheduling event is started is determined.
In one embodiment, the determining whether the application corresponding to the application scheduling event is started includes: and judging whether all the process groups of the application program corresponding to the application program scheduling event are started. Illustratively, an application program starts three processes, namely a process, a process and a process, b and c in the running process, wherein the three processes form a process group, and after the running of the process b is detected, whether the process a and the process c run is correspondingly judged. In an embodiment, the determining whether the application corresponding to the application scheduling event is started includes: and judging whether the associated application program corresponding to the application program scheduling event is started or not. That is, in addition to determining whether the corresponding application is running, determining whether the application associated with the application is running may be included.
Optionally, if the application program is not started, determining whether the identifier of the application program is recorded in a white list. Wherein, before judging whether the identifier of the application program is recorded in the white list, the method further comprises: the method comprises the steps of obtaining the opening time, the opening frequency and the running time of an installed application program pushed by other terminal equipment, determining a white list according to the opening time, the opening frequency and the running time of the installed application program, and storing the white list. Optionally, if the application program is not started, determining whether the identifier of the application program is recorded in a blacklist, and determining whether the identifier of the application program is recorded before the blacklist, further includes: monitoring an application program which responds to the awakening of the application program scheduling event; recording the times of calling back system scheduling service operation of the application program awakened by the response application program scheduling event, and if the times are greater than the preset times within the preset time length, adding the identifier of the application program into a blacklist.
Optionally, if the application is not started, it may further determine, by combining with the list information pushed by the server, whether to prohibit a response to the scheduling job, illustratively, receive the list information pushed by the server, where the list information records a scheduling prohibition list that prohibits a response to the scheduling event of the application, and the scheduling prohibition list is determined by the server according to the number of times of scheduling jobs of the callback system of the application uploaded by one or more terminal devices.
And step S103, if the application program is not started, forbidding to respond to the application program scheduling event.
In one embodiment, when it is determined that the application is not open, the response to the application scheduling event is prohibited. For example, a calling function responding to an application scheduling event may be intercepted and masked to prohibit a callback system from scheduling a service job. Optionally, when determining whether to intercept by combining with a white list mechanism, if the application is not started, prohibiting responding to the application scheduling event includes: and if the application program is not started, judging whether the identifier of the application program is recorded in a blacklist, and if the identifier of the application program is recorded in the blacklist, forbidding to respond to the application program scheduling event. Optionally, when determining whether to intercept the application program by combining with a blacklist mechanism, the determining whether the identifier of the application program is recorded before the blacklist further includes: monitoring an application program which responds to the awakening of the application program scheduling event; recording the times of calling back system scheduling service operation of the application program awakened by the response application program scheduling event, and if the times are greater than the preset times within the preset time length, adding the identifier of the application program into a blacklist.
According to the above, by monitoring the system scheduling service operation, when detecting that the system scheduling service operation triggers the application program scheduling event, whether the application program corresponding to the application program scheduling event is started is judged, and if the application program is not started, the response to the application program scheduling event is forbidden, so that the self-starting and the associated starting of the application program caused by the manner of executing the scheduling operation are effectively avoided, the operating efficiency of the system is improved, and the power consumption of the terminal device is reduced.
Fig. 2 is a flowchart of another method for controlling scheduling jobs according to an embodiment of the present application, where optionally, if the application is not started, prohibiting responding to the application scheduling event includes: and if the application program is not started, judging whether the identifier of the application program is recorded in a white list, and if the identifier of the application program is not recorded in the white list, forbidding responding to the application program scheduling event. As shown in fig. 2, the technical solution is as follows:
step S201, monitoring the system scheduling service operation.
Step S202, when detecting that the system scheduling service operation triggers the application program scheduling event, judging whether the application program corresponding to the application program scheduling event is started, if not, executing step S203.
Step S203, determining whether the identifier of the application program is recorded in the white list, if not, executing step S204, and if so, executing step S205.
In one embodiment, the white list is determined from usage records of the terminal device itself or from received usage records of other terminal devices. Specifically, the usage record may be obtained by starting time, starting frequency, and running duration of an installed application program pushed by another terminal device, and the white list is determined according to the starting time, the starting frequency, and the running duration of the installed application program. For example, when the opening frequency is greater than the preset frequency (e.g. 3 times/day), the operation duration of each opening is greater than the preset duration (e.g. 3 hours), and the opening time conforms to the preset time period (e.g. 9 am to 10 pm), it may be determined that the application is an application commonly used by most users, and an identifier of the application, which may be a package name of the application, is correspondingly added to the white list.
And step S204, forbidding to respond to the application program scheduling event.
And step S205, allowing the application program to respond to the scheduling event.
According to the method, whether the application program scheduling event is responded is finally determined by further combining the white list after the application program is determined not to be started, wherein the white list is intelligently generated according to the use record of the terminal equipment, the problem of low efficiency of manual setting of a user is avoided, meanwhile, the use record of the application program installed by other users is used as the white list reference standard, the use requirement of the user is met, and the error forbidding of system scheduling service operation cannot be caused.
Fig. 3 is a flowchart of another method for controlling scheduling jobs according to an embodiment of the present application, where if the application is not started, prohibiting responding to the application scheduling event includes: and if the application program is not started, judging whether the identifier of the application program is recorded in a blacklist, and if the identifier of the application program is recorded in the blacklist, forbidding to respond to the application program scheduling event. As shown in fig. 3, the technical solution is as follows:
and S301, monitoring the system scheduling service job.
Step S302, when detecting that the system scheduling service operation triggers the application program scheduling event, judging whether the application program corresponding to the application program scheduling event is started, if not, executing step S303.
Step S303, determining whether the identifier of the application program is recorded in the blacklist, if so, executing step S304, and if not, executing step S305.
Wherein the blacklist records an identification of applications prohibited from responding to the application scheduling event, in one embodiment, the determining of the blacklist includes: monitoring an application program which responds to the awakening of the application program scheduling event; recording the number of times of the scheduling service operation of the application program callback system awakened in response to the application program scheduling event, and if the number of times is greater than the preset number of times (10 times) within a preset time (such as 60 minutes), adding the identifier of the application program into a blacklist. That is, the application is monitored after it wakes up in response to an application scheduling event, illustratively, an application that schedules service jobs for frequent callbacks is added to the blacklist.
And S304, forbidding responding to the application program scheduling event.
Step S305, allowing the application program to respond to the scheduling event.
Therefore, through the combination of the blacklist mechanism, the strategy of determining whether to respond to the application program scheduling event through the mechanism of judging whether the application program is started is further perfected, the program which frequently reads and calls the system scheduling service operation is listed as the blacklist, and the self-starting caused by the system scheduling service operation is prevented.
Fig. 4 is a flowchart of another method for controlling scheduling jobs according to an embodiment of the present application, and optionally before determining whether an application corresponding to the application scheduling event is started, the method further includes: receiving list information pushed by a server, wherein the list information records a scheduling prohibition list for prohibiting responding to an application program scheduled by the application program, and the scheduling prohibition list is determined by the server according to the times of system scheduling jobs called back by the application program uploaded by one or more terminal devices; correspondingly, if the application program is not started, the method further comprises the following steps: and judging whether the package name of the application program is recorded in the scheduling prohibition list. As shown in fig. 4, the technical solution is as follows:
step S401, receiving list information pushed by a server, wherein the list information records a scheduling prohibition list for prohibiting an application program responding to the application program scheduling event.
And step S402, monitoring the system scheduling service jobs.
Step S403, when it is detected that the system scheduling service job triggers an application scheduling event, determining whether an application corresponding to the application scheduling event is started, and if not, executing step S404.
Step S404, determining whether the package name of the application program is recorded in the forbidden scheduling list, if so, executing step S405, and if not, executing step S406.
And the forbidden scheduling list is determined by the server according to the number of times of the callback system scheduling jobs of the application program uploaded by one or more terminal devices. Optionally, the server obtains, through big data analysis, a scheduling prohibition list prohibiting response to the application scheduling event according to machine learning model learning, wherein the machine learning model is obtained by the server through training and learning of a large number of samples, and can be obtained by supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, and an algorithm used in the learning process includes: regression algorithms, example-based algorithms, regularization algorithms, decision tree algorithms, bayesian algorithms, kernel-based algorithms, clustering algorithms, association rule algorithms, artificial neural network algorithms, deep learning algorithms, and dimensionality reduction algorithms, among others. In one embodiment, the number of times that the callback system of the application uploaded by one or more terminal devices schedules the job is used as the input of the machine learning model, and whether the application needs to be notified of the reading authority by the registration prohibition system is correspondingly output.
And S405, forbidding to respond to the application program scheduling event.
And step S406, allowing the application program to respond to the scheduling event.
According to the method, the server analyzes the times of the callback system scheduling jobs of each application program uploaded by the terminal device to obtain whether the application program needs to forbid responding to the application program scheduling event, so that the safety of the system scheduling service jobs and the accuracy of forbidding responding to the application program scheduling event are further improved, and the user experience is optimized.
Fig. 5 is a block diagram of a scheduled job control apparatus according to an embodiment of the present application, which is configured to execute the scheduled job control method according to the foregoing embodiment, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 5, the apparatus specifically includes: a dispatch monitoring module 101, a program determining module 102, and a response processing module 103, wherein,
and the scheduling monitoring module 101 is configured to monitor a system scheduling service job.
The system scheduling service job means that a three-party application realizes a service JobService, and an object is registered in the system JobSchedulService scheduling job service management. The system has the main functions of scheduling service jobs, including: the three-party application can realize the function of executing the job scheduling work at a certain time point by registering the JobInfo of the scheduling job; the three-party application needs to realize a JobService scheduling job service to receive callback start of a system JobSchedulService scheduling job service management class, the JobService service can be registered in the JobSchedulService scheduling job service management class of the system, the system scheduling job service management service can regularly call back the JobService service, if the process of the three-party application is not started at the moment, the three-party application can be started by the system JobSchedulService scheduling job service management service, and the three-party application keeps the process resident and performs background self-start by the principle. In this step, taking the android system as an example, a listener is first set up to monitor the scheduling of the system scheduling service job.
The program determining module 102 is configured to determine whether an application program corresponding to the application program scheduling event is started when it is detected that the system scheduling service job triggers the application program scheduling event.
For example, the system scheduling service job may be triggered by some action specified by the system, such as when the terminal device is powered on, or when the terminal device is connected to a Wi-Fi network. Taking an android operating system as an example, the application scheduling event may be a callback event of a scheduling job service (Jobservice), and before the callback event occurs, whether an application corresponding to the application scheduling event is started is determined.
In one embodiment, the determining whether the application corresponding to the application scheduling event is started includes: and judging whether all the process groups of the application program corresponding to the application program scheduling event are started. Illustratively, an application program starts three processes, namely a process, a process and a process, b and c in the running process, wherein the three processes form a process group, and after the running of the process b is detected, whether the process a and the process c run is correspondingly judged. In an embodiment, the determining whether the application corresponding to the application scheduling event is started includes: and judging whether the associated application program corresponding to the application program scheduling event is started or not. That is, in addition to determining whether the corresponding application is running, determining whether the application associated with the application is running may be included.
Optionally, if the application program is not started, determining whether the identifier of the application program is recorded in a white list. Wherein, before judging whether the identifier of the application program is recorded in the white list, the method further comprises: the method comprises the steps of obtaining the opening time, the opening frequency and the running time of an installed application program pushed by other terminal equipment, determining a white list according to the opening time, the opening frequency and the running time of the installed application program, and storing the white list. Optionally, if the application program is not started, determining whether the identifier of the application program is recorded in a blacklist, and determining whether the identifier of the application program is recorded before the blacklist, further includes: monitoring an application program which responds to the awakening of the application program scheduling event; recording the times of calling back system scheduling service operation of the application program awakened by the response application program scheduling event, and if the times are greater than the preset times within the preset time length, adding the identifier of the application program into a blacklist.
Optionally, if the application is not started, it may further determine, by combining with the list information pushed by the server, whether to prohibit a response to the scheduling job, illustratively, receive the list information pushed by the server, where the list information records a scheduling prohibition list that prohibits a response to the scheduling event of the application, and the scheduling prohibition list is determined by the server according to the number of times of scheduling jobs of the callback system of the application uploaded by one or more terminal devices.
A response processing module 103, configured to prohibit a response to the application scheduling event if the application is not started.
In one embodiment, when it is determined that the application is not open, the response to the application scheduling event is prohibited. For example, a calling function responding to an application scheduling event may be intercepted and masked to prohibit a callback system from scheduling a service job. Optionally, when determining whether to intercept by combining with a white list mechanism, if the application is not started, prohibiting responding to the application scheduling event includes: and if the application program is not started, judging whether the identifier of the application program is recorded in a blacklist, and if the identifier of the application program is recorded in the blacklist, forbidding to respond to the application program scheduling event. Optionally, when determining whether to intercept the application program by combining with a blacklist mechanism, the determining whether the identifier of the application program is recorded before the blacklist further includes: monitoring an application program which responds to the awakening of the application program scheduling event; recording the times of calling back system scheduling service operation of the application program awakened by the response application program scheduling event, and if the times are greater than the preset times within the preset time length, adding the identifier of the application program into a blacklist.
According to the above, by monitoring the system scheduling service operation, when detecting that the system scheduling service operation triggers the application program scheduling event, whether the application program corresponding to the application program scheduling event is started is judged, and if the application program is not started, the response to the application program scheduling event is forbidden, so that the self-starting and the associated starting of the application program caused by the manner of executing the scheduling operation are effectively avoided, the operating efficiency of the system is improved, and the power consumption of the terminal device is reduced.
In a possible embodiment, the program determining module 102 is specifically configured to:
judging whether all the process groups of the application program corresponding to the application program scheduling event are started;
the response processing module 103 is specifically configured to:
and if the process group of the application program has the un-started application process, forbidding responding to the application program scheduling event.
In a possible embodiment, the program determining module 102 is specifically configured to:
judging whether the associated application program corresponding to the application program scheduling event is started or not;
the response processing module 103 is specifically configured to:
and if the associated application program corresponding to the application program scheduling event is not started, forbidding to respond to the application program scheduling event.
In a possible embodiment, the response processing module 103 is specifically configured to:
if the application program is not started, judging whether the identifier of the application program is recorded in a white list, and if the identifier of the application program is not recorded in the white list, forbidding responding to the scheduling event of the application program, wherein the white list is determined according to the use record of the terminal equipment.
In one possible embodiment, the response processing module 103 is further configured to:
and determining the white list according to the starting time, the starting frequency and the running time of the installed application program pushed by other terminal equipment before judging whether the identifier of the application program is recorded in the white list.
In a possible embodiment, the response processing module 103 is specifically configured to:
and if the application program is not started, judging whether the identifier of the application program is recorded in a blacklist, and if the identifier of the application program is recorded in the blacklist, forbidding to respond to the application program scheduling event.
In one possible embodiment, the response processing module 103 is further configured to:
monitoring the application program which is awakened by responding to the application program scheduling event before judging whether the identifier of the application program is recorded in the blacklist;
recording the times of calling back system scheduling service operation of the application program awakened by the response application program scheduling event, and if the times are greater than the preset times within the preset time length, adding the identifier of the application program into a blacklist.
In this embodiment, a terminal device is provided on the basis of the foregoing embodiments, and fig. 6 is a schematic structural diagram of a terminal device provided in an embodiment of the present application, and as shown in fig. 6, the terminal device 200 includes: memory 201, processor (CPU) 202, peripheral interfaces 203, RF (Radio Frequency) circuitry 205, audio circuitry 206, speaker 211, power management chip 208, input/output (I/O) subsystem 209, touch screen 212, other input/control devices 210, and external port 204, which communicate via one or more communication buses or signal lines 207.
It should be understood that the illustrated terminal device 200 is only one example of a terminal device, and that the terminal device 200 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a terminal device for rights management of multi-open applications provided in this embodiment, where the terminal device is a smart phone as an example.
A memory 201, the memory 201 being accessible by the CPU202, the peripheral interface 203, and the like, the memory 201 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 203, said peripheral interface 203 may connect input and output peripherals of the device to the CPU202 and the memory 201.
An I/O subsystem 209, the I/O subsystem 209 may connect input and output peripherals on the device, such as a touch screen 212 and other input/control devices 210, to the peripheral interface 203. The I/O subsystem 209 may include a display controller 2091 and one or more input controllers 2092 for controlling the other input/control devices 210. Where one or more input controllers 2092 receive electrical signals from or transmit electrical signals to other input/control devices 210, the other input/control devices 210 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 2092 may be coupled to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 212, the touch screen 212 being an input interface and an output interface between the user terminal and the user, displaying visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 2091 within the I/O subsystem 209 receives electrical signals from the touch screen 212 or transmits electrical signals to the touch screen 212. The touch screen 212 detects a contact on the touch screen, and the display controller 2091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 212, i.e., implements a human-machine interaction, and the user interface object displayed on the touch screen 212 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 205 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 205 receives and transmits RF signals, also referred to as electromagnetic signals, through which the RF circuitry 205 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. RF circuitry 205 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 206 is mainly used to receive audio data from the peripheral interface 203, convert the audio data into an electric signal, and transmit the electric signal to the speaker 211.
And a speaker 211 for reproducing the voice signal received by the handset from the wireless network through the RF circuit 205 into sound and playing the sound to the user.
And the power management chip 208 is used for supplying power and managing power to the hardware connected with the CPU202, the I/O subsystem and the peripheral interface.
The device for controlling the scheduling job of the terminal device and the terminal device provided in the above embodiments may execute the method for controlling the scheduling job of the terminal device provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. For details of the scheduling job control method of the terminal device, reference may be made to the following description.
An embodiment of the present application further provides a storage medium containing terminal device executable instructions, where the terminal device executable instructions are executed by a terminal device processor to perform a method for controlling a scheduling job, and the method includes:
monitoring system scheduling service operation;
when detecting that the system scheduling service operation triggers an application program scheduling event, judging whether an application program corresponding to the application program scheduling event is started or not;
and if the application program is not started, forbidding responding to the application program scheduling event.
In a possible embodiment, the determining whether the application corresponding to the application scheduling event is started includes:
judging whether all the process groups of the application program corresponding to the application program scheduling event are started;
correspondingly, the prohibiting the response to the application scheduling event if the application is not started includes:
and if the process group of the application program has the un-started application process, forbidding responding to the application program scheduling event.
In a possible embodiment, the determining whether the application corresponding to the application scheduling event is started includes:
judging whether the associated application program corresponding to the application program scheduling event is started or not;
correspondingly, the prohibiting the response to the application scheduling event if the application is not started includes:
and if the associated application program corresponding to the application program scheduling event is not started, forbidding to respond to the application program scheduling event.
In one possible embodiment, said disabling the response to the application scheduling event if the application is not open comprises:
if the application program is not started, judging whether the identifier of the application program is recorded in a white list, and if the identifier of the application program is not recorded in the white list, forbidding responding to the scheduling event of the application program, wherein the white list is determined according to the use record of the terminal equipment.
In a possible embodiment, the determining whether the identifier of the application program is recorded in the white list further includes:
the method comprises the steps of obtaining the opening time, the opening frequency and the running time of an installed application program pushed by other terminal equipment, and determining a white list according to the opening time, the opening frequency and the running time of the installed application program.
In one possible embodiment, said disabling the response to the application scheduling event if the application is not open comprises:
and if the application program is not started, judging whether the identifier of the application program is recorded in a blacklist, and if the identifier of the application program is recorded in the blacklist, forbidding to respond to the application program scheduling event.
In a possible embodiment, the determining whether the identifier of the application program is recorded in a blacklist further includes:
monitoring an application program which responds to the awakening of the application program scheduling event;
recording the times of calling back system scheduling service operation of the application program awakened by the response application program scheduling event, and if the times are greater than the preset times within the preset time length, adding the identifier of the application program into a blacklist.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the scheduling job control method described above, and may also perform related operations in the scheduling job control method provided in any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (7)

1. A scheduling job control method is characterized by comprising:
monitoring system scheduling service operation;
when detecting that the system scheduling service operation triggers an application program scheduling event, judging whether an application program corresponding to the application program scheduling event is started, wherein the judging whether the application program is started comprises the following steps: whether the associated application program corresponding to the application program scheduling event is started or not;
monitoring an application program which responds to the awakening of the application program scheduling event; recording the times of calling back system scheduling service operation of the application program awakened by the response application program scheduling event, and if the times are greater than the preset times within the preset time length, adding the identifier of the application program into a blacklist;
if the application program is not started, judging whether the identifier of the application program is recorded in a blacklist, and if the identifier of the application program is recorded in the blacklist, forbidding responding to the application program scheduling event, wherein the step of not starting the application program comprises the following steps: the related application program corresponding to the application program scheduling event is not started; the prohibiting responding to the application scheduling event includes: intercepting and masking a calling function responding to an application program scheduling event.
2. The method according to claim 1, wherein the determining whether the application corresponding to the application scheduling event is started further comprises:
judging whether all the process groups of the application program corresponding to the application program scheduling event are started;
correspondingly, the prohibiting the response to the application scheduling event if the application is not started further includes:
and if the process group of the application program has the un-started application process, forbidding responding to the application program scheduling event.
3. The method of claim 1 or 2, wherein said inhibiting the response to the application scheduling event if the application is not open comprises:
if the application program is not started, judging whether the identifier of the application program is recorded in a white list, and if the identifier of the application program is not recorded in the white list, forbidding responding to the scheduling event of the application program, wherein the white list is determined according to the use record of the terminal equipment.
4. The method of claim 3, wherein determining whether the identification of the application is recorded in a whitelist further comprises:
the method comprises the steps of obtaining the opening time, the opening frequency and the running time of an installed application program pushed by other terminal equipment, and determining a white list according to the opening time, the opening frequency and the running time of the installed application program.
5. A scheduling job control device is characterized by comprising:
the scheduling monitoring module is used for monitoring system scheduling service jobs;
a program determining module, configured to determine whether an application program corresponding to an application program scheduling event is started when it is detected that the system scheduling service job triggers the application program scheduling event, where whether the application program is started includes: whether the associated application program corresponding to the application program scheduling event is started or not;
the response processing module is used for monitoring the application program which is awakened in response to the application program scheduling event; recording the times of calling back system scheduling service operation of the application program awakened by the response application program scheduling event, and if the times are greater than the preset times within the preset time length, adding the identifier of the application program into a blacklist; if the application program is not started, judging whether the identifier of the application program is recorded in a blacklist, and if the identifier of the application program is recorded in the blacklist, forbidding responding to the application program scheduling event, wherein the step of not starting the application program comprises the following steps: the related application program corresponding to the application program scheduling event is not started; the prohibiting responding to the application scheduling event includes: intercepting and masking a calling function responding to an application program scheduling event.
6. A terminal device, comprising: processor, memory and computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of scheduled job control according to any of claims 1-4 when executing the computer program.
7. A storage medium containing terminal device-executable instructions, which when executed by a terminal device processor, are for performing the method of scheduling job control according to any of claims 1-4.
CN201711165683.6A 2017-11-21 2017-11-21 Scheduling job control method, device, terminal equipment and storage medium Active CN107943268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711165683.6A CN107943268B (en) 2017-11-21 2017-11-21 Scheduling job control method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711165683.6A CN107943268B (en) 2017-11-21 2017-11-21 Scheduling job control method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107943268A CN107943268A (en) 2018-04-20
CN107943268B true CN107943268B (en) 2020-03-10

Family

ID=61929627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711165683.6A Active CN107943268B (en) 2017-11-21 2017-11-21 Scheduling job control method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107943268B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600824A (en) * 2018-04-28 2018-09-28 维沃移动通信有限公司 A kind of record screen method and terminal device
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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104020999A (en) * 2014-06-16 2014-09-03 腾讯科技(深圳)有限公司 Management method and system of application programs
CN105677477A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Method and device for optimizing application program resources and electronic equipment
CN106095517A (en) * 2016-06-28 2016-11-09 宇龙计算机通信科技(深圳)有限公司 The method and device that a kind of end application runs
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
CN104020999A (en) * 2014-06-16 2014-09-03 腾讯科技(深圳)有限公司 Management method and system of application programs
CN105677477A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Method and device for optimizing application program resources and electronic equipment
CN106095517A (en) * 2016-06-28 2016-11-09 宇龙计算机通信科技(深圳)有限公司 The method and device that a kind of end application runs
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

Also Published As

Publication number Publication date
CN107943268A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN107748685B (en) Application program starting control method and device, terminal equipment and storage medium
CN107943269B (en) Scheduling job control method, device, terminal equipment and storage medium
CN107844342B (en) Control method and device for keeping application program alive, storage medium and mobile terminal
CN107943650B (en) Application program control method and device, storage medium and terminal
CN107797841B (en) Window control method and device, terminal equipment and storage medium
CN107783803B (en) System optimization method and device of intelligent terminal, storage medium and intelligent terminal
CN107734616B (en) Application program closing method and device, storage medium and electronic equipment
EP3486770B1 (en) Processing method, device and storage medium for implementing automatic startup
CN107844341B (en) Process starting control method and device, storage medium and mobile terminal
CN106844026B (en) Method and system for cleaning terminal equipment process
CN107831886B (en) Control method and device for associated starting application, storage medium and intelligent terminal
EP3486823B1 (en) System notification service control method, apparatus, terminal device, and storage medium
CN107423064B (en) Message processing method and device, terminal equipment and storage medium
CN107943270B (en) Application service control method and device, storage medium and mobile terminal
CN109408465B (en) File attribution information recording method, device, storage medium and terminal
CN106937258B (en) A kind of control method of broadcast, device and mobile terminal
CN107070670B (en) Method, device and terminal equipment for controlling broadcast sender to send broadcast message
CN107957905A (en) Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation
CN107885588B (en) Application service control method and device, storage medium and mobile terminal
CN107943268B (en) Scheduling job control method, device, terminal equipment and storage medium
CN102497479B (en) Method for smart phone to judge Trojprograms according to application software behaviors
US10990460B2 (en) Method of generating broadcast queue, storage medium, and terminal
CN107832131B (en) Application program closing method and device, storage medium and electronic equipment
CN106936826B (en) Registration method and device of broadcast receiver and terminal equipment
CN106844070B (en) Broadcast control method and device and mobile terminal

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: Guangdong Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant