摘要: 远程过程调用(RPC)是分布式系统中常见的进程间通信手段,与显式的消息传递方法相比,RPC能为多节点进程间通信提供更好的透明性。该文在分析了RPC系统结构的基础上,结合嵌入式环境设计了一个通用的RPC系统,并在ARM7、μC/OS-II、以太网和TCP/IP的基础上实现了该RPC设计。通过测试,比较了RPC方式与显式消息传递的时间损耗。
关键词:
远程过程调用,
嵌入式,
透明性,
μC/OS-II
Abstract: RPC is a common method used to inter-process communication of distributed system. RPC can provide more transparence than traditional explicit message passing. This article designs a general RPC system for embedded environment based on analysis of the RPC system architecture. This RPC system is implemented upon ARM7, μC/OS-II, Ethernet, TCP/IP. The tests of RPC and explicit message passing are performed.
Key words:
Remote procedure call(RPC),
Embedded,
Transparence,
μC/OS-II
中图分类号:
袁 菲;陆 阳;海 深. 嵌入式环境下RPC的设计与实现[J]. 计算机工程, 2007, 33(09): 266-268.
YUAN Fei; LU Yang; HAI Shen. Design and Implementation of RPC for Embedded Environment[J]. Computer Engineering, 2007, 33(09): 266-268.