CN106708675A - Method for detecting faults before starting of computers - Google Patents

Method for detecting faults before starting of computers Download PDF

Info

Publication number
CN106708675A
CN106708675A CN201611018701.3A CN201611018701A CN106708675A CN 106708675 A CN106708675 A CN 106708675A CN 201611018701 A CN201611018701 A CN 201611018701A CN 106708675 A CN106708675 A CN 106708675A
Authority
CN
China
Prior art keywords
module
computer
fault detection
detection program
processing module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611018701.3A
Other languages
Chinese (zh)
Inventor
何新霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangxi University
Original Assignee
Guangxi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangxi University filed Critical Guangxi University
Priority to CN201611018701.3A priority Critical patent/CN106708675A/en
Publication of CN106708675A publication Critical patent/CN106708675A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/321Display for diagnostics, e.g. diagnostic result display, self-test user interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to the technical field of computers, in particular to a method for detecting faults before the starting of computers. According to the method, a processing module and a communication interface module, wherein the processing module is connected with a computer PCI bus through a communication interface; the processing is provided with a detection unit; the detection unit is configured with a fault detection program; the address of the fault detection program is same as a storage address of a basic input-output system of a to-be-detected computer system; after a power supply of the to-be-detected computer system is started, the fault detection program replaces functions of the basic input-output system of the to-be-detected computer system by the PCI bus through the communication control interface module; the fault detection program is started to send instruction to each component of the computer so as to carry out fault detection; the fault detection program returns fault codes after detecting faults; a storage module is provided to store the detected fault codes; and the storage module stores a computer fault processing solution.

Description

A kind of computer starting prior fault detection method
【Technical field】
The present invention relates to field of computer technology, more particularly, to a kind of computer starting prior fault detection method.
【Background technology】
Current computer has become breath of life in people's Working Life.However, computer unavoidably can at work Break down, due to the computer level existence difference of people, many people lack disposal ability to the failure of computer, so common use Family is faced often be felt simply helpless during computer glitch, and ask someone on-site maintenance or an electricity are generally required for computer idiot Brain is moved maintenance store to and is gone, and this is all part trouble.And sometimes computer is only a little glitch, user only needs to somewhat be carried Show the quick solve problem that can just suit the remedy to the case.Computer on startup, in order to be able to normal startup optimization, the computer after its electric power starting Can boot up self detection, master chip (BIOS) in mainboard can to the circuit of system, memory, video card, keyboard, hard disk, Each component such as floppy drive is tested, and shares hard-disk system configuration to the basic input-output equipment, the various buses that have configured Agreement etc. is initialized, and reboots operating system.Such as period breaks down, particularly hardware fault, and BIOS can control mainboard Buzzer call, and mechanical disorder reason is determined with the length of corresponding tweeting sound and the classification for piping number of times to point out failure.
Two kinds of the most frequently used BIOS (basic input output system) alarm sounds:Mainboard is with length for the BIOS of Aword The mode that minor is combined, mainboard is then that the mode that minor is combined points out guilty culprit for the BIOS of AMI.And for some calculating Machine is not started shooting failure, it is meant that computer program can not start or cannot be under the situation of operating system control, it is impossible to smoothly Carry out the computer system fault detection capability.
【The content of the invention】
In view of the foregoing, it is necessary to provide a kind of computer starting prior fault detection method so that system cannot be normal Start, it is impossible to when carrying out self-inspection, still malfunction elimination can be carried out to the computer system by the present invention.
The purpose of the present invention is achieved through the following technical solutions:
A kind of computer starting prior fault detection method, it is characterised in that comprise the following steps:
a:A processing module and a communication interface module are provided, the processing module passes through communication interface module and computer PCI Bus is connected, and the processing module is provided with a detection unit, and the detection unit is configured with fault detection program, the fault detection program Address is identical with the storage address of the basic input output system of computer system to be detected;
b:After after computer system electric power starting, the fault detection program is by communication control interface module through the pci bus Replace the function of the basic input output system of the computer system to be detected;The computer system is all via pci bus to the ground In the memory read/write cycle of location, controlled by the fault detection program;
c:Fault detection program starts carries out fault detect to the transmission instruction of computer all parts;
d:Fault detection program detects the return failure code that is out of order;
e:The processing module also includes a decoding unit, and the decoding unit is with decoding failure code;
f:There is provided a memory module to store detected failure code, the memory module is also stored with computer glitch Treatment solution;
g:A display module is provided, the display module is connected with processing module, processing module reads memory module and currently counts The solution processing method of calculation machine failure is transferred to display module, display module display current computer failure and treatment solution party Method.
Further, the fault detection program is intended for the executable program of hardware capability fault detect.
Further, the processing module also includes a buffer unit and a decoding unit, and buffer unit is used to cache The failure code of decoding, decoding unit is used to compile decoded failure code,
Further, the processing module also includes a display driver element, and the display driver element is used for basis and has translated The failure code of code drives the display module to show failure code.
Further, it is described that computer all parts are detected, including computer main board signaling module, cpu signal module, Memory bar signaling module, sound card signaling module, video card signaling module, floppy disk and hard disk signaling module carry out fault detect.
Further, the fault detect also includes findings that failure, and tracing trouble problem is excluded.
Further, the detection program is BIOS object codes to be detected.
Beneficial effect of the present invention:
1. processing module of the present invention is directly connected with computer PCI bus to be detected, no matter can not normally be opened in computer capacity It is dynamic to carry out or whether there is under operating system control situation, still fault detect can be carried out to computer, greatly convenient positioning Where computer glitch, to orient and can also show specific failure after guilty culprit and provide solution, greatly convenient maintenance Personnel are repaired, even ordinary person can also carry out simple fault exclusion according to testing result and prompting to computer.
2. the basic input output system of the fault detection program address of detection unit of the present invention and computer system to be detected Storage address it is identical, after computer power starting to be detected, the fault detection program is may replace the computer to be detected basic The function of input-output system, the computer system all memory read/write cycles via pci bus to the address, Controlled by the fault detection program, computer more comprehensively can be detected according to demand.
【Brief description of the drawings】
Fig. 1 is present pre-ferred embodiments structural representation.
Description of reference numerals:
1- communication interface modules;2- processing modules;3- memory modules;4- display modules;21- detection units;22- decodes mould Block;23- buffer units;24- decoding units;25- display driver elements.
【Specific embodiment】
As shown in figure 1, a kind of computer starting prior fault detection method, it is characterised in that comprise the following steps:
a:A processing module 2 and a communication interface module 1 are provided, the processing module 2 passes through communication interface module 1 and computer Pci bus are connected, and processing module 2 is electrical connected with communication interface module 1, and communication interface module 1 may be inserted into pci bus and connect Mouthful, the processing module 2 is provided with a detection unit 21, and the detection unit 21 is configured with fault detection program, the fault detection program Address is identical with the storage address of the basic input output system of computer system to be detected;
b:After after computer system electric power starting, the fault detection program is by communication control interface module 1 through the pci bus Replace the function of the basic input output system of the computer system to be detected;The computer system is all via pci bus to the ground In the memory read/write cycle of location, controlled by the fault detection program;When fault detect is performed, the fault detect journey Sequence can be after computer power starting to be detected, you can BIOS function of the substitution with computer system to be detected.
c:After the BIOS functions of replacing computer system to be detected, fault detection program starts to the transmission of computer all parts Instruction carries out fault detect;
d:Fault detection program detects that the backward processing module 2 that is out of order returns to failure code;
e:The processing module 2 also includes a decoding unit 22, the event that the decoding unit 22 is detected to fault detection program Barrier code is decoded;
f:A memory module 3 is provided to store detected failure code, 2 pairs of failure codes for detecting of processing module It is sent to memory module 3 to be stored, the memory module 3 is also previously stored with the fault detection program and can detect computer event The treatment solution of barrier, detection module can extract the data of memory module 3;
g:A display module 4 is provided, the display module 4 is connected with processing module 2, processing module 2 reads memory module and works as The solution processing method of preceding computer glitch is transferred to display module 4, and the display current computer failure of display module 4 and place understand Certainly method.
Further, the fault detection program is intended for the executable program of hardware capability fault detect.Detection Program is BIOS object codes to be detected.Processing module 2 also includes a buffer unit 23 and a decoding unit 24 with buffer unit 23 are used to cache decoded failure code, and decoding unit 24 is used to compile decoded failure code, and processing module 2 also includes One display driver element 25, display driver element 25 is used to drive the display module 4 to show event according to the failure code for having decoded Barrier code.There is a data to decode passage, a data to decode between decoding unit 24 and buffer unit 23 pending logical Road and a data decoding passage.Data to decode passage be used for transmitted from buffer unit 23 decoded, failure generation to be decoded Code arrives decoding unit 24, and data passage pending is used to send a data request pending to decoding unit 24 from buffer unit 23, To notify the failure code of decoding unit 24 to decode, it is to be decoded, pending.Decoding data passage is used to be transmitted from decoding unit 24 Decoding, the failure code of decoding return buffer unit 23.When being detected to computer all parts, including to computer main board signal Module, cpu signal module, memory bar signaling module, sound card signaling module, video card signaling module, floppy disk and hard disk signaling module Carry out fault detect.Fault detect also includes findings that failure, and carrying out investigation to tracing trouble problem is confirmed whether it is true fault, All failure codes are exported after complete detection.
There is a decoding data passage between the display driver element 25 of decoding unit 24 and a decoding data is pending logical Road.Decoding data passage be used to be transmitted from buffer unit 23 decoded, the failure code that decodes to display driver element 25.Decoding Data passage pending is used to transmit a data request pending to display driver element 25 from buffer unit 23, to notify that display is driven The failure code of moving cell 25 decoded, decoded, pending.Display driver element 25 receive decoded, after the failure code that decodes Drive signal is produced to drive display module 4 to show.
It is upper described, only it is presently preferred embodiments of the present invention, any formal limitation is not made to the present invention, although The present invention is disclosed as above with preferred embodiment, but is not limited to the present invention, and any those skilled in the art are not taking off In the range of technical solution of the present invention, when making a little change using the technology contents of the disclosure above or be modified to equivalent variations Equivalent embodiments, as long as being without departing from technical solution of the present invention content, according to technical spirit of the invention to above example Any brief introduction modification, equivalent variations and the modification made, still fall within the scope of technical solution of the present invention.

Claims (7)

1. a kind of computer starting prior fault detection method, it is characterised in that comprise the following steps:
a:A processing module and a communication interface module are provided, the processing module is by communication interface module and computer PCI bus It is connected, the processing module is provided with a detection unit, and the detection unit is configured with fault detection program, the fault detection program address Storage address with the basic input output system of computer system to be detected is identical;
b:After after computer system electric power starting, the fault detection program is replaced by communication control interface module through the pci bus The function of the basic input output system of the computer system to be detected;The computer system is all via pci bus to the address In the memory read/write cycle, controlled by the fault detection program;
c:Fault detection program starts carries out fault detect to the transmission instruction of computer all parts;
d:Fault detection program detects the return failure code that is out of order;
e:The processing module also includes a decoding unit, and the decoding unit is with decoding failure code;
f:There is provided a memory module to store detected failure code, the memory module is also stored with computer glitch treatment Solution;
g:A display module is provided, the display module is connected with processing module, processing module reads memory module current computer The solution processing method of failure is transferred to display module, display module display current computer failure and treatment solution.
2. computer starting prior fault detection method according to claim 1, it is characterised in that:The fault detection program is It is used as the executable program of hardware capability fault detect.
3. computer starting prior fault detection method according to claim 1, it is characterised in that:The processing module also includes One buffer unit and a decoding unit, buffer unit are used to cache decoded failure code, and decoding unit is used for compiling and has solved The failure code of code.
4. computer starting prior fault detection method according to claim 1, it is characterised in that:The processing module also includes One display driver element, the display driver element is used to drive the display module to show failure generation according to the failure code for having decoded Code.
5. computer starting prior fault detection method according to claim 1, it is characterised in that:It is described to computer all parts Detected, including computer main board signaling module, cpu signal module, memory bar signaling module, sound card signaling module, video card letter Number module, floppy disk and hard disk signaling module carry out fault detect.
6. computer starting prior fault detection method according to claim 1, it is characterised in that:The fault detect also includes It was found that failure, excludes to tracing trouble problem.
7. computer starting prior fault detection method according to claim 1, it is characterised in that:The detection program is to be checked The BIOS object codes of survey.
CN201611018701.3A 2016-11-18 2016-11-18 Method for detecting faults before starting of computers Pending CN106708675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611018701.3A CN106708675A (en) 2016-11-18 2016-11-18 Method for detecting faults before starting of computers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611018701.3A CN106708675A (en) 2016-11-18 2016-11-18 Method for detecting faults before starting of computers

Publications (1)

Publication Number Publication Date
CN106708675A true CN106708675A (en) 2017-05-24

Family

ID=58940923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611018701.3A Pending CN106708675A (en) 2016-11-18 2016-11-18 Method for detecting faults before starting of computers

Country Status (1)

Country Link
CN (1) CN106708675A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608834A (en) * 2017-08-17 2018-01-19 联想(北京)有限公司 Electronic equipment and information processing method
CN109240868A (en) * 2018-09-20 2019-01-18 贵州师范学院 A kind of computer glitch automatic checkout system and detection method
CN110008189A (en) * 2019-04-11 2019-07-12 苏州浪潮智能科技有限公司 A kind of automatic reporting method of file system error, device and equipment
CN111176170A (en) * 2019-12-31 2020-05-19 北京北方华创微电子装备有限公司 Starting method and device of semiconductor equipment control system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270164A (en) * 2010-06-01 2011-12-07 鸿富锦精密工业(深圳)有限公司 Fault diagnosis card of computer main board
CN103164301A (en) * 2011-12-15 2013-06-19 富泰华工业(深圳)有限公司 Portable detecting device and detecting method thereof
CN103678095A (en) * 2012-09-03 2014-03-26 鼎桥通信技术有限公司 Warning detection method
CN104035844A (en) * 2013-03-04 2014-09-10 联想(北京)有限公司 Fault testing method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270164A (en) * 2010-06-01 2011-12-07 鸿富锦精密工业(深圳)有限公司 Fault diagnosis card of computer main board
CN103164301A (en) * 2011-12-15 2013-06-19 富泰华工业(深圳)有限公司 Portable detecting device and detecting method thereof
CN103678095A (en) * 2012-09-03 2014-03-26 鼎桥通信技术有限公司 Warning detection method
CN104035844A (en) * 2013-03-04 2014-09-10 联想(北京)有限公司 Fault testing method and electronic device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608834A (en) * 2017-08-17 2018-01-19 联想(北京)有限公司 Electronic equipment and information processing method
CN109240868A (en) * 2018-09-20 2019-01-18 贵州师范学院 A kind of computer glitch automatic checkout system and detection method
CN110008189A (en) * 2019-04-11 2019-07-12 苏州浪潮智能科技有限公司 A kind of automatic reporting method of file system error, device and equipment
CN111176170A (en) * 2019-12-31 2020-05-19 北京北方华创微电子装备有限公司 Starting method and device of semiconductor equipment control system
CN111176170B (en) * 2019-12-31 2021-07-09 北京北方华创微电子装备有限公司 Starting method and device of semiconductor equipment control system

Similar Documents

Publication Publication Date Title
CN100472460C (en) Detection and display method and device for computer self-test information
CN109558282B (en) PCIE link detection method, system, electronic equipment and storage medium
CN106708675A (en) Method for detecting faults before starting of computers
CN101593139A (en) Mainboard failure diagnosis device and diagnostic method thereof
CN116107819A (en) Server start-up fault detection system, method, device and medium
CN101114249A (en) I2C bus testing apparatus of mainboard and method thereof
CN113506045A (en) Risk user identification method, device, equipment and medium based on mobile equipment
CN106557408A (en) A kind of computer fault alarm system and method
US9158646B2 (en) Abnormal information output system for a computer system
CN104063297A (en) Method and device capable of diagnosing computer hardware through USB interfaces
US20140317455A1 (en) Lpc bus detecting system and method
CN104424086B (en) Computer error detection module and method
CN105975382B (en) A kind of alarm method that hardware configuration changes
CN106815088A (en) server and its debugging method
CN108920331A (en) Alarm method for computer hardware configuration change
CN102681928A (en) Abnormal information output system of computer system
CN106598792A (en) Fault detection system of computer prior to booting
CN104035844A (en) Fault testing method and electronic device
TW200821823A (en) Remote monitor module for computer initialization
CN114924998B (en) Memory information reading device and method, computing device motherboard, device and medium
CN102479143A (en) Blade service system
CN115098342A (en) System log collection method, system, terminal and storage medium
CN101246445B (en) Substrate test interface and method thereof
US20220113979A1 (en) Storing post codes in electronic tags
US8510477B2 (en) Protocol resolution device and method employing the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170524

RJ01 Rejection of invention patent application after publication