Electric energy adjusting method and system for off-power state of notebook computer

By obtaining and analyzing the power and operation information of the laptop in real time, combining the charger and resource information, dynamically matching the power saving strategy, the problem of power management affecting the user experience in the off-voltage state of the laptop is solved, and more efficient power utilization and Longer battery life.

CN119396266AInactive Publication Date: 2025-02-07ZHUHAI SHININGDA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411412644.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-02-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The power management method of existing laptops in the off-voltage state leads to poor user experience, especially the program lag due to switching performance modes and energy-saving modes.

Method used

Retrieve the remaining power, operation information and location information of the equipment by detecting the frequency, and generate a historical status form; after receiving the ionized signal, obtain the charger equipment information and resource information, calculate the dynamic available time, and match the power saving execution items, including the display screen saving Power consumption is reduced by reducing the display resolution, replacing low-energy wallpapers and functional area partition processing.

Benefits of technology

It effectively reduces the impact of laptop dynamically power management on user experience, extends battery life, and improves the power utilization efficiency of the equipment under low power conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396266A_ABST
    Figure CN119396266A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electric energy management, and discloses an electric energy adjusting method and system for the off-power state of a notebook computer, and the method comprises the steps: obtaining the remaining electric quantity, operation information, position information and collection time nodes of target equipment based on a preset detection frequency, so as to generate a historical equipment state form; when a power off signal is received, acquiring charger configuration information, charging resource information and a historical equipment state form to generate charging guidance information, and calculating and displaying dynamic available time through a power utilization evaluation model; matching a power-saving execution item based on the equipment residual electric quantity, the dynamic available time, the equipment operation information and a power-saving item matching model; when the power saving execution item is display screen power saving, detecting a power supply mode of the display component, and when the display component in the charging state is not detected, executing the display screen setting items in sequence, and updating the dynamic available time; the method has the effect of reducing the influence of power management in the off-power state of the notebook computer on the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power management, and in particular to a power regulation method and system for a notebook computer in an off-power state. Background Art

[0002] Laptop computers are widely used due to their portability. Existing laptop computers can work in both plugged-in and unplugged states. Since the battery capacity of laptop computers is limited, laptop computers usually automatically switch to performance mode / standard mode when plugged in to improve performance, and automatically switch to energy-saving mode when unplugged to extend battery life. However, there is a disadvantage of limited performance, which can easily cause running programs to freeze. Therefore, managing the power of laptop computers by mode switching can easily cause poor user experience. Therefore, the above-mentioned related technologies have the problem that the laptop working mode switching affects the user experience. Summary of the invention

[0003] In order to reduce the impact of power management in a laptop computer's off-power state on user experience, the present application provides a power regulation method and system for a laptop computer's off-power state.

[0004] The first invention objective of this application is achieved by adopting the following technical solution:

[0005] The power regulation method of the notebook computer in the off-power state includes:

[0006] Based on the preset detection frequency, the remaining power of the target device, device operation information, device location information and collection time node are obtained to generate a historical device status form;

[0007] When receiving the power-off signal, the charger configuration information, charging resource information and historical device status table are obtained, and charging guidance information is generated based on the current charger configuration information, charging resource information and device location information. The current device remaining power and device operation information are input into the preset power consumption evaluation model, and the dynamic available time is calculated and displayed;

[0008] Match the corresponding power saving execution items based on the remaining power of the device, the dynamic available time, the device operation information and the preset power saving item matching model;

[0009] When the power saving execution item is display power saving, the power supply mode of the display component is detected, and when the display component in the charging state is not detected, the display setting items are executed in sequence, and the dynamic available time is updated;

[0010] The display screen setting items include:

[0011] Synchronously reduce the display size and display resolution of the display interface;

[0012] Change the wallpaper of the target device to a preset low-energy color wallpaper;

[0013] The display interface is partitioned according to different functional attributes to generate several functional areas, the functional areas that have not been functionally activated are grayed out, and the corresponding functional areas are functionally activated by controlling the position of the cursor on the display interface;

[0014] The device operation information includes the power consumption setting information, charging power information, importance level of the running program, resource occupancy rate, and key information type of the target device; the charger is provided with a positioning element for the target device to identify; the charger equipment information refers to information used to determine whether the charger is near the target device; the charging resource information refers to information used to record the location information of several qualified power sources nearby that can be used to charge the target device; the power consumption evaluation model includes several algorithms for calculating the remaining available time of the target device's power according to input conditions; the power saving project matching model includes an algorithm for matching corresponding power saving execution projects according to input conditions.

[0015] By adopting the above technical scheme, the remaining power of the target device, the device operation information, the device location information and the corresponding collection time nodes are obtained based on the detection frequency, so as to determine the state of the target device at each collection time node, thereby generating a historical device status form, which is convenient for subsequent evaluation of the power consumption of the target device in different states; when the target device is in an off-power state, an off-power signal is received to obtain the charger configuration information, the charging resource information and the historical device status form in real time, and based on the charger configuration information, the charging resource information and the device location information, it is determined whether the current user carries a charger and whether there is an available qualified power source nearby, so as to generate charging guidance information, so as to guide the user when the user needs to charge, and based on the remaining power of the device and the device operation information, it is input into a preset power consumption evaluation model, so as to calculate the remaining available time of the target device in the current state, so as to obtain the dynamic available time and display it; based on the remaining power of the device, the dynamic available time and the device operation information as conditions and Input into the power saving project matching model to match the corresponding power saving execution project under the current conditions, so as to execute the corresponding power saving settings for the target device; when the power saving execution project is to save power for the display screen, detect the power supply mode of each display component corresponding to the target device, when the display component in the charging state is not detected, the display component connected to the current target device needs to consume more power, execute each display setting item in turn and update the dynamic available time, wherein the display setting items include: reducing the display size and display resolution of the display interface to reduce the power consumption of the display screen lamp beads, replacing the wallpaper with a low-energy color wallpaper to reduce the power consumption of the display wallpaper, partitioning the display interface according to the functional attributes to generate several functional areas, only displaying the normal color for the functional area with the activated function, and graying the color for the functional area with the unactivated function, thereby reducing the power consumption of the display screen, while also reducing the power consumption of the heat dissipation component, and reducing the impact of the power management of the notebook computer in the off-power state on the user experience.

