WO2020108580A1 - Automatic test system and method for security check instrument, and device having storage function - Google Patents

Automatic test system and method for security check instrument, and device having storage function Download PDF

Info

Publication number
WO2020108580A1
WO2020108580A1 PCT/CN2019/121734 CN2019121734W WO2020108580A1 WO 2020108580 A1 WO2020108580 A1 WO 2020108580A1 CN 2019121734 W CN2019121734 W CN 2019121734W WO 2020108580 A1 WO2020108580 A1 WO 2020108580A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
security
controller
input
instrument
Prior art date
Application number
PCT/CN2019/121734
Other languages
French (fr)
Chinese (zh)
Inventor
钟书文
祁春超
王荣
Original Assignee
深圳市华讯方舟太赫兹科技有限公司
华讯方舟科技有限公司
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 深圳市华讯方舟太赫兹科技有限公司, 华讯方舟科技有限公司 filed Critical 深圳市华讯方舟太赫兹科技有限公司
Publication of WO2020108580A1 publication Critical patent/WO2020108580A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V13/00Manufacturing, calibrating, cleaning, or repairing instruments or devices covered by groups G01V1/00 – G01V11/00

Definitions

  • This application relates to the technical field of security inspection instruments, in particular to an automatic test system and method for security inspection instruments and a device with a storage function.
  • This application mainly provides a security tester automatic test system, method and device with a storage function, which can automatically complete the security tester test, using touch tools to actually touch, compared with software simulation touch, the accuracy is higher.
  • a technical solution adopted in this application is to provide an automatic test system for a security tester, which is applied to a security tester and includes: a touch tool and a controller connected to each other, the controller connected to the security tester;
  • the control touch tool touches the input device of the security inspection instrument to input control instructions to the security inspection instrument, and obtains the operation result data of the security inspection instrument to test whether the security inspection instrument operates normally.
  • an automatic test method for a security instrument which includes: a controller sends a touch command to a touch tool; the touch tool touches the security instrument according to the touch command Input device to input control instructions to the security inspection instrument; the controller obtains the operation result data of the security inspection instrument and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch instruction; if it is inconsistent, the controller judges that the security inspection instrument Normal, otherwise it is determined that the security checker is operating normally.
  • an automatic test method of a security instrument which includes: a controller sends a touch command to a touch tool to control the input device of the touch tool to touch the security instrument , In order to input control instructions to the security inspection instrument; the controller obtains the operation result data of the security inspection instrument and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch instruction; Determine that the security checker is operating normally.
  • another technical solution adopted by the present application is to provide a device with a storage function that stores instructions, and when the instructions are executed, the automatic test method of the security instrument described above is implemented.
  • the controller sends a touch command to the touch tool; the touch tool touches the input device of the security instrument according to the touch command, to Input the control instruction to the security inspection instrument; the controller obtains the operation result data of the security inspection instrument, and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch instruction; if they are not consistent, the controller judges that the security inspection instrument is not operating normally, otherwise, the security inspection The instrument is operating normally.
  • the controller does not need to manually perform the touch operation.
  • the controller directly controls the touch tool to automatically complete the touch and the entire security instrument test process, saving manpower costs, and uses the touch tool to actually touch, compared to the software simulation of touch , Higher accuracy and more reference value.
  • FIG. 1 is a schematic structural diagram of an embodiment of an automatic test system of a security inspection instrument of the present application
  • FIG. 2 is a schematic diagram of an application scenario of an automatic test system of a security instrument of this application
  • FIG. 3 is a schematic diagram of an application scenario of a controller using an electromagnetic point contact to touch an input device
  • FIG. 4 is a schematic flowchart of a first embodiment of an automatic test method of a security instrument of this application
  • FIG. 5 is a schematic flowchart of specific steps in FIG. 4;
  • FIG. 6 is a schematic diagram of the interaction process of each device in the method shown in FIG. 5;
  • FIG. 7 is a schematic flowchart of a second embodiment of an automatic test method of a security instrument of this application.
  • FIG. 8 is a schematic structural diagram of an embodiment of a device with a storage function according to the present application.
  • the automatic test system 10 for a security instrument includes: a touch tool 101 and a controller 102 that are connected to each other.
  • the automatic test system 10 of the security instrument is applied to a security instrument, such as the cylindrical human security instrument shown in FIG. 2.
  • the controller 102 is connected to the security inspection instrument 20.
  • the controller 102 is used to control the touch tool 101 to touch the input device 201 of the security inspection instrument 20 to input control instructions to the security inspection instrument 20 and obtain the operation result data of the security inspection instrument 20 to Test whether the security device 20 is operating normally.
  • the controller 102 may be a field programmable gate array (Field Programmable Gate Array, FPGA), or a complex programmable logic device (Complex Programmable Logic Device, CPLD), or the like.
  • Field Programmable Gate Array FPGA
  • CPLD Complex Programmable Logic Device
  • the touch tool 101 may be a manipulator, and the controller 102 may control the touch tool 101 by inputting coordinates of a target position.
  • the touch tool 101 may also be an electromagnetic point contact as shown in FIG. 3.
  • the controller 102 may input current to a tool such as an electromagnet in the electromagnetic point contact to generate a corresponding magnetic field to control the touch tool 101.
  • the security inspection instrument 20 includes a lower computer 202 for controlling the security inspection instrument 20 to scan.
  • the lower computer 202 can control the scanning antenna of the security inspection instrument 20 shown in FIG. 2 (Not shown) Send a scan signal (such as a terahertz wave) to scan the target to be measured.
  • the lower computer 202 may be a programmable logic controller (Programmable Logic Controller, PLC), and a storage device (not shown) of the lower computer 202, such as a status register, stores the operating state data of the security inspection instrument 20, including Operation result data.
  • PLC Programmable Logic Controller
  • the operation result data is the result data after the security instrument 20 performs scanning, and may include data such as the frequency of the signal emitted by the scanning antenna, the number of scanning times, the scanning time, the scanning angle, and whether a failure occurred during the scanning process.
  • the controller 102 is connected to the lower computer 202 and can obtain the operation result data of the security inspection instrument 20 from the storage device of the lower computer 202. Then, the controller 102 can compare the operation result data with the expected operation result data, and if the two match, it can be determined that the security inspection instrument 20 is operating normally, otherwise it is judged that the security inspection instrument 20 is operating abnormally.
  • the controller 102 obtains the operation result data
  • the frequency of the signal emitted by the scanning antenna is 1 THz
  • the frequency of the signal emitted by the scanning antenna in the expected operation result data is also 1 THz
  • the two are consistent, and it can be determined that the security instrument 20 is operating normal.
  • the gap between the two is within the allowable error range, for example, the scan angle in the obtained operation result data is 118 degrees, and the scan angle in the expected operation result data is 120 degrees. At this time, the gap between the two is 2 degrees. Within the error range (such as 5 degrees), at this time, the two are still considered to match, and it is determined that the security inspection instrument 20 is operating normally.
  • the expected operation result is that when the controller 102 controls the touch tool 101 to touch the input device 201 of the security inspection instrument 20, the controller 102 estimates the touch with the touch after calculating according to the touch command to control the touch tool 101
  • the operation result of the security tester 20 corresponding to the instruction For example, according to the corresponding control instruction at the position touched by the touch tool 101, the operation result after the safety inspection instrument 20 is operated according to the control instruction is estimated.
  • the controller 102 can also obtain the probability of normal operation of the security checker 20 according to the comparison result of multiple operation result data, when the probability of normal operation is higher than a preset value (such as 90% ), it is judged that the security inspection instrument is operating normally, otherwise it is judged that the security inspection instrument is not operating normally and needs to be repaired.
  • a preset value such as 90%
  • the controller 102 can also determine the input device according to the touch instruction sent to the touch tool 101 and the input position coordinates recognized by the input device 201 obtained from the security inspection instrument 20 201 Whether the identification is accurate.
  • the touch tool 101 may be a robot, and the end of the robot may be used to touch the input device 201.
  • the controller 102 sends a touch command to the touch tool 101, the touch command includes the coordinates of the target end position of the manipulator, and after receiving the touch command, the manipulator determines the target end position according to the current position coordinates of the end and the target end Position coordinates, plan the movement trajectory of its end, and control its end to move from the current position coordinates to the target end position coordinates according to the movement trajectory, and touch the input device 201 at the target end position coordinates.
  • the input device 201 will recognize the control command triggered after the robot touches, and then the security inspection device 20 will operate according to the control command, so that after the operation, the lower computer 202 of the security inspection device 20 will obtain the operation result data.
  • the input device 201 may be a key or a touch screen.
  • the electromagnetic point contact is detachably mounted on the surface of the input device 201 (such as a touch screen).
  • the head of the electromagnetic point contact is wrapped with electric cloth, which can touch the touch screen and can prevent the point from being damaged or scratching the screen.
  • the touch tool 101 may include a plurality of electromagnetic point contacts, each electromagnetic point contact is correspondingly disposed at each control icon displayed on the touch screen, and four electromagnetic points are set as shown in FIG. Touch the head, corresponding to the four control icons for men's scan, women's scan, result confirmation and correction.
  • the controller 102 inputs current to the corresponding electromagnetic point contact
  • the electromagnetic point contact generates a magnetic field
  • drives the head of the electromagnetic point contact to touch the control icon of the corresponding position on the touch screen
  • the touch screen recognizes the touch position (i.e. the After the position of the touched control icon)
  • the control instruction corresponding to the control icon can be input to the security inspection instrument 20.
  • the security instrument 20 further includes a host 203 connected to the touch screen, where the host 203 may be a personal computer PC or a server.
  • the input device 201 is a touch screen
  • the touch screen can recognize the position touched by the robot, that is, the input position coordinates of the touch tool 101, and then transmit the recognized input position coordinates to the host 203 for storage.
  • the host 203 can also recognize the control command corresponding to the input position coordinates, and send the control command or the control command of the lower computer 202 parsed according to the control command to the lower computer 202 to control the lower computer 202 to scan.
  • the controller 102 is connected to the host 203. After the touch tool 101 touches the touch screen, the controller 102 can obtain the input position of the touch tool 101 recognized by the touch screen from the host 203. coordinate. Then, the controller 102 may compare the input position coordinates with the touch position coordinates of the touch tool 101 to determine whether the touch screen is recognized accurately.
  • the touch position of the touch tool 101 is the coordinate of the target end position of the robot.
  • the controller 102 may obtain the reference position of the touch screen, such as obtaining in advance The coordinates of the center point of the touch screen in the world coordinate system, a simple coordinate system conversion of the input position coordinates, and convert it to the same reference coordinate system as the target end position coordinates.
  • the controller 102 can compare the converted input position coordinates with the target end position coordinates.
  • the touch screen The identification is accurate, otherwise the touch screen identification is judged to be inaccurate.
  • the coordinates of the target end position can also be converted to the same coordinate system as the input position coordinates for comparison, or both can be converted to another same coordinate system for comparison.
  • the controller 102 when the touch tool 101 is an electromagnetic point contact, the controller 102 has pre-stored the control icon corresponding to each electromagnetic point contact, the position coordinates of the control icon in the touch screen, or the control instruction corresponding to the control icon At least one of them, when the controller 102 controls the input of current to the corresponding electromagnetic point contact, the touch position of the electromagnetic point contact can be obtained, so as to obtain the corresponding control icon, the position coordinates of the control icon in the touch screen, or the control At least one piece of information in the control instruction corresponding to the icon is then compared with the information corresponding to the position coordinates recognized by the touch screen. If the two are consistent or within the allowable error range, the two match, otherwise they do not match.
  • the controller 102 may also obtain the probability of whether the touch screen is correctly recognized or not according to the comparison result of multiple touch screen recognition results.
  • a preset value such as 95%)
  • the automatic test system 10 of the security instrument may also include other devices such as a memory (not shown), a display (not shown), an input and output device (not shown), etc. according to actual needs.
  • the controller can send the touch instruction to the touch tool, so that the control touch tool can touch the input device of the security instrument according to the touch instruction to input the control instruction to the security instrument, and After obtaining the operating result data of the security inspection instrument, determine whether the operating result data is consistent with the expected operating result data corresponding to the touch command. If they are not consistent, the controller determines that the security inspection instrument is not operating normally, otherwise it is determined that the security inspection instrument is operating normally, and the entire process does not need Man-made touch operation, the controller directly controls the touch tool to automatically complete the touch and the entire security instrument test process, saving labor costs, and the actual touch using the touch tool, compared with the software simulation of touch, the accuracy is higher, It has more reference value.
  • the first embodiment of the automatic test method of the security instrument of the present application includes:
  • S11 The controller sends a touch command to the touch tool.
  • the touch tool touches the input device of the safety inspection instrument to input the control instruction to the safety inspection instrument.
  • step S12 includes:
  • the manipulator plans the end movement trajectory according to its current position coordinates and target end position coordinates to move from the current position coordinates to the target end position coordinates, and touches the input device; or, receives the current signal input by the controller
  • the electromagnetic point contact generates a magnetic field and drives its head to point touch the input device to input control instructions to the security inspection instrument.
  • step S121 when the input device is a touch screen, as shown in FIGS. 5 and 6, after step S121, it includes:
  • S161 The controller obtains the input position coordinates recognized by the touch screen, and determines whether the input position coordinates and the position coordinates of the touch of the touch tool match.
  • the security inspection apparatus may further include a host connected to the touch screen, the touch screen transmits the recognized input position coordinates to the host, and the controller may obtain the input position coordinates recognized by the touch screen from the host.
  • step S162 If there is a match, the following step S162 is executed, otherwise step S163 is executed.
  • S13 The controller obtains the operation result data of the security inspection instrument, and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch command.
  • step S13 includes:
  • the controller obtains the operation result data of the security inspection instrument from the lower computer register of the security inspection instrument, and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch command.
  • step S13 If the judgment result of step S13 is NO, that is, they are inconsistent, the following step S14 is executed, otherwise step S15 is executed.
  • S14 The controller determines that the security checker is not operating normally.
  • S15 The controller determines that the security inspection instrument is operating normally.
  • the automatic test method of the security tester of this embodiment is applied to the automatic test system of the security tester of this application.
  • the specific execution process of each step can refer to the description of the execution process of each device in an embodiment of the automatic test system of the security tester of this application, and will not be repeated here. .
  • the controller can send the touch instruction to the touch tool, so that the control tool can touch the input device of the security inspection instrument according to the touch instruction to input the control instruction to the security inspection instrument and obtain the operation of the security inspection instrument After the result data, determine whether the operation result data is consistent with the expected operation result data corresponding to the touch command. If they are not consistent, the controller determines that the security inspection instrument is not operating normally, otherwise it is determined that the security inspection instrument is operating normally, and the entire process does not require manual touch operation The controller directly controls the touch tool to automatically complete the touch and the entire security testing process, saving labor costs.
  • the actual touch using the touch tool is more accurate than the software simulation of touch, and has more reference value.
  • the second embodiment of the automatic test method of the security instrument of the present application includes:
  • S21 The controller sends a touch command to the touch tool to control the input device of the security tool by the touch tool to input the control command to the security device.
  • step S21 when the input device is a touch screen, after step S21, it includes:
  • S25 The controller obtains the input position coordinates recognized by the touch screen, and determines whether the input position coordinates and the target end position coordinates match.
  • the security inspection apparatus may further include a host connected to the touch screen, the touch screen transmits the recognized input position coordinates to the host, and the controller may obtain the input position coordinates recognized by the touch screen from the host.
  • step S26 If they match, the following step S26 is executed, otherwise step S27 is executed.
  • S22 The controller obtains the operation result data of the security inspection instrument, and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch command.
  • the controller may obtain the operation result data of the security inspection instrument from the lower computer register of the security inspection instrument.
  • step S22 If the judgment result of step S22 is no, that is, they are inconsistent, the following step S23 is executed, otherwise step S24 is executed.
  • S23 The controller determines that the security checker is not operating normally.
  • the execution subject of the security tester automatic test method of this embodiment is the controller in the security tester automatic test system of the present application.
  • the controller execution process description in an embodiment of the security tester automatic test system of the present application not repeated here.
  • the device 70 with a storage function stores an instruction 701, which can be implemented as the first or The method provided by the second embodiment.
  • the device 70 with a storage function may be a portable storage medium such as a U disk, an optical disk, or may be a terminal, a server, or an integrated independent component, such as a processing chip.
  • the touch tool when an instruction stored in the device with a storage function is executed, by sending a touch instruction to the touch tool, the touch tool can be controlled to touch the input device of the security instrument according to the touch instruction to The security instrument enters the control command, and after obtaining the operating result data of the security instrument, it is determined whether the operating result data is consistent with the expected operating result data corresponding to the touch command. If they are not consistent, the controller determines that the security instrument is not operating normally, otherwise the security The instrument runs normally, and the whole process does not need to be touched manually. The controller directly controls the touch tool to automatically complete the touch and the entire test process of the security tester, saving manpower costs, and uses the touch tool to actually touch, relative to the software simulation Touch, the accuracy is higher, and it has more reference value.

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Geophysics (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An automatic test system (10) and method for a security check instrument, and a device having a storage function. The system comprises: a touch tool (101) and a controller (102) connected to each other, the controller (102) being connected to the security check instrument (20); the controller (102) is configured to control the touch tool (101) to touch an input device (201) of the security check instrument (20) so as to input a control instruction to the security check instrument (20), and to obtain operation result data of the security check instrument (20) to test whether the security check instrument (20) operates normally. In this way, the test of the security check instrument (20) can be automatically completed. Compared with software simulation touch, use of the touch tool (101) for actual touch has higher accuracy.

Description

安检仪自动测试系统、方法及具有存储功能的装置Automatic test system, method and device with storage function of security inspection instrument 技术领域Technical field
本申请涉及安检仪技术领域,特别是涉及一种安检仪自动测试系统、方法及具有存储功能的装置。This application relates to the technical field of security inspection instruments, in particular to an automatic test system and method for security inspection instruments and a device with a storage function.
背景技术Background technique
现有的安检仪测试方法,通常是人为点击控制屏幕或者采用软件给予触摸指令后测试安检仪运行结果是否正常。然而,人为点击的方法需要人力参与,耗费人力。而采用软件模拟触屏的方法,与实际触碰仍然存在差异,测试结果的准确性不高,参考价值不高。Existing security tester testing methods are usually to manually click on the control screen or use software to give touch commands to test whether the security tester's operation results are normal. However, the artificial click method requires human participation and consumes manpower. However, the method of simulating the touch screen by software is still different from the actual touch, the accuracy of the test results is not high, and the reference value is not high.
技术解决方案Technical solution
本申请主要提供一种安检仪自动测试系统、方法及具有存储功能的装置,能够自动完成安检仪测试,采用点触工具实际点触,相对于软件模拟点触,准确性更高。This application mainly provides a security tester automatic test system, method and device with a storage function, which can automatically complete the security tester test, using touch tools to actually touch, compared with software simulation touch, the accuracy is higher.
为解决上述技术问题,本申请采用的一个技术方案是:提供一种安检仪自动测试系统,应用于安检仪,包括:相互连接的点触工具和控制器,控制器连接安检仪;控制器用于控制点触工具点触安检仪的输入设备,以向安检仪输入控制指令,且获取安检仪的运行结果数据,以测试所述安检仪是否运行正常。In order to solve the above technical problems, a technical solution adopted in this application is to provide an automatic test system for a security tester, which is applied to a security tester and includes: a touch tool and a controller connected to each other, the controller connected to the security tester; The control touch tool touches the input device of the security inspection instrument to input control instructions to the security inspection instrument, and obtains the operation result data of the security inspection instrument to test whether the security inspection instrument operates normally.
为解决上述技术问题,本申请采用的另一个技术方案是:提供一种安检仪自动测试方法,包括:控制器向点触工具发送点触指令;点触工具根据点触指令,点触安检仪的输入设备,以向安检仪输入控制指令;控制器获取安检仪的运行结果数据,判断运行结果数据是否与点触指令对应的预期运行结果数据一致;若不一致,则控制器判定安检仪运行不正常,否则判定安检仪运行正常。In order to solve the above technical problems, another technical solution adopted by the present application is to provide an automatic test method for a security instrument, which includes: a controller sends a touch command to a touch tool; the touch tool touches the security instrument according to the touch command Input device to input control instructions to the security inspection instrument; the controller obtains the operation result data of the security inspection instrument and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch instruction; if it is inconsistent, the controller judges that the security inspection instrument Normal, otherwise it is determined that the security checker is operating normally.
为解决上述技术问题,本申请采用的再一个技术方案是:提供一种安检仪自动测试方法,包括:控制器向点触工具发送点触指令,以控制点触工具点触安检仪的输入设备,以向安检仪输入控制指令;控制器获取安检仪的运行结果数据,判断运行结果数据是否与点触指令对应的预期运行结果数据一致;若不一致,则控制器判定安检仪运行不正常,否则判定安检仪运行正常。In order to solve the above technical problems, another technical solution adopted by the present application is to provide an automatic test method of a security instrument, which includes: a controller sends a touch command to a touch tool to control the input device of the touch tool to touch the security instrument , In order to input control instructions to the security inspection instrument; the controller obtains the operation result data of the security inspection instrument and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch instruction; Determine that the security checker is operating normally.
为解决上述技术问题,本申请采用的又一个技术方案是:提供一种具有存 储功能的装置,存储有指令,该指令被执行时实现如上所述的安检仪自动测试方法。In order to solve the above technical problems, another technical solution adopted by the present application is to provide a device with a storage function that stores instructions, and when the instructions are executed, the automatic test method of the security instrument described above is implemented.
本申请的有益效果是:区别于现有技术的情况,本申请的实施例中,控制器向点触工具发送点触指令;点触工具根据点触指令,点触安检仪的输入设备,以向安检仪输入控制指令;控制器获取安检仪的运行结果数据,判断运行结果数据是否与点触指令对应的预期运行结果数据一致;若不一致,则控制器判定安检仪运行不正常,否则判定安检仪运行正常。上述方式中,不需要人为进行点触操作,控制器直接控制点触工具即可自动完成点触及整个安检仪测试过程,节省人力成本,且采用点触工具实际点触,相对于软件模拟点触,准确性更高,更具有参考价值。The beneficial effects of the present application are: different from the situation in the prior art, in the embodiment of the present application, the controller sends a touch command to the touch tool; the touch tool touches the input device of the security instrument according to the touch command, to Input the control instruction to the security inspection instrument; the controller obtains the operation result data of the security inspection instrument, and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch instruction; if they are not consistent, the controller judges that the security inspection instrument is not operating normally, otherwise, the security inspection The instrument is operating normally. In the above method, the controller does not need to manually perform the touch operation. The controller directly controls the touch tool to automatically complete the touch and the entire security instrument test process, saving manpower costs, and uses the touch tool to actually touch, compared to the software simulation of touch , Higher accuracy and more reference value.
附图说明BRIEF DESCRIPTION
图1是本申请安检仪自动测试系统一实施例的结构示意图;FIG. 1 is a schematic structural diagram of an embodiment of an automatic test system of a security inspection instrument of the present application;
图2是本申请安检仪自动测试系统的应用场景示意图;2 is a schematic diagram of an application scenario of an automatic test system of a security instrument of this application;
图3是控制器利用电磁点触头点触输入设备的应用场景示意图;3 is a schematic diagram of an application scenario of a controller using an electromagnetic point contact to touch an input device;
图4是本申请安检仪自动测试方法第一实施例的流程示意图;4 is a schematic flowchart of a first embodiment of an automatic test method of a security instrument of this application;
图5是图4中各步骤的具体流程示意图;FIG. 5 is a schematic flowchart of specific steps in FIG. 4;
图6是图5所示的方法中各装置的交互流程示意图;FIG. 6 is a schematic diagram of the interaction process of each device in the method shown in FIG. 5;
图7是本申请安检仪自动测试方法第二实施例的流程示意图;7 is a schematic flowchart of a second embodiment of an automatic test method of a security instrument of this application;
图8是本申请具有存储功能的装置一实施例的结构示意图。8 is a schematic structural diagram of an embodiment of a device with a storage function according to the present application.
本发明的实施方式Embodiments of the invention
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
如图1所示,本申请安检仪自动测试系统一实施例中,该安检仪自动测试系统10包括:相互连接的点触工具101和控制器102。As shown in FIG. 1, in an embodiment of an automatic test system for a security instrument of the present application, the automatic test system 10 for a security instrument includes: a touch tool 101 and a controller 102 that are connected to each other.
其中,该安检仪自动测试系统10应用于安检仪,例如图2所示的圆柱形人体安检仪。The automatic test system 10 of the security instrument is applied to a security instrument, such as the cylindrical human security instrument shown in FIG. 2.
该控制器102连接安检仪20,该控制器102用于控制点触工具101点触安 检仪20的输入设备201,以向安检仪20输入控制指令,且获取安检仪20的运行结果数据,以测试安检仪20是否运行正常。The controller 102 is connected to the security inspection instrument 20. The controller 102 is used to control the touch tool 101 to touch the input device 201 of the security inspection instrument 20 to input control instructions to the security inspection instrument 20 and obtain the operation result data of the security inspection instrument 20 to Test whether the security device 20 is operating normally.
其中,该控制器102可以是现场可编程门阵列(FieldProgrammable Gate Array,FPGA),也可以是复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)等。The controller 102 may be a field programmable gate array (Field Programmable Gate Array, FPGA), or a complex programmable logic device (Complex Programmable Logic Device, CPLD), or the like.
该点触工具101可以是机械手,该控制器102可以采用输入目标位置坐标的方式等方式控制该点触工具101。该点触工具101也可以是如图3所示的电磁点触头,例如该控制器102可以向电磁点触头中的电磁铁等工具输入电流以产生相应的磁场控制点触工具101。The touch tool 101 may be a manipulator, and the controller 102 may control the touch tool 101 by inputting coordinates of a target position. The touch tool 101 may also be an electromagnetic point contact as shown in FIG. 3. For example, the controller 102 may input current to a tool such as an electromagnet in the electromagnetic point contact to generate a corresponding magnetic field to control the touch tool 101.
在一个应用例中,结合图1和图2所示,安检仪20包括用于控制安检仪20进行扫描的下位机202,例如该下位机202可以控制图2所示的安检仪20的扫描天线(图未示)发出扫描信号(如太赫兹波),从而扫描待测目标。其中,该下位机202可以是可编程逻辑控制器(Programmable Logic Controller,PLC),该下位机202的存储装置(图未示),例如状态寄存器中,保存有安检仪20的运行状态数据,包括运行结果数据。In an application example, as shown in FIG. 1 and FIG. 2, the security inspection instrument 20 includes a lower computer 202 for controlling the security inspection instrument 20 to scan. For example, the lower computer 202 can control the scanning antenna of the security inspection instrument 20 shown in FIG. 2 (Not shown) Send a scan signal (such as a terahertz wave) to scan the target to be measured. Wherein, the lower computer 202 may be a programmable logic controller (Programmable Logic Controller, PLC), and a storage device (not shown) of the lower computer 202, such as a status register, stores the operating state data of the security inspection instrument 20, including Operation result data.
其中,该运行结果数据是安检仪20进行扫描后的结果数据,可以包括扫描天线发射的信号频率、扫描次数、扫描时间、扫描角度、扫描过程是否发生故障等数据。The operation result data is the result data after the security instrument 20 performs scanning, and may include data such as the frequency of the signal emitted by the scanning antenna, the number of scanning times, the scanning time, the scanning angle, and whether a failure occurred during the scanning process.
控制器102连接该下位机202,可以从该下位机202的存储装置中获取该安检仪20的运行结果数据。然后,该控制器102可以将该运行结果数据与预期的运行结果数据进行比较,若二者匹配,则可以判定安检仪20运行正常,否则判断安检仪20运行不正常。The controller 102 is connected to the lower computer 202 and can obtain the operation result data of the security inspection instrument 20 from the storage device of the lower computer 202. Then, the controller 102 can compare the operation result data with the expected operation result data, and if the two match, it can be determined that the security inspection instrument 20 is operating normally, otherwise it is judged that the security inspection instrument 20 is operating abnormally.
例如,控制器102获取该运行结果数据中,该扫描天线发射的信号频率是1THz,而该预期运行结果数据中扫描天线发射的信号频率也是1THz时,则二者一致,可以判定安检仪20运行正常。或者,二者之间的差距在容许误差范围内,例如获取运行结果数据中扫描角度为118度,而预期运行结果数据中扫描角度为120度,此时二者的差距为2度,在容许误差范围(如5度)内,此时仍然认为二者匹配,判定安检仪20运行正常。For example, when the controller 102 obtains the operation result data, the frequency of the signal emitted by the scanning antenna is 1 THz, and when the frequency of the signal emitted by the scanning antenna in the expected operation result data is also 1 THz, the two are consistent, and it can be determined that the security instrument 20 is operating normal. Or, the gap between the two is within the allowable error range, for example, the scan angle in the obtained operation result data is 118 degrees, and the scan angle in the expected operation result data is 120 degrees. At this time, the gap between the two is 2 degrees. Within the error range (such as 5 degrees), at this time, the two are still considered to match, and it is determined that the security inspection instrument 20 is operating normally.
其中,该预期运行结果是控制器102控制点触工具101点触安检仪20的输入设备201时,控制器102根据控制该点触工具101的点触指令进行运算后,估计的与该点触指令对应的安检仪20的运行结果。例如,根据该点触工具101 点触的位置处对应的控制指令进行估算安检仪20根据该控制指令运行后的运行结果。Among them, the expected operation result is that when the controller 102 controls the touch tool 101 to touch the input device 201 of the security inspection instrument 20, the controller 102 estimates the touch with the touch after calculating according to the touch command to control the touch tool 101 The operation result of the security tester 20 corresponding to the instruction. For example, according to the corresponding control instruction at the position touched by the touch tool 101, the operation result after the safety inspection instrument 20 is operated according to the control instruction is estimated.
当然,在其他实施例中,该控制器102也可以根据多次运行结果数据的比较结果获取该安检仪20的运行正常与否的概率,当运行正常的概率高于预设值(如90%)时,则判定该安检仪运行正常,否则判定该安检仪运行不正常,需要进行检修。Of course, in other embodiments, the controller 102 can also obtain the probability of normal operation of the security checker 20 according to the comparison result of multiple operation result data, when the probability of normal operation is higher than a preset value (such as 90% ), it is judged that the security inspection instrument is operating normally, otherwise it is judged that the security inspection instrument is not operating normally and needs to be repaired.
可选地,当该点触工具101是机械手时,该控制器102还可以根据向该点触工具101发送的点触指令和从安检仪20获取的输入设备201识别的输入位置坐标判断输入设备201是否识别准确。Optionally, when the touch tool 101 is a manipulator, the controller 102 can also determine the input device according to the touch instruction sent to the touch tool 101 and the input position coordinates recognized by the input device 201 obtained from the security inspection instrument 20 201 Whether the identification is accurate.
具体地,如图1和图2所示,在一个应用例中,该点触工具101可以是机械手,该机械手的末端可以用于点触输入设备201。控制器102向点触工具101发送点触指令时,该点触指令包括该机械手的目标末端位置坐标,该机械手接收到该点触指令后,则会根据其末端的当前位置坐标和该目标末端位置坐标,规划其末端的移动轨迹,并按照该移动轨迹控制其末端从当前位置坐标运行到该目标末端位置坐标,并点触该目标末端位置坐标处的输入设备201。此时,该输入设备201会识别该机械手点触后触发的控制指令,然后安检仪20则会根据该控制指令运行,从而在运行之后该安检仪20的下位机202会得到运行结果数据。其中,该输入设备201可以是按键或触摸屏等。Specifically, as shown in FIGS. 1 and 2, in an application example, the touch tool 101 may be a robot, and the end of the robot may be used to touch the input device 201. When the controller 102 sends a touch command to the touch tool 101, the touch command includes the coordinates of the target end position of the manipulator, and after receiving the touch command, the manipulator determines the target end position according to the current position coordinates of the end and the target end Position coordinates, plan the movement trajectory of its end, and control its end to move from the current position coordinates to the target end position coordinates according to the movement trajectory, and touch the input device 201 at the target end position coordinates. At this time, the input device 201 will recognize the control command triggered after the robot touches, and then the security inspection device 20 will operate according to the control command, so that after the operation, the lower computer 202 of the security inspection device 20 will obtain the operation result data. The input device 201 may be a key or a touch screen.
当该点触工具101是电磁点触头时,如图3所示,该电磁点触头可拆卸的安装在该输入设备201(如触摸屏)的表面。该电磁点触头的头部采用电布包裹,其可以点触触摸屏同时可以防止点坏或划伤屏幕。When the touch tool 101 is an electromagnetic point contact, as shown in FIG. 3, the electromagnetic point contact is detachably mounted on the surface of the input device 201 (such as a touch screen). The head of the electromagnetic point contact is wrapped with electric cloth, which can touch the touch screen and can prevent the point from being damaged or scratching the screen.
具体地,如图3所示,该点触工具101可以包括多个电磁点触头,每个电磁点触头对应设置在触摸屏显示的每个控制图标处,如图3所示设置四个电磁点触头,分别对应男士扫描、女士扫描、结果确认以及校正四个控制图标。当控制器102向对应的电磁点触头输入电流时,该电磁点触头产生磁场,驱动该电磁点触头的头部点触触摸屏对应位置的控制图标,触摸屏识别该点触位置(即该被点触的控制图标的位置)后,即可以向安检仪20输入该控制图标对应的控制指令。Specifically, as shown in FIG. 3, the touch tool 101 may include a plurality of electromagnetic point contacts, each electromagnetic point contact is correspondingly disposed at each control icon displayed on the touch screen, and four electromagnetic points are set as shown in FIG. Touch the head, corresponding to the four control icons for men's scan, women's scan, result confirmation and correction. When the controller 102 inputs current to the corresponding electromagnetic point contact, the electromagnetic point contact generates a magnetic field, drives the head of the electromagnetic point contact to touch the control icon of the corresponding position on the touch screen, and the touch screen recognizes the touch position (i.e. the After the position of the touched control icon), the control instruction corresponding to the control icon can be input to the security inspection instrument 20.
如图1所示,该安检仪20还包括与该触摸屏连接的主机203,其中该主机203可以是个人电脑PC,或者服务器等。当该输入设备201为触摸屏时,该触摸屏可以识别该机械手点触的位置,即该点触工具101的输入位置坐标,然后 会将该识别出的输入位置坐标传输到主机203处进行保存。该主机203还可以识别该输入位置坐标对应的控制指令,并将该控制指令或根据该控制指令解析得到的下位机202的控制命令发送给下位机202,以控制下位机202进行扫描。As shown in FIG. 1, the security instrument 20 further includes a host 203 connected to the touch screen, where the host 203 may be a personal computer PC or a server. When the input device 201 is a touch screen, the touch screen can recognize the position touched by the robot, that is, the input position coordinates of the touch tool 101, and then transmit the recognized input position coordinates to the host 203 for storage. The host 203 can also recognize the control command corresponding to the input position coordinates, and send the control command or the control command of the lower computer 202 parsed according to the control command to the lower computer 202 to control the lower computer 202 to scan.
如图1和图2所示,控制器102连接该主机203,在点触工具101点触该触摸屏后,控制器102可以从主机203处获取该触摸屏识别出的该点触工具101的输入位置坐标。然后,控制器102可以将该输入位置坐标与该点触工具101的点触位置坐标进行比较,以判断该触摸屏是否识别准确。As shown in FIGS. 1 and 2, the controller 102 is connected to the host 203. After the touch tool 101 touches the touch screen, the controller 102 can obtain the input position of the touch tool 101 recognized by the touch screen from the host 203. coordinate. Then, the controller 102 may compare the input position coordinates with the touch position coordinates of the touch tool 101 to determine whether the touch screen is recognized accurately.
例如,当点触工具101是机械手时,该点触工具101的点触位置为机械手的目标末端位置坐标。该控制器102获取该输入位置坐标后,由于该输入位置坐标是触摸屏识别出的位置信息,其通常是触摸屏内的相对位置坐标,此时,控制器102可以根据触摸屏的基准位置,如预先获取的触摸屏中心点的世界坐标系下的坐标,对该输入位置坐标做简单的坐标系转换,将其转换到与目标末端位置坐标相同的参考坐标系下。最后,该控制器102可以将转换后的输入位置坐标与该目标末端位置坐标进行比较,若二者的差距在容许的误差范围内(如二者的距离小于1cm),则二者匹配,触摸屏识别准确,否则判断触摸屏识别不准确。当然,也可以将目标末端位置坐标转换到与输入位置坐标同一坐标系下进行比较,或者将二者都转换到另一相同坐标系下进行比较。For example, when the touch tool 101 is a robot, the touch position of the touch tool 101 is the coordinate of the target end position of the robot. After the controller 102 obtains the input position coordinates, since the input position coordinates are the position information recognized by the touch screen, which is usually the relative position coordinates in the touch screen, at this time, the controller 102 may obtain the reference position of the touch screen, such as obtaining in advance The coordinates of the center point of the touch screen in the world coordinate system, a simple coordinate system conversion of the input position coordinates, and convert it to the same reference coordinate system as the target end position coordinates. Finally, the controller 102 can compare the converted input position coordinates with the target end position coordinates. If the difference between the two is within the allowable error range (such as the distance between the two is less than 1cm), the two match, the touch screen The identification is accurate, otherwise the touch screen identification is judged to be inaccurate. Of course, the coordinates of the target end position can also be converted to the same coordinate system as the input position coordinates for comparison, or both can be converted to another same coordinate system for comparison.
又例如,当点触工具101是电磁点触头时,该控制器102已经预先存储有每个电磁点触头对应的控制图标、控制图标在触摸屏中的位置坐标或者该控制图标对应的控制指令其中至少一个,控制器102控制向对应的电磁点触头输入电流时,即可以获取该电磁点触头的点触位置,从而获取对应的控制图标、控制图标在触摸屏中的位置坐标或者该控制图标对应的控制指令其中至少一个信息,然后同该触摸屏识别出的位置坐标对应的信息进行比较,若二者一致或在容许误差范围内,则表示二者匹配,否则不匹配。For another example, when the touch tool 101 is an electromagnetic point contact, the controller 102 has pre-stored the control icon corresponding to each electromagnetic point contact, the position coordinates of the control icon in the touch screen, or the control instruction corresponding to the control icon At least one of them, when the controller 102 controls the input of current to the corresponding electromagnetic point contact, the touch position of the electromagnetic point contact can be obtained, so as to obtain the corresponding control icon, the position coordinates of the control icon in the touch screen, or the control At least one piece of information in the control instruction corresponding to the icon is then compared with the information corresponding to the position coordinates recognized by the touch screen. If the two are consistent or within the allowable error range, the two match, otherwise they do not match.
当然,在其他实施例中,该控制器102也可以根据多次触摸屏识别结果的比较结果获取该触摸屏正确识别与否的概率,当正确识别的概率高于预设值(如95%)时,则判定该触摸屏识别准确,否则判定该触摸屏识别不准确,需要进行检修或更换。Of course, in other embodiments, the controller 102 may also obtain the probability of whether the touch screen is correctly recognized or not according to the comparison result of multiple touch screen recognition results. When the probability of correct recognition is higher than a preset value (such as 95%), It is determined that the touch screen recognition is accurate, otherwise it is determined that the touch screen recognition is inaccurate, and maintenance or replacement is required.
此外,该安检仪自动测试系统10还可以根据实际需求包括存储器(图未示)、显示器(图未示)、输入输出设备(图未示)等其他装置。In addition, the automatic test system 10 of the security instrument may also include other devices such as a memory (not shown), a display (not shown), an input and output device (not shown), etc. according to actual needs.
本实施例安检仪自动测试系统中,控制器能够向点触工具发送点触指令, 从而控制点触工具根据点触指令,点触安检仪的输入设备,以向安检仪输入控制指令,并在获取安检仪的运行结果数据后,判断运行结果数据是否与点触指令对应的预期运行结果数据一致,若不一致,则控制器判定安检仪运行不正常,否则判定安检仪运行正常,整个过程不需要人为进行点触操作,控制器直接控制点触工具即可自动完成点触及整个安检仪测试过程,节省人力成本,且采用点触工具实际点触,相对于软件模拟点触,准确性更高,更具有参考价值。In the automatic test system of the security instrument of this embodiment, the controller can send the touch instruction to the touch tool, so that the control touch tool can touch the input device of the security instrument according to the touch instruction to input the control instruction to the security instrument, and After obtaining the operating result data of the security inspection instrument, determine whether the operating result data is consistent with the expected operating result data corresponding to the touch command. If they are not consistent, the controller determines that the security inspection instrument is not operating normally, otherwise it is determined that the security inspection instrument is operating normally, and the entire process does not need Man-made touch operation, the controller directly controls the touch tool to automatically complete the touch and the entire security instrument test process, saving labor costs, and the actual touch using the touch tool, compared with the software simulation of touch, the accuracy is higher, It has more reference value.
如图4所示,本申请安检仪自动测试方法第一实施例包括:As shown in FIG. 4, the first embodiment of the automatic test method of the security instrument of the present application includes:
S11:控制器向点触工具发送点触指令。S11: The controller sends a touch command to the touch tool.
S12:点触工具根据该点触指令,点触安检仪的输入设备,以向安检仪输入控制指令。S12: According to the touch instruction, the touch tool touches the input device of the safety inspection instrument to input the control instruction to the safety inspection instrument.
可选地,当点触工具为机械手,点触指令包括该机械手的目标末端位置坐标时,如图5和图6所示,步骤S12包括:Optionally, when the touch tool is a robot, and the touch instruction includes coordinates of the target end position of the robot, as shown in FIGS. 5 and 6, step S12 includes:
S121:机械手根据其当前位置坐标和目标末端位置坐标,规划末端移动轨迹,以从当前位置坐标移动到目标末端位置坐标,并点触输入设备;或者,接收到所述控制器输入的电流信号的所述电磁点触头产生磁场,驱动其头部点触所述输入设备,以向所述安检仪输入控制指令。S121: The manipulator plans the end movement trajectory according to its current position coordinates and target end position coordinates to move from the current position coordinates to the target end position coordinates, and touches the input device; or, receives the current signal input by the controller The electromagnetic point contact generates a magnetic field and drives its head to point touch the input device to input control instructions to the security inspection instrument.
可选地,当输入设备为触摸屏时,如图5和图6所示,步骤S121之后,包括:Optionally, when the input device is a touch screen, as shown in FIGS. 5 and 6, after step S121, it includes:
S161:控制器获取触摸屏识别出的输入位置坐标,并判断输入位置坐标与点触工具点触的位置坐标是否匹配。S161: The controller obtains the input position coordinates recognized by the touch screen, and determines whether the input position coordinates and the position coordinates of the touch of the touch tool match.
其中,该安检仪还可以包括与触摸屏连接的主机,触摸屏会将识别的所述输入位置坐标传输给主机,该控制器可以从主机获取触摸屏识别出的输入位置坐标。Wherein, the security inspection apparatus may further include a host connected to the touch screen, the touch screen transmits the recognized input position coordinates to the host, and the controller may obtain the input position coordinates recognized by the touch screen from the host.
若匹配,则执行如下步骤S162,否则执行步骤S163。If there is a match, the following step S162 is executed, otherwise step S163 is executed.
S162:判定触摸屏识别准确。S162: Determine that the touch screen recognition is accurate.
S163:判定触摸屏识别不准确。S163: Determine that the touch screen recognition is not accurate.
S13:控制器获取安检仪的运行结果数据,判断运行结果数据是否与点触指令对应的预期运行结果数据一致。S13: The controller obtains the operation result data of the security inspection instrument, and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch command.
可选地,当安检仪包括控制安检仪进行扫描的下位机时,如图5和图6所示,步骤S13包括:Optionally, when the security inspection apparatus includes a lower computer that controls the security inspection apparatus to perform scanning, as shown in FIGS. 5 and 6, step S13 includes:
S131:控制器从安检仪的下位机寄存器中获取安检仪的运行结果数据,判 断运行结果数据是否与点触指令对应的预期运行结果数据一致。S131: The controller obtains the operation result data of the security inspection instrument from the lower computer register of the security inspection instrument, and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch command.
若步骤S13的判断结果为否,即不一致时,则执行如下步骤S14,否则执行步骤S15。If the judgment result of step S13 is NO, that is, they are inconsistent, the following step S14 is executed, otherwise step S15 is executed.
S14:控制器判定安检仪运行不正常。S14: The controller determines that the security checker is not operating normally.
S15:控制器判定安检仪运行正常。S15: The controller determines that the security inspection instrument is operating normally.
本实施例的安检仪自动测试方法应用于本申请安检仪自动测试系统,各步骤的具体执行过程可以参考本申请安检仪自动测试系统一实施例中各装置的执行过程描述,此处不再重复。The automatic test method of the security tester of this embodiment is applied to the automatic test system of the security tester of this application. The specific execution process of each step can refer to the description of the execution process of each device in an embodiment of the automatic test system of the security tester of this application, and will not be repeated here. .
本实施例中,控制器能够向点触工具发送点触指令,从而控制点触工具根据点触指令,点触安检仪的输入设备,以向安检仪输入控制指令,并在获取安检仪的运行结果数据后,判断运行结果数据是否与点触指令对应的预期运行结果数据一致,若不一致,则控制器判定安检仪运行不正常,否则判定安检仪运行正常,整个过程不需要人为进行点触操作,控制器直接控制点触工具即可自动完成点触及整个安检仪测试过程,节省人力成本,且采用点触工具实际点触,相对于软件模拟点触,准确性更高,更具有参考价值。In this embodiment, the controller can send the touch instruction to the touch tool, so that the control tool can touch the input device of the security inspection instrument according to the touch instruction to input the control instruction to the security inspection instrument and obtain the operation of the security inspection instrument After the result data, determine whether the operation result data is consistent with the expected operation result data corresponding to the touch command. If they are not consistent, the controller determines that the security inspection instrument is not operating normally, otherwise it is determined that the security inspection instrument is operating normally, and the entire process does not require manual touch operation The controller directly controls the touch tool to automatically complete the touch and the entire security testing process, saving labor costs. The actual touch using the touch tool is more accurate than the software simulation of touch, and has more reference value.
如图7所示,本申请安检仪自动测试方法第二实施例包括:As shown in FIG. 7, the second embodiment of the automatic test method of the security instrument of the present application includes:
S21:控制器向点触工具发送点触指令,以控制点触工具点触安检仪的输入设备,以向安检仪输入控制指令。S21: The controller sends a touch command to the touch tool to control the input device of the security tool by the touch tool to input the control command to the security device.
可选地,当输入设备为触摸屏时,步骤S21之后,包括:Optionally, when the input device is a touch screen, after step S21, it includes:
S25:控制器获取触摸屏识别出的输入位置坐标,并判断输入位置坐标与目标末端位置坐标是否匹配。S25: The controller obtains the input position coordinates recognized by the touch screen, and determines whether the input position coordinates and the target end position coordinates match.
其中,该安检仪还可以包括与触摸屏连接的主机,触摸屏会将识别的所述输入位置坐标传输给主机,该控制器可以从主机获取触摸屏识别出的输入位置坐标。Wherein, the security inspection apparatus may further include a host connected to the touch screen, the touch screen transmits the recognized input position coordinates to the host, and the controller may obtain the input position coordinates recognized by the touch screen from the host.
若匹配,则执行如下步骤S26,否则执行步骤S27。If they match, the following step S26 is executed, otherwise step S27 is executed.
S26:判定触摸屏识别准确。S26: Determine that the touch screen recognition is accurate.
S27:判定触摸屏识别不准确。S27: Determine that the touch screen recognition is not accurate.
S22:控制器获取安检仪的运行结果数据,判断运行结果数据是否与点触指令对应的预期运行结果数据一致。S22: The controller obtains the operation result data of the security inspection instrument, and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch command.
可选地,当安检仪包括控制安检仪进行扫描的下位机时,控制器可以从安检仪的下位机寄存器中获取安检仪的运行结果数据。Optionally, when the security inspection instrument includes a lower computer that controls the security inspection instrument to scan, the controller may obtain the operation result data of the security inspection instrument from the lower computer register of the security inspection instrument.
若步骤S22的判断结果为否,即不一致时,则执行如下步骤S23,否则执行步骤S24。If the judgment result of step S22 is no, that is, they are inconsistent, the following step S23 is executed, otherwise step S24 is executed.
S23:控制器判定安检仪运行不正常。S23: The controller determines that the security checker is not operating normally.
S24:判定安检仪运行正常。S24: It is determined that the security inspection instrument is operating normally.
本实施例的安检仪自动测试方法的执行主体是本申请安检仪自动测试系统中的控制器,各步骤的具体执行过程可以参考本申请安检仪自动测试系统一实施例中控制器的执行过程描述,此处不再重复。The execution subject of the security tester automatic test method of this embodiment is the controller in the security tester automatic test system of the present application. For the specific execution process of each step, please refer to the controller execution process description in an embodiment of the security tester automatic test system of the present application , Not repeated here.
如图8所示,本申请具有存储功能的装置一实施例中,该具有存储功能的装置70中存储有指令701,该指令701被执行时可以实现如本申请安检仪自动测试方法第一或第二实施例所提供的方法。As shown in FIG. 8, in an embodiment of a device with a storage function in the present application, the device 70 with a storage function stores an instruction 701, which can be implemented as the first or The method provided by the second embodiment.
其中,具有存储功能的装置70可以是便携式存储介质如U盘、光盘,也可以是终端、服务器或集成的独立部件,例如处理芯片等。Among them, the device 70 with a storage function may be a portable storage medium such as a U disk, an optical disk, or may be a terminal, a server, or an integrated independent component, such as a processing chip.
本实施例中,该具有存储功能的装置内部存储的指令被执行时,通过向点触工具发送点触指令,从而可以控制点触工具根据点触指令,点触安检仪的输入设备,以向安检仪输入控制指令,并在获取安检仪的运行结果数据后,判断运行结果数据是否与点触指令对应的预期运行结果数据一致,若不一致,则控制器判定安检仪运行不正常,否则判定安检仪运行正常,整个过程不需要人为进行点触操作,控制器直接控制点触工具即可自动完成点触及整个安检仪测试过程,节省人力成本,且采用点触工具实际点触,相对于软件模拟点触,准确性更高,更具有参考价值。In this embodiment, when an instruction stored in the device with a storage function is executed, by sending a touch instruction to the touch tool, the touch tool can be controlled to touch the input device of the security instrument according to the touch instruction to The security instrument enters the control command, and after obtaining the operating result data of the security instrument, it is determined whether the operating result data is consistent with the expected operating result data corresponding to the touch command. If they are not consistent, the controller determines that the security instrument is not operating normally, otherwise the security The instrument runs normally, and the whole process does not need to be touched manually. The controller directly controls the touch tool to automatically complete the touch and the entire test process of the security tester, saving manpower costs, and uses the touch tool to actually touch, relative to the software simulation Touch, the accuracy is higher, and it has more reference value.
以上所述仅为本申请的实施方式,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the embodiments of the present application, and therefore do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by the description and drawings of this application, or directly or indirectly used in other related technologies In the field, the same reason is included in the scope of patent protection of this application.

