CN103049359A - Testing method for automatic continuous refreshing PMON (process monitor) based on Loongson platform computer - Google Patents

Testing method for automatic continuous refreshing PMON (process monitor) based on Loongson platform computer Download PDF

Info

Publication number
CN103049359A
CN103049359A CN2012105503879A CN201210550387A CN103049359A CN 103049359 A CN103049359 A CN 103049359A CN 2012105503879 A CN2012105503879 A CN 2012105503879A CN 201210550387 A CN201210550387 A CN 201210550387A CN 103049359 A CN103049359 A CN 103049359A
Authority
CN
China
Prior art keywords
pmon
testing
refreshing
test
refresh
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
CN2012105503879A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN2012105503879A priority Critical patent/CN103049359A/en
Publication of CN103049359A publication Critical patent/CN103049359A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a testing method for an automatic continuous refreshing PMON (process monitor) based on a Loongson platform computer. The testing method includes the specific testing steps: preparing a Loongson testing platform; copying an automatic refreshing program into an optional catalog and setting the program in self-starting; running the program and inputting preset refreshing frequency N; continuously running refreshing test by a tester until the refreshing frequency is N; and finishing test and checking the frequency and time recorded in a register file to complete the whole test process. Compared with the prior art, the testing method for the automatic continuous refreshing PMON based on the Loongson platform computer has the advantages that recorded data are detailed, the condition of the tester can be mastered by the aid of the data, and accordingly, the testing method has high applicability and is suitable for being widely popularized to reliability test of various refreshing PMONs based on Loongson platform computers.

Description

A kind of method of testing that refreshes PMON based on Godson platform computing machine Automatic continuous
Technical field
The present invention relates to the (SuSE) Linux OS technical field, specifically a kind of method of testing that refreshes PMON based on Godson platform computing machine Automatic continuous.
Background technology
At present, Godson platform computing machine uses PMON(Prom Monitor) as Basic Input or Output System (BIOS) (BIOS).PMON is an open source software that has BIOS and BootLoader function concurrently, and is multiplex in embedded system.PMON has powerful and abundant function, except basic I/O function, also comprises the functions such as hardware initialization and detection, booting operating system and program debug.
The reliability that refreshes PMON at Godson platform computing machine detects in the test, can only once refresh by manual operation, there is not the repeatedly method of refresh testing of ripe automatic control, and manual input has increased operator's working strength and fatigability, efficient is low, and record not system, the bulk testing weak effect.
Thereby need a kind of method of testing to remedy the disappearance that under the Godson platform, can't realize automatically refreshing continuously the method for PMON.
Summary of the invention
Technical assignment of the present invention is to solve the deficiencies in the prior art, and a kind of method of testing that refreshes PMON based on Godson platform computing machine Automatic continuous is provided.
Technical scheme of the present invention realizes in the following manner, this a kind of method of testing that refreshes PMON based on Godson platform computing machine Automatic continuous, and its concrete testing procedure is:
1) prepares the Godson test platform;
2) automatic refurbishing procedure is copied in any catalogue, setting program is self-starting;
3) working procedure, input predetermined refresh times N, described N is 〉=1 natural number;
4) test machine continuous service refresh testing is until refreshing frequency is N;
5) finish test, check number of times, the time of recording in the register file, finish whole test process.
The specific works step of described automatic refurbishing procedure is:
A, startup refurbishing procedure;
B, detect input prompt, whether file input is 0 initially: be zero and eject input prompt that incoming task preset times and with among the preset times writing in files input is directly carried out next step operation otherwise skip;
C, detection number of run if number of run does not reach preset times, then add the file refreshing frequency 1 and also preserve, until reach preset times;
D, record number of times, time are to file register;
E, refresh PMON;
F, restart computing machine, EOP (end of program).
In technique scheme, can pre-determined number before the test, use unrestricted; Program has memory function, even server runs into the accident power-off situation, this program of switching on again still can continue since the order of last time to carry out, and data can not lost yet; Can grasp the test machine situation by data.
The data of putting down in writing among the described file register twice refresh time interval occur when excessive or too short, and then data are bad data.
The beneficial effect that the present invention compared with prior art produces is:
A kind of method of testing that refreshes PMON based on Godson platform computing machine Automatic continuous of the present invention has default refreshing frequency by writing, refreshes pmon, the program of tally function, be self-starting with programming, when starting, system automatically performs this program, refreshing order constantly updates to the last once, program can not carried out refresh command more yet after restarting end, and test namely finishes; Realize that omnidistance unmanned, operation are simple and easy, the record function such as detailed, heavy manual input in early stage refreshes the PMON experiment work and replaces to and automatically finish, and is practical; The data of record are detailed, can grasp the test machine situation by data, thereby the present invention possesses very strong applicability, are fit to be generalized to widely various refreshing in the PMON fail-test based on Godson platform computing machine.
Description of drawings
Accompanying drawing 1 is test flow chart of the present invention.
Automatic refurbishing procedure workflow diagram of the present invention during accompanying drawing 2.
Embodiment
Below in conjunction with accompanying drawing a kind of method of testing that refreshes PMON based on Godson platform computing machine Automatic continuous of the present invention is described in detail below.
As shown in Figure 1, this a kind of method of testing that refreshes PMON based on Godson platform computing machine Automatic continuous, its concrete testing procedure is:
1) prepares the Godson test platform;
2) automatic refurbishing procedure is copied in any catalogue, setting program is self-starting;
3) working procedure, input predetermined refresh times N, described N is 〉=1 natural number;
4) test machine continuous service refresh testing is until refreshing frequency is N;
5) finish test, check number of times, the time of recording in the register file, finish whole test process.
As shown in Figure 2, the specific works step of described automatic refurbishing procedure is:
A, startup refurbishing procedure;
B, detect input prompt, whether file input is 0 initially: be zero and eject input prompt that incoming task preset times and with among the preset times writing in files input is directly carried out next step operation otherwise skip;
C, detection number of run if number of run does not reach preset times, then add the file refreshing frequency 1 and also preserve, until reach preset times;
D, record number of times, time are to file register;
E, refresh PMON;
F, restart computing machine, EOP (end of program).
The data of putting down in writing among the described file register twice refresh time interval occur when excessive or too short, and then data are bad data.
Embodiment: with under the Linux OS system, get a test machine with Godson cpu now, test under normal temperature, concrete testing procedure is as follows.
The start that at first test machine powered on enters operating system, uses root user's login.
Bin file and the refresh tool flashupdate of pre-programming are copied to/the boot catalogue under.
The program flashpmon.sh of automatic refresh function is copied under any catalogue.
Programming is self-starting: add " sh/path/flashpmon.sh " statement (path is program place directory name) in/etc/rc.local.
Working procedure, input is predetermined under the page that ejects restarts number of times, presses [ENTER] key.
Test machine continuous service refresh testing 1000 times.
After refresh testing is finished for 1000 times, check the register file of generation under/usr, record refreshing frequency, refresh time point in the file record, concrete test data is as follows:
The testing time time
1 2012 years 09 month 12 Wednesday 16:54:13 CST
2 Wed Sep 12 16:56:26 CST 2012
3 Wed Sep 12 16:58:39 CST 2012
4 Wed Sep 12 17:00:52 CST 2012
5 Wed Sep 12 17:03:05 CST 2012
6 Wed Sep 12 17:05:18 CST 2012
7 Wed Sep 12 17:07:31 CST 2012
8 Wed Sep 12 17:09:44 CST 2012
9 Wed Sep 12 17:11:56 CST 2012
10 Wed Sep 12 17:14:09 CST 2012
…….
525 Thu Sep 13 12:41:03 CST 2012
526 Thu Sep 13 12:43:15 CST 2012
…….
991 Fri Sep 14 05:53:42 CST 2012
992 Fri Sep 14 05:55:55 CST 2012
993 Fri Sep 14 05:58:08 CST 2012
994 Fri Sep 14 06:00:21 CST 2012
995 Fri Sep 14 06:02:34 CST 2012
996 Fri Sep 14 06:04:47 CST 2012
997 Fri Sep 14 06:07:00 CST 2012
998 Fri Sep 14 06:09:12 CST 2012
999 Fri Sep 14 06:11:25 CST 2012
1000 Fri Sep 14 06:13:38 CST 2012
Can find out that by top data test machine stable operation in the whole test process does not occur without showing abnormal occurrencies such as maybe can't entering system.
The present invention is by after finishing at refresh testing, check the register file, record refreshing frequency, refresh time point in the file record, each refresh time interval is identical unchanged, and the abnormal occurrence such as deadlock, power down or blue screen does not appear that internal memory is lost, in test machine stable operation in the whole test process.Program has memory function, even run into accident power-off, the situation such as reset, this program of switching on again still can continue since the order of last time to carry out, and data can not lost yet.

Claims (3)

1. method of testing that refreshes PMON based on Godson platform computing machine Automatic continuous is characterized in that its concrete testing procedure is:
1) prepares the Godson test platform;
2) automatic refurbishing procedure is copied in any catalogue, setting program is self-starting;
3) working procedure, input predetermined refresh times N, described N is 〉=1 natural number;
4) test machine continuous service refresh testing is until refreshing frequency is N;
5) finish test, check number of times, the time of recording in the register file, finish whole test process.
2. a kind of method of testing that refreshes PMON based on Godson platform computing machine Automatic continuous according to claim 1, it is characterized in that: the specific works step of described automatic refurbishing procedure is:
A, startup refurbishing procedure;
B, detect input prompt, whether file input is 0 initially: be zero and eject input prompt that incoming task preset times and with among the preset times writing in files input is directly carried out next step operation otherwise skip;
C, detection number of run if number of run does not reach preset times, then add the file refreshing frequency 1 and also preserve, until reach preset times;
D, record number of times, time are to file register;
E, refresh PMON;
F, restart computing machine, EOP (end of program).
3. a kind of method of testing that refreshes PMON based on Godson platform computing machine Automatic continuous according to claim 1 and 2, it is characterized in that: the data of putting down in writing among the described file register twice refresh time interval occur when excessive or too short, and then data are bad data.
CN2012105503879A 2012-12-17 2012-12-17 Testing method for automatic continuous refreshing PMON (process monitor) based on Loongson platform computer Pending CN103049359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105503879A CN103049359A (en) 2012-12-17 2012-12-17 Testing method for automatic continuous refreshing PMON (process monitor) based on Loongson platform computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105503879A CN103049359A (en) 2012-12-17 2012-12-17 Testing method for automatic continuous refreshing PMON (process monitor) based on Loongson platform computer

Publications (1)

Publication Number Publication Date
CN103049359A true CN103049359A (en) 2013-04-17

Family

ID=48062008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105503879A Pending CN103049359A (en) 2012-12-17 2012-12-17 Testing method for automatic continuous refreshing PMON (process monitor) based on Loongson platform computer

Country Status (1)

Country Link
CN (1) CN103049359A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066387A (en) * 2017-04-14 2017-08-18 广东浪潮大数据研究有限公司 A kind of method of testing for refreshing BIOS pressure under Windows systems
CN109669860A (en) * 2018-11-30 2019-04-23 郑州云海信息技术有限公司 A kind of refreshing BIOS method for testing pressure and system based on REDHAT system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831784A (en) * 2005-03-09 2006-09-13 深圳市顶星数码网络技术有限公司 Testing device and method of computer
CN1979438A (en) * 2005-12-09 2007-06-13 鸿富锦精密工业(深圳)有限公司 Computer main-board on-off testing system and method
CN101004697A (en) * 2006-01-21 2007-07-25 鸿富锦精密工业(深圳)有限公司 System and method for detecting time of starting up computer system
CN101989220A (en) * 2009-08-05 2011-03-23 英业达股份有限公司 Pressure testing method
US20120047400A1 (en) * 2010-08-23 2012-02-23 Hon Hai Precision Industry Co., Ltd. Computer startup test apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831784A (en) * 2005-03-09 2006-09-13 深圳市顶星数码网络技术有限公司 Testing device and method of computer
CN1979438A (en) * 2005-12-09 2007-06-13 鸿富锦精密工业(深圳)有限公司 Computer main-board on-off testing system and method
CN101004697A (en) * 2006-01-21 2007-07-25 鸿富锦精密工业(深圳)有限公司 System and method for detecting time of starting up computer system
CN101989220A (en) * 2009-08-05 2011-03-23 英业达股份有限公司 Pressure testing method
US20120047400A1 (en) * 2010-08-23 2012-02-23 Hon Hai Precision Industry Co., Ltd. Computer startup test apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张菊莉 等: "基于龙芯2F架构的PMON分析与优化", 《现代电子技术》, vol. 34, no. 2, 15 January 2011 (2011-01-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066387A (en) * 2017-04-14 2017-08-18 广东浪潮大数据研究有限公司 A kind of method of testing for refreshing BIOS pressure under Windows systems
CN109669860A (en) * 2018-11-30 2019-04-23 郑州云海信息技术有限公司 A kind of refreshing BIOS method for testing pressure and system based on REDHAT system

Similar Documents

Publication Publication Date Title
CN102981955A (en) Automatic continuous restarting method based on Linux system
US20120311279A1 (en) Data recovery and backup system and process
US20150378846A1 (en) Method, computer program, and computer for restoring set of variables
CN103970660A (en) Total system stability automatic test method based on crontab
CN101271415B (en) Monitoring watchdog implementing method of built-in equipment
CN104572422A (en) Memory monitoring achievement method based on startup and shutdown of Linux system
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
CN103257922B (en) A kind of method of quick test BIOS and OS interface code reliability
US20110208955A1 (en) Machine-readable storage media for display of a basic input/output system (bios) productivity display
CN102279787A (en) Method and device for testing average fault-free time
CN103019920A (en) Complete machine non-power-off startup and shutdown method based on Linux system
CN104572225A (en) Novel method for testing online updating stability of BIOS
TWI591479B (en) Apparatus and method for initializing port of electronic device
US20110179259A1 (en) Method for integrating operating system into bios chip and method for booting operating system integrated into bios chip
TW201716999A (en) Method for startup inspection and computer system using the same
CN103049359A (en) Testing method for automatic continuous refreshing PMON (process monitor) based on Loongson platform computer
CN104657232A (en) BIOS automatic recovery system and BIOS automatic recovery method
US8972709B2 (en) Booting method for low temperature environment and electronic apparatus therefor
US8924306B2 (en) Remote computer rebooting tool
CN105630523A (en) Computer BIOS data recovery system and method
CN102880479A (en) Method and device for remotely modifying basic input output system (BIOS) attribute parameters
CN102750212B (en) Embedded system method for diagnosing faults and the embedded system being provided with fault diagnosis
CN110928733B (en) Encryption and decryption test method and device based on solid state disk and computer equipment
US20220137984A1 (en) Efficient Hibernation Apparatus and Method for Digital Devices
WO2017117854A1 (en) Method for providing pcie card configuration capacity in openpower cpu architecture server boot

Legal Events

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

Application publication date: 20130417