CN116501162A - Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment - Google Patents
Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment Download PDFInfo
- Publication number
- CN116501162A CN116501162A CN202310460613.2A CN202310460613A CN116501162A CN 116501162 A CN116501162 A CN 116501162A CN 202310460613 A CN202310460613 A CN 202310460613A CN 116501162 A CN116501162 A CN 116501162A
- Authority
- CN
- China
- Prior art keywords
- program
- running
- notebook
- current
- background
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 206
- 230000006870 function Effects 0.000 claims description 34
- 230000026676 system process Effects 0.000 claims description 10
- 230000009191 jumping Effects 0.000 claims description 6
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 229910001020 Au alloy Inorganic materials 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000003353 gold alloy Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The application discloses a method and a device for automatically adjusting power consumption of an intelligent notebook, which are characterized in that information of a current running process of the intelligent notebook is obtained, wherein the current running process comprises a foreground program and a background program; acquiring information of a current use process of the intelligent notebook; based on the current using process information, the running states of the foreground program and the background program are adjusted so as to reduce the power consumption of the intelligent notebook, solve the problems of serious power consumption and large program duty memory of the existing notebook, effectively reduce the power consumption of the notebook and improve the running speed of the notebook.
Description
Technical Field
The application relates to the technical field of computers, in particular to an automatic power consumption adjustment method and device for an intelligent notebook and electronic equipment.
Background
Notebook computer, also called "portable computer, or laptop" for short, features small body. Is convenient to carry compared with a desktop computer, and is small and portable. With the age that the volume is smaller, the weight is lighter and the function is stronger. But the problem with notebooks is also followed.
At present, with the rapid development of electronic products, the hardware performance of the electronic products is greatly improved, but the existing notebook computer has serious power consumption, and with the development and updating of various application programs, the various application programs occupy more operation resources of the notebook computer, and the power consumption of the notebook computer is increased.
Disclosure of Invention
The embodiment of the application provides a method and a device for automatically adjusting power consumption of an intelligent notebook, so as to effectively solve the problem of serious power consumption of the existing notebook.
In a first aspect, the present application provides a method for automatically adjusting power consumption of an intelligent notebook, including:
acquiring information of a current running process of the intelligent notebook, wherein the current running process comprises a foreground program and a background program;
acquiring information of a current use process of the intelligent notebook;
and adjusting the running states of the foreground program and the background program based on the information of the current using process so as to reduce the power consumption of the intelligent notebook.
In some embodiments, the obtaining information of the current running process of the smart notebook includes:
acquiring information of a current running process of the intelligent notebook through a checking task manager; or (b)
And acquiring the information of the current running process of the intelligent notebook by checking the running code or the code to be run in the running memory of the intelligent notebook.
In some embodiments, the obtaining information of the current usage process of the smart notebook includes:
the obtaining the information of the current use process of the intelligent notebook comprises the following steps:
acquiring information of a current use process of the intelligent notebook by acquiring a current working page of the intelligent notebook; or (b)
And acquiring information of the current using process of the intelligent notebook by checking running codes in the running memory of the intelligent notebook.
In some embodiments, the information of the current running process includes a running time of a foreground program and a running time of a background program;
the adjusting the running states of the foreground program and the background program based on the information of the current using process comprises the following steps:
if the running time of the foreground program exceeds a first preset time and the foreground program is not switched to a current use process, closing the foreground program;
if the running time of the background process exceeds the second preset time, the background process is not switched to the current use process, and the background process is not a system process, and the background program is closed.
In some embodiments, if the running time of the foreground program exceeds a first preset time and the foreground program is not switched to a current use process, closing the foreground program, and further including:
storing a closed running record of the foreground program, wherein the running record of the foreground program comprises a foreground program brief introduction and links capable of jumping to different running nodes of the foreground program;
if the running time of the background process exceeds a second preset time, the background process is not switched to the current use process, and the background process is not a system process, closing the background program, and further comprising:
storing a closed running record of the background program, wherein the running record of the background program comprises a background program brief introduction and links capable of jumping to different running nodes of the background program;
and displaying the running record of the foreground program and the running record of the background program on the screen of the intelligent notebook in a floating window mode.
In some embodiments, the adjusting the running states of the foreground program and the background program based on the information of the current usage process further includes:
acquiring the use frequency of each functional module in the current use process in a first preset period, and sequencing the functional modules based on the use frequency;
acquiring information of a current use function module of the current use process;
and if the functional module is not the current functional module, and the ranking of the functional module is smaller than the first ranking threshold value, closing the functional module.
In some embodiments, the method for automatically adjusting power consumption of the smart notebook further includes:
acquiring a working state of the intelligent notebook in a second preset period, wherein the working state comprises an unmanned state and a network demand state;
if the intelligent notebook computer is detected to be in an unmanned state, the intelligent notebook computer is dormant;
and if the intelligent notebook computer is detected to be in a network demand-free state, disconnecting the network connection of the intelligent notebook computer.
In some embodiments, if the smart notebook is detected to be in an unmanned state, the method further includes:
disconnecting the network connection of the notebook;
and if the intelligent notebook computer is detected to be awakened, automatically connecting a network.
In a second aspect, the present application provides an intelligent notebook automatic power consumption adjustment device, including:
the program acquisition module acquires information of a current running process of the intelligent notebook, wherein the current running process comprises a foreground program and a background program; acquiring information of a current use process of the intelligent notebook;
and the program adjusting module is used for adjusting the running states of the foreground program and the background program based on the information of the current using process so as to reduce the power consumption of the intelligent notebook.
In a third aspect, the present application provides an electronic device, including:
a processor and a memory;
the processor is configured to perform the steps of the method according to any of the embodiments of the first aspect by invoking a program or instruction stored in the memory.
The application provides a method and a device for automatically adjusting power consumption of an intelligent notebook, which are characterized in that information of a current running process of the intelligent notebook is obtained, wherein the current running process comprises a foreground program and a background program; acquiring information of a current use process of the intelligent notebook; based on the current using process information, the running states of the foreground program and the background program are adjusted so as to reduce the power consumption of the intelligent notebook, solve the problems of serious power consumption and large program duty memory of the existing notebook, effectively reduce the power consumption of the notebook and improve the running speed of the notebook.
Drawings
Technical solutions and other advantageous effects of the present application will be made apparent from the following detailed description of specific embodiments of the present application with reference to the accompanying drawings.
FIG. 1a is a flowchart of a method for automatically adjusting power consumption of a smart notebook according to an embodiment of the present disclosure;
FIG. 1b is a flowchart of a method for automatically adjusting power consumption of a smart notebook according to another embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an apparatus for automatically adjusting power consumption of a smart notebook according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only the portions related to the invention are shown in the drawings.
It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
The electronic product is widely used in the working, learning and living processes, generally, people generally consider that the computer belongs to a low-power-consumption product, generally, the power consumption of the computer is within 150W (the power consumption is simply the amount of electricity consumption, namely the power, the symbol is W), however, the power consumption of the notebook is not constant and is influenced by a plurality of factors, such as excessive running programs, greatly increased CPU use and further increased power consumption; forgetting to turn off the notebook when the user leaves the notebook increases the power consumption of the notebook.
In view of the above technical problems, as shown in fig. 1a, this embodiment provides a method for automatically adjusting power consumption of an intelligent notebook, including:
s101: acquiring information of a current running process of the intelligent notebook, wherein the current running process comprises a foreground program and a background program;
it should be noted that, except for the individual settings (such as brightness and volume) of the notebook computer, the main reason why the power consumption of the notebook computer is increased is that the programs running on the notebook computer are too many and too large, and if the power consumption of the notebook computer is to be reduced, the current running process of the notebook computer needs to be obtained first, where the current running process is the current running process of the notebook computer.
In order to reduce the power consumption of the notebook computer, not only the foreground program but also the background program running in the background are required to be acquired, so that the current running program of the notebook computer is adjusted.
In some embodiments, the obtaining information of the current running process of the smart notebook includes: acquiring information of a current running process of the intelligent notebook through a checking task manager; or obtaining the information of the current running process of the intelligent notebook by checking the running code or the code to be run in the running memory of the intelligent notebook.
It should be noted that, an automatic checking task manager may be set to obtain information of a current running process of the intelligent notebook, where the automatic checking may be set to be real-time checking, or may be set to be interval checking, for example, 1min and 2min, and codes in an running memory of the notebook may also be checked by setting a program or a script to obtain information of the current running process of the intelligent notebook, where the foreground program may have QQ, weChat, drawing software, and the like, and the background program may have a part of functional modules of the drawing software, a remote control service, and the like.
S102: acquiring information of a current use process of the intelligent notebook;
in some embodiments, the obtaining information of the current usage process of the smart notebook includes: acquiring information of a current use process of the intelligent notebook by acquiring a current working page of the intelligent notebook; or obtaining the information of the current using process of the intelligent notebook by looking up the running codes in the running memory of the intelligent notebook.
It should be noted that, the current use process is a process that the user is using, and at the same time, a plurality of programs may be running on the notebook computer of the user, but only one program is generally used by the user, for example, a web browser, a video player and office software are opened on the notebook computer of the user at the same time, but only office software is used by the program that the user is using, and other programs are not programs that are being used.
It should be noted that, the current working page of the intelligent notebook may be obtained by means of screen capturing and then image recognition, so as to obtain the current use process of the intelligent notebook; and a program or script can be set to check running codes in the running memory of the intelligent notebook, so that the information of the current using process of the intelligent notebook can be obtained.
S103: and adjusting the running states of the foreground program and the background program based on the information of the current using process so as to reduce the power consumption of the intelligent notebook.
After the information of the current running process and the information of the current using process are obtained, the foreground program and the background program which are not currently used and running can be closed or dormant according to the information of the current using process, so that the purpose of reducing the power consumption of a CPU is achieved, the power consumption of the CPU is reduced, the rotating speed of an intelligent notebook fan is reduced, and the power consumption of the notebook is further reduced.
In some embodiments, the information of the current running process includes a running time of a foreground program and a running time of a background program; the adjusting the running states of the foreground program and the background program based on the information of the current using process comprises the following steps: if the running time of the foreground program exceeds a first preset time and the foreground program is not switched to a current use process, closing the foreground program; if the running time of the background process exceeds the second preset time, the background process is not switched to the current use process, and the background process is not a system process, and the background program is closed.
It should be noted that, when using a notebook computer, a user usually opens multiple processes at the same time to perform different operations, such as opening a web browser to search information, opening WORD to perform office, opening translation software to perform translation, opening SolidWorks to draw, opening a video player to watch video, etc., usually, the user mainly uses one or two processes, while other processes only temporarily search information or view data, after using, the user switches back to the process mainly used, while other processes are not closed, if the user is working with WORD, during which several terms are not clearly defined, then opening the browser to search, after finishing searching, switching back to WORD to continue editing, but the open browser is not closed, while the non-closed browser occupies the running memory and the running resources of the CPU, increasing the power consumption of the computer, and therefore, the user needs to close the computer.
It should be noted that, in order to avoid the inconvenience of user use caused by an incorrect shutdown process, before the shutdown process, it is required to determine that the foreground program is not used any more in the current period if the foreground program is not switched to the current use process in the first preset time, and the foreground process is normally considered to be not used any more in the current period and can be shutdown; if the background process is not switched to the current use process within the second preset time, the background process is considered to be not used any more in the current time period, the background process can be closed, whether the background process is a system process or not is also needed to be judged when the background process is judged, and if the background process is not the system process, the background process can be closed. The first preset time may be 5min, 10min, etc., and the second preset time may be the same as the first preset time.
In some embodiments, if the running time of the foreground program exceeds a first preset time and the foreground program is not switched to a current use process, closing the foreground program, and further including: storing a closed running record of the foreground program, wherein the running record of the foreground program comprises a foreground program brief introduction and links capable of jumping to different running nodes of the foreground program; if the running time of the background process exceeds a second preset time, the background process is not switched to the current use process, and the background process is not a system process, closing the background program, and further comprising: storing a closed running record of the background program, wherein the running record of the background program comprises a background program brief introduction and links capable of jumping to different running nodes of the background program; and displaying the running record of the foreground program and the running record of the background program on the screen of the intelligent notebook in a floating window mode.
It should be noted that, the foreground program or the background program opened by the user may be reused in a certain time, or the running record of the foreground program and the running record of the background program that are closed may be saved for the user to view, and meanwhile, in order to avoid the user frequently switching pages to open different processes, the running record of the foreground program and the running record of the background program are displayed on the screen of the user in a form of a floating window, so that when the user clicks the floating window, the running record of the foreground program and the running record of the background program may be popped up, and the user may directly click the links of different running nodes of the corresponding program to directly jump to the corresponding nodes of the corresponding program.
In some embodiments, the adjusting the running states of the foreground program and the background program based on the information of the current usage process further includes: acquiring the use frequency of each functional module in the current use process in a first preset period, and sequencing the functional modules based on the use frequency; acquiring information of a current use function module of the current use process; and if the functional module is not the current functional module, and the ranking of the functional module is smaller than the first ranking threshold value, closing the functional module.
It should be noted that, because new functions are continuously added into the program by the current program developer, the current program is larger and occupies higher memory, and when the user uses the program, only some functions in the program are usually used, but other functions are rarely used, but the functions which are not used by the user in the program are also used, so that the power consumption of the computer is increased, for example, when a mechanical engineer uses SolidWorks, only a mechanical drawing part is usually used, and less functional modules for rendering, measuring, electrical design and simulation are used, but the modules are also operated, so that the power consumption of the computer is increased, and the operation speed of the computer is slowed down, so that the functional modules are required to be adjusted.
It should be noted that, in order to adjust the function modules, it is necessary to determine which function modules commonly used by a user in the current use process are first, so that the use frequency of each function module in the current use process in a first preset period may be obtained, and the function modules may be ordered based on the use frequency, where the first preset period may be one week, two weeks, etc., and the order is usually performed according to the use frequency from high to low, after the order is obtained, information of the current use function module in the current use process is obtained, and if the function module is not the current use function module, and the order of the function module is smaller than a first order threshold, the function module is closed, so as to achieve the effects of reducing power consumption of a computer and increasing the running speed of the computer, where the user may set the first order threshold, such as 5 and 10; the function module which is not frequently used can also be closed based on the use frequency, and if the use frequency is less than 20 times/month, the function module is closed.
It should be noted that, in consideration of different demands for use of the program in different stages of the user, the frequency of use of each functional module in the current use process in the first preset period of time may be obtained, and the updated time interval may be set for the operation of sorting the functional modules based on the frequency of use, for example, one week or two weeks, so as to meet the use demands of the user.
In some embodiments, the method for automatically adjusting power consumption of the smart notebook further includes: acquiring a working state of the intelligent notebook in a second preset period, wherein the working state comprises an unmanned state and a network demand state; if the intelligent notebook computer is detected to be in an unmanned state, the intelligent notebook computer is dormant; and if the intelligent notebook computer is detected to be in a network demand-free state, disconnecting the network connection of the intelligent notebook computer.
In some embodiments, if the smart notebook is detected to be in an unmanned state, the method further includes: disconnecting the network connection of the notebook; and if the intelligent notebook computer is detected to be awakened, automatically connecting a network.
It should be noted that, when the user uses the notebook, the user may leave temporarily, but the notebook is not closed, so that the information about whether the user is using the notebook can be obtained through the camera at this time, and if the user is not using the notebook, the user can sleep the notebook, so as to reduce the power consumption.
It should be noted that, users often play games or watch movies offline, so it is possible to detect whether the intelligent notebook has network requirements, and disconnect the network if no network connection is needed, so as to reduce power consumption, or close the firewall of the intelligent notebook after disconnecting the network connection, so as to further reduce power consumption.
In summary, the present embodiment provides a method for automatically adjusting power consumption of an intelligent notebook, by obtaining information of a current running process of the intelligent notebook, where the current running process includes a foreground program and a background program; acquiring information of a current use process of the intelligent notebook; based on the current using process information, the running states of the foreground program and the background program are adjusted so as to reduce the power consumption of the intelligent notebook, solve the problems of serious power consumption and large program duty memory of the existing notebook, effectively reduce the power consumption of the notebook and improve the running speed of the notebook.
As shown in fig. 1b, this embodiment further provides a method for automatically adjusting power consumption of an intelligent notebook, including:
s201: acquiring the information of the current use process;
it should be noted that, the current use process is a process that the user is using, and at the same time, a plurality of programs may be running on the notebook computer of the user, but only one program is generally used by the user, for example, a web browser, a video player and office software are opened on the notebook computer of the user at the same time, but only office software is used by the program that the user is using, and other programs are not programs that are being used.
S202: acquiring the running time of the foreground program;
s203: whether the foreground program is switched to the current use process or not;
s2031: closing the foreground program;
it should be noted that, when using a notebook computer, a user usually opens multiple processes at the same time to perform different operations, such as opening a web browser to search information, opening WORD to perform office, opening translation software to perform translation, opening SolidWorks to draw, opening a video player to watch video, etc., usually, the user mainly uses one or two processes, while other processes only temporarily search information or view data, after using, the user switches back to the process mainly used, while other processes are not closed, if the user is working with WORD, during which several terms are not clearly defined, then opening the browser to search, after finishing searching, switching back to WORD to continue editing, but the open browser is not closed, while the non-closed browser occupies the running memory and the running resources of the CPU, increasing the power consumption of the computer, and therefore, the user needs to close the computer.
It should be noted that, in order to avoid the inconvenience of user use caused by an incorrect shutdown process, it is necessary to determine the shutdown process before the shutdown process, and generally if the foreground program is not switched to the current use process within the first preset time, the foreground process is considered to be not used any more within the current time period, and may be shutdown.
S204: acquiring the use frequency of each functional module in the current use process in a first preset period, and sequencing the functional modules based on the use frequency;
s205: the function module is not the current function module, and the ranking of the function module is smaller than a first ranking threshold;
s206: closing the functional module;
it should be noted that, in order to adjust the function modules, it is necessary to determine which function modules commonly used by a user in the current use process are first, so that the use frequency of each function module in the current use process in a first preset period may be obtained, and the function modules may be ordered based on the use frequency, where the first preset period may be one week, two weeks, etc., and the order is usually performed according to the use frequency from high to low, after the order is obtained, information of the current use function module in the current use process is obtained, and if the function module is not the current use function module, and the order of the function module is smaller than a first order threshold, the function module is closed, so as to achieve the effects of reducing power consumption of a computer and increasing the running speed of the computer, where the user may set the first order threshold, such as 5 and 10; the function module which is not frequently used can also be closed based on the use frequency, and if the use frequency is less than 20 times/month, the function module is closed.
S207: acquiring the running time of the background program;
s208: whether the background program is switched to the current use process or not;
s2081: closing the background program
It should be noted that, in order to avoid the inconvenience of user use caused by the wrong shutdown process, the shutdown process needs to be judged before, if the background process is not switched to the current use process within the second preset time, the background process is considered to be not used any more in the current time period, the background process can be shut down, and if the background process is not the system process, the background process can be shut down only if the background process is judged to be the system process. The first preset time may be 5min, 10min, etc., and the second preset time may be the same as the first preset time.
S209: storing the running record of the closed foreground program and the running record of the background program;
it should be noted that, the foreground program or the background program opened by the user may be reused in a certain time, or the running record of the foreground program and the running record of the background program that are closed may be saved for the user to view, and meanwhile, in order to avoid the user frequently switching pages to open different processes, the running record of the foreground program and the running record of the background program are displayed on the screen of the user in a form of a floating window, so that when the user clicks the floating window, the running record of the foreground program and the running record of the background program may be popped up, and the user may directly click the links of different running nodes of the corresponding program to directly jump to the corresponding nodes of the corresponding program.
In a second aspect, as shown in fig. 2, the present embodiment provides an apparatus for automatically adjusting power consumption of a smart notebook, including:
program obtaining module 210, configured to obtain information of a current running process of the smart notebook, where the current running process includes a foreground program and a background program; acquiring information of a current use process of the intelligent notebook;
program adjusting module 220 adjusts the running states of the foreground program and the background program based on the information of the current using process, so as to reduce the power consumption of the smart notebook.
In a third aspect, as shown in fig. 3, the present embodiment provides an electronic device 300, including:
a processor 320 and a memory 310;
the processor 320 is configured to perform the steps of the method according to any of the embodiments of the first aspect by invoking a program or instructions stored in the memory 310.
It may be understood that, the apparatus provided by the embodiments of the present application, the electronic device provided by the embodiments of the present application correspond to the method provided by the embodiments of the present application, and the explanation, the examples, the detailed description and the like of the content thereof may refer to the corresponding parts in the first aspect.
In addition to the methods and apparatus described above, embodiments of the present application may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the steps of the methods provided by any of the embodiments of the present application.
The computer program product may write program code for performing the operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium, having stored thereon computer program instructions, which when executed by a processor, cause the processor to perform the steps of the methods provided by any of the embodiments of the present application.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of the present application. As used in the specification and in the claims, the terms "a," "an," "the," and/or "the" are not specific to a singular, but may include a plurality, unless the context clearly dictates otherwise. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method or apparatus comprising such elements.
It should also be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," "outer," and the like indicate an orientation or a positional relationship based on that shown in the drawings, and are merely for convenience of description and simplification of the description, and do not indicate or imply that the apparatus or element in question must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present application. Unless specifically stated or limited otherwise, the terms "mounted," "connected," and the like are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art in a specific context.
Specific examples are set forth herein to illustrate the principles and embodiments of the present application, and the description of the examples above is only intended to assist in understanding the methods of the present application and their core ideas. The foregoing is merely a preferred embodiment of the present application, and it should be noted that, due to the limited nature of text, there is an objectively infinite number of specific structures, and that, to those skilled in the art, several improvements, modifications or changes can be made, and the above technical features can be combined in a suitable manner, without departing from the principles of the present invention; such modifications, variations and combinations, or the direct application of the concepts and aspects of the invention in other applications without modification, are intended to be within the scope of this application.
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application. The sequence number of each process does not mean the sequence of the execution sequence, and the execution sequence of each process should be determined according to the function and the internal logic.
The data encryption method and device based on the gold alloy wire equipment of the internet of things provided by the embodiment of the application are described in detail, and specific examples are applied to the description of the principle and implementation mode of the application, and the description of the above embodiment is only used for helping to understand the method and core ideas of the application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.
Claims (10)
1. The method for automatically adjusting the power consumption of the intelligent notebook computer is characterized by comprising the following steps of:
acquiring information of a current running process, wherein the current running process comprises a foreground program and a background program;
acquiring information of a current use process of the intelligent notebook;
and adjusting the running states of the foreground program and the background program based on the information of the current using process so as to reduce the power consumption of the intelligent notebook.
2. The method for automatically adjusting power consumption of a smart notebook according to claim 1, wherein the obtaining information of a current running process of the smart notebook comprises:
acquiring information of a current running process of the intelligent notebook through a checking task manager; or (b)
And acquiring the information of the current running process of the intelligent notebook by checking the running code or the code to be run in the running memory of the intelligent notebook.
3. The method for automatically adjusting power consumption of a smart notebook according to claim 1, wherein the obtaining information of a current usage process of the smart notebook comprises:
acquiring information of a current use process of the intelligent notebook by acquiring a current working page of the intelligent notebook; or (b)
And acquiring information of the current using process of the intelligent notebook by checking running codes in the running memory of the intelligent notebook.
4. The method for automatically adjusting power consumption of an intelligent notebook according to claim 1, wherein the information of the current running process includes a running time of a foreground program and a running time of a background program;
the adjusting the running states of the foreground program and the background program based on the information of the current using process comprises the following steps:
if the running time of the foreground program exceeds a first preset time and the foreground program is not switched to a current use process, closing the foreground program;
if the running time of the background process exceeds the second preset time, the background process is not switched to the current use process, and the background process is not a system process, and the background program is closed.
5. The method for automatically adjusting power consumption of an intelligent notebook according to claim 4, wherein if the running time of the foreground program exceeds a first preset time and the foreground program is not switched to a current use process, closing the foreground program, further comprising:
storing a closed running record of the foreground program, wherein the running record of the foreground program comprises a foreground program brief introduction and links capable of jumping to different running nodes of the foreground program;
if the running time of the background process exceeds a second preset time, the background process is not switched to the current use process, and the background process is not a system process, closing the background program, and further comprising:
storing a closed running record of the background program, wherein the running record of the background program comprises a background program brief introduction and links capable of jumping to different running nodes of the background program;
and displaying the running record of the foreground program and the running record of the background program on the screen of the intelligent notebook in a floating window mode.
6. The method for automatically adjusting power consumption of a smart notebook according to claim 1, wherein the adjusting the running states of the foreground program and the background program based on the information of the current usage process further comprises:
acquiring the use frequency of each functional module in the current use process in a first preset period, and sequencing the functional modules based on the use frequency;
acquiring information of a current use function module of the current use process;
and if the functional module is not the current functional module, and the ranking of the functional module is smaller than the first ranking threshold value, closing the functional module.
7. The method for automatically adjusting power consumption of a smart notebook according to claim 1, further comprising:
acquiring a working state of the intelligent notebook in a second preset period, wherein the working state comprises an unmanned state and a network demand state;
if the intelligent notebook computer is detected to be in an unmanned state, the intelligent notebook computer is dormant;
and if the intelligent notebook computer is detected to be in a network demand-free state, disconnecting the network connection of the intelligent notebook computer.
8. The method for automatically adjusting power consumption of a smart notebook according to claim 7, wherein if the smart notebook is detected to be in an unmanned state, the smart notebook is dormant, further comprising:
disconnecting the network connection of the notebook;
and if the intelligent notebook computer is detected to be awakened, automatically connecting a network.
9. An intelligent notebook automatic power consumption adjustment device, which is characterized by comprising:
the program acquisition module acquires information of a current running process of the intelligent notebook, wherein the current running process comprises a foreground program and a background program; acquiring information of a current use process of the intelligent notebook;
and the program adjusting module is used for adjusting the running states of the foreground program and the background program based on the information of the current using process so as to reduce the power consumption of the intelligent notebook.
10. An electronic device, comprising:
a processor and a memory;
the processor is adapted to perform the steps of the method according to any of claims 1 to 8 by invoking a program or instruction stored in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310460613.2A CN116501162B (en) | 2023-04-23 | 2023-04-23 | Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310460613.2A CN116501162B (en) | 2023-04-23 | 2023-04-23 | Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116501162A true CN116501162A (en) | 2023-07-28 |
CN116501162B CN116501162B (en) | 2023-11-24 |
Family
ID=87329730
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310460613.2A Active CN116501162B (en) | 2023-04-23 | 2023-04-23 | Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116501162B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116679816A (en) * | 2023-08-03 | 2023-09-01 | 深圳市蓝晨科技股份有限公司 | System power consumption adjusting method, system, terminal and storage medium |
Citations (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101883184A (en) * | 2010-06-23 | 2010-11-10 | 中兴通讯股份有限公司 | Method for controlling application program display on mobile terminal and mobile terminal |
EP2538327A1 (en) * | 2011-06-16 | 2012-12-26 | Samsung Electronics Co., Ltd. | Adaptive Termination and Pre-Launching Policy for Improving Application Startup Time |
CN103164268A (en) * | 2013-04-02 | 2013-06-19 | 北京奇虎科技有限公司 | System optimization method and system optimization device |
CN103226486A (en) * | 2013-04-23 | 2013-07-31 | 北京奇虎科技有限公司 | Optimization method and device for browser operation |
CN103902335A (en) * | 2014-03-12 | 2014-07-02 | 上海天奕达电子科技有限公司 | Method and system for cleaning background programs |
CN105549819A (en) * | 2015-12-11 | 2016-05-04 | 努比亚技术有限公司 | Method and device for displaying background application information |
CN105808447A (en) * | 2016-03-29 | 2016-07-27 | 海信集团有限公司 | Memory reclaiming method and device for terminal device |
CN105893134A (en) * | 2016-04-20 | 2016-08-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN106371913A (en) * | 2015-07-21 | 2017-02-01 | 赤子城网络技术(北京)有限公司 | Memory cleaning method and apparatus |
CN106569585A (en) * | 2016-11-07 | 2017-04-19 | 深圳市金立通信设备有限公司 | Method and terminal of managing application program process |
CN107329559A (en) * | 2017-06-30 | 2017-11-07 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application control method, device, terminal and storage medium |
WO2018023402A1 (en) * | 2016-08-02 | 2018-02-08 | 张阳 | Application process closing method and mobile phone |
CN107943593A (en) * | 2018-01-03 | 2018-04-20 | 上海传英信息技术有限公司 | A kind of memory automatic cleaning method for intelligent terminal |
CN109614168A (en) * | 2018-12-11 | 2019-04-12 | 深圳美图创新科技有限公司 | Memory Optimize Method and device |
CN109976611A (en) * | 2019-03-21 | 2019-07-05 | 维沃移动通信有限公司 | The control method and terminal device of terminal device |
CN109992438A (en) * | 2017-12-29 | 2019-07-09 | 广东欧珀移动通信有限公司 | Information processing method, device, computer equipment and computer readable storage medium |
CN110795172A (en) * | 2019-10-22 | 2020-02-14 | RealMe重庆移动通信有限公司 | Foreground process control method and device, electronic equipment and storage medium |
CN111045824A (en) * | 2019-12-12 | 2020-04-21 | Oppo广东移动通信有限公司 | Application control method and device, electronic equipment and computer readable medium |
CN111752628A (en) * | 2019-03-27 | 2020-10-09 | 西安欧思奇软件有限公司 | Application program processing method and device, computer equipment and storage medium |
CN112416212A (en) * | 2020-11-25 | 2021-02-26 | 维沃移动通信有限公司 | Program access method, device, electronic equipment and readable storage medium |
CN112650565A (en) * | 2020-12-21 | 2021-04-13 | ***股份有限公司 | Application process recovery method and device |
CN113064758A (en) * | 2021-03-30 | 2021-07-02 | 联想(北京)有限公司 | Program recovery method, device and system |
CN113742190A (en) * | 2021-09-06 | 2021-12-03 | 联想(北京)有限公司 | Control method and electronic device |
CN115328693A (en) * | 2021-05-10 | 2022-11-11 | 华为技术有限公司 | Method, device, equipment and storage medium for recovering service in service process |
-
2023
- 2023-04-23 CN CN202310460613.2A patent/CN116501162B/en active Active
Patent Citations (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101883184A (en) * | 2010-06-23 | 2010-11-10 | 中兴通讯股份有限公司 | Method for controlling application program display on mobile terminal and mobile terminal |
EP2538327A1 (en) * | 2011-06-16 | 2012-12-26 | Samsung Electronics Co., Ltd. | Adaptive Termination and Pre-Launching Policy for Improving Application Startup Time |
CN103164268A (en) * | 2013-04-02 | 2013-06-19 | 北京奇虎科技有限公司 | System optimization method and system optimization device |
CN103226486A (en) * | 2013-04-23 | 2013-07-31 | 北京奇虎科技有限公司 | Optimization method and device for browser operation |
CN103902335A (en) * | 2014-03-12 | 2014-07-02 | 上海天奕达电子科技有限公司 | Method and system for cleaning background programs |
CN106371913A (en) * | 2015-07-21 | 2017-02-01 | 赤子城网络技术(北京)有限公司 | Memory cleaning method and apparatus |
CN105549819A (en) * | 2015-12-11 | 2016-05-04 | 努比亚技术有限公司 | Method and device for displaying background application information |
CN105808447A (en) * | 2016-03-29 | 2016-07-27 | 海信集团有限公司 | Memory reclaiming method and device for terminal device |
CN105893134A (en) * | 2016-04-20 | 2016-08-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
WO2018023402A1 (en) * | 2016-08-02 | 2018-02-08 | 张阳 | Application process closing method and mobile phone |
CN106569585A (en) * | 2016-11-07 | 2017-04-19 | 深圳市金立通信设备有限公司 | Method and terminal of managing application program process |
CN107329559A (en) * | 2017-06-30 | 2017-11-07 | 宇龙计算机通信科技(深圳)有限公司 | A kind of application control method, device, terminal and storage medium |
CN109992438A (en) * | 2017-12-29 | 2019-07-09 | 广东欧珀移动通信有限公司 | Information processing method, device, computer equipment and computer readable storage medium |
CN107943593A (en) * | 2018-01-03 | 2018-04-20 | 上海传英信息技术有限公司 | A kind of memory automatic cleaning method for intelligent terminal |
CN109614168A (en) * | 2018-12-11 | 2019-04-12 | 深圳美图创新科技有限公司 | Memory Optimize Method and device |
CN109976611A (en) * | 2019-03-21 | 2019-07-05 | 维沃移动通信有限公司 | The control method and terminal device of terminal device |
CN111752628A (en) * | 2019-03-27 | 2020-10-09 | 西安欧思奇软件有限公司 | Application program processing method and device, computer equipment and storage medium |
CN110795172A (en) * | 2019-10-22 | 2020-02-14 | RealMe重庆移动通信有限公司 | Foreground process control method and device, electronic equipment and storage medium |
CN111045824A (en) * | 2019-12-12 | 2020-04-21 | Oppo广东移动通信有限公司 | Application control method and device, electronic equipment and computer readable medium |
CN112416212A (en) * | 2020-11-25 | 2021-02-26 | 维沃移动通信有限公司 | Program access method, device, electronic equipment and readable storage medium |
CN112650565A (en) * | 2020-12-21 | 2021-04-13 | ***股份有限公司 | Application process recovery method and device |
CN113064758A (en) * | 2021-03-30 | 2021-07-02 | 联想(北京)有限公司 | Program recovery method, device and system |
CN115328693A (en) * | 2021-05-10 | 2022-11-11 | 华为技术有限公司 | Method, device, equipment and storage medium for recovering service in service process |
CN113742190A (en) * | 2021-09-06 | 2021-12-03 | 联想(北京)有限公司 | Control method and electronic device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116679816A (en) * | 2023-08-03 | 2023-09-01 | 深圳市蓝晨科技股份有限公司 | System power consumption adjusting method, system, terminal and storage medium |
CN116679816B (en) * | 2023-08-03 | 2024-02-09 | 深圳市蓝晨科技股份有限公司 | System power consumption adjusting method, system, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116501162B (en) | 2023-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108647055B (en) | Application program preloading method and device, storage medium and terminal | |
JP6601470B2 (en) | NATURAL LANGUAGE GENERATION METHOD, NATURAL LANGUAGE GENERATION DEVICE, AND ELECTRONIC DEVICE | |
US9622016B2 (en) | Invisiblemask: a tangible mechanism to enhance mobile device smartness | |
CN111081217B (en) | Voice wake-up method and device, electronic equipment and storage medium | |
WO2015169134A1 (en) | Method and apparatus for phonetically annotating text | |
CN103631359A (en) | Information processing method and electronic equipment | |
CN108958828B (en) | Application program preloading method and device, storage medium and terminal | |
CN108287918B (en) | Music playing method and device based on application page, storage medium and electronic equipment | |
CN116501162B (en) | Method and device for automatically adjusting power consumption of intelligent notebook computer and electronic equipment | |
CN108055617B (en) | Microphone awakening method and device, terminal equipment and storage medium | |
WO2019228136A1 (en) | Application control method, apparatus, storage medium and electronic device | |
CN107402625B (en) | Touch screen scanning method and device, terminal and computer readable storage medium | |
US20210183388A1 (en) | Voice recognition method and device, photographing system, and computer-readable storage medium | |
CN112652302B (en) | Voice control method, device, terminal and storage medium | |
WO2023027812A1 (en) | Automated adaptation of video feed relative to presentation content | |
CN111580876A (en) | Application program control method, system and terminal | |
CN109597482B (en) | Automatic page turning method and device for electronic book, medium and electronic equipment | |
CN113791723A (en) | Data entry method, device and storage medium | |
WO2023246558A1 (en) | Semantic understanding method and apparatus, and medium and device | |
US11372907B2 (en) | Electronic device for generating natural language response and method thereof | |
US20230140997A1 (en) | Method and Apparatus for Selecting Sample Corpus Used to Optimize Translation Model | |
CN113448668B (en) | Method and device for skipping popup window and electronic equipment | |
CN113138676B (en) | Expression symbol display method and device | |
CN114491153A (en) | Method, medium, device and computing equipment for determining cover image | |
CN108228307B (en) | Application display method and device, storage medium and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |