CN116028130A - Terminal control method, device and computer readable storage medium - Google Patents

Terminal control method, device and computer readable storage medium Download PDF

Info

Publication number
CN116028130A
CN116028130A CN202111248709.XA CN202111248709A CN116028130A CN 116028130 A CN116028130 A CN 116028130A CN 202111248709 A CN202111248709 A CN 202111248709A CN 116028130 A CN116028130 A CN 116028130A
Authority
CN
China
Prior art keywords
priority
target process
power
preset
new
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111248709.XA
Other languages
Chinese (zh)
Inventor
邱泽钿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202111248709.XA priority Critical patent/CN116028130A/en
Publication of CN116028130A publication Critical patent/CN116028130A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The present disclosure relates to a terminal control method, apparatus, and computer-readable storage medium. The method comprises the following steps: monitoring whether high-power-consumption application is started in the terminal in real time; when the high-power-consumption application is monitored to be started, if the class of the target process is a common process, the class is adjusted to be a real-time process, and the priority of the target process is improved to a first preset priority, so that a new priority is obtained, wherein the high-power-consumption application comprises the target process. In this way, when the terminal is monitored to have high-power-consumption application started, if the class of the target process is the common process, the target process is switched to the real-time process, and the priority is increased to the first preset priority, so that the target process can be responded as soon as possible, the high-performance requirement of the high-power-consumption application is met, and the user experience is improved.

Description

Terminal control method, device and computer readable storage medium
Technical Field
The disclosure relates to the technical field of terminals, and in particular relates to a terminal control method, a terminal control device and a computer readable storage medium.
Background
With the development of terminals (e.g., smart phones, smart wearable devices, etc.), how to ensure performance to reach standards through process tuning has received increasing attention. At present, the priority of the process corresponding to the performance to be tuned is usually improved to ensure that the performance meets the standard, but the method is simple and rough and cannot meet the performance requirements in different scenes.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a terminal control method, apparatus, and computer-readable storage medium.
According to a first aspect of an embodiment of the present disclosure, there is provided a terminal control method, including:
monitoring whether a high-power-consumption application in the terminal is started or not in real time;
when the high-power-consumption application is monitored to be started, if the class of the target process is a common process, the class is adjusted to be a real-time process, and the priority of the target process is improved to a first preset priority, so that a new priority is obtained, wherein the high-power-consumption application comprises the target process.
Optionally, after the step of increasing the priority of the target process to the first preset priority to obtain a new priority, the method further includes:
acquiring the latest N running time lengths of the target process;
determining whether to update the new priority according to the latest N running time lengths;
and if the new priority is determined to be updated, the new priority is increased.
Optionally, the increasing the new priority includes:
determining a target level difference value to be improved of the target process;
and increasing the new priority by the target level difference value.
Optionally, the increasing the new priority, to obtain a new priority, includes:
determining a target level difference value to be improved of the target process;
judging whether the intermediate priority is higher than a second preset priority, wherein the second preset priority is lower than the highest priority of the processes in the terminal, and the intermediate priority is higher than the new priority by the target level difference value;
if the intermediate priority is higher than the second preset priority, the new priority is increased to the second preset priority;
and if the intermediate priority is equal to or lower than the second preset priority, the new priority is increased to the intermediate priority.
Optionally, the method further comprises:
and returning to the step of acquiring the running time of the target process for the last N times until the new priority obtained after the improvement is equal to the second preset priority.
Optionally, the determining whether to update the new priority according to the last N running durations includes:
and if the ratio of the number of the operation time lengths larger than the first preset time length threshold value to N in the latest N operation time lengths is larger than the preset proportion threshold value, determining to update the new priority.
Optionally, the determining whether to update the new priority according to the last N running durations includes:
and if the operation duration greater than a second preset duration threshold exists in the latest N operation durations, determining to update the new priority.
Optionally, the method further comprises:
and when the high-power consumption application is monitored to exit, the class is adjusted to be the common process, and the priority of the target process is restored to be the priority of the common process.
Optionally, the target process is a touch process.
According to a second aspect of the embodiments of the present disclosure, there is provided a terminal control apparatus including:
the monitoring module is configured to monitor whether high-power-consumption application is started in the terminal in real time;
and the adjusting module is configured to adjust the category of the target process into a real-time process and improve the priority of the target process to a first preset priority to obtain a new priority when the monitoring module monitors that the high-power-consumption application is started, wherein the high-power-consumption application comprises the target process if the category of the target process is a common process.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal control apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring whether a high-power-consumption application in the terminal is started or not in real time;
when the high-power-consumption application is monitored to be started, if the class of the target process is a common process, the class is adjusted to be a real-time process, and the priority of the target process is improved to a first preset priority, so that a new priority is obtained, wherein the high-power-consumption application comprises the target process.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the terminal control method provided by the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: monitoring whether high-power-consumption application is started in the terminal in real time; when the high-power-consumption application is monitored to be started, if the class of the target process is a common process, the class is adjusted to be a real-time process, and the priority of the target process is improved to a first preset priority, so that a new priority is obtained, wherein the high-power-consumption application comprises the target process. In this way, when the terminal is monitored to have high-power-consumption application started, if the class of the target process is the common process, the target process is switched to the real-time process, and the priority is increased to the first preset priority, so that the target process can be responded as soon as possible, the high-performance requirement of the high-power-consumption application is met, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a terminal control method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a terminal control method according to another exemplary embodiment.
FIG. 3 is a flowchart illustrating a method of increasing new priority in accordance with an exemplary embodiment.
Fig. 4 is a flowchart illustrating a terminal control method according to another exemplary embodiment.
Fig. 5 is a block diagram illustrating a terminal control apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a terminal control apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a flowchart illustrating a terminal control method according to an exemplary embodiment, wherein the terminal control method may be applied to a terminal such as a smart phone, a smart wearable device, and the like. As shown in fig. 1, the above method includes the following S101 and S102.
In S101, it is monitored in real time whether a high power consumption application is started in the terminal.
In the present disclosure, whether a high power consumption application is started in a terminal may be determined by determining whether a preset high power consumption application (e.g., game, live broadcast, etc.) is started. Specifically, a high-power-consumption application list may be pre-established, so that if the application currently started by the terminal is in the pre-established high-power-consumption application list, it is determined that the high-power-consumption application is started in the terminal, and if the application currently started by the terminal is not in the pre-established high-power-consumption application list, it is determined that the high-power-consumption application is not started in the terminal.
In S102, when it is monitored that the high-power-consumption application is started, if the class of the target process is a normal process, the class is adjusted to be a real-time process, and the priority of the target process is increased to a first preset priority, so as to obtain a new priority.
In the present disclosure, the target process may be a touch process, an image frame display process, or the like. The categories of the target process comprise a common process and a real-time process, wherein the real-time process has response time limitation and can respond faster than the common process. Therefore, by adjusting the class of the target process to the real-time process, the target process can be responded as soon as possible.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: monitoring whether high-power-consumption application is started in the terminal in real time; when the high-power-consumption application is monitored to be started, if the class of the target process is a common process, the class is adjusted to be a real-time process, and the priority of the target process is improved to a first preset priority, so that a new priority is obtained, wherein the high-power-consumption application comprises the target process. In this way, when the terminal is monitored to have high-power-consumption application started, if the class of the target process is the common process, the target process is switched to the real-time process, and the priority is increased to the first preset priority, so that the target process can be responded as soon as possible, the high-performance requirement of the high-power-consumption application is met, and the user experience is improved.
Fig. 2 is a flowchart illustrating a terminal control method according to another exemplary embodiment. As shown in fig. 2, after S102, the terminal control method further includes S103 to S105.
In S103, the running time length of the target process for the last N times is acquired.
In the present disclosure, the running duration is the total duration of the target process from initiation to termination.
In S104, it is determined whether to update the new priority according to the last N times of operation time.
In the present disclosure, if it is determined that the new priority is not updated, the current priority is kept unchanged; if it is determined to update the new priority, the following S105 is performed.
In S105, if it is determined to update the new priority, the new priority is raised.
After the category and the priority of the target process are adjusted, whether the new priority can meet the performance requirement of the current high-power-consumption application can be verified according to the latest N running time of the target process, if so, the new priority is not adjusted, and if not, the new priority is improved to better match the performance requirement of the current high-power-consumption application.
The following describes in detail the embodiment of determining whether to update the new priority according to the last N operation durations in S104. In particular, whether to update the new priority may be determined in a number of ways. In one embodiment, if the ratio of the number of the operation durations greater than the first preset duration threshold to N in the operation durations of the last N times is greater than the preset proportion threshold, determining to update the new priority; if the ratio of the number of the operation time lengths larger than the first preset time length threshold to N in the operation time lengths of the last N times is smaller than or equal to the preset proportion threshold, determining that the new priority is not updated.
The preset ratio threshold is, for example, 20%.
In another embodiment, if the operation duration greater than the second preset duration threshold exists in the operation durations of the last N times, determining to update the new priority; if the operation time length greater than the second preset time length threshold value does not exist in the operation time lengths of the last N times, namely, the operation time lengths of the last N times are smaller than or equal to the second preset time length threshold value, determining that the new priority is not updated.
The following describes in detail a specific embodiment for increasing the new priority in S105. Specifically, the new priority may be increased in a variety of ways, and in one embodiment, the target level difference value to be increased by the target process may be determined first, and then the new priority may be increased by the target level difference value.
The target level difference may be a preset level difference (e.g., 20), or may be determined according to a pre-established correspondence between the high-power application and the level difference, where the target level difference corresponds to the current high-power application.
For example, if the priority value is smaller, the priority is higher, the new priority obtained after the improvement=new priority-preset level difference value.
As another example, if the priority value is larger, the priority is higher, the new priority obtained after the improvement=new priority+preset level difference value.
In another embodiment, the new priority may be increased by S1051-S1054 shown in fig. 3.
In S1051, if it is determined to update the new priority, the target level difference value to be improved by the target process is determined.
In S1052, it is determined whether the intermediate priority is higher than the second preset priority.
The second preset priority is lower than the highest priority of the process in the terminal, and the intermediate priority is higher than the new priority by the target level difference value.
If the intermediate priority is higher than the second preset priority, the following S1054 is performed; if the intermediate priority is equal to or lower than the second preset priority, the following S1053 is performed.
In S1053, the new priority is raised to the intermediate priority.
In S1054, the new priority is raised to the second preset priority.
In the above embodiment, when the intermediate priority is higher than the second preset priority, the new priority is increased to the second preset priority instead of the intermediate priority, so that the problem of unreasonable preemption of resources caused by too high priority of the target process is avoided while the performance is ensured, and the reasonable configuration of terminal resources is realized.
Fig. 4 is a flowchart illustrating a terminal control method according to another exemplary embodiment. As shown in fig. 4, the above terminal control method further includes the following S106.
In S106, it is determined whether the new priority obtained after the improvement is equal to the second preset priority.
In the present disclosure, if the new priority obtained after the improvement is not equal to the second preset priority, the priority of the target process is continuously updated, that is, the process returns to S103; and if the new priority obtained after the improvement is equal to the second preset priority, stopping updating the priority of the target process, namely ending.
In the embodiment, the priority of the target process is repeatedly adjusted, so that the priority of the target process can be adapted to the current high-power-consumption application, the problem of unreasonable preemption of resources caused by too high priority of the target process is avoided while the performance is ensured, and the reasonable configuration of terminal resources is realized.
In the disclosure, when the high-power-consumption application is monitored to be exited, the class of the high-power-consumption application can be adjusted to be a common process, and the priority of the target process is restored to be the priority of the common process, so that the problem of unreasonable preemption of resources caused by too high priority of the target process corresponding to the low-power-consumption application is avoided.
Fig. 5 is a block diagram of a terminal control apparatus according to an exemplary embodiment, in which the apparatus 500 is applied to a terminal. Referring to fig. 5, the apparatus 500 includes: a monitoring module 501 configured to monitor in real time whether a high power consumption application is started in the terminal; and the adjusting module 502 is configured to adjust the class of the target process to be a real-time process and increase the priority of the target process to a first preset priority to obtain a new priority when the monitoring module monitors that the high-power application is started, wherein the high-power application comprises the target process if the class of the target process is a common process.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: monitoring whether high-power-consumption application is started in the terminal in real time; when the high-power-consumption application is monitored to be started, if the class of the target process is a common process, the class is adjusted to be a real-time process, and the priority of the target process is improved to a first preset priority, so that a new priority is obtained, wherein the high-power-consumption application comprises the target process. In this way, when the terminal is monitored to have high-power-consumption application started, if the class of the target process is the common process, the target process is switched to the real-time process, and the priority is increased to the first preset priority, so that the target process can be responded as soon as possible, the high-performance requirement of the high-power-consumption application is met, and the user experience is improved.
Optionally, the apparatus 500 includes: the acquiring module is configured to acquire the running duration of the target process for the last N times after the adjusting module 502 increases the priority of the target process to the first preset priority to obtain a new priority; the determining module is configured to determine whether to update the new priority according to the latest N running time lengths; the adjustment module 502 is further configured to increase the new priority if it is determined to update the new priority.
Optionally, the adjusting module 502 includes: a first determining submodule configured to determine a target level difference value to be improved by the target process; a first adjustment sub-module configured to increase the new priority by the target level difference.
Optionally, the adjusting module 502 includes: a second determining submodule configured to determine a target level difference value to be improved by the target process; a first judging sub-module configured to judge whether an intermediate priority is higher than a second preset priority, wherein the second preset priority is lower than a highest priority of a process in the terminal, and the intermediate priority is higher than the new priority by the target level difference; a second adjustment sub-module configured to increase the new priority to the second preset priority if the intermediate priority is higher than the second preset priority; and a third adjustment sub-module configured to increase the new priority to the intermediate priority if the intermediate priority is equal to or lower than the second preset priority.
Optionally, the apparatus 500 further includes: the triggering module is configured to trigger the acquiring module to acquire the running time of the target process for the last N times until the new priority obtained after the improvement is equal to the second preset priority.
Optionally, the determining module is configured to determine to update the new priority if a ratio of the number of the operation durations greater than the first preset duration threshold to N in the most recent N operation durations is greater than a preset proportion threshold.
Optionally, the determining module is configured to determine to update the new priority if there is an operation duration greater than a second preset duration threshold in the last N operation durations.
Optionally, the adjusting module 502 is further configured to adjust the class to the normal process when the high power consumption application is detected to be exited, and restore the priority of the target process to the priority when the target process is the normal process.
Optionally, the target process is a touch process.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The present disclosure also provides a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the terminal control method provided by the present disclosure.
Fig. 6 is a block diagram illustrating a terminal control apparatus 800 according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 6, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the terminal control method described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the terminal control methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the terminal control method described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In another exemplary embodiment, a computer program product is also provided, which computer program product comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned terminal control method when being executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A terminal control method, comprising:
monitoring whether a high-power-consumption application in the terminal is started or not in real time;
when the high-power-consumption application is monitored to be started, if the class of the target process is a common process, the class is adjusted to be a real-time process, and the priority of the target process is improved to a first preset priority, so that a new priority is obtained, wherein the high-power-consumption application comprises the target process.
2. The method of claim 1, wherein after the step of increasing the priority of the target process to a first preset priority to obtain a new priority, the method further comprises:
acquiring the latest N running time lengths of the target process;
determining whether to update the new priority according to the latest N running time lengths;
and if the new priority is determined to be updated, the new priority is increased.
3. The method of claim 2, wherein said increasing said new priority comprises:
determining a target level difference value to be improved of the target process;
and increasing the new priority by the target level difference value.
4. The method of claim 2, wherein said increasing the new priority to obtain a new priority comprises:
determining a target level difference value to be improved of the target process;
judging whether the intermediate priority is higher than a second preset priority, wherein the second preset priority is lower than the highest priority of the processes in the terminal, and the intermediate priority is higher than the new priority by the target level difference value;
if the intermediate priority is higher than the second preset priority, the new priority is increased to the second preset priority;
and if the intermediate priority is equal to or lower than the second preset priority, the new priority is increased to the intermediate priority.
5. The method according to claim 4, wherein the method further comprises:
and returning to the step of acquiring the running time of the target process for the last N times until the new priority obtained after the improvement is equal to the second preset priority.
6. The method according to any one of claims 2-5, wherein determining whether to update the new priority based on the last N run lengths comprises:
and if the ratio of the number of the operation time lengths larger than the first preset time length threshold value to N in the latest N operation time lengths is larger than the preset proportion threshold value, determining to update the new priority.
7. The method according to any one of claims 2-5, wherein determining whether to update the new priority based on the last N run lengths comprises:
and if the operation duration greater than a second preset duration threshold exists in the latest N operation durations, determining to update the new priority.
8. The method according to any one of claims 1-5, further comprising:
and when the high-power consumption application is monitored to exit, the class is adjusted to be the common process, and the priority of the target process is restored to be the priority of the common process.
9. The method of any of claims 1-5, wherein the target process is a touch process.
10. A terminal control apparatus, characterized by comprising:
the monitoring module is configured to monitor whether high-power-consumption application is started in the terminal in real time;
and the adjusting module is configured to adjust the category of the target process into a real-time process and improve the priority of the target process to a first preset priority to obtain a new priority when the monitoring module monitors that the high-power-consumption application is started, wherein the high-power-consumption application comprises the target process if the category of the target process is a common process.
11. A terminal control apparatus, characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
monitoring whether a high-power-consumption application in the terminal is started or not in real time;
when the high-power-consumption application is monitored to be started, if the class of the target process is a common process, the class is adjusted to be a real-time process, and the priority of the target process is improved to a first preset priority, so that a new priority is obtained, wherein the high-power-consumption application comprises the target process.
12. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1 to 9.
CN202111248709.XA 2021-10-26 2021-10-26 Terminal control method, device and computer readable storage medium Pending CN116028130A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111248709.XA CN116028130A (en) 2021-10-26 2021-10-26 Terminal control method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111248709.XA CN116028130A (en) 2021-10-26 2021-10-26 Terminal control method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116028130A true CN116028130A (en) 2023-04-28

Family

ID=86073164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111248709.XA Pending CN116028130A (en) 2021-10-26 2021-10-26 Terminal control method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116028130A (en)

Similar Documents

Publication Publication Date Title
CN107608561B (en) Touch screen control method and device
CN106766022B (en) Sensor control method and device
CN107480785B (en) Convolutional neural network training method and device
CN108200279B (en) Backlight adjusting method, device and equipment
EP3379524A1 (en) View angle switching method and apparatus
CN109862169B (en) Electronic equipment control method, device and storage medium
CN110618783B (en) Text broadcasting method, device and medium
CN111880681A (en) Touch screen sampling rate adjusting method and device and computer storage medium
CN108600503B (en) Voice call control method and device
CN105227426B (en) Application interface switching method and device and terminal equipment
CN105786561B (en) Method and device for calling process
CN107682101B (en) Noise detection method and device and electronic equipment
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN109922203B (en) Terminal, screen off method and device
CN111290843A (en) Process management method and device
CN107203315B (en) Click event processing method and device and terminal
CN106775246B (en) Screen brightness adjusting method and device
CN106060104B (en) Application management method and device
CN111722919B (en) Method and device for running background application program, storage medium and electronic equipment
CN116028130A (en) Terminal control method, device and computer readable storage medium
CN108427582B (en) Method and device for determining stuck state and computer readable storage medium
CN107621990B (en) Control method and device of terminal key and terminal
CN112866612A (en) Frame insertion method, device, terminal and computer readable storage medium
CN107979695B (en) Network message receiving method and device and storage medium
CN106648406B (en) Method and device for inputting text information

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