A hardware fault detection system, method and medium
By designing a hardware fault detection system, using layout construction, category analysis, fault detection and operation execution modules, the problem of low accuracy of hardware fault detection in the existing technology is solved, and the accurate detection and handling of PC hardware faults is achieved.
Patent Information
- Application Number
- CN202111179967.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-11
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2041-10-11
AI Technical Summary
Existing hardware failure detection methods are low in accuracy and cannot accurately indicate and provide processing strategies for newly occurring hardware failures.
A hardware fault detection system is designed, including layout building module, category analysis module, fault detection module and operation execution module. The system realizes fault detection and processing by obtaining hardware layout information, analyzing processes and startup logs, detecting configuration and signal transmission conditions, and combining with the fault processing policy database.
It realizes accurate detection and feedback of PC hardware failures, can provide matching solutions for known failures, accurately indicating the fault location for unknown failures, and improves the accuracy and applicability of fault detection.
Smart Images

Figure CN113900872B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hardware fault detection, and in particular to a hardware fault detection system, method and medium. Background Art
[0002] The existing hardware fault detection method can only match the hardware fault condition based on the big data analysis of the hardware fault log. The fault detection result accuracy of this method is low, and it cannot accurately indicate the newly occurred hardware faults and cannot give corresponding processing strategies; therefore, a fault detection system is needed that can accurately analyze the faults and give corresponding feedback. Summary of the invention
[0003] The present invention mainly solves the problem that the existing hardware fault detection method has low accuracy and cannot provide a corresponding processing strategy for a newly occurring hardware fault.
[0004] In order to solve the above technical problems, a technical solution adopted by the present invention is: to provide a hardware fault detection system, applied to a PC, comprising:
[0005] Layout construction module, category analysis module, fault detection module and operation execution module;
[0006] The layout construction module is configured with a hardware identification and hardware model matching set and a layout format and information specification matching set; the category analysis module is configured with a time interval; the fault detection module is configured with a fault handling strategy database;
[0007] The layout construction module is used to obtain the arrangement information of the hardware in the PC, and to construct a feedback indication layout based on the hardware identification and hardware model matching set, the layout format and information specification matching set, and the arrangement information;
[0008] The category analysis module is used to obtain the process log of the hardware and the startup log of the PC, and the category analysis module analyzes the fault category of the hardware based on the time interval, the process log and the startup log;
[0009] The fault detection module is used to obtain the configuration information and the enable signal transmission status of the hardware; the fault detection module is also used to obtain the system information and the BIOS startup item list of the PC, and the fault detection module performs a fault detection operation based on the fault type, the configuration information, the enable signal transmission status, the system information and the BIOS startup item list to obtain a fault detection result;
[0010] The operation execution module is used to execute a solution generation operation or a fault indication operation according to the fault handling strategy database, the feedback indication map and the fault detection result.
[0011] As an improved solution, the layout construction module includes: an image acquisition module, an information conversion module and an image drawing module;
[0012] The image acquisition module is used to capture the arrangement image of the hardware in the PC and send the arrangement image to the information conversion module;
[0013] The information conversion module is used to convert the arrangement image into the arrangement information and identify the information specification of the arrangement information, and the information conversion module sends the arrangement information and the information specification to the image drawing module;
[0014] The image drawing module is used to identify the hardware coordinate information and the hardware identification information in the arrangement information, and the image drawing module confirms the hardware model matching the hardware identification information according to the hardware identification and hardware model matching set;
[0015] The image drawing module is also used to filter the layout format that matches the information specification in the layout format and information specification matching set, and the image drawing module draws the feedback indication layout that matches the layout format based on the hardware coordinate information and the hardware model.
[0016] As an improved solution, the category analysis module includes: a log acquisition module, a time acquisition module, a time difference calculation module and a category determination module;
[0017] The log acquisition module is used to acquire the process log and the startup log;
[0018] The time acquisition module is used to extract the first running time and the first startup time in the process log and the startup log respectively;
[0019] The time difference calculation module is used to calculate the absolute value of the difference between the first running time and the first startup time, and set the absolute value as the first time difference;
[0020] The category determination module is used to determine whether the first time difference is within the time interval; if so, the category determination module sets the fault category to an operating fault; if not, the category determination module sets the fault category to an in-place fault.
[0021] As an improved solution, the fault detection module includes: an operation fault detection module and an in-situ fault detection module; the fault detection operation includes: an operation detection operation and an in-situ detection operation; the fault detection result includes a first result and a second result;
[0022] The operation fault detection module is used for performing the operation detection operation based on the configuration information and the system information and obtaining the first result when the fault type is the operation fault;
[0023] The in-place fault detection module is used to perform the in-place detection operation based on the enable signal transmission status and the BIOS startup item list when the fault category is the in-place fault, and obtain the second result.
[0024] As an improved solution, the operation fault detection module is provided with a compatibility detection module, an abnormal operation detection module and a first result generation module;
[0025] The running detection operation includes:
[0026] The operation fault detection module identifies the hardware application environment information in the configuration information through the compatibility detection module; the operation fault detection module also identifies the system version information and processor performance data in the system information through the compatibility detection module;
[0027] The operation fault detection module determines whether the system version information and the processor performance data match the hardware application environment information through the compatibility detection module; if so, the operation fault detection module generates a first operation fault signal; if not, the operation fault detection module generates a second operation fault signal;
[0028] The operation fault detection module detects whether there is a hardware disabled operation in the process log through the abnormal operation detection module; if not, the operation fault detection module generates a third operation fault signal; if yes, the operation fault detection module generates a fourth operation fault signal;
[0029] The operation fault detection module sets the first result as an unknown operation fault when the operation fault detection module generates the first operation fault signal and the third operation fault signal through the first result generation module; the operation fault detection module sets the first result as a known operation fault when the operation fault detection module generates the second operation fault signal or the fourth operation fault signal through the first result generation module.
[0030] As an improved solution, the in-place fault detection module is provided with an in-place data identification module, a startup item matching module and a second result generation module;
[0031] The in-situ detection operation includes:
[0032] The in-place fault detection module identifies the enable signal transmission condition through the in-place data identification module; if the enable signal transmission condition is that the enable signal transmission fails, the in-place fault detection module generates a first in-place fault signal; if the enable signal transmission condition is that the enable signal transmission is successful, the in-place fault detection module generates a second in-place fault signal;
[0033] The in-place fault detection module identifies, through the boot item matching module, whether there is boot item information matching the hardware in the BIOS boot item list; if not, the in-place fault detection module generates a third in-place fault signal; if so, the in-place fault detection module generates a fourth in-place fault signal;
[0034] The in-place fault detection module sets the second result as an unknown in-place fault when the in-place fault detection module generates the second in-place fault signal and the fourth in-place fault signal through the second result generation module; the in-place fault detection module sets the second result as a known in-place fault when the in-place fault detection module generates the first in-place fault signal or the third in-place fault signal through the second result generation module.
[0035] As an improved solution, the operation execution module includes: a known fault processing module and an unknown fault processing module;
[0036] The known fault processing module is used for executing the solution generation operation based on the fault processing strategy database when the first result is the known operating fault or the second result is the known in-situ fault;
[0037] The unknown fault processing module is used to perform the fault indication operation based on the feedback indication map when the first result is the unknown operation fault or the second result is the unknown in-place fault.
[0038] As an improved solution, the known fault processing module is configured with an interactive display device that is communicatively connected to the fault processing strategy database; the unknown fault processing module is configured with a screening module and a fault display circuit that matches the feedback indication diagram, and the fault display circuit is provided with an indicator light that matches the hardware model; the unknown fault processing module is also provided with a control circuit that is connected to the indicator light;
[0039] The solution generation operation includes: the known fault processing module accesses the fault processing strategy database through the interactive display device, the known fault processing module sets the fault processing strategy matching the known operating fault or the known in-place fault in the fault processing strategy database as a solution, and the known fault processing module outputs the solution through the interactive display device;
[0040] The fault indication operation includes: the unknown fault processing module sets the hardware model in the feedback indication map that matches the unknown operating fault or the unknown in-place fault as the first model through the screening module; the unknown fault processing module adjusts the indicator light in the fault display circuit that matches the first model to a lit state through the control circuit.
[0041] The present invention also provides a hardware fault detection method, comprising the following steps:
[0042] Configuration steps:
[0043] Configure hardware identification and hardware model matching sets, layout format and information specification matching sets, time intervals and fault handling strategy databases;
[0044] Steps to build the layout:
[0045] Acquire the arrangement information of the hardware in the PC, and construct a feedback indication layout based on the hardware identification and hardware model matching set, the layout format and information specification matching set, and the arrangement information;
[0046] Category analysis steps:
[0047] Obtaining a process log of the hardware and a startup log of the PC, and analyzing the fault type of the hardware based on the time interval, the process log and the startup log;
[0048] Troubleshooting steps:
[0049] Acquire the configuration information and the transmission status of the enable signal of the hardware; acquire the system information and the BIOS startup item list of the PC; perform a fault detection operation based on the hardware fault category, the configuration information, the transmission status of the enable signal, the system information and the BIOS startup item list to obtain a fault detection result;
[0050] Troubleshooting steps:
[0051] A solution generation operation or a fault indication operation is performed based on the fault handling strategy database, the feedback indication map and the fault detection result.
[0052] The present invention also 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 hardware fault detection method are implemented.
[0053] The beneficial effects of the present invention are:
[0054] 1. The hardware fault detection system described in the present invention can accurately detect and feedback the hardware faults in the PC through the mutual cooperation of the layout construction module, the category analysis module, the fault detection module and the operation execution module, and can provide matching solutions for known faults, and can accurately indicate the location of the hardware where the fault is located for unknown faults. It is extremely intelligent, has high fault detection accuracy, and strong applicability, which makes up for the shortcomings of the existing technology and has extremely high market value.
[0055] 2. The hardware fault detection method described in the present invention can accurately detect and feedback hardware faults in a PC, and can provide matching solutions for known faults. For unknown faults, it can accurately indicate the location of the hardware where the fault is located. It is extremely intelligent, has high fault detection accuracy, and strong applicability. It makes up for the shortcomings of the existing technology and has extremely high market value.
[0056] 3. The computer-readable storage medium described in the present invention can realize the coordination of the guiding layout construction module, the category analysis module, the fault detection module and the operation execution module, thereby realizing accurate detection and feedback of the hardware faults in the PC, and can provide matching solutions for known faults, and can accurately indicate the location of the hardware where the fault is located for unknown faults. It is extremely intelligent, has high fault detection accuracy, and strong applicability, which makes up for the shortcomings of the existing technology, has extremely high market value, and effectively improves the operability of the hardware fault detection method. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0058] Figure 1 is an architecture diagram of the hardware fault detection system described in Example 1 of the present invention;
[0059] Figure 2 is a flowchart of the hardware fault detection method described in Example 2 of the present invention;
[0060] Figure 3It is a specific flow chart of the hardware fault detection method described in Example 2 of the present invention. DETAILED DESCRIPTION
[0061] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0062] In the description of the present invention, it should be noted that the embodiments described in the present invention are only part of the embodiments of the present invention, rather than all of the embodiments; based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.
[0063] In the description of the present invention, it should be noted that the terms “first”, “second”, “third” and “fourth” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0064] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "layout construction module", "category analysis module", "fault detection module", "operation execution module", "hardware identification and hardware model matching set", "layout format and information specification matching set", "time interval", "fault handling strategy database", "arrangement information", "process log", "startup log", "fault category", "configuration information", "enable signal transmission status", "system information", "BIOS startup item list", "fault detection operation", "fault detection result", "solution generation operation", "fault indication operation", "arrangement image", "information specification", "hardware model", "layout format", "operation fault", "in-place fault", "hardware application environment information", "system version information", "processor performance data", "operation fault signal", "hardware disabling operation", "enable signal transmission failure", "startup item information", "in-place fault signal", "interactive display device", "fault display circuit", "indicator light", "control circuit", "lighting state" should be understood in a broad sense. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0065] In the description of the present invention, it should be noted that the application field of the present invention PC includes but is not limited to mobile PCs, servers, mobile terminals and data center mainframe computers.
[0066] In the description of the present invention, it should be noted that:
[0067] PC (Personal Computer) is a computer;
[0068] AI (Artificial Intelligence) is artificial intelligence;
[0069] LED (light-emitting diode) is a light-emitting diode;
[0070] 3D (3-dimension) is three-dimensional, a structural dimension;
[0071] ROM (Read-Only Memory) is read-only memory;
[0072] RAM (Random Access Memory) is the internal random access memory;
[0073] BIOS (Basic Input Output System) is the basic input and output system;
[0074] CMOS (Complementary Metal Oxide Semiconductor) is the basic building block of digital integrated circuits.
[0075] Example 1
[0076] This embodiment provides a hardware fault detection system, which is applied to a PC, such as Figure 1 As shown, it includes: a layout construction module, a category analysis module, a fault detection module and an operation execution module;
[0077] Specifically, the layout construction module is configured with a hardware identification and hardware model matching set and a layout format and information specification matching set; the category analysis module is configured with a time interval; the fault detection module is configured with a fault handling strategy database; correspondingly, in this embodiment, the hardware identification and hardware model matching set is a data set containing a mutual matching mapping relationship between several different hardware identification information and several different hardware 3D models; for example: processor model information and 3D model information of the processor matching the processor model; correspondingly, this data set is used to construct an initial data foundation to facilitate the drawing of the subsequent indication layout; in this embodiment, the layout format and information specification The grid matching set is a set of mapping relationships between different layout size information and layout information size information; correspondingly, this set is used to ensure the specifications of the layout when drawing the layout according to the specifications of the layout information, thereby ensuring the accuracy and high quality of the layout; correspondingly, the time interval is a number of different time intervals set according to the last running time of the PC; and the time interval should be as close to the last running time of the PC as possible; correspondingly, the fault handling strategy database is a data set of several different fault handling methods integrated according to various fault conditions of the PC in the network and data center, which is used to provide effective technical support for subsequent fault handling operations.
[0078] In the hardware fault detection system, the layout construction module is used to obtain the arrangement information of the hardware in the PC, and to construct a feedback indication layout based on the hardware identification and hardware model matching set, the layout format and information specification matching set, and the arrangement information;
[0079] Specifically, the layout construction module includes: an image acquisition module, an information conversion module and an image drawing module; the image acquisition module is used to capture the arrangement image of the hardware located in the PC, and send the arrangement image to the information conversion module; in this embodiment, the image acquisition module includes but is not limited to a mobile miniature camera designed inside the PC; the information conversion module is used to convert the arrangement image into the arrangement information, and identify the information specifications of the arrangement information, and the information conversion module sends the arrangement information and the information specifications to the image drawing module; in this embodiment, the information conversion module includes but is not limited to a graphic conversion function, a graphic conversion script or a graphic format conversion program, etc.; correspondingly, the information specification is the size of the arrangement information; the image drawing module is used to identify the hardware coordinate information and the hardware identification information in the arrangement information, and the image drawing module confirms the hardware identification information that matches the hardware identification information according to the hardware identification and hardware model matching set. the hardware model matched; in this embodiment, the arrangement information corresponds to the vector coordinate relationship network of the entire PC internal structure arrangement; and the hardware coordinate information is the precise coordinate information of several different hardware in the vector coordinate relationship network; according to the information and the hardware model, the corresponding layout can be drawn; the image drawing module is also used to select the layout format matching the information specification in the layout format and information specification matching set, and the image drawing module draws the feedback indication layout matching the layout format based on the hardware coordinate information and the hardware model; in this embodiment, the image drawing module includes but is not limited to a combination of 3D drawing software and AI intelligent drawing algorithm; correspondingly, the feedback indication layout finally obtained can present the precise arrangement of the hardware in the entire PC, and through the feedback indication layout, accurate feedback can be given to the hardware failure in the PC in the later operation, thereby improving the user experience and the applicability of the fault detection system.
[0080] In the hardware fault detection system, the category analysis module is used to obtain the process log of the hardware and the startup log of the PC, and the category analysis module analyzes the fault category of the hardware based on the time interval, the process log and the startup log;
[0081] Specifically, the category analysis module includes: a log acquisition module, a time acquisition module, a time difference calculation module and a category determination module; the log acquisition module is used to obtain the process log and the startup log; correspondingly, the process log is the operation log corresponding to the hardware, which includes but is not limited to the most recent operation time, operation content and user operations, etc.; the startup log includes but is not limited to the most recent startup time of the PC, the startup duration and the total time from startup to shutdown of the PC, etc.;
[0082] The time acquisition module is used to extract the first running time and the first startup time in the process log and the startup log respectively; correspondingly, the first running time is the most recent running time of the hardware; the first startup time is the most recent startup time of the PC; the time difference calculation module is used to calculate the absolute value of the difference between the first running time and the first startup time, and set the absolute value as the first time difference; correspondingly, the time difference calculation module is implemented by a program or script with an addition and subtraction algorithm; the category determination module is used to determine whether the first time difference is within the time interval; if it is, the category determination module sets the fault category to an operating fault; if not, the category determination module sets the fault category to an in-place fault; in this embodiment, the time difference between the most recent running time of the hardware and the most recent startup time of the PC is used to determine whether the hardware is a fault during operation or an in-place fault that occurred before operation; correspondingly, When the first time difference is within the time interval, it means that the running time of the hardware and the startup time of the PC are relatively close, indicating that the pre-startup self-test of the hardware at startup of the PC is successful, so there is no in-place fault, and it is a fault that occurs during operation; on the contrary, when the first time difference is outside the time interval, it means that the pre-startup self-test of the hardware at startup of the PC fails, so after the PC is started, the hardware is in a non-startup state, and it is determined that the hardware is an in-place fault; correspondingly, this method of matching the time difference and the time interval is the most intuitive and most appropriate way to determine the fault category of the hardware. Compared with traditional fault analysis, it is more accurate in determining the fault category. Through time analysis, it avoids the wrong judgment of the fault category by big data analysis when the fault characteristics of the hardware fault are the same; correspondingly, each type of hardware has a specific pre-startup self-test time set by the system, and the time interval is set specifically according to the pre-startup self-test time.
[0083] In the hardware fault detection system, the fault detection module is used to obtain the configuration information and enable signal transmission status of the hardware; the fault detection module is also used to obtain the system information and BIOS startup item list of the PC, and the fault detection module performs a fault detection operation based on the fault category, the configuration information, the enable signal transmission status, the system information and the BIOS startup item list to obtain a fault detection result; correspondingly, the system information includes but is not limited to the system version information, the system model, the number of operating bits of the system processor, the operating frequency of the system processor and the specific value of the system RAM / ROM; the BIOS startup item list includes but is not limited to the hardware startup items preset by the system in the BIOS; the hardware configuration information includes but is not limited to: the minimum adaptation environment for the hardware operation and the system version for the hardware operation; the enable signal transmission status includes but is not limited to the power-on enable signal given to the hardware by the mainboard CPLD;
[0084] Specifically, the fault detection module includes: an operation fault detection module and an in-place fault detection module; the fault detection operation includes: an operation detection operation and an in-place detection operation; the fault detection result includes a first result and a second result; the operation fault detection module is used to perform the operation detection operation based on the configuration information and the system information when the fault type is the operation fault, and obtain the first result; the in-place fault detection module is used to perform the in-place detection operation based on the enable signal transmission situation and the BIOS startup item list when the fault type is the in-place fault, and obtain the second result; correspondingly, different modules are called to adopt different detection methods in different situations, the operation is clarified, the accuracy of the result is further improved, and the detection efficiency is improved to a certain extent;
[0085] Specifically, the operation fault detection module is provided with a compatibility detection module, an abnormal operation detection module and a first result generation module; the operation detection operation includes:
[0086] The operation fault detection module identifies the hardware application environment information in the configuration information through the compatibility detection module; the operation fault detection module also identifies the system version information and processor performance data in the system information through the compatibility detection module; in this embodiment, the compatibility detection module includes but is not limited to a hardware detection program; the operation fault detection module determines whether the system version information and the processor performance data match the hardware application environment information through the compatibility detection module; if so, the operation fault detection module generates a first operation fault signal; if not, the operation fault detection module generates a second operation fault signal; in this embodiment, only when the system version information and the processor performance data match the hardware application environment information, the first operation fault signal will be generated, which further improves the rigor of the detection process and the accuracy of the detection result; the operation fault detection module detects whether there is a hardware disabling operation in the process log through the abnormal operation detection module; if not, the operation fault detection module generates a third operation fault signal; if so, the operation fault detection module generates a fourth operation fault signal; correspondingly, the hardware disabling operation is the user's operation in the process log. The hardware is disabled, which causes the hardware to stop working or become abnormal; the operation fault detection module sets the first result as an unknown operation fault when the operation fault detection module generates the first operation fault signal and the third operation fault signal through the first result generation module; the operation fault detection module sets the first result as a known operation fault when the operation fault detection module generates the second operation fault signal or the fourth operation fault signal through the first result generation module; correspondingly, when the first operation fault signal and the third operation fault signal are both generated, it means that the hardware has a fault when the operating environment of the hardware matches and there is no user disabling, which is an unknown fault. In order to improve safety, the operator needs to further analyze and process it; when the second operation fault signal or the fourth operation fault signal is generated, it means that the hardware has an operating environment mismatch or is disabled by the user, which is a known fault that can be resolved, and further measures can be taken; through this step, the safety and accuracy of fault detection are further improved, and in many cases, two fault conditions with different processing methods are integrated, and corresponding different feedback measures are provided; at the same time, it can avoid system misoperation and fault processing, and further improve the maintainability of the entire PC;
[0087] Specifically, the in-situ fault detection module is provided with an in-situ data identification module, a startup item matching module and a second result generation module; the in-situ detection operation includes:
[0088] The in-place fault detection module identifies the enable signal transmission status through the in-place data identification module; if the enable signal transmission status is that the enable signal transmission fails, the in-place fault detection module generates a first in-place fault signal; if the enable signal transmission status is that the enable signal transmission is successful, the in-place fault detection module generates a second in-place fault signal; correspondingly, whether the enable signal transmission is successful or not determines whether the hardware can successfully perform power-on self-test, so this is the first detection process for whether the hardware is in place; the in-place fault detection module identifies whether there is startup item information matching the hardware in the BIOS startup item list through the startup item matching module; if not, the in-place fault detection module generates a third in-place fault signal; if so, the in-place fault detection module generates a fourth in-place fault signal; correspondingly, after the enable signal is confirmed, the BIOS startup item is confirmed again, and then the startup failure factors are screened again at the data layer, with extremely high accuracy and rigor; correspondingly, the in-place fault detection module generates a fourth in-place fault signal through the second result generation module in the in-place fault detection When both modules generate the second in-place fault signal and the fourth in-place fault signal, the second result is set to an unknown in-place fault; when the in-place fault detection module generates the first in-place fault signal or the third in-place fault signal through the second result generation module, the in-place fault detection module sets the second result to a known in-place fault; correspondingly, when both the second in-place fault signal and the fourth in-place fault signal are generated, it means that when the hardware is powered on normally and the startup item is normal, the hardware still has an in-place fault. At this time, considering that the operator may need to perform a specific detection of the physical condition of the hardware, the result at this time is set to an unknown in-place fault; when the first in-place fault signal or the third in-place fault signal is generated, it means that the hardware is a fault caused by a power-on failure or a configuration error of the BIOS startup item, which is a known in-place fault that can be resolved, so the next step of feedback measures is performed; correspondingly, through the above operations, the in-place faults of the hardware are detected and judged, which further improves the comprehensiveness and applicability of the hardware detection system and improves the product competitiveness of the hardware detection system.
[0089] In the hardware fault detection system, the operation execution module is used to execute a solution generation operation or a fault indication operation according to the fault handling strategy database, the feedback indication map and the fault detection result;
[0090] Specifically, the operation execution module includes: a known fault processing module and an unknown fault processing module;
[0091] The known fault processing module is used to perform the solution generation operation based on the fault handling strategy database when the first result is the known operating fault or the second result is the known in-place fault; correspondingly, when the fault is a known operating fault or a known in-place fault, it is necessary to feedback the corresponding solution, thereby improving the maintenance efficiency of the operator when performing machine maintenance, saving time, and being highly intelligent, which improves the operator's experience; the unknown fault processing module is used to perform the fault indication operation based on the feedback indication map when the first result is the unknown operating fault or the second result is the unknown in-place fault. Correspondingly, when the fault is an unknown operating fault or an unknown in-place fault, in order to further ensure the security of the PC and the system and the effective and stable operation, the operator is required to perform specific detection and repair. However, in order to further improve the operator's maintenance efficiency, a fault indication operation is performed to accurately indicate the faulty hardware, which more intuitively reminds the operator of the location that needs maintenance, and also improves the operator's experience, which is highly intelligent;
[0092] Specifically, the known fault processing module is configured with an interactive display device, and the interactive display device is communicatively connected to the fault processing strategy database; the unknown fault processing module is configured with a screening module and a fault display circuit matching the feedback indication layout, and the fault display circuit is provided with an indicator light matching the hardware model; the unknown fault processing module is also provided with a control circuit connected to the indicator light; in this embodiment, the interactive display device includes but is not limited to a tablet, a smart screen and a PC display screen, etc.; correspondingly, the layout design of the fault display circuit matches the feedback indication layout; and the feedback indication layout is digitized and can be stored, while the fault display circuit is hardware-based and can be designed and updated according to the feedback indication layout; correspondingly, the indicator light includes but is not limited to a number of LED indicator lights of different colors; the control circuit includes but is not limited to a CMOS tube control circuit or a switch control circuit;
[0093] The solution generation operation includes: the known fault processing module accesses the fault processing strategy database through the interactive display device, the known fault processing module sets the fault processing strategy matching the known operating fault or the known in-place fault in the fault processing strategy database as a solution, and the known fault processing module outputs the solution through the interactive display device; correspondingly, the solution generation operation is to output the corresponding solution to the interactive display device for the operator to use, for example: it is recommended to replace the RAM to 128GB, it is recommended to overclock the central processor to 4.0Ghz, or it is recommended to manually close the disabled item of the RAM under the first serial port, etc.;
[0094] The fault indication operation includes: the unknown fault processing module sets the hardware model matching the unknown operating fault or the unknown in-place fault in the feedback indication map as the first model through the screening module; the unknown fault processing module adjusts the indicator light matching the first model in the fault display circuit to be in a lit state through the control circuit; correspondingly, in the present embodiment, the indicator light can switch to different display colors according to different hardware models, and the lighting state includes but is not limited to the flashing, breathing and always-on states of the indicator light; correspondingly, feedback is given to different types of hardware faults through solution generation operations and fault indication operations, thereby improving the flexibility and practicality of the present system.
[0095] Through the hardware fault detection system described in this embodiment, the hardware faults in the PC can be further detected and confirmed through the mutual cooperation of the layout construction module, the category analysis module, the fault detection module and the operation execution module. The results are extremely accurate and the detection efficiency is high. There are corresponding feedback measures for different fault conditions. It is highly intelligent and applicable, which makes up for the shortcomings of the existing technology and has extremely high market competitiveness.
[0096] Example 2
[0097] This embodiment provides a hardware fault detection method, such as Figure 2 and Figure 3 As shown, the following steps are included:
[0098] S100, configuration steps:
[0099] Step S100 specifically includes:
[0100] S101, configuring a hardware identification and hardware model matching set, a layout format and information specification matching set, a time interval and a fault handling strategy database;
[0101] Specifically, the hardware identification and hardware model matching set is a data set containing a mutual matching mapping relationship between several different hardware identification information and several different hardware 3D models; for example: processor model information and 3D model information of the processor matching the processor model; correspondingly, the data set is used to construct an initial data foundation to facilitate the drawing of the subsequent instruction layout; in this embodiment, the layout format and information specification matching set is a set of matching mapping relationships between different layout specification size information and layout information specification size information; correspondingly, this set is used to ensure the specifications of the drawing layout according to the specifications of the layout information when drawing the layout, thereby ensuring the accuracy and high quality of the layout; correspondingly, the time interval is a number of different time intervals set according to the last running time of the PC; and the time interval should be as close to the last running time of the PC as possible; correspondingly, the fault handling strategy database is a data set of several different fault handling methods integrated according to various fault conditions of the PC in the network and data center.
[0102] S200, layout construction steps:
[0103] Step S200 specifically includes:
[0104] S201, obtaining arrangement information of hardware in the PC, and constructing a feedback indication layout based on the hardware identification and hardware model matching set, the layout format and information specification matching set, and the arrangement information;
[0105] Specifically, capture the layout image of the hardware located in the PC; convert the layout image into the layout information, and identify the information specifications of the layout information; identify the hardware coordinate information and the hardware identification information in the layout information, and confirm the hardware model that matches the hardware identification information based on the hardware identification and hardware model matching set; filter the layout format that matches the information specification in the layout format and information specification matching set, and draw the feedback indication layout that matches the layout format based on the hardware coordinate information and the hardware model.
[0106] S300, Category Analysis Steps:
[0107] Step S300 specifically includes:
[0108] S301, obtaining a process log of the hardware and a startup log of the PC, and analyzing a fault type of the hardware based on the time interval, the process log and the startup log;
[0109] Specifically, the process log and the startup log are obtained; the first running time and the first startup time in the process log and the startup log are respectively extracted; the absolute value of the difference between the first running time and the first startup time is calculated, and the absolute value is set as the first time difference; it is determined whether the first time difference is within the time interval; if so, the fault category is set to an operating fault; if not, the fault category is set to an in-place fault.
[0110] S400, Fault detection steps:
[0111] Step S400 specifically includes:
[0112] S401, obtaining the configuration information and the enable signal transmission status of the hardware; obtaining the system information and the BIOS startup item list of the PC; performing a fault detection operation based on the hardware fault category, the configuration information, the enable signal transmission status, the system information and the BIOS startup item list to obtain a fault detection result;
[0113] Specifically, the fault detection operation includes: an operation detection operation and an in-place detection operation; the fault detection result includes a first result and a second result; when the fault category is the operation fault, the operation detection operation is performed based on the configuration information and the system information, and the first result is obtained; when the fault category is the in-place fault, the in-place detection operation is performed based on the enable signal transmission status and the BIOS startup item list, and the second result is obtained.
[0114] Specifically, the running detection operation includes:
[0115] A configuration compatibility detection module, an abnormal operation detection module and a first result generation module are provided; the hardware application environment information in the configuration information is identified through the compatibility detection module; the system version information and the processor performance data in the system information are identified through the compatibility detection module; the compatibility detection module is used to determine whether the system version information and the processor performance data both match the hardware application environment information; if so, a first operation fault signal is generated; if not, a second operation fault signal is generated; the abnormal operation detection module is used to detect whether there is a hardware disabled operation in the process log; if not, a third operation fault signal is generated; if so, a fourth operation fault signal is generated; when the first result generation module generates both the first operation fault signal and the third operation fault signal, the first result is set to an unknown operation fault; when the first result generation module generates the second operation fault signal or the fourth operation fault signal, the first result is set to a known operation fault.
[0116] Specifically, the in-situ detection operation includes:
[0117] An in-place data identification module, a startup item matching module and a second result generation module are configured; the enable signal transmission status is identified by the in-place data identification module; if the enable signal transmission status is an enable signal transmission failure, a first in-place fault signal is generated; if the enable signal transmission status is an enable signal transmission success, a second in-place fault signal is generated; the startup item matching module is used to identify whether there is startup item information matching the hardware in the BIOS startup item list; if not, a third in-place fault signal is generated; if so, a fourth in-place fault signal is generated; when the second in-place fault signal and the fourth in-place fault signal are both generated by the second result generation module, the second result is set to an unknown in-place fault; when the first in-place fault signal or the third in-place fault signal is generated by the second result generation module, the second result is set to a known in-place fault.
[0118] S500, troubleshooting steps:
[0119] Step S500 specifically includes:
[0120] S501, performing a solution generation operation or a fault indication operation based on the fault handling strategy database, the feedback indication map and the fault detection result;
[0121] Specifically, when the first result is the known operating fault or the second result is the known in-situ fault, the solution generation operation is performed based on the fault handling strategy database; when the first result is the unknown operating fault or the second result is the unknown in-situ fault, the fault indication operation is performed based on the feedback indication map;
[0122] Specifically, an interactive display device is configured to be communicatively connected to the fault handling strategy database; a screening module and a fault display circuit matching the feedback indication diagram are configured; an indicator light matching the hardware model is set in the fault display circuit; and a control circuit connected to the indicator light is configured;
[0123] Specifically, the solution generation operation includes: accessing the fault handling strategy database through the interactive display device, setting the fault handling strategy in the fault handling strategy database that matches the known operating fault or the known in-place fault as a solution, and outputting the solution through the interactive display device;
[0124] Specifically, the fault indication operation includes: setting the hardware model in the feedback indication map that matches the unknown operating fault or the unknown in-place fault as the first model through the screening module; adjusting the indicator light in the fault display circuit that matches the first model to a lit state through the control circuit.
[0125] Through the hardware fault detection method described in this embodiment, the hardware faults in the PC can be further detected and confirmed, the results are extremely accurate, and the detection efficiency is high. There are corresponding feedback measures for different fault conditions. It is highly intelligent and applicable, which makes up for the shortcomings of the existing technology and has extremely high market competitiveness.
[0126] Example 3
[0127] This embodiment provides a computer-readable storage medium, including:
[0128] The storage medium is used to store computer software instructions used to implement the hardware fault detection method described in the above-mentioned embodiment 2, which includes a program for executing the above-mentioned program set for the hardware fault detection method; specifically, the executable program can be built into the hardware fault detection system described in embodiment 1, so that the hardware fault detection system can implement the hardware fault detection method described in embodiment 2 by executing the built-in executable program.
[0129] In addition, the computer-readable storage medium of this embodiment may adopt any combination of one or more computer-readable storage media, wherein the computer-readable storage medium includes electrical, optical, electromagnetic, infrared or semiconductor systems, devices or components, or any combination thereof.
[0130] Different from the prior art, the hardware fault detection system, method and medium of the present application can realize accurate detection and feedback of hardware faults in a PC through the mutual cooperation of a layout construction module, a category analysis module, a fault detection module and an operation execution module in the system, and can provide matching solutions for known faults, and can accurately indicate the location of the hardware where the fault is located for unknown faults. The method provides the system with an ingenious design concept, is extremely intelligent, has high fault detection accuracy, and is highly applicable, which makes up for the deficiencies of the prior art and has extremely high market value.
[0131] The serial numbers of the embodiments disclosed in the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0132] A person skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be accomplished by hardware, or may be accomplished by a program to instruct the relevant hardware. The program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.
[0133] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A hardware fault detection system, applied to a PC, characterized in that: The hardware fault detection system comprises: a layout construction module, a category analysis module, a fault detection module and an operation execution module; The layout construction module is configured with a hardware identification and hardware model matching set and a layout format and information specification matching set; the category analysis module is configured with a time interval; the fault detection module is configured with a fault handling strategy database; The layout construction module is used to obtain the layout information of the hardware in the PC, and to construct a feedback indication layout based on the hardware identification and hardware model matching set, the layout format and information specification matching set and the layout information; the layout construction module includes: an image acquisition module, an information conversion module and an image drawing module; the image acquisition module is used to capture the layout image of the hardware in the PC, and send the layout image to the information conversion module; the information conversion module is used to convert the layout image into the layout information, and identify the information specification of the layout information, and the information conversion module sends the layout information and the information specification to the image drawing module; the image drawing The module is used to identify the hardware coordinate information and the hardware identification information in the arrangement information, and the image drawing module confirms the hardware model matching the hardware identification information according to the hardware identification and the hardware model matching set; the image drawing module is also used to screen the layout format matching the information specification in the layout format and the information specification matching set, and the image drawing module draws the feedback indication layout matching the layout format based on the hardware coordinate information and the hardware model; the category analysis module is used to obtain the process log of the hardware and the startup log of the PC, and the category analysis module analyzes the fault category of the hardware based on the time interval, the process log and the startup log; The fault detection module is used to obtain the configuration information and the enable signal transmission status of the hardware; the fault detection module is also used to obtain the system information and the BIOS startup item list of the PC, and the fault detection module performs a fault detection operation based on the fault type, the configuration information, the enable signal transmission status, the system information and the BIOS startup item list to obtain a fault detection result; The operation execution module is used to execute a solution generation operation or a fault indication operation according to the fault handling strategy database, the feedback indication map and the fault detection result.
2. A hardware fault detection system according to claim 1, characterized in that: The category analysis module includes: a log acquisition module, a time acquisition module, a time difference calculation module and a category determination module; The log acquisition module is used to acquire the process log and the startup log; The time acquisition module is used to extract the first running time and the first startup time in the process log and the startup log respectively; The time difference calculation module is used to calculate the absolute value of the difference between the first running time and the first startup time, and set the absolute value as the first time difference; The category determination module is used to determine whether the first time difference is within the time interval; if so, the category determination module sets the fault category to an operating fault; if not, the category determination module sets the fault category to an in-place fault.
3. A hardware fault detection system according to claim 2, characterized in that: The fault detection module includes: an operation fault detection module and an in-situ fault detection module; the fault detection operation includes: an operation detection operation and an in-situ detection operation; the fault detection result includes a first result and a second result; The operation fault detection module is used for performing the operation detection operation based on the configuration information and the system information and obtaining the first result when the fault type is the operation fault; The in-place fault detection module is used to perform the in-place detection operation based on the enable signal transmission status and the BIOS startup item list when the fault category is the in-place fault, and obtain the second result.
4. A hardware fault detection system according to claim 3, characterized in that: The operation fault detection module is provided with a compatibility detection module, an abnormal operation detection module and a first result generation module; The running detection operation includes: The operation fault detection module identifies the hardware application environment information in the configuration information through the compatibility detection module; the operation fault detection module also identifies the system version information and processor performance data in the system information through the compatibility detection module; The operation fault detection module determines whether the system version information and the processor performance data match the hardware application environment information through the compatibility detection module; if so, the operation fault detection module generates a first operation fault signal; if not, the operation fault detection module generates a second operation fault signal; The operation fault detection module detects whether there is a hardware disabled operation in the process log through the abnormal operation detection module; if not, the operation fault detection module generates a third operation fault signal; if yes, the operation fault detection module generates a fourth operation fault signal; The operation fault detection module sets the first result as an unknown operation fault when the operation fault detection module generates the first operation fault signal and the third operation fault signal through the first result generation module; the operation fault detection module sets the first result as a known operation fault when the operation fault detection module generates the second operation fault signal or the fourth operation fault signal through the first result generation module.
5. A hardware fault detection system according to claim 4, characterized in that: The in-place fault detection module is provided with an in-place data identification module, a startup item matching module, and a second result generation module; The in-situ detection operation includes: The in-place fault detection module identifies the enable signal transmission condition through the in-place data identification module; if the enable signal transmission condition is that the enable signal transmission fails, the in-place fault detection module generates a first in-place fault signal; if the enable signal transmission condition is that the enable signal transmission is successful, the in-place fault detection module generates a second in-place fault signal; The in-place fault detection module identifies, through the boot item matching module, whether there is boot item information matching the hardware in the BIOS boot item list; if not, the in-place fault detection module generates a third in-place fault signal; if so, the in-place fault detection module generates a fourth in-place fault signal; The in-place fault detection module sets the second result as an unknown in-place fault when the in-place fault detection module generates the second in-place fault signal and the fourth in-place fault signal through the second result generation module; the in-place fault detection module sets the second result as a known in-place fault when the in-place fault detection module generates the first in-place fault signal or the third in-place fault signal through the second result generation module.
6. A hardware fault detection system according to claim 5, characterized in that: The operation execution module includes: a known fault processing module and an unknown fault processing module; The known fault processing module is used for executing the solution generation operation based on the fault processing strategy database when the first result is the known operating fault or the second result is the known in-situ fault; The unknown fault processing module is used to perform the fault indication operation based on the feedback indication map when the first result is the unknown operation fault or the second result is the unknown in-place fault.
7. A hardware fault detection system according to claim 6, characterized in that: The known fault processing module is configured with an interactive display device that is communicatively connected to the fault processing strategy database; the unknown fault processing module is configured with a screening module and a fault display circuit that matches the feedback indication diagram, and the fault display circuit is provided with an indicator light that matches the hardware model; The unknown fault processing module is also provided with a control circuit connected to the indicator light; The solution generation operation includes: the known fault processing module accesses the fault processing strategy database through the interactive display device, the known fault processing module sets the fault processing strategy matching the known operating fault or the known in-place fault in the fault processing strategy database as a solution, and the known fault processing module outputs the solution through the interactive display device; The fault indication operation includes: the unknown fault processing module sets the hardware model in the feedback indication map that matches the unknown operating fault or the unknown in-place fault as the first model through the screening module; the unknown fault processing module adjusts the indicator light in the fault display circuit that matches the first model to a lit state through the control circuit.
8. A method for detecting hardware failure, characterized in that: The following steps are involved: Configuration steps: Configure hardware identification and hardware model matching sets, layout format and information specification matching sets, time intervals and fault handling strategy databases; Steps to build the layout: Acquire the arrangement information of the hardware in the PC, and construct a feedback indication layout based on the hardware identification and hardware model matching set, the layout format and information specification matching set, and the arrangement information; The layout construction step further includes: capturing the layout image of the hardware located in the PC; converting the layout image into the layout information, identifying the information specifications of the layout information, identifying the hardware coordinate information and the hardware identification information in the layout information, and confirming the hardware model matching the hardware identification information according to the hardware identification and hardware model matching set; screening the layout format matching the information specification in the layout format and information specification matching set, and drawing the feedback indication layout matching the layout format based on the hardware coordinate information and the hardware model; Category analysis steps: Obtaining a process log of the hardware and a startup log of the PC, and analyzing the fault type of the hardware based on the time interval, the process log and the startup log; Troubleshooting steps: Acquire the configuration information and the transmission status of the enable signal of the hardware; acquire the system information and the BIOS startup item list of the PC; perform a fault detection operation based on the hardware fault category, the configuration information, the transmission status of the enable signal, the system information and the BIOS startup item list to obtain a fault detection result; Troubleshooting steps: A solution generation operation or a fault indication operation is performed based on the fault handling strategy database, the feedback indication map and the fault detection result.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the hardware fault detection method in claim 8 are implemented.
Citation Information
Patent Citations
Computer system and computer system starting method
CN104679540A
State information processing method and device of hardware equipment
CN108121287A