CN102654845B - Power detecting system and method - Google Patents

Power detecting system and method Download PDF

Info

Publication number
CN102654845B
CN102654845B CN201110049867.2A CN201110049867A CN102654845B CN 102654845 B CN102654845 B CN 102654845B CN 201110049867 A CN201110049867 A CN 201110049867A CN 102654845 B CN102654845 B CN 102654845B
Authority
CN
China
Prior art keywords
relay
server
power supply
test
opened
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.)
Active
Application number
CN201110049867.2A
Other languages
Chinese (zh)
Other versions
CN102654845A (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.)
BYZORO NETWORK LTD.
Original Assignee
Byzoro Network 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 Byzoro Network Ltd filed Critical Byzoro Network Ltd
Priority to CN201110049867.2A priority Critical patent/CN102654845B/en
Publication of CN102654845A publication Critical patent/CN102654845A/en
Application granted granted Critical
Publication of CN102654845B publication Critical patent/CN102654845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

A kind of power detecting system, including: sending module, for sending open command to specifying the AC relay opened, described AC relay is made to open the power supply that the AC relay opened with this appointment is connected, after server is started shooting, send the AC relay specifying closedown in the AC relay that shutdown command is opened to above-mentioned appointment, to close the power supply being connected, and send test command to server, the power supply that control server test residue is opened;Receiver module, for when the time of the power supply that server test residue is opened reaches the testing time that user sets, receiving the test result that server sends;Described sending module, is additionally operable to when test result is for being successfully tested, and transmission shutdown command, to server, controls this server and carries out closing machine operation;Logging modle, for when test result is test crash, records test result.Present invention also offers a kind of power supply test method, utilize the present invention, can accurately and efficiently power supply be tested.

Description

