CN107943269B - 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
CN107943269B
CN107943269B CN201711168283.0A CN201711168283A CN107943269B CN 107943269 B CN107943269 B CN 107943269B CN 201711168283 A CN201711168283 A CN 201711168283A CN 107943269 B CN107943269 B CN 107943269B
Authority
CN
China
Prior art keywords
application program
scheduling
running
parameter
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
CN201711168283.0A
Other languages
Chinese (zh)
Other versions
CN107943269A (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 CN201711168283.0A priority Critical patent/CN107943269B/en
Publication of CN107943269A publication Critical patent/CN107943269A/en
Application granted granted Critical
Publication of CN107943269B publication Critical patent/CN107943269B/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, acquiring parameter record information of an application program corresponding to the application program scheduling event; and judging whether the parameter recording information meets a preset condition, and if so, prohibiting 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, acquiring parameter record information of an application program corresponding to the application program scheduling event;
and judging whether the parameter recording information meets a preset condition, and if so, prohibiting 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 scheduling processing module is used for acquiring the parameter record information of the application program corresponding to the application program scheduling event when detecting that the system scheduling service job triggers the application program scheduling event;
and the scheduling response module is used for judging whether the parameter recording information meets a preset condition or not, and if so, forbidding responding to the application program scheduling event.
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, system scheduling service operation is monitored, when the fact that the system scheduling service operation triggers an application program scheduling event is detected, parameter recording information of an application program corresponding to the application program scheduling event is obtained, whether the parameter recording information meets a preset condition or not is judged, if yes, response to the application program scheduling event is forbidden, self-starting and associated starting of the application program caused by a mode of executing the scheduling operation are effectively avoided, the operating efficiency of a system is improved, and the power consumption of 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, acquiring the parameter record information of the application program corresponding to 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, when detecting that a system scheduling service job triggers an application scheduling event, acquiring parameter record information of an application corresponding to the application scheduling event, wherein the parameter record information includes running duration, running load and running frequency recorded in the running process of the application, and collecting the running duration, the running load and the running frequency in the running process of the application by setting an information collector. The running load includes system resources occupied by the running of the application program, such as CPU occupancy rate, memory occupancy rate, and the like, the running frequency may be a statistical period of days or weeks, and the running frequency of the application program in the period is counted as the frequency.
And step S103, judging whether the parameter recording information meets a preset condition, and if so, prohibiting responding to the application program scheduling event.
In one embodiment, whether the response to the application scheduling event needs to be prohibited is finally determined by the running time length, the running load and the running frequency of the application recorded in the parameter record information and respective comparison judgment conditions. For example, the importance level of the application program is determined according to the running time length, the running load and the running frequency, the importance level characterizes the usage dependence degree of the user on the application program, for example, the preset condition is that the running time length is less than 30 minutes per day, if the running time length of the application program recorded in the parameter record information is 18 minutes/day, the application program can be correspondingly determined to meet the preset condition, and the response to the application program scheduling event is prohibited. Optionally, in order to prevent the service job from being disabled by mistake, the method includes: and judging whether the parameter recording information meets a preset condition, if so, judging whether the identifier of the application program is recorded in a stored white list, and if not, forbidding responding to the application program scheduling event. Optionally, in order to further improve the accuracy of disabling the system scheduling service job, the method includes: and judging whether the parameter recording information meets a preset condition, if so, judging whether the identifier of the application program is recorded in a stored push list, and if so, forbidding responding to the application program scheduling event, wherein the push list is obtained by a server according to a usage record uploaded by one or more terminal devices and running a machine learning model algorithm. Optionally, under special conditions, in order to improve the user experience, the method includes: judging whether the parameter recording information meets a preset condition or not, and if so, acquiring the current operation parameters of the terminal equipment; and if the operation parameters meet preset control conditions, prohibiting responding to the application program scheduling event. For example, when the CPU occupancy memory occupancy of the current terminal device is greater than 80%, the disabling mechanism may be activated.
According to the above, the system scheduling service operation is monitored, when the system scheduling service operation triggers the application program scheduling event, the parameter record information of the application program corresponding to the application program scheduling event is acquired, whether the parameter record information meets the preset condition or not is judged, if yes, the response to the application program scheduling event is forbidden, 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, the determining whether the parameter record information meets a preset condition, and if yes, prohibiting responding to the application scheduling event includes: and judging whether the parameter recording information meets a preset condition, if so, judging whether the identifier of the application program is recorded in a stored white list, and if not, 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, acquiring the parameter record information of the application program corresponding to the application program scheduling event.
Step S203, judging whether the parameter recording information meets the preset condition, if so, executing step S204.
And step S204, judging whether the identifier of the application program is recorded in a stored white list, if not, executing step S205, and if so, executing step S206.
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 represents usage habits or usage contents of a user, for example, an application program manually installed and manually opened by the user is recorded, and when the number of times of manual opening reaches 3 times/day, the identifier of the application is correspondingly added to a white list, where the identifier of the application may be a package name of the application program; or white list addition for applications that detect a user manually opening at some fixed time range (e.g., 8 pm to 10 pm).
And S205, forbidding responding to the application program scheduling event.
And step S206, allowing the application program to respond to the scheduling event.
According to the method, when the parameter recording information of the application program meets the preset condition and the corresponding application program scheduling event needs to be forbidden, whether the application program scheduling event is responded or not is finally determined by further combining the white list, the control mechanism of system scheduling operation is improved, and the phenomenon of forbidding by mistake is avoided.
Fig. 3 is a flowchart of another method for controlling scheduling jobs according to an embodiment of the present application, where optionally, the determining whether the parameter record information meets a preset condition, and if yes, prohibiting responding to the application scheduling event includes: and judging whether the parameter recording information meets a preset condition, if so, judging whether the identifier of the application program is recorded in a stored push list, and if so, forbidding responding to the application program scheduling event, wherein the push list is obtained by a server according to a usage record uploaded by one or more terminal devices and running a machine learning model algorithm. 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, acquiring the parameter record information of the application program corresponding to the application program scheduling event.
And step S303, judging whether the parameter recording information meets a preset condition, and if so, executing step S304.
Step S304, judging whether the identification of the application program is recorded in a stored push list, if so, executing step S305, and if not, executing step S306.
In one embodiment, the push list records an identification of an application that is prohibited from responding to an application scheduling event, and in one embodiment, the determining of the push list comprises: monitoring an application program which responds to the awakening of the application program scheduling event; and 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 push list. That is, the application is monitored after it wakes up in response to the application scheduling event, illustratively, the application that frequently calls back the system scheduling service job is added to the push list.
In another embodiment, the push list is obtained by the server running a machine learning model algorithm according to the usage records uploaded by one or more terminal devices. The machine learning model can be obtained by training and learning a large number of samples through a server, and can be obtained by supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, and an algorithm used in the learning process comprises the following steps: 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.
And S305, forbidding responding to the application program scheduling event.
And step S306, allowing the application program to respond to the scheduling event.
Therefore, when the fact that the parameter information of the application program meets the forbidden condition is determined, in order to further determine whether the application program should be forbidden to respond to the application program scheduling event to prevent error prohibition, a push list pushed by a server can be further combined, the push list is generated according to usage records uploaded by different terminal devices, when the current terminal device does not have a large number of usage records for judgment, the current terminal device can be used with reference, and meanwhile, due to the fact that a data analysis source is big data analysis, the accuracy of the finally obtained application program which is forbidden to respond to the application program scheduling event is improved.
Fig. 4 is a flowchart of another method for controlling scheduling jobs according to an embodiment of the present application, where optionally, the determining whether the parameter record information meets a preset condition, and if yes, prohibiting responding to the application scheduling event includes: judging whether the parameter recording information meets a preset condition or not, and if so, acquiring the current operation parameters of the terminal equipment; and if the operation parameters meet preset control conditions, prohibiting responding to the application program scheduling event. As shown in fig. 4, the technical solution is as follows:
and step S401, monitoring the system scheduling service job.
Step S402, when detecting that the system scheduling service operation triggers the application program scheduling event, acquiring the parameter record information of the application program corresponding to the application program scheduling event.
And step S403, judging whether the parameter recording information meets a preset condition, and if so, executing step S404.
Step S404, acquiring the current operation parameters of the terminal equipment, judging whether the operation parameters meet preset control conditions, if so, executing step S405, and if not, executing step S406.
Illustratively, the operation parameter of the terminal device includes a current remaining power of the terminal device, and the preset control condition may be: whether the remaining capacity is less than 30%. And correspondingly forbidding to respond to the application program scheduling event when the acquired current residual capacity of the terminal equipment is less than 30%, and allowing to respond to the application program scheduling event when the residual capacity of the terminal equipment is more than or equal to 30%.
And S405, forbidding to respond to the application program scheduling event.
And step S406, allowing the application program to respond to the scheduling event.
Therefore, by combining the operating parameters of the terminal device, the prohibition on the application program scheduling event can be released correspondingly under the condition that the operating condition of the terminal device is good.
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 scheduling listening module 101, a scheduling processing module 102 and a scheduling response 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.
And the scheduling processing module 102 is configured to, when it is detected that the system scheduling service job triggers an application scheduling event, obtain parameter record information of an application corresponding to the application 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, when detecting that a system scheduling service job triggers an application scheduling event, acquiring parameter record information of an application corresponding to the application scheduling event, wherein the parameter record information includes running duration, running load and running frequency recorded in the running process of the application, and collecting the running duration, the running load and the running frequency in the running process of the application by setting an information collector. The running load includes system resources occupied by the running of the application program, such as CPU occupancy rate, memory occupancy rate, and the like, the running frequency may be a statistical period of days or weeks, and the running frequency of the application program in the period is counted as the frequency.
And the scheduling response module 103 is configured to determine whether the parameter record information meets a preset condition, and if so, prohibit a response to the application scheduling event.
In one embodiment, whether the response to the application scheduling event needs to be prohibited is finally determined by the running time length, the running load and the running frequency of the application recorded in the parameter record information and respective comparison judgment conditions. For example, the importance level of the application program is determined according to the running time length, the running load and the running frequency, the importance level characterizes the usage dependence degree of the user on the application program, for example, the preset condition is that the running time length is less than 30 minutes per day, if the running time length of the application program recorded in the parameter record information is 18 minutes/day, the application program can be correspondingly determined to meet the preset condition, and the response to the application program scheduling event is prohibited. Optionally, in order to prevent the service job from being disabled by mistake, the method includes: and judging whether the parameter recording information meets a preset condition, if so, judging whether the identifier of the application program is recorded in a stored white list, and if not, forbidding responding to the application program scheduling event. Optionally, in order to further improve the accuracy of disabling the system scheduling service job, the method includes: and judging whether the parameter recording information meets a preset condition, if so, judging whether the identifier of the application program is recorded in a stored push list, and if so, forbidding responding to the application program scheduling event, wherein the push list is obtained by a server according to a usage record uploaded by one or more terminal devices and running a machine learning model algorithm. Optionally, under special conditions, in order to improve the user experience, the method includes: judging whether the parameter recording information meets a preset condition or not, and if so, acquiring the current operation parameters of the terminal equipment; and if the operation parameters meet preset control conditions, prohibiting responding to the application program scheduling event. For example, when the CPU occupancy memory occupancy of the current terminal device is greater than 80%, the disabling mechanism may be activated.
According to the above, the system scheduling service operation is monitored, when the system scheduling service operation triggers the application program scheduling event, the parameter record information of the application program corresponding to the application program scheduling event is acquired, whether the parameter record information meets the preset condition or not is judged, if yes, the response to the application program scheduling event is forbidden, 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 parameter record information includes a running duration, a running load, and a running frequency recorded in the running process of the application program, and the scheduling response module 103 is specifically configured to:
and judging whether the operation duration, the operation load and the operation frequency meet corresponding threshold conditions.
In a possible embodiment, the scheduling response module 103 is specifically configured to:
and judging whether the parameter recording information meets a preset condition, if so, judging whether the identifier of the application program is recorded in a stored white list, and if not, forbidding responding to the application program scheduling event.
In a possible embodiment, the statistics module 104 is configured to, before the monitoring of the system scheduling service job, perform statistics on usage records of the terminal device, determine a white list according to a statistical result, and store the white list.
In a possible embodiment, the scheduling response module 103 is specifically configured to:
and judging whether the parameter recording information meets a preset condition, if so, judging whether the identifier of the application program is recorded in a stored push list, and if so, forbidding responding to the application program scheduling event, wherein the push list is obtained by a server according to a usage record uploaded by one or more terminal devices and running a machine learning model algorithm.
In a possible embodiment, the scheduling response module 103 is specifically configured to:
judging whether the parameter recording information meets a preset condition or not, and if so, acquiring the current operation parameters of the terminal equipment;
and if the operation parameters meet preset control conditions, prohibiting responding to the application program scheduling event.
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, acquiring parameter record information of an application program corresponding to the application program scheduling event;
and judging whether the parameter recording information meets a preset condition, and if so, prohibiting responding to the application program scheduling event.
In a possible embodiment, the parameter record information includes an operation duration, an operation load, and an operation frequency recorded in an operation process of an application program, and accordingly, the determining whether the parameter record information satisfies a preset condition includes:
and judging whether the operation duration, the operation load and the operation frequency meet corresponding threshold conditions.
In a possible embodiment, the determining whether the parameter record information satisfies a preset condition, and if so, the prohibiting responding to the application scheduling event includes:
and judging whether the parameter recording information meets a preset condition, if so, judging whether the identifier of the application program is recorded in a stored white list, and if not, forbidding responding to the application program scheduling event.
In one possible embodiment, before the listening to the system scheduling service job, the method further includes:
and counting the use records of the terminal equipment, and determining and storing the white list according to the counting result.
In a possible embodiment, the determining whether the parameter record information satisfies a preset condition, and if so, the prohibiting responding to the application scheduling event includes:
and judging whether the parameter recording information meets a preset condition, if so, judging whether the identifier of the application program is recorded in a stored push list, and if so, forbidding responding to the application program scheduling event, wherein the push list is obtained by a server according to a usage record uploaded by one or more terminal devices and running a machine learning model algorithm.
In a possible embodiment, the determining whether the parameter record information satisfies a preset condition, and if so, the prohibiting responding to the application scheduling event includes:
judging whether the parameter recording information meets a preset condition or not, and if so, acquiring the current operation parameters of the terminal equipment;
and if the operation parameters meet preset control conditions, prohibiting responding to the application program scheduling event.
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 (6)

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, acquiring parameter record information of an application program corresponding to the application program scheduling event; the parameter recording information comprises running duration, running load and running frequency recorded in the running process of the application program, the running load comprises system resources occupied by the running of the application program, the running frequency takes days or weeks as a statistical period, and the running frequency of the application program in the period is counted as the frequency;
judging whether the parameter record information meets a preset condition, if so, prohibiting responding to the application program scheduling event, and the method comprises the following steps:
judging whether the parameter recording information meets a preset condition, if so, acquiring the current operation parameter of the terminal equipment, if so, judging whether the identifier of the application program is recorded in a stored push list, and if so, forbidding to respond to the application program scheduling event; wherein whether the parameter recording information satisfies a preset condition includes: whether the running duration, the running load and the running frequency meet corresponding threshold conditions or not; the operation parameters at least comprise the residual capacity of the terminal equipment; and the push list is determined according to whether the times of responding to the callback system scheduling service operation by the application program in the preset time length are greater than the preset times.
2. The method of claim 1, wherein the determining whether the parameter record information satisfies a preset condition, and if so, prohibiting responding to the application scheduling event, further comprises:
and judging whether the identifier of the application program is recorded in a stored white list, and if not, forbidding responding to the application program scheduling event.
3. The method of claim 2, further comprising, prior to said listening for system dispatch service jobs:
and counting the use records of the terminal equipment, and determining and storing the white list according to the counting result.
4. A scheduling job control device is characterized by comprising:
the scheduling monitoring module is used for monitoring system scheduling service jobs;
the scheduling processing module is used for acquiring the parameter record information of the application program corresponding to the application program scheduling event when detecting that the system scheduling service job triggers the application program scheduling event; the parameter recording information comprises running duration, running load and running frequency recorded in the running process of the application program, the running load comprises system resources occupied by the running of the application program, the running frequency takes days or weeks as a statistical period, and the running frequency of the application program in the period is counted as the frequency;
the scheduling response module is used for judging whether the parameter recording information meets a preset condition or not, acquiring the current operation parameter of the terminal equipment if the parameter recording information meets the preset condition, judging whether the identifier of the application program is recorded in a stored push list or not if the operation parameter meets the preset control condition, and forbidding responding to the application program scheduling event if the operation parameter meets the preset control condition; wherein whether the parameter recording information satisfies a preset condition includes: whether the running duration, the running load and the running frequency meet corresponding threshold conditions or not; the operation parameters at least comprise the residual capacity of the terminal equipment; and the push list is determined according to whether the times of responding to the callback system scheduling service operation by the application program in the preset time length are greater than the preset times.
5. 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-3 when executing the computer program.
6. 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-3.
CN201711168283.0A 2017-11-21 2017-11-21 Scheduling job control method, device, terminal equipment and storage medium Active CN107943269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711168283.0A CN107943269B (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
CN201711168283.0A CN107943269B (en) 2017-11-21 2017-11-21 Scheduling job control method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107943269A CN107943269A (en) 2018-04-20
CN107943269B true CN107943269B (en) 2021-01-01

Family

ID=61930600

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN107943269B (en)

Families Citing this family (6)

* 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
CN110543348B (en) * 2019-09-06 2023-03-24 北京奇艺世纪科技有限公司 Instruction processing method, system, electronic equipment and storage medium
CN112540666A (en) * 2019-09-20 2021-03-23 中兴通讯股份有限公司 Application unfreezing method, terminal device, computer device and computer readable medium
CN113835889A (en) * 2021-09-24 2021-12-24 青岛海信移动通信技术股份有限公司 Method for acquiring input event and related device
CN113961347B (en) * 2021-10-27 2022-05-17 缪周航 Method for improving reliability of mobile computing platform
CN115016631B (en) * 2021-11-22 2023-07-18 荣耀终端有限公司 Process scheduling method and terminal equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9483305B1 (en) * 2015-05-26 2016-11-01 Google Inc. Partial resume for operating system modules

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8938631B2 (en) * 2012-06-30 2015-01-20 International Business Machines Corporation Energy efficient implementation of read-copy update for light workloads running on systems with many processors
CN104484031B (en) * 2014-12-30 2017-04-05 北京奇虎科技有限公司 The optimization method and device of terminal device power consumption state
CN105824664B (en) * 2016-03-08 2019-03-12 Oppo广东移动通信有限公司 Application program launching monitoring method, device and terminal device
CN106874089B (en) * 2017-01-25 2019-11-05 北京安云世纪科技有限公司 A kind of processing method, device and the mobile terminal of application program self-starting
CN107247507A (en) * 2017-04-26 2017-10-13 努比亚技术有限公司 Prevent from applying booting-self controller method and terminal, computer-readable recording medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9483305B1 (en) * 2015-05-26 2016-11-01 Google Inc. Partial resume for operating system modules

Also Published As

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

Similar Documents

Publication Publication Date Title
CN107943269B (en) Scheduling job control method, device, terminal equipment and storage medium
CN107748685B (en) Application program starting control method and device, terminal equipment and storage medium
CN109213539B (en) Memory recovery method and device
EP3502880B1 (en) Method for preloading application, storage medium, and terminal device
CN107943650B (en) Application program control method and device, storage medium and terminal
CN109947496B (en) Application program preloading method and device, storage medium and mobile terminal
CN106774786B (en) Power consumption control method and device
CN107844342B (en) Control method and device for keeping application program alive, storage medium and mobile terminal
CN109947497B (en) Application program preloading method and device, storage medium and mobile terminal
CN107783803B (en) System optimization method and device of intelligent terminal, storage medium and intelligent terminal
CN107797841B (en) Window control method and device, terminal equipment and storage medium
US10956176B2 (en) Processing method, device and storage medium for implementing automatic startup
CN106844026B (en) Method and system for cleaning terminal equipment process
CN107844341B (en) Process starting control method and device, storage medium and mobile terminal
EP3486823B1 (en) System notification service control method, apparatus, terminal device, and storage medium
CN106937258B (en) A kind of control method of broadcast, device and mobile terminal
CN109408465B (en) File attribution information recording method, device, storage medium and terminal
CN107070670B (en) Method, device and terminal equipment for controlling broadcast sender to send broadcast message
CN107423064A (en) Message treatment method, device, terminal device and storage medium
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
CN106851015B (en) Method, device and terminal for adjusting broadcast message queue
CN107943268B (en) Scheduling job control method, device, terminal equipment and storage medium
CN108038050B (en) Performance adjusting method and device, storage medium and electronic 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
CB02 Change of applicant information

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

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

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

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant