Low-power running method and device applied to chip, chip and storage medium

By identifying and filtering high-power, low-computation-critical function information of the chip's thread pool and constructing an auxiliary thread pool, the problem of high chip power consumption was solved, achieving the effect of reducing chip power consumption without reducing data processing volume.

CN117873304BActive Publication Date: 2026-11-24SOUTHERN POWER GRID DIGITAL GRID RESEARCH INSTITUTE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311855791.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2026-11-24
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

How can we reduce the operating power consumption of integrated circuit chips while ensuring that the amount of data processed by the chip remains unchanged, in order to solve the problems of high loss rate and shortened lifespan of integrated circuit chips?

Method used

By acquiring the chip's thread pool and historical data, functional information is identified, a simulation running model is built, high-power, low-computation-critical functional information is filtered out, and an auxiliary thread pool is built to configure target functional information to reduce chip power consumption.

Benefits of technology

Without affecting the chip's computing efficiency, the unit operating power consumption of the chip is effectively reduced, thus increasing the degree of power consumption reduction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117873304B_ABST
    Figure CN117873304B_ABST
Patent Text Reader

Abstract

This application relates to a low-power operation method, apparatus, chip, storage medium, and computer program product applied to chips, and pertains to the field of chip technology. This application can reduce the unit operating power consumption of each chip and improve the degree of power consumption reduction. The method includes: acquiring the chip's thread pool and its historical data and functional information; determining the computational criticality of each functional information in the thread pool; determining the power consumption information of each functional information in the thread pool based on historical data and simulation operation models, and selecting target functional information from the functional information based on the power consumption information and computational criticality of each functional information; constructing an auxiliary thread pool corresponding to the thread pool according to the thread parameter information and target functional information of the thread pool; configuring the target functional information in the auxiliary thread pool, and establishing the association between the auxiliary thread pool and the chip.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of chip technology, and in particular to a low-power operation method, apparatus, chip, storage medium and computer program product for use in chips. Background Technology

[0002] With the rapid development of integrated circuit chips, their operating efficiency is increasing daily. However, as computing efficiency accelerates, the amount of data processed per unit time also increases significantly, leading to a sharp rise in chip power consumption. This results in increased chip wear rate and a significantly shortened chip lifespan. Therefore, how to reduce chip power consumption while ensuring that the chip's data processing capacity remains unchanged is a current research focus.

[0003] In traditional technology, chip power consumption is reduced by decreasing the amount of data processed per unit time and sorting the data. This reduces the chip's operating power consumption. However, while reducing operating power consumption, the amount of data processed per unit time also decreases, resulting in a relatively high level of power consumption even while ensuring chip operating efficiency. Summary of the Invention

[0004] Therefore, it is necessary to provide a low-power operation method, apparatus, chip, computer-readable storage medium, and computer program product for use with chips to address the aforementioned technical problems.

[0005] Firstly, this application provides a low-power operation method for a chip. The method includes:

[0006] Obtain the chip's thread pool and the historical data information of the thread pool, and identify the functional information corresponding to the thread pool;

[0007] Determine the computational criticality of each function information in the thread pool, and construct the simulation running model corresponding to the chip;

[0008] Based on the historical data and simulation model, the power consumption information of each function of the thread pool is determined, and the target function information is selected from each function based on the power consumption information and the computational criticality of each function.

[0009] Based on the thread parameter information of the thread pool and the target function information, construct an auxiliary thread pool corresponding to the thread pool;

[0010] The target function information is configured in the auxiliary thread pool, and the association between the auxiliary thread pool and the chip is established.

[0011] In one embodiment, determining the computational criticality of each functional information of the thread pool includes:

[0012] The algorithm identifies the operation method, operation efficiency, and operation program information of each functional information; it sorts the functional information by efficiency based on the operation efficiency of each functional information to obtain an efficiency sequence of each functional information; it identifies the operation difficulty of each functional information based on the operation method of each functional information; it identifies the data processing criticality of each functional information based on the operation program information of each functional information; and it determines the operation criticality of each functional information in the thread pool based on the efficiency sequence, operation difficulty, and data processing criticality of each functional information.

[0013] In one embodiment, determining the power consumption information for each function of the thread pool based on the historical data and simulation model includes:

[0014] Identify the data processing tasks corresponding to the historical data information and the functional information corresponding to each data processing task; for each functional information, based on the historical data information of the data processing task corresponding to the functional information, simulate the process of the chip processing the historical data information through the simulation running model to obtain the data processing process information of the historical data information; identify the power consumption distribution information of each data processing process information, and filter out the maximum power consumption information in the power consumption distribution information as the sub-power consumption information corresponding to each data processing process information; average all sub-power consumption information to obtain the power consumption information of the functional information.

[0015] In one embodiment, the step of filtering target function information from the function information based on the power consumption information and the computational criticality of each function information includes:

[0016] Among the various functional information, functional information with power consumption greater than the power consumption threshold is selected as the first functional information, and functional information with computational criticality less than the computational criticality threshold is selected as the second functional information; functional information belonging to both the first functional information and the second functional information is selected as the target functional information.

[0017] In one embodiment, constructing an auxiliary thread pool corresponding to the thread pool based on the thread parameter information of the thread pool and the target function information includes:

[0018] Obtain a sample thread pool; obtain the thread pool requirement information corresponding to each of the target function information, and determine the target thread parameter information applicable to all thread pool requirement information; based on the thread parameter information and the target thread parameter information, adjust the thread parameter information of the sample thread pool to obtain the auxiliary thread pool corresponding to the thread pool.

[0019] In one embodiment, configuring the target function information in the auxiliary thread pool and establishing the association between the auxiliary thread pool and the chip includes:

[0020] Identify the execution program for each target function information and configure the execution program for each target function information into the auxiliary thread pool; shut down the execution programs for each target function information in the thread pool; obtain the target power consumption value of the chip, and based on the target power consumption value, establish a switching strategy for the operating mode of the chip and establish an activation strategy for each target function information in the auxiliary thread pool to obtain the association relationship between the auxiliary thread pool and the chip.

[0021] In one embodiment, after establishing the association between the auxiliary thread pool and the chip, the method further includes:

[0022] The current power consumption of the chip is detected, and if the current power consumption is greater than the target power consumption, the chip's operating mode is changed to the target operating mode; the processing process of the current data information being processed by the chip is identified, and based on the chip's target thread pool and target auxiliary thread pool, the current data information is processed collaboratively to obtain the data processing result of the current data information.

[0023] Secondly, this application also provides a low-power operating device for a chip. The device includes:

[0024] The information acquisition module is used to acquire the chip's thread pool and the historical data information of the thread pool, and to identify the functional information corresponding to the thread pool;

[0025] The model building module is used to determine the computational criticality of each functional information of the thread pool and to build the simulation running model corresponding to the chip.

[0026] The information filtering module is used to determine the power consumption information of each function information of the thread pool based on the historical data information and the simulation operation model, and to filter out target function information from each function information based on the power consumption information and the computational criticality of each function information.

[0027] An auxiliary application module is used to construct an auxiliary thread pool corresponding to the thread pool based on the thread parameter information of the thread pool and the target function information.

[0028] The association establishment module is used to configure the target function information in the auxiliary thread pool and establish the association between the auxiliary thread pool and the chip.

[0029] Thirdly, this application also provides a chip. The chip includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0030] The process involves: acquiring the chip's thread pool and its historical data, identifying the corresponding functional information of the thread pool; determining the computational criticality of each functional information of the thread pool, and constructing a simulation model corresponding to the chip; determining the power consumption information of each functional information of the thread pool based on the historical data and the simulation model, and selecting target functional information from the functional information based on the power consumption information and the computational criticality of each functional information; constructing an auxiliary thread pool corresponding to the thread pool based on the thread parameter information of the thread pool and the target functional information; configuring the target functional information in the auxiliary thread pool, and establishing the association between the auxiliary thread pool and the chip.

[0031] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0032] The process involves: acquiring the chip's thread pool and its historical data, identifying the corresponding functional information of the thread pool; determining the computational criticality of each functional information of the thread pool, and constructing a simulation model corresponding to the chip; determining the power consumption information of each functional information of the thread pool based on the historical data and the simulation model, and selecting target functional information from the functional information based on the power consumption information and the computational criticality of each functional information; constructing an auxiliary thread pool corresponding to the thread pool based on the thread parameter information of the thread pool and the target functional information; configuring the target functional information in the auxiliary thread pool, and establishing the association between the auxiliary thread pool and the chip.

[0033] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0034] The process involves: acquiring the chip's thread pool and its historical data, identifying the corresponding functional information of the thread pool; determining the computational criticality of each functional information of the thread pool, and constructing a simulation model corresponding to the chip; determining the power consumption information of each functional information of the thread pool based on the historical data and the simulation model, and selecting target functional information from each functional information based on the power consumption information and the computational criticality of each functional information; constructing an auxiliary thread pool corresponding to the thread pool based on the thread parameter information of the thread pool and the target functional information; configuring the target functional information in the auxiliary thread pool, and establishing the association between the auxiliary thread pool and the chip.

[0035] The aforementioned low-power operation method, apparatus, chip, storage medium, and computer program product applied to chips acquire the chip's thread pool and historical data information of the thread pool, and identify the functional information corresponding to the thread pool; determine the computational criticality of each functional information in the thread pool, and construct a simulation operation model corresponding to the chip; based on the historical data information and the simulation operation model, determine the power consumption information of each functional information in the thread pool, and based on the power consumption information and computational criticality of each functional information, select target functional information from each functional information; construct an auxiliary thread pool corresponding to the thread pool according to the thread parameter information and target functional information; configure the target functional information in the auxiliary thread pool, and establish the association between the auxiliary thread pool and the chip. In this way, by splitting the target functional information with low computational criticality and high power consumption from the chip's thread pool functional information, and constructing multiple auxiliary thread pools to handle each target functional information, this solution effectively reduces the unit operating power consumption of each chip and improves the degree of power consumption reduction by reducing the data processing tasks corresponding to the high-power, low-computation-critical functional information of the chip, while ensuring that the chip's computing efficiency remains unchanged. Attached Figure Description

[0036] Figure 1 This is a flowchart illustrating a low-power operation method applied to a chip in one embodiment;

[0037] Figure 2 This is a flowchart illustrating the steps for determining power consumption information in one embodiment;

[0038] Figure 3 This is a flowchart illustrating a low-power operation method applied to a chip in a specific embodiment.

[0039] Figure 4 This is a structural block diagram of a low-power operating device applied to a chip in one embodiment;

[0040] Figure 5 This is a diagram of the internal structure of a chip in one embodiment. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0042] In one embodiment, such as Figure 1 As shown, a low-power operation method for chips is provided. This embodiment illustrates the method's application to a terminal. It is understood that this method can also be applied to IoT chips, integrated circuit chips, and server application environments, and can also be applied to systems including terminals and servers, implemented through interaction between the terminal and the server. The terminal can be, but is not limited to, various personal computers, laptops, smartphones, tablets, etc.; the server can be a standalone server or a server cluster composed of multiple servers. In this embodiment, the method includes the following steps:

[0043] Step S101: Obtain the chip's thread pool and historical data information of the thread pool, and identify the functional information corresponding to the thread pool.

[0044] A thread pool is a mechanism for managing and reusing threads, which can improve the performance and efficiency of multithreaded applications. Internally, a thread pool maintains a thread queue that stores some available threads. When a task needs to be executed, an idle thread can be obtained from the thread pool to execute the task. After the task is completed, the thread returns to the thread pool and waits for the next task to be assigned.

[0045] Specifically, in response to a user's information upload operation, the terminal obtains the chip's thread pool information. This thread pool refers to the pool of threads that the chip needs to coordinate during data processing. Then, the terminal retrieves multiple processed data entries from the historical database to obtain historical data information. This historical data information includes the data before processing, the processed data, and the data processing tasks associated with that data. Finally, the terminal obtains the chip's various data processing functions and identifies the execution method of each function. Among these functions, it filters out those executed through the thread pool, identifying the corresponding data processing functions as the thread pool's function information. This function information refers to the data processing tasks that the thread pool can execute, such as data storage, data segmentation, data recognition, and data transformation.

[0046] Step S102: Determine the computational criticality of each function information in the thread pool and construct the simulation running model corresponding to the chip.

[0047] Among them, simulation operation model refers to the simulation and operation of a series of predefined rules and parameters by computer to simulate and predict the behavior and results of a system, process or event.

[0048] Specifically, the terminal determines the computational criticality of each functional information based on the computational method, efficiency, and program information of the chip's data processing, and constructs a simulation model corresponding to the chip. The computational criticality characterizes the importance of the functional information to the chip's processing; the computational method is the execution method of the functional information, for example, the computational method for data combination is multiple data combination, and the computational method for data segmentation is data information splitting; the computational program information characterizes the computational steps corresponding to the functional information, that is, the steps required for the thread pool to execute the functional information.

