针对嵌入式系统特点,构建了一种基于嵌入式RTOS的图形显示系统(ERGS)架构,设计了一种基于服务器/客户端的异步回调模型和请求/应答处理机制,结合ERGS特点提出了一种改进的基于消息的发布/订阅模型和相应的路由规则。并在实时操作系统Vx Works实现了ERGS。实验结果表明,在相同的嵌入式平台上,ERGS相对于传统图形显示系统性能有较大提升,特别是启用GPU硬件加速时,ERGS图形系统性能大幅度提升。
Aiming at the embedded system characteristic, ERGS(Embedded RTOS Graphic System)framework is built based on embedded Real-Time Operating System(RTOS). An asynchronous callback model and the request/reply handling mechanism are designed based on client/server. An improved Publisher/Subscriber model based on message is proposed, and corresponding routing algorithm is designed. Moreover, ERGS has been implemented on Vx Works and PowerPC platform. Experimental results show that ERGS takes on well performance compared to other graphic system on same test platform, especially in the cases of starting GPU hardware acceleration.