作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (1): 265-266,. doi: 10.3969/j.issn.1000-3428.2010.01.092

• 开发研究与设计技术 • 上一篇    下一篇

Lua在TD-SCDMA网络测试仪中的应用

代 贝,雒江涛   

  1. (重庆邮电大学通信网与测试技术重点试验室,重庆 400065)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-01-05 发布日期:2010-01-05

Application of Lua in TD-SCDMA Network Test Instrument

DAI Bei, LUO Jiang-tao   

  1. (Key Lab on Communication Networks and Testing Technology, Chongqing University of Posts & Telecommunications, Chongqing 400065)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-01-05 Published:2010-01-05

摘要: 传统网络测试仪采用xml或ini配置文件实现消息过滤功能,针对时分同步码分多址接入(TD-SCDMA)网络测试仪需要支持复杂组合逻辑条件的消息过滤功能,采用Lua脚本语言,通过在宿主程序中调用Lua函数和向Lua脚本注册C函数来实现该功能。测试结果表明,方案较好地满足了仪表的功能需求,达到了预期目标。

关键词: Lua脚本语言, 时分同步码分多址接入, 过滤

Abstract: The function of message filter of traditional network test instrument is achieved by xml or ini configuration file, since condition of complex combinational logical is required for filtering by Time Division-Synchronous Code Division Multiple Access(TD-SCDMA) network test instrument. The Lua scripting language is adopted and the function of supporting the condition of complex combinational logical is completed by calling the Lua functions and registering C functions to the Lua scripts. Test results show that the scheme meets functional requirements of instrument well, and achieves the desired goal.

Key words: Lua script language, Time Division-Synchronous Code Division Multiple Access(TD-SCDMA), filtering

中图分类号: