论文部分内容阅读
随着CAN总线技术在汽车电子领域得到越来越广泛的应用,协议的一致规范表述变得日益重要。通过建立对于CAN应用层协议的描述模型,能够方便地建立起协议的通用构架,为协议的发布、实现和测试提供了统一的原始协议数据描述,为CAE提供了可能。文中采用面向对象的方法,基于跨平台的技术手段,采用UML作为建模语言,并选用XML作为UML模型的实现,在对CAN总线应用层协议进行抽象建模的基础上,给出了具有可机读和方便互换的XML实现,对于CAN总线应用层协议制定和发布以及基于CAN总线的测试系统的开发均有较好的支撑作用,对建立统一的行业语义标准进行了有益的探索工作。
As CAN bus technology is more and more widely used in the field of automotive electronics, the consistent specification of the protocol becomes increasingly important. By establishing a description model for CAN application layer protocols, a common framework of protocols can be conveniently established, a uniform description of the original protocol data is provided for the release, implementation and testing of the protocol, which provides the possibility for CAE. This paper adopts object-oriented method, cross-platform technology, UML as modeling language and XML as UML model. Based on abstract modeling of CAN bus application layer protocol, The implementation of XML for machine reading and convenient interchange has a good supporting role for the development and release of CAN bus application layer protocol and the development of test system based on CAN bus, and has made useful explorations on the establishment of a unified industry semantic standard.