一种模拟红外遥控器的自动化测试系统和方法技术方案

技术编号:2977852 阅读:178 留言:0更新日期:2012-04-11 18:40
本发明专利技术公开了一种模拟红外遥控器的自动化测试系统和方法,自动化测试系统包括红外遥控软件子系统和红外遥控硬件子系统,红外遥控软件子系统,包括脚本录制模块、串口配置模块和脚本执行模块,红外遥控硬件子系统,包括串口命令接收单元和红外命令发送单元,串口命令接收单元包括一个可接收串口控制命令的芯片,红外命令发送单元包括一个信号放大器和一个可调制发射红外信号的红外发射器;自动化测试方法包括以下步骤:A.录制脚本文件;B.配置串口;C.执行脚本文件;D.数字信号模拟化为红外信号;E.输出指令波形;F.发射红外信号。本发明专利技术的技术方案,提高了在人工操作按键过程中的工作效率,节约了时间,提高了检测效率。

Automatic test system and method for simulating infrared remote controller

The invention discloses a test automation system and a simulation method of infrared remote control, automatic test system includes infrared remote control software system and hardware system of infrared remote control, infrared remote control software system, including the script recording module, serial configuration module and script execution module, infrared remote control hardware system, including the serial command receiving unit and the IR command sending unit serial command receiving unit comprises a receiving serial control command chip, infrared command transmission unit comprises a signal amplifier and a signal modulation infrared emission infrared transmitter; automatic testing method comprises the following steps: recording A. script file; B. serial configuration; C. script file; simulation of D. digital signal into the infrared signal; E. output waveform; F. infrared emission Signal. The technical proposal of the invention improves the working efficiency in the process of manually operating the key press, saves time and improves the detection efficiency.

【技术实现步骤摘要】

【技术保护点】
一种模拟红外遥控器的自动化测试系统,其特征在于,包括红外遥控软件子系统和红外遥控硬件子系统,其中,所述红外遥控软件子系统,运行在PC机上,包括:脚本录制模块,脚本录制模块用于模拟遥控器界面,通过在所述界面上执行需要测试的操作过程,记 录下每次按键的键值以及相邻两次按键的时间间隔,生成脚本文件;串口配置模块,用于设置需要执行的脚本文件与串口的对应关系;脚本执行模块,用于读取脚本文件的数据,并向所述对应的串口发送;所述红外遥控硬件子系统,包括:   串口命令接收单元,通过串口连接线与所述PC机串口相连,用于根据从串口发送的控制命令输出指令波形;红外命令发送单元,用于将所述指令波形转化为相应的红外信号发射出去。

【技术特征摘要】

【专利技术属性】
技术研发人员:刘艳辉
申请(专利权)人:中兴通讯股份有限公司
类型:发明
国别省市:94[中国|深圳]

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1