主办:陕西省汽车工程学会
ISSN 1671-7988  CN 61-1394/TH
创刊:1976年

汽车实用技术 ›› 2023, Vol. 48 ›› Issue (17): 42-48.DOI: 10.16638/j.cnki.1671-7988.2023.017.008

• 智能网联汽车 • 上一篇    

基于 Python 的 CAN 网络数据库管理分析

蓝启亮,吴光耀,王 帅,陈 聪   

  1. 比亚迪汽车工业有限公司 产品规划及汽车新技术研究院
  • 出版日期:2023-09-15 发布日期:2023-09-15
  • 通讯作者: 蓝启亮
  • 作者简介:蓝启亮(1993-),男,硕士,研究方向为嵌入式软件开发与测试,E-mail:lamnas@126.com。

Analysis of CAN Network Database Management Based on Python

LAN Qiliang, WU Guangyao, WANG Shuai, CHEN Cong   

  1. Product Planning and Automotive New Technology Research Institute, BYD Automobile Industry Company Limited
  • Online:2023-09-15 Published:2023-09-15
  • Contact: LAN Qiliang

摘要: 为高效管理车辆系统控制器局域网(CAN)网络数据,基于对 CAN 网络数据结构的研 究及车载嵌入式软件开发测试经验的积累,提出一种基于 Python 的 CAN 网络数据库管理平 台的方法,实现多种格式 CAN 网络数据库文件的导入、数据编辑、数据自动校验、数据自动 对比和 CAN 网络数据库文件输出,解决了当前主流 CAN 网络数据库管理工具编辑效率低、 人工校验和比对数据易出错的缺陷,有效提高 CAN 网络开发及 CAN 网络各个节点控制器软 件开发的效率。

关键词: CAN 网络数据库;数据抓取;Python

Abstract: In order to efficiently manage the controller area network (CAN) data of vehicle system, based on the research of CAN network data structure and the accumulation of experience in the development and testing of on-board embedded software, a method of CAN network database management platform based on Python is proposed to realize the import, data editing, data automatic verification, data automatic comparison and CAN network database file output of various formats. It solves the defects of low editing efficiency of the current mainstream CAN network database management tools and the error prone to manual verification and comparison of data, and effectively improves the efficiency of CAN network development and CAN network node controller software development.

Key words: CAN network database; Data capture; Python