Vehicle data encryption method and device in Internet of Vehicles environment

Through user-side attribute division, data risk feature mining and dual hash chain certificate numbering, combined with authorized agent unit and risk control evaluation, efficient encryption of vehicle data in the Internet of Vehicles environment is achieved, and the large amount of data and dynamic nature in the existing technology is solved. Strong problems improve safety and reliability.

CN119011147AActive Publication Date: 2024-11-22WUXI XINENG REAL ESTATE MANAGEMENT CO LTD +1

Patent Information

Application Number
CN202411491749.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2024-11-22
Estimated Expiration
2044-10-24

AI Technical Summary

Technical Problem

Existing vehicle data encryption technology is difficult to adapt to the large amount of data, strong dynamics and diverse sources in the Internet of Vehicles environment, and cannot meet the needs of high security and reliability.

Method used

Generate user lists through user-side attribute division, explore the data risk characteristics of the Velian Data Network, use dual hash chains to build aliases certificate numbers, combine with authorized agent units to encrypt data styles, and conduct risk control evaluation and differential relaxation conversion encryption.

Benefits of technology

It improves the encryption security and reliability of vehicle data, adapts to the large amount of data and strong dynamics in the Internet of Vehicles environment, and meets the needs of high security and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119011147A_ABST
    Figure CN119011147A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle data encryption method and device in an Internet of Vehicles environment, and relates to the technical field related to data communication, and the method comprises the steps: carrying out the user division according to attribute characteristics for a user side, and generating a user list; mining data risk characteristics of a vehicle networking data network, wherein the vehicle networking data network has fog computing nodes based on an encrypted pattern; an authorization agent unit is initialized and configured in a mode of constructing an alias certificate number by using double hash chains; executing data pattern encryption to generate a layer of encryption result; and performing risk control evaluation on the first-layer encryption result, executing two-layer differential relaxation conversion encryption for the sensitive data, and determining a data encryption result. The technical problem that high safety and reliability of vehicle data of the Internet of Vehicles cannot be met due to the fact that existing vehicle data encryption is difficult to adapt to large data volume, strong dynamic nature and various sources in the Internet of Vehicles environment is solved, and the technical effect of improving the safety and reliability of vehicle data encryption is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field related to data communication, and specifically to a vehicle data encryption method and device in a connected vehicle environment. Background Art

[0002] In today's wave of digital transformation, the Internet of Vehicles, as an important part of the intelligent transportation system, is developing at an unprecedented speed. By closely connecting vehicles with the Internet, other vehicles and infrastructure, efficient transmission and sharing of information is achieved, greatly improving traffic efficiency. However, with the widespread application of Internet of Vehicles technology, the rapid growth and complex interaction of vehicle data have also brought unprecedented data security challenges. Vehicle data in the Internet of Vehicles environment covers sensitive information such as vehicle location, driving trajectory, speed, driving habits, etc. If leaked or illegally used, it will pose a serious threat to personal privacy, corporate interests, etc. How to achieve effective encryption and protection of vehicle data while ensuring efficient data circulation has become a key issue that needs to be urgently solved in the development of Internet of Vehicles technology. Traditional data encryption methods often focus on improving the encryption strength of a single dimension, which is difficult to adapt to the characteristics of large data volume, strong dynamics and diverse sources in the Internet of Vehicles environment. In addition, traditional encryption mechanisms often rely on centralized trust models, and there are problems such as single point failures and trust bottlenecks. It is difficult to meet the needs of the Internet of Vehicles for high availability, high security and scalability.

[0003] Therefore, at the current stage, there are technical problems in vehicle data encryption-related technologies that are difficult to adapt to the large amount of data, strong dynamics, and diverse sources in the Internet of Vehicles environment, which in turn leads to the inability to meet the high security and reliability of vehicle data in the Internet of Vehicles. Summary of the invention

[0004] This application solves the technical problem that the existing vehicle data encryption is difficult to adapt to the large amount of data, strong dynamics and diverse sources in the Internet of Vehicles environment, which leads to the inability to meet the high security and reliability of vehicle data in the Internet of Vehicles, by providing a vehicle data encryption method and device in the Internet of Vehicles environment, thereby achieving the technical effect of improving the security and reliability of vehicle data encryption.

[0005] The present application provides a vehicle data encryption method in a vehicle networking environment, the method comprising: for the user side, dividing users according to attribute characteristics and generating a user list, wherein each attribute class in the user list is assigned an encryption pattern; mining the data risk characteristics of the vehicle-connected data network, wherein the vehicle-connected data network has fog computing nodes based on encryption patterns; constructing an alias certificate number in a double hash chain as a method, combining the user list and the data risk characteristics, and initializing the configuration of an authorization agent unit, wherein the authorization agent unit meets the trust standard and is not a third party, and the authorization and certificate are not in a one-to-one relationship; generating vehicle data, updating the alias certificate number in combination with the authorization agent unit, and performing data pattern encryption based on user attributes to generate a layer of encryption results; performing risk control evaluation on the layer of encryption results, performing a second layer of differential relaxation transformation encryption for sensitive data, and determining the data encryption results.

[0006] In a possible implementation, the vehicle-connected data network has fog computing nodes based on an encryption pattern, and also performs the following processing: traverse the user list to determine a data processing mode based on the encryption pattern; determine fog computing node specifications based on the data processing mode; traverse the vehicle-connected data network to determine high-load locations for data processing and locate computing extension nodes; based on the data processing mode-fog computing node specifications-computing extension nodes, extend the fog computing nodes of the vehicle-connected data network, wherein the fog computing nodes are used to share processing tasks.

[0007] In a possible implementation, the mining of data risk features of the vehicle-connected data network performs the following processing: establishing a vehicle-connected data network of the vehicle side, the communication network and the gimbal; calling the vehicle-connected data records of a preset time zone to mine risk confrontation points, wherein each risk confrontation point is marked with a risk level and a risk type; clustering the risk confrontation points, determining the data risk features and marking the vehicle-connected data network.

[0008] In a possible implementation, the alias certificate number is constructed by using a double hash chain, and the following processing is also performed: receiving authorization information from a regional authority and generating a first certificate number; identifying the authorization time limit of the authorization information and generating a certificate update permission mark; and performing certificate revocation and update management based on the first certificate number and the certificate update permission mark.

[0009] In a possible implementation, the certificate revocation and update management further performs the following processing: selecting two security seeds, combining a hash function and determining a link starting point, and constructing a first hash chain and a second hash chain; receiving a certificate update instruction, and determining a first hash value and a second hash value of a target location based on the first hash chain and the second hash chain; concatenating the first hash value and the second hash value to generate an updated certificate number; after generating the updated certificate number, combining the hash function to update the first hash chain and the second hash chain.

[0010] In a possible implementation, a two-layer differential relaxation transformation encryption is performed on sensitive data, and the following processing is also performed: traversing the sensitive data, balancing the data value and privacy, determining the differential relaxation, and setting the differential method; based on the differential method, performing differential transformation processing on the sensitive data to determine the data encryption result.

[0011] In a possible implementation, after determining the data encryption result, the following processing is also performed: receiving and merging the newly added vehicle data, identifying the sensitive data part and performing processing based on the differential method, and determining the merged encrypted data; performing differential failure evaluation on the merged encrypted data and generating differential update instructions; based on the differential update instructions, updating the merged sensitive data with differential conversion.

[0012] The present application also provides a vehicle data encryption device in a vehicle networking environment, including: a user list generation module, which is used to divide users according to attribute characteristics on the user side and generate a user list, wherein each attribute class in the user list is assigned an encryption pattern; a data risk feature mining module, which is used to mine the data risk features of the vehicle-connected data network, wherein the vehicle-connected data network has fog computing nodes based on encryption patterns; an authorization agent unit configuration module, which is used to initialize and configure the authorization agent unit in a manner of constructing an alias certificate number in a double hash chain, in combination with the user list and the data risk features, wherein the authorization agent unit meets the trusted standard and is not a third party, and the authorization and certificate are not in a one-to-one relationship; a first-layer encryption result generation module, which is used to generate vehicle data, update the alias certificate number in combination with the authorization agent unit, and perform data pattern encryption based on user attributes to generate a first-layer encryption result; a data encryption result determination module, which is used to perform risk control evaluation on the first-layer encryption result, perform a second-layer differential relaxation transformation encryption for sensitive data, and determine the data encryption result.

[0013] The vehicle data encryption method and device proposed in this application in the Internet of Vehicles environment is to divide users according to attribute characteristics and generate a user list for the user side; to mine the data risk characteristics of the Internet of Vehicles data network, where there are fog computing nodes based on encryption patterns; to initialize the configuration authorization proxy unit by building an alias certificate number with a double hash chain; to perform data pattern encryption and generate a layer of encryption results; to conduct risk control assessment on the first layer of encryption results, to perform a second layer of differential relaxation transformation encryption for sensitive data, and to determine the data encryption results. This solves the technical problem that the existing vehicle data encryption is difficult to adapt to the large amount of data, strong dynamics, and diverse sources in the Internet of Vehicles environment, which leads to the inability to meet the high security and reliability of vehicle data in the Internet of Vehicles, and achieves the technical effect of improving the security and reliability of vehicle data encryption. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solution of the embodiment of the present disclosure, the accompanying drawings of the embodiment of the present disclosure will be briefly introduced below. A flow chart is used in the present application to illustrate the operations performed by the device according to the embodiment of the present application. It should be understood that the previous or following operations are not necessarily performed precisely in order. On the contrary, various steps can be processed in reverse order or simultaneously as needed. At the same time, other operations can also be added to these processes, or one or more operations can be removed from these processes.

[0015] Figure 1 A schematic diagram of a vehicle data encryption method in a connected vehicle environment provided by an embodiment of the present application; Figure 2 A schematic diagram of the structure of a vehicle data encryption device in a connected vehicle environment provided in an embodiment of the present application.

[0016] Explanation of the reference numerals: user list generating module 10 , data risk feature mining module 20 , authorization proxy unit configuring module 30 , first layer encryption result generating module 40 , data encryption result determining module 50 . DETAILED DESCRIPTION

[0017] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below.

[0018] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0019] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict, and the terms "first\second" involved are merely to distinguish similar objects and do not represent a specific ordering of objects. The terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product, or server that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products, or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of this application. The terms used herein are for the purpose of describing the embodiments of the present application only.

[0020] The embodiment of the present application provides a vehicle data encryption method in a vehicle networking environment, such as Figure 1 As shown, the method includes: Step S100: for the user side, users are divided according to attribute characteristics to generate a user list, wherein each attribute class in the user list is assigned an encryption pattern.

[0021] Preferably, different users are classified according to their attribute characteristics (such as age, gender, geographic location, driving habits, etc.). Specifically, through detailed analysis of users, the attribute characteristics of each user, such as user identity information, behavior patterns, location data and usage habits, are identified and analyzed to identify the needs and sensitivities of different user groups in data access and processing. Then, based on the analysis results, the users are divided into different categories. For example, users can be grouped according to factors such as security needs, usage frequency, data sensitivity, etc. Each category can represent a specific user group, which is convenient for targeted implementation of security policies. The divided user information is organized into a user list. In this user list, the attribute characteristics of each user are recorded for subsequent encryption and security management. Among them, each attribute class in the user list is assigned an encryption style, which means that each user attribute class in the user list is assigned a specific encryption style, that is, different encryption strategies are adopted according to different attribute characteristics. For example, sensitive data (such as personal identity information) may require stronger encryption, while general information (such as vehicle status) may use a lighter encryption method. This encryption strategy ensures the security of data during transmission and reduces the risk of malicious attacks. By combining user segmentation with encryption styles, encryption strategies can be dynamically adjusted based on real-time risk assessment. If the risk level of a user increases, stronger encryption methods can be quickly applied to protect data security, providing a flexible and efficient solution for data protection in the Internet of Vehicles environment.

[0022] Step S100 further includes step S110, traversing the user list to determine a data processing mode based on an encryption pattern; step S120, determining fog computing node specifications based on the data processing mode; step S130, traversing the vehicle-connected data network to determine high-load locations for data processing and locate computing extension nodes; step S140, extending fog computing nodes for the vehicle-connected data network based on the data processing mode-fog computing node specifications-computing extension nodes, wherein the fog computing nodes are used to share processing tasks.

[0023] Preferably, the user list (including users of different attribute classes) is traversed, and the data processing mode suitable for the user or user group is determined according to the encryption requirements, encryption style, data sensitivity, processing performance requirements and possible compliance requirements (such as GDPR, HIPAA, etc.) of each user in the list, including selecting appropriate encryption algorithms, key management strategies, data encapsulation and transmission protocols, data storage methods, etc., to ensure that the data meets the standards during transmission and storage. For example, according to the sensitivity of the data, a suitable encryption algorithm (such as AES, RSA, etc.) and decryption process are selected, and a data transmission protocol suitable for the Internet of Vehicles environment, such as TLS, DTLS, etc., is selected to ensure the security of data transmission, and the storage format, encryption method and access control strategy of the data are determined; then, according to the determined data processing mode, a suitable fog computing node specification is selected, and the fog computing node specification includes but is not limited to computing power (the model and number of processors such as CPU, GPU, and memory size), storage capacity (the storage space size of the node, used to store temporary or long-term data), security features, such as the node's security hardware (such as TPM module), etc., to ensure the security of data on the node.

[0024] Preferably, the vehicle-connected data network is traversed to collect key information such as the operating status, data transmission volume, and processing task volume of nodes such as vehicles, roadside units (RSUs), and data centers. By analyzing the collected data, it is identified which locations or areas have the heaviest data processing tasks, that is, high-load locations. These locations may be busy roads, large parking lots, near data centers, etc., which require processing of a large amount of vehicle data, including location information, driving status, traffic signals, etc. After the high-load locations are determined, new fog computing nodes need to be selected or configured as computing extension nodes. These nodes will be deployed close to the data source to process data faster and reduce data transmission delays. The selection of computing extension nodes needs to consider multiple factors, such as geographical location, network access capabilities, Computing power, storage capacity, etc.; after determining the data processing mode, fog computing node specifications and computing extension node locations, start deploying these fog computing extension nodes in the actual network. The deployment process includes physical installation of nodes, network configuration, software installation and configuration, etc. By deploying computing extension nodes, the Internet of Vehicles can process data more efficiently, reduce the burden on central servers, and reduce data transmission delays. If the fog computing nodes are successfully deployed and connected to the Internet of Vehicles network, they will begin to undertake some data processing tasks, which may include real-time data analysis, data aggregation, data filtering, etc. By sharing the processing tasks of fog computing nodes, the Internet of Vehicles system can respond to data requests more quickly, improve the overall performance and response speed of the system, and improve overall safety performance.

[0025] Step S200, mining data risk characteristics of a vehicle-connected data network, wherein the vehicle-connected data network has fog computing nodes based on encryption patterns.

[0026] Preferably, the vehicle-connected data network is a complex network system, including a large number of vehicles, roadside units (RSU), data centers and other nodes. Mining the data risk characteristics of the vehicle-connected data network refers to analyzing the data transmitted and stored in the vehicle-connected data network to identify potential security risks and vulnerabilities. These risk characteristics may include data sensitivity, access frequency, transmission path, etc. Specifically, identify which data is sensitive information, such as user location information, driving habits, vehicle identification code, etc. Once these data are leaked, it may cause user privacy to be violated or security risks to increase. Monitor the transmission path of data in the network, understand how data is transmitted from the vehicle to the cloud or other nodes, identify potential risk points, such as insecure intermediate nodes or vulnerable communication channels, analyze the frequency and pattern of data access, and identify abnormal behavior. For example, a user suddenly and frequently accesses sensitive data, which may indicate the risk of data theft; vulnerability assessment, evaluate the security of each node in the network, including software vulnerabilities, unencrypted data transmission, etc., to identify weaknesses that may be attacked.

[0027] Preferably, fog computing nodes based on encryption patterns refer to fog computing nodes that process data by applying specific encryption patterns in the Internet of Vehicles environment. These fog computing nodes are usually located closer to the data source and can provide low-latency computing and storage services. By extending the encryption pattern to these nodes, data can be quickly encrypted and processed locally, thereby improving the security of data transmission and reducing the risk of data being intercepted or tampered with. Specifically, fog computing nodes are usually deployed closer to the data source (such as a vehicle) and can process data locally, reduce latency, and improve real-time response capabilities. Specific encryption methods are applied to these nodes, such as end-to-end encryption of data to ensure that even if the data is intercepted during transmission, it cannot be interpreted. By dynamically adjusting the encryption pattern of the node, the adaptability of the system is enhanced. For example, when abnormal traffic or risks are detected, it can quickly switch to a stronger encryption method. Fog computing allows data to be processed in a distributed manner among multiple nodes, which not only improves data processing efficiency, but also reduces the risk of single point failures and increases the security of the overall system.

[0028] Step S200 further includes step S210, establishing a vehicle-connected data network of the vehicle side, the communication network and the gimbal; step S220, calling the vehicle-connected data records of the preset time zone to mine risk confrontation points, wherein each risk confrontation point is marked with a risk level and a risk type; step S230, clustering the risk confrontation points, determining the data risk characteristics and marking the vehicle-connected data network.

[0029] Preferably, the vehicle side (such as smart cars, on-board equipment, etc.), communication networks (such as cellular networks, Wi-Fi, LoRa, NB-IoT, etc.) and cloud platforms (or cloud platforms, i.e., cloud data centers) are interconnected to form a network system that can transmit and process vehicle data in real time, i.e., establish a vehicle-connected data network, in which the vehicle side is the source of data and is responsible for collecting various information about the vehicle, such as location, speed, acceleration, vehicle status (such as fuel level, tire pressure), driving behavior, etc.; the communication network is the channel for data transmission, ensuring that the data between the vehicle side and the cloud platform can be transmitted safely and quickly; the cloud platform (cloud platform) is the center of data processing and storage, responsible for receiving data from the vehicle side, and the cloud platform can transmit data quickly and safely. The data on the vehicle side is stored, analyzed, and processed, and corresponding services (such as navigation, vehicle monitoring, fault warning, etc.) are provided; then, according to the preset time interval (such as one day, one week, one month, etc.), the corresponding data records are called from the vehicle-connected data network, which contain the vehicle's status information and behavior data at different time points. These data records are deeply analyzed to discover possible risk confrontation points. Risk confrontation points refer to anomalies or potential threats shown in the data, which may represent hidden dangers to vehicle safety, data security or network security. Each risk confrontation point will be marked with a risk level (such as high, medium, low) and risk type (such as data leakage, network attack, abnormal driving behavior, etc.).

[0030] Preferably, after identifying the risk confrontation points, cluster analysis is performed on these points. Cluster analysis is a process of grouping data objects into multiple classes or clusters, so that objects in the same cluster have higher similarities, while objects in different clusters have greater differences. By clustering the risk confrontation points, potential patterns and regularities in the data can be discovered, so as to more accurately determine the data risk characteristics. After determining the data risk characteristics, the vehicle-connected data network is marked accordingly. These marks can be geographic markers indicating the risk location, labels indicating the risk type, or identifiers for distinguishing different risk levels. Through these marks, risk points in the vehicle-connected data network can be monitored and managed in real time to ensure data security and network stability.

[0031] Step S300, constructing an alias certificate number by double hash chain, combining the user list and the data risk characteristics, and initializing the configuration of the authorization proxy unit, wherein the authorization proxy unit meets the trust standard and is not a third party, and the authorization and the certificate are not one-to-one.

[0032] Preferably, a hash chain is a data structure that uses a hash function to link a series of data blocks (or blocks), and each data block contains the hash value of the previous data block as part of it. A double hash chain may refer to the use of two or two different hash functions to build a chain in this process to enhance security and complexity. Using a double hash chain to build an alias certificate number means that the certificate number is not directly generated, but is the result of two hash processes (possibly different hash functions). This processing method can effectively prevent forgery and tampering; the alias number of a certificate is an identifier used to uniquely identify a certificate, but does not directly expose the actual content or sensitive information of the certificate. The alias certificate number generated by the double hash chain increases the difficulty for attackers to crack and forge certificates, thereby improving the security of the system.

[0033] Preferably, the authorization proxy unit is then initialized and configured in combination with the user list and data risk characteristics. Specifically, the authorization proxy unit is a middleware or service responsible for permission management and authorization. It determines whether the user has the right to access specific resources or services based on the user's request and the system's security policy. The authorization proxy unit needs to meet the trust standard and be non-third-party, which means that it should be operated and managed by an internal trusted organization or department, rather than relying on an external third-party service provider. In traditional authentication methods, certificates often have a one-to-one mapping relationship with authorization permissions, that is, one certificate corresponds to a fixed set of permissions. The authorization and certificate are not in a one-to-one relationship, which means that one certificate may correspond to multiple different permissions or roles, or multiple certificates may share the same set of permissions, which can more flexibly respond to different security needs and scenarios.

[0034] Preferably, two or two groups of different hash functions are selected, a series of data blocks are generated according to the user list and data risk characteristics, each data block is hashed in turn using the selected hash function, and the hash value of the previous data block is used as part of the next data block, a double hash chain is constructed, and the end value of the hash chain is used as the alias certificate number; the architecture and functions of the authorization agent unit are designed according to the system's security policy and user needs, the user list and data risk characteristics are used as input, different permissions and roles are assigned to different users through specific algorithms or rules, ensuring that the operating environment and data security of the authorization agent unit meet the trusted standards, and a flexible permission mapping mechanism is designed in the authorization agent unit, allowing one certificate to correspond to multiple permissions or roles, or multiple certificates to share the same permission set, and the permission mapping relationship is managed through configuration files or databases, and dynamically adjusted as needed to improve overall security and flexibility and better meet security requirements in different scenarios.

[0035] Step S300 further includes step S310, receiving authorization information from a regional authority and generating a first certificate number; step S320, identifying the authorization time limit of the authorization information and generating a certificate update permission mark; and step S330, performing certificate revocation and update management based on the first certificate number and the certificate update permission mark.

[0036] Preferably, authorization information about a specific user or entity is received from a regional authorization agency (which may be a relevant department, industry association or other agency with legal authorization qualifications), which usually includes key elements such as user identity authentication, authorization scope, and authorization period. Based on this information, a unique certificate number, namely the first certificate number, is generated. This number will serve as a unique identifier for the user or entity to perform identity authentication and authority management in the system; after the first certificate number is generated, the authorization time limit field in the authorization information is further analyzed to determine the validity period of the certificate, wherein the validity period is the time period during which the certificate remains valid and can be used for identity authentication and authority management; based on the identification result of the authorization time limit, a certificate update permission mark is generated to indicate whether the certificate is allowed to be updated when the certificate is about to expire or has expired, which may be a simple A Boolean value (allowed / not allowed) or a complex data structure containing update conditions and time windows; the certificate revocation and update operations are performed according to the first certificate number and the certificate update permission mark. If the certificate's validity period has expired, or the certificate needs to be revoked due to other reasons (such as user permissions being revoked), the certificate will be marked as invalid and deleted or archived from the system. The user will not be able to use the certificate for identity authentication or permission management; if the certificate is still within the validity period but is about to expire, and the certificate update permission mark indicates that update is allowed, a new certificate number will be generated according to the predetermined update process, and the user's certificate information will be updated. This new certificate will inherit some or all of the permissions of the original certificate and have a new validity period; the validity and security of the certificate are ensured, and flexible certificate management services are also provided for users.

[0037] Step S330 further includes step S331, selecting two security seeds, combining the hash function and determining the starting point of the link, and constructing the first hash chain and the second hash chain; step S332, receiving the certificate update instruction, and determining the first hash value and the second hash value of the target position based on the first hash chain and the second hash chain; step S333, concatenating the first hash value and the second hash value to generate an updated certificate number; step S334, after generating the updated certificate number, combining the hash function to update the first hash chain and the second hash chain.

[0038] Preferably, the security and traceability of the certificate number are ensured by combining two security seeds, a hash function and a certificate update instruction. Specifically, two security seeds are selected. The security seed is a set of data generated randomly or predefined to increase the complexity and security of the hash chain. It can be a hash value of a random number, a timestamp, or a user ID. Then, based on its security, collision resistance, and computational efficiency, a hash function is selected and combined to determine the starting point of the link. The hash function is used to generate each hash value in the hash chain. The two security seeds are used as inputs. After being processed by the hash function, the starting point of the link is obtained. The starting point of the link is the first hash value of the hash chain. The same hash function and security seeds are used, but they may be processed in different orders or ways to construct two independent hash chains, which are used to generate and verify different parts or stages of the certificate number respectively. When the certificate number needs to be updated (for example, the certificate is about to expire or the user's authority changes), a certificate update instruction is received. According to the requirements in the update instruction (such as a new timestamp, authority level, etc.), the corresponding target position is found in the first hash chain and the second hash chain. The target position may be determined based on a certain rule (such as a time interval, the number of authority changes, etc.). Then, the first hash value and the second hash value of the target position are extracted from the two chains respectively.

[0039] Preferably, the first hash value and the second hash value extracted from the first hash chain and the second hash chain are concatenated, such as simple string concatenation, and the concatenated result will be used as part or all of the new certificate number. Other information (such as user ID, timestamp, permission identifier, etc.) may also be combined with the hash value to generate a complete updated certificate number. After the updated certificate number is generated, the new information (such as new timestamp, permission change record, etc.) is added to the end of the chain after being processed by the hash function, and the first hash chain and the second hash chain are updated to ensure that they can continue to be used for subsequent certificate number generation and verification processes. When updating the hash chain, it is necessary to ensure that the continuity of the chain is not destroyed, that is, the new hash value should be generated based on the previous hash value and can be traced back to the starting point of the chain through the hash chain. In this way, even if the certificate number is tampered with or forged, the abnormality can be discovered by verifying the integrity of the hash chain.

[0040] Step S400, generating vehicle data, updating the alias certificate number in conjunction with the authorization proxy unit, and performing data pattern encryption based on user attributes to generate a layer of encryption results.

[0041] Preferably, various information is collected from the vehicle-mounted device or vehicle electronic control unit (ECU) through hardware devices such as sensors and actuators and transmitted to the data processing center through the vehicle network, such as speed, location, fuel consumption, engine status, etc., which is the vehicle data, which may include real-time data and historical data for vehicle monitoring, fault diagnosis, performance optimization, etc., and then the alias certificate number is updated in conjunction with the authorization agent unit. Specifically, when the certificate needs to be updated (such as when the certificate expires, the user's authority changes, etc.), the authorization agent unit generates a new alias certificate number based on the new user attributes, authority information or other relevant rules, such as by interacting with the certificate authority (CA) to obtain a new certificate signature or key, and perform data pattern encryption based on user attributes, that is, select a suitable encryption scheme based on the user's attributes. For example, for different types of vehicles Different encryption algorithms and key lengths are used for data (such as sensitive information and non-sensitive information), and access rights to encrypted data are restricted according to the user's permission level. User attributes refer to characteristic information related to user identity, permissions, roles, etc. In the Internet of Vehicles, user attributes may include the user's vehicle type, usage scenario, service requirements, etc.; data-style encryption is a method of customizing encryption schemes based on the content and structure of data. It is not just a simple encryption of data, but a design of appropriate encryption algorithms, key management strategies and encryption modes based on the characteristics of the data and user needs; finally, after data-style encryption processing based on user attributes, the vehicle data will be converted into a layer of encryption results, which can only be decrypted and accessed by users with corresponding permissions and keys, ensuring the security, integrity and availability of vehicle data.

[0042] Step S500, performing risk control assessment on the first-layer encryption result, executing second-layer differential relaxed transformation encryption for sensitive data, and determining the data encryption result.

[0043] Preferably, in the field of data encryption, risk control assessment is a key link to ensure the effectiveness of encryption strategies and data protection measures. Specifically, for the first-layer encryption results, risk control assessment mainly includes encryption strength assessment, which assesses whether the algorithm and key length used in the first-layer encryption are secure enough to resist possible attacks in the current and future period of time; data integrity verification, which checks whether the data remains intact during the encryption process and has not been tampered with or damaged; compliance checks, which ensure that encryption operations comply with relevant requirements, such as GDPR and other regulations on personal data protection; performance impact analysis, which assesses the impact of encryption on performance, including the computing resources and time cost required for the encryption and decryption processes; and then performs a second-layer differential relaxation transformation encryption for sensitive data. Differential privacy is a technology that protects personal privacy by adding noise to data or query results. Relaxation transformation may refer to introducing a certain degree of flexibility or adjustment in the encryption process to adapt to the environment. In response to different encryption needs and security requirements, that is, on the basis of one layer of encryption, differential privacy technology is further used to process sensitive data, and some form of relaxation mechanism may be combined to optimize the encryption effect. Specifically, in the first layer of encrypted data, sensitive data fields or records that need special protection are identified, and differential privacy technology is applied to these sensitive data. By adding an appropriate amount of noise to cover up the sensitive information in the original data, it is ensured that privacy can be protected without excessively affecting the availability of the data. Then, on the basis of differential privacy processing, a relaxation mechanism is introduced according to actual needs, which may include adjusting the noise addition strategy, changing the parameters of the encryption algorithm, etc. to optimize the encryption effect and performance. After the second layer of differential relaxation conversion encryption, the final data encryption result is obtained. This result not only protects the privacy of sensitive data, but also meets the data availability and compliance requirements, further improves data security, and reduces the risk of data leakage and privacy infringement.

[0044] Step S500 further includes step S510, traversing the sensitive data, balancing the data value and privacy, determining the differential relaxation, and setting the differential method; step S520, based on the differential method, performing differential conversion processing on the sensitive data to determine the data encryption result.

[0045] Preferably, the data stored in the database is traversed to identify which data is sensitive. Sensitive data usually includes personal information (such as name, address, telephone number), financial information, health records, etc. After the sensitive data is determined, the data value and privacy are balanced. Specifically, multiple factors such as relevant requirements, user privacy preferences, purpose and method of data use, etc. are considered to evaluate the value and privacy of these sensitive data. The value of data may be related to its importance to business decisions, market analysis or user services; while privacy reflects the degree of risk that may be caused by data leakage, ensuring that the value of data is fully utilized while protecting the privacy of users to the greatest extent. Then, based on the evaluation results of data value and privacy, as well as specific application scenarios and security requirements, the differential relaxation is determined. The differential relaxation balances the relationship between data privacy protection and data availability by adjusting the amount of noise added to the data. The larger the amount of noise, the higher the privacy protection, but the data availability will also be reduced accordingly. Conversely, the lower the privacy protection, but the data availability increases. For data with lower value but higher privacy, a higher differential relaxation can be selected; while for data with higher value and relatively lower privacy, the differential relaxation can be appropriately reduced.

[0046] Preferably, when setting the differential mode, it is necessary to consider the characteristics of the data (such as numerical type, categorical type, etc.), the query requirements (such as count query, range query, etc.) and the requirements of differential relaxation. The differential mode refers to how to specifically add noise to the data to protect privacy in differential privacy technology. Common differential modes include Laplace mechanism, exponential mechanism, etc. By selecting a suitable differential mode, it can be ensured that while protecting privacy, the availability of data is maintained as much as possible; after determining the differential relaxation and differential mode, the sensitive data is differentially transformed, which specifically refers to converting the original data into data protected by differential privacy, that is, adding an appropriate amount of noise to the original data. The result of the differential transformation will be an encrypted data set, in which the sensitive data has been effectively protected while maintaining the availability and compliance of the data, thereby ensuring data security and personal privacy.

[0047] Step S500 further includes step S530, receiving and merging the newly added vehicle data, identifying the sensitive data part and performing processing based on the differential method to determine the merged encrypted data; step S540, performing differential failure assessment on the merged encrypted data and generating a differential update instruction; step S550, based on the differential update instruction, performing an updated differential conversion on the merged sensitive data.

[0048] Preferably, newly added vehicle data is received from different sources (such as vehicle manufacturers, vehicle operators, third-party data providers, etc.), which may include basic vehicle information (such as vehicle model, license plate number, VIN code), location information, driving data, maintenance records, etc., and these newly added data are integrated and merged to form a complete data set. In the process of merging data, sensitive data parts are automatically identified, including personal identity information (such as owner's name, contact information), vehicle location trajectory, driving habits, etc., and then these sensitive data are processed using a set differential method, that is, adding an appropriate amount of noise to the sensitive data or performing other forms of conversion to protect privacy while maintaining data availability as much as possible, forming merged encrypted data, which not only contains necessary information for subsequent analysis, but also reduces the risk of privacy leakage.

[0049] Preferably, the merged encrypted data is then subjected to differential failure assessment, i.e., the differential privacy protection effect is checked. Specifically, a statistical analysis is performed on the data set to assess whether the data after differential processing still retains sufficient privacy protection, and whether the data availability is not greatly affected, and whether the differential processing effect meets expectations. For example, based on the same differential method, some privacy data can be inferred based on the differential data before and after the update. For example, if one vehicle traffic data is added, the number of vehicles passing a certain road checkpoint is added. The basic information such as the path can be inferred through the correlation of various types of data. For some confidential trips, further analysis and processing are required. The differential failure assessment results show that the differential processing method or parameters need to be adjusted, and finally a differential update instruction is generated to guide how to update the differential conversion of the existing merged sensitive data to improve the privacy protection effect or optimize the data availability. Finally, according to the differential update instruction, the merged sensitive data is updated and differentially converted, i.e., the amount of noise added is adjusted, the differential method is changed, or other related parameters are adjusted. The updated data will better balance the relationship between privacy protection and data availability, and provide safer and more effective data support for subsequent data analysis and other applications.

[0050] In the above, refer to Figure 1 The vehicle data encryption method in the vehicle networking environment according to the embodiment of the present invention is described in detail. Figure 2 A vehicle data encryption device in a vehicle networking environment according to an embodiment of the present invention is described.

[0051] The vehicle data encryption device in the vehicle networking environment according to the embodiment of the present invention is used to solve the technical problem that the existing vehicle data encryption is difficult to adapt to the large amount of data, strong dynamics, and diverse sources in the vehicle networking environment, which leads to the inability to meet the high security and reliability of vehicle data in the vehicle networking environment, and achieves the technical effect of improving the security and reliability of vehicle data encryption. The vehicle data encryption device in the vehicle networking environment includes: a user list generation module 10, a data risk feature mining module 20, an authorization proxy unit configuration module 30, a first-layer encryption result generation module 40, and a data encryption result determination module 50.

[0052] A user list generation module 10 is used to divide users according to attribute characteristics and generate a user list, wherein each attribute class in the user list is given an encryption pattern; A data risk feature mining module 20, for mining data risk features of a vehicle-connected data network, wherein the vehicle-connected data network has fog computing nodes based on encryption patterns; The authorization proxy unit configuration module 30 is used to initialize and configure the authorization proxy unit by constructing an alias certificate number in a double hash chain, combining the user list and the data risk characteristics, wherein the authorization proxy unit meets the trust standard and is not a third party, and the authorization and the certificate are not in a one-to-one relationship; A first-layer encryption result generation module 40 is used to generate vehicle data, update the alias certificate number in conjunction with the authorization agent unit, and perform data pattern encryption based on user attributes to generate a first-layer encryption result; The data encryption result determination module 50 is used to perform risk control evaluation on the first-layer encryption result, execute second-layer differential relaxed transformation encryption for sensitive data, and determine the data encryption result.

[0053] The specific configuration of the user list generation module 10 will be described in detail below. The user list generation module 10 further includes: traversing the user list to determine a data processing mode based on an encryption pattern; determining fog computing node specifications based on the data processing mode; traversing the vehicle-connected data network to determine a high-load location for data processing and locate a computing extension node; and extending the vehicle-connected data network with fog computing nodes based on the data processing mode-fog computing node specifications-computing extension nodes, wherein the fog computing nodes are used to share processing tasks.

[0054] The specific configuration of the data risk feature mining module 20 will be described in detail below. The data risk feature mining module 20 may further include: establishing a vehicle-connected data network of the vehicle end, the communication network and the gimbal; calling the vehicle-connected data records of a preset time zone to mine risk confrontation points, wherein each risk confrontation point is marked with a risk level and a risk type; clustering the risk confrontation points, determining the data risk features and marking the vehicle-connected data network.

[0055] The specific configuration of the authorization proxy unit configuration module 30 will be described in detail below. The authorization proxy unit configuration module 30 may further include: receiving authorization information from a regional authority and generating a first certificate number; identifying the authorization time limit of the authorization information and generating a certificate update permission mark; and performing certificate revocation and update management based on the first certificate number and the certificate update permission mark.

[0056] The specific configuration of the authorization proxy unit configuration module 30 will be described in detail below. The authorization proxy unit configuration module 30 may further include: selecting two security seeds, combining the hash function and determining the link starting point, and constructing the first hash chain and the second hash chain; receiving the certificate update instruction, and determining the first hash value and the second hash value of the target position based on the first hash chain and the second hash chain; concatenating the first hash value and the second hash value to generate an update certificate number; after generating the update certificate number, combining the hash function, updating the first hash chain and the second hash chain.

[0057] The specific configuration of the data encryption result determination module 50 will be described in detail below. The data encryption result determination module 50 may further include: traversing the sensitive data, balancing the data value and privacy, determining the differential relaxation, setting the differential method; based on the differential method, performing differential conversion processing on the sensitive data to determine the data encryption result.

[0058] The specific configuration of the data encryption result determination module 50 will be described in detail below. The data encryption result determination module 50 may further include: receiving and merging the newly added vehicle data, identifying the sensitive data part and performing processing based on the differential method, and determining the merged encrypted data; performing differential failure evaluation on the merged encrypted data and generating a differential update instruction; and performing an update differential conversion on the merged sensitive data based on the differential update instruction.

[0059] The vehicle data encryption device in the vehicle networking environment provided by the embodiment of the present invention can execute the vehicle data encryption method in the vehicle networking environment provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0060] Although the present application makes various references to certain modules in the device according to the embodiments of the present application, any number of different modules may be used and run on the user terminal and / or server, and the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0061] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A vehicle data encryption method in a vehicle networking environment, characterized in that: The method comprises: On the user side, users are divided according to their attribute characteristics to generate a user list, wherein each attribute class in the user list is given an encryption pattern; Mining data risk characteristics of vehicle-connected data networks that contain fog computing nodes based on encryption patterns; By constructing an alias certificate number in a double hash chain, the authorization proxy unit is initialized and configured in combination with the user list and the data risk characteristics, wherein the authorization proxy unit meets the trust standard and is not a third party, and the authorization and the certificate are not in a one-to-one relationship; Generate vehicle data, update the alias certificate number in conjunction with the authorization agent unit, and perform data pattern encryption based on user attributes to generate a layer of encryption results; A risk control assessment is performed on the first-layer encryption result, and a second-layer differential relaxation transformation encryption is performed on the sensitive data to determine the data encryption result.

2. The vehicle data encryption method in a vehicle networking environment as claimed in claim 1, characterized in that: The vehicle-connected data network has fog computing nodes based on encryption, including: Traversing the user list to determine a data processing mode based on the encryption pattern; Determining fog computing node specifications based on the data processing mode; Traversing the vehicle-connected data network, determining high-load locations for data processing, and locating and calculating extended nodes; Based on the data processing mode-fog computing node specification-computing extension node, the vehicle-connected data network is extended with fog computing nodes, wherein the fog computing nodes are used to share processing tasks.

3. The vehicle data encryption method in a vehicle networking environment as claimed in claim 1, characterized in that: The data risk characteristics of the mining vehicle data network include: Establish a vehicle-connected data network for the vehicle side, communication network and gimbal; Call the vehicle data records of the preset time zone to mine risk confrontation points, where each risk confrontation point is marked with risk level and risk type; The risk confrontation points are clustered, data risk characteristics are determined and marked for the connected vehicle data network.

4. The vehicle data encryption method in a vehicle networking environment as claimed in claim 1, characterized in that: The alias certificate number is constructed by double hash chain, including: Receiving authorization information from a regional authorization agency and generating a first certificate number; Identify the authorization time limit of the authorization information and generate a certificate update permission mark; Based on the first certificate number and the certificate update permission mark, certificate revocation and update management are performed.

5. The vehicle data encryption method in a vehicle networking environment as claimed in claim 4, characterized in that: The certificate revocation and renewal management includes: Select two security seeds, combine the hash function and determine the starting point of the link, and build the first hash chain and the second hash chain; Receive a certificate update instruction, and determine a first hash value and a second hash value of a target location based on the first hash chain and the second hash chain; Concatenate the first hash value and the second hash value to generate an update certificate number; After the update certificate number is generated, the first Hash chain and the second Hash chain are updated in combination with the Hash function.

6. The vehicle data encryption method in a vehicle networking environment as claimed in claim 1, characterized in that: Performs two-layer differential relaxed transform encryption for sensitive data, including: Traverse the sensitive data, balance the data value and privacy, determine the differential relaxation, and set the differential method; Based on the differential method, differential conversion processing is performed on the sensitive data to determine the data encryption result.

7. The vehicle data encryption method in a vehicle networking environment as claimed in claim 6, characterized in that: After the data encryption result is determined, it includes: Receive and merge the newly added vehicle data, identify the sensitive data part and perform processing based on the differential method, and determine the merged encrypted data; Performing differential failure assessment on the combined encrypted data to generate differential update instructions; Based on the differential update instruction, the merged sensitive data is updated with a differential conversion.

8. A vehicle data encryption device in a vehicle networking environment, characterized in that: The device is used to implement the vehicle data encryption method in a vehicle networking environment according to any one of claims 1 to 7, and the device includes: A user list generation module is used to divide users according to attribute characteristics and generate a user list for the user side, wherein each attribute class in the user list is given an encryption pattern; A data risk feature mining module, used to mine data risk features of a vehicle-connected data network, where the vehicle-connected data network has fog computing nodes based on encryption patterns; An authorization proxy unit configuration module is used to initialize and configure an authorization proxy unit by building an alias certificate number in a double hash chain, combining the user list and the data risk characteristics, wherein the authorization proxy unit meets the trust standard and is not a third party, and the authorization and the certificate are not in a one-to-one relationship; A first-layer encryption result generation module, used to generate vehicle data, update the alias certificate number in conjunction with the authorization agent unit, and perform data pattern encryption based on user attributes to generate a first-layer encryption result; The data encryption result determination module is used to perform risk control evaluation on the first-layer encryption result, execute the second-layer differential relaxation transformation encryption for sensitive data, and determine the data encryption result.

Citation Information

Patent Citations

  • Internet of Vehicles distributed authentication method based on controllable privacy

    CN104853351A

  • A safe vehicle crowd sensing method based on fog computing

    CN109862114A

  • Internet of vehicles certificate authentication method based on block chain

    CN115102695A

  • Data sharing security verification method and system based on differential privacy

    CN117454408A

  • Internet of vehicles security evaluation system based on block chain

    CN117857220A

Cited By

  • Multilevel information safety protection system, method and equipment for electric vehicle and medium

    CN120639397A