Proxy mode: One class represents the function of another class and provides a proxy for other objects to control access to this object.
Now 直接访问对象时带来的问题, for example: the object to be accessed is on a remote machine. In an object-oriented system, for certain reasons (for example, object creation is expensive, or certain operations require security control, or need out-of-process access), direct access will bring a lot of trouble to the user or the system structure. We can add an access layer to this object when we access this object.