You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
874 B
Markdown

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# RPC
## 概念
**RPC**: RPC是远程过程调用Remote Procedure Call的缩写形式。SAP系统RPC调用的原理其实很简单有一些类似于三层构架的C/S系统第三方的客户程序通过接口调用SAP内部的标准或自定义函数获得函数返回的数据进行处理后显示或打印。
**跨进程交互形式**: Restful、WebService、http、基于DB做的数据交换、基于MQ做数据交换、RPC
## 图解交互形式
![image-20201016134721396](aisset\image-20201016134721396.png)
![image-20201016134924225](aisset\image-20201016134924225.png)
在RPC中
Server: Provider、服务提供者
Client: Consumer、服务消费者
Stub: 存根、服务描述
## 整体架构
![image-20201016140023483](aisset\image-20201016140023483.png)
![image-20201016140246492](aisset\image-20201016140246492.png)