Dynamic management method for security resources of Internet of Vehicles based on transfer learning and multi-agent game

By introducing transfer learning and multi-agent game technology into the Internet of Vehicles system, the problems of insufficient dynamic adaptability and resource allocation efficiency of Internet of Vehicles security technology are solved, and efficient security management and rapid adaptation in complex scenarios are achieved.

CN118540693APending Publication Date: 2024-08-23TSINGHUA SHENZHEN INTERNATIONAL GRADUATE SCHOOL
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410502402.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing Internet of Vehicles security technologies have deficiencies in dynamic adaptability, resource allocation efficiency, and rapid cross-domain migration, making it difficult to effectively respond to security challenges in complex and ever-changing actual scenarios.

Method used

Adopt a dynamic management method of Internet of Vehicles security resources based on transfer learning and multi-agent games to achieve dynamic allocation of resources and optimization of security strategies through real-time data collection, multi-modal data fusion, agent resource exchange game models and scene mutation prediction models. .

Benefits of technology

It has significantly improved the security performance of the Internet of Vehicles system, ensuring efficient and reliable protection in changing scenarios and complex security challenges, optimizing the efficiency of resource allocation and quickly adapting to new environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure SMS_9
    Figure SMS_9
  • Figure SMS_11
    Figure SMS_11
  • Figure SMS_22
    Figure SMS_22
Patent Text Reader

Abstract

The invention discloses an Internet of Vehicles security resource dynamic management method based on transfer learning and multi-agent game. The method comprises the following steps: collecting real-time data of a vehicle state, a traffic condition and environment information; carrying out multi-modal data fusion on the collected real-time data; a multi-agent game model is constructed by regarding nodes in an Internet of Vehicles system as agents and regarding resource exchange between the agents as a game, and a resource dynamic allocation strategy between the agents is determined by solving the game and combining fused data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to vehicle networking resource management technology in the communication field, and in particular to a vehicle networking security resource dynamic management method based on transfer learning and multi-agent game and a related system. Background Art

[0002] In the current development of Internet of Vehicles technology, security has always been a core topic of research and application. Existing Internet of Vehicles security solutions usually rely on fixed protection mechanisms and static resource allocation modes, such as traditional encryption technology, access control, and firmware updates. These solutions perform well when dealing with standard security issues, but they are powerless when faced with dynamically changing scenarios and complex security requirements. For example, when a vehicle enters an unknown environment or an emergency occurs, existing systems often find it difficult to quickly adapt to new security threats. In addition, the diversity and complexity of sensor data make it difficult for a single-mode data processing and early warning system to meet security requirements in changing scenarios.

[0003] In terms of multi-agent systems, although they have shown certain potential in resource allocation, existing technologies mostly adopt predetermined strategies and lack dynamic learning and adaptability, making it difficult to effectively respond to emergencies and unknown threats in practical applications. Although transfer learning technology has been proposed for rapid model adaptation, in the actual application of the Internet of Vehicles, how to effectively integrate transfer learning into the resource allocation and security management of multi-agents is still an unresolved problem. Existing Internet of Vehicles security systems still show problems of insufficient adaptability and inefficient resource allocation when facing challenges such as dynamic environmental changes, new attack methods, and uneven data distribution.

[0004] In summary, existing IoV security technologies have obvious deficiencies in terms of dynamic adaptability, resource allocation efficiency, and rapid cross-domain migration. These deficiencies limit the effectiveness of IoV security systems in complex and ever-changing real-world scenarios, and pose challenges to ensuring user safety and data integrity. Summary of the invention

[0005] In view of this, the present invention proposes a dynamic management method for Internet of Vehicles security resources based on transfer learning and multi-agent game. By introducing multi-agent game, the problem that traditional resource allocation methods cannot effectively manage and optimize resource allocation and security in the Internet of Vehicles system in a dynamically changing environment is solved.

[0006] In order to solve the above problems, the present invention proposes the following technical solutions:

[0007] A method for dynamic management of security resources in an Internet of Vehicles system based on transfer learning and multi-agent game, comprising: collecting real-time data on vehicle status, traffic conditions and environmental information; performing multi-modal data fusion on the collected real-time data; considering nodes in the Internet of Vehicles system as agents, and considering resource exchange between agents as a game, constructing a multi-agent game model, and determining a dynamic resource allocation strategy between agents by solving the game and combining the fused data.

[0008] The beneficial effects of the above technical solution of the present invention are as follows: the present invention introduces multi-agent game theory, constructs a multi-agent game model, and solves the game between agents to ensure that the efficiency of security resource allocation is optimized through competition and cooperation under the condition of limited resources, thereby realizing effective dynamic management and optimized allocation of security resources. Ultimately, the security performance of the Internet of Vehicles is significantly improved, ensuring efficient and reliable protection in changing scenarios and complex security challenges.

[0009] Furthermore, the method for dynamic management of vehicle network security resources also includes: preprocessing the collected real-time data, and extracting and standardizing the features of the preprocessed real-time data; wherein the feature extraction and standardization include: extracting the vehicle coordinates, three-axis acceleration and three-axis rotation rate, vehicle speed, vehicle flow and vehicle density, as well as the features of ambient temperature, ambient humidity and road conditions from the preprocessed real-time data; and standardizing the extracted features to eliminate dimensional effects and data deviations between different sensors. In this further technical solution, by preprocessing the data and integrating multi-source data information from multiple different types of sensors, cleaned and high-quality data is provided for subsequent steps, further solving the problem that the existing vehicle network security system is difficult to effectively collect and process data from a complex vehicle network environment.

[0010] Furthermore, the multimodal data fusion of the collected real-time data includes: constructing a feature space for each sensor output to represent the key information of the sensor data; calculating the information metric of each feature space, which is an indicator for evaluating the weight of the feature of each sensor in data fusion; assigning a weight to the feature of each sensor according to the information metric, which is proportional to the information metric of the feature space of the corresponding sensor; and using the weight to perform weighted fusion of the features of different types of sensors. In this further technical solution, the data from different types of sensors are effectively synchronized and unified through a unified feature space construction and weighted fusion strategy; and data redundancy is effectively handled and information utilization is optimized through information metric and adaptive weight allocation.

[0011] Furthermore, the nodes in the Internet of Vehicles system are regarded as intelligent agents, and the resource exchange between intelligent agents is regarded as a game, a multi-agent game model is constructed, and the dynamic resource allocation strategy between the various intelligent agents is determined by solving the game and combining the fused data, including: defining a node in the Internet of Vehicles system as an intelligent agent, and the resources owned by each intelligent agent include bandwidth, computing power and / or information, and seeking to maximize its utility by exchanging resources; considering the effective use of resources and the satisfaction of needs, defining the utility function of the intelligent agent; regarding the resource exchange between intelligent agents as a game, solving the game by finding the Nash equilibrium point to maximize the utility of the intelligent agent itself; wherein, the Lagrange multiplier method and the gradient descent method are used to solve the Nash equilibrium, that is, to find a strategy combination so that any intelligent agent changing its strategy will not increase its utility.

[0012] Furthermore, the method for dynamic management of security resources in the Internet of Vehicles also includes: constructing a scene mutation prediction model based on machine learning, and predicting scene changes based on the collected real-time data and the fused data.

[0013] Furthermore, the construction of the scene mutation prediction model based on machine learning includes: constructing the scene mutation prediction model using a vehicle dynamics model and an environmental response model; wherein the vehicle dynamics model considers the lateral and longitudinal movement of the center of mass of the vehicle, and the environmental response model simulates the response of the vehicle under different road conditions based on the change of the friction coefficient between the vehicle and the road surface;

[0014] The prediction of scene changes based on the collected real-time data and the fused data includes:

[0015] Based on the collected real-time data, the parameters of the scene mutation prediction model are adjusted through machine learning; the real-time driving data of the vehicle and the data of the environment in which it is located are collected, and then the deviation between the predicted output of the scene mutation prediction model and the actual observed data is calculated to identify the anomalies between the actual observed data and the expectations; the scene mutation is identified by analyzing the statistical characteristics of the deviation, and early warning information that endangers the safety of the vehicle is generated.

[0016] Furthermore, the method for dynamic management of Internet of Vehicles safety resources also includes: using data from different Internet of Vehicles environments to perform cross-domain training and fine-tuning on the scenario mutation prediction model through transfer learning.

[0017] Furthermore, the scene mutation prediction model is trained and fine-tuned across domains using data from different Internet of Vehicles environments through transfer learning, including: performing data preprocessing and feature extraction on the data from different Internet of Vehicles environments to obtain environmental features of the source domain and the target domain; wherein the source domain represents a known environment and the target domain represents a new environment; constructing a feature vector based on environmental features, and calculating the cosine similarity between the source domain and the target domain using the feature vector of the source domain and the feature vector of the target domain to evaluate the environmental similarity between the known environment and the new environment; and performing deep learning using the source domain feature set and the target domain feature set through deep feature alignment to obtain a conversion function that can map the source domain feature space to the target domain feature space, so that the converted source domain feature distribution is as consistent as possible with the target domain feature distribution.

[0018] The present invention introduces a transfer learning mechanism that enables the system to quickly adapt to new environments and scenario changes, which is lacking in traditional Internet of Vehicles security systems. The transfer learning module enables the system to use knowledge learned in other scenarios or domains to quickly adjust existing security policies and resource allocations to adapt to current environmental conditions and potential threats.

[0019] Furthermore, the method for dynamic management of vehicle network security resources also includes: dynamically adjusting the security strategy according to the output of the scenario mutation prediction model and the multi-agent game model.

[0020] Furthermore, the safety strategy is dynamically adjusted according to the output of the scenario mutation prediction model and the multi-agent game model, including: performing risk assessment according to the predicted output of the scenario mutation prediction model to evaluate traffic safety risks in real time; based on the results of the risk assessment, automatically selecting and applying one or more preset response strategies by consulting a built-in strategy knowledge base to reduce identified safety risks and optimize traffic flow; when emergency response requires cross-departmental collaboration, ensuring that multiple departments can share information and coordinate actions in real time through preset communication and collaboration protocols.

[0021] Furthermore, the method for dynamic management of Internet of Vehicles safety resources also includes: continuous system self-learning and optimization through real-time data analysis and feedback mechanism to continuously improve the scenario mutation prediction model and dynamic resource allocation strategy.

[0022] Furthermore, the method for dynamic management of vehicle network security resources also includes: performing representation learning on the data in the source domain and encoding label knowledge of the label information of the data, so as to quickly migrate the knowledge of the existing domain to the new domain in transfer learning and achieve rapid deployment. In this further technical solution, cross-domain rapid migration makes the transition from one vehicle network environment to another more efficient. This function achieves rapid knowledge migration by encoding and decoding data and patterns in different vehicle network environments, thereby overcoming the long-term training problem of traditional systems when deployed in new environments.

[0023] According to another aspect of the present invention, a computer-readable storage medium is further provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the aforementioned method for dynamic management of security resources of an Internet of Vehicles are implemented. DETAILED DESCRIPTION

[0024] The present invention will be further described below in conjunction with specific implementation modes and examples.

[0025] The embodiment of the present invention provides a method for dynamic management of security resources of an Internet of Vehicles based on transfer learning and multi-agent game. The method for dynamic management of security resources of an Internet of Vehicles mainly includes the following 8 processes:

[0026] 1) Environmental testing and data collection;

[0027] 2) Multimodal data fusion;

[0028] 3) Prediction of scene mutation based on machine learning;

[0029] 4) Transfer learning;

[0030] 5) Multi-agent games;

[0031] 6) Dynamic update and execution of security policies;

[0032] 7) System self-learning and optimization;

[0033] 8) Cross-domain knowledge transmission and rapid deployment.

[0034] In step 1), environmental monitoring and data collection provide the original input for the Internet of Vehicles safety system of the embodiment of the present invention, and provide basic information for all subsequent steps. In step 2), multimodal data fusion processes the collected multi-source data to ensure the integrity and accuracy of the information and provide good quality input for accurate prediction. The scene mutation prediction model in step 3) directly depends on the information provided in the first two steps. By predicting the upcoming scene changes, it lays the foundation for the early warning mechanism of the system. In step 4), the prediction model can quickly adapt across the Internet of Vehicles domain through transfer learning, which improves the learning efficiency and adaptability of the system in the new environment. In step 5), the prediction information obtained by multi-agent game is used to determine how to allocate limited safety resources among various agents (representing the nodes of the Internet of Vehicles). This game process ensures that resources are efficiently and fairly allocated in actual applications, corresponding to the needs revealed by the aforementioned prediction model. Next, in step 6), in the dynamic update and execution step of the security strategy, the system adjusts the protection measures in real time according to the game results and the current security status to ensure that each resource allocation can be targeted at actual security needs. Throughout the life cycle of the system, the system self-learning and optimization step in step 7) continuously monitors and improves all processes to ensure that each part is constantly evolving to adapt to changes in the environment, which guarantees the sustainability and long-term effectiveness of the system. Finally, the cross-domain knowledge transmission and rapid deployment in step 8) ensure that the newly acquired knowledge and experience can be quickly applied to the new Internet of Vehicles environment, reducing the time for initial deployment and adaptation, making the entire system more flexible and easy to expand.

[0035] The specific implementation steps of the embodiments of the present invention are described in detail below. It should be understood that these detailed descriptions are only exemplary and do not mean that the method steps of the present invention can only be implemented in these exemplary implementation modes, and should not constitute a limitation to the present invention.

[0036] 1) Environmental monitoring and data collection

[0037] In step 1) of the embodiment of the present invention, a multimodal sensor network is deployed to collect data on vehicle status, traffic conditions, and environmental information in real time, and further perform data preprocessing.

[0038] Considering the particularity of the Internet of Vehicles, the types of sensors deployed in the embodiments of the present invention include but are not limited to:

[0039] The GPS sensor is used to locate the position P of the vehicle, expressed in geographic coordinates, P = (P x ,P y ,P z );

[0040] IMU sensor, used to measure the vehicle's three-axis acceleration a=(ax ,a y ,a z ) and the three-axis rotation rate ω=(ω x ,ω y ,ω z );

[0041] Environmental sensors are used to measure ambient temperature T, humidity H and road conditions; among them, road conditions include but are not limited to road slipperiness (increased road slippage due to factors such as rain, ice, snow or oil), road potholes (including potholes, cracks and other uneven conditions on the road surface), road type (such as asphalt road, cement road, gravel road, etc.), road temperature (under different temperatures, the physical properties of the road surface and the driving characteristics of the vehicle may be different).

[0042] These sensors generate raw data D raw It is necessary to process through a certain physical model to obtain more accurate information. For example, GPS data is often affected by multipath effects and atmospheric interference, and IMU data is affected by noise and deviation. Therefore, the embodiment of the present invention also pre-processes the collected real-time data, such as filtering, noise reduction, deviation correction, etc.

[0043] Specifically, for GPS data, Kalman filter can be used to smooth and predict the position. Kalman filter is an optimal estimation method for linear dynamic systems, and its basic form can be expressed as:

[0044]

[0045] in, is the state estimate at time k, F k is the state transfer matrix, B k is the control input matrix, u k is the control input, P k|k-1 is the predicted error covariance, Q k is the covariance of the process noise, K k is the Kalman gain, z k is the measured value, H k is the observation matrix, R k is the observation noise covariance and I is the identity matrix.

[0046] For IMU sensor data, similar filtering techniques can be used for noise reduction and bias correction to obtain more accurate vehicle dynamics information.

[0047] In addition, in order to serve the subsequent transfer learning and multi-agent game, the embodiment of the present invention further extracts useful features from the preprocessed data. These features should include but are not limited to the driving state of the vehicle, environmental conditions, etc., which will serve as the basis for learning and decision-making. For example, the vehicle's coordinates, three-axis acceleration and three-axis rotation rate, vehicle speed, traffic flow and vehicle density, as well as the characteristics of ambient temperature, ambient humidity and road conditions, etc.

[0048] The extracted feature set F = {f1,f2,…,f n} Standardization is required to eliminate the impact of dimension and data deviation between different sensors. Feature extraction and standardization can be performed using formula (2):

[0049]

[0050] in, is the normalized feature, μ i is the feature f i The mean value, σ i is the feature f i The standard deviation of .

[0051] 2) Multimodal data fusion

[0052] The data formats, scales and sampling rates generated by different sensors may be different, and these data need to be effectively synchronized and unified. In addition, sensors may generate incomplete or erroneous data due to environmental factors or failures. Furthermore, multi-source data from different sensors may lead to information duplication, high dimensionality and redundancy problems, which increases the complexity of data processing.

[0053] To this end, in step 2) of the embodiment of the present invention, the heterogeneity problem of different sensor data is solved through unified feature space construction and weighted fusion strategy; data redundancy is effectively handled and information utilization is optimized through information measurement and adaptive weight allocation; environmental adaptability correction solves the problems of data integrity and real-time performance, ensuring the timeliness and accuracy of fused data.

[0054] Specifically, the multimodal data fusion process in step 2) is as follows:

[0055] 2.1) Feature space construction: For each sensor, construct the feature space S i, i represents the sensor type, and the feature space is determined by statistical analysis and expert knowledge, and is used to represent the key information of the sensor data. The key information of the sensor data, for example, the key information of the GPS sensor data (geolocation coordinates) includes the specific location and movement trajectory of the vehicle; the key information of the IMU sensor data (three-axis acceleration, three-axis rotation rate) includes the dynamic behavior of the vehicle, such as speed change and direction adjustment; the key information of the environmental sensor data (ambient temperature, humidity, road conditions) includes the climatic conditions and physical conditions of the vehicle driving environment.

[0056] 2.2) Information metric evaluation: Calculate each feature space S separately i Information measure This is determined by analyzing the contribution of features to the safety relevance of the connected vehicle. The information metric is an important indicator used to evaluate the weight of each sensor's features in data fusion. The calculation process is as follows:

[0057] First, calculate the entropy H(Y) of the target variable:

[0058]

[0059] Where Y is all possible categories of the target variable, and p(y) is the probability of category y appearing in the dataset;

[0060] Next, calculate the conditional entropy H(Y|S i ):

[0061]

[0062] Where p(s) is S i The probability of taking the value s, H(Y|S i =s) is in S i The entropy of the target variable Y under the condition of taking value s;

[0063] Finally, the information measure is calculated

[0064]

[0065] Among them, the information metric Indicates knowing S i The amount by which uncertainty about the target variable Y is reduced after the value of S is . A higher information measure means that S i It has high statistical significance and contribution in predicting the target variable Y.

[0066] 2.3) Adaptive weight assignment: According to the information metric, a weight W is assigned to the feature space of each sensor i, which is proportional to the information measure of the feature space of the corresponding sensor. The weight calculation formula is:

[0067]

[0068] Where exp is an exponential function, which is used to amplify the difference in information measurement and perform normalization.

[0069] 2.4) Feature fusion strategy: The weights calculated above are used to perform weighted fusion on the features of different sensors. The mathematical expression of the fusion is:

[0070]

[0071] Among them, F fused Represents the fused feature vector.

[0072] 2.5) Environmental adaptability correction: In order to adapt to different Internet of Vehicles environments, in the preferred embodiment of the present invention, environmental adaptability correction is further performed after feature fusion, and the parameters of the multimodal data fusion model are adjusted using real-time environmental data. Finally, a comprehensive feature vector that integrates various types of sensor data and environmental correction is output for subsequent transfer learning and multi-agent game decision-making.

[0073] 3) Prediction of scene mutation based on machine learning

[0074] Existing systems have limitations in predicting and responding to sudden scene changes in the Internet of Vehicles environment. To this end, the present invention builds a scene change prediction model based on machine learning, which can predict potential security threats based on real-time data. Combining time series analysis and prediction models, such as LSTM, improves the accuracy of predicting future environmental state changes.

[0075] Specifically, the process includes the following:

[0076] 3.1) Construction and parameterization of physical model: Construction of model M based on vehicle dynamics d , which considers the lateral and longitudinal motion of the vehicle's center of mass. In particular, the vehicle acceleration a and velocity v are described by Newton's second law F = ma, where F is the total external force acting on the vehicle and m is the vehicle mass. Steering dynamics considers the vehicle steering angle θ, which is described by the steering torque τ and the moment of inertia I through the relationship τ = Iε, where ε is the angular acceleration. Combined with the environmental response model M e , build a scene mutation prediction model. Environmental response model M eThe response of the vehicle under different road conditions (such as dry, wet, and slippery) is simulated based on the change of the friction coefficient μ between the vehicle and the road. The friction coefficient μ is adjusted by environmental parameters (temperature T, humidity H), and the formula is μ(T, H) = μ0 + αT + βH, where μ0 is the friction coefficient under standard conditions, and ɑ and β represent the influence coefficients of temperature and humidity on the friction coefficient respectively.

[0077] 3.2) Quantification of environmental factors and model adjustment: Based on the real-time data collected earlier, the parameters of the scene mutation prediction model are adjusted through machine learning. Identify and quantify the key factors in the connected car environment collected by sensors, such as weather conditions and road surface types. These environmental factors directly affect the behavior and safety of the vehicle. For example, a slippery road surface will reduce the friction between the wheels and the ground, thereby affecting the braking effect and handling stability of the vehicle. Therefore, according to the quantification results of environmental factors, the physical model M is dynamically adjusted based on machine learning. d and M e This step ensures that the model can reflect real-time environmental changes, thereby improving the accuracy of prediction. This step specifically includes:

[0078] 3.2.1) Data collection: Collect real-time data on weather conditions and road surface types through sensors in the connected vehicle system;

[0079] 3.2.2) Environmental parameter quantification: Through sensor collection, quantify environmental parameters such as temperature, humidity and road conditions, which directly affect vehicle behavior and safety;

[0080] 3.2.3) Dynamic adjustment of model parameters: Use machine learning algorithms to analyze real-time data and dynamically adjust the physical model M d and M e The relevant parameters in the model include: using linear regression or other machine learning methods to predict the change of friction coefficient; adjusting the model M d m, I, and model M e Parameters such as μ0, ɑ and β in the , to adapt to the actual environmental conditions;

[0081] 3.2.4) Model update and deployment: Deploy the updated model parameters back to the IoV system for real-time vehicle control and decision support.

[0082] 3.3) Statistical analysis and mutation warning: Collect the real-time driving data of the vehicle and its environment data; then calculate the deviation between the predicted output of the scene mutation prediction model and the actual observed data δ(t) = |y pred (t)-y obs (t)| to identify anomalies between actual observed data and expectations. pred (t) represents the predicted output at time t, yobs (t) represents the observed data at time t. Finally, by analyzing the statistical characteristics of the deviations, such as the deviations observed continuously exceeding the preset threshold, the system can identify high-risk scene mutations. This approach enables us to promptly identify and respond to environmental changes that may endanger vehicle safety, thereby generating early warning information and improving the overall safety of the Internet of Vehicles system.

[0083] 4) Transfer Learning

[0084] The existing vehicle network safety system lacks an effective mechanism to support the system's rapid cross-domain adaptation and learning. Therefore, the present invention uses transfer learning to use data from different vehicle network environments to perform cross-domain training and fine-tuning on the scene mutation prediction model. It mainly includes the following steps:

[0085] 4.1) Data preprocessing and feature extraction: The goal of this step is to extract key features from multi-source sensor data and perform standardization to ensure that the data is comparable in different environments. Specific method: For data from sensors such as GPS and IMU, first use the standardization formula Processing is performed, where X is the original data, μ and σ are the mean and standard deviation of the data respectively; then key features such as speed, acceleration, steering angle and environmental factors (temperature, humidity) are extracted to form a feature vector.

[0086] 4.2) Similarity evaluation of environmental features: The goal of this step is to evaluate the similarity between the source domain (known environment) and the target domain (new environment) as a prerequisite for transfer learning. Specifically, a feature vector is constructed based on environmental features (such as weather conditions, time, geographic location information, etc.), and the cosine similarity between the source domain and the target domain is calculated. Cosine similarity Where E s and E t Represent the environmental feature vectors of the source domain and the target domain respectively.

[0087] 4.3) Deep Feature Alignment: Deep feature alignment (DFA) aims to learn a transformation function G through deep learning methods, which can map the source domain feature space to the target domain feature space so that the distribution of the converted source domain features is as consistent as possible with the distribution of the target domain features. The specific process of learning the transformation function includes:

[0088] Let the source domain feature set be F s ={f s 1 ,f s 2 ,…,f s n}, the target domain feature set is F t ={f t1 ,f t 2 ,…,f t n}; The transformation function G minimizes the distance metric D(G(F s ),F t ) to learn, where D represents the distance metric function, such as Maximum Mean Discrepancy (MMD):

[0089]

[0090] in, Represents the square of the difference in the means of two sets of features in a high-dimensional space, and obtains the MMD distance between the two distributions. The smaller this distance is, the more similar the two distributions are. MMD is a method to measure the similarity of two probability distributions, which is achieved by comparing the difference in the means of the two distributions in a specific high-dimensional space. φ represents the function that maps data to a high-dimensional feature space. In order to learn the transformation function G, a gradient descent-based optimization method can be used to minimize the MMD distance. During the optimization process, G is iteratively updated until the MMD distance between the source domain and the target domain is minimized:

[0091]

[0092] 5) Multi-agent game

[0093] In order to enhance the security and resource efficiency of the Internet of Vehicles, the embodiment of the present invention proposes an innovative multi-agent game model, called "Dynamic Resource Allocation Game System (DRAGS)". The system aims to optimize the allocation of key resources in the Internet of Vehicles through strategic interactions among multiple agents, especially in responding to emergencies and maintaining system stability. The design of DRAGS fully considers the dynamics and uncertainty of the Internet of Vehicles environment. By introducing the principles of game theory, effective collaboration and competition between agents are achieved to achieve the global optimal resource allocation. Specifically including:

[0094] 5.1) Agent Definition: A node in the IoV system (such as a vehicle, roadside unit, or traffic control center) is defined as an agent. Each agent has a certain amount of resources (such as bandwidth, computing power, and / or information) and seeks to maximize its utility by exchanging resources.

[0095] 5.2) Utility function: For agent i, its utility function U i It is defined as a function of its satisfaction, taking into account the effective use of resources and the satisfaction of demand. It can be expressed as:

[0096]

[0097] In formula (10), r ij represents the amount of resources obtained by agent i from agent j, a and β are trade-off coefficients, and D i represents the demand of agent i, and the log function ensures that the marginal benefits of the utility function are decreasing.

[0098] 5.3) Strategy Game: The interaction of resources between agents is regarded as a game, and the game is solved by finding the Nash equilibrium point to maximize the agent's own utility. This process is achieved by solving an optimization problem, that is, finding the Nash equilibrium point so that no agent can increase its own utility by unilaterally changing its strategy.

[0099] 5.4) Game solution: Use Lagrange multiplier method and gradient descent method to solve Nash equilibrium, that is, to find a strategy combination so that any agent changing strategy will not increase its utility. The Lagrange function is:

[0100]