[0016] In a preferred example of the present application, when receiving the power-off signal, the charger configuration information, charging resource information and historical device status table are obtained, and charging guidance information is generated based on the current charger configuration information, charging resource information and device location information, including:

[0017] When receiving the power-off signal, searching for the positioning signal of the positioning element corresponding to the charger, generating the corresponding charger configuration information based on the state of receiving the positioning signal, obtaining the charging resource information and the historical device status form, and extracting the device location information from the historical status form;

[0018] Filtering the charging resource information based on the charger configuration information, generating charging guidance information based on the filtered charging resource information and device location information, and sending the information to the notification bar;

[0019] The charger configuration information includes a charger in place state or a charger missing state.

[0020] By adopting the above technical solution, when a power-off signal is received, the positioning signal of the positioning element corresponding to the charger is searched. If the positioning signal is received and the distance between the charger and the target device is less than or equal to the preset specific distance value, the charger equipment information of the charger in place state is generated. If the positioning signal is not received or the distance between the charger and the target device is greater than the preset specific distance value, the charger equipment information of the charger missing state is generated, and the charging resource information and the historical device status form are further obtained, and the device location information is extracted from the historical status form; the charging resource information is filtered based on the charger equipment information, and when the charger equipment information is the charger missing state, the qualified power source that needs to use the charger is filtered out from the charging resource information, and based on the filtered charging resource information and device location information, the charging guidance information is generated and sent to the notification bar, so as to provide guidance to the user when charging is needed.

[0021] In a preferred example of the present application: the power saving item matching model has several available power saving items built in, including display power saving, CPU power saving, GPU power saving, wireless connection power saving, audio power saving, and heat dissipation power saving, and each available power saving item is set with a corresponding activation condition;

[0022] The matching of corresponding power saving execution items based on the remaining power of the device, the dynamic available time, the device operation information and the preset power saving item matching model includes:

[0023] The remaining power of the device, the dynamic available time, and the device operation information are input as conditions into the power saving project matching model to determine whether the activation conditions of each available power saving project are met one by one;

[0024] The available power saving items for which the activation conditions are met are set as power saving execution items.

[0025] By adopting the above technical solution, the remaining power of the device, the dynamic available time and the device operation information are input as conditions into the power-saving item matching model to determine whether the enabling conditions of each available power-saving item are met one by one, so as to match the available power-saving items suitable for the current state; the available power-saving items that meet the enabling conditions are set as power-saving execution items, so as to facilitate the subsequent targeted execution of power-saving settings suitable for the current state of the target device, thereby performing targeted power control on the target device.

[0026] In a preferred example of the present application, when the power saving execution item is display power saving, the power supply mode of the display component is detected, and when the display component in the charging state is not detected, the display setting items are executed in sequence, and the dynamic available time is updated, including:

[0027] When the power saving execution item is to save power for the display screen, the power supply modes of all display components connected to the target device are detected;

[0028] When the display component of the charging status is detected, the display function of the built-in display component of the target device is turned off, and the display data is sent to the display component of the charging status;

[0029] When the display component in the charging state is not detected, each display setting item is executed in sequence, and after the execution of one display setting item is completed, the dynamic available time is updated;

[0030] Re-match the corresponding power saving execution items based on the updated dynamic available time, remaining power of the device, device operation information and the preset power saving item matching model;

[0031] The power supply mode includes an off-power state and a charging state; the display component in the charging state refers to a display component powered by a power source outside the target device.

[0032] By adopting the above technical solution, since a laptop computer is usually equipped with a built-in display screen, more display components such as monitors or projectors can be connected according to actual needs. Therefore, when the power saving execution item is display screen power saving, the power supply modes of all display components connected to the target device are detected to determine the power supply status of each display component; when a display component whose power supply mode is in a charging state is detected, the display function of the built-in display component of the target device is turned off, and the display data is sent to the display component in a charging state, so that the image is displayed by the external display component, thereby reducing the power consumption of the target device; when the display component in the charging state is not detected, the image can only be displayed by the built-in display component, and each display screen setting item for reducing the power consumption of the automatic display component of the target device is executed in turn, and after completing the execution of a display screen setting item, the dynamic available time is updated based on the new state of the target device, thereby improving the accuracy of the dynamic available time; based on the updated dynamic available time, the remaining power of the device, the device operation information and the preset power saving item matching model, the corresponding power saving execution item is re-matched to determine whether the current power saving setting meets the use requirements of the target device, and whether it is necessary to continue to execute the display screen power saving or other available power saving items.

[0033] In a preferred example of the present application: when there is an image with a contour edge having a color similar to the low-energy color in the display interface of the target device, a contour image is generated at the periphery of the edge of the image;

[0034] The low-energy color is a color whose color scale values ​​of the three channels in the RGB value are all within 5% of the highest color scale value; the similar color is a color whose average color scale difference of the three channels in the RGB value is within 5% of the highest color scale value; the contour image is a pure color image whose color scale values ​​of the three channels in the RGB value are all within 30% of the highest color scale value;

[0035] The color graying process can be selected from two processing modes: converting the image into a corresponding grayscale image, and covering the image with a pure color image of a low-energy consumption color.

[0036] By adopting the above technical solution, when the wallpaper of the target device is replaced with a low-energy color wallpaper, since the images of some desktop icons may have edge colors similar to low-energy colors, thereby affecting the display effect of the display interface, therefore, when there is an image with a contour edge of a color similar to the low-energy color in the display interface of the target device, a contour image with a large color difference is generated around the edge of the image to highlight the edge of the image; when the color of the functional area where the function is not activated is grayed out, the specific processing method can be to convert the image displayed in the functional area into a grayscale image, or to directly cover the image displayed in the functional area with a pure color image of the low-energy color, thereby reducing the power consumption of the display component by changing the display color of the functional area where the function is not activated.

[0037] The second invention objective of this application is achieved by the following technical solution:

[0038] The power regulation system of a notebook computer in an off-power state is applied to any of the above-mentioned power regulation methods of a notebook computer in an off-power state, comprising:

[0039] The device status form generation module is used to obtain the remaining power of the target device, device operation information, device location information and collection time node based on the preset detection frequency to generate a historical device status form;

[0040] The dynamic available time calculation module is used to obtain the charger configuration information, charging resource information and historical device status table when receiving the power-off signal, generate charging guidance information based on the current charger configuration information, charging resource information and device location information, input the current device remaining power and device operation information into the preset power consumption evaluation model, calculate the dynamic available time and display it;

[0041] A power saving execution project matching module is used to match corresponding power saving execution projects based on the remaining power of the device, the dynamic available time, the device operation information and the preset power saving project matching model;

[0042] The display screen power saving execution module is used to detect the power supply mode of the display component when the power saving execution item is display screen power saving, and when the display component in the charging state is not detected, execute the display screen setting items in sequence and update the dynamic available time;

[0043] The display screen setting items include:

[0044] Synchronously reduce the display size and display resolution of the display interface;

[0045] Change the wallpaper of the target device to a preset low-energy color wallpaper;

[0046] The display interface is partitioned according to different functional attributes to generate several functional areas, the functional areas that have not been functionally activated are grayed out, and the corresponding functional areas are functionally activated by controlling the position of the cursor on the display interface;

[0047] The device operation information includes the power consumption setting information, charging power information, importance level of the running program, resource occupancy rate, and key information type of the target device; the charger is provided with a positioning element for the target device to identify; the charger equipment information refers to information used to determine whether the charger is near the target device; the charging resource information refers to information used to record the location information of several qualified power sources nearby that can be used to charge the target device; the power consumption evaluation model includes several algorithms for calculating the remaining available time of the target device's power according to input conditions; the power saving project matching model includes an algorithm for matching corresponding power saving execution projects according to input conditions.

[0048] In a preferred example of the present application: the dynamic available time calculation module includes:

[0049] The charger equipment information generation submodule is used to search for the positioning signal of the charger corresponding to the positioning element when receiving the power-off signal, generate the corresponding charger equipment information based on the state of receiving the positioning signal, obtain the charging resource information and the historical device status form, and extract the device location information from the historical status form;

[0050] A charging guidance information generation submodule, used to filter the charging resource information based on the charger configuration information, generate charging guidance information based on the filtered charging resource information and device location information, and send it to the notification bar;

[0051] The charger configuration information includes a charger in place state or a charger missing state.

[0052] In a preferred example of the present application: the power saving execution project matching module includes:

[0053] The available power-saving project judgment submodule is used to input the remaining power of the device, the dynamic available time and the device operation information as conditions into the power-saving project matching model, and judge whether the activation conditions of each available power-saving project meet the standards one by one;

[0054] A power saving execution project setting submodule, used for setting available power saving projects that meet the activation conditions as power saving execution projects;

[0055] The power saving item matching model has several available power saving items built in, including display screen power saving, CPU power saving, GPU power saving, wireless connection power saving, audio power saving, and heat dissipation power saving, and each available power saving item is set with corresponding activation conditions.

[0056] The third invention objective of this application is achieved by the following technical solution:

[0057] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the power regulation method for the notebook computer in an off-power state are implemented.

[0058] The fourth invention objective of this application is achieved by the following technical solution:

[0059] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the power regulation method for a laptop computer in an off-power state.

[0060] In summary, the present application includes at least one of the following beneficial technical effects:

[0061] 1. Based on the detection frequency, the target device's remaining power, device operation information, device location information and corresponding collection time nodes are obtained to determine the state of the target device at each collection time node, thereby generating a historical device status form to facilitate subsequent evaluation of the target device's power consumption in different states; when the target device is in an off-power state, an off-power signal is received to obtain the charger configuration information, charging resource information and historical device status form in real time, and based on the charger configuration information, charging resource information and device location information, determine whether the current user carries a charger and whether there is an available qualified power source nearby, so as to generate charging guidance information to guide the user when the user needs to charge, and based on the remaining power of the device and the device operation information, input it into a preset power consumption evaluation model, so as to calculate the remaining available time of the target device in the current state, so as to obtain the dynamic available time and display it; based on the remaining power of the device, the dynamic available time and the device operation information as conditions and input it into the power saving In the project matching model, the corresponding power saving execution project under the current conditions is matched so as to execute the corresponding power saving settings for the target device; when the power saving execution project is to save power for the display screen, the power supply mode of each display component corresponding to the target device is detected. When the display component in the charging state is not detected, the display component connected to the current target device needs to consume more power, and each display setting item is executed in turn and the dynamic available time is updated. The display setting items include: reducing the display size and display resolution of the display interface to reduce the power consumption of the display screen lamp beads, replacing the wallpaper with a low-energy color wallpaper to reduce the power consumption of the display wallpaper, partitioning the display interface according to the functional attributes, generating several functional areas, only displaying normal colors for the functional areas with activated functions, and graying the colors for the functional areas without activated functions, thereby reducing the power consumption of the display screen, while also reducing the power consumption of the heat dissipation component, and reducing the impact of the power management of the notebook computer in the off-power state on the user experience.

[0062] 2. Since a laptop computer is usually equipped with a built-in display screen, more display components such as monitors or projectors can be connected according to actual needs. Therefore, when the power saving execution item is display screen power saving, the power supply mode of all display components connected to the target device lock is detected to determine the power supply status of each display component; when a display component in a charging state is detected, the display function of the built-in display component of the target device is turned off, and the display data is sent to the display component in a charging state, so that the image is displayed by the external display component, thereby reducing the power consumption of the target device; when the display component in the charging state is not detected, the image can only be displayed by the built-in display component, and each display screen setting item for reducing the power consumption of the automatic display component of the target device is executed in turn, and after completing the execution of a display screen setting item, the dynamic available time is updated based on the new state of the target device, thereby improving the accuracy of the dynamic available time; based on the updated dynamic available time, the remaining power of the device, the device operation information and the preset power saving item matching model, the corresponding power saving execution item is re-matched to determine whether the current power saving setting meets the use requirements of the target device, and whether it is necessary to continue to execute the display screen power saving or other available power saving items.

[0063] 3. When the wallpaper of the target device is replaced with a low-energy color wallpaper, since the images of some desktop icons may have edge colors similar to low-energy colors, thus affecting the display effect of the display interface, therefore, when there is an image with a contour edge of a color similar to the low-energy color in the display interface of the target device, a contour image with a large color difference is generated around the edge of the image to highlight the edge of the image; when graying the color of the functional area where the function is not activated, the specific processing method can be to convert the image displayed in the functional area into a grayscale image, or to directly cover the image displayed in the functional area with a pure color image of the low-energy color, thereby reducing the power consumption of the display component by changing the display color of the functional area where the function is not activated. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 It is a flow chart of the power regulation method of the notebook computer in the off-power state in the first embodiment of the present application.

[0065] Figure 2 It is a principle block diagram of the power regulation system of the notebook computer in the off-power state in the second embodiment of the present application.

[0066] Figure 3 It is a schematic diagram of the equipment in Example 3 of the present application. DETAILED DESCRIPTION

[0067] The following is combined with Figures 1 to 3 This application is described in further detail.

[0068] Embodiment 1

[0069] Reference Figure 1 The present application discloses a method for regulating power in a laptop computer in an off-power state, which specifically comprises the following steps:

[0070] S10: Based on a preset detection frequency, the remaining power of the target device, device operation information, device location information and collection time node are obtained to generate a historical device status form.

[0071] In this embodiment, the detection frequency refers to the frequency used to collect the remaining power of the device, the device operation information, and the device location information, preferably once a minute, and can also be set to other frequencies according to actual needs; the target device refers to a laptop computer determined as a research object of power management in an off-power state; the remaining power of the device refers to the remaining power of the battery of the target device determined after considering factors such as battery aging and battery life; the device operation information includes the power consumption setting information, charging power information, the importance level of the running program, resource occupancy rate, and key information type of the target device, wherein the power consumption setting information refers to the information of several setting items that may affect the power consumption of the target device, including brightness, screen frame rate, etc. When the target device is not charged, the charging power is 0, the importance level of the running program is preset or set by the user, the resource occupancy rate refers to the occupancy rate of the computer's CPU resources and GPU resources, and the key information type refers to the main information carrier type in each software program, such as video, text, image, sound, etc.

[0072] Specifically, based on the detection frequency, the remaining power of the target device, device operation information, device location information and corresponding collection time nodes are obtained to determine the status of the target device at each collection time node, thereby generating a historical device status form to facilitate subsequent evaluation of the power consumption of the target device in different states.

[0073] S20: When a power-off signal is received, the charger configuration information, charging resource information and historical device status form are obtained, and charging guidance information is generated based on the current charger configuration information, charging resource information and device location information. The current device remaining power and device operation information are input into a preset power consumption evaluation model, and the dynamic available time is calculated and displayed.

[0074] In this embodiment, the off-power signal refers to a signal automatically generated by the target device in a non-charging state after it is turned on; the charger is provided with a positioning element for identification by the target device, wherein the positioning element may be a passive RFID chip or other device, and the positioning technology adopted may be a precise positioning technology, or a positioning technology that determines whether the charger is near the target device by signal strength; the charger configuration information refers to information used to determine whether the charger is near the target device, wherein the standard for whether it is near may be whether the signal can be received or whether the distance exceeds a preset specific value; the charging resource information refers to the location information used to record several qualified power sources nearby that can be used to charge the target device, wherein the qualified power source refers to a power source with qualified power supply parameters such as power and voltage and a public nature, and the qualified power source information may be uploaded by the user, other users or merchants, and each qualified power source is also marked with interface type information, such as TYPE-C interface, two-hole socket, three-hole socket, etc.; the power consumption evaluation model includes several algorithms for calculating the remaining available time of the target device's power according to the input conditions.

[0075] Specifically, when the target device is in an off-power state, an off-power signal is received to obtain charger configuration information, charging resource information, and a historical device status form in real time. Based on the charger configuration information, charging resource information, and device location information, it is determined whether the current user carries a charger and whether there is an available qualified power source nearby, so as to generate charging guidance information to guide the user when the user needs to charge. Based on the remaining power of the device and the device operation information, the information is input into a preset power consumption assessment model to calculate the remaining available time of the target device in the current state, so as to obtain the dynamic available time and display it in the form of a countdown in the display interface of the target device.

[0076] Wherein, in step S20, it includes:

[0077] S21: When receiving a power-off signal, searching for a positioning signal of a positioning element corresponding to the charger, generating corresponding charger configuration information based on a state of receiving the positioning signal, acquiring charging resource information and a historical device status form, and extracting device location information from the historical status form.

[0078] In this embodiment, the charger configuration information includes a charger in place state or a charger missing state.

[0079] Specifically, when a power-off signal is received, the positioning signal of the positioning element corresponding to the charger is searched. If the positioning signal is received and the distance between the charger and the target device is less than or equal to a preset specific distance value, the charger equipment information of the charger in place state is generated. If the positioning signal is not received or the distance between the charger and the target device is greater than a preset specific distance value, the charger equipment information of the charger missing state is generated, and the charging resource information and the historical device status form are further obtained, and the device location information is extracted from the historical status form.

[0080] S22: Filter the charging resource information based on the charger configuration information, generate charging guidance information based on the filtered charging resource information and device location information, and send the information to the notification bar.

[0081] Specifically, the charging resource information is filtered based on the charger configuration information. When the charger configuration information indicates that the charger is missing, qualified power sources that require a charger are filtered out from the charging resource information. Based on the filtered charging resource information and device location information, charging guidance information is generated and sent to the notification bar to provide guidance to users when charging is needed.

[0082] S30: Matching corresponding power saving execution items based on the remaining power of the device, the dynamic available time, the device operation information and a preset power saving item matching model.

[0083] In this embodiment, the power saving item matching model includes an algorithm for matching corresponding power saving execution items according to input conditions.

[0084] Specifically, the remaining power of the device, the dynamic available time and the device operation information are used as conditions and input into the power saving item matching model to match the corresponding power saving execution items under the current conditions, so as to execute the corresponding power saving settings for the target device.

[0085] Wherein, in step S30, it includes:

[0086] S31: Input the remaining power of the device, the dynamic available time and the device operation information as conditions into the power saving item matching model, and determine whether the activation conditions of each available power saving item are met one by one.

[0087] In this embodiment, the power saving item matching model has several available power saving items built in, including display screen power saving, CPU power saving, GPU power saving, wireless connection power saving, audio power saving, and heat dissipation power saving, and each available power saving item is set with corresponding activation conditions.

[0088] Specifically, the remaining power of the device, the dynamic available time and the device operation information are input as conditions into the power saving project matching model to determine whether the enabling conditions of each available power saving project are met one by one, so as to match the available power saving projects suitable for the current state.

[0089] S32: Setting the available power saving items that meet the activation conditions as power saving execution items.

[0090] Specifically, the available power saving items that meet the enabling conditions are set as power saving execution items, so as to facilitate the subsequent targeted execution of power saving settings suitable for the current state of the target device, thereby targetedly controlling the power of the target device.

[0091] S40: When the power saving execution item is display screen power saving, the power supply mode of the display component is detected, and when the display component in the charging state is not detected, the display screen setting items are executed in sequence, and the dynamic available time is updated.

[0092] In this embodiment, the display screen setting items under the default settings include:

[0093] 1. Synchronously reduce the display size and resolution of the display interface;

[0094] 2. Change the wallpaper of the target device to a preset low-energy color wallpaper;

[0095] 3. The display interface is partitioned according to different functional attributes to generate several functional areas, and the functional areas that have not been activated are grayed out. The corresponding functional areas are activated by controlling the position of the cursor on the display interface.

[0096] Among them, the number of several display setting items can be increased or decreased according to actual needs. For example, when the built-in display component of the target device is an LCD screen, the display setting item for setting low-energy color wallpaper can be deleted; the execution order of each display setting item can also be adjusted according to actual needs.

[0097] Further, when there is an image whose outline edge is a color similar to the low-energy color in the display interface of the target device, a contour image is generated at the periphery of the edge of the image;

[0098] The low-energy color is a color whose color scale values ​​of the three channels in the RGB value are all within 5% of the highest color scale value. Preferably, the RGB value in the present application is 256 color scales, and the low-energy color is pure black with an RGB value of (0,0,0);

[0099] Preferably, similar colors refer to colors whose average difference in color levels of the three channels in RGB values ​​is within 5% of the highest color level value; preferably, the contour image is a pure color image whose color level values ​​of the three channels in RGB values ​​are all within 30% of the highest color level value; preferably, the pixel width of the contour image can be set to 0.5% of the number of pixels on the short side of the display interface, and is determined after rounding up; low-energy colors, similar colors and contour image colors can also be adjusted to colors of other RGB values ​​according to actual needs.

[0100] The color graying process can be selected from two processing methods: converting the image into a corresponding grayscale image, and covering the image with a pure color image of a low-energy color.

