CN109086154A - One kind is for detecting BIOS watchdog function inverse timing device and method - Google Patents

One kind is for detecting BIOS watchdog function inverse timing device and method Download PDF

Info

Publication number
CN109086154A
CN109086154A CN201810834599.7A CN201810834599A CN109086154A CN 109086154 A CN109086154 A CN 109086154A CN 201810834599 A CN201810834599 A CN 201810834599A CN 109086154 A CN109086154 A CN 109086154A
Authority
CN
China
Prior art keywords
bios
force
house dog
module
processor
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.)
Granted
Application number
CN201810834599.7A
Other languages
Chinese (zh)
Other versions
CN109086154B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810834599.7A priority Critical patent/CN109086154B/en
Publication of CN109086154A publication Critical patent/CN109086154A/en
Application granted granted Critical
Publication of CN109086154B publication Critical patent/CN109086154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

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

Abstract

The present invention provides a kind of for detecting BIOS watchdog function inverse timing device and method, the house dog that will test the come into force duration that comes into force of duration setting module setting of duration and BIOS house dog that comes into force is compared, it will test process data and detection log be recorded in comparison result data, check whether BIOS house dog count down time is consistent with what is be arranged in BIOS by detection log.When the house dog of detection come into force duration beyond BIOS house dog come into force duration setting module setting come into force duration when, the mark duration superthreshold prompt in detection log, storage current detection log is pressed from both sides in default file, the web terminal interface of calling device ontology simultaneously, uploading detection log prompts testing staff.Find whether BIOS house dog count down time meets the requirements in time convenient for tester.Error brought by manual time-keeping can be effectively avoided in this way, to improve testing efficiency well, improve test preciseness.

Description

One kind is for detecting BIOS watchdog function inverse timing device and method
Technical field
The present invention relates to memory test field, more particularly to it is a kind of for detect BIOS watchdog function inverse timing device and Method.
Background technique
Watchdog function in BIOS is to allow the function that can be automatically reset after POST stage server delay machine.Mesh Preceding user is higher and higher to the functional requirement to automatically reset, and server can be realized after delay machine and automatically reset, and avoids again by people Work goes hand-reset.And in some automation places, server will guarantee to occur in startup self-detection interface after delay machine will be Recovery operation is carried out in set time.Server is resetted, restores normal.The watchdog function of server is especially heavy in this way It wants, usually when testing server, needs individually to test auto-reset function, the mode tested at present is usually logical Device is crossed when manually using tricks to carry out timing, checks whether and meets the requirements.It often will appear deviation in this way, if deviation is larger to be caused It is unable to satisfy the requirement to automatically reset after server delay machine.And the mode tested at present is surveyed usually in the using area of user The using area that examination personnel will arrive user according to the demand of user wanted in this way based on the test of server auto-reset function The convenience and ease for operation for guaranteeing test device are sought, how to guarantee the convenience and ease for operation of test device, and can Realize that automatic testing process is current assistant officer technical problem to be solved.
Summary of the invention
In order to overcome the deficiencies in the prior art described above, the present invention provide it is a kind of for detect BIOS watchdog function based on When device, comprising: device noumenon;Device noumenon is equipped with network connection control button and house dog countdown control button;
Mainboard is equipped with inside device noumenon, be provided on mainboard processor, communication module, I/O interface module, memory and For giving the supplying cell of device noumenon power elements;
Communication module and memory are connect with processor respectively;
Network connection control button and house dog countdown control button pass through I/O interface module respectively and connect with processor;
Memory inside is stored with BIOS house dog and comes into force timing module, and server to be measured starts control module, and BIOS is seen Door dog is come into force duration setting module and delay machine script module;
Processor obtains network connection control instruction by network connection control button, transfers communication module, makes to communicate mould Block and server to be measured carry out network communication connection, and communication module is returned with after server network successful connection to be measured to processor It is connected to the network pass signal again, processor is shown to pass signal is connected to the network on display screen;
Processor obtains server house dog countdown test instruction to be measured by house dog countdown control button, transfers Server starting control module to be measured starts server to be measured, and executing delay machine script module makes server to be measured in the self-test stage Delay machine, after processor gets server delay machine to be measured, the countdown module that BIOS house dog is come into force detects BIOS house dog Entry-into-force time, and when time for coming into force of the BIOS house dog that will test and server downtime to be measured form house dog and come into force Long, by the entry-into-force time of BIOS house dog, server downtime to be measured and the house dog duration that comes into force are sent to processor, locate The house dog that will test of reason device duration and BIOS the house dog duration that comes into force that duration setting module is arranged that comes into force that comes into force is compared, It will test process data and detection log be recorded in comparison result data, will test log and store to memory inside.
Preferably, memory inside is also stored with cycle-index setup module and intercycle time setup module;
Cycle-index setup module is used to be arranged the long cycle-index of detection BIOS watchdog function countdown;
Intercycle time setup module be used for be arranged detection the countdown of BIOS watchdog function grow circulation between when Between be spaced;
Processor obtains server house dog countdown test instruction to be measured by house dog countdown control button, transfers Server starting control module to be measured starts server to be measured, and executing delay machine script module makes server to be measured in self-test rank Section delay machine, after processor gets server delay machine to be measured, the countdown module that BIOS house dog is come into force detects BIOS house dog Entry-into-force time, and when time for coming into force of the BIOS house dog that will test and server downtime to be measured form house dog and come into force Long, by the entry-into-force time of BIOS house dog, server downtime to be measured and the house dog duration that comes into force are sent to processor, locate The house dog that will test of reason device duration and BIOS the house dog duration that comes into force that duration setting module is arranged that comes into force that comes into force is compared, Log is compared in formation, is stored to memory inside;
Processor by cycle-index setup module obtain the long cycle-index of detection BIOS watchdog function countdown with And the time interval between the long circulation of detection BIOS watchdog function countdown is obtained by intercycle time setup module;
According to the time interval between cycle-index and each circulation, circulation is executed, and by the implementation procedure of each circulation Detection log is recorded in data and comparison result data, will test log and stores to memory inside.
Preferably, it is additionally provided with display screen in device noumenon, is additionally provided with voice cue module on mainboard;
Voice cue module and display screen are connect with processor respectively;
Processor is also used to by the entry-into-force time of BIOS house dog, when server downtime to be measured and house dog are come into force It is long to be played by voice cue module, also shown by display screen;
The duration progress that comes into force for duration setting module setting that the house dog that will test comes into force duration and BIOS house dog is come into force Comparison result is played by voice cue module, is also played out.
Preferably, be additionally provided in device noumenon RS485 communication interface, CAN Netcom communication interface, ethernet communication interface, RS232 communication interface;
Communication module is connected using Bluetooth-mode communication or WIFI mode communicates to connect or radio frequency method communication connection, or Infrared mode communication connection or GSM mode communicate to connect.
Preferably, device noumenon further include: wechat client;
Wechat client is for communicating to connect device noumenon and wechat end, by the data information transfer of device noumenon to micro- Believe end, makes between multiple device noumenons and user terminal is by wechat end, obtain detection log.
Preferably, test initial setting up circuit, direct current transformation circuit and voltage regulator circuit are additionally provided on mainboard;
Device noumenon, which is equipped with, tests initial control button;
Test initial control button by test initial setting up circuit connection processor, initially for test based on the received Instruction carries out test initialization setting to processor;
Supplying cell, tests initial control button, direct current transformation circuit, voltage regulator circuit, test initial setting up circuit and Processor is sequentially connected;
Test initial control button for obtain user input test initial setting up control instruction, and reach it is preset by After pressing duration, realizes supplying cell to test initial setting up circuit power supply and initial setting up is tested to processor.
Preferably, test initial setting up circuit includes: initial resistance R1, initial resistance R2, initial resistance R3, initial capacitance C1, initial capacitance C2, initial diode VD, initial triode Q;The first end of initial resistance R3, the anode of initial capacitance C1 are equal It is connect with test initial setting up circuit input end;The cathode of initial capacitance C1 and one end, the initial diode VD of initial resistance R1 Cathode connection;The other end of initial resistance R1 is connect with the pole b of one end of initial resistance R2, initial triode Q;Initial three-level The pole c of pipe Q is connect with the first end of initial capacitance C2;The second end of initial resistance R3, the anode of initial diode VD, initial electricity Resistance the second end of R2, the pole e of initial triode Q, initial capacitance C2 second end be grounded.
Preferably, memory inside is also stored with detection log management module;
Processor transfers detection log management module, ought time detection log cached, when complete when time detection after by When secondary detection log is transferred to memory;It the settling time of each detection log of processor flag, modification time and checks the time;
Memory inside is also stored with installation GNU compiler external member, g++ and gfortran compiler, constructs log program Compilation run environment and compiling source code for processor transfer use;
Processor be also used to when detection house dog come into force duration beyond BIOS house dog come into force duration setting module setting Come into force duration when, detection log on mark duration superthreshold prompt, default file press from both sides storage current detection log, simultaneously The web terminal interface of calling device ontology, uploading detection log prompt testing staff.
For detecting BIOS watchdog function countdown method, method includes: one kind
Step 1, processor obtain network connection control instruction by network connection control button, transfer communication module, make Communication module and server to be measured carry out network communication connection;
After step 2, communication module and server network successful connection to be measured, it is connected to the network to processor reply and successfully believes Number, processor is shown to pass signal is connected to the network on display screen;
Step 3, processor obtain server house dog countdown test to be measured by house dog countdown control button and refer to It enables, transferring server starting control module to be measured starts server to be measured;
Step 4, executing delay machine script module makes server to be measured in self-test stage delay machine;
Step 5, after processor gets server delay machine to be measured, the countdown module that BIOS house dog is come into force is detected The entry-into-force time of BIOS house dog, and the time that the BIOS house dog that will test is come into force sees with server downtime to be measured formation Door dog is come into force duration, and by the entry-into-force time of BIOS house dog, server downtime to be measured and house dog are come into force duration transmission To processor;
Step 6, duration setting module setting that the house dog that processor will test comes into force duration and BIOS house dog is come into force The duration that comes into force is compared, and will test process data and detection log is recorded in comparison result data, will test log store to Memory inside.
Preferably, after step 6 further include:
Processor by cycle-index setup module obtain the long cycle-index of detection BIOS watchdog function countdown with And the time interval between the long circulation of detection BIOS watchdog function countdown is obtained by intercycle time setup module;
According to the time interval between cycle-index and each circulation, the step 6 of step 3 is executed again, and by setting Cycle-index and each circulation between time interval recycle execute;
Detection log is recorded in the implementation procedure data of each circulation and comparison result data, will test log store to Memory inside.
As can be seen from the above technical solutions, the invention has the following advantages that
The house dog that the present invention will test comes into force duration and BIOS house dog is come into force when coming into force of duration setting module setting Length is compared, and will test process data and detection log is recorded in comparison result data, will test log and store to memory It is internal.Check whether BIOS house dog count down time is consistent with what is be arranged in BIOS by detection log.When guarding the gate for detection Dog come into force duration beyond BIOS house dog come into force duration setting module setting come into force duration when, detection log on identify duration Superthreshold prompt presss from both sides storage current detection log, while the web terminal interface of calling device ontology, uploading detection in default file Log prompts testing staff.Find whether BIOS house dog count down time meets the requirements in time convenient for tester.
Error brought by manual time-keeping can be effectively avoided in this way to mention to improve testing efficiency well Height test preciseness.And can carry for detecting BIOS watchdog function inverse timing device, and by wirelessly or non-wirelessly with Server connection to be tested, guarantees the convenience and ease for operation of test device, and can be realized automatic testing process.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, attached drawing needed in description will be made below simple Ground introduction, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill For personnel, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is for detecting BIOS watchdog function inverse timing device schematic diagram;
Fig. 2 is test initial setting up circuit diagram;
Fig. 3 is for detecting BIOS watchdog function countdown method flow diagram.
Specific embodiment
The present invention provides one kind for detecting BIOS watchdog function inverse timing device, as shown in Fig. 1 to 2, comprising: device Ontology 1;Device noumenon 1 is equipped with network connection control button and house dog countdown control button 3;It is set inside device noumenon 1 There is mainboard, processor 11, communication module, I/O interface module, memory are provided on mainboard and are used to supply to 1 element of device noumenon The supplying cell 12 of electricity;
Communication module and memory are connect with processor 11 respectively;It is connected to the network control button and house dog countdown control Key 3 processed is connect by I/O interface module with processor 11 respectively;Memory inside is stored with BIOS house dog and comes into force timing mould Block, server to be measured start control module, and BIOS house dog is come into force duration setting module and delay machine script module;Processor 11 Network connection control instruction is obtained by network connection control button, communication module is transferred, makes communication module and server to be measured Carry out network communication connection, after communication module and server network successful connection to be measured, to processor 11 reply network connection at Function signal, processor 11 are shown to pass signal is connected to the network on display screen 2;
Processor 11 obtains server house dog countdown test instruction to be measured by house dog countdown control button 3, Transferring server starting control module to be measured starts server to be measured, and executing delay machine script module makes server to be measured in self-test Stage delay machine, after processor 11 gets server delay machine to be measured, the countdown module detection BIOS that BIOS house dog is come into force is seen The entry-into-force time of door dog, and the time that the BIOS house dog that will test is come into force forms house dog life with server downtime to be measured Duration is imitated, by the entry-into-force time of BIOS house dog, server downtime to be measured and the house dog duration that comes into force are sent to processing Device 11, the duration that comes into force for duration setting module setting that the house dog that processor 11 will test comes into force duration and BIOS house dog is come into force It is compared, will test process data and detection log is recorded in comparison result data, will test log and store to memory Portion.
It in order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below will be with specific Examples and drawings, the technical solution protected to the present invention are clearly and completely described, it is clear that implementation disclosed below Example is only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiment in this patent, the common skill in this field Art personnel all other embodiment obtained without making creative work belongs to the model of this patent protection It encloses.
In embodiment provided by the invention, memory inside is also stored with cycle-index setup module and intercycle time Setup module;Cycle-index setup module is used to be arranged the long cycle-index of detection BIOS watchdog function countdown;Between circulation It is used to be arranged the time interval between the long circulation of detection BIOS watchdog function countdown every time setup module;
Processor 11 obtains server house dog countdown test instruction to be measured by house dog countdown control button 3, Transferring server starting control module to be measured starts server to be measured, and executing delay machine script module makes server to be measured certainly Inspection stage delay machine, after processor 11 gets server delay machine to be measured, the countdown module that BIOS house dog is come into force detects BIOS The entry-into-force time of house dog, and the time that the BIOS house dog that will test is come into force forms house dog with server downtime to be measured Come into force duration, and by the entry-into-force time of BIOS house dog, server downtime to be measured and the house dog duration that comes into force are sent to place Device 11 is managed, the house dog that processor 11 will test comes into force duration and BIOS house dog is come into force when coming into force of duration setting module setting Length is compared, and log is compared in formation, is stored to memory inside;Processor 11 obtains detection by cycle-index setup module The cycle-index and guarded the gate by intercycle time setup module acquisition detection BIOS that BIOS watchdog function countdown is grown Time interval between the long circulation of dog function countdown;According to the time interval between cycle-index and each circulation, circulation Execute, and detection log be recorded in the implementation procedure data of each circulation and comparison result data, will test log store to Memory inside.
If realized within hardware, the present invention relates to a kind of devices, such as can be used as processor 11 or integrated circuit Device, such as IC chip or chipset.Alternatively or additionally, if realized in software or firmware, the technology It can be achieved when implemented, processor 11 to be made to execute one at least partly by computer-readable data storage medium, including instruction A or more above method.For example, computer-readable data storage medium can store and such as be executed by processor 11 Instruction.
In embodiment provided by the invention, it is additionally provided with display screen 2 in device noumenon 1, is additionally provided with voice prompting on mainboard Module;Voice cue module and display screen 2 are connect with processor 11 respectively;Processor 11 is also used to coming into force BIOS house dog Time, server downtime to be measured and house dog come into force duration by voice cue module broadcasting, also pass through display screen display Show;What the house dog that will test came into force that duration and BIOS house dog come into force duration setting module setting comes into force what duration was compared As a result it is played by voice cue module, is also played out.
In embodiment provided by the invention, be additionally provided in device noumenon 1 RS485 communication interface, CAN Netcom communication interface, with Too Netcom's communication interface, RS232 communication interface;Communication module is connected using Bluetooth-mode communication or WIFI mode communicates to connect, or Radio frequency method communication connection or infrared mode communication connection or GSM mode communicate to connect.
Device noumenon 1 further include: wechat client;Wechat client is used to that device noumenon and wechat end to be made to communicate to connect, By the data information transfer of device noumenon to wechat end, makes between multiple device noumenons and user terminal is by wechat end, obtain Take detection log.
Be additionally provided in embodiment provided by the invention, on mainboard test initial setting up circuit, direct current transformation circuit 14 with And voltage regulator circuit 15;Device noumenon 1, which is equipped with, tests initial control button 13;It is initial by test to test initial control button 13 Circuit connection processor 11 is set, test initialization setting is carried out to processor 11 for test initial order based on the received; Supplying cell 12, tests initial control button 13, direct current transformation circuit 14, voltage regulator circuit 15, test initial setting up circuit and Processor 11 is sequentially connected;Initial control button 13 is tested for obtaining the test initial setting up control instruction of user's input, and After reaching preset pressing duration, realizes supplying cell 12 to test initial setting up circuit power supply and processor 11 is tested initially Setting.
Test initial setting up circuit includes: initial resistance R1, initial resistance R2, initial resistance R3, initial capacitance C1, initially Capacitor C2, initial diode VD, initial triode Q;The first end of initial resistance R3, the anode of initial capacitance C1 are first with test Begin that circuit input end connection is arranged;The cathode of initial capacitance C1 connects with one end of initial resistance R1, the cathode of initial diode VD It connects;The other end of initial resistance R1 is connect with the pole b of one end of initial resistance R2, initial triode Q;The pole c of initial triode Q It is connect with the first end of initial capacitance C2;The second end of initial resistance R3, the anode of initial diode VD, initial resistance R2 Two ends, the pole e of initial triode Q, initial capacitance C2 second end be grounded.
It tests initial setting up circuit and test initial time delay setting is made using initial capacitance C1, also added initial diode VD Circuit is constituted with initial capacitance C1, accelerates the charge release of initial capacitance C1, to ensure that next in shorter time progress Secondary test initial time delay setting, so that the functional reliability of test initial setting up circuit is higher.Testing initial control button quilt After pressing preset duration, test initial setting up circuit is powered on, and will be charged to initial capacitance C1, what is charged to initial capacitance C1 In the process, the electric current in circuit be can be to have transient voltage by initial capacitance C1, the pole b of initial triode Q, transient voltage Greater than 0.7V, thus initial triode Q transient switching, also moment is pulled low current potential connected to the processor, when processor detects When being drawn as low level state to current potential, test initial setting up response is made.After initial capacitance C1 is fully charged, initial capacitance C1 is equivalent to an open circuit, and at this time initial triode Q is ended, and test initial set-up procedure terminates, and processor carries out current BIOS watchdog function countdown detection.
In embodiment provided by the invention, memory inside is also stored with detection log management module;Processor 11 is transferred Log management module is detected, log secondary ought be detected and be cached, is transferred to when completion secondary ought detect log after time detection Memory;Processor 11 identifies the settling time of each detection log, modification time and checks the time;Memory inside also stores There are installation GNU compiler external member, g++ and gfortran compiler, constructs log program compilation run environment and compiling source generation Code transfers use for processor 11;Processor 11 be also used to when the house dog of detection come into force duration beyond BIOS house dog come into force when The setting of long setup module come into force duration when, the mark duration superthreshold prompt in detection log is worked as in default file folder storage Preceding detection log, while the web terminal interface of calling device ontology 1, uploading detection log prompt testing staff.
The present invention also provides one kind for detecting BIOS watchdog function countdown method, as shown in figure 3, method includes:
Step 1, processor obtain network connection control instruction by network connection control button, transfer communication module, make Communication module and server to be measured carry out network communication connection;
After step 2, communication module and server network successful connection to be measured, it is connected to the network to processor reply and successfully believes Number, processor is shown to pass signal is connected to the network on display screen;
Step 3, processor obtain server house dog countdown test to be measured by house dog countdown control button and refer to It enables, transferring server starting control module to be measured starts server to be measured;
Step 4, executing delay machine script module makes server to be measured in self-test stage delay machine;
Step 5, after processor gets server delay machine to be measured, the countdown module that BIOS house dog is come into force is detected The entry-into-force time of BIOS house dog, and the time that the BIOS house dog that will test is come into force sees with server downtime to be measured formation Door dog is come into force duration, and by the entry-into-force time of BIOS house dog, server downtime to be measured and house dog are come into force duration transmission To processor;
Step 6, duration setting module setting that the house dog that processor will test comes into force duration and BIOS house dog is come into force The duration that comes into force is compared, and will test process data and detection log is recorded in comparison result data, will test log store to Memory inside.
In method provided by the invention, processor obtains detection BIOS watchdog function by cycle-index setup module and falls The cycle-index and pass through intercycle time setup module acquisition detection BIOS watchdog function countdown length that timing is grown Time interval between circulation;
According to the time interval between cycle-index and each circulation, the step 6 of step 3 is executed again, and by setting Cycle-index and each circulation between time interval recycle execute;
Detection log is recorded in the implementation procedure data of each circulation and comparison result data, will test log store to Memory inside.
In order to further illustrate book method provided by the invention, it is illustrated below with a specific embodiment.
Open the watchdog function of server.The order of 100 monitoring watchdog countdowns of circulation is set, at this 100 times In it is every execute a subcommand after can all be spaced 1 second time.
Processor obtains network connection control instruction by network connection control button, transfers communication module, makes to communicate mould Block and server to be measured carry out network communication connection;Using detection BIOS watchdog function inverse timing device as tester table Network segment in.Ensure that control terminal can be normally carried out PING and lead to tester table.Communication module is connected into server network to be measured After function, network connection pass signal is replied to processor, processor is shown to pass signal is connected to the network on display screen;Processing Device obtains server house dog countdown test instruction to be measured by house dog countdown control button, transfers server to be measured and opens Dynamic control module starts server to be measured;
In detection BIOS watchdog function inverse timing device, a file with " .bat " for suffix is established, it is literary herein Following code is inputted in part:
Processor obtains server house dog countdown test instruction to be measured by house dog countdown control button, transfers Server starting control module to be measured starts server to be measured;Executing delay machine script module makes server to be measured in the self-test stage Delay machine;" .bat " file is run after server delay machine on a processor.Cursor can be constantly in the state of flashing;Processor obtains To after server delay machine to be measured, the entry-into-force time for the countdown module detection BIOS house dog that BIOS house dog is come into force, and will inspection Time that the BIOS house dog of survey is come into force and server downtime to be measured form house dog and come into force duration, by BIOS house dog Entry-into-force time, server downtime to be measured and the house dog duration that comes into force are sent to processor;What processor will test guards the gate Dog the come into force duration that comes into force of duration setting module setting of duration and BIOS house dog that comes into force is compared, will test process data and Detection log is recorded in comparison result data, will test log and stores to memory inside.
After circular flow 100 times, the meeting in file generates a LOG file.LOG log in file is exactly to detect The countdown that the BIOS house dog come is come into force.
Watchdog Timer Use refer to test house dog functional module title be FRB2 either watchdog。
Watchdog Timer Actions be shown at BIOS be arranged test machine delay machine after timing time terminate When tester table need the movement done.
Initial Countdown, which is shown, is arranged the time of house dog countdown is how many at BIOS.
The countdown that Present Countdown refers to, the time checked each time all can be than times for checking before Want small.This range is that maximum is as Initial Countdown, and minimum is 0.
Whether the time that the Initial Countdown that tester check in LOG in this way is shown is divided into BIOS The time consistency set.
When the house dog of detection come into force duration beyond BIOS house dog come into force duration setting module setting come into force duration when, The mark duration superthreshold prompt in detection log presss from both sides storage current detection log, while calling device ontology in default file Web terminal interface, uploading detection log, prompt testing staff.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. one kind is for detecting BIOS watchdog function inverse timing device characterized by comprising device noumenon (1);Device sheet Body (1) is equipped with network connection control button and house dog countdown control button (3);
It is equipped with mainboard inside device noumenon (1), is provided with processor (11), communication module, I/O interface module, memory on mainboard With for device noumenon (1) power elements supplying cell (12);
Communication module and memory are connect with processor (11) respectively;
Control button and house dog countdown control button (3) is connected to the network to connect by I/O interface module and processor (11) respectively It connects;
Memory inside is stored with BIOS house dog and comes into force timing module, and server to be measured starts control module, BIOS house dog The duration setting module that comes into force and delay machine script module;
Processor (11) obtains network connection control instruction by network connection control button, transfers communication module, makes to communicate mould Block and server to be measured carry out network communication connection, after communication module and server network successful connection to be measured, to processor (11) network connection pass signal is replied, processor (11) is shown to pass signal is connected to the network on display screen (2);
Processor (11) obtains server house dog countdown test instruction to be measured by house dog countdown control button (3), Transferring server starting control module to be measured starts server to be measured, and executing delay machine script module makes server to be measured in self-test Stage delay machine, after processor (11) gets server delay machine to be measured, the countdown module that BIOS house dog is come into force detects BIOS The entry-into-force time of house dog, and the time that the BIOS house dog that will test is come into force forms house dog with server downtime to be measured Come into force duration, and by the entry-into-force time of BIOS house dog, server downtime to be measured and the house dog duration that comes into force are sent to place It manages device (11), the life for duration setting module setting that the house dog that processor (11) will test comes into force duration and BIOS house dog is come into force Effect duration is compared, and will test process data and detection log is recorded in comparison result data, be will test log and is stored to depositing Reservoir interior.
2. according to claim 1 for detecting BIOS watchdog function inverse timing device, which is characterized in that
Memory inside is also stored with cycle-index setup module and intercycle time setup module;
Cycle-index setup module is used to be arranged the long cycle-index of detection BIOS watchdog function countdown;
Intercycle time setup module was used to be arranged between the time between the long circulation of detection BIOS watchdog function countdown Every;
Processor (11) obtains server house dog countdown test instruction to be measured by house dog countdown control button (3), Transferring server starting control module to be measured starts server to be measured, and executing delay machine script module makes server to be measured certainly Inspection stage delay machine, after processor (11) gets server delay machine to be measured, the countdown module that BIOS house dog is come into force is detected The entry-into-force time of BIOS house dog, and the time that the BIOS house dog that will test is come into force sees with server downtime to be measured formation Door dog is come into force duration, and by the entry-into-force time of BIOS house dog, server downtime to be measured and house dog are come into force duration transmission To processor (11), duration setting module setting that the house dog that processor (11) will test comes into force duration and BIOS house dog is come into force The duration that comes into force be compared, formation compare log, store to memory inside;
Processor (11) by cycle-index setup module obtain the long cycle-index of detection BIOS watchdog function countdown with And the time interval between the long circulation of detection BIOS watchdog function countdown is obtained by intercycle time setup module;
According to the time interval between cycle-index and each circulation, circulation is executed, and by the implementation procedure data of each circulation And detection log is recorded in comparison result data, will test log and stores to memory inside.
3. according to claim 1 for detecting BIOS watchdog function inverse timing device, which is characterized in that device noumenon (1) it is additionally provided on display screen (2), is additionally provided with voice cue module on mainboard;
Voice cue module and display screen (2) are connect with processor (11) respectively;
Processor (11) is also used to by the entry-into-force time of BIOS house dog, when server downtime to be measured and house dog are come into force It is long to be played by voice cue module, also shown by display screen;
The house dog that will test the come into force duration that comes into force of duration setting module setting of duration and BIOS house dog that comes into force is compared Result by voice cue module play, also play out.
4. according to claim 1 for detecting BIOS watchdog function inverse timing device, which is characterized in that
RS485 communication interface, CAN Netcom communication interface, ethernet communication interface, RS232 is additionally provided in device noumenon (1) to communicate and connect Mouthful;
Communication module is connected using Bluetooth-mode communication or WIFI mode communicates to connect or radio frequency method communication connection or infrared Mode communicates to connect or GSM mode communicates to connect.
5. according to claim 1 for detecting BIOS watchdog function inverse timing device, which is characterized in that
Device noumenon (1) further include: wechat client;
Wechat client is for communicating to connect device noumenon and wechat end, by the data information transfer of device noumenon to wechat End, makes between multiple device noumenons and user terminal is by wechat end, obtains detection log.
6. according to claim 1 for detecting BIOS watchdog function inverse timing device, which is characterized in that
Test initial setting up circuit, direct current transformation circuit (14) and voltage regulator circuit (15) are additionally provided on mainboard;
Device noumenon (1), which is equipped with, tests initial control button (13);
Initial control button (13) are tested by test initial setting up circuit connection processor (11), for testing based on the received Initial order carries out test initialization setting to processor (11);
Supplying cell (12) is tested initial control button (13), direct current transformation circuit (14), voltage regulator circuit (15), and test is initial Setting circuit and processor (11) are sequentially connected;
Test initial control button (13) for obtain user input test initial setting up control instruction, and reach it is preset by After pressing duration, realizes supplying cell (12) to test initial setting up circuit power supply and initial setting up is tested to processor (11).
7. according to claim 6 for detecting BIOS watchdog function inverse timing device, which is characterized in that
Testing initial setting up circuit includes: initial resistance R1, initial resistance R2, initial resistance R3, initial capacitance C1, initial capacitance C2, initial diode VD, initial triode Q;The first end of initial resistance R3, the anode of initial capacitance C1 are initially set with test The connection of circuits input terminal;The cathode of initial capacitance C1 is connect with the cathode of one end of initial resistance R1, initial diode VD;Just The other end of beginning resistance R1 is connect with the pole b of one end of initial resistance R2, initial triode Q;The pole c of initial triode Q and just The first end of beginning capacitor C2 connects;The second end of initial resistance R3, the anode of initial diode VD, initial resistance R2 second End, the pole e of initial triode Q, initial capacitance C2 second end be grounded.
8. according to claim 1 for detecting BIOS watchdog function inverse timing device, which is characterized in that
Memory inside is also stored with detection log management module;
Processor (11) transfers detection log management module, ought time detection log cached, when complete when time detection after by When secondary detection log is transferred to memory;It the settling time of each detection log of processor (11) mark, modification time and checks Time;
Memory inside is also stored with installation GNU compiler external member, g++ and gfortran compiler, building log program compiling Running environment and compiling source code for processor (11) transfer use;
Processor (11) be also used to when detection house dog come into force duration beyond BIOS house dog come into force duration setting module setting Come into force duration when, detection log on mark duration superthreshold prompt, default file press from both sides storage current detection log, simultaneously The web terminal interface of calling device ontology (1), uploading detection log prompt testing staff.
9. one kind is for detecting BIOS watchdog function countdown method, which is characterized in that method includes:
Step 1, processor obtain network connection control instruction by network connection control button, transfer communication module, make to communicate Module and server to be measured carry out network communication connection;
After step 2, communication module and server network successful connection to be measured, network connection pass signal, place are replied to processor Reason device is shown to pass signal is connected to the network on display screen;
Step 3, processor obtain server house dog countdown test instruction to be measured by house dog countdown control button, Transferring server starting control module to be measured starts server to be measured;
Step 4, executing delay machine script module makes server to be measured in self-test stage delay machine;
Step 5, after processor gets server delay machine to be measured, the countdown module detection BIOS that BIOS house dog is come into force is seen The entry-into-force time of door dog, and the time that the BIOS house dog that will test is come into force forms house dog life with server downtime to be measured Duration is imitated, by the entry-into-force time of BIOS house dog, server downtime to be measured and the house dog duration that comes into force are sent to processing Device;
Step 6, come into force duration and BIOS house dog of the house dog that processor will test are come into force the coming into force of duration setting module setting Duration is compared, and will test process data and detection log is recorded in comparison result data, will test log and store to storage Inside device.
10. memory according to claim 9 plugs force test method, which is characterized in that method includes: that step 6 is gone back later Include:
Processor obtains the long cycle-index of detection BIOS watchdog function countdown by cycle-index setup module and leads to It crosses intercycle time setup module and obtains the time interval detected between the long circulation of BIOS watchdog function countdown;
According to the time interval between cycle-index and each circulation, the step 6 of step 3, and following by setting are executed again Time interval between ring number and each circulation, which recycles, to be executed;
Detection log is recorded in the implementation procedure data of each circulation and comparison result data, log is will test and stores to storage Inside device.
CN201810834599.7A 2018-07-26 2018-07-26 Device and method for detecting countdown of BIOS watchdog function Active CN109086154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810834599.7A CN109086154B (en) 2018-07-26 2018-07-26 Device and method for detecting countdown of BIOS watchdog function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810834599.7A CN109086154B (en) 2018-07-26 2018-07-26 Device and method for detecting countdown of BIOS watchdog function

Publications (2)

Publication Number Publication Date
CN109086154A true CN109086154A (en) 2018-12-25
CN109086154B CN109086154B (en) 2022-02-18

Family

ID=64830828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810834599.7A Active CN109086154B (en) 2018-07-26 2018-07-26 Device and method for detecting countdown of BIOS watchdog function

Country Status (1)

Country Link
CN (1) CN109086154B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377350A (en) * 2019-07-18 2019-10-25 深圳市同泰怡信息技术有限公司 A kind of method and apparatus and equipment initializing server apparatus
CN114327986A (en) * 2021-12-29 2022-04-12 苏州浪潮智能科技有限公司 FRB2WDT timeout time determination method, device, equipment and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543097A (en) * 2003-11-05 2004-11-03 中兴通讯股份有限公司 Function testing method and system for hardware watchdog
CN101567571A (en) * 2009-01-16 2009-10-28 上海第二工业大学 Intelligent charging machine for an electric forklift truck
CN201479095U (en) * 2009-06-19 2010-05-19 厦门敏讯信息技术股份有限公司 Startup and shutdown circuit
CN102736967A (en) * 2011-04-13 2012-10-17 鸿富锦精密工业(深圳)有限公司 Test system and method of watchdog timer
CN104615523A (en) * 2015-03-05 2015-05-13 浪潮电子信息产业股份有限公司 Fatigue testing method of BMC management module based on IPMI protocol
DE102015201443A1 (en) * 2014-11-12 2016-05-12 Hyundai Motor Company Method and device for controlling a watchdog
US20160335149A1 (en) * 2015-05-11 2016-11-17 Silicon Laboratories Inc. Peripheral Watchdog Timer
CN106325454A (en) * 2016-08-23 2017-01-11 北京小米移动软件有限公司 Power supply control device and method, and electronic equipment
CN106528319A (en) * 2016-12-02 2017-03-22 山东有人信息技术有限公司 Watchdog circuit capable of configuring dog-feeding cycle
CN107783859A (en) * 2017-11-23 2018-03-09 山东有人信息技术有限公司 A kind of configurable watchdog circuit for resetting duration and timing length
CN107943637A (en) * 2017-12-07 2018-04-20 郑州云海信息技术有限公司 A kind of mains cycle test device and method based on IPMI platforms

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543097A (en) * 2003-11-05 2004-11-03 中兴通讯股份有限公司 Function testing method and system for hardware watchdog
CN101567571A (en) * 2009-01-16 2009-10-28 上海第二工业大学 Intelligent charging machine for an electric forklift truck
CN201479095U (en) * 2009-06-19 2010-05-19 厦门敏讯信息技术股份有限公司 Startup and shutdown circuit
CN102736967A (en) * 2011-04-13 2012-10-17 鸿富锦精密工业(深圳)有限公司 Test system and method of watchdog timer
DE102015201443A1 (en) * 2014-11-12 2016-05-12 Hyundai Motor Company Method and device for controlling a watchdog
CN104615523A (en) * 2015-03-05 2015-05-13 浪潮电子信息产业股份有限公司 Fatigue testing method of BMC management module based on IPMI protocol
US20160335149A1 (en) * 2015-05-11 2016-11-17 Silicon Laboratories Inc. Peripheral Watchdog Timer
CN106325454A (en) * 2016-08-23 2017-01-11 北京小米移动软件有限公司 Power supply control device and method, and electronic equipment
CN106528319A (en) * 2016-12-02 2017-03-22 山东有人信息技术有限公司 Watchdog circuit capable of configuring dog-feeding cycle
CN107783859A (en) * 2017-11-23 2018-03-09 山东有人信息技术有限公司 A kind of configurable watchdog circuit for resetting duration and timing length
CN107943637A (en) * 2017-12-07 2018-04-20 郑州云海信息技术有限公司 A kind of mains cycle test device and method based on IPMI platforms

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王征宇等: "一种看门狗溢出时间的测试方法", 《电子与封装》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377350A (en) * 2019-07-18 2019-10-25 深圳市同泰怡信息技术有限公司 A kind of method and apparatus and equipment initializing server apparatus
CN114327986A (en) * 2021-12-29 2022-04-12 苏州浪潮智能科技有限公司 FRB2WDT timeout time determination method, device, equipment and medium
CN114327986B (en) * 2021-12-29 2023-11-03 苏州浪潮智能科技有限公司 FRB2WDT timeout time determining method, device, equipment and medium

Also Published As

Publication number Publication date
CN109086154B (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN109062745A (en) A kind of test terminal with testing service device hardware temperatures
CN109086154A (en) One kind is for detecting BIOS watchdog function inverse timing device and method
CN108645532B (en) Temperature testing device with temperature testing and alarming functions and temperature testing method
CN102075788A (en) Automatic detection method and testing device for set top box
CN113746501B (en) Test method for evaluating high-speed power line carrier HPLC deepening application function
CN109002398A (en) A kind of Auto-matching formula server software test terminal
CN104635722A (en) Abnormal power failure simulation test device
US20130046502A1 (en) Motherboard test device
CN110855320B (en) Automatic detection system and method for broadband power line carrier communication module PCBA single board
CN206602524U (en) A kind of change-over panel tested for optical module
CN202256646U (en) Analog remote signaling control and measurement device
CN207571691U (en) A kind of reset controlling system and sign collecting device
CN203069733U (en) A vibration-detection-based partial discharging point positioning device used for GIS tests
CN111128139B (en) Non-invasive voice test method and device
CN204315082U (en) A kind of master control borad Auto-Test System with telepilot
CN105626501B (en) A kind of electric submersible pump working-condition monitoring system failure diagnostic apparatus
CN103135051B (en) Test fixture for power source restarting
CN107765119A (en) A kind of automatic detection machine starts abnormal method
CN213522378U (en) Automatic test circuit system for WiFi general firmware
CN108683721B (en) Parameter adjusting method, device and equipment
CN201993790U (en) Asset management terminal
CN105445605A (en) Wire tester and wire test method thereof
CN202075384U (en) Circuit board testing device
CN105954770B (en) Statistical method based on GNSS receiver differential data accuracy
CN205450133U (en) Wire tester

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
GR01 Patent grant
GR01 Patent grant