[0101] In formula (11), r represents the resource allocation strategy vector of all agents, λ is the Lagrange multiplier, R is the total system resources, and r i Represents the amount of resources allocated to the ith agent.

[0102] 5.5) Dynamic Adaptation Mechanism: In order to adapt to the dynamic changes in the Internet of Vehicles environment, DRAGS introduces a dynamic adaptation mechanism based on feedback. According to historical interaction results and environmental changes, the agent can adjust its resource allocation strategy to better respond to future needs and resource changes.

[0103] Specifically, we first define the environment state vector E(t): At time point t, we define the environment state vector E(t) = [e1(t), e2(t), ..., e n (t)], where e i (t) represents the value of the i-th environmental parameter, such as traffic density, network bandwidth, etc.

[0104] Then define the historical interaction matrix H(t-1): the historical interaction matrix up to time point t-1, which records the resource exchange between agents in the past. Finally, define the utility feedback function U of each agent i i (R i (t), E(t)), where R i (t) is the resource allocation strategy of agent i at time point t.

[0105] Strategy adjustment rule: The agent adjusts its resource allocation strategy based on utility feedback. The strategy update formula is:

[0106]

[0107] Where η is the learning rate, is the utility feedback function U of agent i i Resource allocation strategy R for agent i i The gradient of , indicating how to adjust resource allocation to improve utility.

[0108] 6) Dynamic update and execution of security policies

[0109] This step aims to implement a closed-loop control so that the system can dynamically adjust the security strategy based on the output of the scenario mutation prediction model and the output of the multi-agent game model. It specifically includes the following steps:

[0110] 6.1) Risk Assessment: Based on the collected real-time traffic data (such as vehicle speed, traffic flow, vehicle density, etc.), a predefined scenario mutation prediction model is used to evaluate the traffic safety risks of each area in real time. The scenario mutation prediction model combines these traffic data with the corresponding weights to calculate a comprehensive risk index to indicate the current safety status of each area. In this way, the system can quickly identify high-risk areas and situations where immediate measures may be required. In order to evaluate traffic safety risks in real time, we use the following formula to calculate the safety risk index (RiskIndex, RI) for each area:

[0111] RI=α×CF+β×VF+γ×DF (13)

[0112] In formula (13), CF represents the congestion factor, which can be calculated by the ratio of real-time traffic flow to road capacity; VF represents the speed fluctuation factor, which is measured by analyzing the coefficient of variation of vehicle speed in the same area; DF represents the accident density factor, which is calculated based on the ratio of the number of accidents reported in the area in the recent period to the road length; α, β, and γ are weight parameters, which are determined based on historical data analysis to balance the contribution of different factors to the safety risk index.

[0113] 6.2) Decision Making and Execution: Based on the results of the risk assessment in 6.1), one or more preset response strategies are automatically selected and applied by consulting a built-in strategy knowledge base. These strategies may include, but are not limited to, dynamic adjustment of traffic lights, real-time issuance of speed limits, or route redirection in emergency situations. The selected strategies are designed to minimize the identified risks, optimize traffic flow, and improve overall safety. The system ensures that these measures are quickly executed at the moment of risk identification, demonstrating the real-time nature of decision execution.

[0114] 6.3) When emergency response requires cross-departmental collaboration, a set of efficient communication and collaboration protocols is used to ensure that traffic management centers, public safety departments (such as police, medical emergency) and other relevant agencies can share key information and coordinate actions in real time. This protocol supports rapid decision-making sharing, the issuance of emergency dispatch instructions, and the exchange of real-time feedback, thereby achieving an efficient and orderly joint response in the event of a major traffic accident or other emergency.

[0115] Through the three steps of risk assessment, decision making and execution, and cross-departmental coordination, a comprehensive safety response framework is provided for the intelligent transportation system. This solution can not only achieve rapid and accurate safety risk identification and response, but also promote effective cooperation between different departments when necessary to ensure public safety and optimize traffic flow.

[0116] 7) System self-learning and optimization

[0117] This step aims to analyze the collected performance data and introduce a feedback mechanism to continuously conduct self-learning and optimization of the dynamic management system of Internet of Vehicles safety resources, so as to continuously improve the scenario mutation prediction model and the dynamic allocation strategy of safety resources.

[0118] In view of the self-learning and optimization of the Internet of Vehicles system, the embodiment of the present invention proposes a "Feedback Driven Adaptive Control Framework (FDACF)". This framework aims to continuously adjust and optimize system behavior through real-time data analysis and feedback mechanism to improve the performance and safety of the Internet of Vehicles system. FDACF combines physical models, statistical analysis and control theory to achieve continuous optimization of system performance through continuous monitoring and adjustment of system behavior. Feedback Driven Adaptive Control Framework (FDACF) includes:

[0119] 7.1) Performance monitoring and data collection: First, define a set of key performance indicators KPI = {k1, k2, ..., k n}, such as traffic flow processing capacity, response time, data transmission rate, etc. These indicators can fully reflect the performance status of the Internet of Vehicles system; then real-time data collection is carried out, and data related to performance indicators are collected in real time through sensors and monitoring equipment in the Internet of Vehicles system. For example, the data processing capacity P of each node is collected i (t) and communication delay D j (t).

[0120] 7.2) Performance evaluation and analysis: First, preprocess the collected data, including data cleaning, outlier processing, etc., to improve data quality. Preprocessing formula example:

[0121]

[0122] in, represents the average data processing capacity of node i at time t, and m is the size of the time window considered.

[0123] Then, a performance evaluation is performed, using statistical analysis methods such as moving average or exponential smoothing to evaluate the performance trend over time. This step aims to identify performance bottlenecks or declining trends.

