CN100416509C - Measuring system and method - Google Patents
Measuring system and method Download PDFInfo
- Publication number
- CN100416509C CN100416509C CNB2005100888610A CN200510088861A CN100416509C CN 100416509 C CN100416509 C CN 100416509C CN B2005100888610 A CNB2005100888610 A CN B2005100888610A CN 200510088861 A CN200510088861 A CN 200510088861A CN 100416509 C CN100416509 C CN 100416509C
- Authority
- CN
- China
- Prior art keywords
- electric power
- transmission interface
- switching
- electronic device
- shutting down
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Testing Electric Properties And Detecting Electric Faults (AREA)
Abstract
The invention relates to a testing system and method that makes power supply device to control the second electric device to take on-off process by the first transferring interface of the first electric device, and the second electric device would return on-off process information to the first electric device from the second transferring interface. The system at least includes setting module, first control unit, processing module and second control unit. The invention could make the device smaller. And the needed on-off testing time would be adjusted and traced automatically according to the measuring accuracy.
Description
Technical field
The invention relates to a kind of switching on and shutting down measuring technology, particularly, second electronic device is carried out test macro and the method that switching on and shutting down are handled about a kind of power supply that utilizes first electronic installation control electric power controller.
Background technology
Along with the continuous development of the electronic technology and the network communications technology, many powerful electronic equipments appear on the market, made things convenient for daily life.In the process of research and development electronic equipment, need constantly product to be tested to guarantee the quality of product for example temperature test, steady testing, impact test or start test etc.
With regard to the start test, existing test macro is because the volume of testing apparatus is too huge, in order to reach suitable test environment, a common Test Host will cooperate a plurality of electric power controllers to the electronic equipment to be measured test of starting shooting, yet this way has following shortcoming: (1) is because equipment volume is excessive, should not cooperate environment to test, and the fixing back of equipment is moved also inconvenient; (2) one of them breaks down as if a plurality of electric power controllers, and then whole system can not move, and it is also very inconvenient to fix a breakdown, and in addition, utilizing a plurality of electric power controllers to start shooting and testing also increases testing cost to a certain extent; (3) existing Test Host is to adopt the DOS environment to carry out control and management, has become the obstruction of following management and functional development; (4) existing boot test system needs manually-operated and Switching power switch and the timing of switching on and shutting down time processing repeatedly more, a large amount of manpowers have been wasted, and test process is numerous and diverse, suppose that we need test electronic equipment to be measured and whether can start shooting smoothly and whether crash after power supply, at this moment we must repeat electronic equipment to be measured with manual type Switching Power Supply switch hundreds of time even up to ten thousand times, are to lose time very much and the waste of manpower resource really.In sum, ageing for present this area product requirement, existing start measuring technology can't meet its requirement really.
Therefore, it is simple how to provide a kind of equipment to form member, and has volume is little, the simplification manual testing handles and exploration is high on-off testing system and method, improves the shortcoming of the existing measuring technology of starting shooting, and is problem suddenly to be solved at present.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of test macro and method, and realization equipment composition member simply reaches the little purpose of switching on and shutting down equipment volume really.
Another object of the present invention is to provide a kind of test macro and method, must not use manpower can carry out the switching on and shutting down test quickly and easily to electronic equipment input switch machine steering order to be measured repeatedly.
For reaching above-mentioned and other purpose, the invention provides a kind of test macro and method, this test macro is by first transmission interface of first electronic installation, making electric power controller control second electronic device carry out switching on and shutting down handles, this test macro comprises at least: module is set, electric power starting and shut-in time are set; First control module, according to this be set electric power starting and the shut-in time that module is provided with, to this electric power controller sending controling instruction, make this electric power controller open and powered-down, and carry out timework according to this electric power controller electric power starting and closed condition; Processing module is opened and the powered-down state according to this electric power controller, controls that this second electronic device is corresponding to be carried out switching on and shutting down and handle, and this second electronic device transmits the switching on and shutting down detecting information by second transmission interface when carrying out switching on and shutting down and handling; And second control module, carry out in the process of timework at this first control module, judge whether this processing module has returned the switching on and shutting down detecting information as test result in the given time.Wherein, when the corresponding execution of this second electronic device switching on and shutting down being handled according to this electric power controller unlatching and powered-down state, this processing module is also carried out the record of this second electronic device on-off state, and when this second control module judges whether this processing module has returned the switching on and shutting down detecting information in the given time, also carry out the record of detecting information, so that the tester contrasts the operation result of this first electronic installation and second electronic device according to recorded content.
This method of testing is by first transmission interface control electric power controller of first electronic installation, second electronic device is carried out switching on and shutting down to be handled, and to this first electronic installation back information, this method of testing may further comprise the steps this second electronic device by second transmission interface: electric power starting time and unused time that this electric power controller is set by this first electronic installation; Make this first electronic installation according to the electric power starting and the shut-in time that are provided with, by this first transmission interface to this electric power controller transmit button machine steering order, make its unlatching and powered-down switch, and this first electronic installation is carried out timework according to the electric power starting and the closed condition of this electric power controller; State according to this electric power controller unlatching and powered-down, this second electronic device is by the corresponding execution of first transmission interface switching on and shutting down work of treatment, when wherein this second electronic device is carried out the switching on and shutting down work of treatment, transmit the switching on and shutting down detecting information to this first electronic installation by this second transmission interface; And this first electronic installation judges whether this second electronic device has returned the switching on and shutting down detecting information in the given time, as test result in the process of carrying out timework.Wherein, this second electronic device is according to this electric power controller unlatching and the corresponding execution of powered-down state switching on and shutting down work of treatment the time, also carry out the record of on-off state, and when this first electronic installation judges whether this second electronic device has returned the switching on and shutting down detecting information in the given time, also carry out the record of detecting information, the tester contrasts the operation result of this first electronic installation and second electronic device according to recorded content.
In sum, it is big that test macro of the present invention and method can be improved above-mentioned prior art equipment volume, many and the loaded down with trivial details problem of test jobs of equipment constituent components, and can carry out recording processing and the setting of switching on and shutting down time processing that number of times is sent in the switching on and shutting down instruction to first electronic installation that sends the switching on and shutting down steering order, and the recording processing of tested second electronic device being carried out the switching on and shutting down test result, and then can be automatically according to the required switching on and shutting down testing time of the requirement increase and decrease of measuring accuracy and follow the trail of, and according to the content compared with control end and the end to be measured test result between the two of record.
Description of drawings
Fig. 1 is the basic structure block schematic diagram of test macro of the present invention; And
Fig. 2 is the basic procedure synoptic diagram of method of testing of the present invention.
Embodiment
Fig. 1 is the basic structure block schematic diagram of test macro of the present invention.As shown in the figure, this test macro 1 is by first electronic installation, 10 control electric power controllers 2, power-on switch 3 is to carry out the switching on and shutting down test to second electronic device 11, and this second electronic device 11 is again to these first electronic installation, 10 passback detecting informations, by the detecting information of this first electronic installation 10, judge this second electronic device 11 switching on and shutting down situations according to second electronic device 11 passbacks.This test macro 1 comprises at least: module 100, first control module 101, processing module 110 and second control module 102 are set.As seen from the figure, this is provided with module 100, first control module 101 and second control module 102 and is located in this first electronic installation 10, for example is main control system, and this processing module 110 is located in this second electronic device 11, for example is product to be measured.What this must illustrate be, first electronic installation 10 and the second electronic device 11 of using test macro 1 of the present invention should have other various functional units in addition, for example display unit or input block etc. for simplifying accompanying drawing and explanation, only show the member relevant with the present invention herein.
This is provided with module 100 and by 10 pairs of these second electronic devices 11 of this first electronic installation on time and unused time is set for the user, generally speaking, this is provided with module 100 for example is by language-specific written program such as VB (Visual Basic) or C language, and the input blocks (this do not mark) such as keyboard, button or mouse of user by for example electrically connecting with this first electronic installation 10 activates this and module 100 is set carries out the set handling of switching on and shutting down times.
This first control module 101 is provided with module 100 to these electric power controller 2 transmit button machine steering orders according to this, control its unlatching and powered-down switch 3, and correspondingly at electric power starting or when closing carry out timing and handle, wherein this first control module 101 electrically connects this first electronic installation 10 and electric power controller 2 by first transmission interface (not marking at this), carries out the switching on and shutting down test so that control 2 pairs of these second electronic devices 11 of this electric power controller by this first transmission interface.This first transmission interface preferably is located at printing transmission interface (Print port) or the serial transmission interface connectivity ports such as (for example RS232 port) on this first electronic installation 10, and this electric power controller 2 is ac solid relay (Alternating Current Solid State Relay; ACSSR), certainly, also can be DC relay (Direct Current Relay).Because the principle of work of above-mentioned printing transmission interface, serial transmission interface, ac solid relay and DC relay is the technology that the electronic technology field personnel know, its operation function and inner structure are not specified below therefore.Wherein this first control module 101 can be by language-specific written program such as for example VB (VisualBasic) language or C language.
This processing module 110 is behind these electric power controller 2 unlatchings or powered-down switch 3, make this second electronic device 11 corresponding execution switching on and shutting down work, and record switching on and shutting down situation or number of times, wherein this processing module 110 is not by second transmission interface (marking at this), this second electronic device 11 and first electronic installation 10 are electrically connected, so that the switching on and shutting down detecting information that this second electronic device 11 carries out is passed back to this first electronic installation 10 by this second transmission interface, but this first electronic installation 10 can be declared and know whether normal switch machine of this second device 11, and wherein this processing module 110 can be by language-specific written program such as for example VB (Visual Basic) language or C language.With regard to present embodiment, this processing module 110 is carried out two steps, a step is: write down this second electronic device 11 and itself carry out switching on and shutting down number of times and add up, another step is: by second transmission interface switching on and shutting down detecting information is passed back to this first electronic installation 10.With regard to present embodiment, this second transmission interface is provided in a side of the serial transmission interface on this first electronic installation 10 and this second electronic device 11 or prints connectivity port such as transmission interface.
This second control module 102 is carried out in the process of timing processing at first control module 101 of this first electronic installation 10, judge whether the processing module 110 of this second electronic device 11 has returned the switching on and shutting down detecting information in the given time, if then carry out number of success accumulative total, then carry out frequency of failure accumulative total if not, wherein, this second control module 102 can be a language-specific written program such as VB (VisualBasic) language or C language for example.
As from the foregoing, can allow the tester in simple and easy, the convenient mode rapidly that reaches by test macro 1 of the present invention, make 10 pairs of second electronic devices of this first electronic installation 11 carry out the switching on and shutting down test processes, and the tester need not be repeatedly to the steering order of these first electronic installation, 10 input switch machines, can make this first electronic installation 10 automatically according to the needs of measuring accuracy, increase and decrease required switching on and shutting down testing time.
Fig. 2 is the basic procedure step of method of testing of the present invention.As shown in the figure, present embodiment mainly illustrates the operational scheme of this first electronic installation 10.At first carry out step S1, the tester is provided with module 100 by this first electronic installation 10, the electric power starting of electric power controller 2 and the time of closing are set, with on time and the unused time that this second electronic device 11 is set indirectly, this on time and unused time can be set up on their own according to actual testing requirement by the tester, following steps only at the start test as an illustration, then enter step S2.
In this step S2, first control module 101 of this first electronic installation 10 is provided with the on time that module 100 is provided with according to this, send start-up command power-on switch 3 by first transmission interface to this electric power controller 2, and when power-on, carry out the timing action, then enter step S3.
In this step S3, carry out in the process of timing processing at this first electronic installation 10, make this second control module 102 judge and whether receive the start detecting information of this second electronic device 11 in the given time by the passback of second transmission interface, if then carry out step S5, otherwise enter step S4.
In this step S4, second control module 102 of this first electronic installation 10 does not receive the start detecting information of this second electronic device 11 by the passback of second transmission interface in the given time, then writes down failure result, and can then enter step S6 according to the demand accumulative total frequency of failure.
In this step S5, second control module 102 of this first electronic installation 10 receives the start detecting information of this second electronic device 11 by the passback of second transmission interface in the given time, then writes down successful result, and, then enter step S6 according to demand accumulative total number of success.
In this step S6, this first electronic installation 10 judges whether to proceed test according to the switching on and shutting down time that module 100 settings are set, if then return above-mentioned steps S2; Otherwise, if not, then end switch machine test processes work.
In addition, after carrying out above-mentioned steps S2, under normal circumstances, just this second electronic device 11 receives the power supply normal boot-strap that this power switch 3 provides, the processing module 110 of this second electronic device 11 promptly writes down this switching on and shutting down test result, and can be, and inform to these first electronic installation, 10 back informations by this second transmission interface and to start shooting successfully according to demand accumulative total failure or successful number of times.
In sum, by test macro of the present invention and method, really it is big to have solved existing switching on and shutting down testing apparatus volume, many and the loaded down with trivial details problem of test jobs of equipment constituent components, and can be to sending first electronic installation of switching on and shutting down steering order, carry out the switching on and shutting down instruction and send the recording processing and the setting of the switching on and shutting down time processing of number of times, and the recording processing of tested second electronic device being carried out the switching on and shutting down test result, and then can automatically require the required switching on and shutting down testing time of increase and decrease according to measuring accuracy, and content compared with control end and end to be measured test result between the two according to record, therefore, compare with existing switching on and shutting down test mode, test macro of the present invention and method have progressive.
Claims (11)
1. a test macro by first transmission interface of first electronic installation, makes electric power controller control second electronic device carry out switching on and shutting down and handles, and it is characterized in that this test macro comprises at least:
Module is set, electric power starting and shut-in time are set;
First control module, according to this be set electric power starting and the shut-in time that module is provided with, to this electric power controller sending controling instruction, make this electric power controller open and powered-down, and carry out timework according to this electric power controller electric power starting and closed condition;
Processing module is opened and the powered-down state according to this electric power controller, controls that this second electronic device is corresponding to be carried out switching on and shutting down and handle, and this second electronic device transmits the switching on and shutting down detecting information by second transmission interface when carrying out switching on and shutting down and handling; And
Second control module is carried out in the process of timework at this first control module, judges whether this processing module has returned the switching on and shutting down detecting information as test result in the given time;
Wherein, when the corresponding execution of this second electronic device switching on and shutting down being handled according to this electric power controller unlatching and powered-down state, this processing module is also carried out the record of this second electronic device on-off state, and when this second control module judges whether this processing module has returned the switching on and shutting down detecting information in the given time, also carry out the record of detecting information, so that the tester contrasts the operation result of this first electronic installation and second electronic device according to recorded content.
2. test macro as claimed in claim 1 is characterized in that, this first transmission interface is to print transmission interface or serial transmission interface.
3. test macro as claimed in claim 1 is characterized in that, this second transmission interface is print data transmission interface or serial transmission interface.
4. test macro as claimed in claim 1 is characterized in that, this electric power controller is that ac solid relay or DC relay are formed a kind of in the group.
5. test macro as claimed in claim 1 is characterized in that, this is provided with module, first control module and second control module and is arranged in first electronic installation.
6. test macro as claimed in claim 1 is characterized in that this processing module is arranged in the second electronic device.
7. test macro as claimed in claim 1 is characterized in that, this is provided with module, first control module, second control module and processing module is to be write by specific program language to form.
8. method of testing, first transmission interface by first electronic installation, the control electric power controller carries out switching on and shutting down to second electronic device to be handled, and return the switching on and shutting down process information by second transmission interface to this first electronic installation by this second electronic device, it is characterized in that this method of testing may further comprise the steps:
The electric power starting time and the unused time of this electric power controller are set by this first electronic installation;
Make this first electronic installation according to the electric power starting and the shut-in time that are provided with, by this first transmission interface to this electric power controller transmit button machine steering order, make its unlatching and powered-down switch, and this first electronic installation is carried out timework according to the electric power starting and the closed condition of this electric power controller;
This second electronic device is opened according to this electric power controller by first transmission interface and the corresponding execution of the state switching on and shutting down of powered-down are dealt with the work, when wherein this second electronic device is carried out the switching on and shutting down work of treatment, transmit the switching on and shutting down detecting information to this first electronic installation by this second transmission interface; And
This first electronic installation judges whether this second electronic device has returned the switching on and shutting down detecting information in the given time, as test result in the process of carrying out timework;
Wherein, this second electronic device is according to this electric power controller unlatching and the corresponding execution of powered-down state switching on and shutting down work of treatment the time, also carry out the record of on-off state, and when this first electronic installation judges whether this second electronic device has returned the switching on and shutting down detecting information in the given time, also carry out the record of detecting information, the tester contrasts the operation result of this first electronic installation and second electronic device according to recorded content.
9. method of testing as claimed in claim 8 is characterized in that, this first transmission interface is to print transmission interface or serial transmission interface.
10. method of testing as claimed in claim 8 is characterized in that, this second transmission interface is to print transmission interface or serial transmission interface.
11. method of testing as claimed in claim 8 is characterized in that, this electric power controller is ac solid relay or DC relay.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100888610A CN100416509C (en) | 2005-07-29 | 2005-07-29 | Measuring system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100888610A CN100416509C (en) | 2005-07-29 | 2005-07-29 | Measuring system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1904849A CN1904849A (en) | 2007-01-31 |
CN100416509C true CN100416509C (en) | 2008-09-03 |
Family
ID=37674119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100888610A Expired - Fee Related CN100416509C (en) | 2005-07-29 | 2005-07-29 | Measuring system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100416509C (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241171B (en) * | 2007-02-08 | 2010-09-22 | 佛山市顺德区顺达电脑厂有限公司 | Power supply apparatus test device and method |
CN101247614B (en) * | 2008-03-22 | 2012-03-21 | 华为终端有限公司 | Method, system and device for testing mobile terminal power-on and power-off |
CN101751304B (en) * | 2008-12-19 | 2012-06-13 | 鸿富锦精密工业(深圳)有限公司 | Computer startup test system and method |
CN102375766B (en) * | 2010-08-16 | 2016-05-18 | 中山市云创知识产权服务有限公司 | The on-off test device of electronic installation and method |
CN102520370B (en) * | 2011-12-31 | 2015-02-18 | 曙光信息产业股份有限公司 | Server switching power supply testing method and server switching power supply testing device |
CN103347194A (en) * | 2013-01-22 | 2013-10-09 | 深圳创维数字技术股份有限公司 | Method, apparatus and system for starting-up and shut-down testing |
CN103970627B (en) * | 2013-02-06 | 2017-08-22 | 深圳市杰和科技发展有限公司 | A kind of computer power supply automatic switch test system and method |
CN103267919A (en) * | 2013-06-08 | 2013-08-28 | 上海斐讯数据通信技术有限公司 | Automatic startup and shutdown device |
CN105548753A (en) * | 2015-12-11 | 2016-05-04 | 康佳集团股份有限公司 | Automatic testing method and system of standby and boot function of electric equipment |
CN106448017A (en) * | 2016-10-09 | 2017-02-22 | 四川赛科安全技术有限公司 | System for recording power-off and restoration time of fire alarm controller and implementation methods thereof |
CN107719700B (en) * | 2017-09-29 | 2019-10-18 | 深圳市大疆创新科技有限公司 | Unmanned vehicle test method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4291404A (en) * | 1979-11-20 | 1981-09-22 | Lockheed Corporation | Automatic circuit tester with improved voltage regulator |
CN1391164A (en) * | 2002-06-04 | 2003-01-15 | 威盛电子股份有限公司 | On-off test method for motherboard of computer |
CN1484146A (en) * | 2002-09-20 | 2004-03-24 | 联想(北京)有限公司 | Test card for computer |
-
2005
- 2005-07-29 CN CNB2005100888610A patent/CN100416509C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4291404A (en) * | 1979-11-20 | 1981-09-22 | Lockheed Corporation | Automatic circuit tester with improved voltage regulator |
CN1391164A (en) * | 2002-06-04 | 2003-01-15 | 威盛电子股份有限公司 | On-off test method for motherboard of computer |
CN1484146A (en) * | 2002-09-20 | 2004-03-24 | 联想(北京)有限公司 | Test card for computer |
Also Published As
Publication number | Publication date |
---|---|
CN1904849A (en) | 2007-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100416509C (en) | Measuring system and method | |
TW543280B (en) | Wireless engine-generator systems digital assistant | |
US20070021848A1 (en) | Testing system and related method for testing an electronic device by determining a power on/off signal | |
CN106789423A (en) | Interchanger automatic test device and method of testing | |
CN106055440B (en) | A kind of test method and system for realizing server exception power-off by BMC | |
CN105306927A (en) | Startup and shutdown impact tester and impact test system and method | |
CN101931728B (en) | Information processing apparatus, and control method of information processing apparatus | |
CN105752359B (en) | A kind of airborne photoelectric gondola detection means | |
CN106842152A (en) | Airborne fire control radar online system failure diagnosis | |
CN103149539A (en) | Multifunctional power source test system | |
CN101581761A (en) | System and method for realizing production test | |
CN103253014A (en) | Control device, control method of control device, and storage medium | |
CN107064775A (en) | A kind of system that distributed reliability test is carried out to printed circuit board (PCB) | |
CN204203764U (en) | Vehicle Controller automatic test device | |
CN106597915B (en) | The series-parallel rapid configuration instrument of programmable power supply | |
CN106610800B (en) | Information processing equipment and information processing method | |
CN102340572A (en) | Method and equipment for carrying out black box test on mobile phone mainboard | |
CN108507617A (en) | Temperature-humidity detecting device and its detection method | |
CN114578072A (en) | Control method of sample analysis apparatus | |
CN203551736U (en) | Static test device for circuit board | |
CN2904107Y (en) | Monitor | |
CN213633661U (en) | HMI board card level detection system for motor train unit human-computer interface | |
CN206133543U (en) | Serial communication detection device | |
CN211554254U (en) | Automatic testing arrangement of large-scale passenger plane lithium cell | |
JP3005622B2 (en) | Communications 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080903 Termination date: 20150729 |
|
EXPY | Termination of patent right or utility model |