Power detecting system and method
Technical field
The present invention relates to a kind of test system and method, particularly relate to a kind of power detecting system and side Method.
Background technology
In a lot of server products, have plural power supply (Power Supply Unit) Realize redundancy (redundant) function.When one of them power supply damages, system will not be made Because electricity shortage and power-off, to such an extent as to cannot use.
When system has multiple power supply, need repeatedly to test function and the reliability of each power supply.And Current method of testing is simulation all power supplys all normal power supplies, after test a period of time, extracts one Individual power supply, whether observe test cell can be properly functioning, if properly functioning, then to next electricity Identical test is done in source.Above testing procedure needs manually to remove start, execution test cell, extract The power line etc. of one of them power supply.When there being multiple power supply, substantial amounts of manpower to be expended, waste The time of tester, reduce work efficiency.
Summary of the invention
In view of the foregoing, it is necessary to provide a kind of power detecting system, it is possible to the electricity to server Source is fast and effeciently tested.
There is a need to provide a kind of power supply test method, it is possible to the power supply of server is quickly had The test of effect ground.
A kind of power detecting system, runs in computer, and this computer is connected to multiple exchange and continues Electrical equipment, a power supply of each AC relay Connection Service device, this system includes: send mould Block, for sending open command to specifying the AC relay opened so that open with described appointment AC relay be connected electric power starting, when server start shooting after, this sending module be additionally operable to send out Send the AC relay specifying closedown in the AC relay that shutdown command opens to above-mentioned appointment, with Close the power supply that the AC relay cut out with this appointment is connected;Described sending module is additionally operable to send Test command is tested to server, the power supply being unlocked residue to control this server, should The power supply that residue is unlocked refers to remove what specifying outside the described AC relay specified and close was opened The power supply that AC relay is connected;Receiver module, for being unlocked when residue described in server test Time of power supply when reaching the testing time that user sets, receive the test knot that server sends Really;Described sending module, is additionally operable to when test result is for being successfully tested, send shutdown command to Described server, controls this server and carries out closing machine operation;And logging modle, for when test knot When fruit is test crash, record the test result of this test crash.
A kind of power supply test method, is applied to computer, and this computer is connected to multiple exchange relay Device, a power supply of each AC relay Connection Service device, the method comprises the steps: meter Calculation machine sends open command to specifying the AC relay opened so that with the described friendship specified and open The electric power starting that current relay is connected;After server is started shooting, send shutdown command to above-mentioned appointment The AC relay opened specifies the AC relay of cut out, to close the friendship closed with this appointment The power supply that current relay is connected;Transmission test command is to server, to control this server to residue The power supply being unlocked is tested, and the power supply that this residue is unlocked refers to remove what described appointment was closed The power supply that the AC relay that specifying outside AC relay is opened is connected;When described in server test When the time of the power supply that residue is unlocked reaches the testing time that user sets, described computer receives The test result that server sends;When test result is for being successfully tested, send shutdown command to clothes Business device, controls this server and carries out closing machine operation;And when test result is test crash, record The test result of this test crash.
Compared to prior art, described power detecting system and method, by the measurement jig of design Testing power supply, test is omnidistance without manual operation, can arbitrarily increase testing time and come To more accurate test result, improve work efficiency.
Accompanying drawing explanation
Fig. 1 is the running environment figure of power detecting system preferred embodiment of the present invention.
Fig. 2 is the functional block diagram of power detecting system 10 in Fig. 1.
Fig. 3 is the operation process chart of power supply test method preferred embodiment of the present invention.
Main element symbol description
Computer 1
Power detecting system 10
Control signal wire 2
AC relay 3
Power line 4
Power supply 5
Server 6
Test cell 60
Netting twine 7
Sending module 100
Receiver module 101
Judge module 102
Logging modle 103
Following detailed description of the invention will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Detailed description of the invention
As it is shown in figure 1, be the running environment figure of power detecting system preferred embodiment of the present invention.Should Power detecting system 10 runs in computer 1, and this computer 1 is connected by control signal wire 2 In multiple AC relays 3, in this preferred embodiment, user can be to the plurality of AC relay 3 are numbered, and the AC relay 3 facilitating computer 1 to control to specify is turned on and off.
Each AC relay 3 is connected to a power supply 5, each AC relay by power line 4 3 is the switch of corresponding power supply 5, such as, if described computer 1 is controlled by control signal wire 2 Described AC relay 3 is opened, then the power supply 5 being connected with this AC relay 3 is the most correspondingly opened Open.All power supplys 5 are for powering to server 6.
This server 6 is connected to computer 1 by netting twine 7, and described server 6 includes test cell 60, this computer 1 sends test command to server 6 by netting twine 7, and this server 6 performs institute State test cell 60, to realize power supply 5 is tested.Described computer 1 is also connect by this netting twine 7 Receiving the test data that server 6 sends, in this preferred embodiment, these test data include start letter Breath, the test result of power supply 5.
As in figure 2 it is shown, be the functional block diagram of power detecting system 10 in Fig. 1.Described power supply is surveyed Test system 10 includes: sending module 100, receiver module 101, judge module 102 and record mould Block 103.Described module is the software program section with specific function, and this software is stored in computer can Read storage medium or other storage device, can by computer or other comprise the calculating device of processor Perform, thus complete the work flow of the test power supply 5 in the present invention.
Sending module 100 is for sending open command to specifying the AC relay 3 opened, described finger After this open command received by the fixed AC relay 3 opened, open and be connected with this AC relay 3 Power supply 5.The described AC relay 3 specifying unlatching can be one or more.This is preferably implemented In example, the AC relay 3 that this appointment is opened can be the AC relay 3 that user selects, it is possible to Think and open AC relay 3 according to the number order of AC relay 3.Initial at power supply test Under state, i.e. before not testing any one power supply 5, the described exchange relay specifying unlatching Device 3 is defaulted as all AC relays 3 being connected with computer 1.
Receiver module 101 is for receiving the boot-strap information that server 6 sends, and this boot-strap information includes The operation system information of server 6.
According to the boot-strap information of above-mentioned reception, judge module 102 is for judging whether server 6 completes In-cycle work.
If it is determined that result is this server 6 completes in-cycle work, the most described sending module 100 is also One or more for send in the AC relay 3 that shutdown command is opened to above-mentioned appointment, this These one or more AC relays 3 are referred to as specifying the AC relay 3 cut out by embodiment.Referring to After the fixed AC relay 3 cut out receives described shutdown command, control the friendship closed with this appointment The power supply 5 that current relay 3 is connected is closed, and i.e. controls the AC relay 3 closed with this appointment The power supply 5 being connected is stopped power supply.
If above-mentioned result of determination is described server 6 does not complete in-cycle work, then logging modle 103 Start shooting exception for recording this server 6.
When server 6 completes in-cycle work, described sending module 100 is additionally operable to send test Order, to server 6, controls described server 6 and performs test cell 60.In the present embodiment, should It is to be unlocked residue by the software program in runtime server 6 that test cell 60 performs test Power supply 5 (removes in the power supply 5 that the AC relay 3 that the most above-mentioned appointment is opened is connected and specifies closedown The power supply 5 that AC relay 3 is connected) test, and record the feelings performing each software program Condition, as record perform software program time CPU ruuning situation, internal memory take situation etc..Example As, the present embodiment includes three AC relays 3, numbered first AC relay 3, second AC relay 3 and the 3rd AC relay 3.Specifying the AC relay 3 opened is these three friendships Current relay 3, if specify close AC relay 3 be the first AC relay 3, then this first AC relay 3 cuts out the power supply 5 being connected with this first AC relay 3, the electricity that residue is unlocked Source 5 is the power supply 5 being connected with the second AC relay 3, and is connected with the 3rd AC relay 3 Power supply 5.
Described judge module 102 is additionally operable to judge that test cell 60 tests the electricity that described residue is unlocked Whether the time in source 5 has reached the testing time that user sets.In this preferred embodiment, Yong Hushe The fixed testing time is one hour.
The testing time that user sets has been reached when the time testing the power supply 5 that described residue is unlocked Time, described receiver module 101 is additionally operable to receive the test result that server 6 sends.If test is surplus More than time of power supply 5 of being unlocked be not reaching to the time that user sets, the most described test cell 60 Continue to test the power supply 5 that described residue is unlocked.
Described judge module 102 is additionally operable to judge whether above-mentioned test result is test crash.If should Test result is test crash, and the most described logging modle 103 records this test result.If this test Result for being successfully tested, the most described sending module 100 be additionally operable to send shutdown command to server 6, Described server 6 carries out operation of shutting down after receiving this shutdown command.
Described judge module 102 is additionally operable to the number of times judging to test the power supply 5 that described residue is unlocked Whether reach the testing time that user specifies.In this preferred embodiment, in order to obtain accurate survey Test result, this testing time specified can be 500 times.If testing the electricity that described residue is unlocked The number of times in source 5 has reached the testing time that user specifies, and the most described sending module 100 is additionally operable to root Open command is again sent to the described AC relay specified and open according to the above-mentioned testing time specified 3, and repeat the above steps is to test, according to this testing time specified, the power supply that above-mentioned residue is unlocked 5。
As it is shown on figure 3, be the operation process chart of power supply test method preferred embodiment of the present invention.
Step S30, sending module 100 sends the AC relay 3 that open command is opened to appointment, After this open command received by the described AC relay 3 specifying unlatching, open and this appointment unlatching The power supply 5 that AC relay 3 is connected.Described specify open AC relay 3 can be one or Multiple.In this preferred embodiment, the AC relay 3 that this appointment is opened can be that user selects AC relay 3, it is also possible to open AC relay for the number order according to AC relay 3 3.Under the original state of power supply test, i.e. before not testing any one power supply 5, described The AC relay 3 opened is specified to be defaulted as all AC relays 3 being connected with computer 1.
Step S31, receiver module 101 receives the boot-strap information that server 6 sends, this boot-strap information Operation system information including server 6.
Step S32, it is judged that according to the boot-strap information of above-mentioned reception, module 102 judges server 6 whether Complete in-cycle work.If it is determined that result is server 6 completes in-cycle work, then perform step S34.If it is determined that result is this server 6 does not complete in-cycle work, then in step S33, record Module 103 records this server 6 and starts shooting exception, and terminates flow process.
Step S34, described sending module 100 sends the exchange that shutdown command opens to above-mentioned appointment and continues One or more in electrical equipment 3, these one or more AC relays 3 are referred to as referred to by the present embodiment The fixed AC relay 3 closed.
Step S35, after the AC relay 3 that above-mentioned appointment is closed receives described shutdown command, control The power supply 5 that the AC relay 3 that system is closed with this appointment is connected is closed, and i.e. controls to refer to this The power supply 5 that the fixed AC relay 3 cut out is connected is stopped power supply.
Step S36, sending module 100 sends test command to server 6, controls described server 6 perform test cell 60.In the present embodiment, it is to be taken by operation that this test cell 60 performs test The power supply 5 that residue is unlocked by the software program in business device 6 is tested, and it is each to record execution The situation of software program, such as the ruuning situation of CPU, taking of internal memory during record execution software program Situation etc..Such as, the present embodiment includes three AC relays 3, numbered first exchange relay Device the 3, second AC relay 3 and the 3rd AC relay 3.Specify the AC relay 3 opened For these three AC relays 3, if specifying the AC relay 3 closed is the first AC relay 3, then this first AC relay 3 cuts out the power supply 5 being connected with this first AC relay 3, surplus More than the power supply 5 that is unlocked be the power supply 5 being connected with the second AC relay 3, and exchange with the 3rd The power supply 5 that relay 3 is connected.
Step S37, described judge module 102 judges that above-mentioned test cell 60 is tested described residue and opened Whether the time of the power supply 5 opened has reached the testing time that user sets.This preferred embodiment In, the testing time that user sets was as one hour.When testing the power supply 5 that described residue is unlocked Time reached user set testing time time, then perform step S38.If testing described residue The time of the power supply 5 being unlocked is not reaching to the testing time that user sets, then repeated execution of steps S36。
Step S38, described receiver module 101 receives the test result that server 6 sends.
Step S39, described judge module 102 judges whether above-mentioned test result is test crash.If This test result is test crash, then in step S40, logging modle 103 records this test result, And terminate flow process.If this test result is for being successfully tested, then perform step S41.
Step S41, sending module 100 sends shutdown command and connects to server 6, described server 6 Operation of shutting down is carried out after receiving this shutdown command.
Step S42, described judge module 102 judge to test the power supply 5 that is unlocked of described residue time Whether number has reached the testing time specified.In this preferred embodiment, in order to obtain accurate test As a result, this testing time specified can be 500 times.If testing the power supply 5 that described residue is unlocked Number of times be not reaching to the testing time that user specifies, then repeated execution of steps S30.If test is described The number of times of the power supply 5 that residue is unlocked has reached the testing time that user specifies, then terminate flow process.
It should be noted that the testing process that above-mentioned flow chart is user's nominative testing power supply 5, on State flow chart terminate after (after i.e. testing time reaches 500 times) can be according to AC relay 3 Number order tests all of power supply 5 the most successively.
It should be noted last that, above example only in order to technical scheme to be described rather than Limit, although the present invention being described in detail with reference to preferred embodiment, the common skill of this area Art personnel should be appreciated that and can modify technical scheme or equivalent, and not Depart from the spirit and scope of technical solution of the present invention.

Claims (5)

1. a power detecting system, runs in computer, and this computer is connected to multiple exchange and continues Electrical equipment, a power supply of each AC relay Connection Service device, it is characterised in that this system bag Include:
Sending module, for sending open command to specifying the AC relay opened so that with institute State the electric power starting specifying the AC relay opened to be connected, after server is started shooting, this transmission mould Block is additionally operable to send the exchange specifying closedown in the AC relay that shutdown command is opened to above-mentioned appointment Relay, to cut out the power supply that the AC relay cut out with this appointment is connected;
Described sending module is additionally operable to send test command to server, to control this server to surplus More than the power supply that is unlocked test, the power supply that this residue is unlocked refers to that removing described appointment closes AC relay outside specify the power supply that connected of AC relay opened;
Receiver module, for reaching to use when the time remaining the power supply being unlocked described in server test During the testing time that family sets, receive the test result that server sends;
Described sending module, is additionally operable to when test result is for being successfully tested, send shutdown command to Described server, controls this server and carries out closing machine operation;And
Logging modle, for when test result is test crash, records the test of this test crash Result.
2. power detecting system as claimed in claim 1, it is characterised in that described receiver module is also For receiving the boot-strap information that server sends.
3. power detecting system as claimed in claim 2, it is characterised in that this power detecting system Also include that judge module, described judge module are additionally operable to the boot-strap information according to above-mentioned reception and judge clothes Whether business device completes in-cycle work;Described logging modle is additionally operable to when result of determination is that server does not has When having had in-cycle work, record the start of this server abnormal.
4. a power supply test method, is applied to computer, and this computer is connected to multiple exchange relay Device, a power supply of each AC relay Connection Service device, it is characterised in that the method includes Following steps:
Computer sends open command to specifying the AC relay opened so that open with described appointment The electric power starting that the AC relay opened is connected;
After server is started shooting, send the AC relay middle finger that shutdown command is opened to above-mentioned appointment The fixed AC relay cut out, to cut out the power supply that the AC relay cut out with this appointment is connected;
Send test command to carry out to server, power supply residue being unlocked to control this server Test, the power supply that this residue is unlocked refers to remove the finger outside the described AC relay specified and close The power supply that the fixed AC relay opened is connected;
When the time remaining the power supply being unlocked described in server test reaches the test that user sets Between time, described computer receive server send test result;
When test result is for being successfully tested, transmission shutdown command, to server, controls this server Carry out closing machine operation;And
When test result is test crash, record the test result of this test crash.
5. power supply test method as claimed in claim 4, it is characterised in that send at computer and open Open order to specifying the AC relay opened so that with the described AC relay phase specified and open After the step of electric power starting even, the method also includes:
Receive the boot-strap information that server sends;
Boot-strap information according to above-mentioned reception judges whether server completes in-cycle work;
When result of determination be server do not complete in-cycle work time, record this server start different Often;And
When result of determination be server complete in-cycle work time, perform described transmission shutdown command to The AC relay that above-mentioned appointment is opened specifies the step of the AC relay of cut out.
CN201110049867.2A 2011-03-02 2011-03-02 Power detecting system and method Active CN102654845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110049867.2A CN102654845B (en) 2011-03-02 2011-03-02 Power detecting system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110049867.2A CN102654845B (en) 2011-03-02 2011-03-02 Power detecting system and method

Publications (2)

Publication Number Publication Date
CN102654845A CN102654845A (en) 2012-09-05
CN102654845B true CN102654845B (en) 2016-12-07

Family

ID=46730471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110049867.2A Active CN102654845B (en) 2011-03-02 2011-03-02 Power detecting system and method

Country Status (1)

Country Link
CN (1) CN102654845B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776168A (en) * 2016-12-09 2017-05-31 郑州云海信息技术有限公司 A kind of server PS U automates redundancy testing method and device
CN113917355A (en) * 2020-07-07 2022-01-11 中国电信股份有限公司 Automatic test method, device and system for redundant power supply
CN112098882A (en) * 2020-08-03 2020-12-18 佛山市顺德区蚬华多媒体制品有限公司 Automatic power supply testing system and method
CN113190392B (en) * 2021-05-14 2023-08-01 宁畅信息产业(北京)有限公司 Stability testing method and device for power module, controller and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200705172A (en) * 2005-07-21 2007-02-01 Inventec Corp Testing system and method
CN100529778C (en) * 2006-06-16 2009-08-19 鸿富锦精密工业(深圳)有限公司 Multiple battery insertion groove investigating system and method
CN101369008B (en) * 2007-08-17 2010-12-08 鸿富锦精密工业(深圳)有限公司 Thermal switching test system and method for redundant power supply

Also Published As

Publication number Publication date
CN102654845A (en) 2012-09-05

Similar Documents

Publication Publication Date Title
US10929260B2 (en) Traffic capture and debugging tools for identifying root causes of device failure during automated testing
CN103676657B (en) A kind of verification system for satellite Integrated Electronic System
CN104991629B (en) Power-fail detecting system and its method
CN104731701B (en) Test system and the method and apparatus for performing test assignment
CN105738854A (en) Simulation memory test board system for intelligent ammeter embedded application and test method
CN102654845B (en) Power detecting system and method
CN102799504A (en) Power supply testing system and method
CN102244591A (en) Client server and method for full process monitoring on function text of client server
CN112014788B (en) Load identification module detection method based on wave recording file playback
CN113377591B (en) Method and device for improving test speed of ATE equipment chip
CN106537351A (en) Method for diagnosing power supply failure in wireless communication device
CN114546747A (en) BMC cold restart pressure test system and method
CN114878960A (en) Fault diagnosis method, storage medium, power acquisition terminal, and fault diagnosis system
CN202421448U (en) Relay detecting device for nuclear power stations
Wang et al. Machine learning-based volume diagnosis
CN104468279A (en) Routing protocol interaction testing method and tool
CN110850354B (en) Metering fault recognition module detection method, device, system and storage medium
CN107907838A (en) A kind of redundant power module tests system and method
CN110928795A (en) Stability test method and device for upgrading storage system
CN111552584A (en) Test system, method and device for primary fault diagnosis isolation and recovery functions of satellite
CN116306429A (en) Method, device, computer storage medium and terminal for realizing state data capture
CN107167675A (en) A kind of ageing testing method and device of CANBus terminals
US6598193B1 (en) System and method for testing component IC chips
CN112667669A (en) Method and device for evaluating maintainability testability of equipment and computer equipment
CN110413471A (en) A kind of FPGA internal signal data capture method, system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160602

Address after: 518000 Guangdong Province, Shenzhen New District of Longhua City, Dalang street, Hua Sheng Lu Yong Jingxuan commercial building 1608

Applicant after: Jinyang Shenzhen sea Network Intelligent Technology Co., Ltd.

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

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

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

C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Song Yu

Inventor before: Lin Ruiqing

COR Change of bibliographic data
TA01 Transfer of patent application right

Effective date of registration: 20161028

Address after: 100095 Beijing City, Haidian District Zhongguancun environmental protection park P.Tricuspidata Road No. 5 Building No. 3 hospital Baizhuo building

Applicant after: BYZORO NETWORK LTD.

Address before: 518000 Guangdong Province, Shenzhen New District of Longhua City, Dalang street, Hua Sheng Lu Yong Jingxuan commercial building 1608

Applicant before: Jinyang Shenzhen sea Network Intelligent Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Power detecting system and method

Effective date of registration: 20180517

Granted publication date: 20161207

Pledgee: Huaxia Bank Beijing branch Wanliu Limited by Share Ltd

Pledgor: BYZORO NETWORK LTD.

Registration number: 2018990000370

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20190715

Granted publication date: 20161207

Pledgee: Huaxia Bank Beijing branch Wanliu Limited by Share Ltd

Pledgor: BYZORO NETWORK LTD.

Registration number: 2018990000370