CN108319530A - Diagnostic method, device, terminal and the medium of computer hardware - Google Patents

Diagnostic method, device, terminal and the medium of computer hardware Download PDF

Info

Publication number
CN108319530A
CN108319530A CN201810117721.9A CN201810117721A CN108319530A CN 108319530 A CN108319530 A CN 108319530A CN 201810117721 A CN201810117721 A CN 201810117721A CN 108319530 A CN108319530 A CN 108319530A
Authority
CN
China
Prior art keywords
computer
external storage
storage equipment
diagnostic
hardware
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
CN201810117721.9A
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.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information Technology Co Ltd
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 Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN201810117721.9A priority Critical patent/CN108319530A/en
Publication of CN108319530A publication Critical patent/CN108319530A/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/2205Detection 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/2221Detection 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 input/output devices or peripheral units
    • 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/2268Logging of test results
    • 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

Abstract

The invention discloses a kind of diagnostic method of computer hardware, device, terminal and media.The diagnostic method of the computer hardware of the present invention, including:The hardware device of diagnosis computer is to obtain diagnostic message;Detect the external storage equipment being connect with the I/O interfaces of computer;Judge whether external storage equipment is stored with and the matched information reading module of computer;In response to being judged as that diagnostic message is transmitted to external storage equipment with execution information read module with information reading module.Diagnostic method, device, terminal and the medium of the computer hardware of the present invention, it can be when obtaining the diagnostic message of computer, initiative recognition external storage equipment, and diagnostic message is stored in external storage equipment, so that diagnostic message is reproducible and can reuse, to improve the diagnosis efficiency of computer.

Description

