Method and apparatus for regulating power consumption

By acquiring the performance indicators of electronic devices and the interaction information of application modules, the operating parameters of business modules are dynamically adjusted, which solves the problem of the lack of flexibility in power consumption regulation strategies in existing technologies and achieves higher accuracy and personalized power consumption management.

CN122160570APending Publication Date: 2026-06-05BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2024-12-03
Publication Date
2026-06-05

Smart Images

  • Figure CN122160570A_ABST
    Figure CN122160570A_ABST
Patent Text Reader

Abstract

The embodiment of the present disclosure provides a kind of power consumption adjustment method and equipment, the method comprises: obtaining the performance index information of current electronic equipment and the interaction information of each service module in target application;According to the performance index information of current electronic equipment, the power consumption adjustment priority information of each service module is determined, and according to the interaction information of each service module in target application, the service correlation information of each service module is determined, wherein the power consumption adjustment priority information is used to represent the priority degree of the service module operating parameter needing to be adjusted, and the service correlation information is used to represent the influence degree of the operating parameter of the service module on the running of target application;According to power consumption adjustment priority information and service correlation information, the operating parameter of each service module of target application is adjusted.The method improves the accuracy of power consumption adjustment to target application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of Internet technology, and in particular to a method and device for regulating power consumption. Background Technology

[0002] With the rapid development of mobile short video applications, users have placed higher demands on application experience and device battery life, expecting to watch high-quality video content smoothly anytime, anywhere. However, due to differences in device capabilities, computing resources, battery life, and environment among users, existing power consumption adjustment strategies and user experience solutions are usually relatively simple and fixed, lacking flexibility and dynamic adjustment capabilities. Furthermore, existing technologies often rely on preset static configurations, resulting in low accuracy in power consumption adjustment. Summary of the Invention

[0003] This disclosure provides a power consumption adjustment method and apparatus, which improves the accuracy of power consumption adjustment for target applications.

[0004] In a first aspect, embodiments of this disclosure provide a method for adjusting power consumption, comprising:

[0005] Obtain performance metrics information of the current electronic device and interaction information of various business modules in the target application;

[0006] Based on the performance index information of the current electronic device, the power consumption adjustment priority information of each business module is determined, and based on the interaction information of each business module in the target application, the business correlation information of each business module is determined. The power consumption adjustment priority information is used to characterize the priority of adjusting the operating parameters of the business module, and the business correlation information is used to characterize the degree of impact of adjusting the operating parameters of the business module on the operation of the target application.

[0007] Based on the power consumption adjustment priority information and the service correlation information, the operating parameters of each service module of the target application are adjusted.

[0008] Secondly, embodiments of this disclosure provide a power consumption regulation device, comprising:

[0009] The acquisition unit is used to acquire the performance index information of the current electronic device and the interaction information of various business modules in the target application;

[0010] The determining unit is configured to determine the power consumption adjustment priority information of each service module based on the performance index information of the current electronic device, and to determine the service correlation information of each service module based on the interaction information of each service module in the target application, wherein the power consumption adjustment priority information is used to characterize the priority of adjusting the operating parameters of the service module, and the service correlation information is used to characterize the degree of impact of adjusting the operating parameters of the service module on the operation of the target application.

[0011] The adjustment unit is used to adjust the operating parameters of each service module of the target application according to the power consumption adjustment priority information and the service correlation information.

[0012] Thirdly, embodiments of this disclosure provide an electronic device, including: a processor and a memory;

[0013] The memory stores computer-executed instructions;

[0014] The processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the power consumption regulation method described in the first aspect and various possible designs of the first aspect.

[0015] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the power consumption adjustment method described in the first aspect and various possible designs of the first aspect.

[0016] Fifthly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the power consumption adjustment method described in the first aspect and various possible designs of the first aspect.

[0017] This embodiment provides a power consumption adjustment method and apparatus. The method includes: acquiring performance index information of a current electronic device and interaction information of various business modules in a target application; determining power consumption adjustment priority information for each business module based on the performance index information of the current electronic device; and determining business correlation information for each business module based on the interaction information of the various business modules in the target application. The power consumption adjustment priority information characterizes the priority of adjusting the operating parameters of the business modules, and the business correlation information characterizes the impact of adjusting the operating parameters of the business modules on the operation of the target application. The method further involves adjusting the operating parameters of each business module in the target application based on the power consumption adjustment priority information and the business correlation information. This technical solution improves the accuracy of power consumption adjustment by adjusting the operating parameters of each business module according to their respective power consumption adjustment priority information and business correlation information, thus refining the adjustment down to the power consumption of each individual business module. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A schematic diagram illustrating an application scenario of a power consumption adjustment method provided in this embodiment of the disclosure;

[0020] Figure 2 Flowchart of the power consumption adjustment method provided in the embodiments of this disclosure Figure 1 ;

[0021] Figure 3 A schematic diagram of the power consumption adjustment method provided in the embodiments of this disclosure. Figure 1 ;

[0022] Figure 4 A schematic diagram of the power consumption adjustment device provided in an embodiment of this disclosure;

[0023] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0025] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of related data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0026] With the rapid development of mobile short video applications, users have placed higher demands on application experience and device battery life, expecting to watch high-quality video content smoothly anytime, anywhere. However, due to differences in device capabilities, computing resources, battery life, and environment among users, existing power consumption adjustment strategies and user experience solutions are usually relatively simple and fixed, lacking flexibility and dynamic adjustment capabilities. Furthermore, existing technologies often rely on preset static configurations, resulting in low accuracy in power consumption adjustment.

[0027] Therefore, there is an urgent need for a comprehensive and effective technical solution to improve the accuracy of power consumption regulation.

[0028] To address the technical problems in existing technologies, the inventors' technical concept is as follows: First, acquire the performance index information of the current electronic device and the interaction information of various business modules in the target application. Second, based on the performance index information of the current electronic device, determine the power consumption adjustment priority information of each business module, and based on the interaction information of each business module in the target application, determine the business correlation information of each business module. The power consumption adjustment priority information characterizes the priority of adjusting the operating parameters of the business modules, and the business correlation information characterizes the impact of adjusting the operating parameters of the business modules on the operation of the target application. Finally, adjust the operating parameters of each business module of the target application based on the power consumption adjustment priority information and the business correlation information.

[0029] In this technical solution, the operating parameters of each business module are adjusted according to the power consumption adjustment priority information and business correlation information corresponding to each business module, and the power consumption of each business module is adjusted in detail, thus improving the accuracy of power consumption adjustment.

[0030] The application scenarios of the embodiments of this disclosure are explained below:

[0031] The power consumption adjustment method provided in this disclosure can be applied to various scenarios where power consumption of applications is adjusted. Figure 1 This diagram illustrates an application scenario of a power consumption adjustment method provided in an embodiment of this disclosure. Figure 1 As shown, the display terminal 101 sends performance index information of the electronic device and interaction information of various business modules in application A to the server 102. Based on the performance index information of the electronic device and the interaction information of various business modules in application A, the server 102 determines the operating parameters of each business module in application A using the power consumption adjustment method provided in this embodiment. The server 102 returns the operating parameters of each business module to the display terminal 101, and the display terminal 101 adjusts each business module in application A according to the operating parameters of each business module.

[0032] The following describes the specific implementation process of the power consumption adjustment method and device involved in the embodiments of this disclosure. Some examples are merely illustrative and not intended to limit the scope. The power consumption adjustment method involved in the embodiments of this disclosure is executed by an electronic device, such as a terminal or server.

[0033] Figure 2 Flowchart of the power consumption adjustment method provided in the embodiments of this disclosure Figure 1 ,like Figure 2 As shown, the power consumption adjustment method may include:

[0034] S201. Obtain the performance indicators of the current electronic device and the interaction information of various business modules in the target application.

[0035] In this embodiment of the disclosure, the performance indicator information of the electronic device can be any indicator representing the operating status of the electronic device. Optionally, the performance indicator information of the electronic device includes device status information and power consumption rate indicator. In some embodiments, the device status information includes multiple operating parameters, such as one or more of CPU utilization, battery consumption rate, battery temperature, and memory utilization.

[0036] For example, such as Figure 3 As shown, several operating parameters include CPU usage, memory usage, and battery temperature.

[0037] The target application can be any type of application, such as a short video application or a game application. To implement a specific function, the application needs to set up a corresponding business module within the display page. For example, in a short video application, the business module for the video upload function is the upload video button on the display page. It should be noted that this example does not specifically limit the position, shape, and animation effects of the upload video button. For example, the upload video button could be a rotating image animation.

[0038] The interaction information for a business module includes one or more of the following: click frequency, interaction frequency, and the volume of business processed through the module. For example, if the business module is an upload video button on the display page, its corresponding interaction information includes the click frequency of the upload video button and the number of videos uploaded through the upload video button.

[0039] For example, such as Figure 3 As shown, the interactive information of the business module includes click frequency and interaction frequency.

[0040] S202. Based on the performance index information of the current electronic device, determine the power consumption adjustment priority information of each business module, and based on the interaction information of each business module in the target application, determine the business correlation information of each business module. The power consumption adjustment priority information is used to characterize the priority of adjusting the operating parameters of the business module, and the business correlation information is used to characterize the degree of impact of adjusting the operating parameters of the business module on the operation of the target application.

[0041] In this embodiment of the disclosure, in order to improve the accuracy of the determined power consumption adjustment priority information, the final power consumption adjustment priority information can be determined from two perspectives: the impact of device performance indicators and the impact of device power consumption changes.

[0042] Optionally, the impact of device performance indicators can be represented by first power consumption adjustment priority information, and the impact of device power consumption changes can be represented by second power consumption adjustment priority information.

[0043] In some embodiments, the performance index information includes device status information and power consumption rate index; accordingly, based on the current electronic device's performance index information, the power consumption adjustment priority information of each service module is determined, including: for each service module, determining the first power consumption adjustment priority information of the service module based on the current electronic device's device status information, and determining the second power consumption adjustment priority information of the service module based on the current electronic device's power consumption rate index; and performing a weighted summation of the first power consumption adjustment priority information and the second power consumption adjustment priority information to obtain the power consumption adjustment priority information of the service module.

[0044] The calculation process for the first power consumption adjustment priority information and the second power consumption adjustment priority information is described below.

