摘要
随着车联网时代的到来,车内设备间通信成为实现V2X的必备技术。设备间通信的实现需要依赖芯片开发、信号处理技术、通信协议构建及实现、管理服务搭建等多种技术,其中管理服务作为软件层面的主要部分,需要在协调好设备彼此状态的同时兼顾本地事件。由于通信多数时候是异步通信,且车机系统本身比较复杂,这就需要设计出针对性强的状态管理器来高效管理。为此,本文提出了一种精简低耦合的状态管理器设计模式,并针对Apple CarPlay的协议规范做实例设计分析。
With the arrival of vehicle networking era,the communication between devices in vehicle becomes the necessary technique for the implementation of V2X.The implementation of devices communication is based on chip development,signal processing,communication protocol design,management services building and other techniques.Among them,management services,as a main part of software layer,needs to coordinate the state between devices while giving consideration for its native events.Considering the asynchronous communication between devices and the complexity of vehicle device system,it is necessary to giving out a targeted state machine to make the management efficiently.Therefore,this paper presents a simplified low coupling state machine design pattern,and making instance analyzing based on Apple CarPlay protocol.
作者
张艺杰
郑敏
程斌
刘全
Zhang Yijie;Zheng Min;Cheng Bin;Liu Quan(Shanghai University,Shanghai,200444;Binzhou land and space restoration Center,Binzhou Shandong,256600)
出处
《电子测试》
2022年第12期72-74,共3页
Electronic Test
基金
国家自然科学基金“自适应事件触发的网络化无人水面舰艇动力定位与故障检测(61873335,2018.12-2022.12)”。