Internet of vehicles data security detection method and system based on block chain technology

Through hash encryption and combined hash value comparison of blockchain technology, real-time monitoring and rapid positioning of Internet of Vehicles data is achieved, and the problem of inability to actively detect data loss or tampering in the existing technology is solved, and the Internet of Vehicles data is improved. Safety and emergency response capabilities.

CN119276455APending Publication Date: 2025-01-07JIANGLING MOTORS
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411378156.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The prior art cannot effectively and proactively detect whether the Internet of Vehicles data is lost or tampered, especially when the network is compromised, and there is a lack of rapid positioning and response mechanisms.

Method used

Blockchain technology is used to divide the data of the Internet of Vehicles into multiple device node blocks. Through hash encryption and combined hash value comparison, data integrity is monitored in real time, and early warning information is synchronized when abnormalities are detected.

Benefits of technology

Ensure the uniqueness and integrity of data during transmission through blockchain technology, quickly identify data problem points, improve the security of Internet of Vehicles data, and promptly send early warning information to customers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276455A_ABST
    Figure CN119276455A_ABST
Patent Text Reader

Abstract

The invention provides an Internet of Vehicles data security detection method and system based on a block chain technology, and the method comprises the steps: dividing Internet of Vehicles device data into a plurality of device block nodes, and linking the hash data of each device according to a block chain structure; each block node comprises a block head and a block body; performing data detection, monitoring the hash value of each block in real time, comparing the hash values of the front and rear blocks, and detecting whether the data is lost or tampered; when the data is lost or tampered, identifying the equipment node with the abnormal data by comparing the hash value; and when a certain equipment node is detected to have data abnormity, early warning information is synchronized to the whole Internet of Vehicles network immediately, and the early warning information is synchronously sent to a client. According to the method, the Internet of Vehicles equipment data is divided into a plurality of equipment node blocks to form the block chain, which equipment is subjected to data loss and tampering can be quickly positioned by comparing the hash values, and the security of the Internet of Vehicles data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the automotive field, and in particular, to a method and system for detecting security of Internet of Vehicles data based on blockchain technology. Background Art

[0002] Data is the core element of Internet of Vehicles applications. "Vehicle-to-vehicle" communication, "vehicle-to-road" communication, "vehicle-to-cloud" communication, and "vehicle-to-person" communication between vehicles and mobile smart terminals will generate a large amount of interactive data. Not only are the data types diverse and large in scale, but it also involves many data processing entities such as Internet of Vehicles manufacturers and operators. Therefore, data security of the Internet of Vehicles has become a top priority. Illegal users may steal and tamper with Internet of Vehicles data in illegal ways. At this stage, protection solutions are all through ID card encryption, firewalls, security gateways, etc. to prevent data theft and tampering. However, in the existing technology, if the network is breached, it is impossible to actively detect whether the data is lost or tampered with. Summary of the invention

[0003] In view of the defects in the prior art, the purpose of the present invention is to provide a method and system for security detection of Internet of Vehicles data based on blockchain technology, which divides the Internet of Vehicles device data into multiple device node blocks to form a blockchain. The data of each block is encrypted. By comparing the hash value, it is possible to quickly locate which device has data loss or tampering, thereby improving the security of Internet of Vehicles data.

[0004] In order to achieve the above-mentioned object of the invention, the present invention adopts the following technical solution:

[0005] According to a first aspect of the present invention, a method for detecting data security of an Internet of Vehicles based on blockchain technology is provided, comprising the following steps:

[0006] Divide the data of connected car devices into multiple device block nodes, link the hash data of each device according to the blockchain structure, perform hash encryption operation on each device block node data, generate the hash value of each block node, and combine the hash value of the previous block with the current block data for hashing;

[0007] All block nodes include a block header and a block body. The block header contains the hash value of the current block, the hash value of the previous block, the Merkle tree root hash value, and a timestamp. The block body contains the device data information corresponding to the block.

[0008] Perform data detection, monitor the hash value of each block in real time, compare the hash values ​​of previous and next blocks, and detect whether the data is lost or tampered with;

[0009] When data is lost or tampered with, the device node where the data anomaly occurs is identified by comparing the hash value;

[0010] When data anomalies are detected in a device node, the warning information is immediately synchronized to the entire Internet of Vehicles network and sent to customers simultaneously.

[0011] Preferably, the warning information includes the device ID of the data anomaly, the problem type, the detection time, the data anomaly detailed information, etc.

[0012] According to a second aspect of the present invention, a vehicle networking data security detection system based on blockchain technology is provided, comprising a blockchain construction module, a data detection module, and a synchronous warning module;

[0013] The blockchain construction module is used to divide the Internet of Vehicles device data into multiple device block nodes, and link each device block node according to the blockchain structure, perform hash encryption operation on each device block node data, generate a hash value for each block, and combine the hash value of the previous block with the current block data for hashing;

[0014] The data detection module is used to monitor the hash value of each device block node in real time, compare the hash values ​​of the previous and next blocks, detect whether the data is lost or tampered with, and identify the device node with data anomaly by comparing the hash value when data loss or tampering occurs;

[0015] The synchronous warning module performs data synchronization. When a device node is detected to have data anomalies, the warning information is immediately synchronized to the entire Internet of Vehicles network and the warning information is simultaneously sent to the customer.

[0016] Preferably, the warning information includes the device ID of the data anomaly, the problem type, the detection time, the data anomaly detailed information, etc.

[0017] Compared with the prior art, the present invention has the following beneficial effects:

[0018] The present invention adopts blockchain technology and ensures the uniqueness of data messages through hash encryption to ensure that the data is not tampered with during transmission. Blockchain encryption can quickly locate data problem points and improve the security of Internet of Vehicles data. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0020] Figure 1 Schematic diagram of the process described in Example 1. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.

[0022] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0023] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in the subsequent figures. In addition, all directional indications in this application (such as up, down, left, right, front, back, bottom...) are only used to explain the relative position relationship, movement, etc. between the components under a certain specific posture (as shown in the figures). If the specific posture changes, the directional indication will also change accordingly. Furthermore, the descriptions involving "first", "second", etc. in the application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated.

[0024] Example 1

[0025] This embodiment provides a method for detecting the security of Internet of Vehicles data based on blockchain technology. The invention divides the Internet of Vehicles device data into multiple device node blocks. Different blocks form a blockchain. The data of each block is hashed and encrypted to obtain the hash value of each block. By comparing the hash values, it is possible to quickly locate which device has data loss or data tampering, thereby improving the security of Internet of Vehicles data. The method includes the following steps: Figure 1 As shown:

[0026] In step S1, the data of the connected vehicle device is divided into multiple device block nodes. Each device in the connected vehicle system (such as sensors, controllers, vehicle terminals, etc.) is regarded as an independent block node, and the hash data of each device is linked according to the blockchain structure. Specifically, a hash encryption operation is performed on each device block node data to generate a hash value for each block, and the hash value of the previous block is combined with the current block data to ensure the integrity of the data chain, for example:

[0027] Set device A to block 0 as the genesis block, and hash the data of device A to obtain the hash value of A; set device B to block 1, obtain the hash value of A and hash it with the data of device B to obtain the hash value of B; and so on, set device n to block N, obtain the hash value of n-1 and hash it with the data of device n to obtain the hash value of n.

[0028] All block nodes include a block header and a block body. The block header contains the hash value of the current block, the hash value of the previous block, the Merkle tree root hash value, and a timestamp. The hash value of the current block is the unique identifier of the current block, which is generated by the device data of the block and the hash value of the previous block; the hash value of the previous block is used to link to the previous block to ensure that the data cannot be tampered with; the Merkle tree root hash value further encrypts the hash value of the data in the block to ensure the integrity of the entire data block; the timestamp is used to record the time when the block was generated and provide a complete record of the data timeline; the block body contains the device data information corresponding to the block.

[0029] In step S2, data detection is performed to monitor the hash value of each block in real time, and the hash values ​​of the previous and next blocks are compared to detect whether the data is lost or tampered. When data is lost or tampered, the hash value will change. By comparing the hash value, the device node with data anomaly can be accurately identified.

