New energy automobile data acquisition extension protocol system based on national standard

文档序号:1478675 发布日期:2020-02-25 浏览:4次 中文

阅读说明:本技术 一种基于国标的新能源汽车数据采集扩展协议的系统 (New energy automobile data acquisition extension protocol system based on national standard ) 是由 范国庆 刘茂勇 张祺 于 2019-09-29 设计创作,主要内容包括:本发明公开了一种基于国标的新能源汽车数据采集扩展协议的系统,包括:起始符模块、命令单元模块、车辆识别码模块、数据单元加密模块、数据单元长度模块、数据单元模块、协议版本模块、校验码模块;所述起始符模块,用于确定采集到的数据的字符;所述命令单元模块,用于传递所述确定的采集到的数据的字符;所述车辆识别码模块,用于设置汽车的唯一标识;所述数据单元加密模块,用于对采集到的数据进行加密;所述数据单元长度模块,用于确定数据单元的总字节的有效范围;所述数据单元模块,用于对采集到的数据进行校验;所述协议版本模块,用于对采集到的数据进行扩展;所述校验码模块,用于对采集到的数据进行校验。(The invention discloses a new energy automobile data acquisition extension protocol system based on national standard, which comprises: the system comprises an initiator module, a command unit module, a vehicle identification code module, a data unit encryption module, a data unit length module, a data unit module, a protocol version module and a check code module; the initiator module is used for determining characters of the acquired data; the command unit module is used for transmitting the determined characters of the acquired data; the vehicle identification code module is used for setting a unique identifier of the automobile; the data unit encryption module is used for encrypting the acquired data; the data unit length module is used for determining the effective range of the total bytes of the data unit; the data unit module is used for verifying the acquired data; the protocol version module is used for expanding the acquired data; and the check code module is used for checking the acquired data.)

1. A system for a new energy automobile data acquisition extension protocol based on national standard is characterized by comprising: the system comprises an initiator module, a command unit module, a vehicle identification code module, a data unit encryption module, a data unit length module, a data unit module, a protocol version module and a check code module; the initiator module is used for determining characters of the acquired data; the command unit module is used for transmitting the determined characters of the acquired data; the vehicle identification code module is used for setting a unique identifier of the automobile; the data unit encryption module is used for encrypting the acquired data; the data unit length module is used for determining the effective range of the total bytes of the data unit; the data unit module is used for verifying the acquired data; the protocol version module is used for identifying the protocol version of the acquired data and expanding the acquired data; and the check code module is used for checking the acquired data.

2. The system of the international new energy vehicle data acquisition extension protocol, as claimed in claim 1, wherein the type of the protocol version module is BYTE.

3. The system of the international new energy vehicle data acquisition extension protocol, according to claim 1, characterized in that the protocol version module incorporates BBC check.

4. The system of the international new energy vehicle data acquisition extension protocol, according to claim 3, characterized in that the protocol version module analyzes and distinguishes data information of the same type information body in the data unit according to the protocol version.

5. The system of the international new energy vehicle data acquisition extension protocol, according to claim 1, characterized in that the protocol version module identifies protocol version information by a 2 nd byte from last.

Technical Field

The invention relates to the technical field of vehicle communication, in particular to a system of a new energy automobile data acquisition extension protocol based on national standard.

Background

In recent years, with the strong support of national policies, new energy automobile enterprises in China erupt like bamboo shoots in spring after raining, and in order to smoothly reach the national subsidies, all new energy automobile enterprises need to report driving related data of new energy automobiles according to the national new energy monitoring standards. At present, according to the technical specification part 3 of the electric automobile remote service and management system: the related data format (hereinafter referred to as national standard protocol) required in the communication protocol and data format reports data to the national monitoring platform, and except for reporting the data to the national platform, each new energy vehicle enterprise generally collects more vehicle driving data based on the national standard protocol and stores the data in an enterprise data center for the purposes of data statistics, analysis and the like.

At present, the national standard protocol has expandability in a certain range, but because the national standard protocol has no concept of version and data in the protocol adopts a sequential occupancy mode to express information, the national standard protocol is slightly poor in aspects of software design expansibility, reusability, compatibility and the like when being used for enterprise private data acquisition and analysis based on the protocol, and has defects in the aspect of adapting to various new vehicle types in a new energy enterprise layer.

The invention is based on the national standard protocol, skillfully adds and defines protocol version information, is an extension protocol more suitable for data acquisition of new energy vehicle enterprises, and improves the aspects of data acquisition, software design analysis expansibility, reusability, compatibility and the like.

Disclosure of Invention

The invention aims to provide a system for a new energy vehicle data acquisition extension protocol based on the national standard, which is based on the national standard protocol, increases protocol version information, and is an extension protocol capable of meeting the requirements of reporting information of a new energy vehicle enterprise according to the national standard and better meeting the requirements of the new energy vehicle enterprise on multi-vehicle type data acquisition and analysis.

In order to achieve the purpose, the invention adopts the following technical scheme:

a system for a new energy automobile data acquisition extension protocol based on national standard comprises: the system comprises an initiator module, a command unit module, a vehicle identification code module, a data unit encryption module, a data unit length module, a data unit module, a protocol version module and a check code module;

the initiator module is used for determining characters of the acquired data;

the command unit module is used for transmitting the determined characters of the acquired data;

the vehicle identification code module is used for setting a unique identifier of the automobile;

the data unit encryption module is used for encrypting the acquired data;

the data unit length module is used for determining the effective range of the total bytes of the data unit;

the data unit module is used for verifying the acquired data;

the protocol version module is used for identifying the protocol version of the acquired data and expanding the acquired data;

and the check code module is used for checking the acquired data.

Further, the type of the protocol version module is BYTE.

Further, the protocol version module is included in the BBC check.

Further, the protocol version module analyzes and distinguishes data information of the same type information body in the data unit according to the protocol version.

Further, the protocol version module identifies protocol version information with a 2 nd last byte.

Compared with the prior art, the invention has the following advantages:

1. based on the national standard agreement, the agreement version information is added, and the new energy vehicle enterprise extension agreement can meet the requirements of reporting information according to the national standard and better meet the requirements of multi-vehicle type data acquisition and analysis of the new energy vehicle enterprise;

2. the expansibility is better: the data information of the same type information body in the data unit can be analyzed and distinguished according to the protocol version, and the same type information body can be expanded to express more information in the subsequent version based on the previous version;

3. the reusability is higher: based on better expansibility, the software design has higher reusability;

4. the compatibility is stronger: the reported data protocol can be distinguished according to the protocol version, and the method is compatible with data information acquisition and analysis of various vehicle types.

Drawings

Fig. 1 is a system structure diagram of a new energy vehicle data acquisition extension protocol based on the national standard according to an embodiment.

Detailed Description

The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.

The invention aims to provide a system of a new energy automobile data acquisition extension protocol based on national standard aiming at the defects of the prior art.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种认证方法、装置、计算机系统及可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类