fdbus文档:
Introduction — FDbus 1.0 documentation
fbus地址:
fdbus: Fast Distributed Bus (FDBus)
介绍:
FDbus是一个易于使用,轻量型的IPC工具,跟DBus和Someip有点儿像,someip是汽车领域里比较Ap AutoSar的传输载体
有如下特点:
- 高性能:节点之间可以直接通信
- 通过名字通信:定位/获取服务可以通过名称
- Address allocation(位置分配?暂时还不太清楚):
- 网络通信:在单个主机和网络主机间都可以通信
- IDL和代码生成:应该是使用google的protobuffer自动生成一些代码
- 语言:C++ C Java 和 Python都可以使用
- 总体来说:这不仅是一个IPC工具,更像一个中间件开发套件
- 通知中心:除了分布式的service外,还支持MQTT这些通知中心
- 日志和调试:FDbus的所有信息都可以过滤和打印,服务可以被监听?还可以列出连接的客户端
也可以通过fdbus做出类似Harmoney Os的分布式软总线
参考:从IPC到分布式软总线的随笔-harmonyos分布式软总线
具体请看下面的英文
FDBus
is an easy-to-use, light weight and high performance IPC framework. It is something likeDBus
orSOME/IP
, but with its own characteristics:
- Distributed : unlike
DBus
, it has no central hub; client and serives are connected directly- High performance : endpoints talk to each other directly
- Addressing by name : service is addressable through logic name
- Address allocation : service address is allocated dynamically
- Networking : communication inside host and across network
- IDL and code generation : google protocol buffer is recommended
- Language binding : C++ C Java Python
- Total slution : it is more than an
IPC
machanism. it is more like a middleware development framework- Notification Center : In addition to distributed service, it also support centralized notification center like MQTT
- Logging and Debugging : All FDBus messages can be filtered and logged; services can be monitored; connected clients can be listed...
Its usage can be found in the following fields:
- Infotainment; instrument cluster, TBox and other ECU with posix-compatible OS running
- Inter VM communication between guest OSes in hypervisor
- SOHO Gateway
- Instrument for distributed industry control
- Backbone to support SOA (Service-Oriented Architecture)
下面后续进行安装测试: