CN212723995U - Computer software testing arrangement - Google Patents

Computer software testing arrangement Download PDF

Info

Publication number
CN212723995U
CN212723995U CN202021696365.XU CN202021696365U CN212723995U CN 212723995 U CN212723995 U CN 212723995U CN 202021696365 U CN202021696365 U CN 202021696365U CN 212723995 U CN212723995 U CN 212723995U
Authority
CN
China
Prior art keywords
test
interface
testing
switch
relay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202021696365.XU
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.)
Zhengzhou University of Light Industry
Original Assignee
Zhengzhou University of Light Industry
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 Zhengzhou University of Light Industry filed Critical Zhengzhou University of Light Industry
Priority to CN202021696365.XU priority Critical patent/CN212723995U/en
Application granted granted Critical
Publication of CN212723995U publication Critical patent/CN212723995U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The utility model relates to a computer software testing arrangement, including test circuit, test circuit opens hand switch, switch tube, opto-coupler, resistance, relay, first pilot lamp and pilot lamp branch road including test interface, test. When the test is started, the manual switch is turned on by operation test, and the test interface is accessed to the software program. When a software program is input into the test interface, the test interface is at a high level, the switch tube is switched on, the first indicator lamp is lightened, the control coil of the relay is electrified, the normally open contact switch is switched on, and the second indicator lamp is lightened; when the test interface does not input the software program, the test interface is at a low level, the switch tube is disconnected, the first indicator light is turned off, the control coil of the relay is powered off, the normally open contact switch is turned off, and the second indicator light is turned off. The computer software testing device can visually test through the specific structure of the testing circuit and the state of the second indicating lamp to obtain a testing result, and the circuit is of a pure hardware circuit structure and is high in reliability.

Description

Computer software testing arrangement
Technical Field
The utility model relates to a computer software testing arrangement.
Background
The control chip, such as a single chip microcomputer or a PLC, can realize the related control function only after the software program is written. Generally, a software program is written to the control chip by a computer. In order to ensure that the computer can write the software program normally, the software program output from the software program output terminal of the computer needs to be detected to test whether the software program is output. When the computer outputs the software program, the electrical signal output by the software program output end of the computer is at a high level, and when the software program cannot be output, the electrical signal output by the software program output end of the computer is usually at a low level. Therefore, the software test can be realized by detecting the electric signal output by the software program output end of the computer, but no effective test device exists at present.
SUMMERY OF THE UTILITY MODEL
In view of this, the utility model provides a computer software testing arrangement.
The utility model adopts the following technical scheme:
a computer software testing device comprises a testing circuit, wherein the testing circuit comprises a testing interface, a testing opening manual switch, a switch tube, an optical coupler, a resistor, a relay, a first indicator lamp and an indicator lamp branch, the testing interface is connected with a control end of the switch tube, the control end of the switch tube is connected with one end of the resistor, and the other end of the resistor is used for being connected with a power supply VCC;
one end of the test starting manual switch is used for being connected with the power supply VCC, the other end of the test starting manual switch is connected with the input end of a light emitter of the optical coupler, the output end of the light emitter is connected with the input end of the switch tube, the output end of the switch tube is grounded through the first indicator lamp, the input end of a light receiver of the optical coupler is used for being connected with the power supply VCC, the output end of the light receiver is connected with one end of a control coil of the relay, and the other end of the control coil of the relay is used for being grounded;
one end of the indicator light branch is connected with the input end of the light emitter, the other end of the indicator light branch is grounded, and the normally open contact switch of the relay and the second indicator light are arranged on the indicator light branch in series.
Further, the test circuit still includes the buzzer branch road, the buzzer branch road with the pilot lamp branch road sets up in parallel, buzzer branch road is gone up to establish ties and is provided with the normally closed contact switch and the buzzer of relay.
Further, computer software testing arrangement still includes supply circuit, supply circuit includes electric energy input interface, electric energy output interface, diode and battery, electric energy input interface is used for connecting external power source, electric energy input interface connection the positive pole of diode, the negative pole of diode is connected the feed end of battery with electric energy output interface, electric energy output interface output the power VCC.
Further, computer software testing arrangement still includes the test casing, manual switch, first pilot lamp and second pilot lamp setting are opened in test interface, test are in on the curb plate of casing, switch tube, opto-coupler, resistance, relay and relevant interconnecting link setting are in the casing.
The utility model has the advantages that: when a test is started, the manual switch is turned on by operation test, the test interface is accessed to the software program, when the software program is input into the test interface, the test interface is at a high level, the switch tube is turned on, the first indicator lamp is turned on to indicate that the light emitter of the optical coupler emits light, the light receiver of the optical coupler is turned on due to the fact that the light receiver receives an optical signal, the control coil of the relay is electrified, the normally open contact switch of the relay is turned on, and the second indicator lamp is turned on; when the test interface does not input the software program, the test interface is at low level, the switch tube is switched off, the first indicator light is turned off, the light emitter of the optical coupler is indicated to not emit light, the light receiver of the optical coupler is switched off because the light receiver cannot receive the optical signal, the control coil of the relay is powered off, the normally open contact switch of the relay is switched off, and the second indicator light is turned off. Therefore, the computer software testing device can visually test through the specific structure of the testing circuit and the state of the second indicating lamp to obtain a testing result, and the circuit is of a pure hardware circuit structure and is high in reliability. Moreover, the state of the light emitter of the optical coupler can be intuitively known through the first indicating lamp. In addition, only after the manual switch is turned on in the test, the indicating lamp branch has a power supply, and the condition that the second indicating lamp is turned on by mistake when the computer software testing device is idle can be avoided.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings needed to be used in the embodiments are briefly described as follows:
FIG. 1 is a test circuit diagram of a computer software test apparatus;
fig. 2 is a power supply circuit diagram of the computer software testing device.
Detailed Description
The embodiment provides a computer software testing device which comprises a testing circuit.
As shown in FIG. 1, the test circuit comprises a test interface P1, a test starting manual switch A1, a switch tube Q1, an optical coupler Q2, a resistor R1, a relay, a first indicator light and an indicator light branch. The test interface P1 is used to access an external device, such as a software output interface of an external computer, and it should be understood that the specific implementation manner of the test interface P1 is not limited, and may be set according to actual needs, such as according to the type of the software output interface of the external computer. The test open manual switch a1 may be a conventional manual switch such as a rocker switch. The switch Q1 may be an N-type switch, such as an NPN transistor. The optocoupler Q2 may be a conventional optocoupler device including a light emitter and a light receiver, the light emitter may be a light emitting diode, and the light receiver may be a phototransistor. The relay includes a control coil T1 and a normally open contact switch K1.
The test interface P1 is connected to the control terminal of the switch tube Q1, the control terminal of the switch tube Q1 is connected to one end of the resistor R1, and the other end of the resistor R1 is used to connect the power source VCC. One end of the test starting manual switch A1 is used for being connected with a power supply VCC, the other end of the test starting manual switch A1 is connected with the input end of a light emitter of the optocoupler Q2, the output end of the light emitter is connected with the input end of the switch tube Q1, and the output end of the switch tube Q1 is grounded through a first indicator lamp (namely, an indicator lamp L1). The input end of the light receiver of the optocoupler Q2 is used for being connected with a power supply VCC, the output end of the light receiver is connected with one end of the control coil T1, and the other end of the control coil T1 is used for being grounded. The input of illuminator is connected to the one end of pilot lamp branch road, and the other end of pilot lamp branch road is used for ground connection, and the last series connection of pilot lamp branch road is provided with normally open contact switch K1 and second pilot lamp, pilot lamp L2 promptly. It should be understood that indicator light L1 and indicator light L2 can each be conventional LED lights, and the colors of the two indicator lights can be different to provide differentiation.
In this embodiment, in order to alarm when the external computer does not output the software program, the test circuit further includes a buzzer branch, and as shown in fig. 1, the buzzer branch is connected in parallel with the indicator light branch. Correspondingly, the relay further comprises a normally closed contact switch K2, and a normally closed contact switch K2 and a buzzer F1 are arranged on the buzzer branch in series.
The power source VCC may be provided by an external device or by the computer software test apparatus itself. In this embodiment, the power source VCC is provided by the computer software testing apparatus itself, and then the computer software testing apparatus further includes a power supply circuit, as shown in fig. 2, the power supply circuit includes an electric energy input interface P2, an electric energy output interface P3, a diode D1, and a storage battery E1, the electric energy input interface P2 is used for connecting an external power source (specifically, connecting an external dc power source, and the voltage of the connected external dc power source and the voltage of the storage battery E1 need to be adapted to the voltage of the power source VCC), the electric energy input interface P2 is connected to the anode of the diode D1, the cathode of the diode D1 is connected to the power supply terminal of the storage battery E1 and the electric energy output interface P3, and the electric energy output interface P3 outputs. Then, when the power input interface P2 is connected with an external power supply, the computer software testing device is powered by the external power supply and charges the storage battery E1; when the power input interface P2 is not connected with an external power supply, the computer software testing device is powered by the storage battery E1. The power supply circuit can ensure the power supply reliability, and further improve the test reliability.
In order to improve the structural strength and the portability of the computer software testing device, the computer software testing device further comprises a testing shell, and the shape of the shell is set according to actual needs, such as a cuboid. The test interface P1, the test-on manual switch a1, the indicator lamp L1 and the indicator lamp L2 are disposed on a side panel of the housing, and further, the buzzer F1 and the power input interface P2 are also disposed on the side panel of the housing. A switch tube Q1, an optocoupler Q2, a resistor R1, a relay and related connecting lines are arranged in the housing.
When the test is started, the test interface P1 is connected with an external computer, the test interface P1 is accessed into a software program, and the manual switch A1 is turned on for operation test starting. When a software program is input into the test interface P1, the test interface P1 is at a high level, the switch tube Q1 is turned on, the indicator light L1 is lightened to show that a light emitter of the optocoupler Q2 emits light, and the indicator light branch and the buzzer branch have power supplies. The light receiver of the optocoupler Q2 is switched on due to the fact that the light receiver receives a light signal, the control coil T1 is electrified, the normally open contact switch K1 is switched on, the indicator light L2 is lightened, the normally closed contact switch K2 is switched off, and the buzzer F1 does not send out a buzzing signal.
When the test interface P1 does not input the software program, the test interface P1 is at a low level, the switch tube Q1 is turned off, the indicator light L1 is turned off, it indicates that the light emitter of the optocoupler Q2 does not emit light, the light receiver of the optocoupler Q2 is turned off because of not receiving the light signal, the control coil T1 is de-energized, the normally open contact switch K1 is turned off, the indicator light L2 is turned off, the normally closed contact switch K2 is turned on, and the buzzer F1 sends a buzzer signal.

Claims (4)

1. A computer software testing device is characterized by comprising a testing circuit, wherein the testing circuit comprises a testing interface, a testing starting manual switch, a switch tube, an optical coupler, a resistor, a relay, a first indicator light and an indicator light branch, the testing interface is connected with the control end of the switch tube, the control end of the switch tube is connected with one end of the resistor, and the other end of the resistor is used for being connected with a power supply VCC;
one end of the test starting manual switch is used for being connected with the power supply VCC, the other end of the test starting manual switch is connected with the input end of a light emitter of the optical coupler, the output end of the light emitter is connected with the input end of the switch tube, the output end of the switch tube is grounded through the first indicator lamp, the input end of a light receiver of the optical coupler is used for being connected with the power supply VCC, the output end of the light receiver is connected with one end of a control coil of the relay, and the other end of the control coil of the relay is used for being grounded;
one end of the indicator light branch is connected with the input end of the light emitter, the other end of the indicator light branch is grounded, and the normally open contact switch of the relay and the second indicator light are arranged on the indicator light branch in series.
2. The computer software testing device according to claim 1, wherein the testing circuit further comprises a buzzer branch, the buzzer branch is connected in parallel with the indicator light branch, and a normally closed contact switch of the relay and a buzzer are connected in series on the buzzer branch.
3. The computer software testing device according to claim 1, further comprising a power supply circuit, wherein the power supply circuit comprises an electric energy input interface, an electric energy output interface, a diode and a storage battery, the electric energy input interface is used for connecting an external power supply, the electric energy input interface is connected with an anode of the diode, a cathode of the diode is connected with a power supply terminal of the storage battery and the electric energy output interface, and the electric energy output interface outputs the power source VCC.
4. The computer software testing device according to claim 1, further comprising a testing housing, wherein the testing interface, the testing-on manual switch, the first indicator light and the second indicator light are disposed on a side plate of the housing, and the switch tube, the optical coupler, the resistor, the relay and the related connection lines are disposed in the housing.
CN202021696365.XU 2020-08-14 2020-08-14 Computer software testing arrangement Active CN212723995U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021696365.XU CN212723995U (en) 2020-08-14 2020-08-14 Computer software testing arrangement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021696365.XU CN212723995U (en) 2020-08-14 2020-08-14 Computer software testing arrangement

Publications (1)

Publication Number Publication Date
CN212723995U true CN212723995U (en) 2021-03-16

Family

ID=74918764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021696365.XU Active CN212723995U (en) 2020-08-14 2020-08-14 Computer software testing arrangement

Country Status (1)

Country Link
CN (1) CN212723995U (en)

Similar Documents

Publication Publication Date Title
CN212723995U (en) Computer software testing arrangement
CN111104131B (en) Power panel, chip burning device and burning method
CN100527306C (en) Control circuit of relay
US20230053161A1 (en) Portable standby starting device and standby starting tool for vehicle
CN208092205U (en) A kind of closed-loop detection circuit for detecting relay output state
CN211878440U (en) Communication switching module and equipment testing system
CN111736088B (en) Power state indicating circuit
CN215498237U (en) Mainboard voltage overvoltage protection circuit and device
CN210629934U (en) Light source control circuit
CN210348729U (en) Fire-fighting linkage alarm module
CN100481038C (en) Electrical source socket
CN209767238U (en) Intelligent isolating switch
CN210442474U (en) Breakdown alarm device for direct-current dual-power isolation diode
CN103207320B (en) Capacitive detection circuit
CN210807531U (en) Switch loop detection device
CN201556292U (en) Remote controller
CN220730371U (en) Alarm circuit for detecting abnormal closing of normally closed end of relay
CN214655819U (en) Low standby power consumption device and low standby power consumption washing machine
CN220492977U (en) Output signal isolator of switching value input transistor
CN216670682U (en) Startup and shutdown control circuit for self-service equipment
CN219304513U (en) Expanding device of storage battery
CN220190460U (en) Interface protection circuit, interface protection device and electronic equipment
CN211826405U (en) Power input/output state display circuit
CN215813280U (en) Process LRU and aircraft whole-aircraft cable testing system
CN217007727U (en) Detection circuit and detection device of receiving device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant