New energy automobile data access method supporting multiple types and multiple modes

By supporting multi-type and multi-mode data access methods for new energy vehicles, using technologies such as VIN code analysis rules, data type association and data format specifications, the problem of format and protocol incompatibility during data access is solved, efficient, accurate and secure data access is achieved, and diversified data needs are met.

CN119520152APending Publication Date: 2025-02-25SHANGHAI CHANGXING SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411785706.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In the prior art, there are problems such as incompatibility between data format and communication protocol during the access process of new energy vehicle data, resulting in data parsing errors, transmission delays and data loss, and the differences in multiple data acquisition modes lead to inefficient data access.

Method used

A new energy vehicle data access method that supports multi-type and multi-mode is proposed. Through VIN code analysis rules establishment, data type association, data format specification, access mode and protocol configuration, security settings and data verification, etc., it realizes seamless data compatibility access and support for multiple data transmission modes.

Benefits of technology

It realizes seamless compatible access to data from different formats and sources, improves the efficiency, accuracy and security of data access, meets the diversified needs of new energy vehicle data, and provides solid technical support for the data management and application of the new energy vehicle industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520152A_ABST
    Figure CN119520152A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automobile data access methods, and discloses a new energy automobile data access method supporting multiple types and multiple modes, which comprises the following steps: vehicle type classification and VIN code analysis rule establishment: analyzing vehicle type characteristics of different new energy automobiles, extracting key information related to vehicle types in VIN codes, establishing a VIN code analysis rule library, and establishing a VIN code analysis rule library; and distinguishing different vehicle types according to rules. According to the invention, multi-type and multi-mode data access requirements can be comprehensively supported, the problems caused by incompatible data formats, communication protocol differences and diverse data acquisition modes in the prior art are effectively solved, seamless compatible access of data of different formats and different sources can be ensured, and the data access efficiency is improved. Meanwhile, various data transmission modes such as an active data transmission mode and a passive data transmission mode are supported, so that diversified requirements of different platforms on new energy automobile data are met, the data access efficiency, accuracy and safety are remarkably improved, and a solid technical support is provided for data management and application of the new energy automobile industry.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile data access methods, and in particular to a new energy automobile data access method supporting multiple types and multiple modes. Background Art

[0002] With the rapid development of new energy vehicle technology, the degree of vehicle intelligence is constantly improving, the amount of data generated by automobiles is showing an explosive growth trend, and the data types are becoming increasingly complex. Static vehicle data, such as vehicle model, vehicle frame number (VIN code), vehicle terminal number, etc., provide a basis for vehicle identification and basic information management; while dynamic vehicle data, covering many parameters such as vehicle speed, battery power, motor speed, fault information, etc., are essential for real-time monitoring of vehicle operation status, evaluation of vehicle performance, diagnosis of faults, and realization of intelligent driving. The access mode of new energy vehicle data is significantly diverse. Directly sending data from the vehicle terminal is a common method, which can achieve rapid transmission of vehicle data and enable enterprises or monitoring platforms to obtain vehicle operation information in a timely manner. In addition, third-party platforms play an important role in data access. They can act as data forwarders to forward data from vehicle terminals to other platforms, or as data providers, and enterprises can obtain required data from third-party platforms. This multi-mode data access environment brings more flexibility to data management while also increasing the complexity and difficulty of data access.

[0003] However, there are still the following problems: Incompatible data format and communication protocol: Although the country has formulated GB / T 32960 - 2016 Technical Specification for Electric Vehicle Remote Service and Management System, this specification only applies to vehicle monitoring data specified in the national standard. Its format and transmission frequency have strict standards and cannot be changed at will. In actual operation, car companies often have a large amount of custom data to collect and transmit, which forces companies to formulate communication protocols and methods for these custom data, resulting in a lack of compatibility between data formats and communication protocols. In the process of accessing data with different formats and protocols, data parsing errors, transmission delays, and even data loss are prone to occur, which seriously affects the accuracy and integrity of data processing.

[0004] Challenges caused by differences in data acquisition modes: Due to the diverse sources of vehicle data, the data acquisition modes vary, such as the monitoring platform actively consuming data from a third-party platform or forwarding data from a third-party platform. When enterprises face data access situations with multiple models and multiple modes, existing technologies cannot quickly and efficiently achieve data transmission between platforms. The lack of a unified access method and management mechanism makes the data access process cumbersome and inefficient, making it difficult to meet the requirements of real-time and accuracy of new energy vehicle data, restricting the effective use of new energy vehicle data and the further development of the industry.

[0005] To solve the above problems, this application proposes a data access method for new energy vehicles that supports multiple types and modes. Summary of the invention

[0006] 1. Purpose of the invention In order to solve the technical problems existing in the background technology, the present invention proposes a data access method for new energy vehicles that supports multiple types and multiple modes. The present invention can fully support the data access needs of multiple types and multiple modes, and effectively solve the problems caused by incompatible data formats, differences in communication protocols and diverse data acquisition modes in the prior art, ensuring that data of different formats and sources can be seamlessly and compatiblely accessed, and at the same time supporting multiple data transmission modes such as active and passive, so as to meet the diverse needs of different platforms for new energy vehicle data, significantly improve the efficiency, accuracy and security of data access, and provide solid technical support for data management and application in the new energy vehicle industry.

[0007] (II) Technical solution To solve the above problems, the present invention provides a data access method for new energy vehicles supporting multiple types and multiple modes, which is characterized by comprising the following steps: Model classification and VIN code parsing rules establishment: Analyze the characteristics of different new energy vehicle models, extract key information related to the model in the VIN code, establish a VIN code parsing rule base, and distinguish different models based on the rules; Supports regular updates of the VIN code parsing rule base to adapt to the emergence of new models and changes in the rules of existing models.

[0008] Data type association: For each model, sort out the national standard data and the customized data of the car company that need to be connected, establish the mapping relationship between the model and the data type, mark the national standard data according to the standard classification, and define the customized data in detail; Data format specification: Analyze each data format, enter the data packet characteristics and format specification information, clarify the packet header identification, packet tail check code rules, data length field location, standardize field definition, encoding method, and data arrangement order; Data access mode and protocol configuration: Configure access mode options such as direct connection to vehicle terminals, forwarding from third-party platforms, and obtaining from third-party platforms for vehicle models. Record the access IP address and port number of direct connection to vehicle terminals, the API interface address forwarded by third-party platforms, and the interface address and method of obtaining data from third-party platforms. For data connection protocols such as TCP, HTTP, and MQTT, set the TCP connection timeout, HTTP request header format specification, and MQTT topic subscription rules. Associate vehicle models, access modes, and protocol configuration information to form a configuration plan. Security Settings: Select encryption algorithms or keys for different vehicle models to encrypt transmitted data, configure identity authentication information for access between platforms, including user name, password, and digital certificate, and configure a whitelist of IP addresses allowed to access third-party platforms.

[0009] Preferably, in the establishment of vehicle model classification and VIN code parsing rules, the establishment of the VIN code parsing rule base formulates the differentiation rules based on the vehicle manufacturer, vehicle model series, and production year information.

[0010] Preferably, in the data type association, the definition specification of the automobile enterprise's custom data format includes the field meaning, data type, and data range content of the custom data.

[0011] Preferably, in the data access mode and protocol configuration, for the third-party platform forwarding mode, the data forwarding frequency and data cache strategy parameters of the third-party platform are also recorded.

[0012] Preferably, in the data access mode and protocol configuration step, when setting the MQTT protocol configuration parameters, it also includes setting parameters such as the MQTT message quality level and message retention policy.

[0013] Preferably, in the security setting, the encryption algorithm includes a symmetric encryption algorithm such as an AES algorithm and an asymmetric encryption algorithm such as an RSA algorithm, which are selected for use according to data importance and security requirements.

[0014] Preferably, in the security setting, the digital certificate adopts the X.509 standard format, including the certificate version, certificate serial number, signature algorithm identifier, issuer name, validity period, subject public key information and other contents.

[0015] Preferably, in the data format specification step, the position of the data length field is determined by using a fixed position or by calculating through a specific identification bit, depending on the data format.

[0016] Preferably, in the data access mode and protocol configuration step, when acquiring data from a third-party platform, different data acquisition timing modes such as timed acquisition and event-triggered acquisition are supported.

[0017] Preferably, the method further includes a data verification step, in which after data access, the data is verified for integrity and accuracy according to the data format specification and the verification algorithm, and if the verification fails, the data is retransmitted or an error prompt is given.

[0018] The above technical solution of the present invention has the following beneficial technical effects: It combines multiple key technologies such as VIN code parsing, data type association, data format specification, access mode and protocol configuration, security settings and data verification, and realizes the automation and intelligence of the entire process from data collection, processing to final access. In particular, the combination of VIN code parsing and data type association can accurately identify and classify data of different models, ensuring the accuracy and integrity of the data. At the same time, through a variety of access modes and protocol configurations, it can flexibly respond to different data sources and application scenarios, improving the compatibility and flexibility of the system. In addition, comprehensive security measures and data verification mechanisms ensure the security and reliability of data transmission, providing strong technical support for data management and application of new energy vehicles. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a structural schematic diagram of a data access method for new energy vehicles supporting multiple types and multiple modes proposed by the present invention. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.

[0021] like Figure 1 As shown, the present invention proposes a data access method for new energy vehicles supporting multiple types and multiple modes, characterized by comprising the following steps: Model classification and VIN code parsing rules establishment We have conducted an in-depth study of the technical features and configuration differences of different new energy vehicle models. Through in-depth analysis of a large number of vehicle VIN code samples, we have accurately extracted key information closely related to the vehicle model, such as the manufacturer's unique code identifier, the specific character sequence of the vehicle model series, and the coding rules of the year of production. Based on these key information, we have built a comprehensive, detailed and highly accurate VIN code parsing rule base. In the rule base, we have formulated exclusive VIN code parsing rules for each vehicle model to ensure that the vehicle model can be quickly and accurately identified based on the vehicle VIN code. For example, for a well-known new energy vehicle brand, the first three characters of its VIN code always represent the manufacturer, and the 4th to 6th characters clearly correspond to the vehicle model series. Through this precise mapping relationship, when the vehicle VIN code is received, the brand and specific model of the vehicle can be accurately determined in a very short time.

[0022] To ensure the timeliness and accuracy of the VIN code parsing rule base, a regular update mechanism is established. Pay close attention to the dynamic development of the automotive industry and collect relevant information on new models in a timely manner, including new VIN code encoding rules and changes in model characteristics. Whenever a new model is launched or the rules of an existing model are adjusted, the rule base update process is quickly started to incorporate the new parsing rules into the library to ensure that the data access method can always adapt to market changes and accurately identify various new energy vehicle models.

[0023] Data type association For each car model that has been accurately distinguished, the system sorts out all kinds of data that need to be accessed during its entire life cycle. For the data specified by the national standard, strictly follow the relevant standards and specifications, and conduct detailed classification and precise labeling. For the data format customized by the car company, work closely with the car company's R&D, engineering and data management teams to deeply explore the business logic and application requirements behind the data and formulate detailed definition specifications. The specification content covers the meaning of each field of the custom data to ensure that it is clear and easy to understand and has a clear business orientation; clarify the data type and select the most appropriate type representation according to the actual nature of the data, such as integer type, floating point type, string type, Boolean type, date type, array type, structure type, etc.; strictly define the data range and clarify the upper and lower limits of each field to ensure the rationality and validity of the data. In this way, a clear, accurate and comprehensive mapping relationship between the car model and the data type is established to ensure that during the data access process, the data processing system can accurately identify and properly handle each data type, effectively avoiding data confusion and error processing.

[0024] Data format specifications Conduct an in-depth analysis of each data format and fully record its data packet characteristics and format specification information. In terms of data packet characteristics, clearly define the specific format and content of the header identifier to ensure its uniqueness and easy identification. For example, use a specific byte sequence (such as "0x55AA") or character combination (such as "##START##") as the start mark, followed by key information such as the data packet type identifier and data length. Accurately determine the packet tail check code rules, select appropriate check code algorithms such as CRC-16, CRC-32, MD5, SHA-1, etc. according to the importance of the data and the requirements for accuracy, and clarify the position and length of the check code in the data packet. For the determination of the data length field position, fully consider the diversity of data formats, and flexibly adopt a fixed position (such as the 3rd to 6th bytes of the data packet represent the length of the data part) or calculate it through a specific identification bit (such as calculating the data length based on certain identification bits in the header) according to the characteristics of different data formats. At the same time, carefully standardize the field definition, encoding method and data arrangement order to ensure that the data is highly consistent and compatible when transmitted and processed between different systems.

[0025] Data access mode and protocol configuration To meet the needs of different application scenarios and data sources, a variety of data access mode options are carefully configured for each vehicle model, including direct connection to the vehicle terminal, forwarding from a third-party platform, and acquisition from a third-party platform. For the direct connection mode of the vehicle terminal, accurately record the access IP address and port number between the vehicle terminal and the enterprise monitoring platform, and configure network parameters such as subnet mask and gateway to ensure that data can be stably and efficiently transmitted from the vehicle terminal to the target platform. In the forwarding mode of the third-party platform, record in detail the API interface address of the third-party platform, data forwarding frequency (such as forwarding once every minute, every 5 minutes, etc.), data caching strategy (such as cache duration, cache size, etc.) and related interface parameters to ensure that data can be smoothly forwarded through the third-party platform according to the predetermined rules. For the data acquisition mode from the third-party platform, clarify the data acquisition interface address of the third-party platform, data acquisition method (support different timing methods such as timed acquisition and event-triggered acquisition, such as obtaining the previous day's statistical data at 2 a.m. every day or immediately pushing fault data when the third-party platform detects a vehicle fault) and necessary authentication information.

[0026] For different data connection protocols (TCP, HTTP, MQTT, etc.), we deeply study their respective characteristics, advantages and applicable scenarios, and carefully set detailed protocol configuration parameters according to actual needs. For the TCP protocol, we reasonably set the connection timeout (such as 30 seconds), and adjust the TCP buffer size (such as the receiving buffer and sending buffer size are set to 8KB and 16KB respectively), sliding window size (such as setting to 64KB) and other parameters according to the network environment and data transmission characteristics, optimize data transmission performance, establish a TCP connection pool, improve the connection reuse rate, and reduce the overhead of connection establishment and closing. For the HTTP protocol, strictly regulate the request header format, including Content-Type (set to application / json, application / xml, etc. according to the data format), Authorization (use Bearer Token or BasicAuth for identity authentication), User-Agent (set to the name and version number of the enterprise monitoring platform, etc.), Accept (specify the acceptable response data format), etc., reasonably set the request header parameters according to the requirements of the third-party platform and data security requirements to ensure the legitimacy and security of the HTTP request, and configure the HTTP connection timeout (such as 10 seconds), the maximum number of connections (such as 100 concurrent connections) and other parameters to optimize HTTP communication performance. In terms of MQTT protocol configuration, set the topic subscription rules, determine the topic name and wildcard rules for subscription according to the data type and business needs, for example, subscribing to the "vehicle / data / #" topic means receiving all vehicle data-related topic messages; subscribing to the "vehicle / data / {vin} / battery" topic means only receiving battery data-related messages for a specific vehicle (VIN code is {vin}). At the same time, set the MQTT message quality level (such as QoS 0 means at most one transmission, which is suitable for scenarios with low requirements for data reliability; QoS 1 means at least one transmission, ensuring that the message will not be lost but may be repeated; QoS 2 means only one transmission, ensuring that the message is neither lost nor repeated, which is suitable for scenarios with extremely high requirements for data accuracy), message retention strategy (such as setting it to True means retaining the last message, and new subscribers can obtain the latest data; setting it to False means not retaining messages) and other parameters to ensure the reliability and timeliness of message transmission. The vehicle model, access mode and protocol configuration information are closely associated and stored to form a complete and flexible configuration plan, so that the appropriate configuration parameters can be quickly selected according to different vehicle models and access scenarios during data access.

[0027] Security Settings Attach great importance to data security, and implement comprehensive security settings from two key levels: data encryption and inter-platform access security. For data of different models, scientifically select appropriate encryption algorithms or secret keys based on their sensitivity and importance. For highly sensitive data, such as vehicle location information, user privacy data, vehicle control instructions, etc., use high-intensity asymmetric encryption algorithms (such as RSA algorithms, with a key length of 2048 bits or more) for encryption. Generate public and private key pairs, and distribute the public key securely to the vehicle terminal or third-party platform for data encryption. The private key is strictly kept by the enterprise monitoring platform for data decryption to ensure that only the authorized party with the private key can interpret the encrypted data. For general vehicle operation data, symmetric encryption algorithms (such as AES algorithms, with a key length of 128 bits or 256 bits) can be selected to improve encryption and decryption efficiency and reduce system resource consumption. In terms of data storage, sensitive data fields in the database are encrypted and stored, such as using the database's own encryption function or encryption library to encrypt the stored VIN code, user password and other fields to prevent database leakage from causing illegal data acquisition.

[0028] In terms of inter-platform access security, strict identity authentication information is configured, including setting up complex and high-strength user names and passwords, and combining multiple authentication methods such as digital certificates to ensure that only authorized legal platforms or devices can interact with data. Digital certificates use the internationally accepted X.509 standard format, including certificate version, certificate serial number, signature algorithm identifier, issuer name, validity period, subject public key information, etc. The platform identity is confirmed by verifying the validity of the digital certificate. At the same time, a whitelist of IP addresses allowed to access is configured for third-party platforms, strictly restricting access from external illegal IP addresses, further enhancing the security of data access, and effectively preventing illegal attacks and data leaks.

[0029] Data Verification To ensure the integrity and accuracy of the data, strict data verification steps are implemented after data access. According to the data format specification and the pre-set verification algorithm, the received data is fully verified. The choice of verification algorithm depends on the type and importance of the data. For data integrity verification, CRC verification, hash function (such as SHA-256) and other algorithms can be used; for data accuracy verification, detailed verification rules are formulated according to the data type and business rules. For example, for vehicle speed data, verify whether it is within a reasonable value range (such as 0-200km / h); for vehicle VIN code, verify whether it complies with the VIN code encoding rules and check digit calculation rules. Develop a special data verification module and apply the verification rules to the data access process. If the data verification fails, take corresponding measures according to the cause of the failure, such as data retransmission (the number of retransmissions and the retransmission interval can be set) or timely send error prompts to relevant personnel (via email, SMS or system messages, etc.) for manual verification and processing, to ensure that only valid data that has passed strict verification is allowed to enter the subsequent data processing process, to ensure the high quality and reliability of the data.

[0030] It should be understood that the above specific embodiments of the present invention are only used to illustrate or explain the principles of the present invention, and do not constitute a limitation of the present invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. In addition, the appended claims of the present invention are intended to cover all changes and modifications that fall within the scope and boundaries of the appended claims, or the equivalent forms of such scope and boundaries.

Claims

1. A data access method for new energy vehicles supporting multiple types and multiple modes, characterized in that: The following steps are involved: Model classification and VIN code parsing rules establishment: Analyze the characteristics of different new energy vehicle models, extract key information related to the model in the VIN code, establish a VIN code parsing rule base, and distinguish different models based on the rules; Data type association: For each model, sort out the national standard data and the customized data of the car company that need to be connected, establish the mapping relationship between the model and the data type, mark the national standard data according to the standard classification, and define the customized data in detail; Data format specification: Analyze each data format, enter the data packet characteristics and format specification information, clarify the packet header identification, packet tail check code rules, data length field location, standardize field definition, encoding method, and data arrangement order; Data access mode and protocol configuration: Configure vehicle terminal direct connection, third-party platform forwarding, and access mode options from third-party platforms for vehicle models. Record the access IP address and port number of the vehicle terminal direct connection, the API interface address forwarded by the third-party platform, and the interface address and method for obtaining data from the third-party platform. For TCP, HTTP, and MQTT data docking protocols, set the TCP connection timeout, HTTP request header format specification, and MQTT topic subscription rules. Associate vehicle models, access modes, and protocol configuration information to form a configuration plan. Security Settings: Select encryption algorithms or keys for different vehicle models to encrypt transmitted data, configure identity authentication information for access between platforms, including user name, password, and digital certificate, and configure a whitelist of IP addresses allowed to access third-party platforms.

2. A data access method for new energy vehicles supporting multiple types and multiple modes according to claim 1, characterized in that: In the establishment of vehicle model classification and VIN code parsing rules, the establishment of the VIN code parsing rule base formulates the classification rules based on the vehicle manufacturer, vehicle model series, and production year information.

3. A method for data access of new energy vehicles supporting multiple types and multiple modes according to claim 2, characterized in that: In the data type association, the definition specification of the automobile enterprise's custom data format includes the field meaning, data type, and data range content of the custom data.

4. A data access method for new energy vehicles supporting multiple types and multiple modes according to claim 1, characterized in that: In the data access mode and protocol configuration, for the third-party platform forwarding mode, the data forwarding frequency and data cache strategy parameters of the third-party platform are also recorded.

5. A data access method for new energy vehicles supporting multiple types and multiple modes according to claim 1, characterized in that: In the data access mode and protocol configuration step, when setting the MQTT protocol configuration parameters, it also includes setting the MQTT message quality level and message retention policy parameters.

6. A data access method for new energy vehicles supporting multiple types and multiple modes according to claim 1, characterized in that: In the security setting, the encryption algorithm includes a symmetric encryption algorithm such as the AES algorithm and an asymmetric encryption algorithm such as the RSA algorithm, which are selected for use according to the importance of the data and security requirements.

7. A method for data access of new energy vehicles supporting multiple types and multiple modes according to claim 6, characterized in that: In the security setting, the digital certificate adopts the X.509 standard format, including the certificate version, certificate serial number, signature algorithm identifier, issuer name, validity period, and subject public key information content.

8. A data access method for new energy vehicles supporting multiple types and multiple modes according to claim 1, characterized in that: In the data format specification step, the position of the data length field is determined by using a fixed position or by calculating through a specific identification bit, depending on the data format.

9. A method for data access of new energy vehicles supporting multiple types and multiple modes according to claim 8, characterized in that: In the data access mode and protocol configuration steps, when acquiring data from a third-party platform, different data acquisition timing methods such as scheduled acquisition and event-triggered acquisition are supported.

10. A method for data access of new energy vehicles supporting multiple types and multiple modes according to claim 1, characterized in that: It also includes a data verification step. After the data is accessed, the data integrity and accuracy are verified according to the data format specification and verification algorithm. If the verification fails, the data is retransmitted or an error prompt is given.