在现在的手机终端中,由于视频、音频的编解码需要占用大量的CPU时间,因此在3G终端中再增加一个CPU来进行多媒体信息的处理成为必然。通过主CPU上运行多媒体的编解码程序,而从CPU上运行视频采集程序,那么双CPU间的数据的发送和接收则是通信模块所要解决的核心问题。通过主从CPU之间约定特定的消息来实现主CPU对从CPU的控制,而从CPU对主CPU的定时和携带数据满足固定大小这两种反馈机制有效解决了双CPU间的通信问题。
In modern mobile phone terminals, huge CPU times are occupied by the encoding and decoding of video and audio, so it is necessary to add another CPU to process the multimedia information in 3G terminals. When the host CPU processes the encoding and decoding of multimedia, and the slave CPU processes video and audio collection programs, then sending out and receipt of data between dual CPU is the core issue to be solved for the communication module. In this paper, promissory message between the host CPU and the slave CPU is adopted to realize the control of the host CPU on the slave CPU, and two feedback mechanisms, the timing of the slave CPU on the host one and the data carrying by the slave CPU to fit the fixed size, effectively figured out the communication issue of dual CPU.