Detection device, electronic equipment and detection method
By directly obtaining and analyzing the status signals of the power supply system using the status analysis device in electronic equipment, the problem of not being able to effectively analyze the causes of abnormalities in the power supply system in the prior art is solved, and fast and accurate abnormality analysis is achieved, which improves the stability and reliability of the equipment.
Patent Information
- Application Number
- CN202412000370.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-03-28
AI Technical Summary
The prior art cannot effectively record and analyze the causes and processes of abnormalities in the power supply system of electronic equipment, which leads to difficulty in analyzing abnormal problems, time-consuming, and potential risks affect the stability and reliability of the server.
A detection device is provided, including a state analysis device and a logic device, through which the state analysis device directly obtains the state signals of each unit to be tested, and sends the initial state analysis result to the cause analysis device in order to determine the cause of the initial state generation.
It realizes rapid and simple determination of the causes of abnormalities in the power supply system of electronic equipment, improves the efficiency and accuracy of abnormal analysis, and reduces the potential risks to server stability and reliability.
Smart Images

Figure CN119718758A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic equipment power supply detection, and in particular to a detection device, electronic equipment and a detection method. Background Art
[0002] The stability of the power supply system of electronic equipment (such as servers) plays a vital role in the reliable operation of electronic equipment. The chips and controllers inside the electronic equipment must be started or shut down in sequence according to the power-on sequence. If a chip or controller has an abnormality that causes power supply abnormality, the electronic equipment must respond immediately to prevent the abnormality from expanding. Therefore, it is very necessary to monitor the health status of the power supply system of electronic equipment in real time. Baseboard management controllers and complex programmable logic devices in current electronic equipment are often used to monitor the actual voltage values, power status signals, etc. of each chip and controller.
[0003] In recent years, the power monitoring system composed of the electronic equipment's own baseboard management controller, complex programmable logic devices and their auxiliary logic chips only records the results of power anomalies, but cannot record the causes and processes of the anomalies, making the analysis of such anomalies very difficult. It often requires a lot of manpower and material resources to reproduce the anomalies, and the analysis process is time-consuming and difficult to locate the root cause. If the anomaly cannot be reproduced, the analysis process cannot continue, the problem cannot be analyzed and fundamentally solved in a timely manner, and the potential risk affects the stability and reliability of the server.
[0004] It can be seen that how to simply and quickly determine the cause of an abnormality in an electronic device is a problem that technical personnel in this field need to solve. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a detection device, an electronic device and a detection method, which can solve the problem in the prior art that the cause and process of power supply abnormality cannot be determined, resulting in the abnormal problem not being analyzed and fundamentally solved in a timely manner, thereby affecting the operation of the server.
[0006] To solve the above technical problems, on the one hand, an embodiment of the present invention provides a detection device, including a state analysis device and a logic device;
[0007] The output end of the logic device is connected to the input end of each unit under test, and is used to send a power-on timing signal to each unit under test;
[0008] The input end of the state analysis device is connected to the output end of each unit under test, and is used to obtain the state signal generated by each unit under test according to the power-on timing signal;
[0009] The output end of the state analysis device is connected to the input end of the cause analysis device, and is used to send the initial state analysis result determined according to the state signal to the cause analysis device, so that the cause analysis device can determine the corresponding initial state cause based on the initial state analysis result.
[0010] In some embodiments, the state analysis device includes: a signal receiving unit and a storage unit;
[0011] The input end of the signal receiving unit is connected to the input end of the storage unit, and they are connected to the output end of each unit under test as the input end of the state analysis device, for receiving and storing the state signal;
[0012] The output end of the signal receiving unit is connected to the input end of the cause analysis device as the output end of the state analysis device, and is used to send the initial state analysis result determined according to the state signal to the cause analysis device.
[0013] In some embodiments, a signal receiving unit includes: a signal port for at least two different types of signals and a programmable device;
[0014] The input ends of the signal ports are commonly connected to the output ends of the units under test as the input ends of the signal receiving unit, so as to respectively obtain different types of status signals sent by the units under test;
[0015] The output end of each signal port is connected to the corresponding input end of the programmable device, and is used to send a status signal to the programmable device;
[0016] The output end of the programmable device is connected to the input end of the cause analysis device as the output end of the signal receiving unit, and is used to send the initial state analysis result determined by the programmable device based on the state signal to the cause analysis device.
[0017] In some embodiments, the signal receiving unit further includes: an analog-to-digital conversion circuit, a digital-to-analog conversion circuit, a timing circuit, and a radio frequency circuit;
[0018] The input end of the analog-to-digital conversion circuit is connected to the output end of each corresponding signal port, and the output end of the analog-to-digital conversion circuit is connected to the input end corresponding to the programmable device, so as to obtain the state signal according to the current signal port and send the digital signal corresponding to the state signal to the programmable device;
[0019] The input end of the digital-to-analog conversion circuit is connected to the output end of each corresponding signal port, and the output end of the digital-to-analog conversion circuit is connected to the input end corresponding to the programmable device, for obtaining a state signal according to the current signal port and sending an analog signal corresponding to the state signal to the programmable device;
[0020] The input end of the timing circuit is connected to the clock signal end of the programmable device, and the output end of the timing circuit is connected to the first input end of the radio frequency circuit, and is used to determine the acquisition signal time according to the frequency of the programmable device acquiring the status signal, and send the acquisition signal time to the radio frequency circuit;
[0021] The second input end of the RF circuit is connected to the output end of the programmable device, and the output end of the RF circuit is connected to the input end of the cause analysis device, so as to obtain the initial state analysis result determined by the programmable device, and send the initial state analysis result to the cause analysis device when the signal collection time is greater than the preset sending time.
[0022] In some embodiments, the signal receiving unit further includes: a power supply circuit and a safety detection circuit;
[0023] The output end of the power supply circuit is connected to the power supply end of the analog-to-digital conversion circuit, the power supply end of the digital-to-analog conversion circuit, the power supply end of the timing circuit, the power supply end of the radio frequency circuit, the power supply end of the safety detection circuit and the power supply end of the programmable device, and is used to supply power to the analog-to-digital conversion circuit, the digital-to-analog conversion circuit, the timing circuit, the radio frequency circuit, the safety detection circuit and the programmable device;
[0024] The detection control end of the safety detection circuit is connected to the detection end of the analog-to-digital conversion circuit, the detection end of the digital-to-analog conversion circuit, the detection end of the timing circuit, the detection end of the radio frequency circuit, the detection end of the power supply circuit and the detection end of the programmable device, and is used to detect the operating status of the analog-to-digital conversion circuit, the digital-to-analog conversion circuit, the timing circuit, the radio frequency circuit, the power supply circuit and the programmable device.
[0025] In some embodiments, the cause analysis device includes a cause analysis unit and a controller;
[0026] The input end of the cause analysis unit is connected to the output end of the state analysis device as the input end of the cause analysis device, and is used to obtain the initial state analysis result determined by the state analysis device based on the state signal;
[0027] The input end of the controller is connected to the output end of the cause analysis unit, and is used to obtain the cause of the initial state determined by the cause analysis unit based on the initial state analysis result, and display the initial state.
[0028] In some embodiments, it further includes: a power supply unit with a redundant structure;
[0029] The output end of the power supply unit is connected to the power supply end of the state analysis device to supply power to the state analysis device.
[0030] On the other hand, the present invention further provides an electronic device, comprising the above-mentioned detection device.
[0031] On the other hand, the present invention further provides a detection method, which is applied to the above-mentioned detection device, comprising:
[0032] Acquire a status signal generated by each unit under test based on a power-on timing signal sent by a logic device;
[0033] The state signal is analyzed to obtain an initial state analysis result representing the operating state of the unit under test, so that the cause analysis device can determine the corresponding cause of the initial state based on the initial state analysis result.
[0034] In some embodiments, it also includes:
[0035] Obtaining memory data representing the storage space of each unit under test;
[0036] Determine whether the memory data exceeds the memory threshold;
[0037] If the memory data exceeds the memory threshold, the alarm system of the unit under test corresponding to the memory threshold is triggered, and the current unit under test is controlled to perform data export operation.
[0038] On the other hand, the present invention also provides a power supply detection device, comprising:
[0039] Memory for storing computer programs;
[0040] A processor is used to execute a computer program to implement the steps of the above detection method.
[0041] On the other hand, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned detection method are implemented.
[0042] On the other hand, the present invention also provides a computer program product, comprising a computer program / instruction, which implements the steps of the above detection method when executed by a processor.
[0043] It can be seen from the above technical scheme that the present invention provides a detection device, including a state analysis device and a logic device; wherein the output end of the logic device is connected to the input end of each unit to be tested, and is used to send a power-on timing signal to each unit to be tested; the input end of the state analysis device is connected to the output end of each unit to be tested, and is used to obtain the state signal generated by each unit to be tested according to the power-on timing signal; the output end of the state analysis device is connected to the input end of the cause analysis device, and is used to send the initial state analysis result determined according to the state signal to the cause analysis device, so that the cause analysis device determines the corresponding initial state generation cause based on the initial state analysis result. It can be seen that in the detection device provided by the present invention, it is no longer necessary for the logic device to obtain the state signal corresponding to each unit to be tested, but the state signal corresponding to each unit to be tested is directly obtained through the state analysis device. This operation avoids the problem of low accuracy of the initial state analysis result caused by the limited input end of the logic device and the acquisition of only part of the state signal, which causes the preliminary analysis of each unit to be tested. At the same time, since the present invention ensures that a large number of state signals of different signal types are obtained in the step of obtaining the state signal, the cause analysis device can analyze each unit under test according to the state signal, the initial state analysis result and the related data stored in itself, so as to determine the cause of the initial state. In other words, the detection device provided by the present invention can simply and quickly analyze each unit under test, and can specifically determine the cause of the initial state, thereby improving the stability of the device. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0045] Figure 1 A structural diagram of a detection device provided by an embodiment of the present invention;
[0046] Figure 2 It is a schematic diagram of a power monitoring system of a server board in the prior art;
[0047] Figure 3 A structural diagram of a state analysis device provided by an embodiment of the present invention;
[0048] Figure 4 A complete structural diagram of a detection device provided by an embodiment of the present invention;
[0049] Figure 5 A structural diagram of a cause analysis device provided by an embodiment of the present invention;
[0050] Figure 6A structural diagram of an electronic device provided by an embodiment of the present invention;
[0051] Figure 7 A flow chart of a detection method provided by an embodiment of the present invention;
[0052] Figure 8 A structural diagram of a power supply detection device provided by an embodiment of the present invention; DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] The terms "including" and "having" in the specification of the present invention and the above-mentioned drawings, as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.
[0055] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0056] Next, a detection device provided by an embodiment of the present invention is described in detail. Figure 1 A structural diagram of a detection device provided by an embodiment of the present invention, such as Figure 1 As shown, the detection device includes: a state analysis device 1 and a logic device 2. In addition, Figure 1 The structure shown also includes: each unit to be tested 3 and a cause analysis device 4. The connection relationship of the detection device is: the output end of the logic device 2 is connected to the input end of each unit to be tested 3; the input end of the state analysis device 1 is connected to the output end of each unit to be tested 3; the output end of the state analysis device 1 is connected to the input end of the cause analysis device 4.
[0057] In an embodiment, the stability of the power supply system of an electronic device (for example, a server) plays a vital role in the reliable operation of the electronic device. Each chip and controller inside the electronic device must be started in sequence or shut down in sequence according to the power-on sequence. If a chip or controller is abnormal and causes power supply abnormality, the electronic device must respond immediately to prevent the abnormal range from expanding. Therefore, it is very necessary to monitor the health status of the power supply system of the electronic device in real time. The baseboard management controller, complex programmable logic device, etc. in the current electronic device are often used to monitor the actual voltage value, power status signal, etc. of each chip and controller. At the same time, in order to improve the power supply reliability of the electronic device, the POL (Point-of-Load, load point power supply) voltage conversion chip, LDO (low dropout regulator, low voltage difference linear regulator) voltage conversion chip, EFUSE (electronic fuse, electronic fuse) chip, etc. inside the current electronic device are all designed with overvoltage protection, overcurrent protection, overtemperature protection, etc. The controller + power stage architecture (Controller+PowerStage) commonly used in the power supply of the central processing unit (CPU) and graphics processing unit (GPU) has more stringent power supply requirements. The controller chip also has functions such as real-time voltage / current monitoring and power status black box.
[0058] The schematic diagram of the power monitoring system of the current server board is as follows: Figure 2 As shown in the figure, it is mainly composed of baseboard management controller (Baseboard Management Controller, BMC), complex programmable logic device (Complex Programmable Logic Device, CPLD), analog-to-digital converter (Analog-to-Digital Converter, ADC), hot swap protection chip (Hotswap), power management chip (Voltage Regular, VR), programmable fuse chip (EFUSE), controller (Controller), interface (Interface), monitoring chip (Power Monitor) and switching chip (I2C Switch). Figure 2In the power monitoring system shown, its complex programmable logic device sends a power-on timing signal (Enable) to the live plug protection chip, the power management chip, the programmable fuse chip and the controller respectively. The power management chip, the live plug protection chip and the programmable fuse chip generate corresponding voltage signals (Vout), power status signals (Power Good) and fault signals (Fault) according to the power-on timing signal, wherein the voltage signal is sent to the analog-to-digital converter, and the power status signal and the fault signal are sent to the complex programmable logic device; while the controller generates corresponding voltage signals, power status signals and thermal fault signals (VRHOT) according to the power-on timing signal, sends the voltage signal to the analog-to-digital converter, and sends the power status signal and the thermal fault signal to the complex programmable logic device; at the same time, the controller also sends the generated alarm signal (Alert) to the interface, and the interface sends the signal to the baseboard management controller again through the data line. After obtaining multiple groups of voltage signals, its analog-to-digital converter performs analog-to-digital conversion on them, and then sends the converted signal (Voltage Monitor) to the baseboard management controller. After obtaining multiple groups of power status signals, thermal fault signals and fault signals, the complex programmable logic device sorts them out, and then sends the sorted signal (Power State Monitor) to the baseboard management controller. At the same time, the monitoring chip sends the monitored current signal to the switching chip through the data line (serial data line SDA and serial clock line SCL), and then the switching chip sorts it out, and then sends the sorted signal (Current Monitor) to the baseboard management controller. Its baseboard management controller integrates all the obtained signals and forms a log. In addition, it should be noted that its power management chip sends a power supply signal (Power Supply) to the baseboard management controller separately.
[0059] It can be seen that the power monitoring system composed of a baseboard management controller, complex programmable logic devices and their auxiliary logic chips only records the results of power anomalies, but cannot record the causes and processes of the anomalies. This makes the analysis of such abnormal problems very difficult and often requires a lot of manpower and material resources to reproduce the anomalies. The analysis process is time-consuming and the root cause is difficult to locate. If the anomaly cannot be reproduced, the analysis process cannot continue and must be terminated. The problem cannot be analyzed and fundamentally solved in a timely manner, and the potential risks are bound to affect the stability and reliability of the server. At the same time, Figure 2In the power monitoring system shown, if the power management chip that supplies power to the baseboard management controller is abnormal, the baseboard management controller that realizes the overall monitoring function cannot work normally, and thus cannot monitor the health status of these chips and devices, thereby causing a certain monitoring blind spot. The power protection function of the current power management chip can help the system power supply reliability to a certain extent, but due to the chip size and storage capacity limitations, it can only respond to abnormal current or voltage detected and stop output. In other words, currently it can only record the voltage, current, triggered protection type, etc. when the abnormality occurs, and the cause of the abnormality still needs manual analysis.
[0060] Therefore, on this basis, the present invention provides a detection device, and its current detection device is specifically applied to the daughter board of the electronic device. The detection device is specifically divided into two parts, one part is a state analysis device 1, and the other part is a logic device 2 (for example: complex programmable logic device). The logic device 2 is connected to each unit to be tested 3 (for example: live plug protection chip, power management chip, programmable fuse chip, etc.) in the currently applied daughter board, and first sends a power-on timing signal to each detection unit 3. The state signals generated by different units to be tested 3 according to the power-on timing signal will be slightly different in overall type. The state analysis device 1 is connected to each unit to be tested 3, and it obtains the state signal generated by each unit to be tested 3, and performs a primary analysis on the current state signal of each unit to be tested 3 based on the conventional state signal analysis standard, so as to judge the operating state of each unit to be tested 3, that is, to obtain the corresponding initial state analysis result. Since the state analysis device 1 is also connected to the cause analysis device 4, the state analysis device 1 will send the initial state analysis result at this time to the cause analysis device 4. Since the cause analysis device 4 is an external device for the current daughter card, but an internal device for the environment (electronic device) where the daughter card is located, there are multiple daughter cards (that is, multiple detection devices) and a cause analysis device 4 inside the electronic device, and each detection device is connected to the cause analysis device 4. Therefore, the cause analysis device 4 stores various data, signals, results, etc. sent by different detection devices, and there is a clear connection and transmission relationship between different signals between different daughter cards in the cause analysis device 4. Therefore, in this scenario, according to the initial state analysis result sent by a detection device, the initial state analysis result can be analyzed again to determine the cause of the corresponding initial state.
[0061] It should be noted that the status signal includes different types of signals, and these different types of signals respectively represent the current signal, voltage signal, fault signal, etc. of the unit to be tested 3.
[0062] The process of the state analysis device 1 performing the initial analysis on the state signal is as follows: the different types of signals in the state signal are judged in turn. If all types of signals meet the normal standard, it means that the current unit under test 3 is normal; if all units under test 3 are normal, the initial state analysis result will specifically indicate that all units under test 3 corresponding to the current sub-board are normal. If there is more than one signal that does not meet the normal standard, it means that the current unit under test 3 is abnormal, and the initial state analysis result will specifically indicate which type of signal in which unit under test 3 corresponding to the current sub-board is abnormal.
[0063] The process of analyzing the initial state analysis result by the cause analysis device 2 is as follows: if the initial state analysis result indicates that all the units to be tested 3 corresponding to the current sub-board are normal, then no analysis is required at this time. If the initial state analysis result indicates that the target type signal in the target unit to be tested 3 in the current sub-board is abnormal, then based on the connection and transmission relationship of different signals between different sub-boards, the upper-level signal and the lower-level signal corresponding to the target type signal at the current moment are determined, and at this time, the cause analysis device 2 re-determines the initial state analysis result sent by the detection device corresponding to the upper-level signal and the lower-level signal, so as to perform a comprehensive analysis and judgment on it, and then determine the cause of the abnormality of the current target type signal, that is, determine the cause of the corresponding initial state.
[0064] In addition, it should be noted that the status signal usually includes: time signal, voltage signal, fault signal and current information, but for the unit under test 3 with an integrated circuit bus inside, its status analysis device 1 can also directly obtain the temperature signal and trigger protection type signal of the current unit under test 3 according to the integrated circuit bus.
[0065] It should also be noted that, in the overall design of the present invention, a monitoring chip is used to acquire and transmit the current signal.
[0066] It should also be noted that when the status signal includes a memory data signal, the memory data will be displayed and judged separately in the detection device or the cause analysis device 4. When the memory data is greater than a preset threshold (for example, 80%), an alarm will be issued to remind the operation and maintenance personnel to export the data in time (or automatically perform the export operation) to prevent the old data from being overwritten by the new data.
[0067] It can be seen from the above technical scheme that the present invention provides a detection device, including a state analysis device and a logic device; wherein the output end of the logic device is connected to the input end of each unit to be tested, and is used to send a power-on timing signal to each unit to be tested; the input end of the state analysis device is connected to the output end of each unit to be tested, and is used to obtain the state signal generated by each unit to be tested according to the power-on timing signal; the output end of the state analysis device is connected to the input end of the cause analysis device, and is used to send the initial state analysis result determined according to the state signal to the cause analysis device, so that the cause analysis device determines the corresponding initial state generation cause based on the initial state analysis result. It can be seen that in the detection device provided by the present invention, it is no longer necessary for the logic device to obtain the state signal corresponding to each unit to be tested, but the state signal corresponding to each unit to be tested is directly obtained through the state analysis device. This operation avoids the problem of low accuracy of the initial state analysis result caused by the limited input end of the logic device that can only obtain part of the state signal, which requires preliminary analysis of each unit to be tested. At the same time, since the present invention ensures that a large number of state signals of different signal types are obtained in the step of obtaining the state signal, the cause analysis device can analyze each unit under test according to the state signal, the initial state analysis result and the related data stored in itself, so as to determine the cause of the initial state. In other words, the detection device provided by the present invention can simply and quickly analyze each unit under test, and can specifically determine the cause of the initial state, thereby improving the stability of the device.
[0068] In some embodiments, Figure 3 As shown, the state analysis device 1 includes: a signal receiving unit 11 and a storage unit 12. Figure 3 The internal connection relationship of the state analysis device 1 shown is as follows: the input end of the signal receiving unit 11 is connected to the input end of the storage unit 12, and together they are connected to the output end of each unit under test 3 as the input end of the state analysis device 1; the output end of the signal receiving unit 11 is connected to the input end of the cause analysis device 4 as the output end of the state analysis device 1.
[0069] In the embodiment, in order to achieve the main function of the state analysis device 1, that is, to achieve the initial analysis of the state signal, and at the same time store the state signal and retain the signal trace, the state analysis device is specifically divided into a signal receiving unit 11 and a storage unit 12. The signal receiving unit 11 is mainly used to perform the initial analysis of the state signal, and the storage unit 12 is mainly used to store the state signal and retain its signal trace.
[0070] like Figure 3In the state analysis device 1 shown, its signal receiving unit 11 includes: a signal port 111 for at least two different types of signals, a programmable device 112, an analog-to-digital conversion circuit 113, a digital-to-analog conversion circuit 114, a timing circuit 115, a radio frequency circuit 116, a power supply circuit 117 and a safety detection circuit 118. At this time, the connection relationship of the signal receiving unit 11 is as follows: the input end of each signal port 111 is commonly used as the input end of the signal receiving unit 11 and is connected to the output end of each unit under test 3; the output end of each signal port is connected to the corresponding input end of the programmable device 112; the input end of the analog-to-digital conversion circuit 113 is connected to the output end of the corresponding signal port 111, and the output end of the analog-to-digital conversion circuit 113 is connected to the corresponding input end of the programmable device 113; the input end of the digital-to-analog conversion circuit 114 is connected to the output end of the corresponding signal port 111, and the output end of the digital-to-analog conversion circuit 114 is connected to the corresponding input end of the programmable device 113; the input end of the timing circuit 115 is connected to the clock signal end of the programmable device 112, and the output end of the timing circuit 115 is connected to the first input end of the radio frequency circuit 116; the second input end of the radio frequency circuit 116 is connected to the output end of the programmable device 112, and the output end of the radio frequency circuit 116 is connected to the input end of the cause analysis device 4. The output end of the power supply circuit 117 is connected to the power supply end of the analog-to-digital conversion circuit 113, the power supply end of the digital-to-analog conversion circuit 114, the power supply end of the timing circuit 115, the power supply end of the radio frequency circuit 116, the power supply end of the safety detection circuit 115 and the power supply end of the programmable device 112, and is used to supply power to the analog-to-digital conversion circuit 113, the digital-to-analog conversion circuit 114, the timing circuit 115, the radio frequency circuit 116, the safety detection circuit 118 and the programmable device 112; the detection control end of the safety detection circuit 118 is connected to the detection end of the analog-to-digital conversion circuit 113, the detection end of the digital-to-analog conversion circuit 114, the detection end of the timing circuit 115, the detection end of the radio frequency circuit 116, the detection end of the power supply circuit 117 and the detection end of the programmable device 112, and is used to detect the operating status of the analog-to-digital conversion circuit 113, the digital-to-analog conversion circuit 114, the timing circuit 115, the radio frequency circuit 116, the power supply circuit 117 and the programmable device 112.
[0071] In some embodiments, different signal ports 111 are used to obtain different types of signals. Therefore, in the design of the signal receiving unit 11, at least two types of signal ports 111 are included to obtain different types of status signals. Since the status signal is specifically divided into analog signals or digital signals, it is necessary to convert it when performing a preliminary analysis on the status signal, that is, the signal port 111 that partially obtains the analog signal needs to be connected to the analog-to-digital conversion circuit 113 to convert the acquired analog signal into a digital signal and then send it to the programmable device 112; the signal port 111 that partially obtains the digital signal needs to be connected to the digital-to-analog conversion circuit 114 to convert the acquired digital signal into an analog signal and then send it to the programmable device 112. At this time, the programmable device 112 obtains all the status signals sent by the current units 3 under test, and performs a preliminary analysis on them, so as to send the preliminary status analysis results to the cause status analysis device 4.
[0072] In order to reduce the power consumption of signal transmission, it adopts the method of timed communication to send the preliminary state analysis result to the cause state analysis device 4 at a preset time interval. Therefore, the design of the signal receiving unit 11 also includes: a timing circuit 115 and a radio frequency circuit 116. The timing circuit 115 is connected to the programmable device 112 and the radio frequency circuit 116. It determines the signal acquisition time through the frequency of the state signal obtained by the programmable device 112 (for example, obtaining the state signal once per second), and sends the acquisition signal time to the radio frequency circuit 116 in real time. The radio frequency circuit 116 is connected to the programmable device 112 and the cause state analysis device 4. It is mainly used to obtain the initial state analysis result determined by the programmable device 112 based on the state signal, and then when the acquisition signal time is greater than the preset sending time, the initial state analysis result is sent to the cause analysis device 4 by wireless data transmission.
[0073] For example, the signal receiving unit 11 obtains the status signal from each unit under test 3 every 1 second, and then analyzes it to obtain the corresponding initial status analysis result, but sends the packaged initial status analysis result to the cause analysis device 4 every 10 seconds.
[0074] Since the internal devices of the current signal receiving unit 11 are relatively complex, in order to ensure the normal operation of the signal receiving unit 11, the design of the signal receiving unit 11 also includes: a power supply circuit 117 and a safety detection circuit 118. The power supply circuit 117 is connected to the analog-to-digital conversion circuit 113, the digital-to-analog conversion circuit 114, the timing circuit 115, the radio frequency circuit 116, the safety detection circuit 118 and the programmable device 112 as a separate power supply end to supply power to them. The safety detection circuit 118 is connected to the analog-to-digital conversion circuit 113, the digital-to-analog conversion circuit 114, the timing circuit 115, the radio frequency circuit 116 and the programmable device 112 respectively, and is used to detect whether the circuits or devices connected thereto are operating normally. If the operation is abnormal, the current circuit or device is controlled to be shut down.
[0075] That Figure 3 The storage unit 122 in the state analysis device 1 shown specifically includes: a memory bar 121 (Random Access Memory, RAM) and a solid-state semiconductor memory 122 (Read-Only Memory, ROM).
[0076] It should be noted that the programmable device 112 provided by the present invention may be a field programmable gate array (FPGA), the analog-to-digital conversion circuit 113 may be an analog-to-digital converter, and the digital-to-analog conversion circuit 114 may be a digital-to-analog converter.
[0077] It should be noted that, due to the different specific types of the units to be tested 3 in different daughter boards, there will be differences in the design of the state analysis device 1 of the detection device in different daughter boards. The embodiment provided by the present invention is only one possible implementation method, but is not limited to only this implementation method, and can be set according to the needs of the user.
[0078] The present invention provides a design scheme for a state analysis device, under which the stability of state signal transmission can be guaranteed, thereby improving the accuracy of initial state analysis results and reducing power consumption used in signal transmission.
[0079] In the embodiment, since the power supply source of the current state analysis device 1 is the power chip in the unit to be tested 3, when the power chip is not powered on, the state analysis device cannot work normally, resulting in a certain detection blind spot in the current design. Therefore, the detection device provided by the present invention also includes: a redundant power supply unit 5. Figure 4 As shown, the connection relationship of the current detection device is: the output end of the power supply unit 5 is connected to the power supply end of the state analysis device 1, and is used solely for powering the state analysis device 1.
[0080] It should be noted that the power supply unit 5 provided by the present invention adopts a redundant structure, that is, it can be understood that two batteries constitute a power supply unit 5. The two batteries are redundant to each other.
[0081] The present invention adds a power supply unit in the detection device, which is used to supply power to the state analysis device in the detection device separately, thereby avoiding the detection blind area in the current detection device.
[0082] In some embodiments, Figure 5 As shown, the cause analysis device 4 includes a cause analysis unit 41 and a controller 42. Figure 5 The connection relationship of the cause analysis device 4 shown is as follows: the input end of the cause analysis unit 41 is connected to the output end of the state analysis device 1 as the input end of the cause analysis device 4; the input end of the controller 42 is connected to the output end of the cause analysis unit 41.
[0083] In the embodiment, the cause analysis unit 41 is mainly used to analyze the initial state analysis results, and specifically determines the cause of the corresponding initial state; and the function of the controller 42 is to obtain the cause of the initial state and display it, so that the operation and maintenance personnel can quickly determine the state of each unit 3 under test in each sub-board according to the currently displayed content.
[0084] The process of analyzing the initial state analysis result by the cause analysis unit 41 is as follows: if the initial state analysis result indicates that all the units to be tested 3 corresponding to the current sub-board are normal, then no analysis is required at this time. If the initial state analysis result indicates that the target type signal in the target unit to be tested 3 in the current sub-board is abnormal, then based on the connection and transmission relationship of different signals between different sub-boards, the upper-level signal and the lower-level signal corresponding to the target type signal at the current moment are determined, and at this time, the cause analysis device 2 re-determines the initial state analysis result sent by the detection device corresponding to the upper-level signal and the lower-level signal, so as to perform a comprehensive analysis and judgment on it, so as to determine the cause of the abnormality of the current target type signal, that is, to determine the corresponding initial state generation cause.
[0085] It should be noted that the design of the cause analysis device 4 also includes a power supply unit with a redundant structure, which is used to supply power to the cause analysis unit 41 separately to ensure that the cause analysis unit 41 works normally.
[0086] It should also be noted that the internal structure of the cause analysis unit 41 is similar to that of the state analysis device 1 , and the present invention will not elaborate on it here.
[0087] The controller 42 may be a baseboard management controller.
[0088] It can be seen from the above technical scheme that the present invention provides a detection device, including a state analysis device and a logic device; wherein the output end of the logic device is connected to the input end of each unit to be tested, and is used to send a power-on timing signal to each unit to be tested; the input end of the state analysis device is connected to the output end of each unit to be tested, and is used to obtain the state signal generated by each unit to be tested according to the power-on timing signal; the output end of the state analysis device is connected to the input end of the cause analysis device, and is used to send the initial state analysis result determined according to the state signal to the cause analysis device, so that the cause analysis device determines the corresponding initial state generation cause based on the initial state analysis result. It can be seen that in the detection device provided by the present invention, it is no longer necessary for the logic device to obtain the state signal corresponding to each unit to be tested, but the state signal corresponding to each unit to be tested is directly obtained through the state analysis device. This operation avoids the problem of low accuracy of the initial state analysis result caused by the limited input end of the logic device that can only obtain part of the state signal, which requires preliminary analysis of each unit to be tested. At the same time, since the present invention ensures that a large number of state signals of different signal types are obtained in the step of obtaining the state signal, the cause analysis device can analyze each unit under test according to the state signal, the initial state analysis result and the related data stored in itself, so as to determine the cause of the initial state. In other words, the detection device provided by the present invention can simply and quickly analyze each unit under test, and can specifically determine the cause of the initial state, thereby improving the stability of the device.
[0089] On the other hand, the present invention further provides an electronic device, comprising the above detection device.
[0090] In an embodiment, Figure 6 As shown, the electronic device includes N daughter boards 6 and a main board 7, each of which is provided with a detection device (a state analysis device 1 and a logic device 2, and in addition, a unit to be tested 3 in the daughter board), and a cause analysis device 4 (a cause analysis unit 41 and a controller 42) is provided in the main board 7. The state analysis device 1 in each daughter board 6 is connected to the cause analysis unit 41 in the main board 7 for sending the initial state analysis result to the cause analysis unit 41.
[0091] For example: the status analysis device 1 in the daughter board 6 is understood as a slave black box, and the cause analysis unit 41 in the main board 7 is understood as a master black box. If the current electronic device is composed of a main board (main board), a power board (daughter board), and a fan board (daughter board).
[0092] Since the power board includes a power management chip, a programmable fuse chip and a monitoring chip, and it mainly supplies power to loads such as hard disks, the slave black box in the current power board needs to collect and monitor the power status signals, alarm signals, voltage signals and real-time current consumption signals corresponding to different voltage sources at this time.
[0093] The fan board power supply requires a programmable fuse chip and a monitoring chip, which mainly powers loads such as fans and microcontroller units. The current black box on the fan board collects and monitors the power status signals, alarm signals, voltage signals, and real-time current consumption signals corresponding to different voltage sources.
[0094] The motherboard is equipped with baseboard management controller, central processing unit, new memory stick, complex programmable logic device, power management chip, programmable fuse chip and monitoring chip, etc. At this time, the main black box on the motherboard collects and monitors the power status signal, alarm signal, voltage signal, real-time current consumption signal and current power health status corresponding to different voltage sources.
[0095] Each slave black box sends the acquired status signal and the corresponding initial status analysis result to the master black box at regular intervals. The master black box analyzes the initial status analysis result here, determines the cause of the corresponding initial status, and displays it. At the same time, the working status and memory usage of each black box (master black box and slave black box) will be displayed on the power status online monitoring system page. When the memory usage of the black box (master black box and slave black box) exceeds 80%, an alarm will be issued to remind the operation and maintenance personnel to export the data in time to prevent the old data from being overwritten by the new data.
[0096] The electronic device provided by the present invention can simply and quickly analyze the units to be tested in each sub-board, and can specifically determine the cause of the initial state, thereby improving the stability of the device.
[0097] On the other hand, the present invention also provides a detection method, which is applied to the above detection device, such as Figure 7 As shown, the following steps are included:
[0098] S10: Acquire a status signal generated by each unit under test based on a power-on timing signal sent by a logic device.
[0099] S11: Analyze the state signal to obtain an initial state analysis result representing the operating state of the unit under test, so that the cause analysis device can determine the corresponding cause of the initial state based on the initial state analysis result.
[0100] In some embodiments, it also includes:
[0101] Obtaining memory data representing the storage space of each unit under test;
[0102] Determine whether the memory data exceeds the memory threshold;
[0103] If the memory data exceeds the memory threshold, the alarm system of the unit under test corresponding to the memory threshold is triggered, and the current unit under test is controlled to perform data export operation.
[0104] Since the embodiments provided by the present invention are the same as the embodiments of the above-mentioned detection device, the present invention will not be described in detail here.
[0105] Figure 8 A structural diagram of a power supply detection device provided by an embodiment of the present invention, such as Figure 8 As shown, the power supply detection device includes: a memory 60 for storing a computer program;
[0106] The processor 61 is used to implement the steps of the detection method in the above embodiment when executing a computer program.
[0107] The power supply detection device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer, or a desktop computer.
[0108] Among them, the processor 61 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 61 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 61 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 61 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 61 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0109] The memory 60 may include one or more computer-readable storage media, which may be non-transitory. The memory 60 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 60 is at least used to store the following computer program 601, wherein, after the computer program is loaded and executed by the processor 61, the relevant steps of the detection method disclosed in any of the aforementioned embodiments can be implemented. In addition, the resources stored in the memory 60 may also include an operating system 602 and data 603, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 602 may include Windows, Unix, Linux, etc.
[0110] In some embodiments, the power supply detection device may further include a display screen 62 , an input / output interface 63 , a communication interface 64 , a power supply 65 , and a communication bus 66 .
[0111] Those skilled in the art will understand that Figure 8 The structure shown in the figure does not constitute a limitation on the power supply detection device, and may include more or fewer components than those shown in the figure.
[0112] It is understandable that if the detection method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the current technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), electrically erasable programmable ROM, register, hard disk, removable disk, CD-ROM, magnetic disk or optical disk and other media that can store program codes.
[0113] Based on this, an embodiment of the present invention further provides a computer program product, including a computer program / instruction, which implements the steps of the above detection method when executed by a processor.
[0114] Based on this, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned detection method are implemented.
[0115] The above is a detailed introduction to a power supply detection device provided by an embodiment of the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0116] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0117] The above is a detailed introduction to a detection device, an electronic device and a detection method provided by the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A detection device, characterized in that: including a state analysis device and a logic device; The output end of the logic device is connected to the input end of each unit under test, and is used to send a power-on timing signal to each unit under test; The input end of the state analysis device is connected to the output end of each of the units under test, and is used to obtain the state signal generated by each of the units under test according to the power-on timing signal; The output end of the state analysis device is connected to the input end of the cause analysis device, and is used to send the initial state analysis result determined according to the state signal to the cause analysis device, so that the cause analysis device determines the corresponding initial state cause based on the initial state analysis result.
2. The detection device according to claim 1, characterized in that: The state analysis device comprises: a signal receiving unit and a storage unit; The input end of the signal receiving unit is connected to the input end of the storage unit, and is commonly connected to the output end of each unit under test as the input end of the state analysis device, for receiving and storing the state signal; The output end of the signal receiving unit is connected to the input end of the cause analysis device as the output end of the state analysis device, and is used to send the initial state analysis result determined according to the state signal to the cause analysis device.
3. The detection device according to claim 2, characterized in that: The signal receiving unit comprises: signal ports for at least two different types of signals and a programmable device; The input end of each of the signal ports is commonly connected to the output end of each of the units under test as the input end of the signal receiving unit, so as to respectively obtain the different types of status signals sent by each of the units under test; The output end of each of the signal ports is connected to the corresponding input end of the programmable device, and is used to send the status signal to the programmable device; The output end of the programmable device is connected to the input end of the cause analysis device as the output end of the signal receiving unit, and is used to send the initial state analysis result determined by the programmable device based on the state signal to the cause analysis device.
4. The detection device according to claim 3, characterized in that: The signal receiving unit further includes: an analog-to-digital conversion circuit, a digital-to-analog conversion circuit, a timing circuit and a radio frequency circuit; The input end of the analog-to-digital conversion circuit is connected to the output end of each corresponding signal port, and the output end of the analog-to-digital conversion circuit is connected to the input end corresponding to the programmable device, so as to obtain the state signal according to the current signal port and send the digital signal corresponding to the state signal to the programmable device; The input end of the digital-to-analog conversion circuit is connected to the output end of each corresponding signal port, and the output end of the digital-to-analog conversion circuit is connected to the input end corresponding to the programmable device, for obtaining the state signal according to the current signal port, and sending the analog signal corresponding to the state signal to the programmable device; The input end of the timing circuit is connected to the clock signal end of the programmable device, and the output end of the timing circuit is connected to the first input end of the radio frequency circuit, and is used to determine the acquisition signal time according to the frequency of the programmable device acquiring the status signal, and send the acquisition signal time to the radio frequency circuit; The second input end of the radio frequency circuit is connected to the output end of the programmable device, and the output end of the radio frequency circuit is connected to the input end of the cause analysis device, so as to obtain the initial state analysis result determined by the programmable device, and send the initial state analysis result to the cause analysis device when the acquisition signal time is greater than the preset sending time.
5. The detection device according to claim 4, characterized in that: The signal receiving unit further includes: a power supply circuit and a safety detection circuit; The output end of the power supply circuit is connected to the power supply end of the analog-to-digital conversion circuit, the power supply end of the digital-to-analog conversion circuit, the power supply end of the timing circuit, the power supply end of the radio frequency circuit, the power supply end of the safety detection circuit and the power supply end of the programmable device, and is used to supply power to the analog-to-digital conversion circuit, the digital-to-analog conversion circuit, the timing circuit, the radio frequency circuit, the safety detection circuit and the programmable device; The detection control end of the safety detection circuit is connected to the detection end of the analog-to-digital conversion circuit, the detection end of the digital-to-analog conversion circuit, the detection end of the timing circuit, the detection end of the radio frequency circuit, the detection end of the power supply circuit and the detection end of the programmable device, and is used to detect the operating status of the analog-to-digital conversion circuit, the digital-to-analog conversion circuit, the timing circuit, the radio frequency circuit, the power supply circuit and the programmable device.
6. The detection device according to any one of claims 1 to 5, characterized in that: The cause analysis device comprises a cause analysis unit and a controller; The input end of the cause analysis unit is connected to the output end of the state analysis device as the input end of the cause analysis device, and is used to obtain the initial state analysis result determined by the state analysis device based on the state signal; The input end of the controller is connected to the output end of the cause analysis unit, and is used to obtain the cause of the initial state determined by the cause analysis unit based on the initial state analysis result, and display the initial state.
7. The detection device according to claim 1, characterized in that: It also includes: a power supply unit with a redundant structure; Wherein, the output end of the power supply unit is connected to the power supply end of the state analysis device, and is used to supply power to the state analysis device.
8. An electronic device, characterized in that: The invention comprises the detection device as claimed in claim 1.
9. A detection method, characterized in that: The detection device as claimed in claim 1 comprises: Acquire a status signal generated by each unit under test based on a power-on timing signal sent by a logic device; The state signal is analyzed to obtain an initial state analysis result characterizing the operating state of the unit under test, so that the cause analysis device determines the corresponding cause of the initial state based on the initial state analysis result.
10. The detection method according to claim 9, characterized in that: Also includes: Acquire memory data representing storage space of each unit under test; Determining whether the memory data exceeds a memory threshold; If the memory data exceeds the memory threshold, the alarm system of the unit under test corresponding to the memory threshold is triggered, and the current unit under test is controlled to perform a data export operation.
Citation Information
Patent Citations
Method and device for acquiring fault information of hardware
CN107491370A
Initialization anomaly detection method and system of intelligent network card, server and medium
CN117176606A