CN114138603A - Device state diagnosis method and system and electronic device - Google Patents

Device state diagnosis method and system and electronic device Download PDF

Info

Publication number
CN114138603A
CN114138603A CN202111446264.6A CN202111446264A CN114138603A CN 114138603 A CN114138603 A CN 114138603A CN 202111446264 A CN202111446264 A CN 202111446264A CN 114138603 A CN114138603 A CN 114138603A
Authority
CN
China
Prior art keywords
power supply
hardware
state information
electronic device
main power
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
CN202111446264.6A
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.)
Lenovo Beijing Information Technology Ltd
Original Assignee
Lenovo Beijing Information Technology 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 Lenovo Beijing Information Technology Ltd filed Critical Lenovo Beijing Information Technology Ltd
Priority to CN202111446264.6A priority Critical patent/CN114138603A/en
Publication of CN114138603A publication Critical patent/CN114138603A/en
Pending legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a method, a system and an electronic device for diagnosing the state of the device, in the process of electrifying and starting the electronic device, a preset control component which utilizes an auxiliary power supply based on the electronic device in the electronic device to realize power supply obtains the hardware state information of at least one hardware in the electronic device through the management of a main power supply of the electronic device, and the preset control component can transmit the obtained hardware state information to the outside of the electronic device through a data transmission interface of the electronic device, thereby, the application realizes the detection and the acquisition of the hardware state information generated in the process of starting and starting the electronic device through the preset control component which utilizes the auxiliary power supply based on the device in the electronic device and can at least be used for managing the main power supply of the device, and can transmit the obtained information to the outside of the electronic device through the interface in time after the hardware state information is obtained, therefore, a user can conveniently and timely know the current hardware state at the moment of generating the hardware state information.

Description

Device state diagnosis method and system and electronic device
Technical Field
The present application belongs to the field of computer technologies, and in particular, to a method and a system for diagnosing a device status, and an electronic device.
Background
In the existing server hardware system, a BMC (Baseboard management Controller) is relied on to record hardware state information, such as hardware abnormal event information, however, the hardware state information (such as a power error) generated in the process of starting up cannot be recorded, and in addition, for the hardware state information recorded by the BMC, a user needs to check the hardware state information in a Log file form through a BMC Web, and cannot timely know the current hardware state at the time of generating the hardware state information.
Disclosure of Invention
Therefore, the application discloses the following technical scheme:
a device condition diagnostic method, the method comprising:
in the process of starting the electronic equipment by electrifying, a preset control component of the electronic equipment obtains hardware state information of at least one piece of hardware in the electronic equipment through the management of a main power supply of the electronic equipment;
the predetermined control component can transmit the hardware state information to the outside of the electronic equipment through a data transmission interface of the electronic equipment;
the predetermined control component is powered based on an auxiliary power supply of the electronic equipment and at least can be used for managing a main power supply of the electronic equipment, and the at least one piece of hardware is powered based on the main power supply of the electronic equipment.
Optionally, the predetermined control component of the electronic device obtains hardware state information of at least one hardware in the electronic device through management of a main power supply of the electronic device, where the hardware state information includes at least one of the following processes:
the preset control component obtains channel state information of each power supply channel of the main power supply by monitoring the state of each power supply channel of the main power supply; wherein, different power channels of the main power supply are respectively used for supplying power to different hardware;
the preset control component obtains power supply time sequence information, reset state information and/or alarm state information of each hardware on the electronic equipment mainboard by controlling the power supply time sequence of the main power supply when each hardware on the electronic equipment mainboard is powered on.
Optionally, the obtaining, by the predetermined control component, channel state information of each power channel of the main power source by monitoring a state of each power channel of the main power source includes:
the preset control component monitors pin signals of preset pins corresponding to the power channels of the main power supply respectively;
determining whether the power supply of each power supply channel of the main power supply is normal or not based on the monitored pin signals of the preset pins corresponding to each power supply channel respectively, and obtaining channel state information of each power supply channel of the main power supply; and the pin signal of the preset pin is used for indicating the power supply signal output state of the corresponding power supply channel.
Optionally, the transmitting, by the predetermined control component, the hardware state information to the outside of the electronic device through a data transmission interface of the electronic device includes:
the preset control component transmits the hardware state information to the external equipment with a display component in real time through a serial port of the electronic equipment based on a preset communication protocol;
the baud rate of the serial port at least meets the baud rate condition which can be used for enabling the preset control component to process preset high-speed data.
An electronic device, comprising:
a main power supply and an auxiliary power supply;
a data transmission interface;
a plurality of hardware implementing power supply based on the main power supply;
a predetermined control component distinct from the plurality of hardware, the predetermined control component enabling power supply based on the auxiliary power source and at least operable to manage the main power source;
the predetermined control means for:
in the process of powering on and starting the electronic equipment, acquiring hardware state information of at least one piece of hardware in the electronic equipment through management of a main power supply of the electronic equipment;
and transmitting the hardware state information to the outside of the electronic equipment through the data transmission interface.
Optionally, when obtaining the hardware state information of at least one piece of hardware in the electronic device through management of a main power supply of the electronic device, the predetermined control component is specifically configured to execute at least one of the following processes:
acquiring channel state information of each power supply channel of the main power supply by monitoring the state of each power supply channel of the main power supply; wherein, different power channels of the main power supply are respectively used for supplying power to different hardware;
and acquiring power supply time sequence information, reset state information and/or alarm state information of each hardware on the electronic equipment mainboard by controlling the power supply time sequence of the main power supply when each hardware on the electronic equipment mainboard is powered on.
Optionally, when the predetermined control component obtains the channel state information of each power channel by monitoring the state of each power channel of the main power supply, the predetermined control component is specifically configured to:
monitoring pin signals of preset pins corresponding to the power channels of the main power supply respectively;
determining whether each power supply channel of the main power supply is abnormal or not based on monitored pin signals of preset pins corresponding to each power supply channel respectively, and obtaining channel state information of each power supply channel of the main power supply; and the pin signal of the preset pin is used for indicating the power supply signal output state of the corresponding power supply channel.
Optionally, the data transmission interface is a serial port of the electronic device, and the baud rate of the serial port meets at least a baud rate condition for enabling the predetermined control component to process predetermined high-speed data;
when the predetermined control component transmits the hardware state information to the outside of the electronic device through the data transmission interface, the predetermined control component is specifically configured to:
and transmitting the hardware state information to external equipment with a display component in real time through the serial port based on a preset communication protocol.
Optionally, the predetermined control component is a field programmable gate array.
An equipment state diagnosis system comprises electronic equipment and external equipment which is connected with the electronic equipment and is provided with a display component; wherein:
the electronic equipment is used for sending hardware state information obtained by monitoring in the process of powering on and starting the electronic equipment to the external equipment by executing the equipment state diagnosis method;
and the external equipment is used for displaying and processing the received hardware state information.
According to the above scheme, in the power-on starting process of the electronic device, the predetermined control component for realizing power supply based on the auxiliary power supply of the electronic device in the electronic device acquires the hardware state information of at least one hardware in the electronic device through the management of the main power supply of the electronic device, and the predetermined control component can transmit the acquired hardware state information to the outside of the electronic device through the data transmission interface of the electronic device, so that the method, the system and the electronic device can realize the detection and acquisition of the hardware state information generated in the starting process of the electronic device through the predetermined control component for realizing power supply based on the auxiliary power supply of the electronic device and at least being used for managing the main power supply of the device in the electronic device, and can transmit the acquired information to the outside of the electronic device through the interface in time after the hardware state information is acquired, therefore, a user can conveniently and timely know the current hardware state at the moment of generating the hardware state information.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart of a device condition diagnosing method provided herein;
FIG. 2 is another schematic flow diagram of a device condition diagnostic method provided herein;
FIG. 3 is an architecture diagram for implementing hardware state detection during power-on startup of an electronic device based on an FPGA according to the present application;
FIG. 4 is a schematic flow chart of another method for diagnosing the status of a device provided herein;
fig. 5 is a structural diagram of the electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application discloses an equipment state diagnosis method, an equipment state diagnosis system and electronic equipment, which are used for detecting and acquiring hardware state information (such as power supply errors) generated in the starting process of the electronic equipment and supporting a user to acquire and check the hardware state information generated in the starting process of the equipment in real time through technical means.
The device status diagnosing method disclosed in the embodiment of the present application may be applied to, but not limited to, an electronic device having a hardware system, such as a PC (Personal Computer), a server, and the like, and the processing procedure of the device status diagnosing method specifically includes, as shown in fig. 1:
step 101, powering on and starting the electronic device.
Specifically, the electronic device (e.g., a PC, a server, etc.) may be powered on and started by executing a power-on operation on the electronic device.
102, in the process of powering on and starting the electronic device, a predetermined control component of the electronic device obtains hardware state information of at least one piece of hardware in the electronic device through management of a main power supply of the electronic device.
The predetermined control component is used for supplying power based on an auxiliary power supply of the electronic equipment, at least can be used for managing a main power supply of the electronic equipment, and is different from the predetermined control component, and the at least one piece of hardware is used for supplying power based on the main power supply of the electronic equipment. In the embodiment of the present application, each hardware, which is responsible for detecting the hardware state in the power-on and start process of the device, is mainly hardware on a motherboard of the electronic device.
The predetermined control Unit may be, but not limited to, an FPGA (Field Programmable Gate Array) or a MCU (micro controller Unit).
The applicant researches and discovers that a predetermined control component, such as an FPGA, in an electronic device, such as a PC or a server, which supplies power based on an auxiliary power supply and can be used for managing a main power supply of the device controls power timing, reset and alarm signals of each hardware (which supplies power based on the main power supply) on a mainboard through the management of the main power supply of the electronic device.
That is to say, the essence of the present application is based on the management function of the main power source of the electronic device, and a channel for detecting the hardware state and acquiring information of at least one piece of hardware (such as each piece of hardware on the device motherboard) in the electronic device is provided by a predetermined control component that realizes power supply based on an auxiliary power source, such as an FPGA, whereas, through research by the applicant, the BMC does not directly control the main power source, nor detects a port of the main power source, and accordingly, it is difficult to provide a channel for detecting the hardware state of each piece of hardware in the electronic device by the BMC in the device boot stage, and it is difficult to detect the hardware state of the piece of electronic device hardware (such as each piece of hardware on the motherboard) in the device boot stage based on the BMC.
With reference to the flowchart of the device status diagnosing method provided in fig. 2, the predetermined control component of the electronic device obtains the hardware status information of at least one hardware in the electronic device through the management of the main power source of the electronic device, and may be further implemented as at least one of the processes of steps 1021 and 1022:
step 1021, the predetermined control component obtains channel state information of each power channel of the main power source of the electronic equipment by monitoring the state of each power channel of the main power source.
The main power supply of the electronic equipment comprises a plurality of power supply channels, and different power supply channels of the main power supply are respectively used for supplying power to different hardware. The channel state information of the power channel refers to the state information of whether the power channel supplies power normally or not.
In step 1021, the predetermined control component may specifically monitor pin signals of predetermined pins corresponding to each power channel of the main power supply, and determine whether power supply of each power channel of the main power supply is normal based on the monitored pin signals of the predetermined pins corresponding to each power channel, so as to obtain channel state information of each power channel of the main power supply.
The pin signal of the predetermined pin is used for indicating the power signal output state of the power channel corresponding to the pin (for example, whether to output power supply voltage to corresponding hardware), and the predetermined control component, such as the FPGA, determines whether the power supply of the power channel is normal by monitoring and identifying the power signal output state indicated by the pin signal of the predetermined pin of the power channel.
The main power source of the electronic device is a main power source chip, and optionally, in this embodiment, the main power source chip is a collective name of all other power source chips except the power source chip of the auxiliary power source, and is a set of power source chips respectively corresponding to a series of hardware, that is, each hardware on the motherboard corresponds to one power source chip for supplying power to the hardware, the power source chips respectively corresponding to each hardware form the main power source chip, and different power source chips corresponding to different hardware and power supply paths thereof for supplying power to the corresponding hardware form different power source channels of the main power source.
In the embodiment of the application, status pins for indicating the power supply state of the power channel corresponding to the power chip are respectively added to the power chip corresponding to each hardware in the main power supply in advance, the status pin of the power chip is used as a predetermined pin of the power channel corresponding to the power chip, and the power chip indicates whether the power supply state of the power channel corresponding to the power chip is normal or not through a pin signal (e.g., a level signal) of the status pin.
The predetermined control component, such as an FPGA, may accordingly identify whether the power supply state of each power channel of the main power source is normal by monitoring the pin signal of the status pin of each power chip in the main power source, for example, by monitoring the status pin signal of the power chip of a CPU (Central Processing Unit) and a memory (such as a double data rate synchronous dynamic random access memory DDR), determine whether the power supply of the power channels of the CPU and the memory is normal, and the like.
If one or more power channels have problems and cannot be started, the predetermined control component, such as an FPGA, can locate the failed power channel by monitoring the status pin of the power chip, so as to conveniently locate the failed component of the electronic device in a targeted manner according to the located failed power channel, and perform troubleshooting, for example, only checking whether a line corresponding to the failed power channel is short-circuited, checking whether a hardware component (such as a CPU or a DDR) corresponding to the failed power channel is aged or damaged, and checking whether power supply impact exists or not.
Step 1022, the predetermined control component obtains power timing information, reset state information and/or alarm state information of each hardware on the electronic equipment motherboard by controlling the power timing when the main power of the electronic equipment powers on each hardware on the electronic equipment motherboard.
Specifically, in the process of powering on and powering on the electronic device, a predetermined control Component, such as an FPGA, sequentially enables power supply chips corresponding to different hardware on a motherboard according to a set logic sequence, so that each power supply chip outputs a voltage to the corresponding hardware in sequence to realize power supply timing control when each hardware on the motherboard of the electronic device is powered on, in the process of powering on and starting up, resetting of each hardware on the motherboard, such as resetting of a CPU, resetting of a memory, resetting of a PCH (Platform Controller Hub), resetting of a PCIe (Peripheral Component Interconnect express, high-speed serial computer extended bus standard), and the like, needs to be executed strictly according to the corresponding powering on timing, and the FPGA executes resetting enabling operation on the hardware correspondingly and synchronously according to the power supply timing when the hardware is powered on, so as to realize timing resetting of each hardware.
Meanwhile, predetermined control components such as the FPGA capture power timing information of each hardware on the motherboard of the electronic device, status information of whether each hardware is currently reset (for example, at a certain time, which hardware on the motherboard is reset and which hardware is not reset), and/or alarm status information in real time based on power timing control when each hardware is powered on.
The alarm state information includes, but is not limited to, alarm signals of CPU overheating alarm, power chip overheating alarm, and the like.
Through the processing, the channel state information of each power supply channel of the main power supply of the electronic equipment and/or the power supply time sequence information, the reset state information and/or the alarm state information of each hardware on the equipment mainboard and other hardware state information are detected and obtained by utilizing the preset control component in the starting process of the electronic equipment.
In addition, in this embodiment of the application, the predetermined control component can also transmit the hardware state information detected in the power-on starting process of the electronic device to the outside of the electronic device through a data transmission interface of the electronic device. Furthermore, the preset control component, such as an FPGA, can transmit the detected hardware state information in real time through the data transmission interface in the process of powering on and starting the electronic equipment.
The adopted data transmission interface is a serial port, and with reference to fig. 3, the data transmission interface converts a data signal of the hardware state information into a serial output through a Universal Asynchronous Receiver/Transmitter (UART), and supports real-time transmission of the hardware state information detected by a predetermined control component such as an FPGA and the like in the power-on starting process of the electronic device to the outside of the electronic device.
Accordingly, as shown in fig. 4, the device status diagnosis method of the present application may further include:
and 103, transmitting hardware state information detected in the power-on starting process of the electronic equipment to the external equipment with the display component in real time by the preset control component through the serial port of the electronic equipment based on a preset communication protocol.
It should be noted that, although the serial port itself is a mature technology, the serial port is applied to low-speed data transmission at present and does not support high-speed data transmission, in the embodiment of the present application, by increasing the baud rate of the serial port, the baud rate is increased to a certain baud rate value, such as 921600bps, so that the baud rate of the serial port meets the baud rate condition at least capable of enabling the predetermined control component to process the predetermined high-speed data, thereby supporting the transmission of the high-speed data of the predetermined control components, such as the FPGA, and the like, at the serial port.
Based on the method, a preset control component such as an FPGA transmits hardware state information detected in the power-on starting process of the electronic equipment to external equipment such as a PC (personal computer) with a display component in real time at high speed through a serial port which accords with the baud rate condition and based on a preset communication protocol.
The external equipment terminals such as the PC can analyze and display the corresponding hardware state information of the electronic equipment in the power-on and power-on process in real time based on the preset diagnosis tool/monitoring software, and optionally, the received hardware state information can be recorded in a log (log) form, so that a user can know the hardware state of the electronic power-on equipment in the power-on process in real time through the display parts of the external equipment such as the PC and the like, and can check the hardware state information of the electronic equipment in the historical power-on and power-on process by calling the log information when necessary.
According to the above scheme, in the power-on starting process of the electronic device, the predetermined control component which utilizes the auxiliary power supply based on the electronic device in the electronic device to realize power supply obtains the hardware state information of at least one hardware in the electronic device through the management of the main power supply of the electronic device, and the predetermined control component can transmit the obtained hardware state information to the outside of the electronic device through the data transmission interface of the electronic device, so that the method realizes the detection and acquisition of the hardware state information generated in the power-on starting process of the electronic device through the predetermined control component which utilizes the auxiliary power supply based on the device in the electronic device and can at least be used for managing the main power supply of the device, and can transmit the obtained information to the outside of the electronic device through the interface in time after the hardware state information is obtained, thereby facilitating the user to generate the hardware state information, and timely acquiring the current hardware state.
Corresponding to the above device status diagnosis method, the embodiment of the present application further discloses an electronic device, which may be, but is not limited to, a device having a hardware system, such as a PC or a server. The composition structure of the electronic device is shown in fig. 5, and specifically includes: a main power supply 10, an auxiliary power supply 20, a data transmission interface 30, a plurality of hardware 40, and a predetermined control part 50 distinguished from the plurality of hardware 40.
The main power supply corresponds to a main power supply chip, and optionally, a general name of all other power supply chips except for the power supply chip of which the main power supply chip is an auxiliary power supply in the embodiment of the present application is a set of power supply chips respectively corresponding to a series of hardware, that is, each hardware on the motherboard corresponds to one power supply chip for supplying power thereto, the power supply chips respectively corresponding to each hardware form the main power supply chip, and different power supply chips corresponding to different hardware and power supply paths thereof to the corresponding hardware form different power supply channels of the main power supply.
And a plurality of hardware 40 that supplies power based on the main power supply 10.
The predetermined control part 50 realizes power supply based on the subsidiary power supply 20 and can be used at least for management of the main power supply 10. The predetermined control unit 50 may be, but is not limited to, an FPGA or a single chip microcomputer.
A predetermined control section 50 for: in the process of starting the electronic equipment by electrifying, the hardware state information of at least one piece of hardware in the electronic equipment is obtained through the management of a main power supply 10 of the electronic equipment; and transmitting the hardware state information obtained in the power-on starting process of the electronic equipment to the outside of the electronic equipment through a data transmission 30 interface.
In one embodiment, the predetermined control component 50 is specifically configured to execute at least one of the following processes when obtaining the hardware state information of at least one piece of hardware in the electronic device through management of a main power supply of the electronic device:
the method comprises the steps of monitoring the state of each power supply channel of a main power supply of the electronic equipment to obtain channel state information of each power supply channel of the main power supply; wherein, different power channels of the main power supply are respectively used for supplying power to different hardware;
the power supply time sequence information, the reset state information and/or the alarm state information of each hardware on the electronic equipment mainboard are obtained by controlling the power supply time sequence when the main power supply of the electronic equipment is electrified to each hardware on the electronic equipment mainboard.
In one embodiment, the predetermined control component 50, when obtaining the channel state information of each power channel by monitoring the state of each power channel of the main power supply, is specifically configured to:
monitoring pin signals of preset pins corresponding to power channels of a main power supply of the electronic equipment respectively;
determining whether the power supply of each power supply channel of the main power supply is normal or not based on the monitored pin signals of the preset pins corresponding to each power supply channel respectively, and obtaining channel state information of each power supply channel of the main power supply; the pin signal of the preset pin is used for indicating the power signal output state of the corresponding power channel.
In one embodiment, the data transmission interface 30 is a serial port of the electronic device, and the baud rate of the serial port satisfies at least a baud rate condition for enabling the predetermined control unit 50 to process the predetermined high-speed data;
accordingly, the predetermined control unit 50 is specifically configured to, when transmitting the obtained hardware status information to the outside of the electronic device through the data transmission interface 30:
the hardware state information obtained in the process of powering on and starting up the electronic equipment is transmitted to the external equipment with the display component in real time through a serial port of the electronic equipment and based on a preset communication protocol.
For the functions of each component in the electronic device and the process of implementing the device status diagnosis in the power-on startup process of the electronic device based on the cooperative processing of each component, refer to the above description of the method embodiments, and will not be described in detail here.
In addition, the application also discloses an equipment state diagnosis system, which comprises electronic equipment and external equipment which is connected with the electronic equipment and is provided with a display part; the Display component of the external device may be, but is not limited to, a Liquid Crystal Display (LCD), a Light-Emitting Diode (LED), an Organic Light-Emitting Diode (OLED), or other types of displays.
The electronic device can be used for sending hardware state information monitored in the power-on starting process of the electronic device to the external device by executing the device state diagnosis method disclosed in the above method embodiment;
the external equipment is used for displaying and processing the received hardware state information.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
For convenience of description, the above system or apparatus is described as being divided into various modules or units by function, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
Finally, it is further noted that, herein, relational terms such as first, second, third, fourth, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A device condition diagnostic method, the method comprising:
in the process of starting the electronic equipment by electrifying, a preset control component of the electronic equipment obtains hardware state information of at least one piece of hardware in the electronic equipment through the management of a main power supply of the electronic equipment;
the predetermined control component can transmit the hardware state information to the outside of the electronic equipment through a data transmission interface of the electronic equipment;
the predetermined control component is powered based on an auxiliary power supply of the electronic equipment and at least can be used for managing a main power supply of the electronic equipment, and the at least one piece of hardware is powered based on the main power supply of the electronic equipment.
2. The method of claim 1, wherein the predetermined control component of the electronic device obtains hardware status information of at least one hardware in the electronic device through management of a main power supply of the electronic device, including at least one of:
the preset control component obtains channel state information of each power supply channel of the main power supply by monitoring the state of each power supply channel of the main power supply; wherein, different power channels of the main power supply are respectively used for supplying power to different hardware;
the preset control component obtains power supply time sequence information, reset state information and/or alarm state information of each hardware on the electronic equipment mainboard by controlling the power supply time sequence of the main power supply when each hardware on the electronic equipment mainboard is powered on.
3. The method of claim 2, wherein the predetermined control component obtains channel state information for the primary power channels by monitoring a state of the primary power channels, comprising:
the preset control component monitors pin signals of preset pins corresponding to the power channels of the main power supply respectively;
determining whether the power supply of each power supply channel of the main power supply is normal or not based on the monitored pin signals of the preset pins corresponding to each power supply channel respectively, and obtaining channel state information of each power supply channel of the main power supply; and the pin signal of the preset pin is used for indicating the power supply signal output state of the corresponding power supply channel.
4. The method of claim 1, wherein the predetermined control component transmits the hardware status information to outside the electronic device through a data transmission interface of the electronic device, comprising:
the preset control component transmits the hardware state information to the external equipment with a display component in real time through a serial port of the electronic equipment based on a preset communication protocol;
the baud rate of the serial port at least meets the baud rate condition which can be used for enabling the preset control component to process preset high-speed data.
5. An electronic device, comprising:
a main power supply and an auxiliary power supply;
a data transmission interface;
a plurality of hardware implementing power supply based on the main power supply;
a predetermined control component distinct from the plurality of hardware, the predetermined control component enabling power supply based on the auxiliary power source and at least operable to manage the main power source;
the predetermined control means for:
in the process of powering on and starting the electronic equipment, acquiring hardware state information of at least one piece of hardware in the electronic equipment through management of a main power supply of the electronic equipment;
and transmitting the hardware state information to the outside of the electronic equipment through the data transmission interface.
6. The electronic device according to claim 5, wherein the predetermined control means, when obtaining the hardware state information of at least one hardware in the electronic device through management of a main power supply of the electronic device, is specifically configured to perform at least one of:
acquiring channel state information of each power supply channel of the main power supply by monitoring the state of each power supply channel of the main power supply; wherein, different power channels of the main power supply are respectively used for supplying power to different hardware;
and acquiring power supply time sequence information, reset state information and/or alarm state information of each hardware on the electronic equipment mainboard by controlling the power supply time sequence of the main power supply when each hardware on the electronic equipment mainboard is powered on.
7. The electronic device according to claim 6, wherein the predetermined control component, when obtaining the channel state information of each power channel by monitoring the state of each power channel of the main power supply, is specifically configured to:
monitoring pin signals of preset pins corresponding to the power channels of the main power supply respectively;
determining whether each power supply channel of the main power supply is abnormal or not based on monitored pin signals of preset pins corresponding to each power supply channel respectively, and obtaining channel state information of each power supply channel of the main power supply; and the pin signal of the preset pin is used for indicating the power supply signal output state of the corresponding power supply channel.
8. The electronic device according to claim 5, wherein the data transmission interface is a serial port of the electronic device, and a baud rate of the serial port satisfies a baud rate condition at least enabling the predetermined control unit to process predetermined high-speed data;
when the predetermined control component transmits the hardware state information to the outside of the electronic device through the data transmission interface, the predetermined control component is specifically configured to:
and transmitting the hardware state information to external equipment with a display component in real time through the serial port based on a preset communication protocol.
9. The electronic device according to claim 5, wherein the predetermined control part is a field programmable gate array.
10. An equipment state diagnosis system comprises electronic equipment and external equipment which is connected with the electronic equipment and is provided with a display component; wherein:
the electronic equipment is used for sending hardware state information obtained by monitoring in the process of powering on and starting the electronic equipment to the external equipment by executing the equipment state diagnosis method according to any one of claims 1 to 4;
and the external equipment is used for displaying and processing the received hardware state information.
CN202111446264.6A 2021-11-30 2021-11-30 Device state diagnosis method and system and electronic device Pending CN114138603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111446264.6A CN114138603A (en) 2021-11-30 2021-11-30 Device state diagnosis method and system and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111446264.6A CN114138603A (en) 2021-11-30 2021-11-30 Device state diagnosis method and system and electronic device

Publications (1)

Publication Number Publication Date
CN114138603A true CN114138603A (en) 2022-03-04

Family

ID=80386076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111446264.6A Pending CN114138603A (en) 2021-11-30 2021-11-30 Device state diagnosis method and system and electronic device

Country Status (1)

Country Link
CN (1) CN114138603A (en)

Similar Documents

Publication Publication Date Title
CN106603265B (en) Management method, network device, and non-transitory computer-readable medium
CN108304299A (en) Server power-up state monitors system and method, computer storage and equipment
CN112069035B (en) IPMI board card health management system for chassis and health monitoring method
CN102244591A (en) Client server and method for full process monitoring on function text of client server
US20070143058A1 (en) System and method for testing an input/output functional board
US20120137027A1 (en) System and method for monitoring input/output port status of peripheral devices
TW201423385A (en) Test system and method for computer
CN100498733C (en) Method for implementing control of computer fault alarm
CN108363477A (en) Server power-up state monitors system and method, computer storage and equipment
US6584432B1 (en) Remote diagnosis of data processing units
CN115878356A (en) Disk failure prediction method and device
US9158646B2 (en) Abnormal information output system for a computer system
CN107544883B (en) Diagnostic device, system and method of server
CN108304290A (en) Server power-up state monitors system and method, computer storage and equipment
CN108399116A (en) A kind of server power-up state monitoring system and method
CN101930393A (en) Testing device for SAS (Serial Attached SCSI) back plate
CN110469529A (en) Server fan control system
CN113311754A (en) BMC management system of power module based on GD32 singlechip
CN101661420A (en) External bus detector and method
CN114138603A (en) Device state diagnosis method and system and electronic device
CN210038709U (en) Power monitoring management buckle
CN117251333A (en) Method, device, equipment and storage medium for acquiring hard disk information
CN101441590A (en) Mainboard failure diagnosis device and method and mainboard monitoring device and method
CN109885437A (en) Baseboard management controller BMC, terminal and power-up state diagnotic module, method
CN212809125U (en) Health management system of computer host

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