当前位置:网站首页>CommonAPI与AUTOSAR AP通讯管理的异同
CommonAPI与AUTOSAR AP通讯管理的异同
2022-06-13 10:56:00 【AutoSAR技术支持与培训】
传送门 ==>> AutoSAR实战系列300讲「糖果Autosar」总目录
1 CommonAPI的介绍
CommonAPI 是由 GENIVI 开发的 C++ 框架,用于遵循 SOA 的进程间和网络通信。其目标是为不同的通信框架或协议提供统一的应用程序接口 (API)。使用 CommonAPI 的项目的基础是存在由开发人员共享的服务定义。为此,CommonAPI 使用了 Franca 接口定义语言 (Franca IDL)。这种语言允许使用方法、事件和字段定义服务,以及项目特定数据类型的规范,例如结构或枚举,然后将具有特定的在线表示。这类似于 SOA 中存在的消息格式规范,因为它包含服务或客户端对消息进行编码和解密所需的所有信息。从这个 Franca 文件中,core-tools ,为服务提供者(称为Skeletons )和消费者(称为Proxies )生成代码。前者包含指定方法的默认实现,而后者具有在内部处理对服务提供者的调用和整个网络过程的方法。然后,开发人员将通过 C++ 继承扩展生成的代码,而无需实际修改生成的代码文件。这个生成的代码使用来自 CommonAPI Runtime 的方法,这是来自底层
边栏推荐
- Questions and answers of the labor worker general basic (labor worker) work license in 2022
- 什么是400G以太网?
- Matplotlib 学习笔记
- Idea remote debugging jar submitted by spark submit
- winform 解决黑屏 频繁刷新
- To vent their dissatisfaction with their superiors, Baidu post-95 programmers were sentenced to 9 months for deleting the database
- go-zero微服务实战系列(三、API定义和表结构设计)
- 一文读懂简单查询代价估算【这次高斯不是数学家】
- 阿里一季度员工减少4000人;程序员写脚本抢挂疫苗号,牟利40万被刑拘;搜狐遭遇史诗级邮件诈骗,张朝阳回应 | Q资讯
- Flutter simple and excellent open source dialog uses free_ dialog
猜你喜欢
随机推荐
恶意代码实战分析Lab05-01
Test cases that testers must master
一文读懂简单查询代价估算【这次高斯不是数学家】
China SaaS industry panorama
Some experience in database table structure design
Read pgstat [this time Gauss is not a mathematician]
了解RPC和REST
2022煤矿探放水特种作业证考试题库模拟考试平台操作
Install Kubernetes 1.24
Full stack development practice | integrated development of SSM framework
Multithreading starts from the lockless queue of UE4 (thread safe)
Deploy vscode on kubernetes cluster
[cloud enjoying freshness] community weekly · vol.66- Huawei partners and Developers Conference 2022 wonderful agenda announcement
Necessary for Architects: system capacity status checklist
vivo大规模 Kubernetes 集群自动化运维实践
2022 coal mine water exploration and drainage special operation certificate examination question bank simulated examination platform operation
deepin系统中Qt5.12无法输入中文(无法切换中文输入法)解决办法
【云享新鲜】社区周刊·Vol.66-华为伙伴暨开发者大会2022精彩议程公布
[elm classification] data classification based on particle swarm optimization convolution neural network CNN combined with limit learning machine elm with matlab code
Experience of electric competition - program-controlled wind pendulum