Binder IPC(Inter—Process Communication,进程间通信)机制是Android操作系统中重要的IPC机制。研究Binder IPC机制对于完成Android中进程间通信的程序开发有着重要的意义。文中系统地分析了Android操作系统下Binder的构架模型、Binder驱动的工作原理、Binder接口及运行机制,最后使用AIDL(Android Interface Definition Language)给出了运行BinderIPC机制的实例。实例结果表明Binder机制可以有效地完成Android系统中的进程间通信。
The Binder IPC I Inter-Process Communication) mechanism plays an important part in the IPC mechanism of the Android operating system. Researching the Binder IPC mechanism has extremely important function to develop the inter process communication which belonged to the Android. It analyzes the structure model of the Binder,the Binder driver principle of work,the Binder interface and operation mechanism under the Android operating system. Finally, give the example of the Binder IPC operation mechanism by using AIDL I Android Interface Definition Language). The result shows that the Binder mechanism can achieve the IPC of the Android system effectively.