Diagnostic method, device, terminal and the medium of computer hardware
Technical field
The present invention relates to field of computer technology more particularly to a kind of diagnostic method of computer hardware, device, terminal and Medium.
Background technology
In traditional computer industry, acquire a certain degree of difficulty for the diagnosis of computer hardware equipment.For example, counting During calculation machine product test, when test result shows computer hardware error message, computer will not generally directly display Go out the details of hardware problem.At this point, tester may determine the hardware problem of computer by two solutions: It is analyzed according to the anti-possibility for releasing hardware problem of the error code of Computer display or by dedicated testing host Hardware problem.
But above-mentioned existing solution has following problem:
First, it needs to spend again when analyzing hardware problem, may result in hardware problem by dedicated testing host Time replicates.Secondly, when tester pushes away hardware problem according to program code is counter, it will usually cause hardware problem to be difficult to again multiple System.In conclusion existing solution has the problem that diagnosis efficiency is relatively low and diagnostic reliability is relatively low.
Therefore, cause to examine since diagnostic message can not be replicated for the diagnostic method of existing computer hardware problem Disconnected less efficient problem, it is desirable to provide a kind of diagnostic method and device of the computer hardware problem that can carry diagnosis efficiency.
Invention content
To solve the above problems, the embodiment of the present invention provides a kind of diagnostic method of computer hardware, device, terminal and Jie Matter, can be when obtaining the diagnostic message of computer, initiative recognition external storage equipment, and diagnostic message is stored in external deposit It stores up in equipment, so that diagnostic message is reproducible and can reuse, to improve the diagnosis efficiency of computer.
To achieve the above object, an embodiment of the present invention provides a kind of diagnostic methods of computer hardware, including:
The hardware device of diagnosis computer is to obtain diagnostic message;
Detect the external storage equipment being connect with the I/O interfaces of computer;
Judge whether external storage equipment is stored with and the matched information reading module of computer;
In response to being judged as being transmitted to diagnostic message external with execution information read module with information reading module Storage device.
Further, after the external storage equipment that detection is connect with the I/O interfaces of computer, further include:
Determine whether external storage equipment is trusted device;
If external storage equipment is trusted device, it is matched with computer to judge whether external storage equipment is stored with Information reading module.
Further, it is determined that whether external storage equipment is that trusted device includes:
Obtain the second pairing file in the first pairing file and the computer in external storage equipment;
First pairing file is matched with the second pairing file, whether external storage equipment is determined according to matching result For trusted device.
Further, diagnostic message includes error code information and diagnostic result.
Further, hardware device includes at least one in BIOS, Ram, EC and CMOS, and I/O interfaces include USB interface, External storage equipment includes USB device.
The embodiment of the present invention additionally provides a kind of diagnostic device of computer hardware, including:
Hardware diagnostic module, the hardware device for diagnosis computer is to obtain diagnostic message;
Interface detection module, for detecting the external storage equipment being connect with the I/O interfaces of computer;
Data obtaining module reads mould for judging whether external storage equipment is stored with the matched information of computer Block;
Information storage module, for when data obtaining module judges that external storage equipment has information reading module, holding Row information read module, external storage equipment is transmitted to by diagnostic message.
Further, further include:
Equipment detection module, for determining whether external storage equipment is trusted device;If external storage equipment is Trusted device, judges whether external storage equipment is stored with and the matched information reading module of computer.
Further, diagnostic message includes error code information and diagnostic result, and the diagnostic device of computer hardware also wraps It includes:
Information display module, for showing error code information and its corresponding diagnostic result.
The embodiment of the present invention additionally provides a kind of terminal, and terminal includes processor, and processor is deposited for executing in memory The computer program of storage, the step of to realize the above method.
The embodiment of the present invention additionally provides a kind of computer storage media, is stored thereon with computer program, computer journey The step of above method is realized when sequence is executed by processor.
Diagnostic method, device, terminal and the medium of the computer hardware of the embodiment of the present invention can be diagnosed to be computer Hardware device diagnostic message after, whether active detecting has external storage equipment to be connect with computer, and judges external storage Equipment whether be stored with the matched information reading module of computer, it is outer to be sent to diagnostic message using information reading module Connect storage device storage.Therefore, the diagnostic method of the computer hardware of the embodiment of the present invention, device, terminal and medium, Neng Gou After the diagnostic message for getting the hardware device of computer, in time, quickly, efficiently and reliably preserve to external storage equipment, make Diagnostic message is reproducible and can reuse, and to improve the diagnosis efficiency of computer, and can reduce for computer The cost that is diagnosed of hardware device, to reduce the production cost of computer.
Description of the drawings
Fig. 1 is the flow diagram of the diagnostic method of the computer hardware of the embodiment of the present invention;
Fig. 2 is the particular flow sheet of the diagnostic method of the computer hardware of one embodiment of the invention;
Fig. 3 is the structural schematic diagram of the diagnostic device of the computer hardware of the embodiment of the present invention.
Specific implementation mode
In the following, in conjunction with attached drawing, structure and operation principle to the embodiment of the present invention etc. are further described.
For convenience after the hardware device of tester's debugging computer, its computer hardware diagnostic message is remembered Record, facilitates tester rapidly to replicate the idagnostic logout of the hardware device of computer, for the hardware device of other computers Diagnosis provide reference.As shown in Figure 1, a kind of diagnostic method of computer hardware of the embodiment of the present invention, including:
S1, diagnosis computer hardware device to obtain diagnostic message.
Wherein, hardware device is the hardware module or member that can be influenced the normal operation of computer system and use Part, for example, may include the BIOS (English names of computer:Basic Input Output System, Chinese:Substantially Input-output system), Ram (English names:Random-Access Memory, Chinese:Random access memory), EC (English name:Embed Controller, Chinese:Embedded controller) and CMOS (English names: Complementary Metal-Oxide-Semiconductor, Chinese:Complementary metal oxide semiconductor) in extremely It is one few.
After the hardware device of diagnosis computer, the diagnostic result of hardware device can be obtained, if diagnostic result sets for hardware It is standby to go wrong, then it can also obtain one or more corresponding error code information of diagnostic result, diagnostic result and mistake Code information constitutes the diagnostic message of the hardware device of computer.Meanwhile it can be shown and be diagnosed to tester by computer Information.
Specifically, error code information is computer to distinguish error type when its operation, and preset by its Judge after being handled with recognition methods, acquisition can make tester with it for the Serial No. according to inquiry particular problem And the simple declaration to the Serial No..
The external storage equipment that S2, detection are connect with the I/O interfaces of the computer.Specifically, when to the hard of computer After the completion of part device diagnostic, whether its I/O interface of computer initiative recognition has been connected with external storage equipment.Wherein, I/O connects Mouth may include USB interface, Typy-C interfaces etc., and external storage equipment includes USB device, mobile hard disk etc..If detecting Any one I/O interface of computer has been connected to external storage equipment, then can continue following step.
S3, judge whether external storage equipment is stored with and the matched information reading module of computer.
Wherein, information reading module can be the glue file being stored in external storage equipment, at computer Under diagnostic mode, reads diagnostic message and diagnostic message is stored in external storage equipment.
S4, in response to being judged as being transmitted to diagnostic message with execution information read module with information reading module External storage equipment.That is, when judging to be stored with described in step S3 in the external storage equipment connecting with the I/O interfaces of computer When glue file, the BIOS of computer can actively open and execute the glue file, will be diagnosed by information reading module Information is transmitted and is stored to external storage equipment.
In embodiments of the present invention, after the external storage equipment that detection is connect with the I/O interfaces of computer, in order to ensure to count The safety of calculation machine operation, needs to determine whether external storage equipment is trusted device first, if external storage equipment is Trusted device just will continue to judge whether external storage equipment is stored with and the matched information reading module of computer.
Specifically, it is determined that whether external storage equipment is specifically including for trusted device:
Obtain the second pairing file in the first pairing file and the computer in external storage equipment;
First pairing file is matched with the second pairing file, whether external storage equipment is determined according to matching result For trusted device.When the first pairing file and the second pairing file successful match, you can determine that the external storage equipment is Trusted device, it is on the contrary, it is determined that the external storage equipment is trustless, at this point, the BIOS of computer will not continue it is outer to this Any file connect in storage device is detected and executes.
As shown in Fig. 2, a specific example of the diagnostic method of the computer hardware of the present invention, comprises the following processes:
The hardware device of diagnosis computer and obtain diagnostic message first.After computer has obtained diagnostic message, inspection Survey whether USB interface is connected with USB device.When determining that any USB interface of computer is connected with USB device, the USB is determined Whether equipment is trusted device, and then detection is determined as whether being preset with information reading mould in the USB device of trusted device Block.After detecting information reading module, computer automatically opens and execution information read module, to send diagnostic message And it is stored in USB device.
As shown in figure 3, the embodiment of the present invention additionally provides a kind of diagnostic device of computer hardware, including hardware diagnostic mould Block 1, interface detection module 2, data obtaining module 3 and information storage module 4.
Wherein, hardware diagnostic module 1 is used for the hardware device of diagnosis computer to obtain diagnostic message.Hardware diagnostic module After the hardware device of 1 diagnosis computer, the diagnostic result of hardware device can be obtained, is asked if diagnostic result is hardware device Topic, then can also obtain one or more corresponding error code information of diagnostic result, diagnostic result and error code information Constitute the diagnostic message of the hardware device of computer.Interface detection module 2 be used for detect connect with the I/O interfaces of computer outside Storage device is connect, to determine whether that any I/O interfaces of external storage equipment and computer connect.Wherein, I/O interfaces can be with Including USB interface, Typy-C interfaces etc., external storage equipment includes USB device, mobile hard disk etc..Data obtaining module 3 is used for Judge whether external storage equipment is stored with and the matched information reading module of computer.Information storage module 4 is used in information When acquisition module judges that external storage equipment has information reading module, execution information read module transmits diagnostic message To external storage equipment.
In embodiments of the present invention, further include equipment detection module, for determining whether external storage equipment is trusted Equipment.If external storage equipment be trusted device, data obtaining module 3 judge external storage equipment whether be stored with and The matched information reading module of computer.
Wherein, equipment detection module determines whether external storage equipment is specifically including for trusted device:
Obtain the second pairing file in the first pairing file and the computer in external storage equipment;
First pairing file is matched with the second pairing file, whether external storage equipment is determined according to matching result For trusted device.When the first pairing file and the second pairing file successful match, you can determine that the external storage equipment is Trusted device, it is on the contrary, it is determined that the external storage equipment is trustless, at this point, the BIOS of computer will not continue it is outer to this Any file connect in storage device is detected and executes.
In embodiments of the present invention, further include information display module, for showing error code information and its corresponding institute Diagnostic result is stated, tester can be made to understand the relevant diagnostic message of hardware device of computer in real time.
The embodiment of the present invention additionally provides a kind of terminal, and terminal includes processor, and processor is deposited for executing in memory The computer program of storage, to realize each step of the diagnostic method of the computer hardware of the embodiment of the present invention.
Specifically, above-mentioned processor may include central processing unit or specific integrated circuit.Memory may include using In data or the mass storage etc. of instruction.Processor is referred to by reading and executing the computer program stored in memory It enables, to realize the diagnostic method of the computer hardware of above-described embodiment.
The embodiment of the present invention additionally provides a kind of computer storage media, is stored thereon with computer program, computer journey The step of diagnostic method of above computer hardware is realized when sequence is executed by processor.
More than, schematic description only of the invention, it will be recognized by those skilled in the art that in the work without departing from the present invention On the basis of making principle, a variety of improvement can be made to the present invention, this is all belonged to the scope of protection of the present invention.

Claims (10)

1. a kind of diagnostic method of computer hardware, which is characterized in that including:
The hardware device of diagnosis computer is to obtain diagnostic message;
Detect the external storage equipment being connect with the I/O interfaces of the computer;
Judge whether the external storage equipment is stored with and the matched information reading module of the computer;
In response to being judged as passing the diagnostic message to execute described information read module with described information read module Transport to the external storage equipment.
2. the diagnostic method of computer hardware as described in claim 1, which is characterized in that the I/O of detection and the computer After the external storage equipment of interface connection, further include:
Determine whether the external storage equipment is trusted device;
If the external storage equipment is trusted device, judge whether the external storage equipment is stored with and the calculating The matched information reading module of machine.
3. the diagnostic method of computer hardware as claimed in claim 2, which is characterized in that determine that the external storage equipment is It is no to include for trusted device:
Obtain the second pairing file in the first pairing file and the computer in the external storage equipment;
File is matched by described first to match with the second pairing file, and the external storage is determined according to matching result Whether equipment is trusted device.
4. the diagnostic method of computer hardware as described in claim 1, which is characterized in that the diagnostic message includes wrong generation Code information and diagnostic result.
5. the diagnostic method of computer hardware as described in claim 1, which is characterized in that the hardware device include BIOS, At least one in Ram, EC and CMOS, the I/O interfaces include USB interface, and the external storage equipment includes USB device.
6. a kind of diagnostic device of computer hardware, which is characterized in that including:
Hardware diagnostic module, the hardware device for diagnosis computer is to obtain diagnostic message;
Interface detection module, for detecting the external storage equipment being connect with the I/O interfaces of the computer;
Data obtaining module is read for judging whether the external storage equipment is stored with the matched information of the computer Module;
Information storage module, for judging that there is the external storage equipment described information to read mould in described information acquisition module When block, described information read module is executed, the diagnostic message is transmitted to the external storage equipment.
7. the diagnostic device of computer hardware as claimed in claim 6, which is characterized in that further include:
Equipment detection module, for determining whether the external storage equipment is trusted device;If the external storage is set Standby is trusted device, judges whether the external storage equipment is stored with and the matched information reading module of the computer.
8. the diagnostic device of computer hardware as claimed in claim 6, which is characterized in that the diagnostic message includes wrong generation Code information and diagnostic result, the diagnostic device of the computer hardware further include:
Information display module, for showing the error code information and its corresponding diagnostic result.
9. a kind of terminal, which is characterized in that the terminal includes processor, and the processor is used to execute to store in memory Computer program, to realize as described in any one of claim 1-5 the step of diagnostic method.
10. a kind of computer storage media, which is characterized in that be stored thereon with computer program, the computer program is located It manages and is realized when device executes as described in any one of claim 1-5 the step of diagnostic method.
CN201810117721.9A 2018-02-06 2018-02-06 Diagnostic method, device, terminal and the medium of computer hardware Pending CN108319530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810117721.9A CN108319530A (en) 2018-02-06 2018-02-06 Diagnostic method, device, terminal and the medium of computer hardware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810117721.9A CN108319530A (en) 2018-02-06 2018-02-06 Diagnostic method, device, terminal and the medium of computer hardware

Publications (1)

Publication Number Publication Date
CN108319530A true CN108319530A (en) 2018-07-24

Family

ID=62902984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810117721.9A Pending CN108319530A (en) 2018-02-06 2018-02-06 Diagnostic method, device, terminal and the medium of computer hardware

Country Status (1)

Country Link
CN (1) CN108319530A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025709A (en) * 2006-02-22 2007-08-29 联想(北京)有限公司 System and method for obtaining fault in-situ information for computer operating system
US20140351661A1 (en) * 2013-05-23 2014-11-27 International Business Machines Corporation Outputting fault data for a hardware device
CN204440382U (en) * 2015-02-10 2015-07-01 姚江河 A kind of computer hardware test external equipment
CN106021064A (en) * 2016-05-16 2016-10-12 浪潮电子信息产业股份有限公司 Monitoring information collection method, baseboard management controller and system
CN106681869A (en) * 2016-11-23 2017-05-17 北海高创电子信息孵化器有限公司 Computer fault detection system
CN106776308A (en) * 2016-12-06 2017-05-31 福州高图信息技术有限公司 A kind of electronic product malfunction test method and system based on Uboot
CN107025408A (en) * 2017-03-29 2017-08-08 宁夏宁信信息科技有限公司 Mobile hard disk key generation method and system based on cloud platform verification technique
CN107249129A (en) * 2017-04-21 2017-10-13 贵州省广播电视信息网络股份有限公司 A kind of automatic service kit of set top box

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025709A (en) * 2006-02-22 2007-08-29 联想(北京)有限公司 System and method for obtaining fault in-situ information for computer operating system
US20140351661A1 (en) * 2013-05-23 2014-11-27 International Business Machines Corporation Outputting fault data for a hardware device
CN204440382U (en) * 2015-02-10 2015-07-01 姚江河 A kind of computer hardware test external equipment
CN106021064A (en) * 2016-05-16 2016-10-12 浪潮电子信息产业股份有限公司 Monitoring information collection method, baseboard management controller and system
CN106681869A (en) * 2016-11-23 2017-05-17 北海高创电子信息孵化器有限公司 Computer fault detection system
CN106776308A (en) * 2016-12-06 2017-05-31 福州高图信息技术有限公司 A kind of electronic product malfunction test method and system based on Uboot
CN107025408A (en) * 2017-03-29 2017-08-08 宁夏宁信信息科技有限公司 Mobile hard disk key generation method and system based on cloud platform verification technique
CN107249129A (en) * 2017-04-21 2017-10-13 贵州省广播电视信息网络股份有限公司 A kind of automatic service kit of set top box

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WOODEN954: "《如何让U盘插入电脑后自动复制电脑里面文件》", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/749958833364283532.HTML》 *
YANG253616480: "《如何一插入u盘就自动复制电脑里的文本文件到U盘》", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/25094030.HTML?QBL=RELATE_QUESTION_1&WORD=%D4%F5%C3%B4%B0%D1%B5%E7%C4%D4%CE%C4%BC%FE%D7%D4%B6%AF%B8%B4%D6%C6%B5%BDU%C5%CC》 *

Similar Documents

Publication Publication Date Title
US10929260B2 (en) Traffic capture and debugging tools for identifying root causes of device failure during automated testing
US6944796B2 (en) Method and system to implement a system event log for system manageability
CN109117327A (en) A kind of hard disk detection method and device
CN111078492B (en) State monitoring system and method for SoC internal bus
US7882395B2 (en) Debug device for embedded systems and method thereof
US20210173010A1 (en) Diagnostic tool for traffic capture with known signature database
TW201423385A (en) Test system and method for computer
US20210111967A1 (en) Graphical user interface for traffic capture and debugging tool
CN101770416B (en) Bus testing method for new generation of peripheral connecting interface
CN109710479B (en) Processing method, first device and second device
CN104239174A (en) BMC (baseboard management controller) remote debugging system and method
WO2020087956A1 (en) Method, apparatus, device and system for capturing trace of nvme hard disc
TWI393003B (en) Remote hardware inspection system and method
JP3711871B2 (en) PCI bus failure analysis method
KR20210154249A (en) Bus monitoring device and method, storage medium, electronics
CN111190779A (en) Hard disk detection structure, hard disk detection method and hard disk
CN108319530A (en) Diagnostic method, device, terminal and the medium of computer hardware
US7415560B2 (en) Method of automatically monitoring computer system debugging routine
CN110907857B (en) Automatic connector detection method based on FPGA
WO2018227475A1 (en) Fingerprint chip detection method, device and system
CN104809038B (en) FIFO exception handling method and device
TWI643060B (en) Automatic image monitoring method
CN113032177B (en) Soft error monitoring method and equipment
US7065691B2 (en) Apparatus and method for saving precise system state following exceptions
CN116382968B (en) Fault detection method and device for external equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180724

RJ01 Rejection of invention patent application after publication