[0124] 7.3) Control strategy design and implementation: Based on the results of 7.2) performance evaluation, formulate corresponding control rules. The control rules adopt the condition-action format, that is, "if the performance indicator is lower than the preset threshold, then execute the corresponding adjustment measures." Dynamically adjust the configuration or behavior of the Internet of Vehicles system according to the control rules. For example: if the data processing capacity P i (t) is lower than the preset threshold, consider increasing processing resources or optimizing processing task allocation; if the communication delay D j (t) If the preset time is exceeded, consider switching to a faster communication channel or reducing the network load; if the vehicle response time is too long, the vehicle control system parameters can be adjusted to optimize the dynamic response.

[0125] 7.4) System feedback and iterative optimization: Introduce a feedback mechanism. After implementing strategy adjustments, the system will collect feedback information to evaluate the effectiveness of the control strategy. Based on the feedback results, the system continuously iterates and optimizes the control strategy, using mathematical optimization methods such as gradient descent to adjust the parameters in the control rules to achieve continuous performance improvement. The parameters in the control rules include but are not limited to:

[0126] Resource allocation ratio: adjust the resource allocation ratio between different tasks or services based on performance evaluation;

[0127] Communication strategy parameters: such as the number of retransmissions, communication frequency, etc., to optimize network performance and reduce latency;

[0128] Processing priority: Adjust the processing priority of different types of tasks to ensure that key tasks are processed first;

[0129] Dynamic thresholds: The thresholds of performance indicators may be adjusted dynamically based on historical performance data to adapt to changing environments or needs.

[0130] Through mathematical optimization methods such as gradient descent, the system can continuously adjust the above parameters based on feedback results to achieve continuous improvement in performance. This approach ensures that the connected vehicle system maintains optimal operational efficiency and responsiveness in the face of ever-changing technical and environmental challenges.

[0131] 8) Cross-domain knowledge transfer and rapid deployment

[0132] The rapid deployment of new domains becomes a bottleneck due to the lack of historical data and knowledge. In view of this, this step uses the transfer learning framework to quickly transfer the knowledge of existing domains to the new domain, which can efficiently transfer cross-domain knowledge, reduce the learning and adaptation time of the new environment, and achieve rapid deployment.

[0133] Mainly include:

[0134] 8.1) Source domain data representation learning: In the process of knowledge encoding and transfer, it is first necessary to learn the representation of the data in the source domain. This step aims to convert the original data into a representation with high-level abstract features to facilitate the transfer and transmission of knowledge between different domains. Common methods include using deep neural networks for feature extraction, such as convolutional neural networks (CNN) for image data and recurrent neural networks (RNN) for sequence data. These neural network models can automatically learn abstract representations of data, capture key features in the data, and provide a basis for subsequent knowledge encoding and transfer.

[0135] For example, when processing image data, pre-trained convolutional neural networks (such as ResNet, VGG, etc.) can be used to extract features from the source domain data. By training on large-scale image datasets, these convolutional neural networks are able to learn common image features such as edges, textures, etc. These features are then used as representations of the source domain data for subsequent knowledge encoding and transfer operations.

[0136] 8.2) Label knowledge encoding: In addition to learning the representation of the data itself, it is also necessary to encode the label information of the data. Label knowledge encoding is to convert the category information of the data into a form that can be processed by a computer, so that this label knowledge can be used in transfer learning to assist in learning new domain tasks. Common encoding methods include one-hot encoding, label embedding, etc.

[0137] For example, in an image classification task, each image has a corresponding label, indicating the category to which the image belongs. For multi-classification problems, one-hot encoding can be used to represent each category as a vector in which only one element is 1 and the rest are 0. This encoding method can effectively convert category information into a computer-processable form for use in subsequent knowledge encoding and transfer processes.

[0138] 8.3) Knowledge fusion and compression: Based on the source domain data representation learning and label knowledge encoding, it is necessary to fuse this knowledge and compress it using a new knowledge encoding method. This step aims to effectively encode the source domain knowledge so that it can be transmitted and applied in subsequent transfer learning.

[0139] For example, in image classification tasks, the image features extracted by convolutional neural networks can be fused with the corresponding label knowledge to obtain an overall representation that includes image features and label knowledge. Then, the overall representation is compressed using a new knowledge encoding method to reduce transmission and storage costs. Common compression methods include adaptive coding, sparse coding, etc.

[0140] In general, the method for dynamic management of vehicle network security resources based on transfer learning and multi-agent game provided in the embodiment of the present invention, through the aforementioned steps, jointly serves a comprehensive, efficient and adaptive vehicle network security management system, so that the method for dynamic management of vehicle network security resources provided in the embodiment of the present invention can overcome the shortcomings of the existing system in terms of dynamic adaptability, resource allocation efficiency and rapid cross-domain migration.

[0141] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which can implement the steps of the vehicle network security resource dynamic management method of the aforementioned embodiment when the computer program is executed by the processor. Based on this understanding, the vehicle network security resource dynamic management method based on transfer learning and multi-agent game of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CDROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each implementation scenario of the present application.

[0142] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art of the present invention, several equivalent substitutions or obvious variations can be made without departing from the concept of the present invention, and the performance or use is the same, which should be regarded as belonging to the protection scope of the present invention.

Claims

1. A method for dynamic management of security resources in Internet of Vehicles based on transfer learning and multi-agent game, characterized in that: include: Collect real-time data on vehicle status, traffic conditions and environmental information; Perform multimodal data fusion on the collected real-time data; The nodes in the Internet of Vehicles system are regarded as intelligent agents, and the resource exchange between intelligent agents is regarded as a game. A multi-agent game model is constructed. By solving the game and combining the fused data, the dynamic resource allocation strategy between the agents is determined.

2. The method for dynamic management of security resources of Internet of Vehicles according to claim 1, characterized in that: It also includes: preprocessing the collected real-time data, and extracting and standardizing features of the preprocessed real-time data; wherein the feature extraction and standardization include: extracting the vehicle's coordinates, three-axis acceleration and three-axis rotation rate, vehicle speed, vehicle flow and vehicle density, as well as the characteristics of ambient temperature, ambient humidity and road conditions from the preprocessed real-time data; and standardizing the extracted features to eliminate dimensional effects and data deviations between different sensors.

3. The method for dynamic management of security resources of Internet of Vehicles according to claim 1, characterized in that: The multi-modal data fusion of the collected real-time data includes: Construct feature space for each sensor output to represent the key information of sensor data; Calculate the information metric of each feature space respectively, where the information metric is an indicator for evaluating the weight of the feature of each sensor in data fusion; According to the information measure, a weight is assigned to the feature of each sensor, and the weight is proportional to the information measure of the feature space of the corresponding sensor; The weights are used to perform weighted fusion on the features of different types of sensors.

4. The method for dynamic management of security resources of Internet of Vehicles according to claim 1, characterized in that: The nodes in the Internet of Vehicles system are regarded as intelligent agents, and the resource exchange between intelligent agents is regarded as a game. A multi-agent game model is constructed. By solving the game and combining the fused data, the dynamic resource allocation strategy between the intelligent agents is determined, including: A node in the IoV system is defined as an agent. Each agent has resources including bandwidth, computing power and / or information, and seeks to maximize its utility by exchanging resources. Considering the effective use of resources and the satisfaction of needs, define the utility function of the agent; The resource exchange between intelligent agents is regarded as a game, and the game is solved by finding the Nash equilibrium point to maximize the utility of the intelligent agent itself. Among them, the Lagrange multiplier method and gradient descent method are used to solve the Nash equilibrium, that is, to find a strategy combination so that any intelligent agent changing its strategy will not increase its utility.

5. The method for dynamic management of security resources of Internet of Vehicles according to claim 1, characterized in that: Also includes: Build a scene mutation prediction model based on machine learning, and predict scene changes based on collected real-time data and fused data.

6. The method for dynamic management of security resources of Internet of Vehicles according to claim 5, characterized in that: The constructing of the scene mutation prediction model based on machine learning includes: constructing the scene mutation prediction model using a vehicle dynamics model and an environmental response model; wherein the vehicle dynamics model considers the lateral and longitudinal movement of the center of mass of the vehicle, and the environmental response model simulates the response of the vehicle under different road conditions based on the change of the friction coefficient between the vehicle and the road surface; The prediction of scene changes based on the collected real-time data and the fused data includes: Based on the collected real-time data, adjusting the parameters of the scene mutation prediction model through machine learning; Collecting real-time driving data of the vehicle and data of its environment, and then calculating the deviation between the predicted output of the scene mutation prediction model and the actual observed data to identify anomalies between the actual observed data and expectations; By analyzing the statistical characteristics of deviations, sudden scene changes can be identified and early warning information that endangers vehicle safety can be generated.

7. The method for dynamic management of security resources of Internet of Vehicles according to claim 5, characterized in that: Also includes: Through transfer learning, data from different Internet of Vehicles environments are used to perform cross-domain training and fine-tuning on the scene mutation prediction model.

8. The method for dynamic management of security resources of Internet of Vehicles according to claim 7, characterized in that: The transfer learning uses data from different Internet of Vehicles environments to perform cross-domain training and fine-tuning on the scene mutation prediction model, including: Perform data preprocessing and feature extraction on data from different Internet of Vehicles environments to obtain environmental features of the source domain and the target domain; the source domain represents the known environment, and the target domain represents the new environment; Construct a feature vector based on the environmental features, and use the feature vector of the source domain and the feature vector of the target domain to calculate the cosine similarity between the source domain and the target domain to evaluate the environmental similarity between the known environment and the new environment; Through deep feature alignment, deep learning is performed using the source domain feature set and the target domain feature set to obtain a conversion function that can map the source domain feature space to the target domain feature space, so that the converted source domain feature distribution is as consistent as possible with the target domain feature distribution.

9. The method for dynamic management of security resources of Internet of Vehicles according to claim 5, characterized in that: Also includes: Dynamically adjust the security strategy based on the output of the scenario mutation prediction model and the multi-agent game model.

10. The method for dynamic management of security resources of Internet of Vehicles according to claim 9, characterized in that: The method of dynamically adjusting the security strategy according to the output of the scenario mutation prediction model and the multi-agent game model includes: Performing risk assessment based on the prediction output of the scenario mutation prediction model to assess traffic safety risks in real time; Based on the results of the risk assessment, automatically select and apply one or more pre-set response strategies by consulting a built-in strategy knowledge base to reduce the identified safety risks and optimize traffic flow; When emergency response requires cross-departmental collaboration, preset communication and collaboration protocols ensure that multiple departments can share information and coordinate actions in real time.

Citation Information

Cited By

  • Multi-agent cooperative control method for traffic scene

    CN119129641A

  • Fault self-healing multi-strategy collaborative optimization method and system for power distribution network

    CN119940582A

  • Multi-agent-based product knowledge base construction method and system

    CN120930754A