General statement:
Binder is an IPC mechanism provided by Android system, the Android system can basically be regarded as binder-based C/s architecture, Binder is also a C/s form, it belongs to drive but drive a piece of memory rather than equipment, framework such as :
1. Service-side interface
A biinder server is actually a binder class object that, once created, initiates a hidden thread that accepts a message sent by the binder driver and executes the Ontransact () method of the Binder object after receiving the message, as
2. Binder Driver
Mainly involved in the Mremote object.
3. Client interface
To access a remote service, you must obtain a mremote reference to the remote service in the Binder object, and then you can call its Transact () method (the method is overloaded)
Finally, a picture is used to summarize the binder process:
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
The mechanism of binder in graphic analysis