CN1896965A - Starting record monitoring system and method for computer - Google Patents

Starting record monitoring system and method for computer Download PDF

Info

Publication number
CN1896965A
CN1896965A CN 200510035983 CN200510035983A CN1896965A CN 1896965 A CN1896965 A CN 1896965A CN 200510035983 CN200510035983 CN 200510035983 CN 200510035983 A CN200510035983 A CN 200510035983A CN 1896965 A CN1896965 A CN 1896965A
Authority
CN
China
Prior art keywords
code
record
operating system
module
result
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
CN 200510035983
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 CN 200510035983 priority Critical patent/CN1896965A/en
Publication of CN1896965A publication Critical patent/CN1896965A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A monitoring and recording system of computer start-up comprises condition setting module for setting restart-up frequency of operation system and delayed restart-up time as well as storage path of state code recording, program operation module for recording and comparing state codes of driver and for judging whether restart-up frequency of operation system is over set limit or not, result lead-out and storage module for leading out and storing recorded result and compared result, result viewing and system logging off module for viewing recorded result and compared result and for logging operation system off.

Description

Computer starting record monitoring system and method
[technical field]
The present invention relates to a kind of monitoring system and method, particularly relate to a kind of computer starting record monitoring system and method.
[background technology]
Along with personal computer (Personal Computer, PC) fast development of technology, industry is more and more higher to the stability requirement of operating system, this has just proposed a higher requirement to operating system testing, what the operating system testing software of so a complete function just showed is even more important, good testing software not only can shorten the test duration, and can guarantee precision of test result and comprehensive, and analyzing for debugging provides important evidence.Restart when test doing the operation system at present, the general software that uses is that form is restarted testing software (Reboot Testing for windows), this software can carry out record to the operating system situation in the start-up course, but the shortcoming of this class software is not have the perfect test function of restarting, can not carry out track record to the unusual condition that occurs in the operating system restarting process, and then analyze for debugging and bring sizable difficulty.
Avoid in the operating system restarting process, only this operating system situation being carried out record, and fully consider the various situations that occur in the operating system restarting process, the unusual condition that occurs in the operating system restarting process is carried out the debugging that the reason of track record causes analyze difficulty helping avoid to lack, improve test accuracy.
[summary of the invention]
In view of above content, be necessary to provide a kind of computer starting record monitoring system and method.
Better embodiment of the present invention provides a kind of computer starting record monitoring system, and this system comprises: a condition setting module, and a program run module, a derivation as a result and memory module and a result check and system withdraws from module.The condition setting module is used to set the path of depositing of restarting number of times, set postponing reboot time and the state code record is set with timer.Wherein the number of times of restarting of She Dinging is used for the number of times of initialization to the operating system loop test, and a higher limit and lower limit are arranged; The delay reboot time of setting is used for initialization and restarts surge time before, and a higher limit and lower limit are also arranged; The path of depositing of the state code record that is provided with comprises that the state code of record is deposited the state code that writes down in path and the each restarting process at first and deposits the path.The program run module is used for writing down and the Drive Status code of storage operating system start-up course, and comparison operating system is the Drive Status code in the homogeneous start-up course and judge whether code error is arranged in the comparison process or lose and judgement is restarted number of times and whether reached capping not.The result derives and memory module is used for the record result of Drive Status code and the derivation and the storage of comparison result.The result checks and system withdraws from module and is used to write down checking of result and comparison result and withdrawing from of operating system.
Described program run module comprises: a record sub module is used for record and storage operating system start-up course Drive Status code; One comparer module is used for Drive Status code and the comparison one by one of the Drive Status code of record at first that this start-up course of operating system writes down; One judges submodule, is used for judging whether comparison process has code error or lose and judge whether restart number of times reaches setting value; One calls submodule, and the operating system that is used to set is restarted the bolt down procedure that calls form (Windows) when finishing time delay and restarted this operating system.
Better embodiment of the present invention provides a kind of computer starting recording and monitoring method, and this method comprises: (a) the setting operation system restarts number of times and sets this operating system with timer and restarts time delay; (b) path of depositing of event information record is set; (c) carry out this program run module and record and store this operating system current drive state code; (d) operating system of She Dinging is restarted bolt down procedure and the restarting operating systems that calls Windows when finishing time delay; (e) write down and store Drive Status code in this restarting process of this operating system; (f) check current drive state code and compare one by one, judged whether code error or lose with the Drive Status code of record at first; (g) if code error arranged or lose, then record and storage errors code or lose code; (h) judge whether restart number of times reaches setting value; (i) if restarting number of times reaches setting value, then end loop is tested and the inquiry operation result.
Wherein in step (b), the event information record comprises the state code that writes down in the state code of record at first and the each restarting process.
Wherein in step (f), when the Drive Status code is compared one by one, if the situation that error code occurs or lose code, the code of record sub module misregistration or the code of losing, and comparison also can be proceeded down.
Wherein in step (f), further comprise:, then jump to step (h) as if not having code error or losing.
Wherein in step (h), further comprise:, then return step (d) if restarting number of times does not reach setting value.
Compare prior art, described computer starting record monitoring system and method, fully consider the various situations that occur in the operating system restarting process, avoid lacking and the unusual condition that occurs in the operating system restarting process is carried out the debugging that the reason of track record causes analyze difficulty, improve test accuracy.
[description of drawings]
Fig. 1 is the functional block diagram of computer starting record monitoring system better embodiment of the present invention.
Fig. 2 is the sub-function module figure of program run module of the present invention.
Fig. 3 is the concrete implementing procedure figure of computer starting recording and monitoring method better embodiment of the present invention.
[embodiment]
Consulting shown in Figure 1ly, is the functional block diagram of computer starting record monitoring system better embodiment of the present invention.This computer starting record monitoring system 1 comprises: a condition setting module 10, one program run modules 12, one results derive and memory module 14 an and result checks and system withdraws from module 16.Condition setting module 10 is used for the setting operation system and restarts number of times, sets the path of depositing that postpones reboot time and the state code record is set.The number of times of wherein setting of restarting is used for the number of times that initializing computer starts 1 pair of this operating system loop test of record monitoring system, and a higher limit and lower limit are arranged; The delay reboot time of setting with timer is used for the surge time of initialization before restarting, and a higher limit and lower limit are also arranged; The path of depositing of the state code record that is provided with comprises that the state code of record is deposited the state code that writes down in path and the each restarting process at first and deposits the path.Program run module 12 is used for writing down and storing the Drive Status code of this os starting process, compares the not Drive Status code in the homogeneous start-up course and judge whether code error is arranged in the comparison process or lose and judgement is restarted number of times and whether reached capping of this operating system.The result derives and memory module 14 is used for the record result of Drive Status code and the derivation and the storage of comparison result.The result checks and system withdraws from module 16 and is used to write down checking of result and comparison result and withdrawing from of computer starting record monitoring system 1.
Consulting shown in Figure 2ly, is the sub-function module figure of program run module of the present invention.This program run module 12 comprises: a record sub module 120 is used for record and storage operating system start-up course Drive Status code; One comparer module 122 is used for Drive Status code and the comparison one by one of the Drive Status code of record at first that this start-up course of this operating system writes down; One judges submodule 124, is used for judging whether comparison process has code error or loses and the decision operation system restarts number of times and whether reaches setting value; One calls submodule 126, and bolt down procedure and the restarting operating systems that calls Windows when finishing time delay restarted in the system that is used to set.
Consulting shown in Figure 3ly, is the concrete implementing procedure figure of computer starting recording and monitoring method better embodiment of the present invention.At first, condition setting module 10 setting operation systems restart number of times and restart time delay (step S22) with timer setting operation system.What condition setting module 10 was provided with event information record deposits path (step S24).Current this operating system Drive Status code of record sub module 120 records, wherein Ji Lu this operating system Drive Status code is derived by the result and memory module 14 derivation and storage (step S26).Calling submodule 126 restarts in this operating system of setting and calls the bolt down procedure of Windows when finishing time delay and restart this operating system (step S28).Drive Status code in record sub module 120 these restarting process of this operating system of record, wherein Ji Lu Drive Status code is derived by the result and memory module 14 derivation and storage (step S30).Comparer module 122 is checked the current drive state code and is compared one by one with the Drive Status code that writes down at first, and judges that submodule 124 has judged whether code error or lost (step S32).If code error arranged or lose, record sub module 120 misregistration codes or lose code then, wherein Ji Lu error code or lose that code is derived by the result and memory module 14 derives and store (step S34).Judge that submodule 124 judges that this operating system restarts number of times and whether reach setting value (step S36).If restart number of times and reach setting value, then call the test of submodule 126 end loop and the operator checks by the result and system withdraws from module 16 inquiry operation results and withdraw from this computer starting record monitoring system 1 (step S38).
In step S24, event information record comprises the state code that writes down in the state code of record at first and the each restarting process.
In step S32, when the Drive Status code is compared one by one, if the situation that error code occurs or lose code, the code of record sub module 120 misregistrations or the code of losing, and comparison also can be proceeded down.
In step S32, further comprise:, then jump to step S36 as if not having code error or losing.
In step S36, further comprise:, then return step S28 if restarting number of times does not reach setting value.

Claims (7)

1. a computer starting record monitoring system is characterized in that, this system comprises:
One condition setting module is used for the setting operation system and restarts number of times, sets the path of depositing that postpones reboot time and setting operation system state code record;
One program run module, be used for writing down and the Drive Status code of storage operating system start-up course, compare the not Drive Status code in the homogeneous start-up course and judge whether code error is arranged in the comparison process or lose and judgement is restarted number of times and whether reached capping of this operating system;
One result derives and memory module, is used for the record result of Drive Status code and the derivation and the storage of comparison result.
2. computer starting record monitoring system as claimed in claim 1 is characterized in that, this system also comprises:
One result checks and system withdraws from module, is used to write down checking of result and comparison result and withdrawing from of test macro;
3. computer starting record monitoring system as claimed in claim 1 is characterized in that, described program run module comprises:
One record sub module is used for record and storage operating system start-up course Drive Status code;
One comparer module is used for Drive Status code and the comparison one by one of the Drive Status code of record at first that this start-up course of this operating system writes down;
One judges submodule, is used for judging whether comparison process has code error or lose and judge whether restart number of times reaches setting value;
One calls submodule, and this operating system that is used to set is restarted and called the bolt down procedure of Windows when finishing time delay and restart this operating system.
4. computer starting record monitoring system as claimed in claim 1, it is characterized in that, wherein the number of times of restarting of She Dinging is used for the number of times of initialization to the operating system loop test, a higher limit and lower limit are arranged, the delay reboot time of setting is used for initialization and restarts surge time before, a higher limit and lower limit are arranged, and the path of depositing of the state code of setting record comprises that the state code of record is deposited the state code that writes down in path and the each restarting process at first and deposits the path.
5. a computer starting recording and monitoring method is characterized in that, this method comprises:
The setting operation system restarts number of times and restarts time delay;
The path of depositing of event information record is set;
Carry out a program run module, write down and store this operating system current drive state code;
Restart when finishing time delay when the operating system of setting, call the bolt down procedure and the restarting operating systems of Windows;
Write down and store the Drive Status code in this restarting process of this operating system;
Check the current drive state code and compare one by one, judged whether code error or lose with the Drive Status code of record at first;
If code error arranged or lose, then record and storage errors code or lose code;
Judge whether restart number of times reaches setting value;
If restarting number of times reaches setting value, then end loop is tested and the inquiry operation result.
6. computer starting recording and monitoring method as claimed in claim 5 is characterized in that, judges whether that wherein code error or the step of losing also comprise:
Do not restart the step whether number of times reaches setting value as if having code error or lose, then jump to judge.
7. computer starting recording and monitoring method as claimed in claim 5 is characterized in that, judges that wherein restart the step whether number of times reach setting value also comprises:
If restart number of times and do not reach setting value, then return the bolt down procedure that calls Windows and the step of restarting operating systems.
CN 200510035983 2005-07-13 2005-07-13 Starting record monitoring system and method for computer Pending CN1896965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510035983 CN1896965A (en) 2005-07-13 2005-07-13 Starting record monitoring system and method for computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510035983 CN1896965A (en) 2005-07-13 2005-07-13 Starting record monitoring system and method for computer

Publications (1)

Publication Number Publication Date
CN1896965A true CN1896965A (en) 2007-01-17

Family

ID=37609495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510035983 Pending CN1896965A (en) 2005-07-13 2005-07-13 Starting record monitoring system and method for computer

Country Status (1)

Country Link
CN (1) CN1896965A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620561B (en) * 2008-07-04 2011-12-07 宏碁股份有限公司 Method for monitoring computer system efficiency
CN102346700A (en) * 2010-08-03 2012-02-08 神讯电脑(昆山)有限公司 System for testing stability of PDA (Personal Digital Assistant) and method
CN104216775A (en) * 2013-06-03 2014-12-17 株式会社理光 Information processing system, information processing method, and information processing terminal
CN104407959A (en) * 2014-12-12 2015-03-11 深圳中兴网信科技有限公司 Application based monitoring method and monitoring device
CN107562582A (en) * 2017-07-20 2018-01-09 郑州云海信息技术有限公司 A kind of automatic method for restarting simultaneously detecting system configuration
CN114734150A (en) * 2022-04-27 2022-07-12 南京德朗克电子科技有限公司 Method for automatically performing laser coding

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620561B (en) * 2008-07-04 2011-12-07 宏碁股份有限公司 Method for monitoring computer system efficiency
CN102346700A (en) * 2010-08-03 2012-02-08 神讯电脑(昆山)有限公司 System for testing stability of PDA (Personal Digital Assistant) and method
CN104216775A (en) * 2013-06-03 2014-12-17 株式会社理光 Information processing system, information processing method, and information processing terminal
CN104216775B (en) * 2013-06-03 2017-10-10 株式会社理光 Information processing system, information processing method and the information processing terminal
CN104407959A (en) * 2014-12-12 2015-03-11 深圳中兴网信科技有限公司 Application based monitoring method and monitoring device
CN107562582A (en) * 2017-07-20 2018-01-09 郑州云海信息技术有限公司 A kind of automatic method for restarting simultaneously detecting system configuration
CN107562582B (en) * 2017-07-20 2021-03-09 苏州浪潮智能科技有限公司 Method for automatically restarting and detecting system configuration
CN114734150A (en) * 2022-04-27 2022-07-12 南京德朗克电子科技有限公司 Method for automatically performing laser coding

Similar Documents

Publication Publication Date Title
CN1896965A (en) Starting record monitoring system and method for computer
US7349826B2 (en) Causal ladder mechanism for proactive problem determination, avoidance and recovery
US20040260678A1 (en) State based configuration failure detection using checkpoint comparison
CN102650938B (en) Management method for log system and log system
CN102375767A (en) Computer restart testing system and method
CN101046749A (en) Chip firmware updating method
CN1920793A (en) Device and method for implementing test scenarios replay in different voice environment
CN1266599C (en) Drive program installing process
CN1277209C (en) Hard disk data controlling method
CN103854704A (en) Automatic detection method and automatic detection device of flash memory bad block
CN101145983B (en) A self-diagnosis and self-discovery subsystem and method of network management system
CN101051220A (en) Method for centralization of process sequence checking
CN115185675A (en) Server cluster deployment method, system, computing device and readable storage medium
CN1461997A (en) Method of automatic repairing basic input output system element and module
CN112363909B (en) Automatic test method for reliability of file system in relay protection device
US8458669B2 (en) Automated test system
CN110990184A (en) Fault repairing method and system for Seagate hard disk
US8205118B2 (en) Software component self-scrubbing
CN1387184A (en) Device and method for controlling write-in data during generating error in optical drive
CN116501705A (en) RAS-based memory information collecting and analyzing method, system, equipment and medium
CN1959646A (en) System and method for testing correctness of position of installing hard disk
CN107643877A (en) Disk failure detection method and device
CN115757099A (en) Automatic test method and device for platform firmware protection recovery function
Zarras et al. Assessing software reliability at the architectural level
CN114281659B (en) Method and system for reproducing server BUG based on firmware version

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication