CN110058978A - A kind of error log recording device for computer - Google Patents

A kind of error log recording device for computer Download PDF

Info

Publication number
CN110058978A
CN110058978A CN201910222144.4A CN201910222144A CN110058978A CN 110058978 A CN110058978 A CN 110058978A CN 201910222144 A CN201910222144 A CN 201910222144A CN 110058978 A CN110058978 A CN 110058978A
Authority
CN
China
Prior art keywords
computer
recording device
error log
log recording
chip microcontroller
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
CN201910222144.4A
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.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics 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 Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN201910222144.4A priority Critical patent/CN110058978A/en
Publication of CN110058978A publication Critical patent/CN110058978A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3031Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a motherboard or an expansion card
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A kind of error log recording device for computer proposed by the present invention, using the hardware realization independently of CPU, it is made of single-chip microcontroller, storage chip, indicator light three parts, it can recorde the data such as Serial Port Information and temperature, the voltage that computer exports in the process of running, it can be used for when computer breaks down, analyzing failure cause.

Description

A kind of error log recording device for computer
Technical field
The present invention relates to field of computer technology, more particularly to a kind of error log for computer is recorded Device.
Background technique
Computer plays important role in modern society, and application is dispersed throughout all trades and professions.Since 2 are born, Computer technology level has become the important symbol for measuring state's scientific and technological strength.It is also more next to the research work of computer itself It is more, wherein to be always one of hot spot for system for computer mistake research.System for computer mistake refers to supercomputing Machine in the process of running, leads to the critical event of the termination of job or shutdown.
In the prior art, especially sporadic, when being difficult to the hardware fault reappeared when computer breaks down, operation system System usually has little time that hard disk is written error information into, therefore in the error log file in hard disk, often can not find valuable Information, maintenance, debugging can be highly difficult.
Summary of the invention
In view of the above problems, being the purpose of the present invention is to provide a kind of error log recording device for computer A set of log recording apparatus independently of operating system, using separate hardware, by the information from operating system nucleus, Yi Ji electricity Independent memory is written in the data such as pressure, temperature in real time, system in case of system halt when can be to avoid because breaking down, operating system itself The generation of the case where hard disk can not be written in log in time.
The present invention to achieve the above object, is achieved through the following technical solutions: a kind of error log note for computer Recording device, including single-chip microcontroller, storage chip, indicator light, special purpose interface and temperature collecting module;The single-chip microcontroller is connect by dedicated Mouth is connect with computer motherboard, and single-chip microcontroller is connect with storage chip and indicator light respectively, and the temperature collecting module is respectively provided at On the critical component of computer motherboard;
The special purpose interface power input and temperature acquisition mould with serial ports, critical component on computer motherboard respectively Block connection;Storage is written for data such as the Serial Port Information of collecting computer mainboard and temperature, voltages in the single-chip microcontroller Chip.
Further, the special purpose interface is pluggable interface, and special purpose interface includes: socket and plug, and socket is fixedly mounted On computer motherboard, serial ports adapter, key temperatures input pin and Vital Voltage input pin are equipped in socket, serial ports turns The input terminal of connector is connect with computer motherboard serial ports, and the input terminal of key temperatures input pin is connect with temperature collecting module, The input terminal of Vital Voltage input pin and the power input of critical component connect;Serial ports and key are equipped in the plug The key temperatures output pin of temperature input pin grafting, the Vital Voltage output pin with the grafting of Vital Voltage input pin, The output end of serial ports, the output end of key temperatures output pin, Vital Voltage output pin output end respectively with single-chip microcontroller connect It connects.
Further, the storage chip uses SPI FLASH storage chip.
Further, the temperature collecting module uses onboard thermistor.
Further, the critical component of the computer motherboard includes: memory, CPU, south bridge and north bridge.
Further, the temperature collecting module carries out using onboard thermistor, fixed resistance when the acquisition of temperature information The mode of partial pressure is converted to information of voltage, and completes acquisition by the ADC built in single-chip microcontroller.
Further, the serial ports in the plug is also used to connect with other computers, and reading is stored in storage chip Data.
Further, after storage chip is write completely, data record of the single-chip microcontroller by the operation pre-set programs erasing time at most, And it is replaced with new received data.
The prior art is compared, the beneficial effects of the invention are that: a kind of error log for computer proposed by the present invention Recording device is made of single-chip microcontroller, storage chip, indicator light three parts, be can recorde using the hardware realization independently of CPU The data such as Serial Port Information and temperature that computer exports in the process of running, voltage can be used for breaking down in computer When, analyzing failure cause.
The configuration of the present invention is simple, at low cost, high reliablity can be used for the chance failure of logger computer, for analyzing Failure cause has good value for applications.
It can be seen that compared with prior art, the present invention implementing with substantive distinguishing features outstanding and significant progress Beneficial effect be also obvious.
Detailed description of the invention
Attached drawing 1 is structure principle chart of the invention.
Specific embodiment
It explains with reference to the accompanying drawing to a specific embodiment of the invention.
A kind of error log recording device for computer as shown in Figure 1, including single-chip microcontroller, storage chip, instruction Lamp, special purpose interface and temperature collecting module;The single-chip microcontroller is connect by special purpose interface with computer motherboard, single-chip microcontroller respectively with Storage chip is connected with indicator light, and the temperature collecting module is respectively provided on the critical component of computer motherboard.Calculate owner The critical component of plate includes: memory, CPU, south bridge and north bridge.
Special purpose interface connects with the power input of serial ports, critical component on computer motherboard and temperature collecting module respectively It connects;Storage chip is written for data such as the Serial Port Information of collecting computer mainboard and temperature, voltages in the single-chip microcontroller.
Special purpose interface is pluggable interface, and special purpose interface includes: socket and plug, and socket is fixedly mounted on computer motherboard On, serial ports adapter, key temperatures input pin and Vital Voltage input pin, the input terminal of serial ports adapter are equipped in socket It is connect with computer motherboard serial ports, the input terminal of key temperatures input pin is connect with temperature collecting module, Vital Voltage input The input terminal of pin and the power input of critical component connect;Serial ports and key temperatures input pin are equipped in the plug The key temperatures output pin of grafting, the Vital Voltage output pin with the grafting of Vital Voltage input pin, the output end of serial ports, The output end of key temperatures output pin, the output end of Vital Voltage output pin are connect with single-chip microcontroller respectively.
The storage chip uses SPI FLASH storage chip.The temperature collecting module uses onboard thermistor.It is single Piece machine is powered by the 3.3V DC power supply of special purpose interface Import computer mainboard.Serial ports in plug is also used to calculate with other Machine connection, reads the data being stored in storage chip.
The side divided when the temperature collecting module carries out the acquisition of temperature information using onboard thermistor, fixed resistance Formula is converted to information of voltage, and completes acquisition by the ADC built in single-chip microcontroller.
When using the present invention, after storage chip is write completely, number of the single-chip microcontroller by the operation pre-set programs erasing time at most It is replaced according to record, and with new received data.
By the specific embodiment it is found that the present invention be can pull-plug device, be made of single-chip microcontroller and storage chip, It is installed on the custom interface of computer motherboard, the method for operation is as follows:
It needs to configure the softwares such as operating system, BIOS when using the present invention, relevant Debugging message is passed through into meter The serial ports output of mainboard is calculated, to be recorded.
Single-chip microcontroller is responsible for the data such as Serial Port Information and temperature, the voltage of collecting computer mainboard, and SPI is written FLASH storage chip.When computer breaks down it should be understood that when usage record before and after failure, log recording dress can be removed It sets, the data being stored in SPI FLASH storage core is read by the serial ports of error log recording device.
Single-chip microcontroller selects computer motherboard to support the model of serial ports, receives to information above, is stored in the SPI extended out In FLASH storage chip, SPI FLASH storage chip can select suitable capacity according to specific requirements.
Custom interface includes plug-in key temperatures input pin and key temperatures output pin, and the acquisition of temperature uses The form that mainboard carries thermistor is realized, can reduce cost, main monitoring CPU temperature as far as possible under the premise of guaranteeing precision Degree, bridge piece temperature.The mode that the acquisition of temperature information is divided using thermistor, fixed resistance, is converted to information of voltage, uses ADC built in single-chip microcontroller is acquired.
Custom interface also includes plug-in Vital Voltage input pin and Vital Voltage output pin, using in single-chip microcontroller The ADC set carries out the acquisition of critical component voltage.
After SPI FLASH storage chip, which is write, expires, the program in single-chip microcontroller understands the data record of erasing time at most, is used in combination New received data are replaced, and guarantee goes wrong when needing to check log, it can be seen that the debugging letter of nearest a period of time Breath.
It can be seen that the serial ports tool in plug is there are two types of function, when normal work, believes for receiving the debugging from mainboard Breath.When needing to analyze data, the data in SPI FLASH storage chip are exported by the serial ports.Single-chip microcontroller can be in serial ports Debugging message carry out simple identification and analysis, confirm the working condition of mainboard, indicated by indicator light.This function can To be used for the quick positioning failure when computer motherboard can not start.
With reference to the drawings and specific embodiments, the invention will be further described.It should be understood that these embodiments are merely to illustrate The present invention rather than limit the scope of the invention.In addition, it should also be understood that, after reading the content taught by the present invention, this field Technical staff can make various changes or modifications the present invention, and such equivalent forms equally fall within range defined herein.

Claims (8)

1. a kind of error log recording device for computer, which is characterized in that including single-chip microcontroller, storage chip, indicator light, Special purpose interface and temperature collecting module;
The single-chip microcontroller is connect by special purpose interface with computer motherboard, and single-chip microcontroller is connect with storage chip and indicator light respectively, The temperature collecting module is respectively provided on the critical component of computer motherboard;
The special purpose interface connects with the power input of serial ports, critical component on computer motherboard and temperature collecting module respectively It connects;Storage chip is written for data such as the Serial Port Information of collecting computer mainboard and temperature, voltages in the single-chip microcontroller.
2. the error log recording device according to claim 1 for computer, which is characterized in that the special purpose interface For pluggable interface, special purpose interface includes: socket and plug, and socket is fixedly mounted on computer motherboard, and string is equipped in socket Mouth adapter, key temperatures input pin and Vital Voltage input pin, the input terminal and computer motherboard string of serial ports adapter Mouthful connection, the input terminal of key temperatures input pin connect with temperature collecting module, the input terminal of Vital Voltage input pin and The power input of critical component connects;
Be equipped in the plug serial ports, with the key temperatures output pin of key temperatures input pin grafting, defeated with Vital Voltage Enter the Vital Voltage output pin of pin grafting, the output end of serial ports, the output end of key temperatures output pin, Vital Voltage are defeated The output end of pin is connect with single-chip microcontroller respectively out.
3. the error log recording device according to claim 1 for computer, it is characterised in that: the storage chip Using SPI FLASH storage chip.
4. the error log recording device according to claim 1 for computer, it is characterised in that: the temperature acquisition Module uses onboard thermistor.
5. the error log recording device according to claim 1 for computer, which is characterized in that the calculating owner The critical component of plate includes: memory, CPU, south bridge and north bridge.
6. the error log recording device according to claim 4 for computer, which is characterized in that the temperature acquisition The mode divided when module carries out the acquisition of temperature information using onboard thermistor, fixed resistance, is converted to information of voltage, and Acquisition is completed by the ADC built in single-chip microcontroller.
7. the error log recording device according to claim 2 for computer, it is characterised in that: in the plug Serial ports is also used to connect with other computers, reads the data being stored in storage chip.
8. the error log recording device according to claim 1 for computer, it is characterised in that: when storage chip is write Man Hou, data record of the single-chip microcontroller by the operation pre-set programs erasing time at most, and be replaced with new received data.
CN201910222144.4A 2019-03-22 2019-03-22 A kind of error log recording device for computer Pending CN110058978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910222144.4A CN110058978A (en) 2019-03-22 2019-03-22 A kind of error log recording device for computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910222144.4A CN110058978A (en) 2019-03-22 2019-03-22 A kind of error log recording device for computer

Publications (1)

Publication Number Publication Date
CN110058978A true CN110058978A (en) 2019-07-26

Family

ID=67317278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910222144.4A Pending CN110058978A (en) 2019-03-22 2019-03-22 A kind of error log recording device for computer

Country Status (1)

Country Link
CN (1) CN110058978A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110826292A (en) * 2019-11-08 2020-02-21 航天柏克(广东)科技有限公司 Digital control visual graphical auxiliary analysis method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1508689A (en) * 2002-12-19 2004-06-30 联想(北京)有限公司 System and method for long-distace obtaining informtion of monitroed computer
CN101183329A (en) * 2007-12-07 2008-05-21 杭州华三通信技术有限公司 Diary management techniques and device
US20180052798A1 (en) * 2016-08-19 2018-02-22 American Megatrends, Inc. Techniques of accessing bmc terminals through serial port
CN207924653U (en) * 2018-03-27 2018-09-28 西安航空学院 SCM Based computer hardware monitoring system
CN108710318A (en) * 2018-04-11 2018-10-26 湖北三江航天万峰科技发展有限公司 A kind of computer system monitoring circuit
CN109324917A (en) * 2018-09-03 2019-02-12 郑州云海信息技术有限公司 A kind of acquisition method of server hardware fault log

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1508689A (en) * 2002-12-19 2004-06-30 联想(北京)有限公司 System and method for long-distace obtaining informtion of monitroed computer
CN101183329A (en) * 2007-12-07 2008-05-21 杭州华三通信技术有限公司 Diary management techniques and device
US20180052798A1 (en) * 2016-08-19 2018-02-22 American Megatrends, Inc. Techniques of accessing bmc terminals through serial port
CN207924653U (en) * 2018-03-27 2018-09-28 西安航空学院 SCM Based computer hardware monitoring system
CN108710318A (en) * 2018-04-11 2018-10-26 湖北三江航天万峰科技发展有限公司 A kind of computer system monitoring circuit
CN109324917A (en) * 2018-09-03 2019-02-12 郑州云海信息技术有限公司 A kind of acquisition method of server hardware fault log

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110826292A (en) * 2019-11-08 2020-02-21 航天柏克(广东)科技有限公司 Digital control visual graphical auxiliary analysis method

Similar Documents

Publication Publication Date Title
US20040019827A1 (en) Emulation interface system
CN101221422A (en) A portable vibration data acquisition device and method based on embedded technology
CN106527646A (en) PMBUS-based mainboard power management method
CN111258830B (en) Server power consumption comparison test system and method
CN103092119B (en) A kind of bus state supervision method based on FPGA
CN101996121A (en) Universal serial bus (USB) port testing device and testing method
CN204789908U (en) Circuit board automatic test system based on labVIEW
CN101309193A (en) A Microprocessor-Based USB-Flexray Bus Adapter
CN114416455A (en) Novel CPU detection device of multi-functional application
CN107861866A (en) A kind of embedded systems debugging method based on UART interface
CN202362865U (en) Fault detection device for IC (integrated circuit) card pre-payment electric energy meter
CN115470056A (en) Method, system, device and medium for troubleshooting power-on starting of server hardware
CN208140901U (en) A kind of server power supply real time monitoring apparatus
CN103149539A (en) Multifunctional power source test system
CN110058978A (en) A kind of error log recording device for computer
CN106095647A (en) Method for monitoring voltage of Seagate hard disk in real time
CN105242603B (en) A kind of electric power acquisition terminal and its debugging upgrade method with USB OTG interfaces
CN211787061U (en) USB interface function detection equipment
CN112269704A (en) Python-based serial port debugging method and debugging system
CN205809631U (en) 16-channel high-precision data synchronous acquisition device
CN208781208U (en) PCI bus test board card
CN114779749B (en) Electric power product production detecting system
CN111026620A (en) Data visualization Processing system and method based on Processing
CN104912874A (en) Testing and recording instrument for hydraulic system
CN211603369U (en) Server DC power-down fault positioning system

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

Application publication date: 20190726