Search

CN-122027295-A - Electric automobile remote service data management method based on block chain technology

CN122027295ACN 122027295 ACN122027295 ACN 122027295ACN-122027295-A

Abstract

The invention relates to the technical field of remote monitoring and management of electric vehicles, and discloses a block chain technology-based electric vehicle remote service data management method, which comprises the following steps: firstly, a distributed system architecture integrating a blockchain technology is constructed, operation data of an electric vehicle are collected and encrypted on a vehicle-mounted terminal of the architecture, and optimal nodes are dynamically selected to upload based on connection success rate, delay and distance. And finally, carrying out global ordering and packaging on the multi-source data based on the blockchain nodes to generate blocks, finally writing in a non-tamperable blockchain account book, and synchronously updating a state database and a history database. The invention realizes safe, reliable, efficient and reliable data of the electric automobile and the whole-course traceable remote management, and remarkably improves the overall robustness of the system and the data application value.

Inventors

  • YAN PEIPEI
  • XU GUOSHENG
  • ZHANG XINYU

Assignees

  • 领途汽车有限公司

Dates

Publication Date
20260512
Application Date
20260216

Claims (7)

  1. 1. The electric automobile remote service data management method based on the block chain technology is characterized by comprising the following steps of: combining with a block chain technology, constructing a system architecture for remote service data of the electric automobile; In a target blockchain system architecture, acquiring and encrypting vehicle state data of a target electric vehicle through a target vehicle-mounted terminal, and performing blockchain data node preferred selection through a node preferred algorithm; The identity authentication module in the block chain data node is combined with the target vehicle-mounted terminal to perform identity authentication and data endorsement processing of the target electric vehicle; And performing data sorting and block generation processing through the block chain data nodes, writing the generated block structure into the block chain, and synchronously updating the database.
  2. 2. The method for managing remote service data of an electric vehicle based on the blockchain technology according to claim 1, wherein the system architecture for remote service data of an electric vehicle is constructed by combining the blockchain technology, specifically: determining a target electric automobile, and acquiring a virtual machine which is built based on a blockchain technology and comprises a private chain network module, wherein one virtual machine represents one blockchain data node; the private chain network module in each blockchain data node comprises an identity authentication module, a data ordering module and a data processing module; In each blockchain data node, corresponding longitude and latitude coordinates are recorded as system initial parameters of a blockchain system and stored in a system configuration file, and meanwhile, a vehicle-mounted terminal for a target electric vehicle is determined and calibrated as a target vehicle-mounted terminal; synchronizing longitude and latitude coordinates of each blockchain data node into a target vehicle-mounted terminal, and connecting the target vehicle-mounted terminal with a CAN bus of a target electric vehicle; Acquiring a remote service and management platform of a target electric automobile, constructing a system architecture for remote service data of the electric automobile by combining the remote service and management platform of the target electric automobile, a target vehicle-mounted terminal and all block chain data nodes, and calibrating the system architecture as a target block chain system architecture; all the blockchain data nodes are integrated into a data cloud, and the remote service and management platform of the target electric automobile is a visual operation management interface of the target electric automobile.
  3. 3. The method for managing remote service data of an electric vehicle based on the blockchain technology according to claim 1, wherein in the target blockchain system architecture, vehicle state data of the target electric vehicle is collected and encrypted through a target vehicle-mounted terminal, and blockchain data node preference is performed through a node preference algorithm, specifically: Powering up the target vehicle-mounted terminal, and continuously monitoring and analyzing vehicle state data on a CAN bus of the target electric vehicle through the target vehicle-mounted terminal, wherein the continuously monitoring and analyzing battery related state data in a battery management system of the target electric vehicle, controller internal related data of the target electric vehicle and positioning related data are included; Carrying out data encapsulation on each item of data of the analyzed CAN bus of the target electric automobile, wherein the data encapsulation is to add a unique identifier, an acquisition time stamp and a data serial number to the data to obtain an original CAN bus data packet of the target electric automobile, and calibrating the data packet as a target original data packet; Introducing an SM4 algorithm into a target vehicle-mounted terminal for carrying out data encryption processing on a target original data packet, wherein an encryption key is firstly configured based on the SM4 algorithm, the target original data packet is input into the SM4 algorithm as a plaintext, the encryption key is called to carry out encryption operation on the target original data packet, a binary ciphertext of the target original data packet is generated, and the binary ciphertext of the target original data packet is converted into a hexadecimal data character string to obtain the target encrypted data packet; And in the target vehicle-mounted terminal, performing block chain data node preferred selection on the data cloud end through a node preferred algorithm.
  4. 4. The method for managing remote service data of an electric vehicle based on the blockchain technology according to claim 3, wherein the blockchain data node preference is performed on the data cloud terminal in the target vehicle-mounted terminal through a node preference algorithm, specifically: Based on the target vehicle-mounted terminal, reading longitude and latitude coordinates of all block chain data nodes in the data cloud, and extracting longitude and latitude coordinates of the target vehicle-mounted terminal from a target original data packet; Performing radian conversion on longitude and latitude coordinates of each blockchain data node and longitude and latitude coordinates of the target vehicle-mounted terminal, introducing a spherical distance calculation formula, and calculating a linear distance value between each blockchain data node and the target electric vehicle; in a target vehicle-mounted terminal, reading historical connection data of each block chain data node, including successful connection times and average connection time, and calculating a connection time factor and a distance factor of each block chain data node by combining a linear distance value of each block chain data node and a target electric vehicle, and calculating a comprehensive weight value of each block chain data node by presetting a weight coefficient; The block chain data nodes are arranged in descending order according to the comprehensive weight values, and a network connection request is initiated to the block chain data nodes with high comprehensive weight values preferentially through the target vehicle-mounted terminal; If the network connection request is successful, carrying out positive updating processing on the successful connection times of the corresponding block chain data nodes, and carrying out real-time updating on the comprehensive weight value by combining the successful connection times of the block chain data nodes after the positive updating until the successful connection times of the block chain data nodes reach an upper limit value; If the network connection request fails, carrying out negative update processing on the successful connection times of the corresponding block chain data nodes, carrying out real-time update on the comprehensive weight value by combining the successful connection times of the block chain data nodes after the negative update, and simultaneously, automatically selecting the block chain data node with the highest next comprehensive weight value from other block chain data nodes until the network connection request is successful.
  5. 5. The method for managing remote service data of electric vehicles based on the blockchain technology according to claim 1, wherein the identity authentication module in the blockchain data node is used for carrying out identity authentication and data endorsement processing of the target electric vehicle in combination with the target vehicle-mounted terminal, specifically comprises the following steps: After the network connection request is successful, an identity authentication request instruction is sent to the blockchain data node which is subjected to network connection through the target vehicle-mounted terminal, wherein the identity authentication request instruction is sent to the identity authentication module and comprises a registration ID of the target vehicle-mounted terminal and an X.509 digital certificate; Verifying whether the X.509 digital certificate accords with a standard format in the identity authentication module and whether the digital signature of the X.509 digital certificate is in a standard state or not in the validity period; if yes, sending an authentication success instruction to the target vehicle-mounted terminal through the identity authentication module; If the block chain data node with the highest comprehensive weight value is not connected with the target vehicle-mounted terminal, an authentication failure instruction is sent to the target vehicle-mounted terminal through the identity authentication module, and the target vehicle-mounted terminal is controlled to select the block chain data node with the highest comprehensive weight value for network connection until the identity authentication module sends the authentication success instruction to the target vehicle-mounted terminal; when the target vehicle-mounted terminal receives an authentication success instruction, a data writing proposal is constructed based on the target encrypted data packet, and the data writing proposal is sent to a data processing module in a block chain data node with a successful current network connection request to carry out data endorsement verification processing; the data endorsement verification processing comprises digital signature verification, data format check, encryption integrity check and service logic verification; And if the data endorsement verification processing is completely passed, sending a data writing proposal pass instruction to the target vehicle-mounted terminal through the data processing module, and if the data endorsement verification processing is not passed, sending a data writing proposal reject instruction to the target vehicle-mounted terminal through the data processing module, and carrying out data processing according to reject items in the data endorsement verification processing.
  6. 6. The method for managing remote service data of an electric vehicle based on the blockchain technology according to claim 1, wherein the data sorting and the block generating are performed by the blockchain data node, and the generated block structure is written into the blockchain while synchronously updating the database, specifically: When the target vehicle-mounted terminal receives a data writing proposal passing instruction, a data formal writing request is built in the target vehicle-mounted terminal, and a corresponding data formal writing request is sent to a block chain data node with a successful network connection request; in the block chain data node, performing global ordering on all data formal writing requests through a data ordering module, wherein the global ordering condition is that sequential ordering is performed according to acquisition time stamps in the data formal writing requests; In a data processing module of a block chain data node, combining a data formal writing request and a corresponding global ordering result to construct a block structure, wherein the block structure comprises a block head and a block body, carrying out hash operation on the block head to generate a hash value, and writing the hash value into the block body to obtain a target block structure; The target block structure is transferred to a data storage module in the data processing module, and is transferred to other block chain data nodes in the same private chain network through the block chain data nodes, and the database is synchronously updated.
  7. 7. The method for managing remote service data of an electric vehicle based on the blockchain technology according to claim 6, wherein the transferring, by the blockchain data node, the target blockstructure to other blockchain data nodes in the same private chain network and synchronously updating the database is specifically as follows: when the target block structure is transferred to a data storage module in the data processing module, recalculating the hash value of the target block, judging whether the hash value is consistent with that before transfer, and monitoring whether data records in the target block structure all pass through data endorsement; If so, transmitting the target block structure to other block chain data nodes in the same private chain network, wherein the other block chain data nodes in the same private chain network are all block chain data nodes for performing network connection requests for the target vehicle-mounted terminal; If not, the target block structure is generated again; in the data storage module, a state database and a history database are obtained, and the state database and the history database are updated respectively; The state database is updated to analyze each data record of the target block structure, so that the real-time state data of the target electric vehicle are extracted; Updating the history database to insert each data record of the target block structure into the history database in real time.

Description

Electric automobile remote service data management method based on block chain technology Technical Field The invention relates to the technical field of remote monitoring and management of electric automobiles, in particular to a block chain technology-based electric automobile remote service data management method. Background In the field of remote monitoring and management of electric automobiles, a centralized system architecture is generally adopted in the prior art to realize collection, transmission and processing of vehicle operation data. The architecture generally comprises a vehicle-mounted data acquisition terminal, a centralized data receiving service and a centralized data management platform. The vehicle-mounted terminal is responsible for acquiring running state information, including power battery data, vehicle position information and other key sensor data, from a vehicle internal bus network in real time. These data are uploaded to designated centralized data receiving nodes via the mobile communication network and stored in a centralized database. The data management platform provides remote service functions such as vehicle state monitoring, historical data query and the like for the user by accessing the database. However, as the vehicle scale increases and the application scenario becomes complex, the above-described conventional architecture gradually exposes the following technical limitations: First, the system is not robust enough. Because of the reliance on a single centralized data receiving channel, once the channel is interrupted due to network fluctuation or equipment failure, the whole data uploading link is invalid, so that the remote monitoring service is in stagnation, and the vehicle state cannot be tracked in real time. Secondly, the data credibility guarantee mechanism is weak. The vehicle data is stored in a centralized database in a centralized manner, and an effective tamper-proof technical means is lacked. The method has the advantages that the stored data is at risk of unauthorized modification, for example, key operation parameters or position information can be tampered maliciously, so that the authenticity and reliability of the data are affected, and the application of the data in high-credibility demand scenes such as insurance claim settlement, accident identification and the like is restricted. Finally, the data transmission efficiency lacks optimization. When uploading data, the vehicle-mounted terminal is usually fixedly connected to a preset node, and dynamic changes of an actual network environment, such as transmission distance, link quality and the like, are not considered. This easily results in increased data transmission delay and reduced success rate, and the overall transmission efficiency of the system is difficult to ensure especially in a large-scale vehicle concurrent communication or trans-regional mobile scenario. The problem is based on the centralized design paradigm of the prior art, namely, a single data transmission path and lack of a redundant fault tolerance mechanism, centralized data storage and no introduction of a distributed tamper-proof technology, and no establishment of a data route optimization strategy based on a real-time network state, so that the system has inherent defects in the aspects of reliability, safety and transmission efficiency. Therefore, a new technical solution is needed to overcome the above-mentioned drawbacks, so as to improve the overall performance of the remote service and management system of the electric vehicle, and therefore, a method for managing remote service data of the electric vehicle based on the blockchain technology is provided. Disclosure of Invention The invention overcomes the defects of the prior art and provides the electric automobile remote service data management method based on the block chain technology. In order to achieve the above purpose, the invention adopts the following technical scheme: The first aspect of the invention provides an electric vehicle remote service data management method based on a blockchain technology, which comprises the following steps: combining with a block chain technology, constructing a system architecture for remote service data of the electric automobile; In a target blockchain system architecture, acquiring and encrypting vehicle state data of a target electric vehicle through a target vehicle-mounted terminal, and performing blockchain data node preferred selection through a node preferred algorithm; The identity authentication module in the block chain data node is combined with the target vehicle-mounted terminal to perform identity authentication and data endorsement processing of the target electric vehicle; And performing data sorting and block generation processing through the block chain data nodes, writing the generated block structure into the block chain, and synchronously updating the database. Further, in a preferred embodiment of