CN102819463A - Automatic testing system of comprehensive protection device - Google Patents
Automatic testing system of comprehensive protection device Download PDFInfo
- Publication number
- CN102819463A CN102819463A CN2012102928788A CN201210292878A CN102819463A CN 102819463 A CN102819463 A CN 102819463A CN 2012102928788 A CN2012102928788 A CN 2012102928788A CN 201210292878 A CN201210292878 A CN 201210292878A CN 102819463 A CN102819463 A CN 102819463A
- Authority
- CN
- China
- Prior art keywords
- message
- test
- queue
- concrete
- team
- 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.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 171
- 238000000034 method Methods 0.000 claims abstract description 30
- 230000008569 process Effects 0.000 claims abstract description 14
- 230000006870 function Effects 0.000 claims description 22
- 230000009471 action Effects 0.000 claims description 18
- 238000004891 communication Methods 0.000 claims description 17
- 230000002093 peripheral effect Effects 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 9
- 241000208340 Araliaceae Species 0.000 claims description 7
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 7
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 7
- 235000008434 ginseng Nutrition 0.000 claims description 7
- 238000013461 design Methods 0.000 claims description 6
- 238000009826 distribution Methods 0.000 claims description 6
- 230000003993 interaction Effects 0.000 claims description 6
- 238000005259 measurement Methods 0.000 claims description 6
- 230000015572 biosynthetic process Effects 0.000 claims description 5
- 238000004458 analytical method Methods 0.000 claims description 3
- 238000013100 final test Methods 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 2
- 238000001514 detection method Methods 0.000 abstract description 9
- 238000004519 manufacturing process Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 10
- 230000007246 mechanism Effects 0.000 description 5
- 238000012937 correction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000005304 joining Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Images
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention relates to an automatic testing system of a comprehensive protection device. A pure manual mode is adopted in the conventional production testing; after a device is manually positioned on a testing tool by an operator, analog acquisition, testing of external input such as input and factory setting such as channel zero calibration and calibration of a channel coefficient are manually finished; and after relative operation is finished, test record data is filled manually in a preprinted test report, and all steps are finished by the operator, so that more unreliability factors, high risk and low efficiency are caused. According to the automatic testing system, whether hardware of the YZ series comprehensive protection devices work normally can be quickly detected in an automatic mode, and a clear problem existing in the hardware is positioned through detection. According to the system, the conventional manual testing process can be substituted, the operation is easy, the use is convenient, the testing of the comprehensive protection device can be finished by only operating a PC (Personal Computer) by the operator, the production test efficiency can be greatly increased, and the production test cost is reduced.
Description
One, technical field:
The present invention relates to a kind of complex protection device Auto-Test System.
Two, background technology:
Pure manual mode is adopted in the production test of complex protection device of my department at present, will install manual positioning behind test fixture by the operator, manual completion analog acquisition; Open test into outside inputs such as amounts, and the passage zero point correction, the Default Values such as calibration of passage coefficient; After accomplishing associative operation, in printed in advance test report, manually fill in the test record data, all links are accomplished by the operator; Unreliable factor is more, has a big risk, and inefficiency; Along with the development of company, the increase of delivering amount, manual production test pattern will become the bottleneck of restriction development.
Three, summary of the invention:
The present invention provides a kind of complex protection device Auto-Test System simple to operate, easy to use in order to solve the weak point in the above-mentioned background technology,
For realizing above-mentioned purpose, the technical scheme that the present invention adopts is: a kind of complex protection device Auto-Test System is characterized in that: described test macro comprises device side and PC side,
Described device side comprises 4 layers of distribution of employing, is respectively application layer, SML, business realizing layer and hardware abstraction layer;
Described application layer is in charge of the page, and the startup of message manager;
Described SML mainly is the management to message;
Described business realizing layer is the concrete logic realization of each test item, and from the terminal cancellation breath and the result delivered to the realization of the function at terminal, all business actions are all at this one deck imbody;
Described hardware abstraction layer is provided with the drive part of hardware;
Described PC side comprises 4 layers of distribution of employing, is respectively application layer, SML, business realizing layer and hardware abstraction layer;
Described application layer is in charge of the page, output print;
Described SML mainly is the management to test queue;
The business realizing layer is the concrete logic realization of each test item, and to the control of test source, the management of test board;
Hardware abstraction layer mainly is a communication module, carries data interaction business up and down;
The process step of described device side is:
(1) beginning;
(2) initialization;
(3) catch message, put into Message Queuing, from message queue, read message; Be, then get into next step, not, then from message queue, read message again;
(4) start actuator;
(5) output execution result;
The process step of described PC side is:
(1) beginning;
(2) initialization;
(3) starting measurement circuit, is then to get into next step, otherwise restart measurement circuit;
(4) start actuator;
(5) carry out single test item write order;
(6) carry out single test item read command;
(7) judgement and record execution result;
(8) test item is finished, and is, then gets into next step, otherwise turns back to for (5) step;
(9) output test result.
SML in the described device side comprises message queue manager, message input unit, message processing unit and execution result output unit;
Message queue manager has been set up a message queue and the Access Management Access to message queue is provided; This is the module of a core, with peripheral hardware and concrete independent of service, the basic operation of message queue such as initialization; Message is joined the team, and message goes out functions such as team and here realizes;
Described message queue manager be divided into message join the team with message go out team;
Message input unit realizes the information capture to peripheral hardware, and the information analysis of catching is become standard message format, subsequently the access message manager; Message is pressed into message queue; When resolving, need carry out the binding of concrete test service and message body, if band ginseng message scenario, when resolving; Parameter pointer and parameter length have just been kept in the message body; Concrete parameter need use preallocated internal memory to preserve, and this unit only provides an interface to use to application layer, and everything is all in the inner realization of interface;
This unit of message processing unit has safeguarded that an actuator is in operation; Actuator is carried out the message action interface function repeatedly, and access message manager at first on the flow process takes out message from message queue; Again this message is passed to actuator if any message and carry out, thereby accomplish concrete professional operation;
The process step that described message is joined the team is:
(1) beginning;
(2) new information input;
(3) the message pointer is write in reorientation;
(4) checking whether current location has message, is then to withdraw from; , then do not get into next step;
(5) new information is joined the team;
(6) withdraw from;
The process step that described message goes out team is:
(1) beginning;
(2) whether message is empty, is then to get into final step; Otherwise get into next step;
(3) whether current message is effective, is, then gets into next step; , then do not get into final step;
(4) current message goes out team;
(5) the message pointer is read in reorientation;
(6) withdraw from;
The process step of described message input unit is:
(1) beginning;
(2) obtain message id from peripheral hardware;
(3) set up standard format message;
(4) new information is joined the team;
The process step of described message processing unit is:
(1) beginning;
(2) from the formation Pop-up message;
(3) message verification;
(4) line interface of execution message;
(5) dish out execution result to peripheral hardware;
Described execution result output unit mainly is that the output of message execution result is obtained; And output to peripheral hardware, after carrying out release, can preserve the result that this carries out action in the message body; This unit will be responsible for this result is outputed to the terminal user; If there is test can't return to the situation of host computer with a single state, then need return some quantity of states, this situation and message band ginseng situation are generally handled.
Described business realizing layer comprises test item unit, message input and result's output; Concrete test logic is realized in described test item unit; All test services all carry out personalization here to be realized, in the subclass interface of each test item, through the visit to hardware driving; Realize the test logic of single test item, the concrete action of test item obtains complete embodiment here.
The SML of described PC side is the operation queue management, is responsible for test queue is decomposed execution, each running node in the access queue one by one;
The process step of described operation queue management is:
(1) begins test;
(2) start tester;
(3) test node is carried out;
(4) test queue is finished, and is, then carries out next step; , then do not return a step;
(5) withdraw from.
The concrete test logic of the test service of described PC side is realized, according to test-types test logic is carried out refinement, test action is converted into a series of Frames issues device side software; And judge replying data, obtain final testing result, this result is issued main interface module with the form of message; The test source control and management; For test service provides function corresponding, cooperate and accomplish test, the test board module also is the fit module of test service;
The process step of described test service is:
(1) test service logic dress is changed to the logical data bag;
(2) packet issues;
(3) wait for return results and judgement;
(4) withdraw from.
Communication module in the hardware abstraction layer of described PC side is responsible for the data interaction of PC side and device side, and original Upper machine communication module is used in design.
Compared with prior art, advantage and effect that the present invention has are following: whether the hardware of the mode fast detecting YZ series complex protection device of the present invention through robotization is in proper working order, and the definite problem through the existence of detection and location hardware.This system can replace the traditional-handwork test process, and is simple to operate, easy to use, and the operator only need operate PC can accomplish the test to complex protection device, can increase substantially the efficient of production test, reduces the production test cost.
Four, description of drawings:
Fig. 1 is apparatus of the present invention side process flow diagram;
Fig. 2 is a PC side process flow diagram of the present invention;
Fig. 3 is apparatus of the present invention side structure frame diagram;
Fig. 4 is a PC side structure frame diagram of the present invention;
Fig. 5 is the message of the present invention process flow diagram of joining the team;
Fig. 6 goes out flow figure for message of the present invention;
Fig. 7 is message input process flow diagram of the present invention;
Fig. 8 is a Message Processing process flow diagram of the present invention;
Fig. 9 is an interface of the present invention process flow diagram;
Figure 10 is an operation queue process flow diagram of the present invention;
Figure 11 is a test service process flow diagram of the present invention;
Figure 12 is an overview flow chart of the present invention.
Five, embodiment:
1.1 functional requirement of the present invention:
Communication function detects: issue communication command by PC, whether the inspection tested device replys correctly.If do not reply or reply mistake then communication channel has problem.
Single-chip microcomputer ROM self check: whether the ROM that detects single-chip microcomputer has bad BANK.Adopt sampling address read-write detection scheme.Device is after receiving the ROM self check order that PC issues, and device selects fixing address to carry out read-write operation in fixing several zones.If write and read to such an extent that data have inconsistent phenomenon.Represent that then there is bad BANK in the ROM district.Judge that then this single-chip microcomputer ROM has problem.
Single-chip microcomputer RAM self check: whether the RAM that detects single-chip microcomputer has bad BANK.Adopt sampling address read-write detection scheme.Device is after receiving the RAM self check order that PC issues, and device selects fixing address to carry out read-write operation in fixing several zones.If write and read to such an extent that data have inconsistent phenomenon.Represent that then there is bad BANK in the ROM district.Judge that then this single-chip microcomputer RAM has problem.
The amount of leaving detects: by the output of the PC remote control tested device amount of leaving, PC detects the signal of leaving whether test board receives tested device simultaneously.If test board is not received the signal of leaving of device, then be judged to tested device and leave signal problem is arranged.
Open into amount and detect: sent to tested device by PC remote-controlled test platform and open into the amount signal, whether PC detects tested device simultaneously and receives and open into signal.Tested device is not received to open then to be judged to open into the amount passage into amount has problem.
The AD passage detects: give tested device output current, voltage signal by PC Control current, voltage source, PC detects the measuring-signal of tested device simultaneously.(preferably can accomplish through backstage correction channel zero point adjustment passage coefficient) if passage zero point, electric current, magnitude of voltage deviation ratio that the passage coefficient can't be adjusted or measure are bigger, then being judged to the AD passage has problem.
Watchdog chip detects: whether have restart phenomenon, being judged to watchdog chip if tested device is not restarted has problem if turning off hello dog Function detection tested device by PC.Whether open and feed the dog function, detecting tested device has the phenomenon of restarting in a period of time, if tested device has the phenomenon of restarting, then being judged to watchdog chip has problem.
Ferroelectric chip detection: issue the data that write to ferroelectric chip by PC, write data,, re-power by the outage of PC control test board.Read ferroelectric data by PC again, whether detection writes consistent with the data that read.Judge then that as if inconsistent ferroelectric fetch channel or ferroelectric chip have problem.
Eeprom chip detects: detection method is with ferroelectric chip.
Clock chip detects: by PC to the tested device write time, and the time of monitoring tested device normal variation whether.If normal variation then declare clock chip problem is arranged not.If normal variation, after re-powering after a period of time of then cutting off the power supply again by the PC time for reading.If the time of reading after re-powering is not right, then clock chip has problem.
Follow-up Vr1.1.0.0 version need add button, liquid crystal, and test items such as hard pressing plate,
Whether the communication test part need add the test of different baud rates
1.2 running environment of the present invention
YZ series complex protection device automatic testing software system is divided into two parts, runs on device side and PC side respectively, and below we divide the argumentation of coming.
The automatic testing equipment side software parasitizes the embedded application software of the comprehensive microcomputer protecting device of YZ series, so this software also runs on the hardware+embedded real-time operating system platform of the comprehensive microcomputer protecting device of YZ series.The embedded real-time operating system of the comprehensive microcomputer protecting device of YZ102 series runs on the hardware platform of the comprehensive microcomputer protecting device of YZ series.
Automatically test PC side software runs on the windows platform, follows modbus agreement and device communication through serial ports, accomplishes the test control to device side.
1.3 basic design concept of the present invention and treatment scheme
Device side (referring to Fig. 1):
Device side software is with reference to the message management mechanism of Windows, with each test action abstract be a piece of news, testing software has kept a message queue manager and has come administrative messag; It constantly from the terminal (like the interface, communication module etc.) catch message, and the message of catching is pressed into message queue; In message queue, take out message and execution again simultaneously; And execution result turned back to terminal (like the interface, communication module etc.), thereby accomplished test function to each test item.
Because of PKOS does not provide internal memory dynamic assignment mechanism; So adopt preallocated mode to realize that the internal memory of message queue entity MsgQueue receives; This data structure is a private data; External exposed interface is in view of having the asynchronous access to formation, so stationary problem solves in the inner critical section mechanism of PKOS of using of interface.
Use for reference the polymorphic thought of C++; Abstract and the next message (base class) of test service has an abstract execution motion interface (function pointer); This interface is not realized concrete test logic; Concrete test action but being transferred to the bottom subclass, realizes test logic, so only need just can be accomplished through the visit of message being carried out motion interface in the upper strata.But, do not have polymorphic mechanism and retrain, so when message parse, need accomplish the carry of concrete test item on message body because we use is the environment of pure C.
If the both of these case that exists message band ginseng and test result to represent with a single state, for preserving these information, we need the otherwise allocated internal memory, and this internal memory overall situation is shared no restrict access.
PC side (referring to Fig. 2):
The PC side software runs on the VC++ environment; The windows platform; Here we realize the multidiameter delay test through the mode of multithreading; Every measurement circuit can be hung many table apparatus, and every circuit adopts testing longitudinal strategy (promptly survey the test item of the same type of each device one by one earlier, proceed the multimachine test of next test item after the completion again).
We have defined data and behavior that a running node OperationItem comes the packaging and testing class, are equally to adopt the pure virtual function interface, and concrete test service is transferred to subclass and realized.The all operations node all is encapsulated in the operation queue, and in practical operation, certain measurement circuit starts afterwards start-up operation formation actuator thereupon, travels through whole formation and can accomplish the test to all test items.
In order to realize that to the monitoring of operating process and result's output (being to accomplish, is not success) issued main interface thread with the state that test is accomplished with the form of message after each test item test is accomplished, be used for refreshing interface and output net result.
1.4 system architecture design of the present invention:
Device side (referring to Fig. 3):
4 layers of distribution of device side The software adopted provide distinct interface on every course.
Application layerBe in charge of the page, and the startup of message manager.
SMLIt mainly is management to message.
The business realizing layerBe the concrete logic realization of each test item, and from the terminal cancellation breath and the result delivered to the realization of the function at terminal, all business actions are all at this one deck imbody.
Hardware abstraction layerMainly be the hardware driving part, this part uses the module of YZ102 to realize.
PC side (referring to Fig. 4):
The PC side software also adopts 4 layers of distribution, and definition is basic similar with device side.
Application layerBe in charge of the page, output print etc.
SMLIt mainly is management to test queue.
The business realizing layerBe the concrete logic realization of each test item, and to the control of test source, the management of test board.
Hardware abstraction layer mainly is a communication module, carries data interaction business up and down.
1.5 subsystem
Device side:
The message management module
This module consists of the following components:
Message queue manager (referring to Fig. 5, Fig. 6):
This unit has been set up a message queue and the Access Management Access to message queue is provided, and this is the module of a core, and with peripheral hardware and concrete independent of service, the basic operation of message queue such as initialization, message is joined the team, and message goes out function such as team and here realizes.
Message input unit (referring to Fig. 7):
The information capture to peripheral hardware is realized in this unit, and the information analysis of catching is become standard message format, and the access message manager is pressed into message queue with message subsequently.When resolving, need carry out the binding of concrete test service and message body.What specify is that if band ginseng message scenario when resolving, has just kept parameter pointer and parameter length in the message body, concrete parameter need use preallocated internal memory to preserve.This unit only provides an interface to use to application layer, and everything is all in the inner realization of interface.
Message processing unit (referring to Fig. 8):
An actuator has been safeguarded in operation in this unit, and actuator is carried out the message action interface function repeatedly.Access message manager at first on the flow process takes out message from message queue, again this message is passed to actuator if any message and carry out, thereby accomplish concrete professional operation.
The execution result output unit:
This unit mainly is that the output of message execution result is obtained, and outputs to peripheral hardware.After carrying out release, can preserve the result that this carries out action in the message body, this unit will be responsible for this result is outputed to the terminal user.If there is test can't return to the situation of host computer with a single state, then need return some quantity of states, this situation and message band ginseng situation are generally handled.
This part function ratio of output unit is more single, and just the output result (test result of representing certain module) with a Boolean type is distributed to peripheral hardware, perhaps issues the backstage like interface display.
1.6 test service module
This module has realized concrete test logic, and this is only real test link, and all test services all carry out personalized realization here.In the subclass interface of each test item, through visit, realize the test logic of single test item to hardware driving, the concrete action of test item obtains complete embodiment here.
The test service of realizing has:
Communication function detects
Single-chip microcomputer ROM self check
Single-chip microcomputer RAM self check
The amount of leaving detects
Open into amount and detect
The AD passage detects
Watchdog chip detects
Ferroelectric chip detection
Eeprom chip detects
Clock chip detects
1.7 page management module
This module is mainly managed the page, and mechanism is consistent with YZ series complex protection device software, repeat no more, and be that different testing scheme lower page shows and will distinguish to some extent.
1.8 peripheral hardware driver module
Call 102 mature modules, drive hardware and accomplish test action.
The PC side:
1.9 interface management (referring to Fig. 9)
Adopt the single document Design Pattern, the test of tentative 4 circuits, so the embedding capacity is test queue's class array of pointers of 4 in window class, during initialization again with each test queue's instantiation, the corresponding test queue of visit in given thread.Realize state machine, receive and handle each test item and send message, thus with Thread Id for upgrading the test mode of different circuits.Multithreading is created and management function also provides in this section.
2.0 output print
Test result is exported to PRN device (test report file).
2.1 operation queue management (referring to Figure 10)
Performance element is responsible for test queue decomposed and is carried out, each running node in the access queue one by one, with the message processing unit function class of device side software seemingly.
2.2 test service (referring to Figure 11)
Concrete test logic is realized; According to test-types test logic is carried out refinement, test action is converted into a series of Frames issues device side software, and judge replying data; Obtain final testing result, this result is issued main interface module with the form of message.The test source control and management for test service provides function corresponding, cooperates and accomplishes test.The test board module also is the fit module of test service.
2.3 communication module
This part is responsible for the data interaction of PC side and device side.Original Upper machine communication module is used in design.
Claims (6)
1. complex protection device Auto-Test System, it is characterized in that: described test macro comprises device side and PC side,
Described device side comprises 4 layers of distribution of employing, is respectively application layer, SML, business realizing layer and hardware abstraction layer;
Described application layer is in charge of the page, and the startup of message manager;
Described SML mainly is the management to message;
Described business realizing layer is the concrete logic realization of each test item, and from the terminal cancellation breath and the result delivered to the realization of the function at terminal, all business actions are all at this one deck imbody;
Described hardware abstraction layer is provided with the drive part of hardware;
Described PC side comprises 4 layers of distribution of employing, is respectively application layer, SML, business realizing layer and hardware abstraction layer;
Described application layer is in charge of the page, output print;
Described SML mainly is the management to test queue;
The business realizing layer is the concrete logic realization of each test item, and to the control of test source, the management of test board;
Hardware abstraction layer mainly is a communication module, carries data interaction business up and down;
The process step of described device side is:
(1) beginning;
(2) initialization;
(3) catch message, put into Message Queuing, from message queue, read message; Be, then get into next step, not, then from message queue, read message again;
(4) start actuator;
(5) output execution result;
The process step of described PC side is:
(1) beginning;
(2) initialization;
(3) starting measurement circuit, is then to get into next step, otherwise restart measurement circuit;
(4) start actuator;
(5) carry out single test item write order;
(6) carry out single test item read command;
(7) judgement and record execution result;
(8) test item is finished, and is, then gets into next step, otherwise turns back to for (5) step;
(9) output test result.
2. complex protection device Auto-Test System according to claim 1 is characterized in that: the SML in the described device side comprises message queue manager, message input unit, message processing unit and execution result output unit;
Message queue manager has been set up a message queue and the Access Management Access to message queue is provided; This is the module of a core, with peripheral hardware and concrete independent of service, the basic operation of message queue such as initialization; Message is joined the team, and message goes out functions such as team and here realizes;
Described message queue manager be divided into message join the team with message go out team;
Message input unit realizes the information capture to peripheral hardware, and the information analysis of catching is become standard message format, subsequently the access message manager; Message is pressed into message queue; When resolving, need carry out the binding of concrete test service and message body, if band ginseng message scenario, when resolving; Parameter pointer and parameter length have just been kept in the message body; Concrete parameter need use preallocated internal memory to preserve, and this unit only provides an interface to use to application layer, and everything is all in the inner realization of interface;
This unit of message processing unit has safeguarded that an actuator is in operation; Actuator is carried out the message action interface function repeatedly, and access message manager at first on the flow process takes out message from message queue; Again this message is passed to actuator if any message and carry out, thereby accomplish concrete professional operation;
The process step that described message is joined the team is:
(1) beginning;
(2) new information input;
(3) the message pointer is write in reorientation;
(4) checking whether current location has message, is then to withdraw from; , then do not get into next step;
(5) new information is joined the team;
(6) withdraw from;
The process step that described message goes out team is:
(1) beginning;
(2) whether message is empty, is then to get into final step; Otherwise get into next step;
(3) whether current message is effective, is, then gets into next step; , then do not get into final step;
(4) current message goes out team;
(5) the message pointer is read in reorientation;
(6) withdraw from;
The process step of described message input unit is:
(1) beginning;
(2) obtain message id from peripheral hardware;
(3) set up standard format message;
(4) new information is joined the team;
The process step of described message processing unit is:
(1) beginning;
(2) from the formation Pop-up message;
(3) message verification;
(4) line interface of execution message;
(5) dish out execution result to peripheral hardware;
Described execution result output unit mainly is that the output of message execution result is obtained; And output to peripheral hardware, after carrying out release, can preserve the result that this carries out action in the message body; This unit will be responsible for this result is outputed to the terminal user; If there is test can't return to the situation of host computer with a single state, then need return some quantity of states, this situation and message band ginseng situation are generally handled.
3. complex protection device Auto-Test System according to claim 1 and 2; It is characterized in that: described business realizing layer comprises test item unit, message input and result's output, and concrete test logic is realized in described test item unit, and all test services all carry out personalization here to be realized; In the subclass interface of each test item; Through visit to hardware driving, realize the test logic of single test item, the concrete action of test item obtains complete embodiment here.
4. complex protection device Auto-Test System according to claim 3 is characterized in that: the SML of described PC side is the operation queue management, is responsible for test queue is decomposed execution, each running node in the access queue one by one;
The process step of described operation queue management is:
(1) begins test;
(2) start tester;
(3) test node is carried out;
(4) test queue is finished, and is, then carries out next step; , then do not return a step;
(5) withdraw from.
5. complex protection device Auto-Test System according to claim 4 is characterized in that: the concrete test logic of the test service of described PC side is realized, according to test-types test logic is carried out refinement; Test action is converted into a series of Frames issues device side software; And judge replying data, obtain final testing result, this result is issued main interface module with the form of message; The test source control and management; For test service provides function corresponding, cooperate and accomplish test, the test board module also is the fit module of test service;
The process step of described test service is:
(1) test service logic dress is changed to the logical data bag;
(2) packet issues;
(3) wait for return results and judgement;
(4) withdraw from.
6. complex protection device Auto-Test System according to claim 5 is characterized in that: the communication module in the hardware abstraction layer of described PC side is responsible for the data interaction of PC side and device side, and original Upper machine communication module is used in design.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210292878.8A CN102819463B (en) | 2012-08-17 | 2012-08-17 | Complex protection device Auto-Test System |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210292878.8A CN102819463B (en) | 2012-08-17 | 2012-08-17 | Complex protection device Auto-Test System |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102819463A true CN102819463A (en) | 2012-12-12 |
| CN102819463B CN102819463B (en) | 2015-09-09 |
Family
ID=47303587
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210292878.8A Active CN102819463B (en) | 2012-08-17 | 2012-08-17 | Complex protection device Auto-Test System |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102819463B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113608092A (en) * | 2021-06-28 | 2021-11-05 | 臻驱科技(上海)有限公司 | Double-pulse test system |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1858719A (en) * | 2005-12-27 | 2006-11-08 | 华为技术有限公司 | Method for realizing automatic test and its system |
| US20070168735A1 (en) * | 2005-11-04 | 2007-07-19 | Hon Hai Precision Industry Co., Ltd. | System and method for automatic testing |
| CN102354298A (en) * | 2011-07-27 | 2012-02-15 | 哈尔滨工业大学 | Software testing automation framework (STAF)-based fault injection automation testing platform and method for high-end fault-tolerant computer |
-
2012
- 2012-08-17 CN CN201210292878.8A patent/CN102819463B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070168735A1 (en) * | 2005-11-04 | 2007-07-19 | Hon Hai Precision Industry Co., Ltd. | System and method for automatic testing |
| CN1858719A (en) * | 2005-12-27 | 2006-11-08 | 华为技术有限公司 | Method for realizing automatic test and its system |
| CN102354298A (en) * | 2011-07-27 | 2012-02-15 | 哈尔滨工业大学 | Software testing automation framework (STAF)-based fault injection automation testing platform and method for high-end fault-tolerant computer |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113608092A (en) * | 2021-06-28 | 2021-11-05 | 臻驱科技(上海)有限公司 | Double-pulse test system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102819463B (en) | 2015-09-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113778898B (en) | User interface automated testing methods, devices, electronic equipment and storage media | |
| CN102624576B (en) | A kind of method and system of web page download time of automatic test browser | |
| CN103384268B (en) | A kind of network embedded integration manufaturing data acquisition terminal | |
| US8032329B2 (en) | Method and system to monitor, debug, and analyze performance of an electronic design | |
| CN107133174A (en) | Test case code automatically generating device and method | |
| CN102565671B (en) | Dynamic allocation method for on-line programming of integrated circuit tester | |
| CN102306127B (en) | Novel method for identifying and initializing DDRIII (double-data-rate III) memory | |
| CN105738854A (en) | Simulation memory test board system for intelligent ammeter embedded application and test method | |
| CN108763085A (en) | On-line debugging device, method and the computer readable storage medium of test cases | |
| CN102073480B (en) | Method for simulating cores of multi-core processor by adopting time division multiplex | |
| CN104866416A (en) | Method and device for performance analysis of application program | |
| CN105187608A (en) | Method and device obtaining power consumption of application program in mobile terminal | |
| CN103713993A (en) | Chip verification platform and method for implementing chip testing | |
| Aziz et al. | Remote reconfiguration of FPGA-based wireless sensor nodes for flexible Internet of Things☆ | |
| CN112599179B (en) | Parallel flash life testing device | |
| CN112202628B (en) | WiFi module serial port protocol automatic test system and method | |
| CN108364670A (en) | Read and write method for testing pressure, device, equipment and storage medium | |
| CN108334443A (en) | Generate method, apparatus, equipment and the computer readable storage medium of test case | |
| CN100395728C (en) | System and method for reading and writing single board information | |
| CN102819463A (en) | Automatic testing system of comprehensive protection device | |
| CN101206614B (en) | Simulator for simulating register with specific function | |
| CN103324589A (en) | SD (secure digital memory card) control system | |
| CN106649137A (en) | Nand Flash bad block management method and device and memory | |
| CN109522217A (en) | The internal storage testing method and terminal device of application program | |
| CN107229567A (en) | A kind of IPMI firmwares automatization test 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 |