[0030] In step S3, data synchronization is performed, that is, when a device node is detected to have data anomalies, the system will immediately synchronize this information to the entire Internet of Vehicles network and simultaneously send warning information to the customer. Preferably, the warning information includes the device ID of the data anomaly, the problem type (data loss or tampering), the detection time, and detailed information on the data anomaly.

[0031] This embodiment ensures the uniqueness of data messages through hash encryption to ensure that data is not tampered with during transmission. Blockchain encryption can quickly locate data problem points and improve the security of Internet of Vehicles data. At the same time, it can be used in combination with existing technologies to improve vehicle data security.

[0032] Example 2

[0033] This embodiment provides a vehicle network data security detection system based on blockchain technology, which includes a blockchain construction module, a data detection module, and a synchronous warning module. The modules cooperate with each other to implement the vehicle network data security detection method based on blockchain technology described in Example 1.

[0034] Among them, the blockchain construction module is used to divide the Internet of Vehicles device data into multiple device block nodes, and link each device block node according to the blockchain structure, perform hash encryption operations on each device block node data, generate hash values ​​for each block, and combine the hash value of the previous block with the current block data to ensure the integrity of the data chain. The data detection module is used to monitor the hash value of each device block node in real time, compare the hash values ​​of the previous and next blocks, detect whether the data is lost or tampered with, and quickly locate the specific device node where the data problem occurs when the data detection module finds an abnormality. The synchronous warning module performs data synchronization, that is, when a device node is detected to have data abnormality, the system will immediately synchronize this information to the entire Internet of Vehicles network, and send warning information to customers synchronously. Preferably, the warning information includes the device ID of the data abnormality, the type of problem (data loss, tampering), the detection time, and detailed information on the data abnormality.

[0035] The above describes the specific embodiments of the present invention. Based on the above description, relevant personnel can make various changes and modifications without departing from the technical concept of the present invention.

Claims

1. A method for detecting data security of Internet of Vehicles based on blockchain technology, characterized in that: The following steps are included: Divide the data of connected car devices into multiple device block nodes, link the hash data of each device according to the blockchain structure, perform hash encryption operation on each device block node data, generate the hash value of each block node, and combine the hash value of the previous block with the current block data for hashing; All block nodes include a block header and a block body. The block header contains the hash value of the current block, the hash value of the previous block, the Merkle tree root hash value, and a timestamp. The block body contains the device data information corresponding to the block. Perform data detection, monitor the hash value of each block in real time, compare the hash values ​​of previous and next blocks, and detect whether the data is lost or tampered with; When data is lost or tampered with, the device node where the data anomaly occurs is identified by comparing the hash value; When data anomalies are detected in a device node, the warning information is immediately synchronized to the entire Internet of Vehicles network and sent to customers simultaneously.

2. The method for detecting data security of Internet of Vehicles based on blockchain technology according to claim 1, characterized in that: The warning information includes the device ID of the data anomaly, the problem type, the detection time, the data anomaly details, etc.

3. A vehicle networking data security detection system based on blockchain technology, characterized in that: Contains blockchain construction module, data detection module, and synchronous warning module; The blockchain construction module is used to divide the Internet of Vehicles device data into multiple device block nodes, and link each device block node according to the blockchain structure, perform hash encryption operation on each device block node data, generate a hash value for each block, and combine the hash value of the previous block with the current block data for hashing; The data detection module is used to monitor the hash value of each device block node in real time, compare the hash values ​​of the previous and next blocks, detect whether the data is lost or tampered with, and identify the device node with data anomaly by comparing the hash value when data loss or tampering occurs; The synchronous warning module performs data synchronization. When a device node is detected to have data anomalies, the warning information is immediately synchronized to the entire Internet of Vehicles network and the warning information is simultaneously sent to the customer.

4. The vehicle network data security detection method based on blockchain technology as claimed in claim 3 is characterized in that: The warning information includes the device ID of the data anomaly, the problem type, the detection time, the data anomaly details, etc.

Citation Information

Patent Citations

  • Vehicle information management method, apparatus, device and system

    CN110047168A

  • Internet of Vehicles equipment identity authentication method based on blockchain technology

    CN110430061A

  • Internet of Vehicles node data security communication method based on block chain

    CN111601258A