Information acquisition method and computing device
By filtering and prioritizing the acquisition of target temperature information in computing devices, the problem of long acquisition cycles for target temperature information in existing technologies is solved, thereby improving the heat dissipation performance and stability of computing devices.
Patent Information
- Application Number
- CN202510885422.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2025-11-14
AI Technical Summary
With limited I2C resources, the long acquisition cycle of target temperature information in existing technologies leads to insufficient heat dissipation performance of computing devices.
The baseboard management controller filters out the target information to be collected based on the current round of information collection and the collection configuration information of the information to be collected, and collects the target temperature information in each round, thereby reducing the collection frequency of non-target temperature information and increasing the collection frequency of target temperature information.
The acquisition cycle of target temperature information was shortened, and the acquisition frequency was increased, thereby improving the heat dissipation performance and stability of the computing device.
Smart Images

Figure CN120950424A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computing device technology, and in particular to an information acquisition method and computing device. Background Technology
[0002] The computing device contains at least one target component (such as a graphics processor). The baseboard management controller connects to the target component via an Inter-Integrated Circuit (I2C) interface. The baseboard management controller is crucial for monitoring the target component and managing it based on acquired information.
[0003] In related technologies, when I2C resources are limited, the substrate management controller can divide all the information to be acquired into a first set of information to be acquired (including target temperature information) and a second set of information to be acquired. The substrate management controller can run a first thread to acquire and process the information to be acquired in the first set of information to be acquired. The substrate management controller can run a second thread to acquire and process the information to be acquired in the second set of information to be acquired. The acquisition frequency of the first thread is greater than the acquisition frequency of the second thread.
[0004] However, in related technologies, directly dividing all the information to be collected into a first set of information to be collected (target temperature information) and a second set of information to be collected, and using two threads for collection, has the problem of a long collection cycle for target temperature information. Summary of the Invention
[0005] This application provides an information acquisition method and computing device that can reduce the acquisition cycle of temperature information of the computing device, increase the acquisition frequency of temperature information, and thus improve heat dissipation performance.
[0006] In a first aspect, embodiments of this application provide an information collection method, including:
[0007] Get the current round of information collection;
[0008] Obtain the collection configuration information corresponding to each of the multiple pieces of information to be collected from the target component;
[0009] Among them, each piece of information to be collected is non-target temperature information;
[0010] Non-target temperature information is used to adjust target parameters when target temperature information fails; or, non-target temperature information is unrelated to target parameter adjustment; target temperature information is used to adjust target parameters.
[0011] The collection configuration information is used to indicate the round in which the information to be collected will be collected;
[0012] Based on the current round and the collection configuration information corresponding to each piece of information to be collected, the target information to be collected is determined from multiple pieces of information to be collected;
[0013] The target temperature information and the target information to be collected are collected.
[0014] In this scheme, the baseboard management controller can obtain the current round of information acquisition. The baseboard management controller can obtain the acquisition configuration information (used to indicate the round in which the information to be acquired) corresponding to each of the multiple pieces of information to be acquired (excluding target temperature information) of the target component. Based on the current round and the acquisition configuration information corresponding to each piece of information to be acquired, the baseboard management controller can determine the target information to be acquired from the multiple pieces of information to be acquired, and perform acquisition on both the target temperature information and the target information to be acquired. By acquiring the target temperature information in every round, the acquisition cycle of the target temperature information can be shortened, the acquisition frequency of the target temperature information can be increased, and thus the target parameters of the computing device can be accurately adjusted based on the target temperature information, improving the stability of the computing device. Furthermore, by filtering the information to be acquired in the current round from the multiple pieces of information to be acquired based on the current round and the acquisition configuration information corresponding to each piece of information to be acquired, the baseboard management controller can reduce the acquisition frequency of some information to be acquired, thereby shortening the total time for acquiring information to be acquired and the target temperature information in each round, further shortening the acquisition cycle of the target temperature information, increasing the acquisition frequency of the target temperature information, and ultimately improving the heat dissipation performance of the computing device.
[0015] In one implementation, the collection configuration information includes collection priority and collection period configuration parameters;
[0016] Based on the current round and the collection configuration information corresponding to each piece of information to be collected, the target information to be collected is determined from multiple pieces of information to be collected, including:
[0017] Based on the current round, the collection priority corresponding to the first piece of information to be collected, and the collection period configuration parameters corresponding to the first piece of information to be collected, it is determined whether the first piece of information to be collected meets the collection conditions; wherein, the first piece of information to be collected is any one of multiple pieces of information to be collected;
[0018] If the first piece of information to be collected meets the collection conditions, the first piece of information to be collected will be used as the target piece of information to be collected.
[0019] In this scheme, by using the above method, based on the acquisition configuration information (acquisition priority and acquisition cycle configuration parameters) corresponding to the information to be acquired, the target information to be acquired in each round of information acquisition can be determined. This increases the acquisition frequency of information with higher acquisition priority (information with higher real-time requirements) and decreases the acquisition frequency of information with lower acquisition priority, thereby shortening the total acquisition time corresponding to each round of information acquisition. In other words, it shortens the acquisition cycle of target temperature information and increases the acquisition frequency of target temperature information.
[0020] In one implementation, the collection priorities corresponding to multiple pieces of information to be collected include a first collection priority; the collection period configuration parameter corresponding to the collection information with the first collection priority is the first collection period configuration parameter, and the first collection period configuration parameter is an even number;
[0021] Based on the current round, the collection priority corresponding to the first piece of information to be collected, and the collection period configuration parameters corresponding to the first piece of information to be collected, determine whether the first piece of information to be collected meets the collection conditions, including:
[0022] If the collection priority corresponding to the first piece of information to be collected is the first collection priority, determine whether the current round is an integer multiple of the first collection period; the first collection period is determined based on the first collection period configuration parameters.
[0023] If the current round is an integer multiple of the configuration parameters of the first collection cycle, the first information to be collected is determined to meet the collection conditions.
[0024] In this scheme, the collection priorities corresponding to multiple pieces of information to be collected include a first collection priority. For information to be collected with a collection priority of the first collection priority, the corresponding collection cycle configuration parameter is the first collection cycle configuration parameter, which is an even number. The substrate management controller can determine whether the current round is an integer multiple of the first collection cycle when the collection priority corresponding to the first piece of information to be collected is the first collection priority; the first collection cycle is determined based on the first collection cycle configuration parameter. The substrate management controller can determine that the first piece of information to be collected meets the collection conditions when the current round is an integer multiple of the first collection cycle configuration parameter. By setting the first collection cycle configuration parameter to an even number and the collection condition to be an integer multiple of the first collection cycle configuration parameter, the substrate management controller can collect information to be collected with the first collection priority in even-numbered rounds.
[0025] In one implementation, the first acquisition period is equal to the first acquisition period configuration parameter;
[0026] The first acquisition priority includes either the first priority or the second priority; the first acquisition cycle parameter includes either the first cycle configuration parameter or the second cycle configuration parameter.
[0027] The collection priority is the collection period configuration parameter corresponding to the information to be collected with the highest priority, which is the first period configuration parameter;
[0028] The collection priority is the collection period configuration parameter corresponding to the information to be collected with the second priority, which is the second period configuration parameter;
[0029] The configuration parameters for the first cycle are less than those for the second cycle.
[0030] In this scheme, by setting the first acquisition period to be equal to the first acquisition period configuration parameter, the baseboard management controller can acquire information to be acquired with the first acquisition priority in even-numbered rounds, provided that the first acquisition period configuration parameter is an even number and the acquisition condition is that the current round is an integer multiple of the first acquisition period configuration parameter. Furthermore, by setting the first acquisition priority to include either a first priority or a second priority, and the first acquisition period parameter to include either a first period configuration parameter or a second period configuration parameter, with the first period configuration parameter being less than the second period configuration parameter, the acquisition frequency of information to be acquired with the first priority can be higher than the acquisition frequency of information to be acquired with the second priority.
[0031] In one implementation, the collection priorities corresponding to multiple pieces of information to be collected include a second collection priority;
[0032] Based on the current round, the collection priority corresponding to the first piece of information to be collected, and the collection period configuration parameters corresponding to the first piece of information to be collected, determine whether the first piece of information to be collected meets the collection conditions, including:
[0033] If the collection priority corresponding to the first piece of information to be collected is the second collection priority, determine whether the remainder of the current round with respect to the second collection period is the target remainder; the target remainder and the second collection period are determined based on the collection period configuration parameters corresponding to the first piece of information to be collected; the target remainder is an odd number.
[0034] If the remainder of the current round for the second collection cycle is the target remainder, then the first piece of information to be collected is determined to meet the collection conditions.
[0035] In this scheme, the substrate management controller can determine whether the remainder of the current round with respect to the second acquisition cycle is the target remainder, provided that the acquisition priority corresponding to the first information to be acquired is the second acquisition priority. The target remainder and the second acquisition cycle are determined based on the acquisition cycle configuration parameters corresponding to the first information to be acquired; the target remainder is an odd number. The substrate management controller can determine that the first information to be acquired meets the acquisition conditions if the remainder of the current round with respect to the second acquisition cycle is the target remainder. Through this method, the substrate management controller can acquire information with the second acquisition priority in odd-numbered rounds, achieving cross-acquisition of information with the first acquisition priority and information with the second acquisition priority.
[0036] In one implementation,
[0037] The target remainder is 2*K+1; where K is the collection period configuration parameter corresponding to the first piece of information to be collected; K is an integer;
[0038] The second collection period is 2*(M+1); where M is the largest of the collection period configuration parameters corresponding to at least one selected information to be collected, and M is an integer; the selected information to be collected is the information to be collected with the second collection priority.
[0039] In this scheme, by determining the maximum value among the collection cycle configuration parameters corresponding to the information to be collected with the second collection priority, and then determining the second collection cycle based on the maximum value, the collection rounds of information to be collected with each second collection priority can be evenly distributed within the second collection cycle. This reduces the number of information to be collected in each round, thereby shortening the total collection time corresponding to each round. In other words, it shortens the collection cycle of the target temperature information and increases the collection frequency of the target temperature information.
[0040] In one implementation, the second acquisition priority includes either the third or fourth priority;
[0041] If the collection priority of the first piece of information to be collected is the third priority, then select the piece of information to be collected that has the third priority.
[0042] If the collection priority of the first piece of information to be collected is the fourth priority, then select the information to be collected as the information with the fourth priority.
[0043] In this scheme, when the acquisition priority of the first piece of information to be acquired is the third priority, the information to be acquired is selected as having the third priority. This allows the substrate management controller to determine the maximum value among the acquisition cycle configuration parameters corresponding to at least one selected piece of information based on at least one piece of information with a third priority, thereby determining the second acquisition cycle corresponding to the first piece of information, improving the accuracy of determining the second acquisition cycle corresponding to the first piece of information. Similarly, when the acquisition priority of the first piece of information to be acquired is the fourth priority, the information to be acquired is selected as having the fourth priority. This allows the substrate management controller to determine the maximum value among the acquisition cycle configuration parameters corresponding to at least one selected piece of information based on at least one piece of information with a fourth priority, thereby determining the second acquisition cycle corresponding to the first piece of information, improving the accuracy of determining the second acquisition cycle corresponding to the first piece of information.
[0044] In one implementation, the collection configuration information includes collection indication information, which indicates whether the first information to be collected has been collected; the information to be collected with the fourth priority is static information.
[0045] When the collection priority corresponding to the first piece of information to be collected is the second collection priority, determine whether the remainder of the current round with respect to the second collection period is the target remainder, including:
[0046] If the collection priority corresponding to the first piece of information to be collected is the fourth priority, determine whether the collection indication information indicates that the first piece of information to be collected has been collected;
[0047] If the collection instruction information indicates that the first information to be collected has not been collected, determine whether the remainder of the current round with respect to the second collection cycle is the target remainder.
[0048] In this scheme, information to be collected that remains unchanged during the operation of the computing device is considered static information. Based on the fact that information to be collected with a collection priority of fourth priority is static information, the baseboard management controller can determine whether the collection indication information indicates that the first information to be collected has already been collected, provided that the collection priority corresponding to the first information to be collected is fourth priority. Conversely, if the collection indication information indicates that the first information to be collected has not been collected, the baseboard management controller can determine whether the first information to be collected should be designated as the target information to be collected. This approach avoids wasting collection resources by repeatedly acquiring static information, shortens collection time, and improves collection efficiency.
[0049] In one implementation, the acquisition of target temperature information and target information to be acquired is performed, including:
[0050] Determine whether the target information has a corresponding collectable identifier; the collectable identifier is used to indicate whether the target information supports collection; the target information is target temperature information or target information to be collected;
[0051] If the target information has a collectable identifier, a write command is sent to the target component; the write command is used to instruct the acquisition of the target information.
[0052] Read target information.
[0053] In this scheme, the substrate management controller can determine whether the target information has a corresponding collectable identifier; the collectable identifier indicates whether the target information supports acquisition; the target information is either target temperature information or target information to be acquired. If the target information has a collectable identifier, the substrate management controller can send a write command to the target component; the write command instructs the acquisition of the target information. The substrate management controller can then read the target information. Through this method, there is no need to send additional query write and read commands to determine whether the target information supports acquisition; the target information can be acquired directly, reducing the time required to acquire a single piece of target information, thereby reducing the total time required to acquire all target information in each round, increasing the acquisition frequency of each target information, and shortening the acquisition cycle of the target temperature information.
[0054] Secondly, embodiments of this application provide an information collection device, including:
[0055] The processing module is used to obtain the current round of information collection;
[0056] The processing module is also used to obtain the collection configuration information corresponding to each of the multiple pieces of information to be collected from the target component;
[0057] Among them, each piece of information to be collected is non-target temperature information;
[0058] Non-target temperature information is used to adjust target parameters when target temperature information fails; or, non-target temperature information is unrelated to target parameter adjustment; target temperature information is used to adjust target parameters.
[0059] The collection configuration information is used to indicate the round in which the information to be collected will be collected;
[0060] The processing module is also used to determine the target information to be collected from multiple information to be collected based on the current round and the collection configuration information corresponding to each information to be collected;
[0061] The acquisition module is used to acquire target temperature information and target information to be acquired.
[0062] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0063] In one implementation, the collection configuration information includes collection priority and collection period configuration parameters;
[0064] The processing module is specifically used for:
[0065] Based on the current round, the collection priority corresponding to the first piece of information to be collected, and the collection period configuration parameters corresponding to the first piece of information to be collected, it is determined whether the first piece of information to be collected meets the collection conditions; wherein, the first piece of information to be collected is any one of multiple pieces of information to be collected;
[0066] If the first piece of information to be collected meets the collection conditions, the first piece of information to be collected will be used as the target piece of information to be collected.
[0067] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0068] In one implementation, the collection priorities corresponding to multiple pieces of information to be collected include a first collection priority; the collection period configuration parameter corresponding to the collection information with the first collection priority is the first collection period configuration parameter, and the first collection period configuration parameter is an even number;
[0069] The processing module is specifically used for:
[0070] If the collection priority corresponding to the first piece of information to be collected is the first collection priority, determine whether the current round is an integer multiple of the first collection period; the first collection period is determined based on the first collection period configuration parameters.
[0071] If the current round is an integer multiple of the configuration parameters of the first collection cycle, the first information to be collected is determined to meet the collection conditions.
[0072] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0073] In one implementation, the first acquisition period is equal to the first acquisition period configuration parameter;
[0074] The first acquisition priority includes either the first priority or the second priority; the first acquisition cycle parameter includes either the first cycle configuration parameter or the second cycle configuration parameter.
[0075] The collection priority is the collection period configuration parameter corresponding to the information to be collected with the highest priority, which is the first period configuration parameter;
[0076] The collection priority is the collection period configuration parameter corresponding to the information to be collected with the second priority, which is the second period configuration parameter;
[0077] The configuration parameters for the first cycle are less than those for the second cycle.
[0078] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0079] In one implementation, the collection priorities corresponding to multiple pieces of information to be collected include a second collection priority;
[0080] The processing module is specifically used for:
[0081] If the collection priority corresponding to the first piece of information to be collected is the second collection priority, determine whether the remainder of the current round with respect to the second collection period is the target remainder; the target remainder and the second collection period are determined based on the collection period configuration parameters corresponding to the first piece of information to be collected; the target remainder is an odd number.
[0082] If the remainder of the current round for the second collection cycle is the target remainder, then the first piece of information to be collected is determined to meet the collection conditions.
[0083] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0084] In one implementation,
[0085] The target remainder is 2*K+1; where K is the collection period configuration parameter corresponding to the first piece of information to be collected; K is an integer;
[0086] The second collection period is 2*(M+1); where M is the largest of the collection period configuration parameters corresponding to at least one selected information to be collected; M is an integer; the selected information to be collected is the information to be collected with the second collection priority.
[0087] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0088] In one implementation, the second acquisition priority includes either the third or fourth priority;
[0089] If the collection priority of the first piece of information to be collected is the third priority, then select the piece of information to be collected that has the third priority.
[0090] If the collection priority of the first piece of information to be collected is the fourth priority, then select the information to be collected as the information with the fourth priority.
[0091] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0092] In one implementation, the collection configuration information includes collection indication information, which indicates whether the first information to be collected has been collected; the information to be collected with the fourth priority is static information.
[0093] The processing module is specifically used for:
[0094] If the collection priority corresponding to the first piece of information to be collected is the fourth priority, determine whether the collection indication information indicates that the first piece of information to be collected has been collected;
[0095] If the collection instruction information indicates that the first information to be collected has not been collected, determine whether the remainder of the current round with respect to the second collection cycle is the target remainder.
[0096] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0097] In one implementation, the data acquisition module is specifically used for:
[0098] Determine whether the target information has a corresponding collectable identifier; the collectable identifier is used to indicate whether the target information supports collection; the target information is target temperature information or target information to be collected;
[0099] If the target information has a collectable identifier, a write command is sent to the target component; the write command is used to instruct the acquisition of the target information.
[0100] Read target information.
[0101] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0102] Thirdly, embodiments of this application provide a computing device, including:
[0103] Baseboard management controller and target components;
[0104] The baseboard management controller is electrically connected to the target component;
[0105] The substrate management controller is used to execute the method of the first aspect.
[0106] The baseboard management controller in the computing device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0107] In one implementation, the target component is a graphics processing unit (GPU).
[0108] The baseboard management controller in the computing device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0109] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method of the first aspect.
[0110] When the computer-executable instructions in the computer-readable storage medium provided in this application are executed by a processor, the technical solutions shown in the above method embodiments can be implemented. The implementation principle and beneficial effects are similar, and will not be repeated here.
[0111] In another aspect, embodiments of this application provide a computer program product, including a computer program, which, when executed by a processor, is used to implement the method of the first aspect.
[0112] When the computer program in the computer program product provided in this application is executed by a processor, it can implement the technical solution shown in the above method embodiments. The implementation principle and beneficial effects are similar, and will not be repeated here. Attached Figure Description
[0113] To more clearly illustrate the technical solutions in the embodiments of this application 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 application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0114] Figure 1 A structural diagram of a computing device provided in an embodiment of this application;
[0115] Figure 2 A flowchart illustrating an embodiment of an information collection method provided in this application;
[0116] Figure 3 A flowchart illustrating a second embodiment of an information collection method provided in this application;
[0117] Figure 4a A flowchart illustrating a third embodiment of an information collection method provided in this application;
[0118] Figure 4b This is a schematic diagram illustrating the analysis of collected configuration information provided in an embodiment of this application.
[0119] Figure 4c This application provides a schematic diagram illustrating the acquisition of target temperature information and target information to be acquired, as exemplified in this embodiment.
[0120] Figure 5 This is a schematic diagram of the structure of an information collection device provided in an embodiment of this application. Detailed Implementation
[0121] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments made by those skilled in the art under the guidance of these embodiments are within the scope of protection of this application.
[0122] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0123] Definitions:
[0124] The System Management Bus Post-Box Interface (SMBPBI) is a mechanism for data and message passing via the system management bus, similar to a mailbox system. The sending device places the message into the target device's "mailbox," and the target device can read these messages at an appropriate time, thus achieving asynchronous communication.
[0125] This application provides an information acquisition method that can determine the target information to be acquired from multiple information to be acquired of the target component based on the current round of information acquisition and the acquisition configuration information corresponding to the information to be acquired (non-target temperature information), and perform acquisition on the target temperature information and the target information to be acquired.
[0126] By setting up the method described above to collect target temperature information in each round, the collection cycle of target temperature information can be shortened, and the collection frequency of target temperature information can be increased. Furthermore, by filtering multiple pieces of information to be collected based on the current round and collection configuration information to determine the target information to be collected, the collection frequency of some non-target temperature information is reduced. This shortens the total time for collecting both target and non-target temperature information in each round, thereby shortening the collection cycle of target temperature information and increasing the collection frequency of target temperature information.
[0127] The information collection method of this application embodiment will be described in detail below.
[0128] For example, Figure 1 A structural diagram of a computing device provided in an embodiment of this application, such as... Figure 1 As shown, the computing device 10 may include a baseboard management controller 101 and at least one target component. For example, Figure 1 Three target components are shown: target component 1, target component 2, and target component 3.
[0129] The board management controller 101 can be electrically connected to at least one target component.
[0130] In one implementation, the substrate management controller 101 can be connected to at least one target component via an Inter-Integrated Circuit (I2C) interface.
[0131] For example, the target component can be a graphics processing unit (GPU).
[0132] It should be noted that a graphics processing unit (GPU), also known as a display core, visual processor, or display chip, is a microprocessor used to perform image and graphics-related calculations.
[0133] The baseboard management controller (BMC) 102, as an independent processor embedded in the computing device 10, can be used to monitor the hardware and software information, health status, and operating status of the computing device 10. It should be noted that different companies use different names for the BMC in their computing devices 10; for example, some companies call it BMC, some call it Integrated Lights-Out (iLO), and others call it Integrated Remote Access Controller (iDRAC). Regardless of whether it is called BMC, iLO, or iDRAC, it can be understood as the BMC in the embodiments of this application.
[0134] The computing device 10 can be a terminal device (such as a mobile phone or computer), a server, or other similar devices. When the computing device 10 is a server, architecturally, it can be a rack server, a high-density server, a tower server, or a full-rack server; functionally, it can be a general-purpose server or an artificial intelligence (AI) server, for example, an AI server could be a graphics processing unit (GPU) server. When the computing device 10 is a terminal device, it can also be a terminal device running a Linux kernel, for example, a terminal device running the Android operating system.
[0135] It should be noted that, Figure 1 This is merely a structural diagram of a computing device provided in an embodiment of this application; this embodiment does not represent... Figure 1 The actual form of the various components included is not limited, nor is the actual form of the components included defined. Figure 1 The interaction methods between components are limited, and can be set according to actual needs in the application of the solution.
[0136] The technical solution of this application will now be described in detail through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0137] Figure 2 This is a flowchart illustrating an embodiment of an information collection method provided in this application. See also... Figure 2 The method specifically includes the following steps:
[0138] S201: Get the current round of information collection.
[0139] In this embodiment, the baseboard management controller can obtain the current round of information collection.
[0140] For example, the current round can be 1. As another example, the current round can be 0.
[0141] It should be noted that in one implementation, the current round can be 0 when collecting information for the first time.
[0142] S202: Obtain the collection configuration information corresponding to each of the multiple pieces of information to be collected from the target component.
[0143] In this embodiment, the target component corresponds to multiple pieces of information to be collected.
[0144] Each piece of information to be collected is non-target temperature information.
[0145] It should be noted that non-target temperature information is used to adjust target parameters when target temperature information fails; or, non-target temperature information is not related to target parameter adjustment.
[0146] It should also be noted that the target temperature information is used to adjust the target parameters. For example, the target parameter could be the fan speed.
[0147] The baseboard management controller can acquire the acquisition configuration information corresponding to each piece of information to be acquired. This acquisition configuration information indicates the round in which the information to be acquired is collected.
[0148] In one implementation, the data collection configuration information can indicate the data collection priority and data collection period configuration parameters (xp). It should be noted that the data collection priority can be either a first priority or a second priority. Specifically, the first priority can be either the first or second priority, and the second priority can be either the third or fourth priority.
[0149] In one implementation, when the collection priority of a piece of information to be collected is the fourth priority, the collection configuration information corresponding to the information to be collected may also include collection indication information, wherein the collection indication information is used to indicate whether the information to be collected has been collected.
[0150] It should be noted that different collection priorities correspond to different real-time requirements for the information to be collected.
[0151] For example, Table 1 shows the collection priority corresponding to a type of information to be collected.
[0152] Table 1. Collection priority corresponding to one type of information to be collected.
[0153]
[0154]
[0155] It should be noted that information to be collected that does not change during the operation of the computing device is considered static information. Information to be collected that changes during the operation of the computing device is considered dynamic information.
[0156] S203: Based on the current round and the collection configuration information corresponding to each piece of information to be collected, determine the target information to be collected from multiple pieces of information to be collected.
[0157] In this embodiment, the baseboard management controller can determine the target information to be collected from multiple information to be collected based on the current round and the collection configuration information corresponding to each information to be collected.
[0158] In one implementation:
[0159] The data collection configuration information includes data collection priority and data collection cycle configuration parameters.
[0160] The baseboard management controller can determine whether the first piece of information to be collected meets the collection conditions based on the current round, the collection priority corresponding to the first piece of information to be collected, and the collection cycle configuration parameters corresponding to the first piece of information to be collected. The first piece of information to be collected can be any one of multiple pieces of information to be collected.
[0161] The baseboard management controller can use the first information to be collected as the target information to be collected if the first information to be collected meets the collection conditions.
[0162] The following section explains the process by which the baseboard management controller determines whether the first piece of information to be collected meets the collection conditions based on the current round, the collection priority corresponding to the first piece of information to be collected, and the collection cycle configuration parameters corresponding to the first piece of information to be collected.
[0163] In one implementation:
[0164] The collection priorities for multiple pieces of information to be collected include the first collection priority. The collection period configuration parameter for information with the first collection priority is the first collection period configuration parameter. It should be noted that the first collection period configuration parameter must be an even number.
[0165] The baseboard management controller can determine whether the current round is an integer multiple of the first acquisition cycle, provided that the acquisition priority corresponding to the first information to be acquired is the first acquisition priority. The first acquisition cycle is determined based on the first acquisition cycle configuration parameters.
[0166] The baseboard management controller can determine that the first information to be collected meets the collection conditions when the current round is an integer multiple of the configuration parameters of the first collection cycle.
[0167] In one implementation:
[0168] The collection priorities for multiple pieces of information to be collected include the second collection priority.
[0169] The baseboard management controller can determine whether the remainder of the current round relative to the second acquisition cycle is the target remainder when the acquisition priority corresponding to the first information to be acquired is the second acquisition priority.
[0170] It should be noted that the target remainder and the second acquisition period are determined based on the acquisition period configuration parameters corresponding to the first piece of information to be acquired. It should also be noted that the target remainder is an odd number.
[0171] The baseboard management controller can determine that the first information to be collected meets the collection conditions if the remainder of the second collection cycle in the current round is the target remainder.
[0172] S204: Perform data acquisition on the target temperature information and the target information to be acquired.
[0173] In this embodiment, the substrate management controller can collect target temperature information and target information to be collected.
[0174] In one implementation:
[0175] The baseboard management controller can determine whether the target information has a corresponding collectable identifier.
[0176] The collectable identifier indicates whether the target information supports collection. Understandably, the target information is either target temperature information or target information to be collected.
[0177] The substrate management controller can send a write command to the target component when the target information has a collectable identifier. The write command is used to instruct the acquisition of the target information.
[0178] The baseboard management controller can read target information.
[0179] The following section explains the process by which the substrate management controller sends write commands to the target component and reads target information.
[0180] In one implementation:
[0181] The target register is used to store target information.
[0182] For any target information, the board management controller can send a write command to the target component. The write command can include write flag information and an identifier for the target information. The write command allows the target component to retrieve the target information based on the write flag information and the target information identifier, set the value of the target component's status register to indicate successful operation, and store the target information in the data register.
[0183] The baseboard management controller can read the value of the target component's status register and, if the value of the target component's status register indicates successful operation, send a read command to the target component. The read command includes read flag information. The first read command is used by the target component to read the target information stored in the data register based on the read flag information. In one implementation, the target component can reset the value of its status register after receiving the read command.
[0184] The substrate management controller can receive target information sent by the target component. Understandably, the process by which the substrate management controller sends a read command to the target component and receives target information from the target component is the process by which the substrate management controller reads target information.
[0185] Additionally, it should be noted that when the board management controller sends a write command to the target component (the write command is used to indicate the acquisition of target information), and the target information does not support acquisition, the board management controller can obtain the error code sent by the target component. This error code indicates that the target information does not support acquisition.
[0186] Using the above method, there is no need to send additional query write and query read commands to determine whether the target information supports collection. The target information can be collected, which shortens the time spent collecting one target information, thereby shortening the total time spent collecting all target information in each round, shortening the collection cycle of target temperature information, and increasing the collection frequency of each target information (target information is target temperature information or target information to be collected).
[0187] For example, in related technologies, when n (the number of target components) is 8, m (the number of target information items) is 17, and t (the time to collect one target information item) is 0.5 seconds, the total time for each round is 68 seconds. In the method of this application embodiment, when n (the number of target components) is 8, m (the number of target information items) is 2-3, and t (the time to collect one target information item) is 0.25 seconds, the total time for each round is 4-6 seconds.
[0188] In one implementation:
[0189] The target register is used to store target information.
[0190] For any target information, the board management controller can send a query write command to the target component.
[0191] The query write command includes query instruction information and write flag information.
[0192] It should be noted that the query indication information is used to indicate the characteristic word corresponding to the target information. The characteristic word corresponding to the target information is used to indicate whether the target information supports acquisition. The second write command is used by the target component to determine the characteristic word corresponding to the target information based on the query indication information, store the characteristic word in the data register, and set the value of the status register to indicate that the operation was successful.
[0193] The baseboard management controller can read the value of the status register of the target component at a preset frequency, and if the value of the target component's status register indicates successful operation, it sends a query read command to the target component. The query read command includes read flag information. It should be noted that the query read command is used by the target component to read the characteristic word corresponding to the target information stored in the data register based on the read flag information. In one implementation, the target component can reset the value of its status register after receiving the query read command.
[0194] The baseboard management controller can receive the characteristic words corresponding to the target information sent by the target component.
[0195] When the characteristic word corresponding to the target information indicates that the target information supports acquisition, the baseboard management controller can send a write command to the target component. The write command includes write flag information and an identifier for the target information. The first write command allows the target component to obtain the target information based on the write flag information and the identifier, set the value of the target component's status register to indicate successful operation, and store the target information in the data register.
[0196] The baseboard management controller can read the value of the target component's status register and, if the value of the target component's status register indicates successful operation, send a read command to the target component. The read command includes read flag information. The read command allows the target component to read the target information stored in its data register based on the read flag information. In one implementation, the target component can reset the value of its status register after receiving the read command.
[0197] The board management controller can receive target information sent by the target component.
[0198] Additionally, it should be noted that when the computing device includes multiple target components, the substrate management controller can collect the target temperature information and target information to be collected for any target component.
[0199] The beneficial effects of this embodiment are as follows: In this embodiment, the substrate management controller can obtain the current round of information acquisition. The substrate management controller can obtain the acquisition configuration information (used to indicate the round in which the acquisition information is acquired) corresponding to each of the multiple acquisition information to be acquired from the target component. Each acquisition information is non-target temperature information; the non-target temperature information is used to adjust the target parameter when the target temperature information fails; or, the non-target temperature information is unrelated to the target parameter adjustment; the target temperature information is used to adjust the target parameter. The substrate management controller can determine the target acquisition information from the multiple acquisition information according to the current round and the acquisition configuration information corresponding to each acquisition information; and perform acquisition on the target temperature information and the target acquisition information. Through the above method, on the one hand, it is not necessary to use two threads, but a single thread can be used to perform acquisition on the target temperature information and the target acquisition information, which improves resource utilization; on the other hand, by setting the target temperature information to be acquired in each round, the acquisition cycle of the target temperature information can be shortened, the acquisition frequency of the target temperature information can be increased, and thus the target parameters of the computing device can be accurately adjusted based on the target temperature information, which improves the stability of the computing device. In addition, the baseboard management controller can reduce the acquisition frequency of some information by filtering out the information to be acquired in the current round from multiple information to be acquired based on the acquisition configuration information corresponding to each information to be acquired in the current round. This reduces the total time for acquiring information to be acquired and target temperature information in each round, thereby shortening the acquisition cycle of target temperature information, increasing the acquisition frequency of target temperature information, and thus improving the heat dissipation performance of the computing device.
[0200] Figure 3 This is a flowchart illustrating a second embodiment of an information collection method provided in this application. See also... Figure 3 The method specifically includes the following steps:
[0201] S301: Get the current round of information collection.
[0202] In this embodiment, the baseboard management controller can obtain the current round of information collection.
[0203] The specific implementation process is the same as that of S201, and will not be described in detail here.
[0204] S302: Obtain the acquisition configuration information corresponding to each of the multiple pieces of information to be acquired from the target component.
[0205] In this embodiment, the baseboard management controller can acquire the acquisition configuration information corresponding to each piece of information to be acquired among multiple pieces of information to be acquired from the target component.
[0206] Each piece of information to be collected is non-target temperature information.
[0207] It should be noted that non-target temperature information is used to adjust target parameters when target temperature information fails; or, non-target temperature information is unrelated to target parameter adjustment. It should also be noted that target temperature information is used to adjust target parameters.
[0208] Additionally, it should be noted that the collection configuration information is used to indicate the round in which the information to be collected is collected.
[0209] S303: Determine whether the first information to be collected meets the collection conditions based on the current round, the collection priority corresponding to the first information to be collected, and the collection cycle configuration parameters corresponding to the first information to be collected.
[0210] In this embodiment, the first piece of information to be collected is any one of a plurality of pieces of information to be collected.
[0211] The data collection configuration information can include data collection priority and data collection period configuration parameters.
[0212] The baseboard management controller can determine whether the first information to be collected meets the collection conditions based on the current round, the collection priority corresponding to the first information to be collected, and the collection cycle configuration parameters corresponding to the first information to be collected.
[0213] If the first piece of information to be collected meets the collection conditions, execute S304;
[0214] If the first piece of information to be collected does not meet the collection conditions, execute S305.
[0215] The following section explains the process by which the baseboard management controller determines whether the first piece of information to be collected meets the collection conditions based on the current round, the collection priority corresponding to the first piece of information to be collected, and the collection cycle configuration parameters corresponding to the first piece of information to be collected.
[0216] In one implementation:
[0217] The collection priorities for multiple pieces of information to be collected include the first collection priority.
[0218] The information to be collected with the highest priority is the first information to be collected, and the corresponding collection period configuration parameter is the first collection period configuration parameter. The first collection period configuration parameter is an even number.
[0219] The baseboard management controller can determine whether the current round is an integer multiple of the first acquisition cycle if the acquisition priority corresponding to the first information to be acquired is the first acquisition priority.
[0220] It should be noted that the first acquisition cycle is determined based on the configuration parameters for the first acquisition cycle.
[0221] The baseboard management controller can determine that the first information to be collected meets the collection conditions when the current round is an integer multiple of the configuration parameters of the first collection cycle.
[0222] In one implementation, the first acquisition period is equal to the acquisition period configuration parameter corresponding to the information to be acquired.
[0223] It should also be noted that the first acquisition priority includes either the first priority or the second priority; the first acquisition cycle parameter includes either the first cycle configuration parameter or the second cycle configuration parameter. The first cycle configuration parameter is less important than the second cycle configuration parameter.
[0224] The collection priority is the collection period configuration parameter corresponding to the information to be collected with the first priority, which is the first period configuration parameter. The collection priority is the collection period configuration parameter corresponding to the information to be collected with the second priority, which is the second period configuration parameter.
[0225] The following section explains the process by which the baseboard management controller determines whether the current round is an integer multiple of the first acquisition cycle when the acquisition priority corresponding to the first information to be acquired is the first acquisition priority.
[0226] In one implementation, the baseboard management controller determines whether the current round is an integer multiple of the first acquisition cycle if the acquisition priority corresponding to the first information to be acquired is the first priority. Specifically, if the acquisition priority corresponding to the first information to be acquired is the first priority, the first acquisition cycle corresponding to the first information to be acquired is determined based on the first cycle configuration parameters.
[0227] In one implementation, the baseboard management controller determines whether the current round is an integer multiple of the first acquisition cycle when the acquisition priority corresponding to the first information to be acquired is the second priority. Specifically, when the acquisition priority corresponding to the first information to be acquired is the second priority, the first acquisition cycle corresponding to the first information to be acquired is determined based on the second cycle configuration parameters.
[0228] In one implementation:
[0229] The collection priorities for multiple pieces of information to be collected include the second collection priority.
[0230] The baseboard management controller can determine whether the remainder of the current round relative to the second acquisition cycle is the target remainder when the acquisition priority corresponding to the first information to be acquired is the second acquisition priority.
[0231] The target remainder and the second acquisition period are determined based on the acquisition period configuration parameters corresponding to the first piece of information to be acquired. It should also be noted that the target remainder is an odd number.
[0232] In one implementation, the target remainder is 2*K+1; where K is the collection period configuration parameter corresponding to the first piece of information to be collected; K is an integer. The second collection period is 2*(M+1); M is the largest of the collection period configuration parameters corresponding to at least one selected piece of information to be collected.
[0233] It should also be noted that the selected information to be collected is the information with the second collection priority. In other words, at least one selected information to be collected includes the first information to be collected, or at least one selected information to be collected includes the first information to be collected and information to be collected with the same collection priority as the first information to be collected.
[0234] The baseboard management controller can determine that the first information to be collected meets the collection conditions if the remainder of the second collection cycle in the current round is the target remainder.
[0235] Additionally, it should be noted that in one implementation, the second acquisition priority may include either the third or fourth priority.
[0236] The following describes the process by which the baseboard management controller determines whether the first piece of information to be collected meets the collection conditions, based on the current round, the collection priority corresponding to the first piece of information to be collected, and the collection cycle configuration parameters corresponding to the first piece of information to be collected, when the collection priority of the information to be collected is the third priority.
[0237] In one implementation:
[0238] The baseboard management controller can determine whether the remainder of the current round with respect to the second acquisition cycle is the target remainder, provided that the acquisition priority corresponding to the first piece of information to be acquired is the third priority. It should be noted that the target remainder and the second acquisition cycle are determined based on the acquisition cycle configuration parameters corresponding to the first piece of information to be acquired. It should also be noted that the target remainder must be an odd number.
[0239] Additionally, it should be noted that the target remainder is 2*K+1; where K is the collection period configuration parameter corresponding to the first piece of information to be collected; K is an integer.
[0240] The second collection cycle is 2*(M+1); where M is the largest of the collection cycle configuration parameters corresponding to at least one selected piece of information to be collected.
[0241] It should also be noted that the selected information to be collected is information with a collection priority of the third highest priority. In other words, at least one selected information to be collected includes at least one information with a collection priority of the third highest priority.
[0242] The baseboard management controller can determine that the first information to be collected meets the collection conditions if the remainder of the second collection cycle in the current round is the target remainder.
[0243] The following describes the process by which the baseboard management controller determines whether the first piece of information to be collected meets the collection conditions, based on the current round, the collection priority corresponding to the first piece of information to be collected, and the collection cycle configuration parameters corresponding to the first piece of information to be collected, when the collection priority of the information to be collected is the fourth priority.
[0244] In one implementation:
[0245] The collection configuration information includes collection instruction information, which indicates whether the first piece of information to be collected has been collected; the information to be collected with the fourth priority is static information.
[0246] The baseboard management controller can determine whether the acquisition indication information indicates that the first information to be acquired has been acquired when the acquisition priority corresponding to the first information to be acquired is the fourth priority.
[0247] The substrate management controller can determine whether the remainder of the current round relative to the second acquisition cycle is the target remainder when the acquisition indication information indicates that the first information to be acquired has not been acquired.
[0248] The target remainder and the second acquisition period are determined based on the acquisition period configuration parameters corresponding to the first piece of information to be acquired. It should be noted that the target remainder is an odd number.
[0249] Additionally, it should be noted that the target remainder is 2*K+1; where K is the collection period configuration parameter corresponding to the first piece of information to be collected; K is an integer.
[0250] The second collection cycle is 2*(M+1); where M is the largest of the collection cycle configuration parameters corresponding to at least one selected information to be collected; M is an integer.
[0251] It should also be noted that the selected information to be collected is information with the fourth priority. In other words, at least one selected information to be collected includes at least one information with the fourth priority.
[0252] The baseboard management controller can determine that the first information to be collected meets the collection conditions if the remainder of the second collection cycle in the current round is the target remainder.
[0253] S304: Take the first information to be collected as the target information to be collected.
[0254] In this embodiment, if the first information to be collected meets the collection conditions, the baseboard management controller can use the first information to be collected as the target information to be collected.
[0255] S305: Determine that the first piece of information to be collected is not the target information to be collected.
[0256] In this embodiment, if the first information to be collected does not meet the collection conditions, the baseboard management controller can determine that the first information to be collected is not the target information to be collected.
[0257] S306: Perform data acquisition on target temperature information and target information to be acquired.
[0258] In this embodiment, the substrate management controller can collect target temperature information and target information to be collected.
[0259] The specific implementation process is the same as that of S203, and will not be described in detail here.
[0260] The beneficial effects of this embodiment are as follows: In this embodiment, for the first information to be collected (any one of multiple information to be collected from the target component), the substrate management controller can determine that the first information to be collected meets the collection conditions based on the current round, the collection priority corresponding to the first information to be collected, and the collection cycle configuration parameters corresponding to the first information to be collected, and then use the first information to be collected as the target information to be collected. The substrate management controller can perform collection on the target temperature information and the target information to be collected in the current round. Through the above method, based on the collection configuration information (collection priority and collection cycle configuration parameters) corresponding to the information to be collected, the target information to be collected in each round of information collection can be determined, which increases the collection frequency of information to be collected with higher collection priority (information to be collected with higher real-time requirements), shortens the total collection time corresponding to each round of information collection, and thus shortens the collection cycle of the target temperature information that needs to be collected in each round of information collection, thereby increasing the collection frequency of the target temperature information.
[0261] Figure 4a This is a flowchart illustrating a third embodiment of an information collection method provided in this application. See also... Figure 4a The method specifically includes the following steps:
[0262] S401: Get the current round of information collection.
[0263] In this embodiment, the baseboard management controller can obtain the current round of information collection.
[0264] The specific implementation process is the same as that of S201, and will not be described in detail here.
[0265] S402: Obtain the acquisition configuration information corresponding to each of the multiple acquisition information to be acquired from the target component, and obtain the acquisition configuration information corresponding to the target temperature information of the target component.
[0266] In this embodiment, multiple pieces of information to be collected correspond to the target component.
[0267] Each piece of information to be collected is non-target temperature information.
[0268] It should be noted that non-target temperature information is used to adjust target parameters when target temperature information fails; or, non-target temperature information is unrelated to target parameter adjustment. Additionally, it should be noted that target temperature information is used to adjust target parameters.
[0269] The baseboard management controller can acquire the acquisition configuration information corresponding to each of multiple pieces of information to be acquired. The acquisition configuration information for each piece of information indicates the round in which that information is acquired. This configuration information includes acquisition priority and acquisition cycle configuration parameters. It should be noted that the acquisition configuration information for multiple pieces of information includes a first acquisition priority and a second acquisition priority. The first acquisition priority may include either a first priority or a second priority, and the second acquisition priority may include either a third priority or a fourth priority.
[0270] The baseboard management controller can also acquire acquisition configuration information corresponding to the target temperature information of the target component. This acquisition configuration information indicates the round in which the information to be acquired will be collected. The acquisition configuration information includes the acquisition priority. It should be noted that the acquisition priority for the target temperature information can be zero.
[0271] For example, Table 2 shows the collection priority for another type of information to be collected.
[0272] Table 2 shows the collection priority for another type of information to be collected.
[0273]
[0274]
[0275] Additionally, it should be noted that in one implementation:
[0276] The acquisition configuration information can be represented as an 8-bit field. This field includes bits 7, 6, 5, 4, 3, 2, 1, and 0. For example, Table 3 shows one type of acquisition configuration information.
[0277] Table 3. One type of data collection configuration information
[0278]
[0279]
[0280] The following describes the process by which the baseboard management controller acquires the acquisition configuration information corresponding to each of the multiple pieces of information to be acquired, and acquires the acquisition configuration information corresponding to the target temperature information.
[0281] In one implementation:
[0282] The collected configuration information can be an 8-bit field. This field includes bits 7, 6, 5, 4, 3, 2, 1, and 0.
[0283] bit7: Used to indicate the acquisition priority, whether it is the zeroth priority. For example, when bit7 is 1, it indicates that the acquisition priority is the zeroth priority; when bit7 is 0, it indicates that the acquisition priority is not the zeroth priority. It should be noted that the zeroth priority is the highest acquisition priority among multiple acquisition priorities.
[0284] It should be noted that the acquisition priority corresponding to the target temperature information is the zeroth priority. Therefore, bit 7 in the acquisition configuration information corresponding to the target temperature information is 1.
[0285] Bit 6: Used to indicate the acquisition priority, specifically whether it is the fourth priority. It should be noted that the information to be acquired corresponding to the fourth priority is static information; the information to be acquired corresponding to the first, second, and third priorities is dynamic information. Therefore, bit 6 can also be used to indicate whether the information to be acquired is static. For example, when bit 6 is 1, it indicates that the information to be acquired is dynamic information; when bit 6 is 0, it indicates that the information to be acquired is static information. It should be noted that, based on the fact that the information to be acquired is static information, it will not change during the operation of the computing device. Therefore, this information to be acquired (corresponding to the fourth priority) is single-acquisition information (acquired once, no further acquisition is needed). Based on the fact that the information to be acquired is dynamic information (corresponding to the first, second, or third priority), it will change during the operation of the computing device. Therefore, this information to be acquired is information that can be acquired multiple times. That is to say, bit 6 can also be used to indicate the acquisition frequency type corresponding to the information to be acquired, where the acquisition frequency type is either single-acquisition or multiple-acquisition.
[0286] Bit 5: When bit 6 indicates that the acquisition priority of the information to be acquired is the fourth priority, in other words, when bit 6 indicates that the information to be acquired is of the single acquisition type, bit 5 is used to indicate acquisition indication information, which indicates whether the information to be acquired has been acquired. For example, when bit 5 is 1, it indicates that the information to be acquired has not been acquired; when bit 5 is 0, it indicates that the information to be acquired has been acquired. When bit 6 indicates that the acquisition priority of the information to be acquired is not the fourth priority, bit 5 is used to indicate whether the acquisition priority of the information to be acquired is the third priority. For example, when bit 5 is 0, it indicates that the acquisition priority of the information to be acquired is the third priority; when bit 5 is 1, it indicates that the acquisition priority of the information to be acquired is not the third priority. It should be noted that when the acquisition priority of the information to be acquired is not the third priority, based on the fact that the acquisition priority of the information to be acquired is neither the zeroth priority nor the fourth priority, therefore, the acquisition priority of the information to be acquired is either the first priority or the second priority.
[0287] In one implementation, bit 4 is reserved (not used to indicate any information), and bits 3 to 0 are used to indicate the acquisition period configuration parameters (xp) corresponding to the information to be acquired.
[0288] It should be noted that, in one implementation, the collection period configuration parameter corresponding to the information to be collected with the first collection priority is the first collection period configuration parameter. The first collection period configuration parameter includes either a first period configuration parameter or a second period configuration parameter. The first period configuration parameter (xp1) is less than the second period configuration parameter (xp2). Specifically, the collection period configuration parameter corresponding to the information to be collected with the first priority is the first period configuration parameter, and the collection period configuration parameter corresponding to the information to be collected with the second priority is the second period configuration parameter.
[0289] It should be noted that the collection period configuration parameters are the same for all information to be collected with the first priority; the collection period configuration parameters are the same for all information to be collected with the second priority.
[0290] It should also be noted that the configuration parameter for the first acquisition cycle can be an even number. In other words, the configuration parameter for the first cycle (xp1) can be an even number, and the configuration parameter for the second cycle (xp2) can be an even number. By setting the configuration parameters for the first and second cycles to be even numbers, the number of rounds for acquiring information of the first priority and the second priority can be even.
[0291] It should also be noted that, in one implementation, for at least one piece of information to be collected with a collection priority of third priority, the corresponding collection period configuration parameter (third period configuration parameter (xp3)) can start from 0 and gradually increase. For example, the collection priorities of information to be collected 1, information to be collected 2, information to be collected 3, and information to be collected 4 are third priority. The collection period configuration parameter (third period configuration parameter (xp3)) for information to be collected 1 is 0, the collection period configuration parameter (third period configuration parameter (xp3)) for information to be collected 2 is 1, the collection period configuration parameter (third period configuration parameter (xp3)) for information to be collected 3 is 2, and the collection period configuration parameter (third period configuration parameter (xp3)) for information to be collected 4 is 3. The collection period configuration parameter (third period configuration parameter (xp3)) for the above four pieces of information to be collected starts from 0 and gradually increases.
[0292] It should also be noted that, in one implementation, for at least one piece of information to be collected with a collection priority of fourth priority, the corresponding collection period configuration parameter (fourth period configuration parameter (xp4)) can start from 0 and gradually increase. For example, the collection priorities of information to be collected 5, 6, and 7 are fourth priority. The collection period configuration parameter (fourth period configuration parameter (xp4)) for information to be collected 5 is 0, for information to be collected 6 it is 1, and for information to be collected 7 it is 2. The collection period configuration parameter (fourth period configuration parameter (xp4)) for the above three pieces of information to be collected starts from 0 and gradually increases.
[0293] In summary, when the collection priority is zero, the collection configuration information indicates the collection priority. When the collection priority is first, second, third, or fourth, the collection configuration information indicates the collection priority and collection period configuration parameters. Additionally, when the collection priority is fourth, the collection configuration information may also include collection indication information, which indicates whether the information to be collected has already been collected.
[0294] The following section explains the process by which the baseboard management controller analyzes the acquisition configuration information to obtain one or more of the acquisition priority, acquisition cycle configuration parameters, and acquisition indication information.
[0295] Figure 4b This is a schematic diagram illustrating the analysis of collected configuration information provided in an embodiment of this application.
[0296] like Figure 4b For a given set of acquisition configuration information (acquisition configuration information corresponding to the target temperature information or acquisition configuration information corresponding to the information to be acquired), the baseboard management controller can query bit7 to determine whether bit7 is 1.
[0297] With bit 7 set to 1, the board management controller can determine the acquisition priority as zero.
[0298] When bit7 is 0, the board management controller determines that the acquisition priority is not the zeroth priority. That is, the board management controller can determine the acquisition priority as the first priority, the second priority, the third priority, or the fourth priority.
[0299] The baseboard management controller can query bit6 to determine whether bit6 is 0 if the acquisition priority is not zero.
[0300] When bit 6 is 0, the substrate management controller can determine the acquisition priority as the fourth priority. The substrate management controller can query bit 5 to determine if bit 5 is 0. If bit 5 is 0, the substrate management controller can determine the acquisition indication information corresponding to the information to be acquired, indicating that the information to be acquired has been acquired. If bit 5 is 1, the substrate management controller can determine the acquisition indication information corresponding to the information to be acquired, indicating that the information to be acquired has not been acquired. If the acquisition indication information corresponding to the information to be acquired indicates that the information to be acquired has not been acquired, the substrate management controller can query bits 3 to 0 (or bits 4 to 0) to determine the acquisition cycle configuration parameter (xp4) corresponding to the information to be acquired.
[0301] When bit 6 is 1, the substrate management controller can determine that the acquisition priority corresponding to the information to be acquired is not the fourth priority. In other words, the substrate management controller can determine that the acquisition priority corresponding to the information to be acquired is the first priority, the second priority, or the third priority.
[0302] The baseboard management controller can query bit5 to determine whether bit5 is 0 if the acquisition priority corresponding to the information to be acquired is not the fourth priority.
[0303] When bit5 is 0, the baseboard management controller can determine that the acquisition priority corresponding to the information to be acquired is the third priority. The baseboard management controller can query bits 3 to 0 (or bits 4 to 0) to determine the acquisition cycle configuration parameter (xp3) corresponding to the information to be acquired.
[0304] When bit 5 is 1, the substrate management controller can determine whether the acquisition priority corresponding to the information to be acquired is the first priority or the second priority. The substrate management controller can query bits 3 to 0 (or bits 4 to 0) to determine the acquisition cycle configuration parameters corresponding to the information to be acquired. It should be noted that when the acquisition priority corresponding to the information to be acquired is the first priority, the substrate management controller queries bits 3 to 0 (or bits 4 to 0) to determine the first cycle configuration parameter (xp1). When the acquisition priority corresponding to the information to be acquired is the second priority, the substrate management controller queries bits 3 to 0 (or bits 4 to 0) to determine the second cycle configuration parameter (xp2).
[0305] S403: Based on the current round and the collection configuration information corresponding to each piece of information to be collected, determine the target information to be collected from multiple pieces of information to be collected.
[0306] In this embodiment, the baseboard management controller can determine the target information to be collected from multiple information to be collected based on the current round and the collection configuration information corresponding to each information to be collected.
[0307] In one implementation:
[0308] The first piece of information to be collected is any one of multiple pieces of information to be collected.
[0309] The baseboard management controller can determine whether the acquisition priority corresponding to the first piece of information to be acquired is the zeroth priority.
[0310] The baseboard management controller can use the first information to be collected as the target information to be collected when the collection priority corresponding to the first information to be collected is zero.
[0311] The baseboard management controller can determine whether the first piece of information to be collected meets the collection conditions based on the current round and the collection configuration information corresponding to the first piece of information to be collected, provided that the collection priority corresponding to the first piece of information to be collected is not zero. If the first piece of information to be collected meets the collection conditions, the baseboard management controller can use the first piece of information to be collected as the target piece of information to be collected.
[0312] It should be noted that the process by which the baseboard management controller determines whether the first information to be collected meets the collection conditions based on the current round, the collection priority corresponding to the first information to be collected, and the collection cycle configuration parameters corresponding to the first information to be collected is the same as S302, and will not be described again here.
[0313] S404: Collect the target information to be collected, and collect the target temperature information based on the preset conditions met by the collection configuration information corresponding to the target temperature information.
[0314] In this embodiment, the baseboard management controller can perform data acquisition on the target information to be acquired.
[0315] In addition, the baseboard management controller can also collect target temperature information if the acquisition configuration information corresponding to the target temperature information meets preset conditions.
[0316] In one implementation, the acquisition configuration information corresponding to the target temperature information includes an acquisition priority. The baseboard management controller can determine that the acquisition configuration information corresponding to the target temperature information meets preset conditions based on the target temperature information's acquisition priority being zero. The baseboard management controller can then perform acquisition of the target temperature information if the acquisition configuration information corresponding to the target temperature information meets the preset conditions.
[0317] Figure 4c This is a schematic diagram illustrating the acquisition of target temperature information and target information to be acquired, provided in an embodiment of this application. Table 4 shows the acquisition period corresponding to the acquisition priority. It should be noted that the acquisition priority corresponding to the target temperature information is the zeroth priority.
[0318] Table 4. Acquisition Periods Corresponding to Acquisition Priorities
[0319] Collection Priority Collection cycle Zero priority cp0=1 First priority cp1 = xp1 Second priority cp2 = xp2 Third priority cp3 = 2 * (max{xp3} + 1) Fourth priority cp4 = 2 * (max{xp4} + 1)
[0320] For example, when xp1 is 2, xp2 is 4, max{xp3} is 8, and max{xp4} is 4, the acquisition period corresponding to the first priority is 2, the acquisition period corresponding to the second priority is 4, the acquisition period corresponding to the third priority is 18, and the acquisition period corresponding to the fourth priority is 10.
[0321] like Figure 4c As shown, the target temperature information with the zeroth priority can be collected in each round.
[0322] For information to be collected with the highest priority, if the collection period configuration parameter is 2, the information can be collected in round 0, round 2, round 4, round 6, etc.
[0323] For information to be collected with a collection priority of second priority, if the collection period configuration parameter corresponding to the information to be collected is 4, the information to be collected can be collected in round 0, round 4, round 8, round 12, etc.
[0324] For information to be collected with a collection priority of third priority, based on a collection period of 18, if the collection period configuration parameter corresponding to a piece of information is 0, the information to be collected can be collected in round 1, round 19, round 37, etc.; if the collection period configuration parameter corresponding to a piece of information is 1, the information to be collected can be collected in round 3, round 21, round 39, etc.
[0325] For information to be collected with a collection priority of fourth priority, based on a collection period of 10, if the collection period configuration parameter corresponding to a piece of information is 0, the information to be collected will be collected in the first round; if the period configuration parameter corresponding to a piece of information is 1, the information to be collected can be collected in the third round.
[0326] The beneficial effects of this embodiment are as follows: The substrate management controller can obtain the current round of information acquisition. The substrate management controller can obtain the acquisition configuration information corresponding to each of the multiple pieces of information to be acquired from the target component, and obtain the acquisition configuration information corresponding to the target temperature information of the target component. Each piece of information to be acquired is non-target temperature information, which is used to adjust the target parameter when the target temperature information fails; or, the non-target temperature information is unrelated to the adjustment of the target parameter. The target temperature information is used to adjust the target parameter. The substrate management controller can determine the target information to be acquired from the multiple pieces of information to be acquired based on the current round and the acquisition configuration information corresponding to each piece of information to be acquired. The substrate management controller can perform acquisition on the target information to be acquired, and, if it is determined that the target temperature information meets preset conditions based on the acquisition configuration information corresponding to the target temperature information, perform acquisition on the target temperature information. Through the above methods, on the one hand, the target temperature information and the target information to be collected can be collected using a single thread instead of two threads, improving resource utilization. On the other hand, based on the collection configuration information corresponding to the information to be collected, the target information to be collected in each round of information collection can be determined, realizing the round-by-round collection of multiple information to be collected, shortening the total collection time corresponding to each round of information collection, and thus improving collection efficiency. Furthermore, the baseboard management controller can collect the target temperature information when it is determined that the target temperature information meets the preset conditions based on the collection configuration information corresponding to the target temperature information, shortening the collection cycle of the target temperature information, increasing the collection frequency of the target temperature information, and thus accurately adjusting the target parameters of the computing device based on the target temperature information, improving the stability of the computing device.
[0327] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0328] Figure 5 This is a schematic diagram of an information acquisition device provided in an embodiment of this application. The information acquisition device 50 includes a processing module 51 and an acquisition module 52.
[0329] Processing module 51 is used to obtain the current round of information collection;
[0330] The processing module 51 is also used to obtain the collection configuration information corresponding to each of the multiple pieces of information to be collected from the target component;
[0331] Among them, each piece of information to be collected is non-target temperature information;
[0332] Non-target temperature information is used to adjust target parameters when target temperature information fails; or, non-target temperature information is unrelated to target parameter adjustment; target temperature information is used to adjust target parameters.
[0333] The collection configuration information is used to indicate the round in which the information to be collected will be collected;
[0334] The processing module 51 is also used to determine the target information to be collected from multiple information to be collected based on the current round and the collection configuration information corresponding to each information to be collected;
[0335] The acquisition module 52 is used to acquire target temperature information and target information to be acquired.
[0336] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0337] In one implementation, the collection configuration information includes collection priority and collection period configuration parameters;
[0338] Processing module 51 is specifically used for:
[0339] Based on the current round, the collection priority corresponding to the first piece of information to be collected, and the collection period configuration parameters corresponding to the first piece of information to be collected, it is determined whether the first piece of information to be collected meets the collection conditions; wherein, the first piece of information to be collected is any one of multiple pieces of information to be collected;
[0340] If the first piece of information to be collected meets the collection conditions, the first piece of information to be collected will be used as the target piece of information to be collected.
[0341] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0342] In one implementation, the collection priorities corresponding to multiple pieces of information to be collected include a first collection priority; the collection period configuration parameter corresponding to the collection information with the first collection priority is the first collection period configuration parameter, and the first collection period configuration parameter is an even number;
[0343] Processing module 51 is specifically used for:
[0344] If the collection priority corresponding to the first piece of information to be collected is the first collection priority, determine whether the current round is an integer multiple of the first collection period; the first collection period is determined based on the first collection period configuration parameters.
[0345] If the current round is an integer multiple of the configuration parameters of the first collection cycle, the first information to be collected is determined to meet the collection conditions.
[0346] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0347] In one implementation, the first acquisition period is equal to the first acquisition period configuration parameter;
[0348] The first acquisition priority includes either the first priority or the second priority; the first acquisition cycle parameter includes either the first cycle configuration parameter or the second cycle configuration parameter.
[0349] The collection priority is the collection period configuration parameter corresponding to the information to be collected with the highest priority, which is the first period configuration parameter;
[0350] The collection priority is the collection period configuration parameter corresponding to the information to be collected with the second priority, which is the second period configuration parameter;
[0351] The configuration parameters for the first cycle are less than those for the second cycle.
[0352] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0353] In one implementation, the collection priorities corresponding to multiple pieces of information to be collected include a second collection priority;
[0354] Processing module 51 is specifically used for:
[0355] If the collection priority corresponding to the first piece of information to be collected is the second collection priority, determine whether the remainder of the current round with respect to the second collection period is the target remainder; the target remainder and the second collection period are determined based on the collection period configuration parameters corresponding to the first piece of information to be collected; the target remainder is an odd number.
[0356] If the remainder of the current round for the second collection cycle is the target remainder, then the first piece of information to be collected is determined to meet the collection conditions.
[0357] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0358] In one implementation,
[0359] The target remainder is 2*K+1; where K is the collection period configuration parameter corresponding to the first piece of information to be collected; K is an integer;
[0360] The second collection period is 2*(M+1); where M is the largest of the collection period configuration parameters corresponding to at least one selected information to be collected; M is an integer; the selected information to be collected is the information to be collected with the second collection priority.
[0361] At least one selected information to be collected includes the first information to be collected, or at least one selected information to be collected includes the first information to be collected and information to be collected with the same collection priority as the first information to be collected.
[0362] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0363] In one implementation, the second acquisition priority includes either the third or fourth priority;
[0364] If the collection priority of the first piece of information to be collected is the third priority, then select the piece of information to be collected that has the third priority.
[0365] If the collection priority of the first piece of information to be collected is the fourth priority, then select the information to be collected as the information with the fourth priority.
[0366] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0367] In one implementation, the collection configuration information includes collection indication information, which indicates whether the first information to be collected has been collected; the information to be collected with the fourth priority is static information.
[0368] Processing module 51 is specifically used for:
[0369] If the collection priority corresponding to the first piece of information to be collected is the fourth priority, determine whether the collection indication information indicates that the first piece of information to be collected has been collected;
[0370] If the collection instruction information indicates that the first information to be collected has not been collected, determine whether the remainder of the current round with respect to the second collection cycle is the target remainder.
[0371] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0372] In one implementation, the acquisition module 52 is specifically used for:
[0373] Determine whether the target information has a corresponding collectable identifier; the collectable identifier is used to indicate whether the target information supports collection; the target information is target temperature information or target information to be collected;
[0374] If the target information has a collectable identifier, a write command is sent to the target component; the write command is used to instruct the acquisition of the target information.
[0375] Read target information.
[0376] The information collection device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0377] This application embodiment also provides a computing device, including:
[0378] Baseboard management controller and target components;
[0379] The baseboard management controller is electrically connected to the target component;
[0380] The substrate management controller is used to execute the technical solutions provided in the aforementioned method embodiments.
[0381] The baseboard management controller in the computing device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0382] In one implementation, the target component is a graphics processor.
[0383] The baseboard management controller in the computing device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0384] This application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the technical solutions provided in the aforementioned method embodiments.
[0385] This application provides a computer program product, including a computer program, which, when executed by a processor, is used to implement the technical solutions provided in the aforementioned method embodiments.
[0386] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as volatile memory and non-volatile memory.
[0387] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. An information collection method, characterized in that, include: Get the current round of information collection; Obtain the collection configuration information corresponding to each of the multiple pieces of information to be collected from the target component; Among them, each piece of information to be collected is non-target temperature information; The non-target temperature information is used to adjust the target parameter when the target temperature information fails; or, the non-target temperature information is unrelated to the adjustment of the target parameter; the target temperature information is used to adjust the target parameter. The data collection configuration information is used to indicate the round in which the information to be collected is collected; Based on the current round and the collection configuration information corresponding to each piece of information to be collected, the target information to be collected is determined from multiple pieces of information to be collected; The target temperature information and the target information to be collected are collected.
2. The method according to claim 1, characterized in that, The data acquisition configuration information includes data acquisition priority and data acquisition cycle configuration parameters; The step of determining the target information to be collected from multiple information items based on the current round and the collection configuration information corresponding to each information item to be collected includes: Based on the current round, the collection priority corresponding to the first information to be collected, and the collection period configuration parameters corresponding to the first information to be collected, it is determined whether the first information to be collected meets the collection conditions; wherein, the first information to be collected is any one of the plurality of information to be collected; If the first information to be collected meets the collection conditions, the first information to be collected is taken as the target information to be collected.
3. The method according to claim 2, characterized in that, The collection priorities corresponding to the multiple pieces of information to be collected include a first collection priority; the collection period configuration parameter corresponding to the collection information of the first collection priority is the first collection period configuration parameter, and the first collection period configuration parameter is an even number; The step of determining whether the first information to be collected meets the collection conditions based on the current round, the collection priority corresponding to the first information to be collected, and the collection period configuration parameters corresponding to the first information to be collected includes: If the collection priority corresponding to the first information to be collected is the first collection priority, determine whether the current round is an integer multiple of the first collection period; the first collection period is determined based on the first collection period configuration parameters; If the current round is an integer multiple of the first collection cycle configuration parameter, it is determined that the first information to be collected meets the collection conditions.
4. The method according to claim 3, characterized in that, The first acquisition period is equal to the first acquisition period configuration parameter; The first acquisition priority includes a first priority or a second priority; the first acquisition period parameter includes a first period configuration parameter or a second period configuration parameter; The collection priority is the collection period configuration parameter corresponding to the information to be collected with the first priority, which is the first period configuration parameter; The collection priority is the collection period configuration parameter corresponding to the information to be collected with the second priority, which is the second period configuration parameter; The first cycle configuration parameter is less than the second cycle configuration parameter.
5. The method according to claim 2, characterized in that, The collection priorities corresponding to the multiple pieces of information to be collected include a second collection priority; The step of determining whether the first information to be collected meets the collection conditions based on the current round, the collection priority corresponding to the first information to be collected, and the collection period configuration parameters corresponding to the first information to be collected includes: When the collection priority corresponding to the first information to be collected is the second collection priority, it is determined whether the remainder of the current round with respect to the second collection period is the target remainder; the target remainder and the second collection period are determined based on the collection period configuration parameters corresponding to the first information to be collected; the target remainder is an odd number; If the remainder of the current round with respect to the second collection period is the target remainder, it is determined that the first information to be collected meets the collection conditions.
6. The method according to claim 5, characterized in that, The target remainder is 2*K+1; where K is the collection period configuration parameter corresponding to the first information to be collected; and K is an integer. The second acquisition period is 2*(M+1); where M is the largest of the acquisition period configuration parameters corresponding to at least one selected information to be acquired; M is an integer; the selected information to be acquired is the information to be acquired with the acquisition priority of the second acquisition priority.
7. The method according to claim 6, characterized in that, The second acquisition priority includes either the third or fourth priority; When the collection priority of the first information to be collected is the third priority, the selected information to be collected is the information to be collected with the collection priority of the third priority; When the collection priority of the first information to be collected is the fourth priority, the selected information to be collected is the information to be collected with the collection priority of the fourth priority.
8. The method according to claim 7, characterized in that, The data collection configuration information includes data collection indication information, which indicates whether the first data to be collected has been collected; the data to be collected with the fourth priority is static information. When the collection priority corresponding to the first information to be collected is the second collection priority, determining whether the remainder of the current round with respect to the second collection period is the target remainder includes: If the collection priority corresponding to the first information to be collected is the fourth priority, determine whether the collection indication information indicates that the first information to be collected has been collected; If the collection indication information indicates that the first information to be collected has not been collected, determine whether the remainder of the current round with respect to the second collection cycle is the target remainder.
9. The method according to any one of claims 1-8, characterized in that, The process of collecting the target temperature information and the target information to be collected includes: Determine whether the target information has a corresponding collectable identifier; wherein, the collectable identifier is used to indicate whether the target information supports collection; the target information is the target temperature information or the target information to be collected; If the target information has a collectable identifier, a write command is sent to the target component; the write command is used to instruct the acquisition of the target information. Read the target information.
10. A computing device, characterized in that, include: Baseboard management controller and target components; The substrate management controller is electrically connected to the target component; The substrate management controller is used to perform the method according to any one of claims 1-9.
11. The computing device according to claim 10, characterized in that, The target component is a graphics processing unit (GPU).