CN104407950A - Novel power-off on-off testing method based on program-controlled variable frequency power supply - Google Patents
Novel power-off on-off testing method based on program-controlled variable frequency power supply Download PDFInfo
- Publication number
- CN104407950A CN104407950A CN201410611780.3A CN201410611780A CN104407950A CN 104407950 A CN104407950 A CN 104407950A CN 201410611780 A CN201410611780 A CN 201410611780A CN 104407950 A CN104407950 A CN 104407950A
- Authority
- CN
- China
- Prior art keywords
- program
- power supply
- time
- server
- power
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 45
- 238000000034 method Methods 0.000 claims abstract description 28
- 230000005611 electricity Effects 0.000 claims description 12
- 230000000087 stabilizing effect Effects 0.000 claims description 5
- 238000010998 test method Methods 0.000 abstract description 4
- 230000000295 complement effect Effects 0.000 abstract 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Landscapes
- Power Sources (AREA)
Abstract
The invention discloses a novel power-off on-off test method based on a program-controlled variable frequency power supply. The invention is suitable for all the current server test projects, has good performance in the test process and can well complete the test task. The test method is simple to operate, has good usability, greatly saves test time and improves test efficiency. The damage of the accidental power-off on-off test to the server is large, and the novel power-off on-off method based on the program-controlled variable frequency power supply is a perfect complement to the conventional accidental power-off on-off test, so that the perfect on-off test is facilitated, and the product quality is improved.
Description
Technical field
The present invention relates to power supply test field, be specifically related to a kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply.
Background technology
Along with the fast development of server industries, increasing client starts to be partial to buy the core application of large batch of server as oneself, but the server sometimes had can be in idle state.So except the stability to server, performance requirement, reliability it is also proposed higher requirement.And server can keep shutting down at any time after power-off, and the start that can normally power at any time, becomes a new research direction.
The server that existing client has can after model machine shuts down by machine room, and meeting power-off a period of time, then start shooting, such number of times has a lot.
The principle of work and power of program-controlled frequency-changing power supply: by Single-chip Controlling output voltage, frequency, and control the time T1 of output, the voltage exporting to server power supply will be cut off after time T1, after power-off T2 interval time, Single-chip Controlling equipment output voltage again, server powers on, and server is arranged to by BIOS the automatic turn-on function that powers on, then server start.
Shutdown script function principle under Linux: under linux, the scriptlet that shut down by Linuxpoweroff.sh copies into #/root/Desktop/Linuxpoweroff.sh path, run this script, after server powers on, system will automatically perform this shutdown script after the 2 minutes.
Summary of the invention
The technical problem to be solved in the present invention is: in order to emulating server power-off again after normal shutdown, then automatically actuated manual testing after powering on, the present invention improves existing method of testing, change accident power-off test under system normal shutdown, then AC power supplies is cut off, by program-controlled frequency-changing power-supply device and server shutdown script, come emulating server repeatedly close tester in power-down state then power on start method.
The technical solution adopted in the present invention is:
A kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply, this program-controlled frequency-changing power supply is connected with the power supply of server to be measured on request, program control setting is carried out to program-controlled frequency-changing power supply, setting powers on and power-off time interval, number of run, after starting test, under system, run Linuxpoweroff.sh script, shut down powering in interval time.
Described method testing process is as follows:
1) first server loads onto linux system, and Linuxpoweroff is shut down scriptlet copy under #/root/Desktop/Linuxpoweroff.sh path;
2) start enters BIOS, in Chipset Configuration is arranged, Restore On AC Power Loss is chosen as power on, and to guarantee that model machine is after AC powers on, model machine can Auto Power On;
3) timing is T3 from the server start that powers on to the time executing shutdown script this complete shutdown process;
4) program-controlled frequency-changing power-supply device input end is connected AC power, output terminal connects server power supply;
5) by program-controlled frequency-changing electric power starting, output voltage, set of frequency are 220V, 50HZ by parameters on panel, and arranging voltage stabilizing output time is T1, arranges power-off time and is spaced apart T2, and arrange testing time;
6) program-controlled frequency-changing power supply is exported unlatching, output time starts countdown T1-1, and now server power supply powers on, server Auto Power On, and within the T3 time, server completes the complete procedure into system and shutdown;
7) after the T1 time terminates, program-controlled frequency-changing dump exports electricity, and now whole server A C TURP breaks, program control after the T2 time will output voltage again, the test that after realizing the server shutdown of unmanned circulation with this, power-off powers on again;
8), after test terminates, to be looked out for mistakes information by/var/log/messages under linux.
Described voltage stabilizing output time T1 is greater than the time T2 of complete shutdown process.
Described testing time is set to 1000 times.
Beneficial effect of the present invention: the present invention is applicable to server test projects all at present, in test process, performance is good, can be good at completing test assignment.This method of testing is simple to operate, has good ease for use, greatly saves the test duration, improve testing efficiency.Accident power-off switching on and shutting down test is comparatively large to server infringement, and the novel electricity cut-off type method for start-up and shutdown based on program-controlled frequency-changing power supply is one to current unexpected switching on and shutting down power-off test and perfectly supplements, and contributes to improving switching on and shutting down test, improves the quality of products.
Accompanying drawing explanation
Fig. 1 is the operational flow diagram of the inventive method.
Embodiment
Below according to Figure of description, in conjunction with specific embodiments, the present invention is further described:
A kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply, this program-controlled frequency-changing power supply is connected with the power supply of server to be measured on request, program control setting is carried out to program-controlled frequency-changing power supply, setting powers on and power-off time interval, number of run, after starting test, under system, run Linuxpoweroff.sh script, shut down powering in interval time.
Described method testing process is as follows:
1, first server loads onto linux system, and Linuxpoweroff is shut down scriptlet copy under #/root/Desktop/Linuxpoweroff.sh path;
2, start enters BIOS, by Restore On AC Power Loss in Chipset Configuration is arranged
Be chosen as power on, to guarantee that model machine is after AC powers on, model machine can Auto Power On;
3, timing is T3 from the server start that powers on to the time executing shutdown script this complete shutdown process;
4, program-controlled frequency-changing power-supply device input end is connected AC power, output terminal connects server power supply;
5, by program-controlled frequency-changing electric power starting, output voltage, set of frequency are 220V, 50HZ by parameters on panel, and arranging voltage stabilizing output time is T1 (T1>T3), arrange power-off time and be spaced apart T2, testing time is 1000 times;
6, program-controlled frequency-changing power supply is exported unlatching, output time starts countdown T1-1, and now server power supply powers on, server Auto Power On, and within the T3 time, server completes the complete procedure into system and shutdown.
7, after the T1 time terminates, program-controlled frequency-changing dump exports electricity, and now whole server A C TURP breaks, program control after the T2 time will output voltage again, the test that after realizing the server shutdown of unmanned circulation with this, power-off powers on again.
8, after test terminates, to be looked out for mistakes information by/var/log/messages under linux.
Claims (4)
1. the novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply, it is characterized in that: program-controlled frequency-changing power supply is connected with the power supply of server to be measured on request, program control setting is carried out to program-controlled frequency-changing power supply, setting powers on and power-off time interval, number of run, after starting test, under system, run Linuxpoweroff.sh script, shut down powering in interval time.
2. a kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply according to claim 1, it is characterized in that, described method testing process is as follows:
1) first server loads onto linux system, and Linuxpoweroff is shut down scriptlet copy under #/root/Desktop/Linuxpoweroff.sh path;
2) start enters BIOS, in Chipset Configuration is arranged, Restore On AC Power Loss is chosen as power on, and to guarantee that model machine is after AC powers on, model machine can Auto Power On;
3) timing is T3 from the server start that powers on to the time executing shutdown script this complete shutdown process;
4) program-controlled frequency-changing power-supply device input end is connected AC power, output terminal connects server power supply;
5) by program-controlled frequency-changing electric power starting, output voltage, set of frequency are 220V, 50HZ by parameters on panel, and arranging voltage stabilizing output time is T1, arranges power-off time and is spaced apart T2, and arrange testing time;
6) program-controlled frequency-changing power supply is exported unlatching, output time starts countdown T1-1, and now server power supply powers on, server Auto Power On, and within the T3 time, server completes the complete procedure into system and shutdown;
7) after the T1 time terminates, program-controlled frequency-changing dump exports electricity, and now whole server A C TURP breaks, program control after the T2 time will output voltage again, the test that after realizing the server shutdown of unmanned circulation with this, power-off powers on again;
8), after test terminates, to be looked out for mistakes information by/var/log/messages under linux.
3. a kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply according to claim 2, is characterized in that: described voltage stabilizing output time T1 is greater than the time T2 of complete shutdown process.
4. a kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply according to Claims 2 or 3, is characterized in that: described testing time is set to 1000 times.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410611780.3A CN104407950A (en) | 2014-11-04 | 2014-11-04 | Novel power-off on-off testing method based on program-controlled variable frequency power supply |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410611780.3A CN104407950A (en) | 2014-11-04 | 2014-11-04 | Novel power-off on-off testing method based on program-controlled variable frequency power supply |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104407950A true CN104407950A (en) | 2015-03-11 |
Family
ID=52645583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410611780.3A Pending CN104407950A (en) | 2014-11-04 | 2014-11-04 | Novel power-off on-off testing method based on program-controlled variable frequency power supply |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104407950A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778108A (en) * | 2015-04-27 | 2015-07-15 | 浪潮集团有限公司 | Device and method for abnormal power failure circulating testing of server system |
CN105138437A (en) * | 2015-08-25 | 2015-12-09 | 浪潮电子信息产业股份有限公司 | SmartRack multi-node parallel rebot test method based on fatigue test machine and 4U jig |
CN105550086A (en) * | 2015-12-11 | 2016-05-04 | 浪潮电子信息产业股份有限公司 | Startup and shutdown testing method based on voltage and frequency changes |
CN108535563A (en) * | 2018-03-28 | 2018-09-14 | 四川斐讯信息技术有限公司 | A kind of method for testing open/close machine and test system |
CN111176736A (en) * | 2019-12-25 | 2020-05-19 | 苏州浪潮智能科技有限公司 | Server mainboard power-on and power-off test method and system |
CN111858203A (en) * | 2020-06-29 | 2020-10-30 | 广东浪潮大数据研究有限公司 | Server performance detection method, system, programmable controller and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101206600A (en) * | 2006-12-22 | 2008-06-25 | 华硕电脑股份有限公司 | Testing device and method for testing open/close machine of computer system |
US20110087452A1 (en) * | 2009-10-12 | 2011-04-14 | Quanta Computer Inc. | Test device |
CN102446127A (en) * | 2010-10-11 | 2012-05-09 | 鸿富锦精密工业(深圳)有限公司 | Power supply device and method for testing on/off of computer motherboard |
CN103970660A (en) * | 2014-05-19 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Total system stability automatic test method based on crontab |
-
2014
- 2014-11-04 CN CN201410611780.3A patent/CN104407950A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101206600A (en) * | 2006-12-22 | 2008-06-25 | 华硕电脑股份有限公司 | Testing device and method for testing open/close machine of computer system |
US20110087452A1 (en) * | 2009-10-12 | 2011-04-14 | Quanta Computer Inc. | Test device |
CN102446127A (en) * | 2010-10-11 | 2012-05-09 | 鸿富锦精密工业(深圳)有限公司 | Power supply device and method for testing on/off of computer motherboard |
CN103970660A (en) * | 2014-05-19 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Total system stability automatic test method based on crontab |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778108A (en) * | 2015-04-27 | 2015-07-15 | 浪潮集团有限公司 | Device and method for abnormal power failure circulating testing of server system |
CN105138437A (en) * | 2015-08-25 | 2015-12-09 | 浪潮电子信息产业股份有限公司 | SmartRack multi-node parallel rebot test method based on fatigue test machine and 4U jig |
CN105550086A (en) * | 2015-12-11 | 2016-05-04 | 浪潮电子信息产业股份有限公司 | Startup and shutdown testing method based on voltage and frequency changes |
CN108535563A (en) * | 2018-03-28 | 2018-09-14 | 四川斐讯信息技术有限公司 | A kind of method for testing open/close machine and test system |
CN111176736A (en) * | 2019-12-25 | 2020-05-19 | 苏州浪潮智能科技有限公司 | Server mainboard power-on and power-off test method and system |
CN111176736B (en) * | 2019-12-25 | 2022-07-08 | 苏州浪潮智能科技有限公司 | Server mainboard power-on and power-off test method and system |
CN111858203A (en) * | 2020-06-29 | 2020-10-30 | 广东浪潮大数据研究有限公司 | Server performance detection method, system, programmable controller and storage medium |
CN111858203B (en) * | 2020-06-29 | 2024-02-09 | 广东浪潮大数据研究有限公司 | Server performance detection method, system, programmable controller and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104407950A (en) | Novel power-off on-off testing method based on program-controlled variable frequency power supply | |
CN103970630A (en) | Method for testing overall stability of server | |
CN206411199U (en) | Electronic equipment machine ageing tester | |
CN103412203B (en) | Motor variable-frequency driver ageing tester and method of testing thereof | |
CN103294159B (en) | A kind of method and apparatus realizing electronic device shutdown zero power consumption | |
CN111831498B (en) | Power-off test method, device and equipment | |
CN104111390A (en) | Device for realizing automatic powering-on/off test | |
CN204886397U (en) | Stand -by power supply automatic switch -over circuit | |
CN104699215A (en) | Power supply protection system and power supply protection method | |
CN106201797A (en) | Method for realizing multi-node AC test by matching fatigue testing machine with 4U jig | |
CN105550086A (en) | Startup and shutdown testing method based on voltage and frequency changes | |
CN104615520A (en) | Test method for evaluating startup and shutdown life of server | |
CN105337807A (en) | Router testing system and method | |
Shue et al. | Design and simulation of three-phase ac motor soft-start | |
CN206060229U (en) | A kind of microcomputer automatic sub-synchronous device shutting-brake control system | |
CN102681872A (en) | Automatic cold boot method of notebook computer | |
CN204604559U (en) | A kind of Intelligent automatic-control type type concrete steam curing means | |
CN204257953U (en) | Microcomputer private jack | |
CN210627179U (en) | Programmable startup and shutdown test circuit and device | |
CN203787687U (en) | Cut-off type power-saving socket | |
CN103616843B (en) | The abnormal switching device shifter of pocket watch | |
CN203644016U (en) | MCU (Micro Control Unit) start mode selecting circuit | |
CN206432730U (en) | A kind of power switch circuit of cyclelog | |
CN107453413B (en) | Photovoltaic air conditioner power supply system and method | |
CN204287466U (en) | Expense control intelligent electric energy meter is deducted fees functional reliability verifying attachment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150311 |
|
RJ01 | Rejection of invention patent application after publication |