RPCRemote Procedure Call IPID RPC RPC Client application
- Slides: 50
RPC(Remote Procedure Call) ① 客户端调用客户端存根,存根把相关参数组装成一个或一 组消息包,加入服务器端IP地址和执行此过程的进程ID号, 形成一条消息; ② 客户端存根将消息发送至RPC运行时库; ③ 客户端RPC运行时库将消息发送至传输层; Client application Call procedure Execute procedure Server application 7 Server stub 1 Client stub 2 6 RPC library 3 Network protocol RPC library 5 4 Network protocol
RPC ④ 消息由传输层传送至服务器端; ⑤ 服务器端传输层将消息发送给服务器端RPC运行时库; ⑥ 服务器端RPC运行时库将消息发送到Server stub上的一 个子程序,由它处理消息; ⑦ Server stub的子程序拆解消息,解析出参数,并用本地调 用方式执行过程。 Call procedure Execute procedure Server application Client application 响应过程同理。 1 7 Server stub Client stub 2 6 RPC library 3 Network protocol RPC library 5 4 Network protocol
分布式对象 Client application Call method Execute method Server application Server skeletons Client proxies ORB Network protocol Create, locate, delete, invoke
CORBA发展史 l Common Object Request Broker Architecture l OMG开发的标准, “to allow applications to communicate with one another no matter where they are located or who has designed them” ¡ 1991, CORBA 1. 1, IDL & API within an ORB ¡ 1994, CORBA interoperability & IIOP (Internet Inter-ORB Protocol) ¡ 1997, CORBA 2. 1, Interoperability with COM ¡ 1998, CORBA 2. 2, Interoperability with Java ¡ 2002, CORBA Component Model
CORBA应用程序结构 l Object Request Broker: enables objects to transparently make and receive requests and responses in a distributed environment. ¡ The core of the reference model, “telephone exchange” l Object Services: a collection of services (interfaces and objects) that support basic functions for using and implementing objects. ¡ e. g. Naming, Life Cycle Service l Common Facilities: a collection of services that many applications may share, but which are not as fundamental as the Object Services ¡ e. g. e-mail facility l Application Objects: products of a single vendor on inhouse development group that controls their interfaces.
CORBA应用程序结构 Application Objects Domain Facilities Object Request Broker Domain Facilities Horizontal CORBA Facilities
CORBA中间件体系架构 Interface Repository IDL Compiler Implementation Repository Client Dynamic Invocation ORB Core Object IDL Stub ORB Interface IDL Skeleton Dynamic Skeleton GIOP/IIOP Object Adapter
CORBA请求响应过程 Implementation Repository Activate server 1 S In args Client Obj. ref. Operation () Out args + return value Object 3 S Process Request 1 C Return Control to Client Wait for request to complete 4 C IDL Stub 3 C 2 C Locate target object Return Request Send request to server ORB CORE IDL Skeleton 4 S 2 S Activate Object’s Servant
CORBA 互操作 Client Object Client IDL Stub IDL Skeleton IDL Stub ORB 1 IIOP Object IDL Skeleton ORB 2 Interoperability uses Internet Inter-ORB Protocol
DCOM
DCOM l 实现Microsoft平台上对象间跨进程通信, 用网络协议来代替本地进程之间的通信 Client Object Proxy Security provider COM Run-time DCE RPC Security provider Protocol Stack Stub DCE RPC Protocol Stack DCOM network protocol Component
- Conventional procedure call
- Zero client vs thin client
- Linux leger
- Thin client vs thick client
- Recruiter call script
- System call pada client saat menggunakan socket adalah
- Lightweight remote procedure call
- Mostarda definition
- Remote procedure call c++
- Design issues of remote procedure call
- Remote procedure call architecture
- Java remote method protocol
- Box spread
- Stock options terminology
- Gartner magic quadrant call recording
- E commerce architecture pdf
- Application virtualization client management console
- Client server basics
- Client code application
- Email asking about admission procedure
- Milady chapter 27 review questions
- Embedded rpc
- Rpc e rmi
- Rpc message format
- Rpc diagram
- Rpc semantics in the presence of failures
- Communication protocols for rpc
- Rpc woerden
- Rpc and rmi in distributed system
- Statutory rape rpc
- Beton ductal
- Vermeer rpc packet
- A deployment descriptor describes *
- Avalanche rpc
- What is the primary motivation for development of rpc?
- Openchain rpc
- Rpc implementation in distributed system
- The rpc server is unavailable - error code:6ba
- Rpc construction
- Rpc vs ipc
- Clnt_create: rpc: unable to receive
- Rpc
- Ulookup
- Polygonscan rpc
- Rpc
- Rpc
- Rpc roughness
- Rpc 2 u
- Rpc status: -532462766 -532462766
- Lightweight rpc
- Rmi rpc