[0101] Furthermore, when the control cursor leaves a functional area, a countdown is set, and after the countdown ends, the area is changed to a state where no function is activated.

[0102] Specifically, when the power saving execution project is to save power for the display screen, the power supply mode of each display component corresponding to the target device is detected. When a display component in a charging state is not detected, the display component connected to the current target device needs to consume more power. Each display setting item is executed in turn and the dynamic available time is updated. The display setting items include: reducing the display size and display resolution of the display interface to reduce the power consumption of the display screen lamp beads, replacing the wallpaper with a low-energy color wallpaper to reduce the power consumption of the wallpaper, partitioning the display interface according to functional attributes to generate several functional areas, only displaying normal colors for the functional areas with activated functions, and graying out the colors for the functional areas without activated functions, thereby reducing the power consumption of the display screen. At the same time, the power consumption of the heat dissipation component is reduced, and the impact of the power management of the notebook computer in the off-power state on the user experience is reduced.

[0103] Among them, when the wallpaper of the target device is replaced with a low-energy color wallpaper, since the images of some desktop icons may have edge colors similar to low-energy colors, thereby affecting the display effect of the display interface, therefore, when there is an image with a contour edge of a color similar to the low-energy color in the display interface of the target device, a contour image with a large color difference is generated around the edge of the image to highlight the edge of the image; when the color of the functional area where the function is not activated is grayed out, the specific processing method can be to convert the image displayed in the functional area into a grayscale image, or to directly cover the image displayed in the functional area with a pure color image of the low-energy color, thereby reducing the power consumption of the display component by changing the display color of the functional area where the function is not activated.

[0104] Wherein, in step S40, it includes:

[0105] S41: When the power saving execution item is display screen power saving, detecting power supply modes of all display components connected to the target device.

[0106] In this embodiment, the power supply mode includes an off-power state and a charging state; a display component in a charging state refers to a display component powered by a power source outside the target device; a display component of the target device in an off-power state is also in an off-power state.

[0107] Specifically, since a laptop computer is usually equipped with a built-in display screen, more display components such as monitors or projectors can be connected according to actual needs. Therefore, when the power saving execution project is to save power for the display screen, the power supply modes of all display components connected to the target device lock are detected to determine the power supply status of each display component.

[0108] S42: When the display component of the charging status is detected, the display function of the built-in display component of the target device is turned off, and the display data is sent to the display component of the charging status.

[0109] Specifically, when it is detected that the display component in the charging state is powered, the display function of the built-in display component of the target device is turned off, and the display data is sent to the display component in the charging state so that the image can be displayed using the external display component, thereby reducing the power consumption of the target device.

[0110] S43: When the display component in the charging state is not detected, each display screen setting item is executed in sequence, and after the execution of one display screen setting item is completed, the dynamic available time is updated.

[0111] Specifically, when a display component in a charging state is not detected, the image can only be displayed by the built-in display component, and each display setting item for reducing the power consumption of the automatic display component of the target device is executed in sequence. After completing the execution of a display setting item, the dynamic available time is updated based on the new state of the target device, thereby improving the accuracy of the dynamic available time.

[0112] S44: Re-matching corresponding power saving execution items based on the updated dynamic available time, the remaining power of the device, the device operation information and the preset power saving item matching model.

[0113] Specifically, based on the updated dynamic available time, remaining power of the device, device operation information and the preset power saving item matching model, the corresponding power saving execution items are re-matched to determine whether the current power saving settings meet the usage requirements of the target device and whether it is necessary to continue to execute display power saving or other available power saving items.

[0114] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0115] Embodiment 2

[0116] The invention discloses an electric energy regulating system for a notebook computer in a power-off state, and the electric energy regulating system for a notebook computer in a power-off state corresponds to the electric energy regulating method for a notebook computer in a power-off state in the above-mentioned embodiment.

[0117] like Figure 2 As shown, the power regulation system for the notebook computer in the off-power state includes a device state form generation module, a dynamic available time calculation module, a power saving execution project matching module and a display screen power saving execution module. The detailed description of each functional module is as follows:

[0118] The device status form generation module is used to obtain the remaining power of the target device, device operation information, device location information and collection time node based on the preset detection frequency to generate a historical device status form;

[0119] The dynamic available time calculation module is used to obtain the charger configuration information, charging resource information and historical device status table when receiving the power-off signal, generate charging guidance information based on the current charger configuration information, charging resource information and device location information, input the current device remaining power and device operation information into the preset power consumption evaluation model, calculate the dynamic available time and display it;

[0120] A power saving execution project matching module is used to match corresponding power saving execution projects based on the remaining power of the device, the dynamic available time, the device operation information and the preset power saving project matching model;

[0121] The display screen power saving execution module is used to detect the power supply mode of the display component when the power saving execution item is display screen power saving. When the display component in the charging state is not detected, the display screen setting items are executed in sequence and the dynamic available time is updated.

[0122] The dynamic available time calculation module also includes:

[0123] The charger equipment information generation submodule is used to search for the positioning signal of the charger corresponding to the positioning element when receiving the power-off signal, generate the corresponding charger equipment information based on the state of receiving the positioning signal, obtain the charging resource information and the historical device status form, and extract the device location information from the historical status form;

[0124] The charging guidance information generation submodule is used to filter the charging resource information based on the charger configuration information, generate the charging guidance information based on the filtered charging resource information and device location information, and send it to the notification bar.

[0125] Among them, the power saving execution project matching module also includes:

[0126] The available power-saving project judgment submodule is used to input the remaining power of the device, the dynamic available time and the device operation information as conditions into the power-saving project matching model, and judge whether the activation conditions of each available power-saving project meet the standards one by one;

[0127] The power-saving execution project setting submodule is used to set the available power-saving projects that meet the activation conditions as power-saving execution projects.

[0128] The display screen power saving execution module also includes:

[0129] A power supply mode detection submodule, used for detecting the power supply modes of all display components connected to the target device when the power saving execution item is to save power for the display screen;

[0130] A display data forwarding submodule is used to turn off the display function of the built-in display component of the target device when a display component in a charging state is detected, and send display data to the display component in a charging state;

[0131] The display screen setting item execution submodule is used to execute each display screen setting item in sequence when the display component in the charging state is not detected, and to update the dynamic available time after completing the execution of one display screen setting item;

[0132] A rematching submodule, for rematching corresponding power saving execution items based on the updated dynamic available time, the remaining power of the device, the device operation information and the preset power saving item matching model;

[0133] For the specific definition of the power regulation system for a laptop computer in an off-power state, please refer to the definition of the power regulation method for a laptop computer in an off-power state in the above text, which will not be repeated here; each module in the above-mentioned power regulation system for a laptop computer in an off-power state can be implemented in whole or in part by software, hardware and a combination thereof; each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0134] Embodiment 3

[0135] A computer device, which may be a server, may have an internal structure as shown in Figure 3As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as the remaining power of the device, device operation information, device location information, collection time nodes, historical device status forms, power-off signals, charger configuration information, charging resource information, charging guidance information, power consumption evaluation models, dynamic available time, power-saving project matching models, power-saving execution projects, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for regulating the power of a laptop computer in a power-off state is implemented.

[0136] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0137] S10: acquiring the remaining power of the target device, device operation information, device location information and collection time node based on the preset detection frequency to generate a historical device status form;

[0138] S20: when receiving the power-off signal, obtaining the charger configuration information, charging resource information and historical device status form, generating charging guidance information based on the current charger configuration information, charging resource information and device location information, inputting the current device remaining power and device operation information into the preset power consumption evaluation model, calculating the dynamic available time and displaying it;

[0139] S30: matching corresponding power saving execution items based on the remaining power of the device, the dynamic available time, the device operation information and the preset power saving item matching model;

[0140] S40: When the power saving execution item is display screen power saving, the power supply mode of the display component is detected, and when the display component in the charging state is not detected, the display screen setting items are executed in sequence, and the dynamic available time is updated.

[0141] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0142] S10: acquiring the remaining power of the target device, device operation information, device location information and collection time node based on the preset detection frequency to generate a historical device status form;

[0143] S20: when receiving the power-off signal, obtaining the charger configuration information, charging resource information and historical device status form, generating charging guidance information based on the current charger configuration information, charging resource information and device location information, inputting the current device remaining power and device operation information into the preset power consumption evaluation model, calculating the dynamic available time and displaying it;

[0144] S30: matching corresponding power saving execution items based on the remaining power of the device, the dynamic available time, the device operation information and the preset power saving item matching model;

[0145] S40: When the power saving execution item is display screen power saving, the power supply mode of the display component is detected, and when the display component in the charging state is not detected, the display screen setting items are executed in sequence, and the dynamic available time is updated.

[0146] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink), DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0147] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0148] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the features thereof may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for regulating power in a laptop computer in an off-power state, characterized in that: include: Based on the preset detection frequency, the remaining power of the target device, device operation information, device location information and collection time node are obtained to generate a historical device status form; When receiving the power-off signal, the charger configuration information, charging resource information and historical device status table are obtained, and charging guidance information is generated based on the current charger configuration information, charging resource information and device location information. The current device remaining power and device operation information are input into the preset power consumption evaluation model, and the dynamic available time is calculated and displayed; Match the corresponding power saving execution items based on the remaining power of the device, the dynamic available time, the device operation information and the preset power saving item matching model; When the power saving execution item is display power saving, the power supply mode of the display component is detected, and when the display component in the charging state is not detected, the display setting items are executed in sequence, and the dynamic available time is updated; The display screen setting items include: Synchronously reduce the display size and display resolution of the display interface; Change the wallpaper of the target device to a preset low-energy color wallpaper; The display interface is partitioned according to different functional attributes to generate several functional areas, the functional areas that have not been functionally activated are grayed out, and the corresponding functional areas are functionally activated by controlling the position of the cursor on the display interface; The device operation information includes the power consumption setting information, charging power information, importance level of the running program, resource occupancy rate, and key information type of the target device; the charger is provided with a positioning element for the target device to identify; the charger equipment information refers to information used to determine whether the charger is near the target device; the charging resource information refers to information used to record the location information of several qualified power sources nearby that can be used to charge the target device; the power consumption evaluation model includes several algorithms for calculating the remaining available time of the target device's power according to input conditions; the power saving project matching model includes an algorithm for matching corresponding power saving execution projects according to input conditions.

2. The method for regulating power in a notebook computer power-off state according to claim 1, characterized in that: When receiving the power-off signal, the charger configuration information, charging resource information and the historical device status table are obtained, and charging guidance information is generated based on the current charger configuration information, charging resource information and device location information, including: When receiving the power-off signal, searching for the positioning signal of the positioning element corresponding to the charger, generating the corresponding charger configuration information based on the state of receiving the positioning signal, obtaining the charging resource information and the historical device status form, and extracting the device location information from the historical status form; Filtering the charging resource information based on the charger configuration information, generating charging guidance information based on the filtered charging resource information and device location information, and sending the information to the notification bar; The charger configuration information includes a charger in place state or a charger missing state.

3. The method for regulating power in a notebook computer power-off state according to claim 1, characterized in that: The power saving item matching model has several available power saving items built in, including display screen power saving, CPU power saving, GPU power saving, wireless connection power saving, audio power saving, and heat dissipation power saving, and each available power saving item is set with corresponding activation conditions; The matching of corresponding power saving execution items based on the remaining power of the device, the dynamic available time, the device operation information and the preset power saving item matching model includes: The remaining power of the device, the dynamic available time, and the device operation information are input as conditions into the power saving project matching model to determine whether the activation conditions of each available power saving project are met one by one; The available power saving items for which the activation conditions are met are set as power saving execution items.

4. The method for regulating power in a notebook computer power-off state according to claim 1, characterized in that: When the power saving execution item is display screen power saving, the power supply mode of the display component is detected, and when the display component in the charging state is not detected, the display screen setting items are executed in sequence, and the dynamic available time is updated, including: When the power saving execution item is to save power for the display screen, the power supply modes of all display components connected to the target device are detected; When the display component of the charging status is detected, the display function of the built-in display component of the target device is turned off, and the display data is sent to the display component of the charging status; When the display component in the charging state is not detected, each display setting item is executed in sequence, and after the execution of one display setting item is completed, the dynamic available time is updated; Re-match the corresponding power saving execution items based on the updated dynamic available time, remaining power of the device, device operation information and the preset power saving item matching model; The power supply mode includes an off-power state and a charging state; the display component in the charging state refers to a display component powered by a power source outside the target device.

5. The method for regulating power in a notebook computer power-off state according to claim 1, characterized in that: When there is an image with a contour edge of a color similar to the low-energy color in the display interface of the target device, a contour image is generated at the periphery of the edge of the image; The low-energy color is a color whose color scale values ​​of the three channels in the RGB value are all within 5% of the highest color scale value; the similar color is a color whose average color scale difference of the three channels in the RGB value is within 5% of the highest color scale value; the contour image is a pure color image whose color scale values ​​of the three channels in the RGB value are all within 30% of the highest color scale value; The color graying process can be selected from two processing modes: converting the image into a corresponding grayscale image, and covering the image with a pure color image of a low-energy consumption color.

6. A power regulation system for a notebook computer in an off-power state, characterized in that: The method for regulating power in the off-power state of the notebook computer according to any one of claims 1 to 5 comprises: The device status form generation module is used to obtain the remaining power of the target device, device operation information, device location information and collection time node based on the preset detection frequency to generate a historical device status form; The dynamic available time calculation module is used to obtain the charger configuration information, charging resource information and historical device status table when receiving the power-off signal, generate charging guidance information based on the current charger configuration information, charging resource information and device location information, input the current device remaining power and device operation information into the preset power consumption evaluation model, calculate the dynamic available time and display it; A power saving execution project matching module is used to match corresponding power saving execution projects based on the remaining power of the device, the dynamic available time, the device operation information and the preset power saving project matching model; The display screen power saving execution module is used to detect the power supply mode of the display component when the power saving execution item is display screen power saving, and when the display component in the charging state is not detected, execute the display screen setting items in sequence and update the dynamic available time; The display screen setting items include: Synchronously reduce the display size and display resolution of the display interface; Change the wallpaper of the target device to a preset low-energy color wallpaper; The display interface is partitioned according to different functional attributes to generate several functional areas, the functional areas that have not been functionally activated are grayed out, and the corresponding functional areas are functionally activated by controlling the position of the cursor on the display interface; The device operation information includes the power consumption setting information, charging power information, importance level of the running program, resource occupancy rate, and key information type of the target device; the charger is provided with a positioning element for the target device to identify; the charger equipment information refers to information used to determine whether the charger is near the target device; the charging resource information refers to information used to record the location information of several qualified power sources nearby that can be used to charge the target device; the power consumption evaluation model includes several algorithms for calculating the remaining available time of the target device's power according to input conditions; the power saving project matching model includes an algorithm for matching corresponding power saving execution projects according to input conditions.

7. The power regulation system for notebook computer in off-power state according to claim 6, characterized in that: The dynamic available time calculation module includes: The charger equipment information generation submodule is used to search for the positioning signal of the positioning element corresponding to the charger when receiving the power-off signal, generate the corresponding charger equipment information based on the state of receiving the positioning signal, obtain the charging resource information and the historical device status form, and extract the device location information from the historical status form; A charging guidance information generation submodule, used to filter the charging resource information based on the charger configuration information, generate charging guidance information based on the filtered charging resource information and device location information, and send it to the notification bar; The charger configuration information includes a charger in place state or a charger missing state.

8. The power regulation system for notebook computer in off-power state according to claim 6, characterized in that: The power saving execution project matching module includes: The available power-saving project judgment submodule is used to input the remaining power of the device, the dynamic available time and the device operation information as conditions into the power-saving project matching model, and judge whether the activation conditions of each available power-saving project meet the standards one by one; A power saving execution project setting submodule, used for setting available power saving projects that meet the activation conditions as power saving execution projects; The power saving item matching model has several available power saving items built in, including display screen power saving, CPU power saving, GPU power saving, wireless connection power saving, audio power saving, and heat dissipation power saving, and each available power saving item is set with corresponding activation conditions.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for regulating power in the off-power state of a laptop computer as claimed in any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for regulating power in an off-power state of a notebook computer as claimed in any one of claims 1 to 5 are implemented.