[0049] Step S103: Based on historical data and simulation operation model, determine the power consumption information of each function information in the thread pool, and based on the power consumption information and the computational criticality of each function information, select the target function information from each function information.

[0050] Specifically, based on historical data, the terminal determines the power consumption information of each function in the chip's thread pool through a simulation operation model. Based on the power consumption information and the computational criticality of each function, the terminal selects multiple target function information from each function. Among them, the target function information is the function information with high power consumption and low computational criticality. High power consumption means greater than the power consumption threshold, and low computational criticality means less than the criticality threshold. The power consumption threshold and criticality threshold are preset in the terminal.

[0051] Step S104: Based on the thread parameter information and target function information of the thread pool, construct the auxiliary thread pool corresponding to the thread pool.

[0052] In this context, an auxiliary thread pool typically refers to an additional thread pool created outside of the main thread pool to handle specific or asynchronous tasks. In some cases, we may need multiple different types of tasks with varying execution times, frequencies, or priorities. To better manage these tasks, an auxiliary thread pool can be created to better control task execution.

[0053] Specifically, the terminal identifies the thread parameter information of the thread pool and constructs an auxiliary thread pool corresponding to the thread pool based on the thread parameter information and the target function information; the auxiliary thread pool is used to share some of the functional information of the thread pool, thereby sharing the power consumption of the chip.

[0054] Step S105: Configure the target function information in the auxiliary thread pool and establish the association between the auxiliary thread pool and the chip.

[0055] Specifically, the terminal configures the target function information of each thread pool in the auxiliary thread pool and establishes the association between the auxiliary thread pool and the chip.

[0056] In the aforementioned low-power operation method for chips, by splitting the target function information with low computational criticality and high power consumption from the functional information of the chip thread pool, and constructing multiple auxiliary thread pools to undertake each target function information, the unit operating power consumption of each chip is effectively reduced and the degree of power consumption reduction is improved by reducing the data processing tasks corresponding to the high-power and low computational criticality function information of the chip while ensuring that the chip's computing efficiency remains unchanged.

[0057] In one embodiment, step S102 above, determining the computational criticality of each function information of the thread pool, specifically includes the following steps:

[0058] Identify the computation method, computation efficiency, and computation program information for each functional information; rank the functional information by efficiency based on their computation efficiency to obtain an efficiency sequence; identify the computation difficulty of each functional information based on its computation method; identify the data processing criticality of each functional information based on its computation program information; and determine the computation criticality of each functional information in the thread pool based on its efficiency sequence, computation difficulty, and data processing criticality.

[0059] Among them, the criticality of the operation is a comprehensive criticality that includes the operation sequence, the difficulty of the operation, and the criticality of the data processing.

[0060] Specifically, the terminal identifies the computation method, computational efficiency, and computational program information for each functional information. Then, based on the computational efficiency of each functional information, the terminal ranks them by efficiency, obtaining an efficiency sequence. Based on the computational method of each functional information and a pre-defined correspondence between computational methods and computational difficulty, the terminal identifies the computational difficulty of each functional information. Based on the computational program information of each functional information, the terminal identifies the data processing criticality of each functional information, and based on the computational program information, computational difficulty, and data processing criticality of each functional information, the terminal determines the computational criticality of each functional information.

[0061] In this embodiment, by analyzing the operation sequence, operation difficulty, and data processing criticality of each functional information, the operation criticality of each functional information is determined, thereby improving the comprehensiveness of determining the operation criticality.

[0062] In one embodiment, such as Figure 2As shown, in step S103 above, based on historical data and simulation operation model, the power consumption information of each function of the thread pool is determined, specifically including the following steps:

[0063] Step S201: Identify the data processing tasks corresponding to the historical data information and the functional information corresponding to each data processing task.

[0064] Step S202: For each functional information, based on the historical data information of the data processing task corresponding to the functional information, the process of the chip processing the historical data information is simulated through the simulation running model to obtain the data processing progress information of the historical data information.

[0065] Step S203: Identify the power consumption distribution information of each data processing process, and filter out the maximum power consumption information in the power consumption distribution information as the sub-power consumption information corresponding to each data processing process.

[0066] Step S204: Average all sub-power consumption information to obtain the power consumption information of the functional information.

[0067] Specifically, the terminal identifies the data processing tasks for each historical data information and the corresponding functional information for each data processing task. Then, for each functional information, based on the historical data of the corresponding data processing task, the terminal simulates the chip's processing of the historical data for that functional information using a simulation model, obtaining the data processing progress information for each historical data information of the functional information. Next, the terminal identifies the power consumption distribution information for each data processing progress information and selects the maximum power consumption information from each distribution as the sub-power consumption information for each data processing progress information. Finally, the terminal averages all the sub-power consumption information to obtain the power consumption information for the functional information.

[0068] In this embodiment, power consumption information is identified through simulation technology, thereby improving the accuracy of power consumption information identification.

[0069] In one embodiment, step S103 above involves filtering out target function information from the function information based on the power consumption information and the computational criticality of each function information. This specifically includes the following steps:

[0070] Among the various functional information, functional information with power consumption greater than the power consumption threshold is selected as the first functional information, and functional information with computational criticality less than the computational criticality threshold is selected as the second functional information; functional information that belongs to both the first and second functional information is selected as the target functional information.

[0071] Specifically, the terminal selects functional information from each set of functional information that corresponds to power consumption exceeding a power consumption threshold as first functional information, and selects functional information from each set of functional information that corresponds to computational criticality less than a computational criticality threshold as second functional information. Finally, the terminal selects functional information that belongs to both the first and second functional information sets as target functional information.

[0072] In this embodiment, by filtering out functional information with high power consumption and low computational criticality, the chip's operating power consumption can be effectively reduced by sharing power consumption without affecting the chip's overall computing efficiency.

[0073] In one embodiment, step S104 above involves constructing an auxiliary thread pool corresponding to the thread pool based on the thread parameter information and target function information of the thread pool. This specifically includes the following steps:

[0074] Obtain the sample thread pool; obtain the thread pool requirement information corresponding to each target function information, and determine the target thread parameter information applicable to all thread pool requirement information; based on the thread parameter information and the target thread parameter information, adjust the thread parameter information of the sample thread pool to obtain the auxiliary thread pool corresponding to the thread pool.

[0075] The sample thread pool information is any one of the downstream thread pools of the integrated circuit chip.

[0076] The thread pool requirement information refers to the requirements for thread pool parameters, which include, but are not limited to, the core number of threads, the maximum number of threads, the idle time, the time unit, and the rejection policy.

[0077] Among them, the thread parameter information of the auxiliary thread pool satisfies both the thread parameter information and the target thread parameter information.

[0078] Specifically, the terminal acquires sample thread pool information. Then, the terminal identifies the thread pool requirement information corresponding to each target function. Next, the terminal determines the target thread parameter information applicable to all thread pool requirement information. Finally, based on the thread parameter information and the target thread parameter information, the terminal adjusts the thread parameter information of the sample thread pool to obtain the auxiliary thread pool corresponding to the sample thread pool.

[0079] In this embodiment, by determining an auxiliary thread pool for executing each target function information based on the sample thread pool, the execution efficiency of the thread pool for the target function information is effectively improved.

[0080] In one embodiment, step S105 above, which involves configuring the target function information in the auxiliary thread pool and establishing the association between the auxiliary thread pool and the chip, specifically includes the following steps:

[0081] Identify the executable program for each target function information and configure the executable program for each target function information into the auxiliary thread pool; disable the executable programs for each target function information in the thread pool; obtain the target power consumption value of the chip, establish a switching strategy for the chip's operating mode based on the target power consumption value, and establish an enable strategy for each target function information in the auxiliary thread pool to obtain the association between the auxiliary thread pool and the chip.

[0082] Specifically, the terminal identifies the execution program for each target function information and configures the execution program for each target function information into the auxiliary thread pool; then, the terminal shuts down the execution programs for each target function information in the thread pool; finally, the terminal obtains the target power consumption value of the chip, establishes a switching strategy for the chip's operating mode based on the target power consumption value, and establishes an activation strategy for each target function information in the auxiliary thread pool, thereby obtaining the association between the auxiliary thread pool and the chip.

[0083] In this embodiment, the corresponding operating mode of the chip is determined by configuration and shutdown operations, thereby improving the chip's power consumption sharing effect. Furthermore, by setting the association between the target auxiliary thread pool and the chip, the efficiency and accuracy of the chip calling the target auxiliary thread pool are improved. Finally, by setting switching and enabling strategies, the accuracy of switching from the chip's operating mode to the target operating mode is improved.

[0084] In one embodiment, after establishing the association between the auxiliary thread pool and the chip, the following steps are also included:

[0085] The chip's current power consumption is detected, and if the current power consumption is greater than the target power consumption, the chip's operating mode is switched to the target operating mode; the chip's current data processing process is identified, and based on the chip's target thread pool and target auxiliary thread pool, the current data is processed collaboratively to obtain the data processing result.

[0086] Specifically, the terminal detects the current power consumption of the chip, and if the current power consumption exceeds the target power consumption, it switches the chip's operating mode to the target operating mode. The terminal identifies the processing progress of the data information being processed by the chip, and based on the chip's target thread pool and target auxiliary thread pool, it collaboratively processes the data information to obtain the data processing result.

[0087] In this embodiment, by identifying the chip's power consumption value and adjusting the chip's operating mode, the chip's power consumption information is reduced while the flexibility of switching the chip's operating mode is improved.

[0088] In one embodiment, such as Figure 3 As shown, a low-power operation method for a chip is provided in a specific embodiment, which includes the following steps:

[0089] Step S301: Obtain the chip's thread pool and historical data information of the thread pool, and identify the functional information corresponding to the thread pool.

[0090] Step S302: Identify the operation method, operation efficiency, and operation program information of each functional information; sort the functional information by efficiency according to the operation efficiency of each functional information to obtain the efficiency sequence of each functional information; identify the operation difficulty of each functional information according to the operation method of each functional information; identify the data processing criticality of each functional information according to the operation program information of each functional information; determine the operation criticality of each functional information in the thread pool based on the efficiency sequence, operation difficulty, and data processing criticality of each functional information.

[0091] Step S303: Construct the simulation running model corresponding to the chip.

[0092] Step S304: Identify the data processing tasks corresponding to historical data information and the functional information corresponding to each data processing task; for each functional information, based on the historical data information of the data processing task corresponding to the functional information, simulate the chip's processing of historical data information through a simulation running model to obtain the data processing process information of historical data information; identify the power consumption distribution information of each data processing process information, and filter out the maximum power consumption information in the power consumption distribution information as the sub-power consumption information of each data processing process information; average all sub-power consumption information to obtain the power consumption information of the functional information.

[0093] Step S305: Among the various functional information, select functional information whose power consumption is greater than the power consumption threshold as the first functional information, and select functional information whose computational criticality is less than the computational criticality threshold as the second functional information; select the functional information that belongs to both the first functional information and the second functional information as the target functional information.

[0094] Step S306: Obtain the sample thread pool; obtain the thread pool requirement information corresponding to each target function information, and determine the target thread parameter information applicable to all thread pool requirement information; based on the thread parameter information and the target thread parameter information, adjust the thread parameter information of the sample thread pool to obtain the auxiliary thread pool corresponding to the thread pool.

[0095] Step S307: Identify the executable program for each target function information and configure the executable program for each target function information into the auxiliary thread pool; close the executable program for each target function information in the thread pool.

[0096] Step S308: Obtain the target power consumption value of the chip; based on the target power consumption value, establish a switching strategy for the chip's operating mode and an activation strategy for each target function information in the auxiliary thread pool, thereby obtaining the association between the auxiliary thread pool and the chip.

[0097] Step S309: Detect the current power consumption value of the chip, and if the current power consumption value is greater than the target power consumption value, change the chip's operating mode to the target operating mode; identify the processing process of the current data information being processed by the chip, and based on the chip's target thread pool and target auxiliary thread pool, collaboratively process the current data information to obtain the data processing result of the current data information.

[0098] The beneficial effects of the above embodiments are as follows:

[0099] This solution reduces the unit power consumption of each chip by splitting the functional information of the chip's thread pool into target functional information with low computational criticality and high power consumption, and constructing multiple auxiliary thread pools to handle each target functional information. This effectively reduces the unit power consumption of each chip and improves the degree of power consumption reduction by reducing the data processing tasks corresponding to the high power consumption and low computational criticality functional information of the chip, while ensuring that the chip's computing efficiency remains unchanged.

[0100] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0101] Based on the same inventive concept, this application also provides a low-power operation device for implementing the aforementioned low-power operation method for chips. The solution provided by this device is similar to the implementation described in the above method. Therefore, the specific limitations of the one or more embodiments of the low-power operation device for chips provided below can be found in the limitations of the low-power operation method for chips described above, and will not be repeated here.

[0102] In one embodiment, such as Figure 4 As shown, a low-power operating device for a chip is provided, comprising:

[0103] The information acquisition module 401 is used to acquire the chip's thread pool and historical data information of the thread pool, and to identify the functional information corresponding to the thread pool;

[0104] The model building module 402 is used to determine the computational criticality of each functional information of the thread pool and to build the simulation running model corresponding to the chip.

[0105] The information filtering module 403 is used to determine the power consumption information of each function information of the thread pool based on historical data information and simulation operation model, and to filter out the target function information from each function information based on the power consumption information and the computational criticality of each function information.

[0106] The auxiliary application module 404 is used to construct an auxiliary thread pool corresponding to the thread pool based on the thread parameter information and target function information of the thread pool.

[0107] The association establishment module 405 is used to configure the target function information in the auxiliary thread pool and establish the association between the auxiliary thread pool and the chip.

[0108] In one embodiment, the model building module 402 is further configured to identify the operation method, operation efficiency, and operation program information of each functional information; sort the functional information by efficiency according to the operation efficiency of each functional information to obtain the efficiency sequence of each functional information; identify the operation difficulty of each functional information according to the operation method of each functional information; identify the data processing criticality of each functional information according to the operation program information of each functional information; and determine the operation criticality of each functional information in the thread pool based on the efficiency sequence, operation difficulty, and data processing criticality of each functional information.

[0109] In one embodiment, the information filtering module 403 is further configured to identify the data processing tasks corresponding to historical data information and the functional information corresponding to each data processing task; for each functional information, based on the historical data information of the data processing task corresponding to the functional information, the process of the chip processing historical data information is simulated through a simulation running model to obtain the data processing process information of the historical data information; the power consumption distribution information of each data processing process information is identified, and the maximum power consumption information in the power consumption distribution information is filtered out as the sub-power consumption information corresponding to each data processing process information; the power consumption information of the functional information is obtained by averaging all the sub-power consumption information.

[0110] In one embodiment, the information filtering module 403 is further configured to filter out functional information whose power consumption is greater than the power consumption threshold as first functional information, and filter out functional information whose computational criticality is less than the computational criticality threshold as second functional information; and use the functional information that belongs to both the first functional information and the second functional information as target functional information.

[0111] In one embodiment, the auxiliary application module 404 is further configured to obtain a sample thread pool; obtain thread pool requirement information corresponding to each target function information, and determine target thread parameter information applicable to all thread pool requirement information; and adjust the thread parameter information of the sample thread pool based on the thread parameter information and the target thread parameter information to obtain the auxiliary thread pool corresponding to the thread pool.

[0112] In one embodiment, the association establishment module 405 is further configured to identify the executor of each target function information and configure the executor of each target function information into the auxiliary thread pool; shut down the executor of each target function information in the thread pool; obtain the target power consumption value of the chip; based on the target power consumption value, establish a switching strategy for the chip's operating mode and establish an activation strategy for each target function information in the auxiliary thread pool, thereby obtaining the association relationship between the auxiliary thread pool and the chip.

[0113] In one embodiment, the low-power operating device applied to the chip further includes a collaborative processing module, which is used to detect the current power consumption value of the chip, and if the current power consumption value is greater than the target power consumption value, to convert the chip's operating mode to the target operating mode; to identify the processing process of the current data information being processed by the chip, and to collaboratively process the current data information based on the chip's target thread pool and target auxiliary thread pool, so as to obtain the data processing result of the current data information.

[0114] The modules in the low-power operating device applied to the chip described above can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor within the chip in hardware form or independent of it, or stored in the chip's memory in software form, so that the processor can call and execute the operations corresponding to each module.

[0115] In one embodiment, a chip is provided, the internal structure of which can be shown as follows: Figure 5 As shown, the chip includes a processor, memory, input / output interfaces, and a communication interface. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a low-power operation method applied to the chip.

[0116] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the solution of this application and does not constitute a limitation on the chip to which the solution of this application is applied. The specific chip may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0117] In one embodiment, a chip is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0118] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0119] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0120] 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, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0121] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0122] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0123] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A low-power operation method for chips, characterized in that, The method includes: Obtain the chip's thread pool and the historical data information of the thread pool, and identify the functional information corresponding to the thread pool; Determine the computational criticality of each function information in the thread pool, and construct the simulation running model corresponding to the chip; Based on the historical data and simulation model, the power consumption information of each function of the thread pool is determined, and the target function information is selected from each function based on the power consumption information and the computational criticality of each function. Based on the thread parameter information of the thread pool and the target function information, construct an auxiliary thread pool corresponding to the thread pool; The process involves: identifying the execution program for each target function information and configuring it into the auxiliary thread pool; disabling the execution programs for each target function information in the thread pool; obtaining the target power consumption value of the chip; establishing a switching strategy for the chip's operating mode based on the target power consumption value and establishing an activation strategy for each target function information in the auxiliary thread pool to obtain the association between the auxiliary thread pool and the chip; detecting the current power consumption value of the chip; and, if the current power consumption value is greater than the target power consumption value, converting the chip's operating mode to the target operating mode; identifying the processing process of the current data information being processed by the chip; and, based on the chip's target thread pool and target auxiliary thread pool, collaboratively processing the current data information to obtain the data processing result.

2. The method according to claim 1, characterized in that, The criticality of the computation for determining each functional information of the thread pool includes: Identify the calculation method, calculation efficiency, and calculation program information for each of the aforementioned functional information; Based on the computational efficiency of each functional information, the efficiency of each functional information is sorted to obtain an efficiency sequence of each functional information; based on the computational method of each functional information, the computational difficulty of each functional information is identified; based on the computational program information of each functional information, the data processing criticality of each functional information is identified. Based on the efficiency sequence, computational difficulty, and data processing criticality of each functional information, the computational criticality of each functional information in the thread pool is determined.

3. The method according to claim 1, characterized in that, The process of determining the power consumption information for each function of the thread pool based on the historical data and simulation model includes: Identify the data processing tasks corresponding to the historical data information and the functional information corresponding to each data processing task; For each of the aforementioned functional information, based on the historical data information of the data processing task corresponding to the functional information, the simulation running model is used to simulate the process of the chip processing the historical data information to obtain the data processing progress information of the historical data information. Identify the power consumption distribution information of each data processing process information, and filter out the maximum power consumption information in the power consumption distribution information as the sub-power consumption information corresponding to each data processing process information; The power consumption information of the function information is obtained by averaging all the sub-power consumption information.

4. The method according to claim 1, characterized in that, The process of filtering target function information from the function information based on the power consumption information and the computational criticality of each function information includes: Among the aforementioned functional information, functional information with power consumption greater than the power consumption threshold is selected as the first functional information, and functional information with computational criticality less than the computational criticality threshold is selected as the second functional information. The functional information that belongs to both the first functional information and the second functional information is taken as the target functional information.

5. The method according to claim 1, characterized in that, The step of constructing an auxiliary thread pool corresponding to the thread pool based on the thread parameter information of the thread pool and the target function information includes: Obtain the sample thread pool; Obtain the thread pool requirement information corresponding to each of the target function information, and determine the target thread parameter information applicable to all thread pool requirement information; Based on the thread parameter information and the target thread parameter information, the thread parameter information of the sample thread pool is adjusted to obtain the auxiliary thread pool corresponding to the sample thread pool.

6. A low-power operating device for use in chips, characterized in that, The device includes: The information acquisition module is used to acquire the chip's thread pool and the historical data information of the thread pool, and to identify the functional information corresponding to the thread pool; The model building module is used to determine the computational criticality of each functional information of the thread pool and to build the simulation running model corresponding to the chip. The information filtering module is used to determine the power consumption information of each function information of the thread pool based on the historical data information and the simulation operation model, and to filter out target function information from each function information based on the power consumption information and the computational criticality of each function information. An auxiliary application module is used to construct an auxiliary thread pool corresponding to the thread pool based on the thread parameter information of the thread pool and the target function information. An association establishment module is used to identify the execution program for each target function information and configure the execution program of each target function information into the auxiliary thread pool; close the execution programs of each target function information in the thread pool; obtain the target power consumption value of the chip, and based on the target power consumption value, establish a switching strategy for the chip's operating mode and an activation strategy for each target function information in the auxiliary thread pool to obtain the association relationship between the auxiliary thread pool and the chip; detect the current power consumption value of the chip, and if the current power consumption value is greater than the target power consumption value, convert the chip's operating mode to the target operating mode; identify the processing process of the current data information being processed by the chip, and based on the target thread pool and the target auxiliary thread pool of the chip, collaboratively process the current data information to obtain the data processing result of the current data information.

7. A chip comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method for generating configuration information of thread pool and task processing method and device

    CN114995996A

  • Chip simulation system

    CN116976277A