Automatic testing system and method for button functions of fireproof door monitor

文档序号:142731 发布日期:2021-10-22 浏览:29次 中文

阅读说明:本技术 一种防火门监控器按键功能自动化测试系统及方法 (Automatic testing system and method for button functions of fireproof door monitor ) 是由 张良帅 舒伟龙 石钟 于 2021-08-13 设计创作,主要内容包括:本发明涉及一种防火门监控器按键功能自动化测试系统及方法,包括安装有自动化测试程序的终端设备,终端设备通过USB-CAN适配器通信连接有受终端设备控制的第一防火门监控器,第一防火门监控器通信连接有受其控制的多点I/O模块组件,多点I/O模块组件的点数与第一防火门监控器上的控制功能按键数量相同,多点I/O模块组件电连接有受其控制的与第一防火门监控器相同的第二防火门监控器,第二防火门监控器与终端设备通信连接,同时公开了采用该系统进行自动化测试的方法。该发明能自动的、持续精准的完成测试任务,提高了工作效率。(The invention relates to an automatic testing system and method for button functions of a fireproof door monitor, which comprises a terminal device provided with an automatic testing program, wherein the terminal device is in communication connection with a first fireproof door monitor controlled by the terminal device through a USB-CAN adapter, the first fireproof door monitor is in communication connection with a multipoint I/O module assembly controlled by the first fireproof door monitor, the number of points of the multipoint I/O module assembly is the same as that of control function buttons on the first fireproof door monitor, the multipoint I/O module assembly is electrically connected with a second fireproof door monitor controlled by the multipoint I/O module assembly and the same as the first fireproof door monitor, the second fireproof door monitor is in communication connection with the terminal device, and meanwhile, the method for carrying out automatic testing by adopting the system is disclosed. The invention can automatically, continuously and accurately complete the testing task and improve the working efficiency.)

1. The utility model provides a prevent automatic test system of fire door watch-dog button function which characterized in that: including the terminal equipment who installs automatic test procedure, terminal equipment has the first fire door watch-dog that prevents that receives terminal equipment control through USB-CAN adapter communication connection, first fire door watch-dog communication connection has the multiple spot IO module component that receives its control, the number of points of multiple spot IO module component is the same with the first control function button quantity that prevents on the fire door watch-dog, multiple spot IO module component electricity is connected with the second that prevents the fire door watch-dog the same with first fire door watch-dog that receives its control, fire door watch-dog and terminal equipment communication connection are prevented to the second.

2. The automated fire door monitor button function testing system of claim 1, wherein said USB-CAN adapter is a USBCAN-IIC adapter.

3. The automated testing system of fire door monitor button functions of claim 1, wherein the multi-point I/O module assembly is a 42-point I/O module assembly, and the first fire door controller and the second fire door controller are both provided with 42 control function buttons.

4. The automated fire door monitor button function testing system of claim 1, wherein said communication link is a wired communication link.

5. An automatic testing method for the key function of a fire door monitor is characterized in that the system according to any one of claims 1 to 4 is adopted, and the testing steps are as follows:

s1, connecting the terminal equipment provided with the automatic test program with the first fireproof door monitor through a USB-CAN adapter in a communication manner, and setting test parameters;

s2, starting a test process of an automatic test program, wherein a terminal device transmits an operation command to a first fireproof door monitor through a USB-CAN adapter, the first fireproof door monitor analyzes the operation command and transmits analyzed information to a multi-point I/O module assembly, the multi-point I/O module assembly sequentially attracts or disconnects a plurality of relays which are arranged in the multi-point I/O module assembly and have the same number with the points of the relays according to the command and transmits corresponding state signals to a second fireproof door monitor, and control keys on the second fireproof door monitor sequentially perform corresponding actions according to the received state signals and form log logs;

s3, after the test is finished, the log is uploaded to the terminal device by the second fireproof door monitor, the terminal device obtains the log and compares the log with the set test parameters to judge whether the function of the second fireproof door monitor is normal, and meanwhile, the test log is formed.

6. The automated testing method of the key functions of the fire door monitor as claimed in claim 5, wherein the control command comprises a frame period of the control command and an execution step of the control command.

7. The automated testing method for button functions of fire door monitor as claimed in claim 5, wherein said setting of testing parameters comprises setting of testing parameters on a terminal device, a USB-CAN adapter, a first fire door monitor, a multi-point I/O module assembly, comprising the steps of:

s1a, setting test parameters on the terminal equipment;

s1b, reading the testing parameters set in the terminal equipment and carrying out corresponding parameter setting on the USB-CAN adapter, the first fireproof door monitor and the multipoint I/O module assembly according to the read testing parameters.

8. The automatic testing method for the key function of the fire door monitor as claimed in claim 5, further comprising step S4, after the test log is formed, the terminal device sends out a reminding signal that the test is completed and the test log is checked.

9. The automatic testing method for the key function of the fire door monitor as claimed in claim 5, wherein the automatic testing program is packaged into EXE executable file and installed in the terminal device.

10. The automatic testing method for button functions of fire door monitor as claimed in claim 5, wherein said USB-CAN adapter is a USBCAN-IIC adapter.

Technical Field

The invention relates to the field of fire fighting, in particular to a system and a method for automatically testing the button function of a fire door monitor.

Background

Prevent fire door watch-dog and prevent fire door watch-dog with normally open type for the normal close type, prevent under the fire door watch-dog daily condition of normal close type, prevent that fire door is in the closure state can protect the property safety in the region, when the conflagration takes place, can be in personnel and hurry under the chaotic condition, through reporting to the police and voice prompt, quick effectual guide personnel are sparse to flee. Under the daily condition of fire door watch-dog is prevented to open in usual, prevent that fire door keeps the state of opening the door, and the personnel of being convenient for are current. When a fire disaster happens, the door closer is linked to carry out fire-fighting linkage to automatically close the fireproof door, and the state information of the fireproof door can be fed back to the fire-fighting monitoring room.

The function of the fireproof door monitor is important, so that the function detection of the fireproof door monitor is also important, but the fireproof door monitor control panel is provided with a plurality of control function keys which are respectively corresponding to different software function controls, such as system setting, networking setting, power supply setting, bus setting, linkage setting, manual control disc setting, fireproof door monitoring and the like, if various functions of the fireproof door monitor are detected, the corresponding control keys on the fireproof door monitor control panel are manually triggered, different software functions are respectively tested, the test process is complicated, the test results caused by different operation methods and key sequences of a tester are inconsistent, or partial functions caused by neglected testing of the tester are not detected, and the working efficiency is low.

Disclosure of Invention

Aiming at the existing defects, the invention provides a system and a method for automatically testing the button function of a fireproof door monitor.

The technical scheme adopted by the invention for solving the technical problems is as follows: the utility model provides a prevent fire door watch-dog button function automatic test system, is including the terminal equipment who installs automatic test procedure, terminal equipment has the first fire door watch-dog that prevents that receives terminal equipment control through USB-CAN adapter communication connection, first prevent fire door watch-dog communication connection have the multiple spot IO module component that receives its control, the number of points of multiple spot IO module component is the same with the first control function button quantity that prevents on the fire door watch-dog, multiple spot IO module component electricity is connected with receive its control with the first fire door watch-dog the same second prevent fire door watch-dog, the second prevents fire door watch-dog and terminal equipment communication connection.

Preferably, the USB-CAN adapter is a USBCAN-II C adapter.

Preferably, the multipoint I/O module component is a 42-point I/O module component, and the first fire door controller and the second fire door controller are both provided with 42 control function keys.

Preferably, the communication connection is a wired communication connection.

An automatic testing method for the key function of a fire door monitor is characterized in that the system according to any one of claims 1 to 3 is adopted, and the testing steps are as follows:

s1, connecting the terminal equipment provided with the automatic test program with the first fireproof door monitor through a USB-CAN adapter in a communication manner, and setting test parameters;

s2, starting a test process of an automatic test program, wherein a terminal device transmits an operation command to a first fireproof door monitor through a USB-CAN adapter, the first fireproof door monitor analyzes the operation command and transmits analyzed information to a multi-point I/O module assembly, the multi-point I/O module assembly sequentially attracts or disconnects a plurality of relays which are arranged in the multi-point I/O module assembly and have the same number with the points of the relays according to the command and transmits corresponding state signals to a second fireproof door monitor, and control keys on the second fireproof door monitor sequentially perform corresponding actions according to the received state signals and form log logs;

s3, after the test is finished, the log is uploaded to the terminal device by the second fireproof door monitor, the terminal device obtains the log and compares the log with the set test parameters to judge whether the function of the second fireproof door monitor is normal, and meanwhile, the test log is formed.

Preferably, the control instruction includes a control command frame period and a control command execution step.

Preferably, the setting of the test parameters comprises the setting of the test parameters on the terminal equipment, the USB-CAN adapter, the first fireproof door monitor and the multipoint I/O module assembly, and the steps are as follows:

s1a, setting test parameters on the terminal equipment;

s1b, reading the testing parameters set in the terminal equipment and carrying out corresponding parameter setting on the USB-CAN adapter, the first fireproof door monitor and the multipoint I/O module assembly according to the read testing parameters.

Preferably, the method further includes step S4, after the test log is formed, the terminal device sends out a warning signal that the test is completed and the test log is checked.

Preferably, the automatic test program is packaged into an EXE executable file and installed on the terminal equipment.

Preferably, the USB-CAN adapter is a USBCAN-II C adapter.

The invention has the beneficial effects that: according to the automatic testing method and the automatic testing device, the corresponding automatic testing parameters are set through the automatic testing program software installed on the terminal equipment, the control instructions are transmitted through the corresponding connection, and after the testing program is started, the automatic testing can be automatically carried out, so that the automatic testing work of the button function of the fire door monitor is continuously and accurately realized, testers are liberated from fussy detection work, and the working efficiency is improved.

Drawings

FIG. 1 is a schematic diagram of the system components of an embodiment of the present invention;

FIG. 2 is a flow chart illustrating the testing steps according to an embodiment of the present invention;

FIG. 3 is a flow chart of an automatic test procedure according to an embodiment of the present invention;

part names and serial numbers in the figure: 1-terminal device 2-USB-CAN adapter 3-first fire door monitor 4-multipoint I/O module assembly 5-second fire door monitor.

Detailed Description

To more clearly illustrate the objects, technical solutions and advantages of the embodiments of the present invention, the present invention will be further described in detail with reference to the accompanying drawings and embodiments, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without inventive step, are within the scope of the present invention. In addition, directional terms used in the present invention, such as "upper", "lower", "front", "rear", "left", "right", "inner", "outer", etc., refer to directions only as shown in the attached drawings, and are used for better and clearer explanation and understanding of the present invention, and do not indicate or imply orientation which the present invention must have, and thus, should not be construed as limiting the present invention.

Embodiments of the present invention as shown in fig. 1 to 3, an automatic testing system and method for the button function of a fire door monitor includes a terminal device 1 installed with an automatic testing program, the terminal device 1 is a computer, and may be an industrial computer used in industry, the terminal device 1 is a first fire door monitor 3 connected in communication through a USB-CAN adapter 2 and controlled by the terminal device, the first fire door monitor 3 is a multi-point I/O module 4 connected in communication through a wire and controlled by the first fire door monitor, a plurality of relays having the same number as the number of the points of the multi-point I/O module are provided inside the multi-point I/O module, the number of the points of the multi-point I/O module is the same as the number of the control function buttons on the first fire door monitor, since about 42 control function buttons are provided on the control panel of the conventional fire door monitor, in order to meet the general use requirement, the multipoint I/O module 4 is a 42-point I/O module, there are 42 relays inside, all be provided with 42 control function buttons on first fire door controller 3 and the second fire door controller 5, the multipoint I/O module 4 utilizes the wire electricity to connect and receive its control with the first fire door watch-dog 3 the same second fire door watch-dog 5 of preventing, the number of points of multipoint I/O module 4 is the same with the control function button quantity on the first fire door watch-dog 3, the second fire door watch-dog 5 passes through the serial port line and 1 communication connection of terminal equipment, concrete test procedure is as follows:

s1, the terminal device 1 installed with the automatic test program is connected with the first fireproof door monitor 3 through the USB-CAN adapter 2 in a communication way, and sets test parameters, the terminal device 1 selects a computer, the automatic test program is the automatic test system software of the button function of the fireproof door monitor developed by programming, and the automatic test program is packaged into EXE executable files to be installed on the computer for running, at the moment, the communication connection between the terminal device 1 and the first fireproof door monitor 3 is a wired communication connection, the stability and the continuity of the running of the test system are ensured, namely, the USB-CAN adapter 2 is connected in a communication way, the USB-CAN adapter 2 is a USBCAN-II C adapter, and CAN be quickly connected to a CAN-Bus network through a USB interface, the volume is small, the carrying is convenient, and the CAN interface on the USB-CAN adapter is an electrical isolation protection module, the damage to equipment caused by instant overcurrent/overvoltage is avoided, and the use reliability of the system in a severe environment is enhanced; at this time, the setting of the test parameters includes the setting of the test parameters on the terminal device 1, the USB-CAN adapter 2, the first fireproof door monitor 3, and the multipoint I/O module assembly 4, and the step of setting the test parameters is as follows:

s1a, setting test parameters on the terminal device 1, namely setting corresponding test parameters on the terminal device 1 through an automatic test program;

s1b, reading the test parameters set in the terminal device 1 and carrying out corresponding parameter setting on the USB-CAN adapter 2, the first fireproof door monitor 3 and the multipoint I/O module assembly 4 according to the read test parameters, namely, the parameter information of the corresponding test parameters is read by an automatic test program and then transmitted to the USB-CAN adapter 2, the first fireproof door monitor 3 and the multipoint I/O module assembly 4;

s2, starting the testing process of the automatic testing program, the terminal device 1 transmits the control instruction to the first fireproof door monitor 3 through the USB-CAN adapter 2, the control instruction comprises the steps of control instruction frame period and control instruction execution, the first fireproof door monitor 3 analyzes the control instruction sent by the terminal device 1, and transmits the analyzed information to the multi-point I/O module component 4, namely the 42-point I/O module component, the 42-point I/O module component sequentially attracts or breaks the relays with the same number as the points thereof in the interior according to the instruction, namely the 42 relays arranged in the interior, the 42 relays transmit the electric signal in attracted or broken state to the second fireproof door monitor 5 through the lead, the 42 control buttons on the panel of the second monitor 5 are sequentially turned on or broken according to the attracted or broken electric signals of the 42 relays, therefore, the automatic test of the button function of the fireproof door monitor is realized, and a log is formed;

and S3, after the test is finished, the second fireproof door monitor 5 uploads a log to the terminal device 1, the terminal device 1 acquires the log and compares the log with the set test parameters to judge whether the function of the second fireproof door monitor 5 is normal, and simultaneously a test log is formed, namely after the test is finished, according to the acquired log of the second fireproof door monitor 5 and by comparing preset parameter values and correct log, the terminal device 1 can compare and analyze to obtain whether each function of the second fireproof door monitor 5 is normal, if the function is normal, the terminal device is subjected to the next procedure for processing, if the function is abnormal, the terminal device is subjected to repair procedure for processing, then a new second fireproof door monitor 5 to be tested is replaced, and the automatic test method is restarted.

S4, after the test log is formed, the terminal device 1 sends out a reminding signal that the test is finished and the test log is checked, so that after the test is finished, a user is prompted to finish the test and please check the test log, and further abnormal fire door monitors can be screened out in time and maintained in time, and the normal operation of the security system is ensured.

It will be understood that modifications and variations can be made by persons skilled in the art in light of the above teachings and all such modifications and variations are intended to be included within the scope of the invention as defined in the appended claims.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:网络的主备切换方法、系统、设备和存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!