Claims (12)

  1. 一种安检仪自动测试系统,应用于安检仪,其特征在于,包括:相互连接的点触工具和控制器,所述控制器连接安检仪;An automatic test system for a security inspection instrument is applied to a security inspection instrument, which is characterized by comprising: a touch tool and a controller connected to each other, the controller is connected to the security inspection instrument;
    所述控制器用于控制所述点触工具点触安检仪的输入设备,以向所述安检仪输入控制指令,且获取所述安检仪的运行结果数据,以测试所述安检仪是否运行正常。The controller is used to control the input device of the safety inspection instrument by the touch tool to input control instructions to the safety inspection instrument, and obtain the operation result data of the safety inspection instrument to test whether the safety inspection instrument operates normally.
  2. 根据权利要求1所述的系统,其特征在于,所述安检仪包括用于控制安检仪进行扫描的下位机,所述控制器连接所述下位机,以从所述下位机获取所述安检仪的所述运行结果数据。The system according to claim 1, wherein the security instrument includes a lower computer for controlling the security instrument to scan, and the controller is connected to the lower computer to obtain the security instrument from the lower computer The operation result data.
  3. 根据权利要求1所述的系统,其特征在于,所述点触工具为机械手,所述控制器用于向所述机械手发送目标末端位置坐标,控制所述机械手的末端运行到所述目标末端位置坐标,以点触所述安检仪的所述输入设备;或者,The system according to claim 1, wherein the touch tool is a manipulator, and the controller is used to send target end position coordinates to the manipulator to control the end of the manipulator to run to the target end position coordinates To touch the input device of the security instrument with a tap; or,
    所述点触工具为可拆卸安装于所述输入设备上的电磁点触头,所述控制器能够向所述电磁点触头输入电流,以控制所述电磁点触头点触所述输入设备。The touch tool is an electromagnetic point contact detachably mounted on the input device, and the controller can input current to the electromagnetic point contact to control the electromagnetic point contact to touch the input device .
  4. 根据权利要求3所述的系统,其特征在于,所述输入设备为触摸屏,所述控制器还用于获取所述触摸屏识别出的输入位置坐标,并将该输入位置坐标与所述点触工具点触的位置坐标进行比较,以判断所述触摸屏是否识别准确。The system according to claim 3, wherein the input device is a touch screen, and the controller is further configured to obtain input position coordinates recognized by the touch screen, and compare the input position coordinates with the touch tool The position coordinates of the touch are compared to determine whether the touch screen is recognized accurately.
  5. 根据权利要求4所述的系统,其特征在于,所述安检仪包括与所述触摸屏连接的主机,所述触摸屏将识别的所述输入位置坐标传输给所述主机,所述控制器连接所述主机,以从所述主机获取所述输入位置坐标。The system according to claim 4, wherein the security instrument includes a host connected to the touch screen, the touch screen transmits the recognized input position coordinates to the host, and the controller is connected to the A host computer to obtain the input position coordinates from the host computer.
  6. 一种安检仪自动测试方法,其特征在于,包括:An automatic test method of a security instrument is characterized by comprising:
    控制器向点触工具发送点触指令;The controller sends touch commands to the touch tool;
    所述点触工具根据所述点触指令,点触安检仪的输入设备,以向所述安检仪输入控制指令;According to the touch instruction, the touch tool touches an input device of a security inspection instrument to input a control instruction to the security inspection instrument;
    所述控制器获取所述安检仪的运行结果数据,判断所述运行结果数据是否与所述点触指令对应的预期运行结果数据一致;The controller obtains the operation result data of the security inspection instrument and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch command;
    若不一致,则所述控制器判定所述安检仪运行不正常,否则判定所述安检仪运行正常。If they are not consistent, the controller determines that the security checker is not operating normally, otherwise it determines that the security checker is operating normally.
  7. 根据权利要求6所述的方法,其特征在于,所述控制器获取所述安检仪的运行结果数据包括:The method according to claim 6, wherein the controller acquiring the operation result data of the security inspection instrument comprises:
    所述控制器从所述安检仪的下位机寄存器中获取所述安检仪的运行结果数据。The controller obtains the operation result data of the security inspection instrument from the lower computer register of the security inspection instrument.
  8. 根据权利要求6所述的方法,其特征在于,所述点触工具为机械手,所述点触指令包括所述机械手的目标末端位置坐标;The method according to claim 6, wherein the touch tool is a robot, and the touch command includes coordinates of a target end position of the robot;
    所述点触工具根据所述点触指令,点触安检仪的输入设备,以向所述安检仪输入控制指令包括:According to the touch instruction, the touch tool touches the input device of the security inspection instrument to input the control instruction to the security inspection instrument including:
    所述机械手根据其当前位置坐标和所述目标末端位置坐标,规划末端移动轨迹,以从所述当前位置坐标移动到所述目标末端位置坐标,并点触所述输入设备;或者,The manipulator plans an end movement trajectory according to its current position coordinates and the target end position coordinates to move from the current position coordinates to the target end position coordinates, and taps the input device; or,
    所述点触工具为可拆卸连接于所述输入设备上的电磁点触头,所述点触指令为向所述电磁点触头输入的电流信号;The touch tool is an electromagnetic touch contact detachably connected to the input device, and the touch instruction is a current signal input to the electromagnetic touch contact;
    所述点触工具根据所述点触指令,点触安检仪的输入设备,以向所述安检仪输入控制指令包括:According to the touch instruction, the touch tool touches the input device of the security inspection instrument to input the control instruction to the security inspection instrument including:
    接收到所述控制器输入的电流信号的所述电磁点触头产生磁场,驱动其头部点触所述输入设备,以向所述安检仪输入控制指令。The electromagnetic point contact receiving the current signal input by the controller generates a magnetic field, driving its head to point touch the input device, so as to input control instructions to the security inspection instrument.
  9. 根据权利要求8所述的方法,其特征在于,所述输入设备为触摸屏;所述点触工具根据所述点触指令,点触安检仪的输入设备,以向所述安检仪输入控制指令之后,包括:The method according to claim 8, characterized in that the input device is a touch screen; the touch tool touches the input device of the security instrument according to the touch instruction to input the control instruction to the security instrument ,include:
    所述控制器获取所述触摸屏识别出的输入位置坐标,并判断所述输入位置坐标与所述点触工具点触的位置坐标是否匹配;The controller obtains the input position coordinates recognized by the touch screen, and determines whether the input position coordinates and the position coordinates of the point-to-point tool touch match;
    若匹配,则判定所述触摸屏识别准确。If they match, it is determined that the touch screen recognition is accurate.
  10. 根据权利要求9所述的方法,其特征在于,所述安检仪包括与所述触摸屏连接的主机,所述触摸屏将识别的所述输入位置坐标传输给所述主机;所述控制器获取所述触摸屏识别出的输入位置坐标包括:The method according to claim 9, wherein the security instrument includes a host connected to the touch screen, the touch screen transmits the recognized input position coordinates to the host; the controller acquires the The input position coordinates recognized by the touch screen include:
    所述控制器从所述主机获取所述触摸屏识别出的所述输入位置坐标。The controller obtains the input position coordinates recognized by the touch screen from the host.
  11. 一种安检仪自动测试方法,其特征在于,包括:An automatic test method of a security instrument is characterized by comprising:
    控制器向点触工具发送点触指令,以控制所述点触工具点触安检仪的输入设备,以向所述安检仪输入控制指令;The controller sends a touch command to the touch tool to control the input device of the touch tool to touch the security inspection instrument to input the control command to the security inspection instrument;
    所述控制器获取所述安检仪的运行结果数据,判断所述运行结果数据是否与所述点触指令对应的预期运行结果数据一致;The controller obtains the operation result data of the security inspection instrument and judges whether the operation result data is consistent with the expected operation result data corresponding to the touch command;
    若不一致,则所述控制器判定所述安检仪运行不正常,否则判定所述安检 仪运行正常。If they are not consistent, the controller determines that the security checker is not operating normally, otherwise it determines that the security checker is operating normally.
  12. 一种具有存储功能的装置,存储有指令,其特征在于,所述指令被执行时实现如权利要求6-11任一项所述的安检仪自动测试方法。A device with a storage function that stores instructions, characterized in that, when the instructions are executed, an automatic test method for a security inspection instrument according to any one of claims 6-11 is realized.
PCT/CN2019/121734 2018-11-29 2019-11-28 Automatic test system and method for security check instrument, and device having storage function WO2020108580A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811447725.XA CN109507752B (en) 2018-11-29 2018-11-29 Automatic test system and method for security check instrument and device with storage function
CN201811447725.X 2018-11-29

Publications (1)

Publication Number Publication Date
WO2020108580A1 true WO2020108580A1 (en) 2020-06-04

Family

ID=65751293

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/121734 WO2020108580A1 (en) 2018-11-29 2019-11-28 Automatic test system and method for security check instrument, and device having storage function

Country Status (2)

Country Link
CN (1) CN109507752B (en)
WO (1) WO2020108580A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109507752B (en) * 2018-11-29 2020-12-25 深圳市华讯方舟太赫兹科技有限公司 Automatic test system and method for security check instrument and device with storage function

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130069759A1 (en) * 2011-09-19 2013-03-21 Disney Enterprises, Inc. Airport security screening system and method
CN205608180U (en) * 2016-04-25 2016-09-28 华讯方舟科技有限公司 Three -dimensional holographic imaging's security inspection system
CN206690099U (en) * 2017-03-01 2017-12-01 江苏哈工海渡工业机器人有限公司 Man-machine skill in playing chess game all-in-one
CN108459802A (en) * 2018-02-28 2018-08-28 北京航星机器制造有限公司 A kind of touch control display terminal exchange method and device
CN108536330A (en) * 2018-03-22 2018-09-14 河南科技大学 Device for carrying out automatic clicking operation on touch screen
CN109507752A (en) * 2018-11-29 2019-03-22 深圳市华讯方舟太赫兹科技有限公司 Safety check instrument Auto-Test System, method and the device with store function

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19848793A1 (en) * 1998-10-22 2000-04-27 Ebinger Klaus Ing Fa Control apparatus for testing a detector such as a metal detector used in mine or bomb detection includes inductance, a switch mechanism and a spacer
JP5044011B2 (en) * 2008-03-06 2012-10-10 パナソニック株式会社 Manipulator and control method thereof
CN108089754A (en) * 2017-12-29 2018-05-29 百度在线网络技术(北京)有限公司 A kind of touch-control simulator

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130069759A1 (en) * 2011-09-19 2013-03-21 Disney Enterprises, Inc. Airport security screening system and method
CN205608180U (en) * 2016-04-25 2016-09-28 华讯方舟科技有限公司 Three -dimensional holographic imaging's security inspection system
CN206690099U (en) * 2017-03-01 2017-12-01 江苏哈工海渡工业机器人有限公司 Man-machine skill in playing chess game all-in-one
CN108459802A (en) * 2018-02-28 2018-08-28 北京航星机器制造有限公司 A kind of touch control display terminal exchange method and device
CN108536330A (en) * 2018-03-22 2018-09-14 河南科技大学 Device for carrying out automatic clicking operation on touch screen
CN109507752A (en) * 2018-11-29 2019-03-22 深圳市华讯方舟太赫兹科技有限公司 Safety check instrument Auto-Test System, method and the device with store function

Also Published As

Publication number Publication date
CN109507752A (en) 2019-03-22
CN109507752B (en) 2020-12-25

Similar Documents

Publication Publication Date Title
US11348475B2 (en) System and method for interactive cognitive task assistance
US10740122B2 (en) System module of simulating machine operation screen based on non-invasive data-extraction system
WO2020124818A1 (en) Method and apparatus for remotely repairing failure of express parcel cabinet, express parcel cabinet, and storage medium
US20170091999A1 (en) Method and system for determining a configuration of a virtual robot in a virtual environment
US20190163618A1 (en) Robotic regression testing for smart devices
CN105100796A (en) Television test method, device and system
WO2020108580A1 (en) Automatic test system and method for security check instrument, and device having storage function
CN104780407A (en) Automatic testing method and automatic testing system for set top box
CN112988484A (en) Memory device testing method and device, readable storage medium and electronic equipment
US11754989B2 (en) Semiconductor equipment management method, electronic device, and non-transitory computer readable storage medium
CN115824033A (en) Method, equipment and system for testing surface flatness of integrated circuit
TWI711936B (en) Equipment checking device and equipment checking system
CN114061646A (en) Automatic verification equipment for universal instrument and meter
CN112540890B (en) Application layer verification method and device of avionic bus test equipment
JP2009535741A (en) Automated programming system using non-text user interface
JP2004021583A (en) Maintenance method of plant instrumentation system
KR101436513B1 (en) Panel inspecting apparatus and inspecting method
CN104424069A (en) Tablet personal computer testing system
Sivan et al. Cobots for FinTech
WO2023079615A1 (en) Testing device and testing method
US20210390304A1 (en) Information processing device and non-transitory computer readable medium
CN115878461A (en) Operation log test method, device, equipment and storage medium
CN102622293A (en) Measuring program optimization system and measuring program optimization method
CN208207794U (en) Computer self-test test equipment and system
US11424955B2 (en) System and method for qualitative analysis of baseband building automation networks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19890515

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19890515

Country of ref document: EP

Kind code of ref document: A1