CN116521480A - Power consumption reading precision test system, method, device, equipment and storage medium - Google Patents

Power consumption reading precision test system, method, device, equipment and storage medium Download PDF

Info

Publication number
CN116521480A
CN116521480A CN202310478740.5A CN202310478740A CN116521480A CN 116521480 A CN116521480 A CN 116521480A CN 202310478740 A CN202310478740 A CN 202310478740A CN 116521480 A CN116521480 A CN 116521480A
Authority
CN
China
Prior art keywords
power consumption
reading
value
management controller
baseboard management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310478740.5A
Other languages
Chinese (zh)
Inventor
孟宪利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310478740.5A priority Critical patent/CN116521480A/en
Publication of CN116521480A publication Critical patent/CN116521480A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The application relates to a power consumption reading precision testing system, a method, a device, equipment and a storage medium, wherein the system comprises an upper computer, a universal meter, direct current load equipment and a server main board: the upper computer is in communication connection with a network port arranged on the server main board through a network cable; the direct current load equipment and the universal meter are connected with the upper computer through a universal interface bus, and the direct current load equipment and the universal meter are connected through the universal interface bus; the positive and negative ends of the universal meter are respectively connected with the two ends of the precision resistor arranged on the server main board through the clamp jig; and the direct current load equipment is connected with the server main board through a load line. Compared with the prior art, the power consumption reading precision can be automatically tested, and when the power consumption reading precision does not meet the testing requirement, the self-adaptive adjustment can be performed, so that the testing efficiency and accuracy are improved.

Description

Power consumption reading precision test system, method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of power consumption testing technologies, and in particular, to a power consumption reading accuracy testing system, a method, an apparatus, a device, and a storage medium.
Background
During daily use of a server system, clients often target relevant components of the server. Such as: the power consumption monitoring of hard disk, fan, PCIE (peripheral component interconnect express, a high-speed serial computer expansion bus standard) device, etc. has a certain design requirement, and the power consumption reading is usually completed by the BMC (Baseboard Management Controller ), so there is a related requirement on the accuracy of the BMC reading power consumption.
In the current power consumption monitoring design of the component, a power consumption monitoring chip monitors the pressure difference between two ends of a precision resistor to obtain current information, and a voltage register, a current register, a power register and a BMC (baseboard management controller) are arranged in the monitoring chip to obtain the power register value of the monitoring chip through an I2C (bidirectional two-wire synchronous serial bus), so that the power consumption of the component is known.
As shown in fig. 1, in the prior art, a DC Load (direct current Load) is used to pull the output end of a precision resistor (15-20 pull current points are divided according to the maximum current average), the actual power consumption=current X voltage, the current is directly read through the DC Load, the voltage is read through a multimeter, the voltage of the output end of the precision resistor is manually recorded, the current and the voltage value of each pull point are recorded in a reported table, and thus the actual power consumption corresponding to different pull current points can be obtained; in addition, the reading process of BMC power consumption is as follows: through setting up the interconnection of host computer and mainboard net gape, but the ping leads to, and BMC can read the power consumption value through the power consumption reading instrument (ipmi command) of development, and equally, utilize DCload to draw and carry, then BMC draws through the power consumption reading instrument and carries once, and manual reading is a value, records in the table. In addition, the test is usually completed by the joint cooperation of a BMC engineer and a power engineer, certain technical blind spots exist in the fields of the BMC engineer and the power engineer, one test needs to consume two field colleagues, the current high-efficiency and accurate test requirements are not met, and when the test result does not meet the accuracy requirements, the BMC colleagues are usually required to solve the bug, manually change the single gain value fixed in the program, and again pull all the test current values until the test result meets the test requirements, so that the manual bug solving is strong in specialization, and the whole process is required to be repeated manually for multiple times, so that the self-adaption adjustment cannot be performed, and the test efficiency is low.
Disclosure of Invention
Based on this, it is necessary to provide a power consumption reading accuracy test system, a method, an apparatus, a device and a storage medium in view of the above technical problems.
In a first aspect, a power consumption reading precision testing system is provided, where the system includes an upper computer, a multimeter, a dc load device, and a server motherboard:
the upper computer is in communication connection with a network port arranged on the server main board through a network cable;
the direct current load equipment and the universal meter are connected with the upper computer through a universal interface bus, and the direct current load equipment and the universal meter are connected through the universal interface bus;
the positive and negative ends of the universal meter are respectively connected with the two ends of a precision resistor arranged on the server main board;
and the direct current load equipment is connected with the server main board through a load line.
In one embodiment, the method further comprises: the upper computer comprises a device connection unit, a direct current load control unit, a data reading unit, a data storage unit and a calibration unit:
the equipment connection unit is used for judging whether the equipment is normally connected or not, and the equipment comprises the upper computer, a universal meter, direct current load equipment and a server main board;
The direct current load control unit is used for controlling the direct current load equipment to carry out a load pulling test according to the load pulling current point;
the data reading unit is used for reading the data obtained in the test process;
the data storage unit is used for storing the data read in the test process;
the calibration unit is used for calibrating the power consumption value of the baseboard management controller based on the analysis result of the read data.
In one embodiment, the method further comprises: the data reading unit comprises a baseboard management controller power consumption reading unit, a direct current load current reading unit and a multimeter voltage reading unit:
the power consumption reading unit of the baseboard management controller is used for reading the power consumption value of the baseboard management controller;
the direct current load current reading unit is used for reading the direct current load current value;
the universal meter voltage reading unit is used for reading the voltage value of the universal meter.
In a second aspect, a method for testing power consumption reading accuracy is provided, the method comprising:
the upper computer is used for reading the pre-filling information of the test report, and the direct current load equipment carries out load pulling test on the server main board based on the pre-filling information of the test report;
The method comprises the steps that a data reading unit is used for reading data information obtained in a test process, wherein the data information comprises a current value, a voltage value and a power consumption value of a substrate management controller;
determining the power consumption reading precision of the baseboard management controller according to the data information;
and in response to detecting that the power consumption reading precision of the baseboard management controller does not meet a preset standard, performing self-adaptive adjustment on the power consumption value of the baseboard management controller based on the calibration value.
In one embodiment, the method further comprises: before the pre-filling information of the test report is read by the upper computer, and the direct current load equipment performs the pull load test on the server main board based on the pre-filling information of the test report, the method further comprises the following steps:
detecting whether an internet protocol address of the upper computer is consistent with an internet protocol address of a network port of the server main board;
judging that the upper computer and the server main board successfully establish communication when the internet protocol addresses of the upper computer and the server main board are consistent;
meanwhile, detecting the connection state between the direct current load equipment and the connection equipment thereof and the connection state between the universal meter and the connection equipment thereof;
And when the connection state of all the devices is normal, reading the pre-filling information of the test report by using the upper computer, and carrying out a pull load test on the server main board by the direct current load device based on the pre-filling information of the test report.
In one embodiment, the method further comprises: the determining the power consumption reading precision of the baseboard management controller according to the data information comprises the following steps:
acquiring a first current value set, a first voltage value set and a first power consumption value set of a substrate management controller corresponding to a target load current point in a test process;
respectively deleting m maximum values and m minimum values in the first current value set, the first voltage value set and the first power consumption value set of the baseboard management controller, and calculating the average of the residual values in each set to respectively obtain a current average, a voltage average and a first power consumption value average, wherein m is a positive integer;
calculating a second power consumption value based on the current average and the voltage average;
responsive to detecting the change ratioAnd when the power consumption reading precision of the baseboard management controller does not meet the preset standard, judging that the power consumption reading precision of the baseboard management controller does not meet the preset standard, wherein C represents a fluctuation ratio, A represents a first power consumption value average number, and B represents a second power consumption value.
In one embodiment, the method further comprises: the adaptively adjusting the power consumption value of the baseboard management controller based on the calibration value in response to detecting that the power consumption reading precision of the baseboard management controller does not meet the preset standard comprises:
in response to detecting that the variation ratio is not within a preset range, adding a list to the test report and writing an average value of power consumptionAdding another column in the test report based on the power consumption average value, and writing a calibration value +.>Wherein D represents an average power consumption value, and G represents a calibration value;
multiplying the calibration value by the power consumption value of the baseboard management controller to obtain a final power consumption value of the baseboard management controller so as to realize self-adaptive adjustment of the power consumption value of the baseboard management controller.
In a third aspect, there is provided a power consumption reading accuracy testing apparatus, the apparatus comprising:
the test module is used for reading the pre-filling information of the test report by using the upper computer, and the direct current load equipment carries out load pulling test on the server main board based on the pre-filling information of the test report;
the data information reading module is used for reading data information obtained in the testing process by utilizing the data reading unit, wherein the data information comprises a current value, a voltage value and a power consumption value of the baseboard management controller;
The power consumption reading precision determining module is used for determining the power consumption reading precision of the baseboard management controller according to the data information;
and the self-adaptive adjustment module is used for carrying out self-adaptive adjustment on the power consumption value of the baseboard management controller by utilizing the calibration value output by the calibration unit in response to detecting that the power consumption reading precision of the baseboard management controller does not meet the preset standard.
In a fourth aspect, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of:
the upper computer is used for reading the pre-filling information of the test report, and the direct current load equipment carries out load pulling test on the server main board based on the pre-filling information of the test report;
the method comprises the steps that a data reading unit is used for reading data information obtained in a test process, wherein the data information comprises a current value, a voltage value and a power consumption value of a substrate management controller;
determining the power consumption reading precision of the baseboard management controller according to the data information;
and in response to detecting that the power consumption reading precision of the baseboard management controller does not meet a preset standard, performing self-adaptive adjustment on the power consumption value of the baseboard management controller based on the calibration value.
In a fifth aspect, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
the upper computer is used for reading the pre-filling information of the test report, and the direct current load equipment carries out load pulling test on the server main board based on the pre-filling information of the test report;
the method comprises the steps that a data reading unit is used for reading data information obtained in a test process, wherein the data information comprises a current value, a voltage value and a power consumption value of a substrate management controller;
determining the power consumption reading precision of the baseboard management controller according to the data information;
and in response to detecting that the power consumption reading precision of the baseboard management controller does not meet a preset standard, performing self-adaptive adjustment on the power consumption value of the baseboard management controller based on the calibration value.
The power consumption reading precision testing system, the power consumption reading precision testing method, the power consumption reading precision testing device, the power consumption reading precision testing equipment and the storage medium, wherein the system comprises an upper computer, a universal meter, direct current load equipment and a server main board: the upper computer is in communication connection with a network port arranged on the server main board through a network cable; the direct current load equipment and the universal meter are connected with the upper computer through a universal interface bus, and the direct current load equipment and the universal meter are connected through the universal interface bus; the positive and negative ends of the universal meter are respectively connected with the two ends of the precision resistor arranged on the server main board through the clamp jig; the direct current load equipment is connected with the server mainboard through the load line, and compared with the prior art, the power consumption reading precision can be automatically tested, and when the power consumption reading precision does not meet the test requirement, self-adaptive adjustment can be performed, so that the test efficiency and accuracy are improved.
Drawings
FIG. 1 is a schematic diagram of a conventional system architecture of a power consumption reading accuracy test system in the background art;
FIG. 2 is a schematic diagram of a system architecture of a power consumption reading accuracy testing system in one embodiment;
FIG. 3 is a block diagram of a host computer of a power consumption reading accuracy testing system in one embodiment;
FIG. 4 is a block diagram of a data reading unit of a power consumption reading accuracy testing system in one embodiment;
FIG. 5 is a flow chart of a method for testing power consumption reading accuracy in one embodiment;
FIG. 6 is a block diagram of a power consumption reading accuracy testing device in one embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be understood that throughout this description, unless the context clearly requires otherwise, the words "comprise," "comprising," and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, it is the meaning of "including but not limited to".
It should also be appreciated that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
It should be noted that the terms "S1", "S2", and the like are used for the purpose of describing steps only, and are not intended to be limited to the order or sequence of steps or to limit the present application, but are merely used for convenience in describing the method of the present application and are not to be construed as indicating the sequence of steps. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be regarded as not exist and not within the protection scope of the present application.
Example 1: in one embodiment, as shown in fig. 2-4, a power consumption reading accuracy testing system is provided, and as shown in fig. 2, the system includes a host computer, a multimeter, a direct current load device and a server motherboard:
the upper computer is in communication connection with a network port arranged on the server main board through a network cable, wherein the upper computer is an upper computer system developed based on python or other programming languages, namely a PC (personal computer) and the like, and the network port is arranged on one side of the server main board upper main board and is connected with the upper computer through the network cable;
the direct current load device and the universal meter are connected with the upper computer through a universal interface bus, and the direct current load device and the universal meter are connected through the universal interface bus, wherein the direct current load device is the DC load in fig. 2, and the universal interface bus is the GPIB line in fig. 2;
the positive and negative ends of the universal meter are respectively connected with the two ends of the precision resistor arranged on the server main board through the clamp jig;
and the direct current load equipment is connected with the server main board through a load line.
In some embodiments, as shown in fig. 3, the upper computer includes a device connection unit, a dc load control unit, a data reading unit, a data storage unit, and a calibration unit:
The equipment connection unit is used for judging whether the equipment is normally connected or not, and the equipment comprises the upper computer, a universal meter, direct current load equipment and a server main board;
the direct current load control unit is used for controlling the direct current load equipment to carry out a load pulling test according to the load pulling current point;
the data reading unit is used for reading the data obtained in the test process;
the data storage unit is used for storing the data read in the test process;
the calibration unit is used for calibrating the power consumption value of the baseboard management controller based on the analysis result of the read data.
In some embodiments, as shown in fig. 4, the data reading unit includes a baseboard management controller power consumption reading unit, a direct current load current reading unit, and a multimeter voltage reading unit:
the power consumption reading unit of the baseboard management controller is used for reading the power consumption value of the baseboard management controller;
the direct current load current reading unit is used for reading the direct current load current value;
the universal meter voltage reading unit is used for reading the voltage value of the universal meter.
The above-described respective modules in the power consumption reading accuracy testing system may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Example 2: in one embodiment, as shown in fig. 5, there is provided a power consumption reading accuracy testing method, including the steps of:
s1: and reading the pre-filling information of the test report by using the upper computer, and carrying out a pull load test on the server mainboard by the direct current load equipment based on the pre-filling information of the test report.
It should be noted that, before the test is started, the test system as described in embodiment 1 is first set up, and the connection state between the devices is detected, specifically:
detecting whether an internet protocol address of the upper computer is consistent with an internet protocol address of a network port of the server main board or not by using a device connection unit, namely judging whether a PI NG (proportion integration period) communication relation is established by a BMC (baseboard management controller) network port or not;
when the internet protocol addresses of the upper computer and the server main board are consistent, judging that the upper computer successfully establishes communication with the server main board and the BMC on the server main board, and enabling PI NG to be communicated;
meanwhile, detecting the connection state between the direct current Load device and the connection device thereof and the connection state between the universal meter and the connection device thereof, namely detecting the connection state between the other devices by using a device connection unit, and comparing a GPI B address with the device address searched by the device actually connected to the PC, and automatically judging whether the DC Load universal meter is normally connected by judging whether the device address is consistent or not, wherein the GPI B address refers to an address in the form of GPI B obtained after the device is connected by a GPI B line;
And when the connection state of all the devices is normal, reading the pre-filling information of the test report by using the upper computer, and carrying out a pull load test on the server main board by the direct current load device based on the pre-filling information of the test report.
The connection state is detected in advance before the test, so that the subsequent smooth test can be ensured, the abnormal test caused by abnormal connection state between devices is avoided, and the test efficiency is improved.
Further, the pre-filling information of the test report refers to a load current value used for testing the group of electricity with the BMC read power consumption on the server main board to be tested, a target load current point is formed, and further, the direct current load control unit controls the direct current load device to circularly pull different currents based on the pre-filling information of the test report so as to test the server main board, wherein the test on the server main board specifically refers to the load test on the group of electricity with the BMC read power consumption on the server main board.
S2: and reading data information obtained in the test process by using a data reading unit, wherein the data information comprises a current value, a voltage value and a power consumption value of the baseboard management controller.
It should be noted that, in the test process of step S1, each time the current is pulled, the data reading unit is used to read the current value and the voltage value corresponding to each pulling current and the power consumption value of the baseboard management controller, where the current value and the voltage value refer to the current value output by the dc load device and the voltage value read by the multimeter when the current is actually pulled, respectively, so as to be used for calculating the actual power consumption value subsequently.
S3: and determining the power consumption reading precision of the baseboard management controller according to the data information.
It should be noted that this step specifically includes: acquiring a first current value set, a first voltage value set and a first power consumption value set of a substrate management controller corresponding to a target load current point in a test process; respectively deleting m maximum values and m minimum values in the first current value set, the first voltage value set and the first power consumption value set of the substrate management controller, and calculating the average of the residual values in each set to obtain a current average, a voltage average and a first power consumption value average, wherein m is a positive integer, and under each pulling current value, 30 values can be read, 5 maximum values and 5 minimum values are deleted, and the rest 20 data are deleted, and the corresponding average current, average voltage and average BMC power consumption values are calculated through an average algorithm;
Calculating a second power consumption value based on the current average and the voltage average, wherein the actual power consumption value=current X voltage, and therefore, the actual power consumption value, namely the second power consumption value, can be obtained by multiplying the current average and the voltage average;
further, whether the power consumption reading precision of the baseboard management controller meets a preset standard is judged according to the actual power consumption value and the average value of the first power consumption values, specifically:
calculating a variation ratio, the calculation formula of which isWherein, C tableShowing a variation ratio, A representing a first power consumption value average, B representing a second power consumption value
Responsive to detecting the change ratioWhen the power consumption reading precision of the baseboard management controller does not meet the preset standard, wherein the preset range is a spec range of the power consumption testing precision, and can be set according to actual requirements, for example, if the standard power consumption testing precision value is within plus or minus 5%, if the standard power consumption testing precision value is not within the range, the power consumption reading precision of the baseboard management controller is judged to not meet the preset standard.
S4: and in response to detecting that the power consumption reading precision of the baseboard management controller does not meet a preset standard, performing self-adaptive adjustment on the power consumption value of the baseboard management controller based on the calibration value.
It should be noted that this step specifically includes: in response to detecting that the variation ratio is not in a preset range, that is, the power consumption reading precision of the baseboard management controller does not meet a preset standard, a test fail item is provided and the fail is reported to an upper computer, the upper computer reads a self-adaptively configured calibration value and writes the calibration value into a command of BMC power consumption reading, the power consumption is ensured to be in a spec range, and the calibration value acquisition method comprises the following steps:
adding a column to the test report and writing the average of power consumptionAdding another column in the test report based on the power consumption average value, and writing a calibration value +.>Wherein D represents an average power consumption value, and G represents a calibration value;
and carrying out self-adaptive adjustment on the power consumption value of the baseboard management controller based on the calibration value, specifically, multiplying the calibration value by the BMC power consumption value to obtain an accurate BMC power consumption value.
In the above power consumption reading accuracy testing method, the method includes: the upper computer is used for reading the pre-filling information of the test report, and the direct current load equipment carries out load pulling test on the server main board based on the pre-filling information of the test report; the method comprises the steps that a data reading unit is used for reading data information obtained in a test process, wherein the data information comprises a current value, a voltage value and a power consumption value of a substrate management controller; determining the power consumption reading precision of the baseboard management controller according to the data information; in response to detecting that the power consumption reading precision of the baseboard management controller does not meet a preset standard, the power consumption value of the baseboard management controller is adaptively adjusted based on the calibration value.
It should be understood that, although the steps in the flowchart of fig. 5 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 5 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or other steps.
Example 3: in one embodiment, as shown in fig. 6, there is provided a power consumption reading accuracy testing apparatus, including: the device comprises a testing module, a data information reading module, a power consumption reading precision determining module and a self-adaptive adjusting module, wherein:
the test module is used for reading the pre-filling information of the test report by using the upper computer, and the direct current load equipment carries out load pulling test on the server main board based on the pre-filling information of the test report;
The data information reading module is used for reading data information obtained in the testing process by utilizing the data reading unit, wherein the data information comprises a current value, a voltage value and a power consumption value of the baseboard management controller;
the power consumption reading precision determining module is used for determining the power consumption reading precision of the baseboard management controller according to the data information;
and the self-adaptive adjustment module is used for carrying out self-adaptive adjustment on the power consumption value of the baseboard management controller by utilizing the calibration value output by the calibration unit in response to detecting that the power consumption reading precision of the baseboard management controller does not meet the preset standard.
As a preferred implementation manner, in the embodiment of the present invention, the apparatus further includes a connection state detection module, where the connection state detection module is specifically configured to:
detecting whether an internet protocol address of the upper computer is consistent with an internet protocol address of a network port of the server main board;
judging that the upper computer and the server main board successfully establish communication when the internet protocol addresses of the upper computer and the server main board are consistent;
meanwhile, detecting the connection state between the direct current load equipment and the connection equipment thereof and the connection state between the universal meter and the connection equipment thereof;
And when the connection state of all the devices is normal, reading the pre-filling information of the test report by using the upper computer, and carrying out a pull load test on the server main board by the direct current load device based on the pre-filling information of the test report.
In an embodiment of the present invention, the power consumption reading accuracy determining module is specifically configured to:
acquiring a first current value set, a first voltage value set and a first power consumption value set of a substrate management controller corresponding to a target load current point in a test process;
respectively deleting m maximum values and m minimum values in the first current value set, the first voltage value set and the first power consumption value set of the baseboard management controller, and calculating the average of the residual values in each set to respectively obtain a current average, a voltage average and a first power consumption value average, wherein m is a positive integer;
calculating a second power consumption value based on the current average and the voltage average;
responsive to detecting the change ratioAnd when the power consumption reading precision of the baseboard management controller does not meet the preset standard, judging that the power consumption reading precision of the baseboard management controller does not meet the preset standard, wherein C represents a fluctuation ratio, A represents a first power consumption value average number, and B represents a second power consumption value.
As a preferred implementation manner, in the embodiment of the present invention, the adaptive adjustment module is specifically configured to:
in response to detecting that the variation ratio is not within a preset range, adding a list to the test report and writing an average value of power consumptionAdding another column in the test report based on the power consumption average value, and writing a calibration value +.>Wherein D represents an average power consumption value, and G represents a calibration value;
multiplying the calibration value by the power consumption value of the baseboard management controller to obtain a final power consumption value of the baseboard management controller so as to realize self-adaptive adjustment of the power consumption value of the baseboard management controller.
For specific limitations of the power consumption reading accuracy testing device, reference may be made to the above limitations of the power consumption reading accuracy testing method, and no further description is given here. The above-described respective modules in the power consumption reading accuracy testing apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Example 4: in one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method for power consumption reading accuracy testing. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of when executing the computer program:
s1: the upper computer is used for reading the pre-filling information of the test report, and the direct current load equipment carries out load pulling test on the server main board based on the pre-filling information of the test report;
s2: the method comprises the steps that a data reading unit is used for reading data information obtained in a test process, wherein the data information comprises a current value, a voltage value and a power consumption value of a substrate management controller;
s3: determining the power consumption reading precision of the baseboard management controller according to the data information;
s4: and in response to detecting that the power consumption reading precision of the baseboard management controller does not meet a preset standard, performing self-adaptive adjustment on the power consumption value of the baseboard management controller based on the calibration value.
In one embodiment, the processor when executing the computer program further performs the steps of:
detecting whether an internet protocol address of the upper computer is consistent with an internet protocol address of a network port of the server main board;
judging that the upper computer and the server main board successfully establish communication when the internet protocol addresses of the upper computer and the server main board are consistent;
meanwhile, detecting the connection state between the direct current load equipment and the connection equipment thereof and the connection state between the universal meter and the connection equipment thereof;
and when the connection state of all the devices is normal, reading the pre-filling information of the test report by using the upper computer, and carrying out a pull load test on the server main board by the direct current load device based on the pre-filling information of the test report.
In one embodiment, the processor when executing the computer program further performs the steps of:
acquiring a first current value set, a first voltage value set and a first power consumption value set of a substrate management controller corresponding to a target load current point in a test process;
respectively deleting m maximum values and m minimum values in the first current value set, the first voltage value set and the first power consumption value set of the baseboard management controller, and calculating the average of the residual values in each set to respectively obtain a current average, a voltage average and a first power consumption value average, wherein m is a positive integer;
Calculating a second power consumption value based on the current average and the voltage average;
responsive to detecting the change ratioAnd when the power consumption reading precision of the baseboard management controller does not meet the preset standard, judging that the power consumption reading precision of the baseboard management controller does not meet the preset standard, wherein C represents a fluctuation ratio, A represents a first power consumption value average number, and B represents a second power consumption value.
In one embodiment, the processor when executing the computer program further performs the steps of:
in response to detecting that the variation ratio is not within a preset range, adding a list to the test report and writing an average value of power consumptionAdding another column in the test report based on the power consumption average value, and writing a calibration value +.>Wherein D represents an average power consumption value, and G represents a calibration value;
multiplying the calibration value by the power consumption value of the baseboard management controller to obtain a final power consumption value of the baseboard management controller so as to realize self-adaptive adjustment of the power consumption value of the baseboard management controller.
Example 5: in one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
S1: the upper computer is used for reading the pre-filling information of the test report, and the direct current load equipment carries out load pulling test on the server main board based on the pre-filling information of the test report;
s2: the method comprises the steps that a data reading unit is used for reading data information obtained in a test process, wherein the data information comprises a current value, a voltage value and a power consumption value of a substrate management controller;
s3: determining the power consumption reading precision of the baseboard management controller according to the data information;
s4: and in response to detecting that the power consumption reading precision of the baseboard management controller does not meet a preset standard, performing self-adaptive adjustment on the power consumption value of the baseboard management controller based on the calibration value.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting whether an internet protocol address of the upper computer is consistent with an internet protocol address of a network port of the server main board;
judging that the upper computer and the server main board successfully establish communication when the internet protocol addresses of the upper computer and the server main board are consistent;
meanwhile, detecting the connection state between the direct current load equipment and the connection equipment thereof and the connection state between the universal meter and the connection equipment thereof;
And when the connection state of all the devices is normal, reading the pre-filling information of the test report by using the upper computer, and carrying out a pull load test on the server main board by the direct current load device based on the pre-filling information of the test report.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring a first current value set, a first voltage value set and a first power consumption value set of a substrate management controller corresponding to a target load current point in a test process;
respectively deleting m maximum values and m minimum values in the first current value set, the first voltage value set and the first power consumption value set of the baseboard management controller, and calculating the average of the residual values in each set to respectively obtain a current average, a voltage average and a first power consumption value average, wherein m is a positive integer;
calculating a second power consumption value based on the current average and the voltage average;
responsive to detecting the change ratioAnd when the power consumption reading precision of the baseboard management controller does not meet the preset standard, judging that the power consumption reading precision of the baseboard management controller does not meet the preset standard, wherein C represents a fluctuation ratio, A represents a first power consumption value average number, and B represents a second power consumption value.
In one embodiment, the computer program when executed by the processor further performs the steps of:
in response to detecting that the variation ratio is not within a preset range, adding a list to the test report and writing an average value of power consumptionAdding another column in the test report based on the power consumption average value, and writing a calibration value +.>Wherein D represents an average power consumption value, and G represents a calibration value;
multiplying the calibration value by the power consumption value of the baseboard management controller to obtain a final power consumption value of the baseboard management controller so as to realize self-adaptive adjustment of the power consumption value of the baseboard management controller.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application.

Claims (10)

1. The utility model provides a consumption reads precision test system, the system includes host computer, universal meter, direct current load equipment and server motherboard, its characterized in that:
the upper computer is in communication connection with a network port arranged on the server main board through a network cable;
the direct current load equipment and the universal meter are connected with the upper computer through a universal interface bus, and the direct current load equipment and the universal meter are connected through the universal interface bus;
The positive and negative ends of the universal meter are respectively connected with the two ends of a precision resistor arranged on the server main board;
and the direct current load equipment is connected with the server main board through a load line.
2. The power consumption reading precision testing system according to claim 1, wherein the upper computer comprises a device connection unit, a direct current load control unit, a data reading unit, a data storage unit and a calibration unit:
the equipment connection unit is used for judging whether the equipment is normally connected or not, and the equipment comprises the upper computer, a universal meter, direct current load equipment and a server main board;
the direct current load control unit is used for controlling the direct current load equipment to carry out a load pulling test according to the load pulling current point;
the data reading unit is used for reading the data obtained in the test process;
the data storage unit is used for storing the data read in the test process;
the calibration unit is used for calibrating the power consumption value of the baseboard management controller based on the analysis result of the read data.
3. The power consumption reading precision testing system according to claim 2, wherein the data reading unit comprises a baseboard management controller power consumption reading unit, a direct current load current reading unit and a multimeter voltage reading unit:
The power consumption reading unit of the baseboard management controller is used for reading the power consumption value of the baseboard management controller;
the direct current load current reading unit is used for reading the direct current load current value;
the universal meter voltage reading unit is used for reading the voltage value of the universal meter.
4. A power consumption reading accuracy testing method applied to the power consumption reading accuracy testing system according to any one of claims 1 to 3, characterized in that the method comprises:
the upper computer is used for reading the pre-filling information of the test report, and the direct current load equipment carries out load pulling test on the server main board based on the pre-filling information of the test report;
the method comprises the steps that a data reading unit is used for reading data information obtained in a test process, wherein the data information comprises a current value, a voltage value and a power consumption value of a substrate management controller;
determining the power consumption reading precision of the baseboard management controller according to the data information;
and in response to detecting that the power consumption reading precision of the baseboard management controller does not meet a preset standard, performing self-adaptive adjustment on the power consumption value of the baseboard management controller based on the calibration value.
5. The power consumption reading accuracy testing method according to claim 4, wherein before the reading the pre-filling information of the test report by the host computer, the direct current load device performs the pull load test on the server motherboard based on the pre-filling information of the test report, the method further comprises:
Detecting whether an internet protocol address of the upper computer is consistent with an internet protocol address of a network port of the server main board;
judging that the upper computer and the server main board successfully establish communication when the internet protocol addresses of the upper computer and the server main board are consistent;
meanwhile, detecting the connection state between the direct current load equipment and the connection equipment thereof and the connection state between the universal meter and the connection equipment thereof;
and when the connection state of all the devices is normal, reading the pre-filling information of the test report by using the upper computer, and carrying out a pull load test on the server main board by the direct current load device based on the pre-filling information of the test report.
6. The method of claim 4, wherein determining the power consumption reading accuracy of the baseboard management controller according to the data information comprises:
acquiring a first current value set, a first voltage value set and a first power consumption value set of a substrate management controller corresponding to a target load current point in a test process;
respectively deleting m maximum values and m minimum values in the first current value set, the first voltage value set and the first power consumption value set of the baseboard management controller, and calculating the average of the residual values in each set to respectively obtain a current average, a voltage average and a first power consumption value average, wherein m is a positive integer;
Calculating a second power consumption value based on the current average and the voltage average;
responsive to detecting the change ratioAnd when the power consumption reading precision of the baseboard management controller does not meet the preset standard, judging that the power consumption reading precision of the baseboard management controller does not meet the preset standard, wherein C represents a fluctuation ratio, A represents a first power consumption value average number, and B represents a second power consumption value.
7. The method of claim 6, wherein adaptively adjusting the power consumption value of the baseboard management controller based on the calibration value in response to detecting that the power consumption reading precision of the baseboard management controller does not meet the preset standard comprises:
in response to detecting that the variation ratio is not within a preset range, adding a list to the test report and writing an average value of power consumptionAdding another column in the test report based on the power consumption average value, and writing a calibration value +.>Wherein D represents an average power consumption value, and G represents a calibration value;
multiplying the calibration value by the power consumption value of the baseboard management controller to obtain a final power consumption value of the baseboard management controller so as to realize self-adaptive adjustment of the power consumption value of the baseboard management controller.
8. A power consumption reading accuracy testing device, characterized in that the device comprises:
the test module is used for reading the pre-filling information of the test report by using the upper computer, and the direct current load equipment carries out load pulling test on the server main board based on the pre-filling information of the test report;
the data information reading module is used for reading data information obtained in the testing process by utilizing the data reading unit, wherein the data information comprises a current value, a voltage value and a power consumption value of the baseboard management controller;
the power consumption reading precision determining module is used for determining the power consumption reading precision of the baseboard management controller according to the data information;
and the self-adaptive adjustment module is used for carrying out self-adaptive adjustment on the power consumption value of the baseboard management controller by utilizing the calibration value output by the calibration unit in response to detecting that the power consumption reading precision of the baseboard management controller does not meet the preset standard.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 4 to 7 when the computer program is executed by the processor.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 4 to 7.
CN202310478740.5A 2023-04-28 2023-04-28 Power consumption reading precision test system, method, device, equipment and storage medium Pending CN116521480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310478740.5A CN116521480A (en) 2023-04-28 2023-04-28 Power consumption reading precision test system, method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310478740.5A CN116521480A (en) 2023-04-28 2023-04-28 Power consumption reading precision test system, method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116521480A true CN116521480A (en) 2023-08-01

Family

ID=87407726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310478740.5A Pending CN116521480A (en) 2023-04-28 2023-04-28 Power consumption reading precision test system, method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116521480A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117453491A (en) * 2023-12-18 2024-01-26 深圳大普微电子股份有限公司 Power consumption determining method and flash memory device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117453491A (en) * 2023-12-18 2024-01-26 深圳大普微电子股份有限公司 Power consumption determining method and flash memory device
CN117453491B (en) * 2023-12-18 2024-05-14 深圳大普微电子股份有限公司 Power consumption determining method and flash memory device

Similar Documents

Publication Publication Date Title
CN111124775A (en) Power-on time sequence abnormality detection method and device, MCU and storage medium
KR101456976B1 (en) Memory test device and testing method for memory
CN116521480A (en) Power consumption reading precision test system, method, device, equipment and storage medium
CN113778055B (en) TBOX detection method and detection system
CN111739575A (en) Storage chip quality detection method, device, equipment and readable storage medium
CN115168118A (en) Control method and device for PCBA board detection table, computer equipment and storage medium
CN110569165B (en) Method and device for detecting power consumption of server
CN113359970A (en) Server power module current sharing test method, device, equipment and storage medium
CN100356337C (en) Data detection system and method of read only memory in basic input/output system
CN117077221A (en) Hard disk screen printing distribution method and device, computer equipment and medium
CN116774673A (en) Data calibration method and device, electronic equipment and storage medium
CN116820193A (en) Cable connection correctness recognition system, method, device, equipment and storage medium
US20110130989A1 (en) System and method for identifying a peripheral component interconnect express signal
CN116185777A (en) Method, device and system for monitoring power consumption of server and server
CN113900718B (en) Decoupling method, system and device for BMC and BIOS asset information
CN110377477B (en) Electronic equipment, functional module, main board of electronic equipment and detection method
CN113567834A (en) Small card circuit path testing method and device, computer equipment and storage medium
CN114121138B (en) Memory voltage testing method, device, computing equipment and system
CN113160875A (en) Chip test system and test method
CN113241568B (en) Method for connecting electromechanical devices
CN114779057B (en) Automatic verification system and method for input threshold voltage and electronic equipment
CN114268557B (en) Fault detection method, device, equipment and storage medium
CN113741672B (en) Mainboard power supply leakage detection method, system and related components
CN116302735A (en) Memory slot test system
CN116610200A (en) Performance adjustment method and device and computing equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination