CN105786658A - Computer system and method capable of detecting internal computer state - Google Patents

Computer system and method capable of detecting internal computer state Download PDF

Info

Publication number
CN105786658A
CN105786658A CN201410787304.7A CN201410787304A CN105786658A CN 105786658 A CN105786658 A CN 105786658A CN 201410787304 A CN201410787304 A CN 201410787304A CN 105786658 A CN105786658 A CN 105786658A
Authority
CN
China
Prior art keywords
computer system
emitting diode
output pin
failure cause
light
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
CN201410787304.7A
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.)
HUANXU ELECTRONICS CO Ltd
Universal Scientific Industrial Co Ltd
Original Assignee
HUANXU 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 HUANXU ELECTRONICS CO Ltd filed Critical HUANXU ELECTRONICS CO Ltd
Priority to CN201410787304.7A priority Critical patent/CN105786658A/en
Publication of CN105786658A publication Critical patent/CN105786658A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a computer system and a method capable of detecting an internal computer state, wherein whether the computer system has a failure cause is detected according to a Basic Input/output System (BIOS) stored in a read-only memory. When the computer system has the failure cause, multiple General Purpose Input/output (GPIO) pins on a chipset are taken as failure output pins and used to transmit a Power on Self Test (POST) code which stands for the failure cause to a luminous diode module, so that the POST code standing for the failure cause can be denoted by the form of a seven-segment digital tube in multiple luminous diodes. In this way, a troubleshooting card does not need to be disposed separately in the computer system; a user can carry out self checking when the computer system is started; and a problem can be found easily by the luminous diode module, so that a starting mistake can be eliminated.

Description

Computer system and the method for computer internal state can be detected
Technical field
The present invention provides a kind of computer system detecting computer internal state and method, utilizes the light-emitting diode (LED) module being connected to universal input output (GPIO) pin to detect computer system and the method for computer internal state particularly to one.
Background technology
In booting computer program, being by the read only memory on motherboard, it has deposited a basic input output system (BasicInput/OutputSystem, BIOS).Above-mentioned BIOS contains the base program of many computer import and exports, and is responsible for carry out the initial setting of software and hardware and test when computer system boot-strap, to guarantee that the software and hardware in computer system can normal operation.And after confirming the equal normal operation of software and hardware in computer system, then the central processing unit of computer system will start to read the in-cycle work system data being stored in hard disk, with the control being loaded in computer system each software and hardware and computing.But, if having the generation problem such as hardware setting exception or software operation mistake in above-mentioned boot program, computer system can cannot successfully start, and even can produce to work as the phenomenon of machine.Now, user can utilize and be arranged on outside computer system, or is arranged on the misarrangement card on motherboard, carries out booting computer detection, to assist user successfully to find the problem, and then gets rid of start mistake.
But, this kind of practice not only needs additionally arrange misarrangement card and need to be arranged in computer system by misarrangement card.If there being multiple computers system need to boot up program debugging, then must insert repeatedly in each computer system and remove misarrangement card, or on the motherboard of each computer system, it is respectively provided with a misarrangement card, boot up program debugging, not only consuming time and need to spend a lot of cost, in fact belong to inconvenience.
Summary of the invention
In view of this, present invention is primarily targeted at a kind of computer system detecting computer internal state of offer and method, it need not additionally arrange misarrangement card, but user really can be provided when computer system boot-strap to carry out the misarrangement of program, and learn problem place, and then get rid of start mistake.
The invention provides a kind of computer system detecting computer internal state, and one basic input output system (BasicInput/OutputSystem, BIOS) detects whether computer system has a failure cause when starting computer system.Above-mentioned computer system includes a read only memory, a chipset (chipset) and a light-emitting diode (LED) module.Read only memory stores basic input output system;And chipset electrical connection read only memory.Chipset has multiple universal input output (GeneralPurposeInput/Output, GPIO) pin, and is set with multiple fault output pin among multiple universal input output pins.And light-emitting diode (LED) module electrically connects above-mentioned multiple fault output pins.Wherein, when chipset has failure cause by basic input output system detection computer system, chipset can via basic input output system at each start oneself detection (Power-OnSelf-Test, POST) stage produces corresponding start oneself and detects code to multiple universal input output pins, and adopts programming module to present start oneself's detection code with the light-emitting diode (LED) module that multiple universal input output pins connect.
In one of them embodiment of the present invention, above-mentioned light-emitting diode (LED) module can have multiple light emitting diode, and multiple light emitting diode can adopt the form of a seven segment digital tubes to arrange, thus showing that above-mentioned start oneself detects code.
The invention provides a kind of method detecting computer internal state, it is adaptable to a computer system.Above-mentioned computer system includes storing a read only memory of a basic input output system, a chipset with multiple universal input output pin and a light-emitting diode (LED) module, and chipset electrically connects read only memory and light-emitting diode (LED) module.The above-mentioned method detecting computer internal state includes: (A), when starting computer system, sets multiple fault output pin among multiple universal input output pins;(B) detect whether computer system has a failure cause by basic input output system;(C) if so, start oneself's detection code is produced according to above-mentioned failure cause;And start oneself's detection code is sent to light-emitting diode (LED) module by above-mentioned multiple fault output pins by (D).
Comprehensive the above, the computer system of the detected computer internal state that the embodiment of the present invention provides and method, according to the BIOS being stored in read only memory, it detects whether computer system has failure cause.And when computer system has failure cause, the POST code of representing fault reason is transmitted to light-emitting diode (LED) module as fault output pin so that the POST code of representing fault reason may be displayed among multiple light emitting diode by the multiple GPIO pin on chipset.Additionally, above-mentioned light emitting diode can adopt the form of seven segment digital tubes to show that above-mentioned start oneself detects code, to improve the interpretability of start oneself's detection code.Accordingly, computer system need not additionally arrange misarrangement card, and user can be provided when computer system boot-strap to carry out the misarrangement of program.And user can pass through light-emitting diode (LED) module and learn problem place easily, to get rid of start mistake, and then the convenience in use can be improved.
It is further understood that inventive feature and technology contents for enabling, refers to the detailed description below in connection with the present invention and accompanying drawing, but these illustrate to be intended merely to the explanation present invention with Figure of description, but not the interest field of the present invention is done any restriction.
Accompanying drawing explanation
Fig. 1 is the computer system schematic diagram of the detected computer internal state of one embodiment of the invention.
Fig. 2 is the method flow diagram of the detected computer internal state of one embodiment of the invention.
Fig. 3 is the method flow diagram of the detected computer internal state of another embodiment of the present invention.
Description of reference numerals:
100: computer system
110: chipset
112:GPIO pin
120: read only memory
130: light-emitting diode (LED) module
S210, S220, S230, S240: step
S310, S320, S330, S340: step
Detailed description of the invention
Hereinafter, will be illustrated that by accompanying drawing the various illustrative embodiments of the present invention are described in detail the present invention.But, concept of the present invention is likely to embody in many different forms, and should not be construed as limited by exemplary embodiments set forth herein.Additionally, same reference numbers may be used to represent similar element in the accompanying drawings.
First, refer to Fig. 1, the computer system schematic diagram of the detected computer internal state of its display one embodiment of the invention.Computer system 100 is for being arranged on motherboard (attached not shown).And motherboard can be applicable on the electronic installations such as desktop computer (DesktopComputer), notebook computer (LaptopComputer), server, personal digital assistant and mobile phone.Computer system 100 includes a chipset (chipset) 110, read only memory 120 and a light-emitting diode (LED) module 130, to detect whether computer system 100 has a failure cause by a basic input output system (BasicInput/OutputSystem, BIOS) in time starting computer system 100.And it is noted that the computer system 100 described in the present embodiment also includes other components, for instance the components such as central processing unit (CPU), power supply module or other output/input interfaces, and only show part related to the present invention in the present embodiment.In the present embodiment, computer system is preferably the computer system of an x86 framework, and computer system is alternatively the computer system of ARM framework or other frameworks, the invention is not limited in this regard.
Read only memory 120 stores basic input output system.Chipset 110 connects read only memory 120, and has multiple universal input output (GeneralPurposeInput/Output, GPIO) pin.In the present embodiment, read only memory 120 is flash memory (flashmemory).Chipset 110 is for being formed or individually adopt South Bridge chip by South Bridge chip (southbridge) and north bridge chips (northbridge), to control each element on whole motherboard accordingly.In addition, BIOS comprises the Basic Control Code of the output/input interface (such as display or keyboard) of many computer systems 100, and it is responsible for after starting computer system 100 (namely starting shooting) at electronic device power, boot up selftest (Power-OnSelf-Test, POST) work, to detect whether computer system 100 has failure cause.It should be noted that at this, owing to BIOS is firmware that is necessary in general computer system and that know.Therefore its function and framework will not be explained below, and part related to the present invention is only described herein.
Therefore, when starting computer system 100, chipset 110 will set multiple fault output pin by BIOS among GPIO pin 112, using the use as output failure cause.For example, the GPIO pin 112 in chipset 110 has 128 pins.When starting computer system 100, it is fault output pin that chipset 110 will set the 1-16 GPIO pin 112 then, is used as the use of output failure cause.
Light-emitting diode (LED) module 130 is electrically connected to above-mentioned multiple fault output pin.When BIOS detects that computer system 100 has described failure cause, chipset 110 can produce corresponding POST code via basic input output system, and by fault output pin (the 1-16 GPIO pin in above-mentioned example), POST code is sent to light-emitting diode (LED) module 130.Further, read only memory 120 more stores multiple error message, for instance, the BIOS relevant information such as the serge sound code of BIOS, port 80h-POST code information, POST code information and general POST sequence information.And definition has failure cause among above-mentioned multiple error message so that chipset 110 produces POST code according to the error message being stored in read only memory 120.
Then, chipset 110 will resolve each stage POST code by BIOS further, and with the form of a seven segment digital tubes, it is respectively transmitted POST code to the multiple light emitting diodes in light-emitting diode (LED) module 130, thus showing that the POST code of representing fault reason is in light-emitting diode (LED) module 130 by above-mentioned defined fault output pin.And in the present embodiment, owing to the multiple light emitting diodes in light-emitting diode (LED) module 130 are arrange with the form of seven segment digital tubes.Therefore user can error reason representated by apparent POST code.
Explaining with the computer system 100 of x86 framework, POST code is made up of two 16 scale codings.And in order to show the POST code with two 16 scale codings in light-emitting diode (LED) module 130, it is fault output pin (such as the 1-16 GPIO pin 112) that chipset 110 will set 16 GPIO pin 112 when starting computer system 100, and 16 fault output pins correspond to two 16 scale codings.Imply that 8 fault output pins correspond to first 16 scale coding, and other 8 fault output pins correspond to second 16 scale coding, the light emitting diode (i.e. 16 light emitting diodes) making to be connected electrically in 16 GPIO pin can the form arrangement of seven segment digital tubes, and show the POST code of two 16 scale codings accordingly, can error reason representated by apparent POST code for user.
By the above embodiments, the present invention can summarize a kind of method detecting computer internal state, it is adaptable to the computer system 100 described in above-described embodiment.Refer to Fig. 2 and with reference to Fig. 1.Fig. 2 shows the method flow diagram of the detected computer internal state of one embodiment of the invention.First, in time starting computer system 100, chipset 110 sets multiple fault output pin among GPIO pin 112, using the use (step S210) as output failure cause.
It follows that the BIOS by being stored in read only memory 120 is detected whether computer system 100 has failure cause (step S220) by chipset 110.If BIOS is not detected by the failure cause of computer system 100, it represents the equal normal operation of software and hardware confirmed in computer system.Chipset 110 will not pass through the fault output pin in GPIO pin 112 and exports the light emitting diode (step S240) that any data are corresponding to light-emitting diode (LED) module 130.Then, the central processing unit (accompanying drawing is not shown) of computer system 100 will start the in-cycle work system data that reading is stored in hard disk (accompanying drawing is not shown), to be loaded into control and the computing of each software and hardware in computer system 100.
Otherwise, if BIOS has failure cause computer system 100 being detected, it represents the generation problem such as hardware setting exception or software operation mistake in boot program so that computer system 100 cannot start smoothly.Chipset 110 will produce a POST code by BIOS, and POST code is transmitted POST code to light emitting diode corresponding in light-emitting diode (LED) module 130 by the fault output pin in GPIO pin 112, get rid of start shooting wrong (step S230) according to POST code for user.
Further, chipset 110 will produce POST code according to being stored in read only memory error message.And chipset 110 will resolve POST code further by BIOS, and it is respectively transmitted POST code to the multiple light emitting diodes in light-emitting diode (LED) module 130 with the form of a seven segment digital tubes by above-mentioned defined fault output pin, to show that the POST code of representing fault reason is in light-emitting diode (LED) module 130.And owing to the multiple light emitting diodes in light-emitting diode (LED) module 130 are arrange with the form of seven segment digital tubes.Therefore user can error reason representated by apparent POST code.
Additionally, be possible with misarrangement card under the framework of computer system 100 to boot up program debugging, one way in which can being selected to detect the computer internal state in computer system 100 according to actual state for user, its detailed description of the invention is as follows.Refer to Fig. 3 and show the method flow diagram of detected computer internal state of another embodiment of the present invention with reference to Fig. 1, Fig. 3.First, in time starting computer system 100, chipset 110 sets multiple fault output pin among GPIO pin 112, and set peripheral hardware interconnection standard/PC interface (PersonalComputerInterface, PCI) interface, to enable fault output pin in (enable) GPIO pin 112 and pci interface (step S310).
It follows that computer system 100 will further determine whether by outside misarrangement card to detect whether computer system 100 has a failure cause (step S320).In this step, available BIOS/firmware interface transmits external control signal to computer system 100 so that computer system 100 can judge whether to be detected whether computer system 100 has a failure cause by outside misarrangement card according to external control signal.And other modes can also inform that computer system 100 selects the one of which computer internal state to detect in computer system 100, the invention is not limited in this regard.
If computer system 100 is judged as by outside misarrangement card to detect whether computer system 100 has failure cause, its judgment mode will be arranged on computer system 100 outside such as existing outside misarrangement card or be arranged on motherboard, carry out booting computer detection, get rid of start mistake (step S330) for user.
Otherwise, if computer system 100 judge not as by outside misarrangement card to detect whether computer system 100 has failure cause, in chipset 110, its judgment mode will detect whether computer system 100 has failure cause (step S340).And detect computer system 100 about chipset 110 and whether have the embodiment of failure cause to be specified in the method flow diagram of Fig. 2, therefore do not repeat them here.
In sum, the computer system of the detected computer internal state that the embodiment of the present invention provides and method, according to the BIOS being stored in read only memory, it detects whether computer system has failure cause.And when computer system has failure cause, the POST code of representing fault reason is transmitted to light-emitting diode (LED) module as fault output pin so that the POST code of representing fault reason may be displayed among multiple light emitting diode by the multiple GPIO pin on chipset.Additionally, above-mentioned light emitting diode the form of seven segment digital tubes can show start oneself's detection code, detect the interpretability of code improving start oneself.Accordingly, computer system need not additionally arrange misarrangement card, and user can be provided when computer system boot-strap to carry out the misarrangement of program, and is learnt problem place easily by light-emitting diode (LED) module, to get rid of start mistake, and then can improve the convenience in use.
The foregoing is only embodiments of the invention, it is also not used to limit to the scope of the claims of the present invention.

Claims (10)

1. can detecting a computer system for computer internal state, when starting described computer system, a basic input output system detects whether described computer system has a failure cause, it is characterised in that described computer system includes:
One read only memory, stores described basic input output system;
One chipset, electrically connects described read only memory, and described chipset has multiple universal input output pin, is set with multiple fault output pin among the plurality of universal input output pin;And
One light-emitting diode (LED) module, electrically connects the plurality of fault output pin;
Wherein, described chipset produces start oneself's detection code according to described failure cause, and by the plurality of fault output pin, described start oneself's detection code is sent to described light-emitting diode (LED) module.
2. computer system as claimed in claim 1, wherein, described light-emitting diode (LED) module has multiple light emitting diode, and the plurality of light emitting diode arranges with the form of a seven segment digital tubes, thus showing described start oneself's detection code.
3. computer system as claimed in claim 2, wherein, the quantity of the plurality of fault output pin is 16, the quantity of the plurality of light emitting diode is 16 and is arranged in two described seven segment digital tubes with the form of described seven segment digital tubes, and the plurality of light emitting diode is electrically connected the plurality of fault output pin.
4. computer system as claimed in claim 1, wherein, described read only memory more stores multiple error message, and in the plurality of error message, definition has described failure cause.
5. computer system as claimed in claim 1, wherein, described computer system is the computer system of an x86 framework.
6. the method that can detect computer internal state, suitable in a computer system, described computer system includes storing a read only memory of a basic input output system, a chipset with multiple universal input output pin and a light-emitting diode (LED) module, described chipset electrically connects described read only memory and described light-emitting diode (LED) module, it is characterized in that, the method for described detection computer internal state includes:
When starting described computer system, among the plurality of universal input output pin, set multiple fault output pin;
Detect whether described computer system has a failure cause by described basic input output system;
If so, start oneself's detection code is produced according to described failure cause;And
Described start oneself's detection code is sent to described light-emitting diode (LED) module by the plurality of fault output pin.
7. the method that can detect computer internal state as claimed in claim 6, wherein, described light-emitting diode (LED) module has multiple light emitting diode, and the plurality of light emitting diode arranges with the form of a seven segment digital tubes, thus showing described start oneself's detection code.
8. the method that can detect computer internal state as claimed in claim 7, wherein, described start oneself's detection code is made up of two 16 scale codings, the quantity of the plurality of fault output pin is 16, the quantity of the plurality of light emitting diode is 16 and is arranged in two described seven segment digital tubes with the form of described seven segment digital tubes, and the plurality of light emitting diode is electrically connected the plurality of fault output pin, thus showing described start oneself's detection code.
9. the method that can detect computer internal state as claimed in claim 8, wherein, described read only memory more stores multiple error message, in the plurality of error message, definition has described failure cause, and after whether the described computer system of detection has a failure cause, produce described start oneself's detection code according to the plurality of error message.
10. the method that can detect computer internal state as claimed in claim 6, wherein, described computer system is the computer system of an x86 framework.
CN201410787304.7A 2014-12-17 2014-12-17 Computer system and method capable of detecting internal computer state Pending CN105786658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410787304.7A CN105786658A (en) 2014-12-17 2014-12-17 Computer system and method capable of detecting internal computer state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410787304.7A CN105786658A (en) 2014-12-17 2014-12-17 Computer system and method capable of detecting internal computer state

Publications (1)

Publication Number Publication Date
CN105786658A true CN105786658A (en) 2016-07-20

Family

ID=56374901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410787304.7A Pending CN105786658A (en) 2014-12-17 2014-12-17 Computer system and method capable of detecting internal computer state

Country Status (1)

Country Link
CN (1) CN105786658A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193703A (en) * 2017-06-30 2017-09-22 山东超越数控电子有限公司 A kind of method and device of judgement BIOS POST process device functions
CN111666192A (en) * 2020-06-11 2020-09-15 山东超越数控电子股份有限公司 BIOS fault state monitoring system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010010185A (en) * 1999-07-16 2001-02-05 윤종용 Portable computer displaying post code on led indicator
CN1983204A (en) * 2005-12-15 2007-06-20 英业达股份有限公司 Device and method for correcting and repairing BIOS function by LPC interface
CN2932488Y (en) * 2005-12-20 2007-08-08 英业达股份有限公司 Fault detecting device
CN103197996A (en) * 2012-01-05 2013-07-10 纬创资通股份有限公司 Startup detection circuit, computer system and startup detection method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010010185A (en) * 1999-07-16 2001-02-05 윤종용 Portable computer displaying post code on led indicator
CN1983204A (en) * 2005-12-15 2007-06-20 英业达股份有限公司 Device and method for correcting and repairing BIOS function by LPC interface
CN2932488Y (en) * 2005-12-20 2007-08-08 英业达股份有限公司 Fault detecting device
CN103197996A (en) * 2012-01-05 2013-07-10 纬创资通股份有限公司 Startup detection circuit, computer system and startup detection method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193703A (en) * 2017-06-30 2017-09-22 山东超越数控电子有限公司 A kind of method and device of judgement BIOS POST process device functions
CN111666192A (en) * 2020-06-11 2020-09-15 山东超越数控电子股份有限公司 BIOS fault state monitoring system and method

Similar Documents

Publication Publication Date Title
US8443238B2 (en) System and method for testing hard disk ports
US7293204B2 (en) Computer peripheral connecting interface system configuration debugging method and system
US9146823B2 (en) Techniques for testing enclosure management controller using backplane initiator
US9514846B2 (en) Memory module status indication
US8707103B2 (en) Debugging apparatus for computer system and method thereof
US20120089871A1 (en) Test system
CN101593139A (en) Mainboard failure diagnosis device and diagnostic method thereof
US9817909B1 (en) Accessing information from a firmware using two-dimensional barcodes
CN106250279B (en) Except wrong method and device thereof
US20130032633A1 (en) Chip test system
CN104679626A (en) System and method for debugging and detecting BIOS (Basic Input / Output System)
TW201715396A (en) Server and error detecting method thereof
CN103793302A (en) Debugging device
CN105786658A (en) Computer system and method capable of detecting internal computer state
US20180081550A1 (en) System and method for detecting redundant array of independent disks (raid) controller state from baseboard management controller (bmc)
CN109117299B (en) Error detecting device and method for server
CN116820193A (en) Cable connection correctness recognition system, method, device, equipment and storage medium
TW201527965A (en) System and method for detecting a BIOS test process of a computer
CN101872321A (en) Main board fault diagnosis card
CN116010141A (en) Method, device and medium for positioning starting abnormality of multipath server
CN103956129A (en) Automatic identification system for electronic product display screen
TW201624294A (en) Computer system and method for detecting internal computer status
TW201115331A (en) Self testing method and system for computing apparatus
US7469370B2 (en) Enabling multiple testing devices
CN110825572A (en) Method, device and system for detecting I2C equipment address and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160720