摘要
提出了一种基于Intranet的无线电报务训练平台的设计模型和实现方式。该系统在Visual C++环境中开发,采用流式套接字实现了网络通信功能;使用DirectSound实现了音频模拟以及混音,并采用计时器控制声音的方法实现了声音的串行化;采用多线程技术和设计模式对系统进行了优化,并设计算法解决了发报中"生产者与消费者"的问题。
A designing model and implementing method of an Intranet - based platform for telegraph training is proposed,which uses Visual C+ + development environment,the network communications functions is implemented by using streaming socket. The use of DirectSound achieves simulation of the audio mixing,and method of using a timer control voice achieve serialization of the voice. The system is optimized by using of multi- threading technology and design model, and designed algorithm to solve the problem of"producers and consumers."
出处
《计算机技术与发展》
2008年第6期185-187,191,共4页
Computer Technology and Development
关键词
网络通信
音频模拟
多线程技术
设计模式
生产者与消费者
network communications
audio simulation
multi- threading technology
producers and consumers