CN102253873B - Alarm system and method for BIOS (Basic Input Output System) - Google Patents

Alarm system and method for BIOS (Basic Input Output System) Download PDF

Info

Publication number
CN102253873B
CN102253873B CN2010101764283A CN201010176428A CN102253873B CN 102253873 B CN102253873 B CN 102253873B CN 2010101764283 A CN2010101764283 A CN 2010101764283A CN 201010176428 A CN201010176428 A CN 201010176428A CN 102253873 B CN102253873 B CN 102253873B
Authority
CN
China
Prior art keywords
bios
audio
audio controller
alarm
code
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.)
Expired - Fee Related
Application number
CN2010101764283A
Other languages
Chinese (zh)
Other versions
CN102253873A (en
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.)
Nantong Hengxin Fine Machinery Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2010101764283A priority Critical patent/CN102253873B/en
Publication of CN102253873A publication Critical patent/CN102253873A/en
Application granted granted Critical
Publication of CN102253873B publication Critical patent/CN102253873B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides an alarm system and method for a basic input output system (BIOS). The alarm system and method are run in the BIOS provided with audio-frequency setting codes and status-report codes. The alarm system for the BIOS comprises an executing module, a judging module and a sending module, wherein when the BIOS is started, the executing module is used for executing the audio-frequency setting codes to set an audio-frequency controller and enable the audio-frequency controller to perform audible alarm according to the error monitored by the BIOS; the judging module is used for executing the status-report codes in every running stage of the BIOS to monitor the running status of every component of a mainboard in an initialization process, thereby judging whether the error occurs; and the sending module is used for sending an alarm instruction to the audio-frequency controller when the judgment result is that the error occurs, and the audio-frequency controller performs audible alarm.

Description

BIOS warning system and method
Technical field
The present invention relates to a kind of BIOS warning system and method.
Background technology
Beeping is the Beeping sound that computing machine sends by hummer, to tell the ruuning situation of user's current computer.Computing machine switches on power, start, and at first operation is the Basic Input or Output System (BIOS) (BIOS:basic input and output system) that carries on mainboard.BIOS can be configured mainboard, detects, and to guarantee computing machine, can use by normal boot-strap.If in the BIOS testing process, find that current computing machine exists abnormal, BIOS can report to the user with the abnormal information that detects.Generally, BIOS reports to the police by the Beeping sound different in size that hummer (Beeper) sends.The user is different in size according to beeping sound, and the specification documents of contrast mainboard just can find the wrong reason that occurs, and for example, 1 is short: system normally starts, and 2 is short: conventional mistake, as: can not find hard disk master (NoIDE master hdd) etc.
Yet hummer is as the BIOS warning device, function singleness, its existence has occupied certain cost and space, and if hummer damage or abnormal occurs, the user need to arrive special maintenance agency and keep in repair, and has increased burden for users.
Summary of the invention
In view of above content, be necessary to provide a kind of BIOS warning system, Audio Controller that can be by chipset inside carries out audible alarm extremely to what BIOS found in testing process, thereby can save hummer, save cost, also increased the design space on the mainboard.
In view of above content, also be necessary to provide a kind of BIOS alarm method, Audio Controller that can be by chipset inside carries out audible alarm extremely to what BIOS found in testing process, thereby can save hummer, save cost, also increased the design space on the mainboard.
A kind of BIOS warning system, run in BIOS, this BIOS is added with audio setting code and status report code, this BIOS warning system comprises: execution module, be used for when BIOS starts, carry out the audio setting code,, so that Audio Controller is arranged, make Audio Controller carry out audible alarm according to the mistake that BIOS monitors; Judge module, be used for the stages executing state report code in the BIOS operation, with the running status of monitoring mainboard all parts in initialization procedure, thereby judges whether wrong generation; Sending module, be used for when judgment result is that wrong generation, sends alarm command and carry out audible alarm to Audio Controller.
A kind of BIOS alarm method, the method comprising the steps of: when BIOS starts, carry out the audio setting code so that Audio Controller is arranged, make Audio Controller carry out audible alarm according to the mistake that BIOS monitors; Stages executing state report code in the BIOS operation, with the running status of monitoring mainboard all parts in initialization procedure, thereby judge whether wrong generation; When judgment result is that wrong generation, send alarm command and carry out audible alarm to Audio Controller.
Compared to prior art, described BIOS warning system and method, Audio Controller that can be by chipset inside are carried out audible alarm extremely to what BIOS found in testing process, save hummer, save cost, increased simultaneously the design space on the mainboard.
Description of drawings
Fig. 1 is the applied environment figure of BIOS warning system of the present invention preferred embodiment.
Fig. 2 is the functional block diagram of BIOS warning system preferred embodiment in Fig. 1 of the present invention.
Fig. 3 is the process flow diagram of BIOS alarm method of the present invention preferred embodiment.
Fig. 4 is the refinement process flow diagram that in Fig. 3 step S10 of the present invention, BIOS arranges Audio Controller.
Fig. 5 adds the schematic diagram of audio setting code and status report code in the BIOS of Fig. 1 of the present invention.
The main element symbol description
Sound equipment 10
Mainboard 20
BIOS 22
The BIOS warning system 220
Chipset 24
Audio Controller 240
CPU 26
Audio decoder 28
Execution module 222
Judge module 224
Sending module 226
Embodiment
As shown in Figure 1, be the applied environment figure of BIOS warning system of the present invention preferred embodiment.Wherein, this BIOS warning system 220 operates on the Basic Input or Output System (BIOS) (BIOS:basic input and output system) 22 of mainboard 20, and this mainboard 20 also comprises chipset (Chipset) 24, CPU 26 and audio decoder 28.This BIOS 22 is connected with the Audio Controller 240 of chipset 24 inside.This Audio Controller 240 is used for receiving the steering order that BIOS 22 sends over, the generation audible ringing signal when BIOS 22 monitors mainboard 20 start-up courses wrong.This chipset 24 also is connected with audio decoder (Codec) 28 by described Audio Controller 240, this audio decoder 28 is used for the audible ringing signal that described Audio Controller 240 produces is decoded, and will decode after audible ringing signal send sound equipment 10 to, make sound equipment 10 send alarm sound.Described chipset 24 also is connected with CPU 26, and this CPU 26 is used for the operation of control chip group 24.Wherein, described Audio Controller 240 is HD Audio controller.In this preferred embodiment, described chipset 24 is south bridge (southbridge).
In addition, this BIOS 22 comprises BIOS warning system 220, is added with audio setting code and status report code (BIOS status code) in this BIOS warning system 220.Wherein, described audio setting code is used for Audio Controller 240 is arranged, namely when carrying out this audio setting code, this warning system 220 can arrange Audio Controller 240, thereby realize when BIOS 22 monitors mistake, Audio Controller 240 receives the steering order that warning system 220 sends over, and carries out audible alarm.Described status report code at the initialization procedure all parts (for example is used for monitoring mainboard 20, hard disk, internal memory etc.) running status, namely when carrying out this status report code, BIOS warning system 220 can be carried out condition monitoring to the parts on mainboard 20, when the parts on mainboard 20 made a mistake in initialization procedure, BIOS warning system 220 notification audio controllers 240 carried out audible alarm.Generally speaking, the start-up course of BIOS 22 is divided into four-stage, be respectively range of stability (SEC), context initialization phase (PEI), drive execution environment stage (DXE) and starting outfit choice phase (BDS), (Operating System) afterwards starts the operating system.In this preferred embodiment, as shown in Figure 5, described audio setting code can be deposited the SEC stage, namely at BIOS 22, enters SEC during the stage, will carry out the audio setting code.Described status report code can be deposited in above-mentioned each stage, namely at BIOS 22 when entering above-mentioned each stage, can executing state the report code, with the running status of monitoring mainboard 20 all parts (for example, internal memory etc.) in initialization procedure.In this preferred embodiment, described BIOS 22 is unified Extensible Firmware Interface (Universal Extensible Firmware Interface, UEFI) BIOS.
As shown in Figure 2, be the functional block diagram of BIOS warning system 220 preferred embodiments in Fig. 1 of the present invention.This BIOS warning system 220 comprises execution module 222, judge module 224 and sending module 226.The alleged module of the present invention has been the computer program code segments of a specific function, be more suitable in describing the implementation of software in computing machine than program, therefore below the present invention to all with module, describing in software description.
Described execution module 222 is used for carrying out the audio setting code when BIOS 22 starts, and, so that Audio Controller 240 is arranged, makes the Audio Controller 240 can be according to the mistake that BIOS 22 the monitors alerting signal of sounding.Particularly, just carry out the audio setting code in the SEC stage of BIOS 22.
Described judge module 224 is used for the stages executing state report code in BIOS 22 operations, with the running status of monitoring mainboard 20 all parts in initialization procedure, thereby judges the whether wrong generation of described parts.
Described sending module 226 is used for when judgment result is that the wrong generation of certain parts, sends alarm command and carries out audible alarm to Audio Controller 240.Particularly, in this preferred embodiment, the sound of warning is as follows: 1 is short: system normally starts; 2 is short: conventional mistake, as: can not find hard disk master (No IDE master hdd); 1 long 1 is short: random access memory (Random-Access Memory:RAM) or mainboard are made mistakes; 1 long 2 is short: display or display card mistake; 1 long 3 is short: the keyboard controller mistake checks mainboard; 1 long 9 is short: motherboard flash (Flash RAM) or bad eprom error, or BIOS damages; Constantly ring (long sound): memory bar is not seated or damages; Ceaselessly ring: power supply, display do not connect with display card; Repeat short sound: power issue; Voiceless sound: power issue.
As shown in Figure 3, be the process flow diagram of BIOS alarm method of the present invention preferred embodiment.
Step S10, when BIOS 22 started, execution module 222 was carried out the audio setting codes,, so that Audio Controller 240 is arranged, made the Audio Controller 240 can be according to the mistake that BIOS 22 the monitors alerting signal of sounding.Particularly, just carry out the audio setting code in the SEC stage of BIOS 22.The mode that arranges can have a detailed description in Fig. 4.
Step S11, judge module 224 be at the stages executing state report code of BIOS 22 operation, to detect the running status of mainboard 20 all parts in initialization procedure, thereby judges the whether wrong generation of described parts.Particularly, after judge module 224 executing state report codes, BIOS warning system 220 just starts to monitor the running status of mainboard 20 all parts in the initialization process, for example, and the running status of monitoring hard disk, the running status of monitoring internal memory etc.When judgment result is that the wrong generation of certain parts, flow process enters step S12; When judgment result is that while there is no the wrong generation of parts, direct process ends.
Step S12, sending module 226 sends alarm command and reports to the police to Audio Controller 240.
As shown in Figure 4, the refinement process flow diagram that in Fig. 3 step S10 of the present invention, 220 pairs of Audio Controllers 240 of BIOS warning system arrange.
Step S100, execution module 220 distributes an interim plot to Audio Controller 240.Interim plot by described distribution, can find Audio Controller 240.
Step S110, according to above-mentioned interim plot, execution module 220 sends control command to Audio Controller 240, Audio Controller 240 is arranged, to determine its mode of operation.Described mode of operation is used for determining Audio Controller 240.Described mode of operation comprises high-fidelity mode of operation and normal mode of operation.Particularly, when the mode of operation of Audio Controller 240 was the high-fidelity mode of operation, Audio Controller 240 produced the high fidelity sound tone signal, and when the mode of operation of Audio Controller 240 was normal mode of operation, Audio Controller 240 produced the common acoustic signal.
Step S120, execution module 220 sends the connecting line number and enumerates order to Audio Controller 240, to obtain the connecting line number of Audio Controller 240 and audio decoder 28.Particularly, by the connecting line number, enumerate order Codec Link re-enumeration, obtain the connecting line number of Audio Controller 240 and audio decoder 28.
Step S130, the connecting line number according to obtaining, judge whether to monitor audio decoder 28,, if monitor audio decoder 28, performs step S140, if do not monitor audio decoder 28, process ends.
Step S140, audio decoder 28 is arranged, audio decoder 28 can be decoded according to the audible ringing signal of the mode of operation generation of above-mentioned setting to Audio Controller 240, and decoded audible ringing signal is passed to sound equipment 10, thereby make sound equipment 10 send alarm sound.Described to audio decoder setting comprise that signal source arranges, the setting of encoding/decoding mode and the setting of signal output mode.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to above preferred embodiment, the present invention is had been described in detail, those of ordinary skill in the art should be appreciated that to modify or to be equal to replacement technical scheme of the present invention and should not break away from the spirit and scope of technical solution of the present invention.

Claims (6)

1. BIOS warning system, run in BIOS, it is characterized in that, this BIOS is added with audio setting code and status report code, wherein, the audio setting code is deposited the range of stability of BIOS, be used for can arranging Audio Controller when carrying out this audio setting code, thereby realize when the BIOS warning system monitors mistake, Audio Controller receives the steering order that BIOS sends over, and carries out audible alarm;
Described status report code is deposited respectively range of stability, context initialization phase, driving execution environment stage and the starting outfit of BIOS in the choice phase, be used for BIOS when entering above-mentioned stages, can executing state report code, with the running status of monitoring mainboard all parts in initialization procedure;
This BIOS warning system comprises:
Execution module, be used for carrying out the audio setting code when BIOS starts, and, so that Audio Controller is arranged, makes Audio Controller carry out audible alarm according to the mistake that BIOS monitors;
Judge module, be used for the stages executing state report code in the BIOS operation, with the running status of monitoring mainboard all parts in initialization procedure, thereby judges the whether wrong generation of described parts; And
Sending module, be used for when judgment result is that wrong generation, sends alarm command and carry out audible alarm to Audio Controller.
2. BIOS warning system as claimed in claim 1, is characterized in that, described Audio Controller is HD Audio.
3. a BIOS alarm method, is characterized in that, the method comprising the steps of:
The audio setting code is deposited the range of stability of BIOS, be used for can arranging Audio Controller when carrying out this audio setting code, thereby realize when the BIOS warning system monitors mistake, Audio Controller receives the steering order that BIOS sends over, and carries out audible alarm;
The status report code is deposited respectively range of stability, context initialization phase, driving execution environment stage and the starting outfit of BIOS in the choice phase, be used for BIOS when entering above-mentioned stages, can executing state report code, with the running status of monitoring mainboard all parts in initialization procedure;
When BIOS starts, carry out the audio setting code so that Audio Controller is arranged, make Audio Controller carry out audible alarm according to the mistake that BIOS monitors;
, at the stages executing state report code of BIOS operation, with the running status of monitoring mainboard all parts in initialization procedure, thereby judge the whether wrong generation of described parts; And
When judgment result is that wrong generation, send alarm command and carry out audible alarm to Audio Controller.
4. BIOS alarm method as claimed in claim 3, is characterized in that, described Audio Controller is HD Audio.
5. BIOS alarm method as claimed in claim 3, it is characterized in that, described step when BIOS starts, is carried out the audio setting code so that Audio Controller is arranged, and makes Audio Controller carry out audible alarm according to the mistake that BIOS monitors and comprises the steps:
BIOS distributes an interim plot to Audio Controller;
According to above-mentioned interim plot, send control command to Audio Controller, Audio Controller is arranged, to determine the mode of operation of this Audio Controller;
Send the order of connecting line number to Audio Controller, to obtain the connecting line number of Audio Controller and audio decoder;
Connecting line number according to the audio decoder that obtains, judge whether to monitor audio decoder; And
Audio decoder is arranged, audio decoder can be decoded according to the audible ringing signal of the mode of operation generation of above-mentioned setting to Audio Controller, and decoded audible ringing signal is passed to sound equipment, thereby make sound equipment send alarm sound.
6. BIOS alarm method as claimed in claim 3, is characterized in that, described to audio decoder setting comprise that signal source arranges, the setting of encoding/decoding mode and the setting of signal output mode.
CN2010101764283A 2010-05-19 2010-05-19 Alarm system and method for BIOS (Basic Input Output System) Expired - Fee Related CN102253873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101764283A CN102253873B (en) 2010-05-19 2010-05-19 Alarm system and method for BIOS (Basic Input Output System)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101764283A CN102253873B (en) 2010-05-19 2010-05-19 Alarm system and method for BIOS (Basic Input Output System)

Publications (2)

Publication Number Publication Date
CN102253873A CN102253873A (en) 2011-11-23
CN102253873B true CN102253873B (en) 2013-11-20

Family

ID=44981150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101764283A Expired - Fee Related CN102253873B (en) 2010-05-19 2010-05-19 Alarm system and method for BIOS (Basic Input Output System)

Country Status (1)

Country Link
CN (1) CN102253873B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589792A (en) * 2014-11-17 2016-05-18 鸿富锦精密工业(武汉)有限公司 Alarm circuit

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103576008A (en) * 2012-07-19 2014-02-12 鸿富锦精密工业(深圳)有限公司 Electronic device capable of indicating hardware fault through sound, and method
CN104503727A (en) * 2014-12-24 2015-04-08 杭州华三通信技术有限公司 Audio processing method and device based on KVM system, and server
CN104573529B (en) * 2015-01-28 2018-04-17 加弘科技咨询(上海)有限公司 A kind of division of BIOS/firmware, update method and system
CN105159810B (en) * 2015-10-16 2019-05-24 合肥联宝信息技术有限公司 The method and device that the BIOS of computer system is tested
CN106095630A (en) * 2016-05-31 2016-11-09 合肥联宝信息技术有限公司 The method performing BIOS power-on self-test program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501249A (en) * 2002-11-12 2004-06-02 联想(北京)有限公司 Diagnostic circuit module and method for detecting computer trouble
CN1967478A (en) * 2005-11-16 2007-05-23 鸿富锦精密工业(深圳)有限公司 Setting system and method of basic input output system
CN101192187A (en) * 2006-11-30 2008-06-04 中国长城计算机深圳股份有限公司 Computer fault alarm system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1501249A (en) * 2002-11-12 2004-06-02 联想(北京)有限公司 Diagnostic circuit module and method for detecting computer trouble
CN1967478A (en) * 2005-11-16 2007-05-23 鸿富锦精密工业(深圳)有限公司 Setting system and method of basic input output system
CN101192187A (en) * 2006-11-30 2008-06-04 中国长城计算机深圳股份有限公司 Computer fault alarm system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105589792A (en) * 2014-11-17 2016-05-18 鸿富锦精密工业(武汉)有限公司 Alarm circuit

Also Published As

Publication number Publication date
CN102253873A (en) 2011-11-23

Similar Documents

Publication Publication Date Title
CN102253873B (en) Alarm system and method for BIOS (Basic Input Output System)
US6625742B1 (en) Computer diagnostic having an LED to provide direct visual feedback as to the status of the standby power supply when power button is actuated
CN109558282B (en) PCIE link detection method, system, electronic equipment and storage medium
CN102880527B (en) Data recovery method of baseboard management controller
CN104639380A (en) Server monitoring method
CN107656856B (en) CPLD-based system state display method and device
WO2018095107A1 (en) Bios program abnormal processing method and apparatus
CN103324565B (en) Daily record monitoring method
US11853150B2 (en) Method and device for detecting memory downgrade error
US20170115996A1 (en) Reboot system and method for baseboard management controller
CN116107819A (en) Server start-up fault detection system, method, device and medium
US8447966B2 (en) Peripheral control module, computer system, and operation method thereof
WO2017080225A1 (en) Data partition recovery method and apparatus and terminal
US9047190B2 (en) Intrusion protection for a client blade
CN109582505B (en) BIOS option default value recovery system, method and device
CN109032867A (en) A kind of method for diagnosing faults, device and equipment
CN111988196B (en) Bandwidth detection method and device, electronic equipment and storage medium
CN110096882B (en) Safety measurement method in equipment operation process
CN101001167A (en) Method for dynamic setting management function at management interface of intelligent interface
CN104750551A (en) A computer system and user-defined responding method thereof
US20100121909A1 (en) Storage apparatus and on-line client service system, software and method thereof
CN115033441A (en) PCIe equipment fault detection method, device, equipment and storage medium
US20050210329A1 (en) Facilitating system diagnostic functionality through selective quiescing of system component sensor devices
CN110704219B (en) Hardware fault reporting method and device and computer storage medium
CN101408860A (en) Monitoring apparatus and monitoring method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Zhang Tingting

Inventor after: Jiang Tao

Inventor after: Zheng Zhiqiao

Inventor before: Jiang Tao

Inventor before: Zheng Zhiqiao

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: JIANG TAO ZHENG ZHIQIAO TO: ZHANG TINGTING JIANG TAO ZHENG ZHIQIAO

ASS Succession or assignment of patent right

Free format text: FORMER OWNER: HONGFUJIN PRECISE INDUSTRY CO., LTD.

Effective date: 20141115

Owner name: NANTONG HENGXIN PRECISION MACHINERY CO., LTD.

Free format text: FORMER OWNER: HONGFUJIN PRECISE INDUSTRY (SHENZHEN) CO., LTD.

Effective date: 20141115

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518109 SHENZHEN, GUANGDONG PROVINCE TO: NANTONG, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20141115

Address after: Jiangsu city of Nantong province Tongzhou District Su Chi Liu Qiaozhen 26 groups

Patentee after: Nantong Hengxin Fine Machinery Co., Ltd.

Address before: 518109 Guangdong city of Shenzhen province Baoan District Longhua Town Industrial Zone tabulaeformis tenth East Ring Road No. 2 two

Patentee before: Hongfujin Precise Industry (Shenzhen) Co., Ltd.

Patentee before: Hon Hai Precision Industry Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131120

Termination date: 20190519

CF01 Termination of patent right due to non-payment of annual fee