摘要
VoiceXML技术能有效结合通信网和Internet,为电话用户提供丰富的语音应用。本文提出一种基于OSA/ParlayAPI(开放式应用编程接口)的VoiceXML解释器的设计与实现方案,能有效屏蔽不同制式电信网络的异构性,具有很好的跨平台通用性。针对解释器中业务状态变化多和网络功能扩展的需要,以state模式优化设计,从而保持整体系统的稳定性和可扩充性。最后说明了实现情况,并以一个具体业务运行时的消息处理流程为例对解释器的具体工作机制进行了进一步说明。
The VoiceXML technology can effectively combine telephones and the Internet,and provide rich voice services for users.A design scheme and implementation framework for the VoiceXML interpreter is proposed.Shielding the heterogeneity of networks with OSA/Parlay API,the design scheme can be used in all kinds of communication networks.In view of the stability and scalability for the interpreter,the state pattern is used to optimize the design scheme.Moreover,the implementation of a prototype is introduced.Finally,an example which includes the VoiceXML documents and the Message sequence chart between components,is given to illustrate the working mechanism of the interpreter.
出处
《计算机工程与科学》
CSCD
北大核心
2012年第2期186-191,共6页
Computer Engineering & Science
基金
国家自然科学基金资助项目(60703094)
广州科技支撑计划资助项目(2009Z2-D261)