CN104598340A - Detection system of hardware faults, electronic device and method - Google Patents
Detection system of hardware faults, electronic device and method Download PDFInfo
- Publication number
- CN104598340A CN104598340A CN201310529777.2A CN201310529777A CN104598340A CN 104598340 A CN104598340 A CN 104598340A CN 201310529777 A CN201310529777 A CN 201310529777A CN 104598340 A CN104598340 A CN 104598340A
- Authority
- CN
- China
- Prior art keywords
- hardware
- property value
- current
- smbios
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention provides a detection system of hardware faults, an electronic device and a method. The detection system comprises an acquisition module, a creating module, a comparison module and an output module, wherein the acquisition module responds to a restart instruction and obtains an attribute value of each piece of hardware in the restart instruction of the electronic device; the creating module creates a current SMBIOS (System Management BIOS) file on the basis of the obtained current attribute value of each piece of hardware, wherein the SMBIOS file records the current attribute value of each piece of hardware in the restart; the comparison module compares whether the current attribute value of each piece of hardware in the current SMBIOS file is consistent with a factory leaving attribute value of the hardware in the initial SMBIOS file or not; and the output module outputs a fault list when the current attribute value of each piece of hardware is not consistent with the factory leaving attribute value of the hardware in the initial SMBIOS file, wherein the fault list records the name of the hardware of which the current attribute value of the hardware is not consistent with the factory leaving attribute value of the hardware as well as the current attribute value and the factory leaving attribute value of the hardware. The detection system of the hardware faults, the electronic device and the method quicken a hardware fault detection rate.
Description
Technical field
The present invention relates to a kind of detection system of hardware fault, electronic installation and method.
Background technology
Have a variety of for the inspection software of software on electronic installation under prior art, but little for the coherent detection software of hardware on electronic installation, almost do not have.Under prior art, user when electronic installation breaks down, normally manual detection hardware, but manually detect more consuming time, be also not easy to detect trouble spot.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of detection system of hardware fault, electronic installation and method, is intended to solve produced problem in above-mentioned hardware detection.
The invention provides a kind of detection system of hardware fault, this detection system runs on an electronic installation, this electronic installation is provided with multiple hardware, each hardware correspondence one is dispatched from the factory property value, this electronic installation also comprises a storage unit, store an initial SMBIOS file in this storage unit, it have recorded the property value that dispatches from the factory of each hardware on electronic installation, this detection system includes:
Acquisition module, for responding the restart indication that electronic installation receives, the current property value of each hardware during acquisition electronic installation restarts;
Creation module, for creating a current SMBIOS file based on the current property value of each hardware got, wherein, record in this current SMBIOS file electronic installation restart in the current property value of each hardware;
Comparing module, whether the property value current for each hardware in the SMBIOS file that comparison is current be consistent with the property value that dispatches from the factory of each hardware in initial SMBIOS file; And
Output module, for in current SMBIOS file, have hardware current property value with when in initial SMBIOS file, the property value that dispatches from the factory of corresponding hardware is inconsistent, export an error listing, wherein, record hardware current property value and hardware in this error listing to dispatch from the factory the current property value of the inconsistent hardware names of property value and hardware and the property value that dispatches from the factory.
The present invention also provides a kind of electronic installation with hardware failure detection function, this electronic installation is provided with multiple hardware, each hardware correspondence one is dispatched from the factory property value, this electronic installation comprises a storage unit and a processing unit, an initial SMBIOS file is stored in this storage unit, it have recorded the property value that dispatches from the factory of each hardware on electronic installation, the restart indication that this processing unit receives for responding electronic installation, the current property value of each hardware during acquisition electronic installation restarts, current property value based on each hardware got creates a current SMBIOS file, wherein, record in this current SMBIOS file electronic installation restart in the current property value of each hardware, whether the property value that in the SMBIOS file that comparison is current, each hardware is current is consistent with the property value that dispatches from the factory of each hardware in initial SMBIOS file, and the property value having hardware current in current SMBIOS file is with when in initial SMBIOS file, the property value that dispatches from the factory of corresponding hardware is inconsistent, export an error listing, wherein, record hardware current property value and hardware in this error listing to dispatch from the factory the current property value of the inconsistent hardware names of property value and hardware and the property value that dispatches from the factory.
The present invention also provides a kind of detection method of hardware fault, this detection method runs on an electronic installation, this electronic installation is provided with multiple hardware, each hardware correspondence one is dispatched from the factory property value, this electronic installation also comprises a storage unit, store an initial SMBIOS file in this storage unit, it have recorded the property value that dispatches from the factory of each hardware on electronic installation, this detection method comprises the following steps:
The restart indication that response electronic installation receives, the current property value of each hardware during acquisition electronic installation restarts;
Current property value based on each hardware got creates a current SMBIOS file, wherein, record in this current SMBIOS file electronic installation restart in the current property value of each hardware;
Whether the property value that in the SMBIOS file that comparison is current, each hardware is current is consistent with the property value that dispatches from the factory of each hardware in initial SMBIOS file; And
The property value having hardware current in current SMBIOS file is with when in initial SMBIOS file, the property value that dispatches from the factory of corresponding hardware is inconsistent, export an error listing, wherein, record hardware current property value and hardware in this error listing to dispatch from the factory the current property value of the inconsistent hardware names of property value and hardware and the property value that dispatches from the factory.
The detection system of hardware fault of the present invention, electronic installation and method, it is by creating the current SMBIOS file of electronic installation when restarting at every turn, the SMBIOS file current by this and the initial SMBIOS of electronic installation compare to determine whether the current hardware of electronic installation exists fault, thus accelerate the detection rates of hardware fault, also can detect hardware fault fast.
Accompanying drawing explanation
Fig. 1 is the hardware structure diagram of the detection system of hardware fault of the present invention.
Fig. 2 is the detection method process flow diagram of hardware fault of the present invention.
Main element symbol description
Electronic installation | 1 |
Processing unit | 10 |
Detection system | 2 |
Acquisition module | 101 |
Creation module | 102 |
Comparing module | 103 |
Output module | 104 |
Interrupt module | 105 |
Number of times determination module | 106 |
Command generation module | 107 |
Memory module | 108 |
Storage unit | 20 |
Following embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
Please refer to the hardware structure diagram of the detection system that Figure 1 shows that hardware fault of the present invention.The detection system 2 of this hardware fault is applied on an electronic installation 1.This electronic installation 1 is provided with multiple hardware.This each hardware correspondence one is dispatched from the factory property value.This electronic installation 1 also comprises storage unit 20 and a processing unit 10.An initial SMBIOS(system management basic input output system is stored, system management Basic Input or Output System (BIOS) in this storage unit 20) file, it have recorded the property value that dispatches from the factory of each hardware on electronic installation.In present embodiment, this hardware can be CPU, storer, hard disk etc.The property value that dispatches from the factory of this CPU can be the magnitude of voltage, frequency values, kernel information, producer etc. of CPU.The property value that dispatches from the factory of this storer can be memory function, storage size etc.The property value that dispatches from the factory of this hard disk can be the size, producer etc. of hard disk.
This detection system includes several modules, and these several modules are processed performed by unit 10.In present embodiment, these several modules include acquisition module 101, creation module 102, comparing module 103 and output module 104.
The restart indication that this acquisition module 101 receives for responding electronic installation 1, the current property value of each hardware during acquisition electronic installation 1 restarts.This restart indication for perform user to this electronic installation 1 restart/open operation time produce.This creation module 102 for creating a current SMBIOS file based on the current property value of each hardware got, wherein, record in this SMBIOS file electronic installation 1 restart in the current property value of each hardware.Whether this comparing module 103 is consistent with the property value that dispatches from the factory of each hardware in initial SMBIOS file for the property value that each hardware in the current SMBIOS file of comparison is current.In other embodiments, the property value that dispatches from the factory of this each hardware also can be between an attribute area, and whether this comparing module 103 can be used for the property value that in the current SMBIOS file of comparison, each hardware is current and fall in the attribute area of corresponding hardware.This output module 104 in current SMBIOS file, have hardware current property value with when in initial SMBIOS file, the property value that dispatches from the factory of corresponding hardware is inconsistent, export an error listing, wherein, record hardware current property value and hardware in this error listing to dispatch from the factory the current property value of the inconsistent hardware names of property value and hardware and the property value that dispatches from the factory.In other embodiments, when this output module 104 does not fall in corresponding hardware attributes interval for the property value having hardware current in current SMBIOS file, export an error listing, wherein, record hardware current property value and hardware in this error listing to dispatch from the factory the current property value of the inconsistent hardware names of property value and hardware and the property value that dispatches from the factory.
Further, these several modules also include interrupt module 105.This interrupt module 105 in current SMBIOS file, have hardware current property value with when in initial SMBIOS file, the property value that dispatches from the factory of corresponding hardware is inconsistent, interrupt the Booting sequence of electronic installation 1.
Further, these several modules also include number of times determination module 106 and command generation module 107.When this number of times determination module 106 is consistent for the property value that dispatches from the factory of property value that each hardware in current SMBIOS file the is current hardware corresponding to initial SMBIOS file, determine that electronic installation receives the number of times of restart indication continuously.For comparison, this comparing module 103 also determines whether the number of times receiving restart indication is less than a preset times.When this command generation module 107 is also for being less than this preset times at the number of times determining to receive restart indication, produce a restart indication in electronic installation.When this output module 104 is also for equaling this preset times at the number of times determining to receive restart indication, export hardware non-fault information.
Further, these several modules also include memory module 108.This creation module 102, also for responding a user operation, creates the SMBIOS file that this is initial.This memory module 108 for the initial SMBIOS file of storage creation in storage unit 20.
Figure 2 shows that the detection method process flow diagram of hardware fault of the present invention.
Step S201, this acquisition module 101 responds electronic installation 1 and receives a restart indication, the current property value of each hardware during acquisition electronic installation 1 restarts.
Step S202, this creation module 102 creates a current SMBIOS file based on the current property value of each hardware got, wherein, record in this SMBIOS file electronic installation 1 restart in the current property value of each hardware.
Step S203, whether the property value that in the SMBIOS file that this comparing module 103 comparison is current, each hardware is current is consistent with the property value that dispatches from the factory of each hardware in initial SMBIOS file.
Step S204, the property value having hardware current in current SMBIOS file is with when in initial SMBIOS file, the property value that dispatches from the factory of corresponding hardware is inconsistent, this output module 104 exports an error listing, records hardware current property value and hardware and dispatch from the factory the current property value of the inconsistent hardware names of property value and hardware and the property value that dispatches from the factory in this error listing.
Step S205, the property value that each hardware is current in current SMBIOS file is with when in initial SMBIOS file, the property value that dispatches from the factory of each hardware is consistent, and this number of times determination module 106 determines that electronic installation 1 connects the number of times receiving restart indication.
Step S206, this comparing module 103 comparison determines whether the number of times receiving restart indication is less than a preset times.
Step S207, when the number of times determining to receive restart indication is less than this preset times, this command generation module 107 produces a restart indication in electronic installation 1.
Step S208, when the number of times determining to receive restart indication equals this preset times, this output module 104 exports the trouble-free information of a hardware.
Further, this detection method is further comprising the steps of: this creation module 102 responds a user operation, creates the SMBIOS file that this is initial.The initial SMBIOS file of this memory module 108 storage creation is in storage unit 20.
Claims (12)
1. the detection system of a hardware fault, this detection system runs on an electronic installation, this electronic installation is provided with multiple hardware, each hardware correspondence one is dispatched from the factory property value, this electronic installation also comprises a storage unit, store an initial SMBIOS file in this storage unit, it have recorded the property value that dispatches from the factory of each hardware on electronic installation, it is characterized in that: this detection system includes:
Acquisition module, for responding the restart indication that electronic installation receives, the current property value of each hardware during acquisition electronic installation restarts;
Creation module, for creating a current SMBIOS file based on the current property value of each hardware got, wherein, record in this current SMBIOS file electronic installation restart in the current property value of each hardware;
Comparing module, whether the property value current for each hardware in the SMBIOS file that comparison is current be consistent with the property value that dispatches from the factory of each hardware in initial SMBIOS file; And
Output module, for in current SMBIOS file, have hardware current property value with when in initial SMBIOS file, the property value that dispatches from the factory of corresponding hardware is inconsistent, export an error listing, wherein, record hardware current property value and hardware in this error listing to dispatch from the factory the current property value of the inconsistent hardware names of property value and hardware and the property value that dispatches from the factory.
2. the detection system of hardware fault as claimed in claim 1, is characterized in that: this detection system also includes:
Interrupt module, in current SMBIOS file, have hardware current property value with when in initial SMBIOS file, the property value that dispatches from the factory of corresponding hardware is inconsistent, interrupt the Booting sequence of electronic installation.
3. the detection system of hardware fault as claimed in claim 1, is characterized in that: this detection system also includes:
Number of times determination module, for the current property value of each hardware in current SMBIOS file with when the property value that dispatches from the factory of each hardware is consistent in initial SMBIOS file, determines that electronic installation receives the number of times of restart indication continuously;
For comparison, comparing module, also determines whether the number of times receiving restart indication is less than a preset times; And
Command generation module, during for being less than this preset times at the number of times determining to receive restart indication, produces a restart indication in electronic installation.
4. the detection system of hardware fault as claimed in claim 1, it is characterized in that: this creation module is also for responding a user operation, create the SMBIOS file that this is initial, this detection system also comprises a memory module, and this memory module is used for the initial SMBIOS file of storage creation in storage unit.
5. one kind has the electronic installation of hardware failure detection function, this electronic installation is provided with multiple hardware, each hardware correspondence one is dispatched from the factory property value, it is characterized in that: this electronic installation comprises a storage unit and a processing unit, an initial SMBIOS file is stored in this storage unit, it have recorded the property value that dispatches from the factory of each hardware on electronic installation, the restart indication that this processing unit receives for responding electronic installation, the current property value of each hardware during acquisition electronic installation restarts, current property value based on each hardware got creates a current SMBIOS file, wherein, record in this current SMBIOS file electronic installation restart in the current property value of each hardware, whether the property value that in the SMBIOS file that comparison is current, each hardware is current is consistent with the property value that dispatches from the factory of each hardware in initial SMBIOS file, and the property value having hardware current in current SMBIOS file is with when in initial SMBIOS file, the property value that dispatches from the factory of corresponding hardware is inconsistent, export an error listing, wherein, record hardware current property value and hardware in this error listing to dispatch from the factory the current property value of the inconsistent hardware names of property value and hardware and the property value that dispatches from the factory.
6. there is the electronic installation of hardware failure detection function as claimed in claim 5, it is characterized in that: this processing unit also in current SMBIOS file, have hardware current property value with when in initial SMBIOS file, the property value that dispatches from the factory of corresponding hardware is inconsistent, interrupt the Booting sequence of electronic installation.
7. there is the electronic installation of hardware failure detection function as claimed in claim 5, it is characterized in that: this processing unit also for the current property value of each hardware in current SMBIOS file with when in initial SMBIOS file, the property value that dispatches from the factory of each hardware is consistent, determine that electronic installation receives the number of times of restart indication continuously, comparison determines whether the number of times receiving restart indication is less than a preset times, and when the number of times determining to receive restart indication is less than this preset times, produce a restart indication in electronic installation.
8. there is the electronic installation of hardware failure detection function as claimed in claim 5, it is characterized in that: this processing unit, also for responding a user operation, creates the SMBIOS file that this is initial, and the initial SMBIOS file of storage creation is in storage unit.
9. the detection method of a hardware fault, this detection method runs on an electronic installation, this electronic installation is provided with multiple hardware, each hardware correspondence one is dispatched from the factory property value, this electronic installation also comprises a storage unit, store an initial SMBIOS file in this storage unit, it have recorded the property value that dispatches from the factory of each hardware on electronic installation, it is characterized in that: this detection method comprises the following steps:
The restart indication that response electronic installation receives, the current property value of each hardware during acquisition electronic installation restarts;
Current property value based on each hardware got creates a current SMBIOS file, wherein, record in this current SMBIOS file electronic installation restart in the current property value of each hardware;
Whether the property value that in the SMBIOS file that comparison is current, each hardware is current is consistent with the property value that dispatches from the factory of each hardware in initial SMBIOS file; And
The property value having hardware current in current SMBIOS file is with when in initial SMBIOS file, the property value that dispatches from the factory of corresponding hardware is inconsistent, export an error listing, wherein, record hardware current property value and hardware in this error listing to dispatch from the factory the current property value of the inconsistent hardware names of property value and hardware and the property value that dispatches from the factory.
10. the detection method of hardware fault as claimed in claim 9, is characterized in that: this detection method is further comprising the steps of:
The property value having hardware current in current SMBIOS file, with when the property value that dispatches from the factory of corresponding hardware is inconsistent in initial SMBIOS file, interrupts the Booting sequence of electronic installation.
The detection method of 11. hardware faults as claimed in claim 9, is characterized in that: this detection method is further comprising the steps of:
The property value that each hardware is current in current SMBIOS file, with when the property value that dispatches from the factory of each hardware is consistent in initial SMBIOS file, determines that electronic installation receives the number of times of restart indication continuously;
Comparison determines whether the number of times receiving restart indication is less than a preset times; And
When the number of times determining to receive restart indication is less than this preset times, produce a restart indication in electronic installation.
The detection method of 12. hardware faults as claimed in claim 9, is characterized in that: this detection method is further comprising the steps of:
Respond a user operation, create the SMBIOS file that this is initial; And
The initial SMBIOS file of storage creation is in storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310529777.2A CN104598340A (en) | 2013-11-01 | 2013-11-01 | Detection system of hardware faults, electronic device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310529777.2A CN104598340A (en) | 2013-11-01 | 2013-11-01 | Detection system of hardware faults, electronic device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104598340A true CN104598340A (en) | 2015-05-06 |
Family
ID=53124154
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310529777.2A Pending CN104598340A (en) | 2013-11-01 | 2013-11-01 | Detection system of hardware faults, electronic device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104598340A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354595A (en) * | 2016-08-29 | 2017-01-25 | 北京元心科技有限公司 | Mobile terminal, hardware component state detection method and device |
CN106815102A (en) * | 2016-11-29 | 2017-06-09 | 北海高创电子信息孵化器有限公司 | A kind of Computer Hardware Malfunctions detecting system |
CN107273121A (en) * | 2017-06-07 | 2017-10-20 | 联想(北京)有限公司 | Management method and device that a kind of smart machine is restarted |
CN107295142A (en) * | 2017-07-25 | 2017-10-24 | 北京小米移动软件有限公司 | terminal processing method, device and server |
CN109496299A (en) * | 2016-12-30 | 2019-03-19 | 深圳配天智能技术研究院有限公司 | A kind of power-off protection method, device and computer |
CN111176893A (en) * | 2019-12-24 | 2020-05-19 | 航天信息股份有限公司 | Computer remote control method, device, system and storage medium |
CN113220496A (en) * | 2021-05-27 | 2021-08-06 | 山东英信计算机技术有限公司 | Method, system and state machine for detecting abnormal IPMI command interaction times between BIOS and BMC |
-
2013
- 2013-11-01 CN CN201310529777.2A patent/CN104598340A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106354595A (en) * | 2016-08-29 | 2017-01-25 | 北京元心科技有限公司 | Mobile terminal, hardware component state detection method and device |
CN106354595B (en) * | 2016-08-29 | 2020-01-10 | 北京元心科技有限公司 | Mobile terminal, hardware component state detection method and device |
CN106815102A (en) * | 2016-11-29 | 2017-06-09 | 北海高创电子信息孵化器有限公司 | A kind of Computer Hardware Malfunctions detecting system |
CN109496299A (en) * | 2016-12-30 | 2019-03-19 | 深圳配天智能技术研究院有限公司 | A kind of power-off protection method, device and computer |
CN107273121A (en) * | 2017-06-07 | 2017-10-20 | 联想(北京)有限公司 | Management method and device that a kind of smart machine is restarted |
CN107273121B (en) * | 2017-06-07 | 2021-07-16 | 联想(北京)有限公司 | Management method and device for restarting intelligent equipment |
CN107295142A (en) * | 2017-07-25 | 2017-10-24 | 北京小米移动软件有限公司 | terminal processing method, device and server |
CN111176893A (en) * | 2019-12-24 | 2020-05-19 | 航天信息股份有限公司 | Computer remote control method, device, system and storage medium |
CN113220496A (en) * | 2021-05-27 | 2021-08-06 | 山东英信计算机技术有限公司 | Method, system and state machine for detecting abnormal IPMI command interaction times between BIOS and BMC |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104598340A (en) | Detection system of hardware faults, electronic device and method | |
CN113931258B (en) | Self-diagnosis method and non-negative pressure-superposed water supply equipment | |
US20130166243A1 (en) | Test device and method for testing stability of electronic devices | |
US20150074467A1 (en) | Method and System for Predicting Storage Device Failures | |
CN104424084A (en) | System error information detection system and method for server | |
CN112732477B (en) | Method for fault isolation by out-of-band self-checking | |
CN107025224B (en) | Method and equipment for monitoring task operation | |
CN104317712A (en) | Linux-based storage server fatigue testing method | |
US20120254662A1 (en) | Automated test system and automated test method | |
CN114168222B (en) | Method and device for acquiring time consumption during starting, terminal equipment and storage medium | |
US20150066432A1 (en) | Computing device and method for managing warning information of the computing device | |
CN103984634A (en) | Memory unsteady state pressure test method of LINUX server | |
WO2015131643A1 (en) | Software detection method and device | |
US11188449B2 (en) | Automated exception resolution during a software development session based on previous exception encounters | |
US9791911B2 (en) | Determining whether a change in power usage is abnormal when power usage exceeds a threshold based on additional metrics of components in an electronic device | |
CN107220183B (en) | Test method and system for setting event log of server BMC (baseboard management controller) | |
CN105159810B (en) | The method and device that the BIOS of computer system is tested | |
CN112231403A (en) | Consistency checking method, device, equipment and storage medium for data synchronization | |
US20130234699A1 (en) | Power supply monitoring system and method thereof | |
CN104503881A (en) | Handheld device power consumption detecting method and device and handheld device | |
CN109634796A (en) | A kind of method for diagnosing faults of computer, apparatus and system | |
CN115185313A (en) | Trend tracking early warning method and device for bearing bush temperature of hydroelectric generating set | |
CN105242880A (en) | Method for automatically creating Raid and executing pressure testing | |
CN114817010A (en) | Python-based Redfish automatic testing method and device | |
CN103383647A (en) | Computer hardware configuration information acquiring system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150506 |