CN117956555A - Method and device for managing processes - Google Patents

Method and device for managing processes Download PDF

Info

Publication number
CN117956555A
CN117956555A CN202211350269.3A CN202211350269A CN117956555A CN 117956555 A CN117956555 A CN 117956555A CN 202211350269 A CN202211350269 A CN 202211350269A CN 117956555 A CN117956555 A CN 117956555A
Authority
CN
China
Prior art keywords
target process
module
terminal equipment
condition
aon
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
CN202211350269.3A
Other languages
Chinese (zh)
Inventor
朱文波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202211350269.3A priority Critical patent/CN117956555A/en
Publication of CN117956555A publication Critical patent/CN117956555A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

A method and device for managing a process are provided, the method includes: acquiring the running state of the terminal equipment; and closing a target process in the terminal equipment system under the condition that the running state meets a first preset condition, and controlling the target process by using an always online AON module. The method in the embodiment of the application is beneficial to reducing the power consumption of the terminal equipment.

Description

Method and device for managing processes
Technical Field
The present application relates to the field of terminals, and more particularly, to a method and apparatus for managing a process.
Background
With rapid development of technology, performance of terminal devices (for example, mobile phones or tablet computers) is continuously improved, and power consumption of the terminal devices is also greatly increased. Therefore, how to reduce the power consumption of the terminal device is a technical problem to be solved.
Disclosure of Invention
The application provides a method and a device for managing a process. Various aspects of embodiments of the application are described below.
In a first aspect, a method of managing a process is provided, comprising: acquiring the running state of the terminal equipment; and closing a target process in the terminal equipment system under the condition that the running state meets a first preset condition, and controlling the target process by using an always online AON module.
In a second aspect, an apparatus for managing a process is provided, comprising: the acquisition unit is used for acquiring the running state of the terminal equipment; and the management unit is used for closing the target process in the terminal equipment system and controlling the target process by using the always online AON module under the condition that the running state meets the first preset condition.
In a third aspect, there is provided an apparatus for managing a process, comprising a memory for storing a program and a processor for invoking the program in the memory to cause the apparatus for managing a process to perform the method according to the first aspect.
In a fourth aspect, there is provided an apparatus for managing a process, comprising a processor for calling a program from a memory to cause the apparatus for managing a process to perform the method of the first aspect.
In a fifth aspect, a chip is provided, comprising a processor for calling a program from a memory, so that a device on which the chip is mounted performs the method of the first aspect.
In a sixth aspect, there is provided a computer-readable storage medium having stored thereon a program that causes a computer to execute the method of the first aspect.
In a seventh aspect, there is provided a computer program product comprising a program for causing a computer to perform the method of the first aspect.
In an eighth aspect, there is provided a computer program for causing a computer to perform the method of the first aspect.
In the embodiment of the application, the running state of the terminal equipment is obtained, and the target process in the terminal equipment system is closed under the condition that the running state meets the first preset condition, so that the power consumption of the terminal equipment is reduced; meanwhile, the AON module is used for controlling the target process, so that the normal use of the corresponding function of the target process can be ensured under the condition of closing the target process, and the user experience can be improved.
Drawings
Fig. 1 is a schematic flow chart of a method of managing a process in an embodiment of the application.
FIG. 2 is a block diagram of a method of managing processes in an embodiment of the application.
Fig. 3 is a schematic flow chart of a method of managing a process in another embodiment of the application.
Fig. 4 is a schematic structural diagram of an apparatus for managing a process in an embodiment of the present application.
Fig. 5 is a schematic structural view of an apparatus in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application.
In order to facilitate an understanding of the application, the application is described in more detail below on the basis of exemplary embodiments in connection with the accompanying drawings. The same or similar reference numbers are used in the drawings to refer to the same or similar modules. It is to be understood that the drawings are merely illustrative and that the scope of the application is not limited thereto.
The terminal device in the embodiment of the present application may be various intelligent devices such as a mobile phone (mobile phone), a tablet (Pad), a notebook, a palm computer, a Mobile Internet Device (MID), a wearable device, a Virtual Reality (VR) device, an augmented reality (augmented reality, AR) device, a device in an unmanned (SELF DRIVING), and a device in a smart home (smart home).
The following describes embodiments of the present application in detail by taking a mobile phone as an example.
In general, most people can put the mobile phone in a standby state when they do not use the mobile phone, and at this time, the power of the mobile phone is often consumed very quickly even if the mobile phone is not operated, and the following reasons are mainly:
1. the background software of the mobile phone runs too much, and the electric quantity is continuously consumed;
2. wireless network (WiFi) or flow data are started, and certain electric quantity is consumed;
3. The battery ages such that the battery capacity decreases.
If the battery has no problem, the background of the mobile phone is continuously consumed, so that the battery consumption is accelerated. In order to save the electric quantity of the mobile phone, the following measures can be taken:
(1) Cleaning background program
In the mobile phone, one piece of software is withdrawn or returned, the software can stay in the background of the mobile phone, some pieces of software can stop running, and some pieces of software can be in a running state even after being withdrawn, and although the running power consumption in the background of the mobile phone is not so large, certain power is still consumed, so that people feel that the power consumption of a battery is overlarge or too fast. Through certain operations (for example, a function button below a screen can be clicked in an Android (Android) system), all running programs in the background of the mobile phone can be displayed on the screen of the mobile phone, and then the corresponding software can be closed by clicking to close (or clear) or sliding up. At this time, after the exiting background program is cleaned up, the software will not silently run in the background of the mobile phone.
(2) Closing application self-starting function
If the self-starting function of the software is started, the software can automatically run, and although the software is more convenient, the mobile phone is blocked, more flow and electric quantity are consumed, the starting speed is reduced, and the like. This function can be turned off if it is desired to save power on the handset.
(3) Setting screen brightness
The method comprises the steps of finding a screen menu in the setting menu of the mobile phone, closing an automatic brightness adjusting option, and then adjusting the brightness of the screen to a moderate degree.
(4) Turning off global positioning system (global positioning system, GPS) services
The GPS service is a positioning function, and the function is needed to be used when a user looks at a map, takes out a spot and the like on the mobile phone at ordinary times, but the GPS service also consumes more electric quantity and flow, and if the positioning service such as the map or the take-out and the like is not used, the GPS can be closed, and the electric quantity of the mobile phone can be saved.
The foregoing is some of the measures taken to save power in the current mobile phone system, but it should be noted that some system level functions (or processes) such as telephony, networking and adb processes cannot be shut down by killing (or shutting down) background processes (because these processes automatically restart after manual shut down to ensure basic use by the user). Therefore, how to reduce the power consumption of the terminal device is a technical problem to be solved.
In order to solve the technical problems, the application provides a method and a device for managing a process, which combine the characteristics of an Always On (AON) module, combine the control of some functions with the running state of terminal equipment, and host the target process of the terminal equipment through the AON module, so that the purposes of saving power consumption and prolonging standby can be realized.
Embodiments of the present application are described in detail below with reference to fig. 1 to 3.
Fig. 1 is a schematic flow chart of a method of managing a process according to an embodiment of the present application. The method 100 shown in fig. 1 may include steps S110 and S120, which are specifically as follows:
s110, acquiring the running state of the terminal equipment.
The operating state may include an amount of power of the terminal device and/or a temperature of the terminal device. Optionally, the operation state may further include other states such as a central processing unit (central processing unit, CPU) usage rate of the terminal device.
For example, the remaining power of the terminal device may be obtained by a power monitoring module in the terminal device; the temperature of the terminal equipment can also be obtained through a temperature monitoring module in the terminal equipment.
It should be noted that, in the embodiment of the present application, the "module", "function" and "process" are not distinguished, and the "module", "function" and "process" may be processes or software running in an operating system (such as the android system or the MAC system (macOS)).
And S120, closing a target process in the terminal equipment system and controlling the target process by using the AON module under the condition that the running state meets the first preset condition.
The first preset condition may include a threshold corresponding to the electric quantity and/or a threshold corresponding to the temperature. For example, the first preset condition includes: 20% (threshold for charge), and/or 60 degrees (threshold for temperature).
The first preset condition may correspond to an operating state. Optionally, in the case that the operation state acquired in S110 includes the electric quantity of the terminal device, the first preset condition may include a threshold corresponding to the electric quantity; in the case that the acquired operation state includes a temperature of the terminal device, the first preset condition may include a threshold value corresponding to the temperature.
The above system may refer to an operating system in the terminal device. For example, the operating system may be an android system or a MAC system.
Alternatively, the target process in the terminal device system may refer to: processes running in the operating system (in the terminal device).
Alternatively, an Always On (AON) module may be a process in the system. The AON module may also be referred to as an AON function, which is not limited in this disclosure.
In the embodiment of the application, the running state of the terminal equipment is obtained, and the target process in the terminal equipment system is closed under the condition that the running state meets the first preset condition, so that the power consumption of the terminal equipment is reduced; meanwhile, the AON module is used for controlling the target process, so that the normal use of the corresponding function of the target process can be ensured under the condition of closing the target process, and the user experience can be improved.
The AON module may have one or more of the following characteristics: the AON module has lower power consumption; the AON module can always run in the background; unlike a Camera (Camera) process in the system, the AON module may call a Camera of the terminal device to capture a low frame rate image, and the AON module may not process the captured low frame rate image, so the AON module may complete capturing only with lower power consumption.
Based on the above characteristics, compared with the operation of the target process in the terminal device system, the AON module is used for controlling the target process to consume lower power consumption, so that the power consumption of the terminal device can be reduced.
Optionally, controlling the target process using the AON module may include: acquiring a gesture instruction of a user under the condition that terminal equipment is stopped; and controlling the target process through the AON module based on the gesture instruction.
Wherein controlling the target process may include: start (or pull) the target process, and/or operate on the target process.
For example, in the case of a mobile phone screen-off, the AON module may obtain a gesture instruction of a user through the camera, and control a target process based on the gesture instruction. Thus, the target process can be controlled without lighting the screen under the condition of screen-off, and therefore, the power consumption of the terminal device can be reduced.
In some embodiments, the gesture instructions may directly correspond to the target process.
Alternatively, the gesture instructions may be used to launch the target process, or (after launch) operate the target process.
For example, in the case of a mobile phone screen-off, the AON module may obtain a gesture instruction of a user through the camera, where the gesture instruction may be used to start a target process, and the AON module may start the target process based on the gesture instruction.
In some embodiments, the gesture instructions may also correspond to a voice recognition module in the terminal device.
Optionally, the gesture instructions may be used to activate a speech recognition module.
For example, a voice recognition module in a mobile phone can be started based on gesture instructions; then, under the condition that the terminal equipment is on the screen, the voice command of the user can be acquired through the voice recognition module, and the target process is controlled based on the voice command. Compared with gesture instructions, the intention of the user can be more accurately expressed through the voice instructions, so that the voice recognition module is more convenient for the user to control the target process, and the user experience can be improved.
Alternatively, the target process may correspond to a first level, which may be one of a plurality of levels, and the first level corresponds to a first preset condition.
For example, as shown in table 1 below, the terminal device may include a plurality of processes, and the plurality of processes may be divided into several levels below. The target process may be a camera (or a process corresponding to a camera), and the first level may be level 2 in table 1.
TABLE 1 Process grouping Table
Alternatively, the preset condition corresponding to each of the plurality of levels may be different. For example, taking the running state as the electric quantity as an example, the preset condition corresponding to the 0 th level in table 1 may be 30% of the electric quantity, the preset condition corresponding to the 1 st level may be 20% of the electric quantity, and the preset condition corresponding to the 2 nd level may be 10% of the electric quantity.
Thus, when the preset condition corresponding to a certain level is met, the process corresponding to the level can be closed, and the AON module is used for controlling the processes.
In some embodiments, in a case where the running state meets the second preset condition, the frame rate of the AON module may be subjected to frame dropping processing. The frame rate of the AON module may be reduced by: and reducing the frame rate of the low-frame-rate image shot by the AON module through the camera.
For example, under the condition that the electric quantity of the mobile phone is normal, the frame rate of the low-frame-rate image shot by the AON module through the camera is 8 frames per second, and under the condition that the second preset condition is met, the frame rate of the low-frame-rate image shot by the AON module through the camera is 6 frames per second.
Alternatively, the second preset condition may be greater than or equal to the first preset condition. For example, the first preset condition may have an electric quantity of 20% and the second preset condition may have an electric quantity of 40%, and at this time, when the electric quantity of the mobile phone is lower than 40%, frame rate of the AON module is reduced; and when the electric quantity of the mobile phone is lower than 20%, closing the target process, and controlling the target process by using the AON module.
In some embodiments, the target process may be started in the system if the running state satisfies a third preset condition. Alternatively, the hosting of the target process by the AON module may be ended or stopped while the target process is started in the system (i.e., the AON module is no longer used to control the target process). For example, the third preset condition may be 50% of the electric quantity, that is, when the electric quantity of the mobile phone is greater than or equal to 50%, the AON module is stopped to control the target process, and the target process is restarted in the system of the mobile phone.
Alternatively, the third preset condition may be the same as the first preset condition. For example, the third preset condition and the first preset condition may be both 20% of electric quantity, and when the electric quantity of the mobile phone is lower than 20%, the target process is closed, and the AON module is used to control the target process; and stopping the control of the AON module on the target process when the electric quantity of the mobile phone is greater than or equal to 20%, and restarting the target process in a system of the mobile phone.
In the embodiment of the application, when the electric quantity of the terminal equipment is low, a plurality of relatively important application processes are closed in the background, and the processes are hosted to the AON module for control, so that the terminal equipment can wake up in an AON gesture recognition mode when a user needs to use the terminal equipment, and the purposes of saving power consumption and prolonging endurance can be achieved.
An embodiment of the present application will be described in detail with reference to fig. 3 by taking a mobile phone as an example.
Fig. 3 is a schematic flow chart of a method of managing a process according to an embodiment of the present application. The method 300 shown in fig. 3 may include steps S310, S320 and S330, which are specifically as follows:
s310, the AON module is normally open.
The mobile phone works normally, and the AON module is kept to run continuously.
S311, monitoring the electric quantity of the mobile phone.
For example, as shown in fig. 2, the power monitoring module in the Android system can continuously monitor the remaining power of the mobile phone.
The AON module and the mobile phone electric quantity monitoring module belong to normally open modules, and can monitor user behaviors and mobile phone electric quantity in real time.
S312, judging whether the electric quantity is low.
When the mobile phone power is low to a certain extent, all application processes in the background are closed (e.g. tremble, fast hand, head bar, etc. corresponding to level 0 in table 1).
And if the electric quantity of the mobile phone is continuously reduced, triggering the Android system to call the hosting module, and identifying the current background running process information according to a set grading strategy (the grading principle is shown in table 1).
S313, process hosting.
And after the electric quantity is reduced to a certain value, identifying and closing part of system processes running in the background at present (grading the system and closing according to grading results), and simultaneously, hosting the wake-up control of the closed processes to the AON module. For example, as shown in fig. 2, the Android system may send a hosting trigger instruction to the process hosting module to control the AON module to host the closed process.
The selection of hosted processes (which ones to shut down, which ones to host) may be made according to a preset process hierarchy (e.g., table 1 above) rather than a random selection. For example, as shown in fig. 2, the process hosting module may select, in the process set, a process that needs to be hosted according to a preset process hierarchy table.
The determination principle of the process classification can be determined according to the influence degree of the functions of the mobile phone. For example, calls, traffic data, wiFi, voice assistant may be a level; taking some system-level processes such as camera processes, bluetooth processes, adb processes and the like as a second level; some processes (the third level which can affect the normal operation of the Android system) which are more core; the shutdown and escrow process may be performed for the first and second levels, and the core process for the third level needs to remain running normally.
Therefore, when the electric quantity changes, the AON module can directly perform corresponding processing according to the process classification.
S314, gesture recognition.
When the user needs to use the hosted function, a specific wake-up gesture is given to wake up the voice recognition module, and the corresponding process is wake-up and activated in a voice mode.
S315, judging the gesture.
And judging whether the gesture is a gesture corresponding to the user awakening the voice recognition module (corresponding progress). If yes, the voice recognition module is awakened.
S316, pulling up the process.
The speech recognition module (corresponding process) is pulled up.
S317, voice recognition.
The voice of the user is recognized by the voice recognition module.
S318, voice control.
When certain operations need to be performed by using the mobile phone, corresponding control or operations can be performed according to the recognition result of the voice recognition module.
For example, the dialing function of the mobile phone can directly close the corresponding background process, when the mobile phone needs to be used, the voice recognition module is directly awakened by a specific gesture, and voice is recognized by the voice recognition module (at this time, the user can directly dial in a voice manner without lighting a screen). Therefore, continuous consumption of electric quantity of the system caused by background processes and screen lighting can be avoided under a low-electric-quantity scene, and the duration of the mobile phone is prolonged.
S319, judging whether the process use is completed.
S320, closing the program in the background.
When the process is completed, the corresponding program can be closed in the background of the system.
S321, judging whether the electric quantity is recovered to a normal value.
S322, the normal use state of the process is recovered.
And stopping hosting when the electric quantity of the mobile phone is recovered to be above the hosting threshold value, starting the process which is originally closed again and recovering the process to be in the original running state. At this time, the mobile phone can be used normally.
In the application, the hosting of the process (hosting to the AON for control) can be only manually restored once the process occurs, and the process can be uniformly regulated in real time by a system (for example, an Android system) according to the conversion of the electric quantity, namely, the background process is closed when the electric quantity is low, the hosting is performed by the AON module, and the original operation mode is restored when the electric quantity is restored to a certain value.
The switching threshold (such as the power threshold) can be optionally set in advance by the user. For example, the user may set the power to drop to 10% and begin hosting.
In the embodiment of the application, through the real-time monitoring of the system on the mobile phone electric quantity, when the electric quantity is reduced to a certain degree, different closing and hosting processes can be carried out on the background process according to a preset process grading strategy. When the gesture recognition device is needed to be used, the use requirement is determined through the recognition of the gesture by the AON module, and then the voice recognition module is pulled up. The user can control the process in a voice mode, and the screen is not required to be lightened for touch screen operation. Therefore, the power consumption of the mobile phone can be better saved, and the power consumption of the mobile phone is reduced; when the electric quantity of the mobile phone is too low and the charging is inconvenient, the cruising time of the mobile phone can be well prolonged, and the phenomenon that the mobile phone is suddenly turned off to influence the use of a user due to the rapid electric quantity consumption is avoided.
The method embodiment of the present application is described in detail above with reference to fig. 1 to 3, and the apparatus embodiment of the present application is described in detail below with reference to fig. 4 and 5. It is to be understood that the description of the method embodiments corresponds to the description of the device embodiments, and that parts not described in detail can therefore be seen in the preceding method embodiments.
Fig. 4 is a schematic structural diagram of an apparatus for managing a process according to an embodiment of the present application. As shown in fig. 4, the apparatus 400 includes an acquisition unit 410 and a management unit 420, which are specifically as follows:
an acquiring unit 410, configured to acquire an operation state of the terminal device;
And the management unit 420 is configured to close a target process in the terminal device system and control the target process by using an always online AON module when the running state meets a first preset condition.
Optionally, the management unit 420 is specifically configured to: acquiring a gesture instruction of a user under the condition that the terminal equipment is in a screen; and controlling the target process through the AON module based on the gesture instruction.
Optionally, the gesture instruction corresponds to the target process.
Optionally, the gesture instruction corresponds to a voice recognition module in the terminal device, and the management unit 420 is specifically configured to: starting the voice recognition module based on the gesture instruction; under the condition that the terminal equipment is on the screen, acquiring a voice instruction of a user through the voice recognition module; and controlling the target process based on the voice instruction.
Optionally, the target process corresponds to a first level, where the first level is one of multiple levels, and the first level corresponds to the first preset condition.
Optionally, the apparatus further comprises a processing unit 430 for: and under the condition that the running state meets a second preset condition, carrying out frame dropping processing on the frame rate of the AON module in the terminal equipment.
Optionally, the operation state includes an amount of power of the terminal device and/or a temperature of the terminal device.
Optionally, the apparatus further comprises a processing unit 430: and under the condition that the running state meets a third preset condition, starting the target process in the system.
Fig. 5 is a schematic structural view of an apparatus provided in an embodiment of the present application. The dashed lines in fig. 5 indicate that the unit or module is optional. The apparatus 500 may be used to implement the methods described in the method embodiments above. The device 500 may be a chip or a device that manages processes.
The apparatus 500 may include one or more processors 510. The processor 510 may support the apparatus 500 to implement the methods described in the method embodiments above. The processor 510 may be a general purpose processor or a special purpose processor. For example, the processor may be a central processing unit (central processing unit, CPU). Or the processor may be another general purpose processor, a digital signal processor (DIGITAL SIGNAL processor), an Application SPECIFIC INTEGRATED Circuit (ASIC), an off-the-shelf programmable gate array (field programmable GATE ARRAY, FPGA) or other programmable logic device, a discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The apparatus 500 may also include one or more memories 520. The memory 520 has stored thereon a program that is executable by the processor 510 to cause the processor 510 to perform the method described in the method embodiments above. The memory 520 may be separate from the processor 510 or may be integrated within the processor 510.
The apparatus 500 may also include a transceiver 530. The processor 510 may communicate with other devices or chips through the transceiver 530. For example, the processor 510 may transmit and receive data to and from other devices or chips through the transceiver 530.
The embodiment of the application also provides a computer readable storage medium for storing a program. The computer-readable storage medium is applicable to the apparatus for managing a process provided by the embodiments of the present application, and the program causes a computer to execute the method performed by the apparatus for managing a process in the respective embodiments of the present application.
The embodiment of the application also provides a computer program product. The computer program product includes a program. The computer program product may be applied to an apparatus for managing a process provided in an embodiment of the present application, and the program causes a computer to execute a method executed by the apparatus for managing a process in each embodiment of the present application.
The embodiment of the application also provides a computer program. The computer program is applicable to the apparatus for managing a process provided by the embodiments of the present application, and causes a computer to execute the method performed by the apparatus for managing a process in the respective embodiments of the present application.
It should be understood that in embodiments of the present application, "B corresponding to a" means that B is associated with a, from which B may be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may also determine B from a and/or other information.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be read by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital versatile disk (digital video disc, DVD)), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A method of managing a process, comprising:
Acquiring the running state of the terminal equipment;
and closing a target process in the terminal equipment system under the condition that the running state meets a first preset condition, and controlling the target process by using an always online AON module.
2. The method of claim 1, wherein the controlling the target process using an always online AON module comprises:
acquiring a gesture instruction of a user under the condition that the terminal equipment is in a screen;
and controlling the target process through the AON module based on the gesture instruction.
3. The method of claim 2, wherein the gesture instruction corresponds to the target process.
4. The method of claim 2, wherein the gesture command corresponds to a voice recognition module in the terminal device, and wherein controlling the target process by the AON module based on the gesture command comprises:
Starting the voice recognition module based on the gesture instruction;
Under the condition that the terminal equipment is on the screen, acquiring a voice instruction of a user through the voice recognition module;
And controlling the target process based on the voice instruction.
5. The method of any one of claims 1 to 4, wherein the target process corresponds to a first level, the first level being one of a plurality of levels, the first level corresponding to the first preset condition.
6. The method according to any one of claims 1 to 5, further comprising:
And under the condition that the running state meets a second preset condition, carrying out frame dropping processing on the frame rate of the AON module in the terminal equipment.
7. Method according to any of claims 1 to 6, characterized in that the operating state comprises the power of the terminal device and/or the temperature of the terminal device.
8. The method according to any one of claims 1 to 7, further comprising:
And under the condition that the running state meets a third preset condition, starting the target process in the system.
9. An apparatus for managing a process, comprising:
the acquisition unit is used for acquiring the running state of the terminal equipment;
and the management unit is used for closing the target process in the terminal equipment system and controlling the target process by using the always online AON module under the condition that the running state meets the first preset condition.
10. An apparatus for managing processes, comprising a memory for storing a program and a processor for invoking the program in the memory to perform the method of any of claims 1 to 8.
11. A chip comprising a processor for calling a program from a memory, causing a device on which the chip is mounted to perform the method of any one of claims 1 to 8.
12. A computer-readable storage medium, characterized in that a program is stored thereon, which program causes a computer to execute the method according to any one of claims 1 to 8.
13. A computer program product comprising a program for causing a computer to perform the method of any one of claims 1 to 8.
14. A computer program, characterized in that the computer program causes a computer to perform the method according to any one of claims 1 to 8.
CN202211350269.3A 2022-10-31 2022-10-31 Method and device for managing processes Pending CN117956555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211350269.3A CN117956555A (en) 2022-10-31 2022-10-31 Method and device for managing processes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211350269.3A CN117956555A (en) 2022-10-31 2022-10-31 Method and device for managing processes

Publications (1)

Publication Number Publication Date
CN117956555A true CN117956555A (en) 2024-04-30

Family

ID=90793392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211350269.3A Pending CN117956555A (en) 2022-10-31 2022-10-31 Method and device for managing processes

Country Status (1)

Country Link
CN (1) CN117956555A (en)

Similar Documents

Publication Publication Date Title
WO2017129082A1 (en) Terminal control method and terminal
CN107783803B (en) System optimization method and device of intelligent terminal, storage medium and intelligent terminal
CN105955766A (en) Method and device for application preloading
US20180227506A1 (en) Method for providing image, electronic device, and storage medium
RU2643516C2 (en) Method and device for controlling power consumption
CN109254849B (en) Application program running method and device
CN106534562B (en) File deletion method and device
CN113778663B (en) Scheduling method of multi-core processor and electronic equipment
CN111240817B (en) Resource scheduling method, resource scheduling device and storage medium
CN107783790B (en) Terminal awakening method and device
WO2023083132A1 (en) Photographing method and apparatus, and electronic device and readable storage medium
CN114595785B (en) Model training method and device, electronic equipment and storage medium
CN115576645A (en) Virtual processor scheduling method and device, storage medium and electronic equipment
CN108966010B (en) Method and device for adjusting resolution of online video, storage medium and terminal
CN107153621B (en) Equipment identification method and device
CN112947739A (en) Terminal application program management method and device, terminal and storage medium
US20240137870A1 (en) Power Consumption Control Method and Apparatus
CN107766218A (en) system optimization method, device, storage medium and terminal device
CN117956555A (en) Method and device for managing processes
CN112701736A (en) Charging method, charging device, electronic device and storage medium
CN116700816A (en) Resource management method and electronic equipment
CN109189198A (en) Image display method, device, terminal and storage medium
CN111901482B (en) Function control method and device, electronic equipment and readable storage medium
CN111880912A (en) Method and device for controlling electronic equipment and electronic equipment
CN114253385A (en) Power consumption management method and device of mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination