CN110471807A - Hardware fault detection method, system, storage medium and integrated machine equipment - Google Patents
Hardware fault detection method, system, storage medium and integrated machine equipment Download PDFInfo
- Publication number
- CN110471807A CN110471807A CN201910679772.5A CN201910679772A CN110471807A CN 110471807 A CN110471807 A CN 110471807A CN 201910679772 A CN201910679772 A CN 201910679772A CN 110471807 A CN110471807 A CN 110471807A
- Authority
- CN
- China
- Prior art keywords
- hardware
- mainboard
- fault
- fault detection
- failure
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of hardware fault detection method of integrated machine equipment, system, storage medium and integrated machine equipments, it connect the method comprise the steps that the mainboard is based on the hardware failure detection interface with fault detection platelet, and is communicated based on I2C bus and the fault detection platelet;The fault detection platelet judges the correspondence hardware module with the presence or absence of failure by corresponding to hardware module pin state in the detection mainboard;When detection is there are when failure, the fault detection platelet is sent to the mainboard based on the hardware fault information that I2C bus will test;The all hardware fault message received is copied on external storage equipment by the mainboard.In embodiments of the present invention, can quickly detect is hardware fault problem in integrated machine equipment, reduces human cost, and user is facilitated to check fault message.
Description
Technical field
The present invention relates to all-in-one machine technical field more particularly to a kind of hardware fault detection method of integrated machine equipment, it is
System, storage medium and integrated machine equipment.
Background technique
Education at present/meeting all-in-one machine hardware capability is complex, once hardware mainboard goes wrong, mainboard repairs people
Member's on-site maintenance is more time-consuming, and is also required to highly professional personnel and can just analyze corresponding hardware problem, and carries out
Maintenance expends time and manpower processing;In addition, artificial detection also inevitably will appear the problem of failure test leakage goes out.
Summary of the invention
It is an object of the invention to overcome the deficiencies in the prior art, and the present invention provides a kind of events of the hardware of integrated machine equipment
Hinder detection method, system, storage medium and integrated machine equipment, can quickly detect is that hardware fault in integrated machine equipment is asked
Topic reduces human cost, and user is facilitated to check fault message.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of hardware failure detection sides of integrated machine equipment
Method, hardware failure detection interface is added on the mainboard of the integrated machine equipment, and the hardware failure detection interface contains described
The pin detected needed for each hardware module for needing to detect failure is corresponding on mainboard;The described method includes:
The mainboard is based on the hardware failure detection interface and connect with fault detection platelet, and is based on I2C bus and institute
State the communication of fault detection platelet;
The fault detection platelet judges that the correspondence is hard by corresponding to hardware module pin state in the detection mainboard
Part module whether there is failure;
When there are the hardware fault information hairs that when failure, the fault detection platelet will test based on I2C bus for detection
Give the mainboard;
The all hardware fault message received is copied on external storage equipment by the mainboard.
Optionally, the mainboard is connect based on the hardware failure detection interface with fault detection platelet, and total based on I2C
Line and the fault detection platelet communicate, comprising:
Hardware failure detection interface level signal described in the mainboard real-time monitoring, when the hardware failure detection interface
When level signal is in high level, recognizes the mainboard and be based on the hardware failure detection interface and fault detection platelet company
It connects, and is communicated based on I2C bus and the fault detection platelet.
Optionally, the corresponding hardware module include: drive control, it is backlight switch, OPS control circuit, light sensation module, outer
If touching box, wifi module and keypad.
Optionally, the fault detection platelet judges this by corresponding to hardware module pin state in the detection mainboard
Corresponding hardware module whether there is failure, comprising:
Whether the fault detection platelet is by detecting the pin output voltage of drive control in the mainboard in default electricity
Pressure value judges the drive control with the presence or absence of failure;
Whether the fault detection platelet is pre- first by the pin level signal for detecting backlight switch in the mainboard
If level signal value judges the backlight switch with the presence or absence of failure;
The part electricity that the fault detection platelet is controlled by detecting the corresponding control IO of OPS control circuit in the mainboard
The output-voltage levels signal on road whether the second predetermined level signal value come judge the OPS control circuit with the presence or absence of therefore
Barrier;
The fault detection platelet judges the light sensation module by carrying out I2C communication with light sensation module in the mainboard
With the presence or absence of failure;
The fault detection platelet is by the level signal of the power supply control IO of the detection peripheral hardware touching box to judge
When stating peripheral hardware touching box and can't detect the peripheral hardware touching box with the presence or absence of failure and the mainboard, fault message is returned to extremely
The fault detection platelet;
The fault detection platelet is described to judge by the level signal for detecting the power supply control IO of the wifi module
When wifi module can't detect the wifi module with the presence or absence of failure and the mainboard, fault message is returned to the event
Barrier detection platelet;
The fault detection platelet judges by the way that whether the supply voltage for detecting the keypad is normal output voltage
The keypad whether there is failure.
Optionally, the hardware fault information is the error code information of the circuit output of hardware fault, wherein the mistake
Accidentally code information includes the code and corresponding fault type of faulty hardware.
Optionally, all hardware fault message received is copied on external storage equipment by the mainboard, comprising:
The mainboard stores the hardware fault information received into hardware_error.txt file;
After the fault detection platelet is completed to whole hardware detections in the mainboard, hardware_ will be stored in
All fault messages in error.txt file are copied to external storage equipment.
Optionally, the external storage equipment is connect based on USB interface with the mainboard;Wherein, the external storage is set
Standby includes USB flash disk and mobile hard disk.
In addition, the embodiment of the invention also provides a kind of hardware failure detection system of integrated machine equipment, the all-in-one machine
Hardware failure detection interface is added on the mainboard of equipment, the hardware failure detection interface contains each needs on the mainboard
Detect the corresponding required pin detected of hardware module of failure;The system comprises:
Connecting communication module: being based on the hardware failure detection interface for the mainboard and connect with fault detection platelet,
And it is communicated based on I2C bus and the fault detection platelet;
Fault detection judgment module: drawn for the fault detection platelet by corresponding to hardware module in the detection mainboard
Feet state judges the correspondence hardware module with the presence or absence of failure;
Fault message sending module: for when detection is there are when failure, the fault detection platelet, which to be based on I2C bus, to be examined
The hardware fault information measured is sent to the mainboard;
Fault message copies module: all hardware fault message received being copied to external storage for the mainboard
In equipment.
In addition, it is stored thereon with computer program the embodiment of the invention also provides a kind of computer readable storage medium,
The program realized when being executed by processor it is any one of above-mentioned described in hardware fault detection method.
In addition, the embodiment of the invention also provides a kind of integrated machine equipments comprising:
Hardware failure detection interface, USB interface and the fault detection platelet added on mainboard, the mainboard, wherein described
Mainboard is based on the hardware failure detection interface and connect with the fault detection platelet, the mainboard based on the USB interface and
External storage equipment connection;The integrated machine equipment be configurable for executing it is any one of above-mentioned described in hardware fault inspection
Survey method.
In embodiments of the present invention, it by adding a hardware failure detection interface in the mainboard of integrated machine equipment, is used for
The connection of fault detection platelet and the direct interface channel of mainboard, can quickly detect is that hardware fault in integrated machine equipment is asked
Topic reduces human cost;And fault message is copied to external storage equipment by USB interface by mainboard, and user is facilitated to check event
Hinder the corresponding motherboard hardware problem of validation of information.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it is clear that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of the hardware fault detection method of the integrated machine equipment in the embodiment of the present invention;
Fig. 2 is the structure composition schematic diagram of the hardware failure detection system of the integrated machine equipment in the embodiment of the present invention;
Fig. 3 is the structure composition schematic diagram of the integrated machine equipment in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts all other
Embodiment shall fall within the protection scope of the present invention.
Embodiment
Referring to Fig. 1, Fig. 1 is the process signal of the hardware fault detection method of the integrated machine equipment in the embodiment of the present invention
Figure.
As shown in Figure 1, a kind of hardware fault detection method of integrated machine equipment, added on the mainboard of the integrated machine equipment
Hardware failure detection interface, the hardware failure detection interface contain each hardware mould for needing to detect failure on the mainboard
The pin detected needed for block is corresponding;Contain detection needed for each hardware module for needing to detect failure is corresponding on the mainboard
Pin;
Specifically, adding hardware failure detection interface in the mainboard on the integrated machine equipment, this sets hardware failure detection
Interface be used for grafting fault detection platelet, and this sets hardware failure detection interface to contain each needs detection on mainboard former
The pin detected needed for the hardware module of barrier is corresponding conveniently connects for being connected with each hardware module for needing to detect failure
The fault detection platelet entered is detected.
Wherein, these hardware modules include being not limited to drive control, backlight switch, OPS control circuit and light sensation module;
Hardware failure detection interface is connected by pin with these modules.
The described method includes:
S11: the mainboard is based on the hardware failure detection interface and connect with fault detection platelet, and is based on I2C bus
It is communicated with the fault detection platelet;
In specific implementation process of the present invention, the mainboard is based on the hardware failure detection interface and fault detection platelet
Connection, and communicated based on I2C bus and the fault detection platelet, comprising: the inspection of hardware fault described in the mainboard real-time monitoring
It surveys interface level signal and recognizes the mainboard base when the level signal of the hardware failure detection interface is in high level
It connect in the hardware failure detection interface with fault detection platelet, and is communicated based on I2C bus and the fault detection platelet.
Specifically, had additional on mainboard in all-in-one machine hardware failure detection interface for the grafting of fault detection platelet with
Mainboard connection, after integrated machine equipment energization, i.e., after mainboard powers on booting, mainboard is connect by the real-time monitoring hardware failure detection
Mouthful level signal judge it is by access fault detection platelet;When the level signal of detecting/monitoring to the fault detection interface is height
When level, that is, it is judged as that recognizing the mainboard is connected based on the hardware failure detection interface with fault detection platelet, is otherwise known
It is not connected;After recognizing connection, communicated by I2C bus and the fault detection platelet, wherein I2C
(Inter-Integrated Circuit, twin wire universal serial bus).
S12: the fault detection platelet judges that this is right by corresponding to hardware module pin state in the detection mainboard
Answer hardware module with the presence or absence of failure;
In specific implementation process of the present invention, the corresponding hardware module includes: drive control, backlight switch, OPS control
Circuit, light sensation module, peripheral hardware touching box, wifi module and keypad.
Further, the fault detection platelet is judged by corresponding to hardware module pin state in the detection mainboard
The correspondence hardware module whether there is failure, comprising: the fault detection platelet is by detecting drive control in the mainboard
Whether pin output voltage in preset voltage value judges the drive control with the presence or absence of failure;The fault detection platelet is logical
It crosses and detects the pin level signal of backlight switch in the mainboard and whether in the first predetermined level signal value judge the backlight
Switch whether there is failure;The fault detection platelet is controlled by detecting the corresponding control IO of OPS control circuit in the mainboard
The output-voltage levels signal of the partial circuit of system whether in the second predetermined level signal value be to judge the OPS control circuit
It is no that there are failures;The fault detection platelet judges the light sensation by carrying out I2C communication with light sensation module in the mainboard
Module whether there is failure;The level signal that the fault detection platelet passes through the power supply control IO of the detection peripheral hardware touching box
To return to event when judging that the peripheral hardware touching box can't detect the peripheral hardware touching box with the presence or absence of failure and the mainboard
Hinder information to the fault detection platelet;The electricity that the fault detection platelet passes through the power supply control IO of the detection wifi module
Ordinary mail number when judging that the wifi module can't detect the wifi module with the presence or absence of failure and the mainboard, returns
Fault message is to the fault detection platelet;The fault detection platelet by detect the keypad supply voltage whether be
Normal output voltage judges the keypad with the presence or absence of failure.
Specifically, the fault detection platelet is mainly to determine this by detecting the state on corresponding hardware module pin
Module whether there is failure, specifically include voltage output size, level signal height, whether normal and output voltage is for communication
The modes such as no exception are to determine whether exception;Specifically it is exemplified below:
When needing to judge whether drive control is abnormal, fault detection platelet is by detecting drawing for drive control in the mainboard
Whether foot output voltage in preset voltage value judges the drive control with the presence or absence of failure, which is 12V;When
Be detected as being judged as when 12V normal, when can't detect voltage or not in the range when, be confirmed as failure.
When need to detect backlight switch it is whether abnormal when, fault detection platelet is by detecting drawing for backlight switch in the mainboard
Foot level signal whether the first predetermined level signal value come judge the backlight switch with the presence or absence of failure, the first predetermined level letter
Number it is high level, when being detected as high level, is judged as normal, otherwise is judged as abnormal.
When need to detect OPS control circuit it is whether abnormal when, fault detection platelet is by detecting OPS control electricity in the mainboard
Whether the output-voltage levels signal of the partial circuit of the corresponding control IO control on road judges in the second predetermined level signal value
The OPS control circuit whether there is failure, wherein the second predetermined level signal is high level, when for high level, judgement is positive
Often, otherwise it is judged as abnormal.
When need to detect light sensation module it is whether abnormal when, fault detection platelet with light sensation module in the mainboard by carrying out
I2C communicates to judge the light sensation module with the presence or absence of failure;When that can be communicated, then it is judged as normal, otherwise is abnormal.
Peripheral hardware touching box: whether the power supply control IO level of detection peripheral hardware touching box is normal, and for example high level is then powered just
Often, secondly such as system detection then returns to fault message and is given to detection platelet less than touching box equipment;
Wifi module: whether the power supply control IO level for detecting wifi module is normal, and for example high level is then powered normal work
Make, secondly such as system detection then returns to fault message and be given to detection platelet less than wifi equipment;
Keypad: it is 5V that whether the supply voltage for detecting keypad, which normally exports, is detected when fault detection platelet passes through ADC
When to no-voltage, it is judged as failure.
When being judged as abnormal, fault message is exported accordingly.
S13: when there are the hardware fault letters that when failure, the fault detection platelet will test based on I2C bus for detection
Breath is sent to the mainboard;
In our specific implementation process, the hardware fault information is the error code letter of the circuit output of hardware fault
Breath, wherein the error code information includes the code and corresponding fault type of faulty hardware.
Specifically, when fault detection platelet has detected corresponding hardware failure, fault in production information, and should
The hardware fault information that fault message will test by I2C bus is sent to the mainboard.
The record of fault message is mainly as follows, and the corresponding circuit to break down has corresponding error code information output;Example
Such as: A1, A2 represent the circuit module to break down, the corresponding numerical value representing fault type of Error_code;Then have as follows:
A1:
Error_code:0x01;
A2:
Error_code:0x02。
S14: all hardware fault message received is copied on external storage equipment by the mainboard.
In specific implementation process of the present invention, all hardware fault message received is copied to external deposit by the mainboard
It stores up in equipment, comprising: the mainboard stores the hardware fault information received into hardware_error.txt file;In
After the fault detection platelet is completed to whole hardware detections in the mainboard, hardware_error.txt text will be stored in
All fault messages in part are copied to external storage equipment.
Further, the external storage equipment is connect based on USB interface with the mainboard;Wherein, the external storage
Equipment includes USB flash disk and mobile hard disk.
Specifically, mainboard after receiving hardware fault information, can store these hardware fault information to an event
Hinder message file: in hardware_error.txt file;After whole hardware fault infomation detections, these failures letter
Breath file can copy external storage equipment in hardware_error.txt file and be stored, so that maintenance personal looks into
See confirmation hardware fault problem;External storage equipment is connect based on the USB interface on mainboard with the mainboard;Wherein, this external is deposited
Storing up equipment includes USB flash disk and mobile hard disk etc..
In embodiments of the present invention, it by adding a hardware failure detection interface in the mainboard of integrated machine equipment, is used for
The connection of fault detection platelet and the direct interface channel of mainboard, can quickly detect is that hardware fault in integrated machine equipment is asked
Topic reduces human cost;And fault message is copied to external storage equipment by USB interface by mainboard, and user is facilitated to check event
Hinder the corresponding motherboard hardware problem of validation of information.
Embodiment
Referring to Fig. 2, Fig. 2 is the structure composition of the hardware failure detection system of the integrated machine equipment in the embodiment of the present invention
Schematic diagram.
As shown in Fig. 2, a kind of hardware failure detection system of integrated machine equipment, added on the mainboard of the integrated machine equipment
Hardware failure detection interface, the hardware failure detection interface contain each hardware mould for needing to detect failure on the mainboard
The pin detected needed for block is corresponding;
Specifically, adding hardware failure detection interface in the mainboard on the integrated machine equipment, this sets hardware failure detection
Interface be used for grafting fault detection platelet, and this sets hardware failure detection interface to contain each needs detection on mainboard former
The pin detected needed for the hardware module of barrier is corresponding conveniently connects for being connected with each hardware module for needing to detect failure
The fault detection platelet entered is detected.
Wherein, these hardware modules include being not limited to drive control, backlight switch, OPS control circuit and light sensation module;
Hardware failure detection interface is connected by pin with these modules.
The system comprises:
Connecting communication module 21: the hardware failure detection interface is based on for the mainboard and fault detection platelet connects
It connects, and is communicated based on I2C bus and the fault detection platelet;
In specific implementation process of the present invention, the mainboard is based on the hardware failure detection interface and fault detection platelet
Connection, and communicated based on I2C bus and the fault detection platelet, comprising: the inspection of hardware fault described in the mainboard real-time monitoring
It surveys interface level signal and recognizes the mainboard base when the level signal of the hardware failure detection interface is in high level
It connect in the hardware failure detection interface with fault detection platelet, and is communicated based on I2C bus and the fault detection platelet.
Specifically, had additional on mainboard in all-in-one machine hardware failure detection interface for the grafting of fault detection platelet with
Mainboard connection, after integrated machine equipment energization, i.e., after mainboard powers on booting, mainboard is connect by the real-time monitoring hardware failure detection
Mouthful level signal judge it is by access fault detection platelet;When the level signal of detecting/monitoring to the fault detection interface is height
When level, that is, it is judged as that recognizing the mainboard is connected based on the hardware failure detection interface with fault detection platelet, is otherwise known
It is not connected;After recognizing connection, communicated by I2C bus and the fault detection platelet, wherein I2C
(Inter-Integrated Circuit, twin wire universal serial bus).
Fault detection judgment module 22: hardware module is corresponded to by detecting in the mainboard for the fault detection platelet
Pin state judges the correspondence hardware module with the presence or absence of failure;
In specific implementation process of the present invention, the corresponding hardware module includes: drive control, backlight switch, OPS control
Circuit, light sensation module, peripheral hardware touching box, wifi module and keypad.
Further, the fault detection platelet is judged by corresponding to hardware module pin state in the detection mainboard
The correspondence hardware module whether there is failure, comprising: the fault detection platelet is by detecting drive control in the mainboard
Whether pin output voltage in preset voltage value judges the drive control with the presence or absence of failure;The fault detection platelet is logical
It crosses and detects the pin level signal of backlight switch in the mainboard and whether in the first predetermined level signal value judge the backlight
Switch whether there is failure;The fault detection platelet is controlled by detecting the corresponding control IO of OPS control circuit in the mainboard
The output-voltage levels signal of the partial circuit of system whether in the second predetermined level signal value be to judge the OPS control circuit
It is no that there are failures;The fault detection platelet judges the light sensation by carrying out I2C communication with light sensation module in the mainboard
Module whether there is failure;The level signal that the fault detection platelet passes through the power supply control IO of the detection peripheral hardware touching box
To return to event when judging that the peripheral hardware touching box can't detect the peripheral hardware touching box with the presence or absence of failure and the mainboard
Hinder information to the fault detection platelet;The electricity that the fault detection platelet passes through the power supply control IO of the detection wifi module
Ordinary mail number when judging that the wifi module can't detect the wifi module with the presence or absence of failure and the mainboard, returns
Fault message is to the fault detection platelet;The fault detection platelet by detect the keypad supply voltage whether be
Normal output voltage judges the keypad with the presence or absence of failure.
Specifically, the fault detection platelet is mainly to determine this by detecting the state on corresponding hardware module pin
Module whether there is failure, specifically include voltage output size, level signal height, whether normal and output voltage is for communication
The modes such as no exception are to determine whether exception;Specifically it is exemplified below:
When needing to judge whether drive control is abnormal, fault detection platelet is by detecting drawing for drive control in the mainboard
Whether foot output voltage in preset voltage value judges the drive control with the presence or absence of failure, which is 12V;When
Be detected as being judged as when 12V normal, when can't detect voltage or not in the range when, be confirmed as failure.
When need to detect backlight switch it is whether abnormal when, fault detection platelet is by detecting drawing for backlight switch in the mainboard
Foot level signal whether the first predetermined level signal value come judge the backlight switch with the presence or absence of failure, the first predetermined level letter
Number it is high level, when being detected as high level, is judged as normal, otherwise is judged as abnormal.
When need to detect OPS control circuit it is whether abnormal when, fault detection platelet is by detecting OPS control electricity in the mainboard
Whether the output-voltage levels signal of the partial circuit of the corresponding control IO control on road judges in the second predetermined level signal value
The OPS control circuit whether there is failure, wherein the second predetermined level signal is high level, when for high level, judgement is positive
Often, otherwise it is judged as abnormal.
When need to detect light sensation module it is whether abnormal when, fault detection platelet with light sensation module in the mainboard by carrying out
I2C communicates to judge the light sensation module with the presence or absence of failure;When that can be communicated, then it is judged as normal, otherwise is abnormal.
Peripheral hardware touching box: whether the power supply control IO level of detection peripheral hardware touching box is normal, and for example high level is then powered just
Often, secondly such as system detection then returns to fault message and is given to detection platelet less than touching box equipment;
Wifi module: whether the power supply control IO level for detecting wifi module is normal, and for example high level is then powered normal work
Make, secondly such as system detection then returns to fault message and be given to detection platelet less than wifi equipment;
Keypad: it is 5V that whether the supply voltage for detecting keypad, which normally exports, is detected when fault detection platelet passes through ADC
When to no-voltage, it is judged as failure.
When being judged as abnormal, fault message is exported accordingly.
Fault message sending module 23: for when detection is there are when failure, the fault detection platelet will based on I2C bus
The hardware fault information detected is sent to the mainboard;
In our specific implementation process, the hardware fault information is the error code letter of the circuit output of hardware fault
Breath, wherein the error code information includes the code and corresponding fault type of faulty hardware.
Specifically, when fault detection platelet has detected corresponding hardware failure, fault in production information, and should
The hardware fault information that fault message will test by I2C bus is sent to the mainboard.
The record of fault message is mainly as follows, and the corresponding circuit to break down has corresponding error code information output;Example
Such as: A1, A2 represent the circuit module to break down, the corresponding numerical value representing fault type of Error_code;Then have as follows:
A1:
Error_code:0x01;
A2:
Error_code:0x02。
Fault message copies module 24: all hardware fault message received being copied to external deposit for the mainboard
It stores up in equipment.
In specific implementation process of the present invention, all hardware fault message received is copied to external deposit by the mainboard
It stores up in equipment, comprising: the mainboard stores the hardware fault information received into hardware_error.txt file;In
After the fault detection platelet is completed to whole hardware detections in the mainboard, hardware_error.txt text will be stored in
All fault messages in part are copied to external storage equipment.
Further, the external storage equipment is connect based on USB interface with the mainboard;Wherein, the external storage
Equipment includes USB flash disk and mobile hard disk.
Specifically, mainboard after receiving hardware fault information, can store these hardware fault information to an event
Hinder message file: in hardware_error.txt file;After whole hardware fault infomation detections, these failures letter
Breath file can copy external storage equipment in hardware_error.txt file and be stored, so that maintenance personal looks into
See confirmation hardware fault problem;External storage equipment is connect based on the USB interface on mainboard with the mainboard;Wherein, this external is deposited
Storing up equipment includes USB flash disk and mobile hard disk etc..
In embodiments of the present invention, it by adding a hardware failure detection interface in the mainboard of integrated machine equipment, is used for
The connection of fault detection platelet and the direct interface channel of mainboard, can quickly detect is that hardware fault in integrated machine equipment is asked
Topic reduces human cost;And fault message is copied to external storage equipment by USB interface by mainboard, and user is facilitated to check event
Hinder the corresponding motherboard hardware problem of validation of information.
Embodiment
A kind of computer readable storage medium provided in an embodiment of the present invention stores on the computer readable storage medium
There is computer program, hardware fault detection method described in any one technical solution is realized when which is executed by processor.Its
In, the computer readable storage medium include but is not limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM,
And magneto-optic disk), ROM (Read-Only Memory, read-only memory), (RandomAcceSS Memory, stores RAM immediately
Device), EPROM (EraSableProgrammableRead-Only Memory, Erarable Programmable Read only Memory), EEPROM
(Electrically EraSableProgrammableRead-Only Memory, Electrically Erasable Programmable Read-Only Memory) is dodged
It deposits, magnetic card or light card.It is, storage equipment includes the shape by equipment (for example, computer, mobile phone) can read
Any medium of formula storage or transmission message can be read-only memory, disk or CD etc..
Referring to Fig. 3, Fig. 3 is the structure composition schematic diagram of the integrated machine equipment in the embodiment of the present invention.
As shown in figure 3, the embodiment of the invention also provides a kind of integrated machine equipments comprising:
Hardware failure detection interface 32, USB interface 34 and the fault detection platelet added on mainboard 31, the mainboard 31
33, wherein the mainboard 31 is based on the hardware failure detection interface 32 and connect with the fault detection platelet 33, the mainboard
It is connect based on the USB interface 34 with external storage equipment;The integrated machine equipment is configurable for executing any among the above
Hardware fault detection method described in one.
The above-mentioned integrated machine equipment provided is only one embodiment, is not constituted to the internal hardware of integrated machine equipment
Limitation, the hardware data that integrated machine equipment section includes according to specific actual conditions can be less than above-described embodiment or more
It is more.
A kind of integrated machine equipment provided in an embodiment of the present invention, it can be achieved that the hardware fault detection method of above-mentioned offer reality
Example is applied, specific function implementation process please consider and examine the explanation of the specific implementation method in above-described embodiment, and details are not described herein.
In embodiments of the present invention, it by adding a hardware failure detection interface in the mainboard of integrated machine equipment, is used for
The connection of fault detection platelet and the direct interface channel of mainboard, can quickly detect is that hardware fault in integrated machine equipment is asked
Topic reduces human cost;And fault message is copied to external storage equipment by USB interface by mainboard, and user is facilitated to check event
Hinder the corresponding motherboard hardware problem of validation of information.
In addition, be provided for the embodiments of the invention above a kind of hardware fault detection method of integrated machine equipment, system,
Storage medium and integrated machine equipment are described in detail, and should use specific case herein to the principle of the present invention and implementation
Mode is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile
For those of ordinary skill in the art, according to the thought of the present invention, has change in specific embodiments and applications
Become place, in conclusion the contents of this specification are not to be construed as limiting the invention.
Claims (10)
1. a kind of hardware fault detection method of integrated machine equipment, which is characterized in that added on the mainboard of the integrated machine equipment
Hardware failure detection interface, the hardware failure detection interface contain each hardware mould for needing to detect failure on the mainboard
The pin detected needed for block is corresponding;The described method includes:
The mainboard is based on the hardware failure detection interface and connect with fault detection platelet, and based on I2C bus and the event
Barrier detection platelet communication;
The fault detection platelet judges the correspondence hardware mould by corresponding to hardware module pin state in the detection mainboard
Block whether there is failure;
When detection is there are when failure, the fault detection platelet is sent to based on the hardware fault information that I2C bus will test
The mainboard;
The all hardware fault message received is copied on external storage equipment by the mainboard.
2. hardware fault detection method according to claim 1, which is characterized in that the mainboard is based on the hardware fault
Detection interface is connect with fault detection platelet, and is communicated based on I2C bus and the fault detection platelet, comprising:
Hardware failure detection interface level signal described in the mainboard real-time monitoring, when the level of the hardware failure detection interface
When signal is in high level, recognizes the mainboard and connect based on the hardware failure detection interface with fault detection platelet, and
It is communicated based on I2C bus and the fault detection platelet.
3. hardware fault detection method according to claim 1, which is characterized in that the corresponding hardware module includes: to drive
Dynamic control, backlight switch, OPS control circuit, light sensation module, peripheral hardware touching box, wifi module and keypad.
4. hardware fault detection method according to claim 3, which is characterized in that the fault detection platelet passes through detection
Hardware module pin state is corresponded in the mainboard to judge the correspondence hardware module with the presence or absence of failure, comprising:
Whether the fault detection platelet is by detecting the pin output voltage of drive control in the mainboard in preset voltage value
To judge the drive control with the presence or absence of failure;
Whether the fault detection platelet is by detecting the pin level signal of backlight switch in the mainboard in the first default electricity
Flat signal value judges the backlight switch with the presence or absence of failure;
The fault detection platelet is by detecting the partial circuit of the corresponding control IO control of OPS control circuit in the mainboard
Whether output-voltage levels signal in the second predetermined level signal value judges the OPS control circuit with the presence or absence of failure;
Whether the fault detection platelet judges the light sensation module by carrying out I2C communication with light sensation module in the mainboard
There are failures;
The fault detection platelet is described outer to judge by the level signal for detecting the power supply control IO of the peripheral hardware touching box
If touching box can't detect the peripheral hardware touching box with the presence or absence of failure and the mainboard, fault message is returned to described
Fault detection platelet;
The fault detection platelet judges the wifi by the level signal of the power supply control IO of the detection wifi module
When module can't detect the wifi module with the presence or absence of failure and the mainboard, returns to fault message to the failure and examine
Survey platelet;
Whether the fault detection platelet is that normal output voltage is described to judge by the supply voltage for detecting the keypad
Keypad whether there is failure.
5. hardware fault detection method according to claim 1, which is characterized in that the hardware fault information is hardware event
The error code information of the circuit output of barrier, wherein the error code information include faulty hardware code and it is corresponding therefore
Hinder type.
6. hardware fault detection method according to claim 1, which is characterized in that the mainboard is all hard by what is received
Part fault message is copied on external storage equipment, comprising:
The mainboard stores the hardware fault information received into hardware_error.txt file;
After the fault detection platelet is completed to whole hardware detections in the mainboard, hardware_ will be stored in
All fault messages in error.txt file are copied to external storage equipment.
7. hardware fault detection method according to claim 6, which is characterized in that the external storage equipment is based on USB
Interface is connect with the mainboard;Wherein, the external storage equipment includes USB flash disk and mobile hard disk.
8. a kind of hardware failure detection system of integrated machine equipment, which is characterized in that added on the mainboard of the integrated machine equipment
Hardware failure detection interface, the hardware failure detection interface contain each hardware mould for needing to detect failure on the mainboard
The pin detected needed for block is corresponding;The system comprises:
Connecting communication module: the hardware failure detection interface is based on for the mainboard and is connect with fault detection platelet, and base
It is communicated in I2C bus and the fault detection platelet;
Fault detection judgment module: hardware module pin shape is corresponded to by detecting in the mainboard for the fault detection platelet
State judges the correspondence hardware module with the presence or absence of failure;
Fault message sending module: for when detection is there are when failure, the fault detection platelet, which is based on I2C bus, to be will test
Hardware fault information be sent to the mainboard;
Fault message copies module: all hardware fault message received being copied to external storage equipment for the mainboard
On.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
Hardware fault detection method as claimed in any of claims 1 to 7 in one of claims is realized when row.
10. a kind of integrated machine equipment, characterized in that it comprises:
Hardware failure detection interface, USB interface and the fault detection platelet added on mainboard, the mainboard, wherein the mainboard
Connect based on the hardware failure detection interface with the fault detection platelet, the mainboard be based on the USB interface with it is external
Store equipment connection;The integrated machine equipment is configurable for perform claim and requires hardware event described in any one of 1-7
Hinder detection method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910679772.5A CN110471807A (en) | 2019-07-25 | 2019-07-25 | Hardware fault detection method, system, storage medium and integrated machine equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910679772.5A CN110471807A (en) | 2019-07-25 | 2019-07-25 | Hardware fault detection method, system, storage medium and integrated machine equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110471807A true CN110471807A (en) | 2019-11-19 |
Family
ID=68509577
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910679772.5A Pending CN110471807A (en) | 2019-07-25 | 2019-07-25 | Hardware fault detection method, system, storage medium and integrated machine equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110471807A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112948186A (en) * | 2019-12-11 | 2021-06-11 | 海信视像科技股份有限公司 | Detection device and detection method of interface signal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0028091A1 (en) * | 1979-10-18 | 1981-05-06 | Sperry Corporation | Fault detection in integrated circuit chips and in circuit cards and systems including such chips |
CN101969578A (en) * | 2010-09-17 | 2011-02-09 | 青岛海信电器股份有限公司 | Fault detection system and method as well as television |
CN102882187A (en) * | 2012-10-29 | 2013-01-16 | 金海新源电气江苏有限公司 | Photovoltaic inverter protection device and method based on CPLD (complex programmable logic device) |
CN103033228A (en) * | 2012-12-14 | 2013-04-10 | 中国电子科技集团公司第四十七研究所 | Two-line flow detection electronic device |
CN106199393A (en) * | 2016-07-04 | 2016-12-07 | 四川九洲电器集团有限责任公司 | A kind of fault test set and fault detection method |
-
2019
- 2019-07-25 CN CN201910679772.5A patent/CN110471807A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0028091A1 (en) * | 1979-10-18 | 1981-05-06 | Sperry Corporation | Fault detection in integrated circuit chips and in circuit cards and systems including such chips |
CN101969578A (en) * | 2010-09-17 | 2011-02-09 | 青岛海信电器股份有限公司 | Fault detection system and method as well as television |
CN102882187A (en) * | 2012-10-29 | 2013-01-16 | 金海新源电气江苏有限公司 | Photovoltaic inverter protection device and method based on CPLD (complex programmable logic device) |
CN103033228A (en) * | 2012-12-14 | 2013-04-10 | 中国电子科技集团公司第四十七研究所 | Two-line flow detection electronic device |
CN106199393A (en) * | 2016-07-04 | 2016-12-07 | 四川九洲电器集团有限责任公司 | A kind of fault test set and fault detection method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112948186A (en) * | 2019-12-11 | 2021-06-11 | 海信视像科技股份有限公司 | Detection device and detection method of interface signal |
CN112948186B (en) * | 2019-12-11 | 2022-11-11 | 海信视像科技股份有限公司 | Detection device and detection method of interface signal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108304299A (en) | Server power-up state monitors system and method, computer storage and equipment | |
CN107590040A (en) | A kind of hard disk backboard and computer installation, hard disk fault detection method and memory | |
CN104820156B (en) | A kind of Beam Detector and method | |
CN109298266A (en) | Test macro, test method, test device and storage medium | |
CN109032888A (en) | A kind of server start-up course fault detection method, device and controlled terminal | |
CN112527582A (en) | Detection method, detection device, detection equipment and storage medium of server cable | |
CN109783390A (en) | PSU firmware promotion and demotion stability test method, apparatus, terminal and storage medium | |
CN101494564B (en) | Apparatus for monitoring power supply and method for implementing veneer thermal backup | |
CN106022094A (en) | Outer network USB flash disk isolation detector which can be integrated to computer and detection method | |
CN110471807A (en) | Hardware fault detection method, system, storage medium and integrated machine equipment | |
CN106708675A (en) | Method for detecting faults before starting of computers | |
CN108304290A (en) | Server power-up state monitors system and method, computer storage and equipment | |
CN106324420B (en) | A kind of display fault detection method | |
CN108399116A (en) | A kind of server power-up state monitoring system and method | |
CN108361020A (en) | Underground drill rig diagnosis protective device and method based on virtual instrument | |
CN107132448A (en) | Recognition methods, device and system and the storage medium and processor of power supply wiring | |
CN116302755A (en) | PSU fault injection test method, system, device and readable storage medium | |
CN105975382A (en) | Hardware configuration change alarming method | |
CN109189638A (en) | A kind of GPU driving detection method, device, terminal and storage medium | |
CN101290748A (en) | Method and system for displaying status of system by LCD | |
CN114218001A (en) | Fault repairing method and device, electronic equipment and readable storage medium | |
CN114327968A (en) | Method and device for realizing early warning of server hardware fault telephone with universal interface | |
CN209282342U (en) | A kind of battery system and mobile terminal detecting state in place | |
CN209417619U (en) | A kind of fire fighting truck inspection register system | |
CN112596983A (en) | Monitoring method for connector in server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Room 238, room 406, No.1, Yichuang street, Huangpu District, Guangzhou, Guangdong 510000 Applicant after: Guangzhou langguo Electronic Technology Co.,Ltd. Address before: 510000 unit a and B, zone 02, 4th floor, No. 136, Gaopu Road, high tech Development Zone, Tianhe District, Guangzhou City, Guangdong Province Applicant before: GUANGZHOU LANGO ELECTRONIC SCIENCE & TECHNOLOGY Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191119 |