CN205139905U - Domestic and similar usage electrical apparatus software aassessment black box test system - Google Patents

Domestic and similar usage electrical apparatus software aassessment black box test system Download PDF

Info

Publication number
CN205139905U
CN205139905U CN201520978028.2U CN201520978028U CN205139905U CN 205139905 U CN205139905 U CN 205139905U CN 201520978028 U CN201520978028 U CN 201520978028U CN 205139905 U CN205139905 U CN 205139905U
Authority
CN
China
Prior art keywords
unit
subtest
input
communication
test
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.)
Withdrawn - After Issue
Application number
CN201520978028.2U
Other languages
Chinese (zh)
Inventor
李道平
闻建中
杨冬冬
方敏
姜继周
辛安见
曲本连
王博
马广玉
纪蓉
吴阿明
李振环
吴皓
姚亮
刘福来
刘倩
陈新强
李志亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei General Machinery Product Inspect Institute Co Ltd
Hefei General Machinery Research Institute Co Ltd
Original Assignee
Hefei General Machinery Product Inspect Institute Co Ltd
Hefei General Machinery Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei General Machinery Product Inspect Institute Co Ltd, Hefei General Machinery Research Institute Co Ltd filed Critical Hefei General Machinery Product Inspect Institute Co Ltd
Priority to CN201520978028.2U priority Critical patent/CN205139905U/en
Application granted granted Critical
Publication of CN205139905U publication Critical patent/CN205139905U/en
Withdrawn - After Issue legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The utility model relates to a domestic and similar usage electrical apparatus software aassessment black box test system. This black box test system includes computer test unit, subtest unit and is detected controller unit, computer test unit and being detected between the controller unit through the connection of emulation ware both -way communication, both -way communication connects between computer test unit and the subtest unit, subtest unit and quilt detect both -way communication connection between the controller unit. This test system does not need the enterprise to provide corresponding source program code, has stopped the risk that software was divulged a secret, and the security is good, test procedure can be accomplished automatically to this test system, and efficiency of software testing is high, and the test result is true, accurate, and the commonality and the uniformity of test are all better.

Description

Family expenses and similar applications electrical equipment software evaluation Black-box Testing system
Technical field
The utility model belongs to computer software assessment technology field, particularly a kind of family expenses and similar applications electrical equipment software evaluation Black-box Testing system.
Background technology
According to existing software evaluation standard-required, current testing agency generally adopts the mode of white-box testing for fail-safe software assessment test, white-box testing is a kind of system detection method test data being incorporated into program, namely examines assembly such as register, clock, reservoir, the input and output periphery etc. of controller, detects.Current software test adopts white-box testing mode mainly to there is following shortcoming:
1, because different family expenses or similar applications product may adopt different controllers, identical family expenses or similar applications product may adopt different controller, same controller also may use different language compilation software, therefore the repeatability of software evaluation is poor, each assessment is all equivalent to customized, waste a large amount of time, man power and material, this is that enterprise and testing agency are all difficult to bear.
In addition, the controller of Some Enterprises is development & production abroad, and from evaluation process, if software security test all adopts white-box testing, often need to be arranged in external software developer and test, testing cost is very high.
Whether 2, white-box testing requires that enterprise provides core source program code and core data, testing staff could be allowed to carry out dynamic and static state checkout to source program and examine related measure software to work.And this way is owing to existing potential risk kernel software and technology may being brought to divulge a secret to enterprise, and allow enterprise worry very much and to worry, to such an extent as to be difficult between enterprise and testing agency coordinate.
3, the professional of software evaluation need of work, but software control is the behavior of microcosmic, there is diversified combination in its software logic, its program function and hardware mechanism brought close, also vary, also will consider the working condition of the assembly of controller, as whether register, clock, reservoir, input and output periphery can break down, what's wrong in meeting.Therefore be a very difficult and complicated job to the analysis of software, setting and inspection.This just needs professional system engineer, Hardware Engineer and software engineer, even if but it is professional again, for in whole test process, check by artificial mode after all, can not ensure that all software all meets the requirements of the standard, the measure method provided is all very appropriate, suitable, effective.
4, the standard that relates to of household electrical appliances software evaluation is many and complicated, comprises electrically, electronics, software, has both comprised the complete machine safety standard of household electrical appliances, and has also comprised part-subassemble standard; Should universal standard requirement, also to consider particular criteria requirement.In so many standards, the overwhelming majority only has requirement not have method, and the judgement of this test mode of using to supervisory personnel in checking process and test result causes certain difficulty.Also may cause different supervisory personnel, have different understanding, different result of determination can be caused, unnecessary trouble may be brought to enterprise.
Utility model content
The utility model is in order to overcome above-mentioned the deficiencies in the prior art, provide a kind of family expenses and similar applications electrical equipment software evaluation Black-box Testing system, this test macro can complete test process automatically, and testing efficiency is high, test result is true, accurately, and the versatility of test and consistance all better.
For achieving the above object, the utility model have employed following technical measures:
A kind of family expenses and similar applications electrical equipment software evaluation Black-box Testing system, comprise computer testing system, detected controller system, auxiliary test unit system, it is characterized in that: computer testing system is connected by emulator with detected controller system, be bi-directionally connected between described computer testing system and auxiliary test unit system, be bi-directionally connected between described auxiliary test unit system and detected controller system.
The utility model can also be realized further by following technical measures.
Preferably, described computer testing unit comprises test control device, data storage device, data and fault input device, subtest communication device, emulator communication device and input-output unit, described test control device respectively with data and fault input device, subtest communication device, data storage device is bi-directionally connected, the output terminal of described test control device is connected with the input end of input-output unit, described data and two-way communication connection between fault input device and emulator communication device, described emulator communication device is connected with two-way communication between emulator, described subtest communication device is connected with two-way communication between subtest unit.
Preferably, described subtest unit comprises subtest microprocessor, output control circuit, input capture circuit and communication control circuit, described subtest microprocessor is connected with two-way communication between subtest communication device, communication control circuit respectively, the described output terminal of subtest microprocessor and the input end of output control circuit be connected, the output terminal of described output control circuit is connected with the input end of detected controller unit; The input end of described input capture circuit is connected with the output terminal of detected controller unit, and output terminal is connected with the input end of subtest microprocessor, and between described communication control circuit with detected controller unit, two-way communication is connected.
Preferably, described detected controller unit comprises detected controller, input circuit, output circuit and communication controler, described detected controller is connected with two-way communication between emulator, the input end of detected controller is also connected with the output terminal of input circuit, the detected output terminal of controller is connected with the input end of output circuit, the signal output part of described detected controller is connected with the signal input part of described communication controler, the signal input part of described detected controller connects the signal output part of communication control circuit, the signal output part of described communication controler connects the signal input part of communication control circuit.
Further, described input-output unit is printer and human-computer interaction interface.
The beneficial effects of the utility model are:
1), the utility model comprises computer testing unit, subtest unit and detected controller unit, connected by emulator two-way communication between computer testing unit and detected controller unit, between described computer testing unit and subtest unit, two-way communication connects, between described subtest unit and detected controller unit, two-way communication connects, this Black-box Testing system does not need enterprise to provide corresponding source program code, thoroughly solve the worry of household appliances enterprise to Software Intellectual Property Rights, also be the developing direction of future secure software evaluation test.
Be worth it is emphasized that: the utility model is only protected by above-mentioned physical unit and is connected the device or physical platform that the circuit between each physical unit forms, and the software do not related to wherein and Test Methods section.
2), Security of test is good, because enterprise no longer needs the source program code providing household appliances controller, but the executable program file download after compilation of source code or burning are entered in controller, detected controller is supplied to testing agency, by testing staff according to the information material provided, automatically tested by test macro.Enterprise can use and disuse the risk of divulging a secret worried because open source program code brings.
3), ease for use is good, because test macro completes the fault-injection inspection to controller automatically, supervisory personnel does not need to open source program code inspection again, to internal analysis, the software inspection of controller, arrange and completed by computer system, require to reduce to the inspection workload of supervisory personnel like this, specialized to require that degree can reduce, flase drop looks into probability almost nil, the result of inspection can directly print.
4), consistance is good, because test macro is according to standard organizational system, testing staff is unified to be tested according to job instruction clause, judgement for test case and test result is then completed automatically by test macro, therefore can not understand standard different because of tester, cause the inconsistent appearance of test result.
Accompanying drawing explanation
Fig. 1 is schematic diagram of the present utility model;
Fig. 2 is the process flow diagram that software mode of the present utility model implants fault;
Fig. 3 is the process flow diagram that hardware mode of the present utility model implants the port test of fault;
Fig. 4 is the process flow diagram that hardware mode of the present utility model implants the communication test of fault.
Reference numeral implication in figure is as follows:
10-computer testing unit, 11-test control device, 12-data storage device
13-data and fault input device 14-subtest communicator
15-emulator communication device, 16-input-output unit, 20-subtest unit
21-subtest microprocessor, 22-output control circuit, 23-input capture circuit
24-communication control circuit, 30-detected controller unit
31-detected controller 32-input circuit 33-output circuit
34-communication controler, 40-emulator
Embodiment
Below in conjunction with the accompanying drawing in the utility model embodiment, be clearly and completely described the technical scheme in the utility model embodiment, obviously, described embodiment is only the utility model part embodiment, instead of whole embodiments.Based on the embodiment in the utility model, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the utility model protection.
As shown in Figure 1, the Black-box Testing system in the utility model comprises computer testing unit 10, subtest unit 20, detected controller unit 30 and emulator 40.
Described computer testing unit 10 comprises test control device 11, data storage device 12, data and fault input device 13, subtest communication device 14, emulator communication device 15 and input-output unit 16.Described test control device 11 is bi-directionally connected with data and fault input device 13, subtest communication device 14, data storage device 12 respectively, the output terminal of described test control device 11 is connected with the printer in input-output unit 16 by communication interface, and testing staff by the human-computer interaction interface input corresponding information in input-output unit 16 and can check testing result; Described data and two-way communication connection between fault input device 13 and emulator communication device 15, described emulator communication device 15 is connected with emulator 40 two-way communication by communication interface, and described subtest communication device 14 is bi-directionally connected by communication interface and subtest unit 20.
Described subtest unit 20 comprises subtest microprocessor 21, output control circuit 22, input capture circuit 23 and communication control circuit 24, described subtest microprocessor 21 is connected with two-way communication between subtest communication device 14, communication control circuit 24 respectively, the output terminal of described subtest microprocessor 21 and the input end of output control circuit 22 be connected, the output terminal of described output control circuit 22 is connected with the input end of detected controller unit 30; The input end of described input capture circuit 23 is connected with the output terminal of detected controller unit 30, and output terminal is connected with the input end of subtest microprocessor 21, and between described communication control circuit 24 with detected controller unit 30, two-way communication is connected.
Described detected controller unit 30 comprises detected controller 31, input circuit 32, output circuit 33 and communication controler 34, described detected controller 31 is connected with two-way communication between emulator 40, the input end of detected controller 31 is also connected with the output terminal of input circuit 32, the output terminal of detected controller 31 is connected with the input end of output circuit 33, the signal output part of described detected controller 31 is connected with the signal input part of described communication controler 34, the signal input part of described detected controller 31 connects the signal output part of communication control circuit 24, the signal output part of described communication controler 34 connects the signal input part of communication control circuit 24.
The utility model in use, the work realizing testing can be coordinated with software of the prior art, below in conjunction with software of the prior art, method of testing of the present utility model is described, but it must be noted that: the software be used in combination with the utility model and method of testing are not innovative part of the present utility model, neither ingredient of the present utility model.
In the utility model, Black-box Testing system has two kinds and implants fault testing method, and wherein a kind of is software implantation fault testing method, and another kind of is that fault testing method implanted by hardware, its testing procedure is described respectively below:
1. fault testing method is implanted for software
S1, utilize input-output unit 16 and test control device 11, first download or receive the machine code program needing test, then machine code program transmitted by data and fault input device 13, emulator communication device 15, emulator 40 and is stored in the detected controller 31 in detected controller unit 30 successively;
S2, input-output unit 16 is utilized to select the software project to be detected of machine code program, then in software project to be detected, input detection method program entry address, safeguard measure program entry address, the start-stop address of software project to be detected and trial and error data message, above-mentioned input information is kept in described data storage device 12 by test control device 11;
S3, run the machine code program in detected controller 31, test control device 11 is successively by data and fault input device 13 simultaneously, emulator communication device 15, emulator 40 monitors and the operation of control machine coded program, when machine code program runs to the entrance of detection method program, trial and error data message in data storage device 12 is passed through data and fault input device 13 by test control device 11 successively, emulator communication device 15, in the software project to be detected of emulator 40 according to the detected controller 31 of start-stop address write of described software project to be detected, test control device 11 records the operation information in the whole service process of detected controller 31 before write trial and error data message and after write trial and error data message,
What illustrate is, when machine code program runs to the entrance of detection method program, the single step run of test control device 11 control machine coded program, namely machine code program often runs a step, trial and error data message in data storage device 12 is all detected in the software project to be detected of controller 31 according to the start-stop address write of described software project to be detected by test control device 11, guarantee that the trial and error data message write can not be modified before detection method program compares judgement, until machine code program runs jump to the outlet that safeguard measure program or machine code program move to detection method program.
S4, described test control device 11, according to described operation information, judge whether the course of work of detected controller 31 meets setting program;
Described operation information and judged result are derived formation test record by input-output unit 16 by S5, described test control device 11.
2. fault testing method is implanted for hardware
Item of hardware comprises PERCOM peripheral communication parts, input and output peripheral components, pick-up unit and comparer parts, conventional integrated package parts, certainly, do not have PERCOM peripheral communication parts in some tested controller unit, that just can not do the test of PERCOM peripheral communication parts test item.
2.1 for the input and output periphery in hardware, pick-up unit and comparer, custom integrated circuit parts
S1, utilize input-output unit 16 and test control device 11, first download or receive the machine code program needing test, then machine code program transmitted by data and fault input device 13, emulator communication device 15, emulator 40 and is stored in the detected controller 31 in detected controller unit 30 successively;
S2, utilize input-output unit 16 to select the input and output of detected controller 31 are peripheral, pick-up unit and comparer, test item in custom integrated circuit parts, in this test item, input the passage of detection method program entry address, safeguard measure program entry address, control abnormal circuit, this input information is kept in described data storage device 12 by test control device 11;
S3, run the machine code program in detected controller 31, test control device 11 is successively by data and fault input device 13 simultaneously, emulator communication device 15, emulator 40 monitors and the operation of control machine coded program, when machine code program runs to the entrance of detection method program, test control device 11 is according to the channel information of the control abnormal circuit in data storage device 12, control command is sent to subtest microprocessor 21 by subtest communication device 14, described subtest microprocessor 21 is successively by described output control circuit 22, the abnormal setting of related circuit in detected controller unit 30 opened by described input circuit 32, test control device 11 records the operation information in the whole service process of detected controller 31 before abnormal circuit channel setting and after abnormal circuit channel setting,
S4, described test control device 11, according to described operation information, judge whether the course of work of detected controller 31 meets setting program;
Described operation information and judged result are derived formation test record by input-output unit 16 by S5, described test control device 11.
2.2 for the PERCOM peripheral communication parts in hardware
S1, utilize input-output unit 16 and test control device 11, first download or receive the machine code program needing test, then machine code program transmitted by data and fault input device 13, emulator communication device 15, emulator 40 and is stored in the detected controller 31 in detected controller unit 30 successively;
S2, the test item utilizing input-output unit 16 to select in the PERCOM peripheral communication parts of machine code program, in this test item, input detection method program entry address, safeguard measure program entry address, the passage switching communicating circuit and trial and error communication data information, this input information is kept in described data storage device 12 by test control device 11;
S3, run the machine code program in detected controller 31, test control device 11 is successively by data and fault input device 13 simultaneously, emulator communication device 15, emulator 40 monitors and the operation of control machine coded program, when machine code program runs to the entrance of detection method program, test control device 11 is according to the input information in data storage device 12, control command is sent to subtest microprocessor 21 by subtest communication device 14, described subtest microprocessor 21 opens the passage of the switching communicating circuit in detected controller unit 30 by described communication control circuit 24, subtest microprocessor 21 captures the communication data between detected controller 31 in detected controller unit 30 and communication controler 34 by communication control circuit 24, the communication data received is added described trial and error communication data information and obtains mixing trial and error data by described subtest microprocessor 21, described mixing trial and error data are sent to tested controller 31 by subtest microprocessor 21, test control device 11 records the operation information in the whole service process of detected controller 31 before abnormal circuit channel setting and after abnormal circuit channel setting,
S4, described test control device 11, according to described operation information, judge whether the course of work of detected controller 31 meets setting program;
Described operation information and judged result are derived formation test record by input-output unit 16 by S5, described test control device 11.
As a rule, data storage device 12 in described computer testing unit 10, altogether 9 component projects of controller are detected, be respectively CPU item, interrupt processing and execution item, clock item, reservoir item, internal data paths item, PERCOM peripheral communication item, the peripheral item of I/O, pick-up unit and comparer item, conventional integrated package item, these assemblies are provided with again respectively, immutable reservoir item, variable reservoir item, E2PROM item, programmable counter item, interrupt processing and execution item, clock item, PERCOM peripheral communication data item, numeral I/O item etc., the mode that front 1-7 item in these 9 assemblies implants fault by software detects, then 2 then need the mode being implanted fault by hardware to detect.These 9 assemblies all can be checked by human-computer interaction interface, and are undertaken implanting corresponding trial and error data message or arranging wrong configuration by test control device 11.
Below by specific embodiment, the method that software implants fault and hardware implantation fault is illustrated respectively.
Fault test implanted by embodiment 1 software
The present embodiment is that example is described by the variable reservoir detection of reservoir test item variable in detection part to washing machine controller.
As shown in Figure 2,
1) the computer testing unit 10 being provided with testing software is connected to the detected controller 31 in detected controller unit 30 by emulator 40.
2) at the human-computer interaction interface of computer testing unit 10, the machine code of production is downloaded by input-output unit 16, click " downloading ", open the machine code and tested program that need to download, click " opening ", if test procedure successfully downloads in controller, system display " downloading successfully ", otherwise display " failed download ", can record download time, download file name in detection record; This process also namely test control device 11 described machine code is downloaded in controller by data and fault input device 13, emulator communication device 15, emulator 40 successively.
3) click in the check box on test item one hurdle; select " test item "; " variable reservoir " is selected in the present embodiment; click " variable reservoir "; eject " variable reservoir detection " and configure the page; according to the data of enterprise; fill in corresponding detection method program entry address, safeguard measure program entry address, the start-stop address needing the variable reservoir detected and trial and error data message; select " fault category " that variable reservoir there will be; click " preservation ", this configuration store is in data storage device 12.
4) machine code program in detected controller 31 brings into operation, according to the operation instructions of detected controller 31, opening device enters dehydration mode, detected controller 31 load exports, human-computer interaction interface display translation state, start detection program, test control device 11 is successively by data and fault input device 13, emulator communication device 15, emulator 40 monitors and the operation of control machine coded program, when machine code program runs to the entrance of detection method program, the single step run of test control device 11 control machine coded program, namely machine code program often runs a step, the trial and error data message configured in the equal called data memory storage 12 of test control device 11, deliver in data and fault input device 13, logic control and process is carried out by data and fault input device 13 pairs of trial and error data messages, and the trial and error data after process are passed to emulator communication device 15, these data transformations are emulation command by emulator communication device 15, again these emulation commands are converted into communication data, communicated with emulator 40 by USB interface, the variable reservoir district of controller is sent to by emulator 40, and the start-stop address of the variable reservoir detected as required writes variable reservoir district, after trial and error data message writes variable reservoir district, machine code program continues to run, test control device 11 monitors and the operation of control machine coded program always, until machine code program runs to the entrance that the outlet of detection method software or machine code program jump to safeguard measure software, after machine code program runs to the outlet of detection method software or the entrance of safeguard measure software, test control device 11 just discharges monitoring, and machine code program also just exits single step run state.
For the inspection measure software of cyclic check, machine code program meeting circular flow, until again enter detection method software, repeats above operation.
In above process, controller feedback information is divided into two parts, a part passes to emulator communication device 15 by emulator 40, test control device 11 is entered again through data and fault input device 13, another part passes to microprocessor 21 by input capture circuit, enter test control device 11 through subtest communication device 14 again, by test control device 11 stored in data storage device 12 with show on human-computer interaction interface, test result is printed by input-output unit 16; Described feedback information had both comprised the operation information of machine code program; also comprise detected controller 31 perform output protection action (as close all output or close dehydration electric motor export or Program reset) information, test control device 11 by above-mentioned feedback information judge the measure method of this detected controller 31 and measure program whether qualified.
5) detection progress and detection record all have corresponding display, when test is passed through, detection record has corresponding display, during test crash, detection record also has corresponding display, test by time, detected controller load output state can be closed by display device, and detection record and output state can store or print by derive test record as test record.
Fault test implanted by embodiment 2 hardware
The present embodiment is detected as example by the door switch circuit of digital I/O test item to washing machine controller in detection part and is described.
As shown in Figure 3,
1) the computer testing unit 10 being provided with testing software is connected to the detected controller 31 in detected controller unit 30 by emulator 40.
2) at the human-computer interaction interface of computer testing unit 10, the machine code of production is downloaded by input-output unit 16, click " downloading ", open the machine code and test procedure that need to download, click " opening ", if test procedure has downloaded in controller, system display " downloading successfully ", otherwise display " failed download ", can record download time, download file name in detection record; This process also namely test control device 11 described machine code is downloaded in controller by data and fault input device 13, emulator communication device 15, emulator 40 successively.
3) click in the check box on test item one hurdle; select " test item "; digital I/O is selected to detect in the present embodiment; following information is configured: check the entry address of measure software, the entry address of safeguard measure software, the passage of control abnormal circuit to needing the digital I/O test item detected; click " preservation ", this configuration information is stored in data storage device 12.
4) machine code program in detected controller 31 brings into operation, according to the operation instructions of detected controller 31, opening device runs dehydration mode, detected controller 31 load output display unit output state, start detection program, test control device 11 is successively by data and fault input device 13, emulator communication device 15, emulator 40 monitors and the operation of control machine coded program, when machine code program runs to the entrance of detection method program, test control device 11 is according to the configuration information in human-computer interaction interface, control command is sent to subtest microprocessor 21 by subtest communication device 14, subtest microprocessor 21 is successively by output control circuit 22, input circuit 32 open circuit arranges abnormal passage, input circuit Zhong You mono-tunnel by the door switch of tested controller 31 is set to abnormal, as a road high level input signal, another road is set to low imput, during detected controller 31 rolling inspection measure software, test control device 11 monitors and the operation of control machine coded program always, until machine code program runs to the entrance that the outlet of detection method software or machine code program jump to safeguard measure software, after machine code program runs to the outlet of detection method software or the entrance of safeguard measure software, test control device 11 just discharges monitoring.
For the inspection measure software of cyclic check, machine code program meeting circular flow, until again enter detection method software, repeats above operation.
In above process, subtest microprocessor 21 catches the status information (exporting as cut out dehydration electric motor) of the output circuit of detected controller 31 in real time by input capture circuit 23, the status information captured also is passed to test control device 11 by subtest communication device 14 by subtest microprocessor 21, the detecting information of detected controller 31 is passed through emulator communication device 15 by emulator 40 simultaneously, test control device (as entering measure defence program or Program reset) is passed to again through data and fault input device 13, by test control device 11 stored in data storage device 12 with show on human-computer interaction interface, test result is printed by input-output unit 16, test control device 11 by above-mentioned status information judge the measure method of this detected controller 31 and measure program whether qualified.
5) detection progress and detection record all have corresponding display, when test is passed through, detection record has corresponding display, during test crash, detection record also has corresponding display, test by time, detected controller load output state can be closed by display device, and detection record and output state can store or print by derive test record as test record.
Fault test implanted by embodiment 3 hardware
The present embodiment is that example is described by the Data Detection project of the PERCOM peripheral communication in detection part to the communication detection of washing machine controller.
As shown in Figure 3,
1) the computer testing unit 10 being provided with testing software is connected to the detected controller 31 in detected controller unit 30 by emulator 40.
2) at the human-computer interaction interface of computer testing unit 10, the machine code of production is downloaded by input-output unit 16, click " downloading ", open the machine code and test procedure that need to download, click " opening ", if test procedure has downloaded in controller, system display " downloading successfully ", otherwise display " failed download ", can record download time, download file name in detection record; This process also namely test control device 11 described machine code is downloaded in controller by data and fault input device 13, emulator communication device 15, emulator 40 successively.
3) click in the check box on test item one hurdle; select " test item "; Data Detection in PERCOM peripheral communication is selected in the present embodiment; to the following information of Data Detection project configuration in the PERCOM peripheral communication needing to detect: check the entry address of measure software, the entry address of safeguard measure software, the passage of control abnormal circuit; click " preservation ", this configuration information is stored in data storage device 12.
4) machine code program in detected controller 31 brings into operation, according to the operation instructions of detected controller 31, opening device runs dehydration mode, detected controller 31 load exports, display device output state, meanwhile, test control device 11 is successively by data and fault input device 13, emulator communication device 15, emulator 40 monitors and the operation of control machine coded program, when machine code program runs to the entrance of detection method program, test control device 11 is according to the configuration information in human-computer interaction interface, control command is sent to subtest microprocessor 21 by subtest communication device 14, the passage switching telecommunication circuit opened by subtest microprocessor 21, real-time seizure is detected the communication data between controller 31 and communication controler 34, and the communication data captured is added the trial and error data message of human-computer interaction interface setting, then successively by subtest communication device 14, subtest microprocessor 21, communication control circuit 24 sends to detected controller 31, during detected controller 31 rolling inspection measure software, test control device 11 monitors and the operation of control machine coded program always, until machine code program runs to the entrance that the outlet of detection method software or machine code program jump to safeguard measure software, after machine code program runs to the entrance of outlet safeguard measure software of detection method software, test control device 11 just discharges monitoring.
For the inspection measure software of cyclic check, machine code program meeting circular flow, until again enter detection method software, repeats above operation.
In above process, subtest microprocessor 21 catches the status information (as dehydration electric motor stops exporting) of the output circuit of detected controller 31 in real time by input capture circuit 23, the status information captured is passed to test control device 11 by subtest communication device 14 by subtest microprocessor 21, the detecting information of detected controller 31 is passed through emulator communication device 15 by emulator 40 simultaneously, test control device (as entering measure defence program or Program reset) is passed to again through data and fault input device 13, by test control device 11 stored in data storage device 12 with show on human-computer interaction interface, test result is printed by input-output unit 16, test control device 11 by above-mentioned status information judge the measure method of this detected controller 31 and measure program whether qualified.
5) detection progress and detection record all have corresponding display, when test is passed through, detection record has corresponding display, during test crash, detection record also has corresponding display, test by time, the controller load that is captured stops exporting, and detection record and output state can store or print by derive test record as test record.

Claims (5)

1. family expenses and similar applications electrical equipment software evaluation Black-box Testing system, it is characterized in that: native system comprises computer testing unit (10), subtest unit (20) and detected controller unit (30), connected by emulator (40) two-way communication between computer testing unit (10) and detected controller unit (30), between described computer testing unit (10) and subtest unit (20), two-way communication connects, between described subtest unit (20) and detected controller unit (30), two-way communication connects.
2. family expenses as claimed in claim 1 and similar applications electrical equipment software evaluation Black-box Testing system, it is characterized in that: described computer testing unit (10) comprises test control device (11), data storage device (12), data and fault input device (13), subtest communication device (14), emulator communication device (15) and input-output unit (16), described test control device (11) respectively with data and fault input device (13), subtest communication device (14), data storage device (12) is bi-directionally connected, the output terminal of described test control device (11) is connected with the input end of input-output unit (16), described data and two-way communication connection between fault input device (13) and emulator communication device (15), described emulator communication device (15) is connected with two-way communication between emulator (40), described subtest communication device (14) is connected with two-way communication between subtest unit (20).
3. family expenses as claimed in claim 2 and similar applications electrical equipment software evaluation Black-box Testing system, it is characterized in that: described subtest unit (20) comprises subtest microprocessor (21), output control circuit (22), input capture circuit (23) and communication control circuit (24), described subtest microprocessor (21) respectively with subtest communication device (14), between communication control circuit (24), two-way communication connects, the output terminal of described subtest microprocessor (21) and the input end of output control circuit (22) be connected, the output terminal of described output control circuit (22) is connected with the input end of detected controller unit (30), the input end of described input capture circuit (23) is connected with the output terminal of detected controller unit (30), output terminal is connected with the input end of subtest microprocessor (21), and between described communication control circuit (24) with detected controller unit (30), two-way communication is connected.
4. family expenses as claimed in claim 3 and similar applications electrical equipment software evaluation Black-box Testing system, it is characterized in that: described detected controller unit (30) comprises detected controller (31), input circuit (32), output circuit (33) and communication controler (34), described detected controller (31) is connected with two-way communication between emulator (40), the input end of detected controller (31) is also connected with the output terminal of input circuit (32), the output terminal of detected controller (31) is connected with the input end of output circuit (33), the signal output part of described detected controller (31) is connected with the signal input part of described communication controler (34), the signal input part of described detected controller (31) connects the signal output part of communication control circuit (24), the signal output part of described communication controler (34) connects the signal input part of communication control circuit (24).
5. family expenses as claimed in claim 2 and similar applications electrical equipment software evaluation Black-box Testing system, is characterized in that: described input-output unit (16) is printer and human-computer interaction interface.
CN201520978028.2U 2015-11-27 2015-11-27 Domestic and similar usage electrical apparatus software aassessment black box test system Withdrawn - After Issue CN205139905U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520978028.2U CN205139905U (en) 2015-11-27 2015-11-27 Domestic and similar usage electrical apparatus software aassessment black box test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520978028.2U CN205139905U (en) 2015-11-27 2015-11-27 Domestic and similar usage electrical apparatus software aassessment black box test system

Publications (1)

Publication Number Publication Date
CN205139905U true CN205139905U (en) 2016-04-06

Family

ID=55625675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520978028.2U Withdrawn - After Issue CN205139905U (en) 2015-11-27 2015-11-27 Domestic and similar usage electrical apparatus software aassessment black box test system

Country Status (1)

Country Link
CN (1) CN205139905U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468526A (en) * 2015-11-27 2016-04-06 合肥通用机械研究院 Black box test system for software evaluation of household and similar appliances

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468526A (en) * 2015-11-27 2016-04-06 合肥通用机械研究院 Black box test system for software evaluation of household and similar appliances
CN105468526B (en) * 2015-11-27 2018-01-12 合肥通用机械研究院 Family expenses and similar applications electrical equipment software evaluation Black-box Testing system

Similar Documents

Publication Publication Date Title
CN109840207B (en) AutoSAR-based network management automation test system and test method
CN103823199B (en) Intelligent substation relay-protection tester automated detection system and detection method
CN104281520B (en) Tracking and method, the apparatus and system of debugging
US20070079288A1 (en) System and method for capturing filtered execution history of executable program code
Kormann et al. Automated test case generation approach for PLC control software exception handling using fault injection
CN106405286B (en) The automatic test approach and system of quality monitoring device of electrical energy
CN103761185B (en) A kind of automatization test system and method
CN101876935B (en) Debugging program monitoring method and device
WO2015149596A1 (en) Iec61850-based communication simulation method for leakage current on-line monitoring device
CN107608291A (en) A kind of intelligent substation application function linkage rule verification method and system
CN113253700A (en) Hardware-in-loop closed-loop test method and system for battery management system
CN106294036A (en) A kind of hardware fault verification method, device and client
CN110703741A (en) Multifunctional communication debugging equipment
CN110764036B (en) Intelligent distribution transformer terminal test method and system
CN205139905U (en) Domestic and similar usage electrical apparatus software aassessment black box test system
CN105446882A (en) Testing method of black-box testing system for software evaluation of household and similar electric appliances
CN202693709U (en) Testing tool and testing system for electrical equipment
CN105468526A (en) Black box test system for software evaluation of household and similar appliances
CN102595188B (en) Method for testing intelligent television
Ulewicz et al. Proving equivalence between control software variants for Programmable Logic Controllers
CN103576019A (en) Testing tool, testing system and testing method for electrical equipment
CN109684661B (en) Simulation method of metering instrument based on IEC62056 protocol
CN108418699B (en) Communication point-to-point system and method for substation automation equipment
CN112732552A (en) Automatic detection system and method for platform area intelligent terminal application APP
CN112241359A (en) Equipment testing method and equipment

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
AV01 Patent right actively abandoned

Granted publication date: 20160406

Effective date of abandoning: 20180112

AV01 Patent right actively abandoned