[0045] In this embodiment of the disclosure, the first power consumption adjustment priority information can be determined in a variety of ways, and the following three cases will be described in detail.

[0046] Scenario 1: Device status information includes multiple operating parameters. Each operating parameter corresponds to a weight. In this case, the first power consumption adjustment priority information can be determined using the following formula:

[0047] Formula 1:

[0048]

[0049] Where, x i w represents the i-th runtime parameter. i This represents the weight of the i-th running parameter; i is an integer, and 0≤i≤N, where N is the number of running parameters.

[0050] The second scenario: Considering that the impact on power consumption adjustment priority information increases significantly when operating parameters exceed a certain threshold. For example, when the battery heats up, the device's performance will be significantly affected when the temperature exceeds a certain value. Therefore, the logarithmic function in Formula 1 needs to reflect the impact of the input value exceeding a certain threshold.

[0051] In some embodiments, parameter thresholds corresponding to the running parameters can be added to adjust the logarithmic function in Formula 1, so as to reflect the impact of the input value exceeding a certain threshold.

[0052] Optionally, the device status information includes multiple operating parameters and parameter thresholds corresponding to each operating parameter; accordingly, based on the current device status information of the electronic device, the first power consumption adjustment priority information of the service module is determined, including: determining the first power consumption adjustment priority information of the service module based on the multiple operating parameters of the current electronic device, the parameter thresholds corresponding to each operating parameter, and the first priority information model; wherein, the multiple operating parameters include one or more of CPU utilization, battery consumption rate, battery temperature, and memory utilization.

[0053] The first priority information model is Equation 2, which is obtained by adjusting the logarithmic function in Equation 1. Specifically, it can be expressed as:

[0054]

[0055] Where, x i w represents the i-th runtime parameter. iThis represents the weight of the i-th running parameter; i is an integer, and 0 ≤ i ≤ N, where N is the number of running parameters. t represents the parameter threshold, and c and k are preset constants. For example, c = 5, k = 50.

[0056] It should be noted that the power consumption adjustment priority information increases rapidly before the operating parameters are lower than the threshold parameter t; and the power consumption adjustment priority information increases more slowly after the operating parameters are higher than the threshold parameter t.

[0057] The third scenario: In order to improve the accuracy of the calculation results, the value of the first priority information model can be scaled to a score between 0 and 100.

[0058] Optionally, after adjusting the above first priority information model, the final formula is:

[0059]

[0060] Where, x i w represents the i-th runtime parameter. i This represents the weight of the i-th running parameter; i is an integer, and 0≤i≤N, where N is the number of running parameters. t represents the parameter threshold, and c and k are preset constants.

[0061] In some embodiments, a second power consumption adjustment priority information can be determined using a second priority information model. Accordingly, determining the second power consumption adjustment priority information of the service module based on the current power consumption rate index of the electronic device includes: determining the second power consumption adjustment priority information of the service module based on the current power consumption rate index of the electronic device and the second priority information model; wherein the power consumption rate index includes one or more of the following: device usage frequency, device usage scenario, and battery capacity.

[0062] In some embodiments, the second power consumption adjustment priority information of the service module is determined based on the power consumption rate index of the current electronic device and the second priority information model, which can be expressed as:

[0063] f2=α*usage_frequency+γ*battery_capacity+δ*useage_scenario;

[0064] α+γ+δ=1

[0065] Where f2 represents the second power consumption adjustment priority information, usage_frequency represents the device usage frequency, battery_capacity represents the battery capacity, and usage_scenario represents the device usage scenario.

[0066] It should be noted that, in this embodiment of the disclosure, business relevance information can be determined by comprehensively considering both long-term interactive information and real-time interactive information.

[0067] In some embodiments, the interaction information includes multiple first interaction information within a first preset duration and multiple second interaction information within a second preset duration; the first preset duration is longer than the second preset duration. Accordingly, based on the interaction information of each business module in the target application, the business relevance information of each business module is determined, including the following steps (1) to (3):

[0068] (1) For each business module, determine the first business association information based on multiple first interaction information and first association information models.

[0069] Optionally, the first interactive information includes screen brightness, screen clarity, the volume of business processed by the business module, business completion rate, and business conversion rate. The business completion rate represents the proportion of a certain process completed, that is, the percentage of completed business transactions out of the total number of transactions. For example, if the business module is publishing short videos, the corresponding business completion rate is the percentage of successfully published short videos out of the total number of published short videos. The business conversion rate represents the proportion from initial contact to final conversion, that is, the percentage of completed business transactions out of the total number of displayed business pages. For example, if the business module is a mini-program, the corresponding business completion rate is the percentage of clicks on the mini-program out of the total number of mini-program displays.

[0070] In some embodiments, the first correlation information model is a preset deep learning model. The input layer of the deep learning model is: X = x1, x2, ..., x... n , where x i This refers to the original feature corresponding to the first interactive information.

[0071] For example, the first interactive information includes screen brightness, screen clarity, the amount of business processed by the business module, the business completion rate, and the business conversion rate. The input layer is X = x1, x2, x3, x4, x5, where x1 is the original feature corresponding to screen brightness, x2 is the original feature corresponding to screen clarity, x3 is the original feature corresponding to the amount of business processed by the business module, x4 is the original feature corresponding to the business completion rate, and x5 is the original feature corresponding to the business conversion rate.

[0072] Optionally, the steps for determining the first business relevance information using a deep learning model include:

[0073] S1. For each input feature x i The deep learning model maps the data to a higher-order space through its embedding layer, and determines the attention weight for each input feature using an attention mechanism:

[0074]

[0075] Where n represents the number of first interactive messages, α i Represents attention weight, e i Represents the original feature x i The feature vector mapped to the higher-order space. a w a These are trainable parameters in the attention mechanism.

[0076] S2. Use attention weights to perform a weighted summation of the feature vectors to obtain the weighted feature Z.

[0077]

[0078] S3. The weighted feature Z is concatenated with the original feature to form the comprehensive feature h.

[0079] h = [Z, x1, x2, ..., x n ]

[0080] S4. The synthesized features are processed through several fully connected layers:

[0081] h1 = σ(W1h + b1)

[0082] h2=σ(W1h1+b2)

[0083] ...

[0084] h k =σ(W k h k-1 +b k )

[0085] Where Wi and bi are the trainable parameters of the (i)th layer, and σ is the activation function.

[0086] S5. Finally, a fully connected layer is used to output the predicted value of business relevance (i.e., the first business relevance information):

[0087] y = sigmoid(W o h k +b o )

[0088] Where Wo and bo are trainable parameters of the output layer, and sigmoid is the sigmoid activation function.

[0089] (2) Determine the second business-related information based on multiple second interactive information and second related information models.

[0090] Optionally, the second interaction information includes click frequency, dwell time, and interaction frequency. The second correlation information model is a weighted sum of click frequency, dwell time, and interaction frequency.

[0091] (3) The first business correlation information and the second business correlation information are weighted and summed to obtain the business correlation information of the business module.

[0092] Optionally, the first business relevance information and the second business relevance information are weighted and summed to obtain the business relevance information of the business module, including: determining the business relevance information of the business module based on the first business relevance information, the second business relevance information, and the following formula two:

[0093] Formula 2: acore = γ*f1 + δ*f2;

[0094] Where f1 represents the first business relevance information, f2 represents the second business relevance information, and γ and δ are weighting factors.

[0095] S203. Adjust the operating parameters of each business module of the target application according to the power consumption adjustment priority information and business correlation information.

[0096] In this embodiment of the disclosure, the service priority score and service relevance score of each service module can be determined based on power consumption adjustment priority information and service relevance information. The operating parameters of each service module of the target application can then be adjusted using these scores. Accordingly, this step may include the following steps (1) to (3):

[0097] (1) For each service module, determine the service priority score for adjusting the operating parameters of the service module based on the power consumption adjustment priority information.

[0098] The following describes the methods for determining business priority scores and business relevance scores:

[0099] In some embodiments, determining the service priority score of adjusting the operating parameters of the service module based on power consumption adjustment priority information includes: determining the power consumption reduction value of adjusting the operating parameters of the service module; and determining the service priority score of adjusting the operating parameters of the service module based on the power consumption reduction value, power consumption adjustment priority information, and service priority score model.

[0100] It should be noted that when the power consumption adjustment priority information is extremely low, the service priority score corresponding to the same power saving will inevitably be much lower than the service priority score corresponding to the power consumption adjustment priority information is extremely high.

[0101] In some embodiments, in order to more accurately simulate the impact of power consumption adjustment priority information on service priority score, the service priority score model can correspond to different score functions for different power consumption adjustment priority information ranges.

[0102] Optionally, the business priority scoring model includes linear segment functions, quadratic polynomial segment functions, and exponential segment functions.

[0103]

[0104] b2=a1+2a2θ low ;

[0105] c2=k2-(a2θ low 2 +b2θ low );

[0106] k2=k1+a1θ low +b1ΔP);

[0107] k3=k2+a2θ high 2 +b2θ high +c2+b1

[0108]

[0109] b3 = b1;

[0110] Where k1, a1, a2, b1 are preset constants, and θ low For the first preset score, θ high This is the second preset score.

[0111] (2) Based on the business relevance information, determine the business relevance score of adjusting the operating parameters of the business module.

[0112] In some embodiments, determining the business relevance score of adjusting the operating parameters of a business module based on business relevance information includes: determining the business relevance score of adjusting the operating parameters of a business module based on the product of the business relevance weight of the business module and the business relevance information.

[0113] Optionally, the business relevance weight of a business module can be a preset weight. Alternatively, the business completion rate and business conversion rate of the business module can also be obtained, and the business relevance weight of the business module can be determined based on the business completion rate and / or business conversion rate. It should be noted that the higher the value of the business completion rate and / or business conversion rate, the higher the value of the business relevance weight of that business module.

[0114] The business completion rate represents the proportion of a specific process completed, that is, the percentage of completed business transactions out of the total number of transactions. For example, if the business module is publishing short videos, the corresponding business completion rate is the percentage of successfully published short videos out of the total number of published short videos. The business conversion rate represents the proportion from initial contact to final conversion, that is, the percentage of completed business transactions out of the total number of impressions. For example, if the business module is a mini-program, the corresponding business completion rate is the percentage of clicks on the mini-program out of the total number of mini-program impressions.

[0115] (3) Adjust the operating parameters of the business modules based on the business priority score and business relevance score.

[0116] In some embodiments, this step may include: determining the total score of the business priority score and the business relevance score; if the total score is greater than a preset score threshold, adjusting the operating parameters of the business module; if the total score is not greater than the preset score threshold, not adjusting the operating parameters of the business module.

[0117] This disclosure provides a power consumption adjustment method: First, it acquires the performance index information of the current electronic device and the interaction information of various business modules in the target application. Second, based on the performance index information of the current electronic device, it determines the power consumption adjustment priority information of each business module, and based on the interaction information of each business module in the target application, it determines the business correlation information of each business module. The power consumption adjustment priority information characterizes the priority of adjusting the operating parameters of the business modules, and the business correlation information characterizes the impact of adjusting the operating parameters of the business modules on the operation of the target application. Finally, it adjusts the operating parameters of each business module of the target application based on the power consumption adjustment priority information and the business correlation information. In this technical solution, since the power consumption of each business module of the target application is adjusted according to the power consumption adjustment priority information and the business correlation information, i.e., the power consumption is adjusted down to the level of each business module, the accuracy of power consumption adjustment is improved.

[0118] Figure 4 This is a schematic diagram of the power consumption adjustment device provided in an embodiment of the present disclosure, as shown below. Figure 4 As shown, the power consumption regulation device includes:

[0119] The acquisition unit 401 is used to acquire the performance index information of the current electronic device and the interaction information of each business module in the target application;

[0120] The determining unit 402 is used to determine the power consumption adjustment priority information of each service module based on the performance index information of the current electronic device, and to determine the service correlation information of each service module based on the interaction information of each service module in the target application. The power consumption adjustment priority information is used to characterize the priority of adjusting the operating parameters of the service module, and the service correlation information is used to characterize the degree of impact of adjusting the operating parameters of the service module on the operation of the target application.

[0121] The adjustment unit 403 is used to adjust the operating parameters of each service module of the target application according to the power consumption adjustment priority information and the service correlation information.

[0122] According to one or more embodiments of this disclosure, the performance index information includes device status information and power consumption rate index; accordingly, the determining unit 402 determines the power consumption adjustment priority information of each service module based on the performance index information of the current electronic device, including: for each service module, determining the first power consumption adjustment priority information of the service module based on the device status information of the current electronic device, and determining the second power consumption adjustment priority information of the service module based on the power consumption rate index of the current electronic device; and performing a weighted summation of the first power consumption adjustment priority information and the second power consumption adjustment priority information to obtain the power consumption adjustment priority information of the service module.

[0123] According to one or more embodiments of this disclosure, the device status information includes multiple operating parameters and parameter thresholds corresponding to each operating parameter; correspondingly, the determining unit 402 determines the first power consumption adjustment priority information of the service module based on the device status information of the current electronic device, including: determining the first power consumption adjustment priority information of the service module based on the multiple operating parameters of the current electronic device, the parameter thresholds corresponding to each operating parameter, and the first priority information model; wherein, the multiple operating parameters include one or more of CPU utilization, battery consumption rate, battery temperature, and memory utilization.

[0124] According to one or more embodiments of this disclosure, the determining unit 402 determines the second power consumption adjustment priority information of the service module based on the power consumption rate index of the current electronic device, including: determining the second power consumption adjustment priority information of the service module based on the power consumption rate index of the current electronic device and the second priority information model; wherein, the power consumption rate index includes one or more of the following: device usage frequency, device usage scenario, and battery capacity.

[0125] According to one or more embodiments of this disclosure, the interactive information includes multiple first interactive information and multiple second interactive information; correspondingly, the determining unit 402 determines the business relevance information of each business module based on the interactive information of each business module in the target application, including: for each business module, determining first business relevance information based on the multiple first interactive information and the first business relevance information model, and determining second business relevance information based on the multiple second interactive information and the second business relevance information model, and performing a weighted summation of the first business relevance information and the second business relevance information to obtain the business relevance information of the business module; wherein, the first interactive information includes the business volume processed by the business module within a first preset duration, the second interactive information includes the click frequency and interaction frequency within a second preset duration, and the first preset duration is longer than the second preset duration.

[0126] According to one or more embodiments of this disclosure, the adjustment unit 403 adjusts the operating parameters of each service module of the target application based on the power consumption adjustment priority information and the service relevance information, including: for each service module, determining a service priority score for adjusting the operating parameters of the service module based on the power consumption adjustment priority information; and determining a service relevance score for adjusting the operating parameters of the service module based on the service relevance information; and adjusting the operating parameters of the service module based on the service priority score and the service relevance score.

[0127] According to one or more embodiments of this disclosure, the adjustment unit 403 determines a service priority score for adjusting the operating parameters of the service module based on the power consumption adjustment priority information, including: determining a power consumption reduction value for adjusting the operating parameters of the service module; and determining a service priority score for adjusting the operating parameters of the service module based on the power consumption reduction value, the power consumption adjustment priority information, and the service priority score model.

[0128] According to one or more embodiments of this disclosure, the adjustment unit 403 determines a business relevance score for adjusting the operating parameters of the business module based on the business relevance information, including: obtaining the business completion rate and business conversion rate of the business module; determining the business relevance weight of the business module based on the business completion rate and the business conversion rate; and determining the business relevance score for adjusting the operating parameters of the business module based on the product of the business relevance weight and the business relevance information.

[0129] According to one or more embodiments of this disclosure, the adjustment unit 403 adjusts the operating parameters of the business module based on the business priority score and the business relevance score, including: determining the total score of the business priority score and the business relevance score; if the total score is greater than a preset score threshold, then the operating parameters of the business module are adjusted; if the total score is not greater than the preset score threshold, then the operating parameters of the business module are not adjusted.

[0130] refer to Figure 5 The diagram illustrates a structural schematic of an electronic device 500 suitable for implementing embodiments of the present disclosure. The electronic device 500 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablet computers, portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0131] like Figure 5 As shown, the electronic device 500 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device 500. The processing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0132] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5An electronic device 500 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0133] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, it performs the functions defined in the methods of embodiments of this disclosure.

[0134] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer 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), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0135] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0136] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.

[0137] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0138] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0139] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".

[0140] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0141] In a first aspect, according to one or more embodiments of this disclosure, a method for regulating power consumption is provided, comprising:

[0142] Obtain performance metrics information of the current electronic device and interaction information of various business modules in the target application;

[0143] Based on the performance index information of the current electronic device, the power consumption adjustment priority information of each business module is determined, and based on the interaction information of each business module in the target application, the business correlation information of each business module is determined. The power consumption adjustment priority information is used to characterize the priority of adjusting the operating parameters of the business module, and the business correlation information is used to characterize the degree of impact of adjusting the operating parameters of the business module on the operation of the target application.

[0144] Based on the power consumption adjustment priority information and the service correlation information, the operating parameters of each service module of the target application are adjusted.

[0145] According to one or more embodiments of this disclosure, the performance index information includes device status information and power consumption rate index; correspondingly, determining the power consumption adjustment priority information of each service module based on the performance index information of the current electronic device includes: for each service module, determining a first power consumption adjustment priority information of the service module based on the device status information of the current electronic device, and determining a second power consumption adjustment priority information of the service module based on the power consumption rate index of the current electronic device; and performing a weighted summation of the first power consumption adjustment priority information and the second power consumption adjustment priority information to obtain the power consumption adjustment priority information of the service module.

[0146] According to one or more embodiments of this disclosure, the device status information includes multiple operating parameters and a parameter threshold corresponding to each operating parameter; correspondingly, determining the first power consumption adjustment priority information of the service module based on the device status information of the current electronic device includes: determining the first power consumption adjustment priority information of the service module based on the multiple operating parameters of the current electronic device, the parameter threshold corresponding to each operating parameter, and a first priority information model; wherein, the multiple operating parameters include one or more of CPU utilization, battery consumption rate, battery temperature, and memory utilization.

[0147] According to one or more embodiments of this disclosure, determining the second power consumption adjustment priority information of the service module based on the power consumption rate index of the current electronic device includes: determining the second power consumption adjustment priority information of the service module based on the power consumption rate index of the current electronic device and a second priority information model; wherein the power consumption rate index includes one or more of the following: device usage frequency, device usage scenario, and battery capacity.

[0148] According to one or more embodiments of this disclosure, the interactive information includes a plurality of first interactive information and a plurality of second interactive information; correspondingly, determining the business relevance information of each business module based on the interactive information of each business module in the target application includes: for each business module, determining first business relevance information based on the plurality of first interactive information and a first business relevance information model, and determining second business relevance information based on the plurality of second interactive information and a second business relevance information model, and performing a weighted summation of the first business relevance information and the second business relevance information to obtain the business relevance information of the business module; wherein, the first interactive information includes the business volume processed by the business module within a first preset duration, the second interactive information includes the click frequency and interaction frequency within a second preset duration, and the first preset duration is longer than the second preset duration.

[0149] According to one or more embodiments of this disclosure, adjusting the operating parameters of each service module of the target application based on the power consumption adjustment priority information and the service relevance information includes: for each service module, determining a service priority score for adjusting the operating parameters of the service module based on the power consumption adjustment priority information; and determining a service relevance score for adjusting the operating parameters of the service module based on the service relevance information; and adjusting the operating parameters of the service module based on the service priority score and the service relevance score.

[0150] According to one or more embodiments of this disclosure, determining the service priority score for adjusting the operating parameters of the service module based on the power consumption adjustment priority information includes: determining a power consumption reduction value for adjusting the operating parameters of the service module; and determining the service priority score for adjusting the operating parameters of the service module based on the power consumption reduction value, the power consumption adjustment priority information, and the service priority score model.

[0151] According to one or more embodiments of this disclosure, determining the business relevance score for adjusting the operating parameters of the business module based on the business relevance information includes: obtaining the business completion rate and business conversion rate of the business module; determining the business relevance weight of the business module based on the business completion rate and the business conversion rate; and determining the business relevance score for adjusting the operating parameters of the business module based on the product of the business relevance weight and the business relevance information.

[0152] According to one or more embodiments of this disclosure, adjusting the operating parameters of the business module based on the business priority score and the business relevance score includes: determining the total score of the business priority score and the business relevance score; if the total score is greater than a preset score threshold, then adjusting the operating parameters of the business module; if the total score is not greater than the preset score threshold, then not adjusting the operating parameters of the business module.

[0153] Secondly, according to one or more embodiments of this disclosure, a power consumption regulating device is provided, comprising:

[0154] The acquisition unit is used to acquire the performance index information of the current electronic device and the interaction information of various business modules in the target application;

[0155] The determining unit is configured to determine the power consumption adjustment priority information of each service module based on the performance index information of the current electronic device, and to determine the service correlation information of each service module based on the interaction information of each service module in the target application, wherein the power consumption adjustment priority information is used to characterize the priority of adjusting the operating parameters of the service module, and the service correlation information is used to characterize the degree of impact of adjusting the operating parameters of the service module on the operation of the target application.

[0156] The adjustment unit is used to adjust the operating parameters of each service module of the target application according to the power consumption adjustment priority information and the service correlation information.

[0157] According to one or more embodiments of this disclosure, the performance index information includes device status information and power consumption rate index; correspondingly, the determining unit determines the power consumption adjustment priority information of each service module based on the performance index information of the current electronic device, including: for each service module, determining the first power consumption adjustment priority information of the service module based on the device status information of the current electronic device, and determining the second power consumption adjustment priority information of the service module based on the power consumption rate index of the current electronic device; and performing a weighted summation of the first power consumption adjustment priority information and the second power consumption adjustment priority information to obtain the power consumption adjustment priority information of the service module.

[0158] According to one or more embodiments of this disclosure, the device status information includes multiple operating parameters and a parameter threshold corresponding to each operating parameter; correspondingly, the determining unit determines the first power consumption adjustment priority information of the service module based on the device status information of the current electronic device, including: determining the first power consumption adjustment priority information of the service module based on the multiple operating parameters of the current electronic device, the parameter threshold corresponding to each operating parameter, and a first priority information model; wherein, the multiple operating parameters include one or more of CPU utilization, battery consumption rate, battery temperature, and memory utilization.

[0159] According to one or more embodiments of this disclosure, the determining unit determines the second power consumption adjustment priority information of the service module based on the power consumption rate index of the current electronic device, including: determining the second power consumption adjustment priority information of the service module based on the power consumption rate index of the current electronic device and the second priority information model; wherein, the power consumption rate index includes one or more of the following: device usage frequency, device usage scenario, and battery capacity.

[0160] According to one or more embodiments of this disclosure, the interactive information includes multiple first interactive information and multiple second interactive information; correspondingly, the determining unit determines the business relevance information of each business module based on the interactive information of each business module in the target application, including: for each business module, determining first business relevance information based on the multiple first interactive information and a first business relevance information model, and determining second business relevance information based on the multiple second interactive information and a second business relevance information model, and performing a weighted summation of the first business relevance information and the second business relevance information to obtain the business relevance information of the business module; wherein, the first interactive information includes the business volume processed by the business module within a first preset duration, the second interactive information includes the click frequency and interaction frequency within a second preset duration, and the first preset duration is longer than the second preset duration.

[0161] According to one or more embodiments of this disclosure, the adjustment unit adjusts the operating parameters of each service module of the target application based on the power consumption adjustment priority information and the service relevance information, including: for each service module, determining a service priority score for adjusting the operating parameters of the service module based on the power consumption adjustment priority information; and determining a service relevance score for adjusting the operating parameters of the service module based on the service relevance information; and adjusting the operating parameters of the service module based on the service priority score and the service relevance score.

[0162] According to one or more embodiments of this disclosure, the adjustment unit determines a service priority score for adjusting the operating parameters of the service module based on the power consumption adjustment priority information, including: determining a power consumption reduction value for adjusting the operating parameters of the service module; and determining a service priority score for adjusting the operating parameters of the service module based on the power consumption reduction value, the power consumption adjustment priority information, and the service priority score model.

[0163] According to one or more embodiments of this disclosure, the adjustment unit determines a business relevance score for adjusting the operating parameters of the business module based on the business relevance information, including: obtaining the business completion rate and business conversion rate of the business module; determining the business relevance weight of the business module based on the business completion rate and the business conversion rate; and determining the business relevance score for adjusting the operating parameters of the business module based on the product of the business relevance weight and the business relevance information.

[0164] According to one or more embodiments of this disclosure, the adjustment unit adjusts the operating parameters of the business module based on the business priority score and the business relevance score, including: determining the total score of the business priority score and the business relevance score; if the total score is greater than a preset score threshold, then the operating parameters of the business module are adjusted; if the total score is not greater than the preset score threshold, then the operating parameters of the business module are not adjusted.

[0165] Thirdly, according to one or more embodiments of the present disclosure, an electronic device is provided, comprising: at least one processor and a memory;

[0166] The memory stores computer-executed instructions;

[0167] The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the power consumption regulation method described in the first aspect and various possible designs of the first aspect.

[0168] Fourthly, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein computer-executable instructions are stored therein, and when a processor executes the computer-executable instructions, the power consumption adjustment method described in the first aspect and various possible designs of the first aspect is implemented.

[0169] Fifthly, according to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the power consumption regulation method as described in the first aspect and various possible designs of the first aspect.

[0170] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0171] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0172] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A method for adjusting power consumption, characterized in that, include: Obtain performance metrics information of the current electronic device and interaction information of various business modules in the target application; Based on the performance index information of the current electronic device, the power consumption adjustment priority information of each business module is determined, and based on the interaction information of each business module in the target application, the business correlation information of each business module is determined. The power consumption adjustment priority information is used to characterize the priority of adjusting the operating parameters of the business module, and the business correlation information is used to characterize the degree of impact of adjusting the operating parameters of the business module on the operation of the target application. Based on the power consumption adjustment priority information and the service correlation information, the operating parameters of each service module of the target application are adjusted.

2. The method according to claim 1, characterized in that, The performance metrics information includes device status information and power consumption rate metrics; Accordingly, determining the power consumption adjustment priority information of each service module based on the performance index information of the current electronic device includes: For each service module, a first power consumption adjustment priority information for the service module is determined based on the device status information of the current electronic device, and a second power consumption adjustment priority information for the service module is determined based on the power consumption rate index of the current electronic device. The power consumption adjustment priority information of the service module is obtained by weighted summation of the first power consumption adjustment priority information and the second power consumption adjustment priority information.

3. The method according to claim 2, characterized in that, The device status information includes multiple operating parameters and the parameter threshold corresponding to each operating parameter; Accordingly, determining the first power consumption adjustment priority information of the service module based on the current device status information of the electronic device includes: Based on multiple operating parameters of the current electronic device, the parameter threshold corresponding to each operating parameter, and the first priority information model, the first power consumption adjustment priority information of the service module is determined; The plurality of operating parameters include one or more of the following: CPU utilization, battery consumption rate, battery temperature, and memory utilization.

4. The method according to claim 2, characterized in that, The step of determining the second power consumption adjustment priority information of the service module based on the power consumption rate index of the current electronic device includes: Based on the power consumption rate index and the second priority information model of the current electronic device, determine the second power consumption adjustment priority information of the service module; The power consumption rate indicator includes one or more of the following: device usage frequency, device usage scenario, and battery capacity.

5. The method according to claim 1, characterized in that, The interactive information includes multiple first interactive information and multiple second interactive information; Accordingly, determining the business correlation information of each business module based on the interaction information of each business module in the target application includes: For each business module, first business association information is determined based on the plurality of first interaction information and the first business association information model, and second business association information is determined based on the plurality of second interaction information and the second business association information model; The first business association information and the second business association information are weighted and summed to obtain the business association information of the business module; The first interactive information includes the business volume processed by the business module within a first preset time period, and the second interactive information includes the click frequency and interaction frequency within a second preset time period, wherein the first preset time period is longer than the second preset time period.

6. The method according to claim 1, characterized in that, The step of adjusting the operating parameters of each service module of the target application according to the power consumption adjustment priority information and the service correlation information includes: For each service module, a service priority score for adjusting the operating parameters of the service module is determined based on the power consumption adjustment priority information; and a service relevance score for adjusting the operating parameters of the service module is determined based on the service correlation information. The operating parameters of the business module are adjusted based on the business priority score and the business relevance score.

7. The method according to claim 6, characterized in that, The step of determining the service priority score for adjusting the operating parameters of the service module based on the power consumption adjustment priority information includes: Determine the power consumption reduction value by adjusting the operating parameters of the service module; Based on the power consumption reduction value, the power consumption adjustment priority information, and the service priority scoring model, the service priority score for adjusting the operating parameters of the service module is determined.

8. The method according to claim 6, characterized in that, The step of determining the business relevance score for adjusting the operating parameters of the business module based on the business relevance information includes: Obtain the business completion rate and business conversion rate of the business module, and determine the business relevance weight of the business module based on the business completion rate and the business conversion rate; The business relevance score for adjusting the operating parameters of the business module is determined based on the product of the business relevance weight and the business association information.

9. The method according to claim 6, characterized in that, The step of adjusting the operating parameters of the business module based on the business priority score and the business relevance score includes: Determine the total score of the business priority score and the business relevance score; If the total score is greater than a preset score threshold, the operating parameters of the business module are adjusted; if the total score is not greater than the preset score threshold, the operating parameters of the business module are not adjusted.

10. A power consumption regulating device, characterized in that, The device includes: The acquisition unit is used to acquire the performance index information of the current electronic device and the interaction information of various business modules in the target application; The determining unit is configured to determine the power consumption adjustment priority information of each service module based on the performance index information of the current electronic device, and to determine the service correlation information of each service module based on the interaction information of each service module in the target application, wherein the power consumption adjustment priority information is used to characterize the priority of adjusting the operating parameters of the service module, and the service correlation information is used to characterize the degree of impact of adjusting the operating parameters of the service module on the operation of the target application. The adjustment unit is used to adjust the operating parameters of each service module of the target application according to the power consumption adjustment priority information and the service correlation information.

11. An electronic device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the power consumption adjustment method as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by the processor, implement the power consumption adjustment method as described in any one of claims 1 to 9.

13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the power consumption adjustment method as described in any one of claims 1 to 9.