计算机工程
計算機工程
계산궤공정
COMPUTER ENGINEERING
2010年
1期
265-266,270
,共3页
Lua脚本语言%时分同步码分多址接入%过滤
Lua腳本語言%時分同步碼分多阯接入%過濾
Lua각본어언%시분동보마분다지접입%과려
Lua script language%Time Division-Synchronous Code Division Multiple Access(TD-SCDMA)%filtering
传统网络测试仪采用xml或ini配置文件实现消息过滤功能,针对时分同步码分多址接入(TD-SCDMA)网络测试仪需要支持复杂组合逻辑条件的消息过滤功能,采用Lua脚本语言,通过在宿主程序中调用Lua函数和向Lua脚本注册C函数来实现该功能.测试结果表明,方案较好地满足了仪表的功能需求,达到了预期目标.
傳統網絡測試儀採用xml或ini配置文件實現消息過濾功能,針對時分同步碼分多阯接入(TD-SCDMA)網絡測試儀需要支持複雜組閤邏輯條件的消息過濾功能,採用Lua腳本語言,通過在宿主程序中調用Lua函數和嚮Lua腳本註冊C函數來實現該功能.測試結果錶明,方案較好地滿足瞭儀錶的功能需求,達到瞭預期目標.
전통망락측시의채용xml혹ini배치문건실현소식과려공능,침대시분동보마분다지접입(TD-SCDMA)망락측시의수요지지복잡조합라집조건적소식과려공능,채용Lua각본어언,통과재숙주정서중조용Lua함수화향Lua각본주책C함수래실현해공능.측시결과표명,방안교호지만족료의표적공능수구,체도료예기목표.
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.